AnnotationElement

AnnotationElement class

Represents a base class for annotation structure elements in logical structure.

The AnnotationElement type exposes the following members:

Properties

NameDescription
parent_elementNone
child_elementsNone
default_attribute_ownerGets
attributesGets
structure_typeGets type of structure element.
idGets the ID for structure element.
titleGets or sets the title for structure element.
languageGets or sets the language for structure element.
alternative_textGets or sets the alternative text for structure element.
expansion_textGets or sets the expansion text for structure element.
actual_textGets or sets the actual text for structure element.
alternate_descriptionsGets or Sets the Alternate Descriptions for annotation.
Text that shall be displayed for the annotation or, if this type of annotation does not display text, an alternate description of the annotation’s contents in human-readable form.

Methods

NameDescription
append_child(element)None
change_parent_element(new_parent_element)Change parent element for current structure element
generate_id()Generate ID for structure element.
set_id(id)Sets ID for structure element.
clear_id()Clear ID for structure element.
set_tag(new_tag)Sets custom tag for structure element.

See Also