lpod.span

class lpod.span.odf_span(native_element)

Bases: lpod.paragraph.odf_paragraph

lpod.span.odf_create_span(text=None, style=None)

Create a span element of the given style containing the optional given text.

Arguments:

style – unicode

text – unicode

Return: odf_element