[ Web Proxy ]
URL:
Viewing: https://raw.githubusercontent.com/python-openxml/python-docx/master/features/doc-settings.feature [Back]  [Original]

Feature: Document.settings
  In order to operate on document-level settings
  As a developer using python-docx
  I need access to settings to the Settings object for the document
  And I need properties and methods on Settings


  Scenario Outline: Access document settings
    Given a document having  settings part
     Then document.settings is a Settings object

    Examples: having a settings part or not
      | a-or-no   |
      | a         |
      | no        |


  Scenario Outline: Settings.odd_and_even_pages_header_footer getter
    Given a Settings object  odd and even page headers as settings
     Then settings.odd_and_even_pages_header_footer is 

    Examples: Settings.odd_and_even_pages_header_footer states
      | with-or-without | value |
      | with            | True  |
      | without         | False |


  Scenario Outline: Settings.odd_and_even_pages_header_footer setter
    Given a Settings object  odd and even page headers as settings
     When I assign  to settings.odd_and_even_pages_header_footer
     Then settings.odd_and_even_pages_header_footer is 

    Examples: Settings.odd_and_even_pages_header_footer assignment cases
      | with-or-without | value |
      | with            | True  |
      | with            | False |
      | without         | True  |
      | without         | False |

Web Proxy Viewer  |  New URL  |  Original Page