Fired for plain text segments of the input stream.
class OfficeDocCharactersEventParams(object): @property def text() -> str: ... # In class OfficeDoc: @property def on_characters() -> Callable[[OfficeDocCharactersEventParams], None]: ... @on_characters.setter def on_characters(event_hook: Callable[[OfficeDocCharactersEventParams], None]) -> None: ...
The on_characters event provides the plain text content of the XML document (i.e. the text inside the tags). The text is provided through the Text parameter.
The text includes white space as well as end of line characters, except for ignorable whitespace which is fired through the on_ignorable_whitespace event.