Copy Page Style

I created a template with modifications to the “default” page style. Is there a way to “COPY” said style to a new one?
I have the headers and footers all set up as I want them, and each “Page Style” will be 90% the same. I tried clicking “NEW” under default style, and not only did the header/footers not transfer, but the parameters, like the page margins, did not transfer either

As @ajlittoz pointed out, page styles cannot inherit from other styles, but there is a way (AFAIK, not documented) to copy an existing page style.

  1. Put your cursor on a page where the page style to be copied is already applied.
  2. Go to the style editor and select the “Page style” tab.
  3. To the right of the top of the style editor, there is a drop-down button called “style actions” (or something like that, I don’t have an English LibO at hand now): open it and select “New style from selection”
  4. You’ll get a minimalist dialog to give a name to the new style.

And that’s it. If you now edit the new style, you’ll see that all settings will be the same of those from the original style, including headers.

2 Likes

Thanks for providing an actual answer.
Explaining why the question is wrong is somewhat reasonable.
In my case I wished to create a new page style which inherited from another page style for a good reason: to ensure that the page numbered 1 should occur on a right hand side page.

This is a shortcoming of ODF standard.

I see no reason why page styles could not inherit from each other as do paragraph, character and frame styles. However, this was not included in the definition of the format.

There are already feature request for that but knowledgeable developers answered that they would not implement it as it is not in the standard. Unfortunately, the standard can be amended only if there is a prototype implementation. Egg and hen problem!

they would not implement it as it is not in the standard

hmm… I don’t think there should be such a problem. In many cases we implemented things absent in the standard, to create a sample implementation, and that served for relevant standard proposal. Of course, it needs some developer interested in that; some developers might of course not want to implement something like this unless standardized.

Thank you. I was playing with this from a previous response to another question from @ajlittoz

Do not answer a question unless it is a real answer. Use the comment option.