Paper Office
paper-docxAPI referenceenum.style

WD_BUILTIN_STYLE

paper-docx 0.2.0 API reference

Alias: WD_STYLE

Specifies a built-in Microsoft Word style.

Example::

from docx import Document from docx.enum.style import WD_STYLE

document = Document() styles = document.styles style = styles[WD_STYLE.BODY_TEXT]

MS API name: WdBuiltinStyle

http://msdn.microsoft.com/en-us/library/office/ff835210.aspx

Attributes

BLOCK_QUOTATION

attributeBLOCK_QUOTATION
= (-85, 'Block Text.')

Block Text.

BODY_TEXT

attributeBODY_TEXT
= (-67, 'Body Text.')

Body Text.

BODY_TEXT_2

attributeBODY_TEXT_2
= (-81, 'Body Text 2.')

Body Text 2.

BODY_TEXT_3

attributeBODY_TEXT_3
= (-82, 'Body Text 3.')

Body Text 3.

BODY_TEXT_FIRST_INDENT

attributeBODY_TEXT_FIRST_INDENT
= (-78, 'Body Text First Indent.')

Body Text First Indent.

BODY_TEXT_FIRST_INDENT_2

attributeBODY_TEXT_FIRST_INDENT_2
= (-79, 'Body Text First Indent 2.')

Body Text First Indent 2.

BODY_TEXT_INDENT

attributeBODY_TEXT_INDENT
= (-68, 'Body Text Indent.')

Body Text Indent.

BODY_TEXT_INDENT_2

attributeBODY_TEXT_INDENT_2
= (-83, 'Body Text Indent 2.')

Body Text Indent 2.

BODY_TEXT_INDENT_3

attributeBODY_TEXT_INDENT_3
= (-84, 'Body Text Indent 3.')

Body Text Indent 3.

BOOK_TITLE

attributeBOOK_TITLE
= (-265, 'Book Title.')

Book Title.

CAPTION

attributeCAPTION
= (-35, 'Caption.')

Caption.

CLOSING

attributeCLOSING
= (-64, 'Closing.')

Closing.

COMMENT_REFERENCE

attributeCOMMENT_REFERENCE
= (-40, 'Comment Reference.')

Comment Reference.

COMMENT_TEXT

attributeCOMMENT_TEXT
= (-31, 'Comment Text.')

Comment Text.

DATE

attributeDATE
= (-77, 'Date.')

Date.

DEFAULT_PARAGRAPH_FONT

attributeDEFAULT_PARAGRAPH_FONT
= (-66, 'Default Paragraph Font.')

Default Paragraph Font.

EMPHASIS

attributeEMPHASIS
= (-89, 'Emphasis.')

Emphasis.

ENDNOTE_REFERENCE

attributeENDNOTE_REFERENCE
= (-43, 'Endnote Reference.')

Endnote Reference.

ENDNOTE_TEXT

attributeENDNOTE_TEXT
= (-44, 'Endnote Text.')

Endnote Text.

ENVELOPE_ADDRESS

attributeENVELOPE_ADDRESS
= (-37, 'Envelope Address.')

Envelope Address.

ENVELOPE_RETURN

attributeENVELOPE_RETURN
= (-38, 'Envelope Return.')

Envelope Return.

attributeFOOTER
= (-33, 'Footer.')

Footer.

FOOTNOTE_REFERENCE

attributeFOOTNOTE_REFERENCE
= (-39, 'Footnote Reference.')

Footnote Reference.

FOOTNOTE_TEXT

attributeFOOTNOTE_TEXT
= (-30, 'Footnote Text.')

Footnote Text.

attributeHEADER
= (-32, 'Header.')

Header.

HEADING_1

attributeHEADING_1
= (-2, 'Heading 1.')

Heading 1.

HEADING_2

attributeHEADING_2
= (-3, 'Heading 2.')

Heading 2.

HEADING_3

attributeHEADING_3
= (-4, 'Heading 3.')

Heading 3.

HEADING_4

