lpod.heading

class lpod.heading.odf_heading(native_element, cache=None)

Bases: lpod.paragraph.odf_paragraph

Specialised element for headings, which themselves are Specialised paragraphs.

get_formatted_text(context)
lpod.heading.odf_create_heading(level, text=None, restart_numbering=False, start_value=None, suppress_numbering=False, style=None)

Create a heading element of the given style and level, containing the optional given text.

Level count begins at 1.

Arguments:

level – int

text – unicode

restart_numbering – bool

start_value – int

style – unicode

Return: odf_element

Previous topic

lpod.future

Next topic

lpod.image

This Page