File: sty-access-font.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 (15 lines) | stat: -rw-r--r-- 463 bytes parent folder | download | duplicates (3)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
Feature: Access style font
  In order to discover or change the character formatting of a style
  As a developer using python-docx
  I need access to the font of a style


  Scenario Outline: Get style font
    Given a style of type <style-type>
     Then style.font is the Font object for the style

    Examples: Style types
      | style-type              |
      | WD_STYLE_TYPE.CHARACTER |
      | WD_STYLE_TYPE.PARAGRAPH |
      | WD_STYLE_TYPE.TABLE     |