File: sty-access-latent-styles.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 (16 lines) | stat: -rw-r--r-- 568 bytes parent folder | download | duplicates (3)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
Feature: Access latent styles for a document
  In order to operate on the latent styles for a document
  As a developer using python-docx
  I need access to the latent styles collection


  Scenario: Access latent styles collection
    Given the style collection of a document
     Then styles.latent_styles is the LatentStyles object for the document
      And len(latent_styles) is 137


  Scenario: Access latent style in collection
     Given a latent style collection
      Then I can iterate over the latent styles
       And I can access a latent style by name