File: sty-access-latent-styles.feature

package info (click to toggle)
python-docx 0.8.11%2Bdfsg1-5
  • links: PTS, VCS
  • area: main
  • in suites: bookworm
  • size: 6,640 kB
  • sloc: xml: 25,311; python: 21,911; makefile: 168
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