paper-docxAPI referenceenum.text
WD_TAB_LEADER
paper-docx 0.2.0 API reference
Specifies the character to use as the leader with formatted tabs.
MS API name: WdTabLeader
URL: https://msdn.microsoft.com/en-us/library/office/ff845050.aspx
Attributes
DASHES
attributeDASHES= (2, 'hyphen', 'Dashes.')Dashes.
DOTS
attributeDOTS= (1, 'dot', 'Dots.')Dots.
HEAVY
attributeHEAVY= (4, 'heavy', 'A heavy line.')A heavy line.
LINES
attributeLINES= (3, 'underscore', 'Double lines.')Double lines.
MIDDLE_DOT
attributeMIDDLE_DOT= (5, 'middleDot', 'A vertically-centered dot.')A vertically-centered dot.
SPACES
attributeSPACES= (0, 'none', 'Spaces. Default.')Spaces. Default.
xml_value
attributexml_valuestr | NoneFunctions
from_xml
funcfrom_xml(xml_value: str | None) -> SelfEnumeration member corresponding to XML attribute value xml_value.
Example::
WD_PARAGRAPH_ALIGNMENT.from_xml("center") WD_PARAGRAPH_ALIGNMENT.CENTER
paramxml_valuestr | NoneReturns
typing_extensions.Selfto_xml
functo_xml(value: int | _T | None) -> str | NoneXML value of this enum member, generally an XML attribute value.
paramvalueint | _T | NoneReturns
str | None