I made changes to the template I was using as the Writer default template expecting old documents based on that template to ask to be updated to the revised default template whenever I opened them because this had happened before, but that did not happen this time when I opened the old document. Now I do not know how to get the template revisions into that existing document. Is there a way I can somehow navigate from inside the old document to some place where I can import the revised default template? When I open LibreOffice from the main program desktop icon and click the icon to create a new writer document, the correct revised default template comes up in the new untitled document. When I go to the folder where I created the default template and double click on it the untitled document that comes up also contains the correct new revised default template styles. How can I get those default template revsions into that existing document?
I encountered another problem which was that after closing LibreOffice Writer it would not start up again. Neither the main desktop LibreOffice icon, nor an individual document or template file would open. This is the third time this has happened since I started using LibreOffice. I had to reboot to get the program to work. After I rebooted, when I opened the file it presented the dialog to update the styles as it should have before. I have since installed
LibreOffice Version: 22.214.171.124.
There has got to be a way to navigate from inside a document to something that will show the name of the template the document is based on. There should be a way to manually navigate to a dialog menu that will give you the option to update the document to the latest template changes after you have opened the document and been editing it.
You can change (update) the template your documents are based on by using the template changer extension. You want version 1.2.7c. Go to this page and click on “attachment 103039” under comment 11 to download the file. Go to Tools - Extension Manager in LibreOffice and install the extension. You can then go to File - Templates - Assign Template (current document) to select the updated template that you want applied. Remember, you can go to File - Properties, under the General tab you can see the template that is currently applied to that document.
Great information concerning version 1.2.7c. Hope they put this soon into the extension database of LibO.
Thanks for this information. I knew there had to be a way to see what template the document was based on.
I will try your suggestions.
I installed the 1.2.7c template changer extension and it works great. Thanks again for the info.
There is now a version 1.2.7d which I have installed and tested in LibO Writer Version: 126.96.36.199 (Build ID: 1:5.4.3-0ubuntu1). It is not available from the official extension repository.
It is packaged as a ZIP – just change the “zip” file extension to “oxt”, then in LibO Writer go to
Tools > Extension Manager... > Add, and the OXT can be installed.
(And yes, this really ought to be a default feature of LibO Writer, not a third-party “extension”!)
This is really helpful. From my experiments, however, if you delete a style in the template this is not reflected in the .odt document based on it. Echo your sentiments about this being an essential feature in LO Writer. Why go to all the trouble to design such a powerful “philosophy” of styles (far superior to other proprietary Word processor apps with larger market share), but fail to follow up by making the templating system fit for purpose?
Incidentally, I haven’t done any experiments along these lines, but I assume there is no possibility of hierarchy of inheritance of templates, even with this extension.
I don’t know if template changer extension addresses the main issue mentioned in the question: sometimes LO won’t offer to update to the latest template version despite the fact that the template has changed.
It happened to me and I noticed this is the case when there is a huge time difference between the date recorded in the document and the last modification date of the template.
I have an imperfect workaround for that.
I save the document as .fodt to easily access the XML. I open it with a text editor, though some documents may contain lines exceeding the editor buffer size (e.g. 4096 bytes in KWrite), in which case I am compelled to patch with a binary editor.
I search for the string
<meta:template. This XML tag has an attribute
met:date=set to the modification date of the active template. When this date is too far in the past, automatic update does not work. I just set it approximately one month before the updated template.
I then open the modified .fodt and LO displays the update dialog as expected. I answer yes and save as .odt when I exit.
Apart from the date difference, I have not identified the precise circumstances in which this happens.