paper-docxAPI referencecontrols
ControlInfo
paper-docx 0.2.0 API reference
Identity and current state of one content control.
ControlInfo(tag: Optional[str], alias: Optional[str], control_type: str, value: str, story: str, showing_placeholder: bool, is_data_bound: bool, choices: Tuple[str, ...])Attributes
alias
attributealiasOptional[str]choices
attributechoicesTuple[str, ...]control_type
attributecontrol_typestris_data_bound
attributeis_data_boundboolshowing_placeholder
attributeshowing_placeholderboolstory
attributestorystrtag
attributetagOptional[str]value
attributevaluestrFunctions
to_dict
functo_dict() -> dictReturns
dict