class documentation

Base class for the different output file types.

Method __init__ Undocumented
Method show Open the generated document with the file type associated application.
Instance Variable file_path Path to the file.
Instance Variable tags_allowed List of tags for elements that are allowed.
Instance Variable tags_excluded List of tags for elements that are excluded.
Method _not_implemented Handler for not implemented elements.
def __init__(self, file_path: pathlib.Path, tags_allowed: Union[List[str], str] = None, tags_excluded: Union[List[str], str] = None): (source)
def show(self): (source)

Open the generated document with the file type associated application.

On Linux xdg-open and on Windows start is used.

file_path = (source)

Path to the file.

tags_allowed = (source)

List of tags for elements that are allowed.

tags_excluded = (source)

List of tags for elements that are excluded.

def _not_implemented(self, *args, **kwargs): (source)

Handler for not implemented elements.

Throws a warning.