attributeHEADING_4
= (-5, 'Heading 4.')

Heading 4.

HEADING_5

attributeHEADING_5
= (-6, 'Heading 5.')

Heading 5.

HEADING_6

attributeHEADING_6
= (-7, 'Heading 6.')

Heading 6.

HEADING_7

attributeHEADING_7
= (-8, 'Heading 7.')

Heading 7.

HEADING_8

attributeHEADING_8
= (-9, 'Heading 8.')

Heading 8.

HEADING_9

attributeHEADING_9
= (-10, 'Heading 9.')

Heading 9.

HTML_ACRONYM

attributeHTML_ACRONYM
= (-96, 'HTML Acronym.')

HTML Acronym.

HTML_ADDRESS

attributeHTML_ADDRESS
= (-97, 'HTML Address.')

HTML Address.

HTML_CITE

attributeHTML_CITE
= (-98, 'HTML Cite.')

HTML Cite.

HTML_CODE

attributeHTML_CODE
= (-99, 'HTML Code.')

HTML Code.

HTML_DFN

attributeHTML_DFN
= (-100, 'HTML Definition.')

HTML Definition.

HTML_KBD

attributeHTML_KBD
= (-101, 'HTML Keyboard.')

HTML Keyboard.

HTML_NORMAL

attributeHTML_NORMAL
= (-95, 'Normal (Web).')

Normal (Web).

HTML_PRE

attributeHTML_PRE
= (-102, 'HTML Preformatted.')

HTML Preformatted.

HTML_SAMP

attributeHTML_SAMP
= (-103, 'HTML Sample.')

HTML Sample.

HTML_TT

attributeHTML_TT
= (-104, 'HTML Typewriter.')

HTML Typewriter.

HTML_VAR

attributeHTML_VAR
= (-105, 'HTML Variable.')

HTML Variable.

attributeHYPERLINK
= (-86, 'Hyperlink.')

Hyperlink.

attributeHYPERLINK_FOLLOWED
= (-87, 'Followed Hyperlink.')

Followed Hyperlink.

INDEX_1

attributeINDEX_1
= (-11, 'Index 1.')

Index 1.

INDEX_2

attributeINDEX_2
= (-12, 'Index 2.')

Index 2.

INDEX_3

attributeINDEX_3
= (-13, 'Index 3.')

Index 3.

INDEX_4

attributeINDEX_4
= (-14, 'Index 4.')

Index 4.

INDEX_5

attributeINDEX_5
= (-15, 'Index 5.')

Index 5.

INDEX_6

attributeINDEX_6
= (-16, 'Index 6.')

Index 6.

INDEX_7

attributeINDEX_7
= (-17, 'Index 7.')

Index 7.

INDEX_8

attributeINDEX_8
= (-18, 'Index 8.')

Index 8.

INDEX_9

attributeINDEX_9
= (-19, 'Index 9.')

Index 9.

INDEX_HEADING

attributeINDEX_HEADING
= (-34, 'Index Heading')

Index Heading

INTENSE_EMPHASIS

attributeINTENSE_EMPHASIS
= (-262, 'Intense Emphasis.')

Intense Emphasis.

INTENSE_QUOTE

attributeINTENSE_QUOTE
= (-182, 'Intense Quote.')

Intense Quote.

INTENSE_REFERENCE

attributeINTENSE_REFERENCE
= (-264, 'Intense Reference.')

Intense Reference.

LINE_NUMBER

attributeLINE_NUMBER
= (-41, 'Line Number.')

Line Number.

LIST

attributeLIST
= (-48, 'List.')

List.

LIST_2

attributeLIST_2
= (-51, 'List 2.')

List 2.

LIST_3

attributeLIST_3
= (-52, 'List 3.')

List 3.

LIST_4

attributeLIST_4
= (-53, 'List 4.')

List 4.

LIST_5

attributeLIST_5
= (-54, 'List 5.')

List 5.

LIST_BULLET

attributeLIST_BULLET
= (-49, 'List Bullet.')

List Bullet.

