This has been asked before, but it was never answered.
The last LO Writer guide (p. 389 in the PDF) mentions that in order to restart page numbering inside a master document one needs to create a heading style with outline level set to Level 1 and which inserts a page break with a specific page style and sets the page number to 1.
I have created such a heading style in my document’s template, but page numbering does not restart.
If I apply the same style to a paragraph of a regular document, it works.
Unfortunately my ISP is having problems at the moment and it would take forever to upload my thesis at my current speed. I’ll try to explain what I have done.
I started by creating a template and from that template the master document and all the sub-documents.
Whenever I wanted to add or modify a style, I did it in the template and the files were updated the next time they were opened.
I wanted the numbering to restart with Arabic numerals at the preface, which is a sub-document.
I created a heading style with its outline level set to Level 1. In the “Text Flow” tab I have the style insert a page break before it, with a specific page style and the page number set to 1.
All the sub-documents and the master document were updated to use the newer version of the template and I set the very first paragraph of the preface to that heading style.
In the master document, the numbering will not restart. If I apply the heading style somewhere in a sub-document (or a new document from that template), it does. It also restarts if I apply the heading style to a later part of the preface sub-document, but not to the first line. Although in that case, my first preface page gets the number 0… I can only get it to work if I add a blank page before the actual first page of the preface.