Class Config
- class ooodev.cfg.config.Config(profile_versions, slide_template_path)[source]
Singleton Configuration Class
Generally speaking this class is only used internally.
- __init__(profile_versions, slide_template_path)
- Parameters:
profile_versions (List[str]) –
slide_template_path (str) –
- Return type:
None
- profile_versions: List[str]
LibreOffice Profile versions. Currently expect [“4”]
The value for this property can be set using
os.environ
withOOODEV_CONFIG_PROFILE_VERSION
.OOODEV_CONFIG_PROFILE_VERSION
is a comma separated string such as"4"
or"4, 5"
- slide_template_path: str
String path such as
share/template/common/layout/
The value for this property can be set using
os.environ
withOOODEV_CONFIG_SLIDE_TEMPLATE_PATH
.OOODEV_CONFIG_SLIDE_TEMPLATE_PATH
is a string such as"share/template/common/layout/"