Paper Office
paper-pptxAPI referenceoxml.xmlchemy

AttributeType

paper-pptx 0.2.0 API reference

Interface for an object that can act as an attribute type.

An attribute-type specifies how values are transformed to and from the XML "string" value of the attribute.

Functions

from_xml

funcfrom_xml(xml_value: str) -> Any

Transform an attribute value to a Python value.

paramxml_valuestr

Returns

typing.Any

to_xml

functo_xml(value: Any) -> str

Transform a Python value to a str value suitable to this XML attribute.

paramvalueAny

Returns

str

On this page