LIST_BULLET_2

attributeLIST_BULLET_2
= (-55, 'List Bullet 2.')

List Bullet 2.

LIST_BULLET_3

attributeLIST_BULLET_3
= (-56, 'List Bullet 3.')

List Bullet 3.

LIST_BULLET_4

attributeLIST_BULLET_4
= (-57, 'List Bullet 4.')

List Bullet 4.

LIST_BULLET_5

attributeLIST_BULLET_5
= (-58, 'List Bullet 5.')

List Bullet 5.

LIST_CONTINUE

attributeLIST_CONTINUE
= (-69, 'List Continue.')

List Continue.

LIST_CONTINUE_2

attributeLIST_CONTINUE_2
= (-70, 'List Continue 2.')

List Continue 2.

LIST_CONTINUE_3

attributeLIST_CONTINUE_3
= (-71, 'List Continue 3.')

List Continue 3.

LIST_CONTINUE_4

attributeLIST_CONTINUE_4
= (-72, 'List Continue 4.')

List Continue 4.

LIST_CONTINUE_5

attributeLIST_CONTINUE_5
= (-73, 'List Continue 5.')

List Continue 5.

LIST_NUMBER

attributeLIST_NUMBER
= (-50, 'List Number.')

List Number.

LIST_NUMBER_2

attributeLIST_NUMBER_2
= (-59, 'List Number 2.')

List Number 2.

LIST_NUMBER_3

attributeLIST_NUMBER_3
= (-60, 'List Number 3.')

List Number 3.

LIST_NUMBER_4

attributeLIST_NUMBER_4
= (-61, 'List Number 4.')

List Number 4.

LIST_NUMBER_5

attributeLIST_NUMBER_5
= (-62, 'List Number 5.')

List Number 5.

LIST_PARAGRAPH

attributeLIST_PARAGRAPH
= (-180, 'List Paragraph.')

List Paragraph.

MACRO_TEXT

attributeMACRO_TEXT
= (-46, 'Macro Text.')

Macro Text.

MESSAGE_HEADER

attributeMESSAGE_HEADER
= (-74, 'Message Header.')

Message Header.

attributeNAV_PANE
= (-90, 'Document Map.')

Document Map.

NORMAL

attributeNORMAL
= (-1, 'Normal.')

Normal.

NORMAL_INDENT

attributeNORMAL_INDENT
= (-29, 'Normal Indent.')

Normal Indent.

NORMAL_OBJECT

attributeNORMAL_OBJECT
= (-158, 'Normal (applied to an object).')

Normal (applied to an object).

NORMAL_TABLE

attributeNORMAL_TABLE
= (-106, 'Normal (applied within a table).')

Normal (applied within a table).

NOTE_HEADING

attributeNOTE_HEADING
= (-80, 'Note Heading.')

Note Heading.

PAGE_NUMBER

attributePAGE_NUMBER
= (-42, 'Page Number.')

Page Number.

PLAIN_TEXT

attributePLAIN_TEXT
= (-91, 'Plain Text.')

Plain Text.

QUOTE

attributeQUOTE
= (-181, 'Quote.')

Quote.

SALUTATION

attributeSALUTATION
= (-76, 'Salutation.')

Salutation.

SIGNATURE

attributeSIGNATURE
= (-65, 'Signature.')

Signature.

STRONG

attributeSTRONG
= (-88, 'Strong.')

Strong.

SUBTITLE

attributeSUBTITLE
= (-75, 'Subtitle.')

Subtitle.

SUBTLE_EMPHASIS

attributeSUBTLE_EMPHASIS
= (-261, 'Subtle Emphasis.')

Subtle Emphasis.

SUBTLE_REFERENCE

attributeSUBTLE_REFERENCE
= (-263, 'Subtle Reference.')

Subtle Reference.

TABLE_COLORFUL_GRID

attributeTABLE_COLORFUL_GRID
= (-172, 'Colorful Grid.')

Colorful Grid.

TABLE_COLORFUL_LIST

