ODFPY 1.2.0 |

Loading...
Searching...
No Matches
Classes | Namespaces | Functions | Variables
attrconverters.py File Reference

Go to the source code of this file.

## Classes
class | odf.attrconverters.AttrConverters

## Namespaces
namespace | odf
namespace | odf.attrconverters

## Functions
| odf.attrconverters.make_NCName (arg)
| odf.attrconverters.cnv_angle (attribute, arg, element)
| odf.attrconverters.cnv_anyURI (attribute, arg, element)
| odf.attrconverters.cnv_boolean (attribute, arg, element)
| XML Schema Part 2: Datatypes Second Edition An instance of a datatype that is defined as boolean can have the following legal literals {true, false, 1, 0}.
| odf.attrconverters.cnv_color (attribute, arg, element)
| A RGB color in conformance with §5.9.11 of [XSL], that is a RGB color in notation “::rrggbb”, where rr, gg and bb are 8-bit hexadecimal digits.
| odf.attrconverters.cnv_configtype (attribute, arg, element)
| odf.attrconverters.cnv_data_source_has_labels (attribute, arg, element)
| odf.attrconverters.cnv_date (attribute, arg, element)
| A dateOrDateTime value is either an [xmlschema-2] date value or an [xmlschema-2] dateTime value.
| odf.attrconverters.cnv_dateTime (attribute, arg, element)
| A dateOrDateTime value is either an [xmlschema-2] date value or an [xmlschema-2] dateTime value.
| odf.attrconverters.cnv_double (attribute, arg, element)
| odf.attrconverters.cnv_draw_aspect (attribute, arg, element)
| odf.attrconverters.cnv_duration (attribute, arg, element)
| odf.attrconverters.cnv_family (attribute, arg, element)
| A style family.
| odf.attrconverters.cnv_formula (attribute, arg, element)
| A string containing a formula.
| odf.attrconverters.cnv_ID (attribute, arg, element)
| odf.attrconverters.cnv_IDREF (attribute, arg, element)
| odf.attrconverters.cnv_integer (attribute, arg, element)
| odf.attrconverters.cnv_language (attribute, arg, element)
| odf.attrconverters.cnv_legend_position (attribute, arg, element)
| odf.attrconverters.cnv_length (attribute, arg, element)
| A (positive or negative) physical length, consisting of magnitude and unit, in conformance with the Units of Measure defined in §5.9.13 of [XSL].
| odf.attrconverters.cnv_lengthorpercent (attribute, arg, element)
| odf.attrconverters.cnv_list_linkage_type (attribute, arg, element)
| odf.attrconverters.cnv_metavaluetype (attribute, arg, element)
| odf.attrconverters.cnv_major_minor (attribute, arg, element)
| odf.attrconverters.cnv_namespacedToken (attribute, arg, element)
| odf.attrconverters.cnv_NCName (attribute, arg, element)
| NCName is defined in http://www.w3.org/TR/REC-xml-names/#NT-NCName Essentially an XML name minus ':'.
| odf.attrconverters.cnv_StyleNameRef (attribute, arg, element)
| odf.attrconverters.cnv_DrawNameRef (attribute, arg, element)
| odf.attrconverters.cnv_NCNames (attribute, arg, element)
| odf.attrconverters.cnv_nonNegativeInteger (attribute, arg, element)
| odf.attrconverters.cnv_percent (attribute, arg, element)
| odf.attrconverters.cnv_points (attribute, arg, element)
| odf.attrconverters.cnv_positiveInteger (attribute, arg, element)
| odf.attrconverters.cnv_rowOrCol (attribute, arg, element)
| odf.attrconverters.cnv_string (attribute, arg, element)
| odf.attrconverters.cnv_stroke_linecap (attribute, arg, element)
| odf.attrconverters.cnv_textnoteclass (attribute, arg, element)
| odf.attrconverters.cnv_time (attribute, arg, element)
| odf.attrconverters.cnv_token (attribute, arg, element)
| odf.attrconverters.cnv_viewbox (attribute, arg, element)
| odf.attrconverters.cnv_xlinkshow (attribute, arg, element)
| odf.attrconverters.cnv_xlinktype (attribute, arg, element)

## Variables
| odf.attrconverters.pattern_color = re.compile(r'#[0-9a-fA-F]{6}')
| odf.attrconverters.pattern_vector3D = re.compile(r'\‍([ ]*-?([0-9]+(\.[0-9]*)?|\.[0-9]+)([ ]+-?([0-9]+(\.[0-9]*)?|\.[0-9]+)){2}[ ]*\‍)')
| odf.attrconverters.pattern_language = re.compile(r'[a-zA-Z]{1,8}(-[a-zA-Z0-9]{1,8})*')
| odf.attrconverters.pattern_length = re.compile(r'-?([0-9]+(\.[0-9]*)?|\.[0-9]+)((cm)|(mm)|(in)|(pt)|(pc)|(px))')
| odf.attrconverters.pattern_namespacedToken = re.compile(r'[0-9a-zA-Z_]+:[0-9a-zA-Z._\-]+')
| odf.attrconverters.pattern_percent = re.compile(r'-?([0-9]+(\.[0-9]*)?|\.[0-9]+)%')
| odf.attrconverters.pattern_points = re.compile(r'-?[0-9]+,-?[0-9]+([ ]+-?[0-9]+,-?[0-9]+)*')
| odf.attrconverters.pattern_viewbox = re.compile(r'-?[0-9]+([ ]+-?[0-9]+){3}$')
dict | odf.attrconverters.attrconverters