LibreOffice template bugs

type: note | domain: technology | topic: software | lang: en | pub: 2024-01-05

LibreOffice is extremely strong at handling large documents combined with templates. In addition to the .odt format for text documents, there is the .odm format for master documents in which several .odt files can be linked to form one larger whole.

All these documents are actually zip files that, unpacked, form a file structure. One such file is meta.xml which contains a reference to the template used. This template is an .ott file. The strength of an external template is that, for example, a house style can be implemented consistently across a large number of documents linked to a template. In addition, a change in a template can dynamically roll back to the documents.

However LibreOffice contains some bugs that are described below. The reference within meta.xml consists of an href element with an absolute or relative path to the template used.

Unfortunately, neither approach works. In other words, something like this in meta.xml fails:

href="MyTemplate.ott">

This can be seen as a solid bug.

In addition, there is no native method to manage changing the template associated with a document. Alternatives:

Precisely because template management is so important, this functionality should be directly included in the package. The non-native presence of this functionality can also be seen as a bug.