attributeTABLE_COLORFUL_LIST
= (-171, 'Colorful List.')

Colorful List.

TABLE_COLORFUL_SHADING

attributeTABLE_COLORFUL_SHADING
= (-170, 'Colorful Shading.')

Colorful Shading.

TABLE_DARK_LIST

attributeTABLE_DARK_LIST
= (-169, 'Dark List.')

Dark List.

TABLE_LIGHT_GRID

attributeTABLE_LIGHT_GRID
= (-161, 'Light Grid.')

Light Grid.

TABLE_LIGHT_GRID_ACCENT_1

attributeTABLE_LIGHT_GRID_ACCENT_1
= (-175, 'Light Grid Accent 1.')

Light Grid Accent 1.

TABLE_LIGHT_LIST

attributeTABLE_LIGHT_LIST
= (-160, 'Light List.')

Light List.

TABLE_LIGHT_LIST_ACCENT_1

attributeTABLE_LIGHT_LIST_ACCENT_1
= (-174, 'Light List Accent 1.')

Light List Accent 1.

TABLE_LIGHT_SHADING

attributeTABLE_LIGHT_SHADING
= (-159, 'Light Shading.')

Light Shading.

TABLE_LIGHT_SHADING_ACCENT_1

attributeTABLE_LIGHT_SHADING_ACCENT_1
= (-173, 'Light Shading Accent 1.')

Light Shading Accent 1.

TABLE_MEDIUM_GRID_1

attributeTABLE_MEDIUM_GRID_1
= (-166, 'Medium Grid 1.')

Medium Grid 1.

TABLE_MEDIUM_GRID_2

attributeTABLE_MEDIUM_GRID_2
= (-167, 'Medium Grid 2.')

Medium Grid 2.

TABLE_MEDIUM_GRID_3

attributeTABLE_MEDIUM_GRID_3
= (-168, 'Medium Grid 3.')

Medium Grid 3.

TABLE_MEDIUM_LIST_1

attributeTABLE_MEDIUM_LIST_1
= (-164, 'Medium List 1.')

Medium List 1.

TABLE_MEDIUM_LIST_1_ACCENT_1

attributeTABLE_MEDIUM_LIST_1_ACCENT_1
= (-178, 'Medium List 1 Accent 1.')

Medium List 1 Accent 1.

TABLE_MEDIUM_LIST_2

attributeTABLE_MEDIUM_LIST_2
= (-165, 'Medium List 2.')

Medium List 2.

TABLE_MEDIUM_SHADING_1

attributeTABLE_MEDIUM_SHADING_1
= (-162, 'Medium Shading 1.')

Medium Shading 1.

TABLE_MEDIUM_SHADING_1_ACCENT_1

attributeTABLE_MEDIUM_SHADING_1_ACCENT_1
= (-176, 'Medium Shading 1 Accent 1.')

Medium Shading 1 Accent 1.

TABLE_MEDIUM_SHADING_2

attributeTABLE_MEDIUM_SHADING_2
= (-163, 'Medium Shading 2.')

Medium Shading 2.

TABLE_MEDIUM_SHADING_2_ACCENT_1

attributeTABLE_MEDIUM_SHADING_2_ACCENT_1
= (-177, 'Medium Shading 2 Accent 1.')

Medium Shading 2 Accent 1.

TABLE_OF_AUTHORITIES

attributeTABLE_OF_AUTHORITIES
= (-45, 'Table of Authorities.')

Table of Authorities.

TABLE_OF_FIGURES

attributeTABLE_OF_FIGURES
= (-36, 'Table of Figures.')

Table of Figures.

TITLE

attributeTITLE
= (-63, 'Title.')

Title.

TOAHEADING

attributeTOAHEADING
= (-47, 'TOA Heading.')

TOA Heading.

TOC_1

attributeTOC_1
= (-20, 'TOC 1.')

TOC 1.

TOC_2

attributeTOC_2
= (-21, 'TOC 2.')

TOC 2.

TOC_3

