On Ubuntu 15.10 / LibreOffice 18.104.22.168.
Been using LibreOffice for a while but a little new to managing Styles and Templates.
I searched through the forum but did not find answer to what I am looking for.
A description of my particular situation is as below.
I created a template to be used in different documents with similar content. Thus the template contains quite a few styles. I created the styles hierarchically such as Footer.Style and then Footer.Style.DocA and Footer.Style.DocB such that DocA and DocB can apply the style referred to by its respective name.
All that the child style changes, eg. by DocA or DocB is the color. Font, borders etc. are stored in the parent style Footer.Style.
Thus main body of template is blank. Has no information and the template is mainly used as a storage for styles.
Footer of the template has 2 lines:
2nd line has page number/count and applies the style Footer.Style.PageNumber.
Ist line of footer in template is blank. And applies the style Footer.Style.
In the document using the template, whether DocA or DocB, on this 1st line, I apply the style Footer.Style.DocA or Footer.Style.DocB, which only changes the color, from parent Footer.Style.
For the footer in the document it is not working (loses the line) when I Update Styles after changing the template. When I update style, the footer line that has a blank line in template (the 1st line) disappears in document, and I am left with a blank line that has style Footer.Style.
Thus, to recap, the 1st line in document DocA or even DocB which should have the style Footer.Style.DocA or Footer.Style.DocB,is no more, when I Update Styles. Content is gone also. Left with blank line as in template. The 2nd line is fine and the page number/count displays.
Also, another thing I can’t figure out - whenever I open either the document or the template, it wants to Update Styles, even if I have not changed the template. It also asks this question for the template also when I open the template. I always agree to this and click on Update Styles.
My final related question. I want to combine these documents DocA and DocB in a Master Document. I create a Master Document Template to work from. But again there when the documents are combined the footers from both documents completely disappears. No footer.
My Master Document has a footer that is empty, nothing in it. So not sure if that is the problem and what I can do about it.
Thank you much for your help in resolving these matters.