Paper Office
paper-pptxAPI referenceoxml.simpletypes

ST_ContentType

paper-pptx 0.2.0 API reference

Has a pretty wicked regular expression it needs to match in the schema, but figuring it's not worth the trouble or run time to identify a programming error (as opposed to a user/runtime error).

Functions

convert_from_xml

funcconvert_from_xml(str_value)
paramstr_value

convert_to_xml

funcconvert_to_xml(value)
paramvalue

from_xml

funcfrom_xml(xml_value: str) -> Any
paramxml_valuestr

Returns

typing.Any

to_xml

functo_xml(value: Any) -> str
paramvalueAny

Returns

str

validate

funcvalidate(value)
paramvalue

validate_float

funcvalidate_float(value: Any)

Note that int values are accepted.

paramvalueAny

validate_float_in_range

funcvalidate_float_in_range(value, min_inclusive, max_inclusive)
paramvalue
parammin_inclusive
parammax_inclusive

validate_int

funcvalidate_int(value)
paramvalue

validate_int_in_range

funcvalidate_int_in_range(value, min_inclusive, max_inclusive)
paramvalue
parammin_inclusive
parammax_inclusive

validate_string

funcvalidate_string(value)
paramvalue

On this page