attributeTOC_3
= (-22, 'TOC 3.')

TOC 3.

TOC_4

attributeTOC_4
= (-23, 'TOC 4.')

TOC 4.

TOC_5

attributeTOC_5
= (-24, 'TOC 5.')

TOC 5.

TOC_6

attributeTOC_6
= (-25, 'TOC 6.')

TOC 6.

TOC_7

attributeTOC_7
= (-26, 'TOC 7.')

TOC 7.

TOC_8

attributeTOC_8
= (-27, 'TOC 8.')

TOC 8.

TOC_9

attributeTOC_9
= (-28, 'TOC 9.')

TOC 9.

On this page

AttributesBLOCK_QUOTATIONBODY_TEXTBODY_TEXT_2BODY_TEXT_3BODY_TEXT_FIRST_INDENTBODY_TEXT_FIRST_INDENT_2BODY_TEXT_INDENTBODY_TEXT_INDENT_2BODY_TEXT_INDENT_3BOOK_TITLECAPTIONCLOSINGCOMMENT_REFERENCECOMMENT_TEXTDATEDEFAULT_PARAGRAPH_FONTEMPHASISENDNOTE_REFERENCEENDNOTE_TEXTENVELOPE_ADDRESSENVELOPE_RETURNFOOTERFOOTNOTE_REFERENCEFOOTNOTE_TEXTHEADERHEADING_1HEADING_2HEADING_3HEADING_4HEADING_5HEADING_6HEADING_7HEADING_8HEADING_9HTML_ACRONYMHTML_ADDRESSHTML_CITEHTML_CODEHTML_DFNHTML_KBDHTML_NORMALHTML_PREHTML_SAMPHTML_TTHTML_VARHYPERLINKHYPERLINK_FOLLOWEDINDEX_1INDEX_2INDEX_3INDEX_4INDEX_5INDEX_6INDEX_7INDEX_8INDEX_9INDEX_HEADINGINTENSE_EMPHASISINTENSE_QUOTEINTENSE_REFERENCELINE_NUMBERLISTLIST_2LIST_3LIST_4LIST_5LIST_BULLETLIST_BULLET_2LIST_BULLET_3LIST_BULLET_4LIST_BULLET_5LIST_CONTINUELIST_CONTINUE_2LIST_CONTINUE_3LIST_CONTINUE_4LIST_CONTINUE_5LIST_NUMBERLIST_NUMBER_2LIST_NUMBER_3LIST_NUMBER_4LIST_NUMBER_5LIST_PARAGRAPHMACRO_TEXTMESSAGE_HEADERNAV_PANENORMALNORMAL_INDENTNORMAL_OBJECTNORMAL_TABLENOTE_HEADINGPAGE_NUMBERPLAIN_TEXTQUOTESALUTATIONSIGNATURESTRONGSUBTITLESUBTLE_EMPHASISSUBTLE_REFERENCETABLE_COLORFUL_GRIDTABLE_COLORFUL_LISTTABLE_COLORFUL_SHADINGTABLE_DARK_LISTTABLE_LIGHT_GRIDTABLE_LIGHT_GRID_ACCENT_1TABLE_LIGHT_LISTTABLE_LIGHT_LIST_ACCENT_1TABLE_LIGHT_SHADINGTABLE_LIGHT_SHADING_ACCENT_1TABLE_MEDIUM_GRID_1TABLE_MEDIUM_GRID_2TABLE_MEDIUM_GRID_3TABLE_MEDIUM_LIST_1TABLE_MEDIUM_LIST_1_ACCENT_1TABLE_MEDIUM_LIST_2TABLE_MEDIUM_SHADING_1TABLE_MEDIUM_SHADING_1_ACCENT_1TABLE_MEDIUM_SHADING_2TABLE_MEDIUM_SHADING_2_ACCENT_1TABLE_OF_AUTHORITIESTABLE_OF_FIGURESTITLETOAHEADINGTOC_1TOC_2TOC_3TOC_4TOC_5TOC_6TOC_7TOC_8TOC_9