File: blk-iter-inner-content.feature

package info (click to toggle)
python-docx 1.2.0%2Bdfsg-1~exp1
  • links: PTS, VCS
  • area: main
  • in suites: experimental
  • size: 7,216 kB
  • sloc: xml: 25,323; python: 23,414; makefile: 175
file content (24 lines) | stat: -rw-r--r-- 963 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
Feature: Iterate paragraphs and tables in document-order
  In order to access paragraphs and tables in the same order they appear in the document
  As a developer using python-docx
  I need the ability to iterate the inner-content of a block-item-container


  Scenario: Document.iter_inner_content()
    Given a Document object with paragraphs and tables
     Then document.iter_inner_content() produces the block-items in document order


  Scenario: Header.iter_inner_content()
    Given a Header object with paragraphs and tables
     Then header.iter_inner_content() produces the block-items in document order


  Scenario: Footer.iter_inner_content()
    Given a Footer object with paragraphs and tables
     Then footer.iter_inner_content() produces the block-items in document order


  Scenario: _Cell.iter_inner_content()
    Given a _Cell object with paragraphs and tables
     Then cell.iter_inner_content() produces the block-items in document order