Cross-References and Fields (rinoh.reference)

class rinoh.reference.Reference(target_id, type='number', link=True, style=None, quiet=False, **kwargs)
class rinoh.reference.ReferenceField(type='number', link=True, quiet=False, style=None, parent=None, source=None)
class rinoh.reference.ReferenceText(id=None, style=None, parent=None, source=None)
class rinoh.reference.ReferenceType

Accepts: reference, number, title, page

class rinoh.reference.ReferencingParagraph(target_id_or_flowable, id=None, style=None, parent=None)
style_class

alias of rinoh.reference.ReferencingParagraphStyle

target_style(document)

Filter selection on the style attribute of the target flowable

target_has_class(document)

Filter selection on a class of the target flowable

target_has_classes(document)

Filter selection on a set of classes of the target flowable

class rinoh.reference.Note(flowable, id=None, style=None, parent=None)
class rinoh.reference.RegisterNote(note, parent=None)
prepare(flowable_target)

Determine number labels and register references with the document

class rinoh.reference.NoteMarkerBase(custom_label=None, **kwargs)
style_class

alias of rinoh.reference.NoteMarkerStyle

prepare(flowable_target)

Determine number labels and register references with the document

class rinoh.reference.NoteMarkerByID(target_id, type='number', link=True, style=None, quiet=False, **kwargs)
class rinoh.reference.NoteMarkerWithNote(referenceable, type='number', link=False, style=None, **kwargs)
prepare(flowable_target)

Determine number labels and register references with the document

class rinoh.reference.Field(type, style=None)