ContentLabel

class disseminate.label_manager.types.content_label.ContentLabel(doc_id, id, kind, title, order=None)

Bases: disseminate.label_manager.types.label.Label

A label for content, like a heading (chapter, section, subsection) or an item that should show up in a table of contents, like a figure caption.

Attributes
document_labelDocumentLabel

The label object for the document that owns this label.

chapter_labelOptional[ContentLabel]

The label for the chapter under which this label is under.

section_labelOptional[ContentLabel]

The label for the section under which this label is under.

subsection_labelOptional[ContentLabel]

The label for the subsection under which this label is under.

subsubsection_labelOptional[ContentLabel]

The label for the subsubsection under which this label is under.

property chapter_number

The number for the chapter to which this label belongs.

property chapter_title

The title for the chapter to which this label belongs.

property part_number

The number for the part to which this label belongs.

property part_title

The title for the part to which this label belongs.

property section_number

The number for the section to which this label belongs.

property section_title

The title for the section to which this label belongs.

property subsection_number

The number for the subsection to which this label belongs.

property subsection_title

The title for the subsection to which this label belongs.

property subsubsection_number

The number for the subsubsection to which this label belongs.

property subsubsection_title

The title for the subsubsection to which this label belongs.

property tree_number

The string for the number for the chapter, section, subsection and so on.

e.g. Section 3.2.1.