pydocmaker.backend.libreoffice_api

Attributes

allow_libreoffice

_done

_testing_thread

_libreoffice_path

PATH_OPTIONS

_testing_thread

Functions

config_libreoffice_path_set(path)

sets a new path for the libreoffice executeable (use None to force the backend to try to resolve it anew)

config_libreoffice_path_get()

gets the currently set path for the libreoffice executeable or None, if it has not been resolved yet.

config_libreoffice_path_testset()

config_libreoffice_path_find()

_test_is_libreoffice_installed_threadfun()

can_use_libreoffice([force_reload])

to_pdf(input_file, output_pdf)

Module Contents

pydocmaker.backend.libreoffice_api.allow_libreoffice = True
pydocmaker.backend.libreoffice_api._done
pydocmaker.backend.libreoffice_api._testing_thread = None
pydocmaker.backend.libreoffice_api._libreoffice_path = None
pydocmaker.backend.libreoffice_api.PATH_OPTIONS = ['C:\\Program Files\\LibreOffice\\program\\soffice.exe', 'C:\\Program Files...
pydocmaker.backend.libreoffice_api.config_libreoffice_path_set(path)

sets a new path for the libreoffice executeable (use None to force the backend to try to resolve it anew)

Returns:

the newly set path for the libreoffice executeable or None, if it has not been resolved yet.

Return type:

str|None

pydocmaker.backend.libreoffice_api.config_libreoffice_path_get()

gets the currently set path for the libreoffice executeable or None, if it has not been resolved yet.

Returns:

the currently set path for the libreoffice executeable or None, if it has not been resolved yet.

Return type:

str|None

pydocmaker.backend.libreoffice_api.config_libreoffice_path_testset()
pydocmaker.backend.libreoffice_api.config_libreoffice_path_find()
pydocmaker.backend.libreoffice_api._test_is_libreoffice_installed_threadfun()
pydocmaker.backend.libreoffice_api._testing_thread
pydocmaker.backend.libreoffice_api.can_use_libreoffice(force_reload=False)
pydocmaker.backend.libreoffice_api.to_pdf(input_file, output_pdf)