Skip to content

Meta Field

TextMeta and MetaField class for “text:meta” and “text:meta-field” tags.

Classes:

Name Description
MetaField

Content from a metadata source.

TextMeta

Represents portions of text that have in content metadata attached.

MetaField

Bases: UserDefinedMixin, LinkMixin, ReferenceMixin, BookmarkMixin, AnnotationMixin, NoteMixin

Content from a metadata source.

The mixed content of this element should be generated from the metadata source. The source of the metadata and the means of generation of the mixed content is implementation-dependent. The “text:meta-field” element may contain any paragraph content.

Source code in odfdo/meta_field.py
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
class MetaField(
    UserDefinedMixin,
    LinkMixin,
    ReferenceMixin,
    BookmarkMixin,
    AnnotationMixin,
    NoteMixin,
):
    """Content from a metadata source.

    The mixed content of this element should be generated from the metadata
    source. The source of the metadata and the means of generation of the
    mixed content is implementation-dependent. The "text:meta-field" element
    may contain any paragraph content.
    """

    _tag = "text:meta-field"

_tag class-attribute instance-attribute

_tag = 'text:meta-field'

TextMeta

Bases: UserDefinedMixin, LinkMixin, ReferenceMixin, BookmarkMixin, AnnotationMixin, NoteMixin

Represents portions of text that have in content metadata attached.

Source code in odfdo/meta_field.py
52
53
54
55
56
57
58
59
60
61
62
class TextMeta(
    UserDefinedMixin,
    LinkMixin,
    ReferenceMixin,
    BookmarkMixin,
    AnnotationMixin,
    NoteMixin,
):
    """Represents portions of text that have in content metadata attached."""

    _tag = "text:meta"

_tag class-attribute instance-attribute

_tag = 'text:meta'