Where do settings for new page styles come from

Windows 11. LO 7.3.2.2
I’m creating new page styles by selecting an existing style, right clicking and selecting ‘New.’ I would like it if the Page tab settings (margins, etc) matched the settings of the style I’m deriving from but they don’t.

I saw in another post that if I want to change the page setting default I need to create a template. I did that. Still whenever I create a new page style the page settings are those shown below and I have to change them each time to match my desired settings. Am I doing something wrong?

image

PageStyleExample.odt (9.8 KB)

Do you want the settings in the PageStyleExample.odt to be the default when you open a new document? If so:

  1. Open it
  2. Click File > Templates > Save as Template
  3. In the dialogue that opens give it a name, e.g. Salex3191Template and then tick the box Set as default template and click Save.

Any new document you create by clicking File > New > New Text Document (Ctrl+N) or click the new document icon will be based on that template.

You can revert at any time by clicking File > Template > Manage templates, finding the template with the green tick (default), right clicking it and selecting Reset Default

More info in Help Template Manager
Also the Writer Guide can be very useful, English documentation | LibreOffice Documentation - LibreOffice User Guides

I did the steps you show when I created the example file. Perhaps I should have included my template file. It works like you say except when I create a new page style. The settings under the “page’ tab are as shown above regardless of the default page settings in the template. My default settings for the document I’m working on use 1.0” for top/bottom margins and 0.8" for Left/right. I always have to manually set them when I create a new page style.

Actually I figured out a simpler test case to show what I’m talking about. I open the Template manager and select the “default template.” Then select “Open.” In the new document that opens I go to the Styles Pane and click the “Page Styles.” Right click and select “New…” on the “Default page style.” After I enter a style “name” and “next style” then click on the “Page” tab the page margins are like the ones I show above but are not the same as the Default Page Style. Also I notice the "Inherit from box in the “Organizer” Tab is grayed out. Seems like that might help if it wasn’t.

Ah. I see what you are saying. The default locale page style seems to always be the base for New style, not the default template page style. With template based on your file set as default template, I get A4 page doing that.

If you want to base a new style on the current page style, click in the page and select Styles > New Style from selection or click the A icon at the top of the Page styles pane.

Page styles have not the same properties or behaviour as paragraph and character styles. The main difference is they can’t inherit from each other. This inheritance allows to organise para/char styles in a tree-like way and manage formatting smartly.

All page styles are independent. This means right-click+New will not initialise the new style with the present configuration of the selected style.

Shame, this is not user-friendly.

1 Like