Page style not applying

Discuss the word processor
Post Reply
Marscaleb
Posts: 27
Joined: Wed Sep 07, 2011 9:09 am

Page style not applying

Post by Marscaleb »

I'm trying to apply some page styles to my document.
Well actually I'm trying to apply some page numbers, but I need my title page and table of contents to not be part of the page numbers.
I select my first page and apply the "first page" style and that works fine; page numbers start on the next page.
But when I try to apply "Index" to the second page, it overrides EVERYTHING and applies "Index" to EVERY PAGE, even the one with the first page.

What am I doing wrong here?
FJCC
Moderator
Posts: 9625
Joined: Sat Nov 08, 2008 8:08 pm
Location: Colorado, USA

Re: Page style not applying

Post by FJCC »

You can use page breaks to control which styles are applied. Apply the First Page style to your first page. After the text on that page, insert a page break with the menu Insert -> Manual Break. Make sure Page Break is selected on the dialog and in the Style list select Index. Then go to the end of your index and insert another page break, setting the Style list to Default.
OpenOffice 4.1 on Windows 10 and Linux Mint
If your question is answered, please go to your first post, select the Edit button, and add [Solved] to the beginning of the title.
User avatar
floris v
Volunteer
Posts: 4638
Joined: Wed Nov 28, 2007 1:21 pm
Location: Netherlands

Re: Page style not applying

Post by floris v »

Page styles are hard. See this tutorial: [Tutorial] Page styles and headers/footers. The main thing to keep in mind is that a page style doesn't apply to a single page but to an entire block, and if you decide to apply a page style on a random page, it may apply itself to the entire document. So, when you work with page styles, you have to plan things, and apply them systematically, starting with the first page, and on and on until the last.
LibreOffice 25.8.4.2 on Ubuntu Linux
If your problem has been solved or your question has been answered, please edit the first post in this thread and add [Solved] to the title bar.
Nederlandstalig forum
Marscaleb
Posts: 27
Joined: Wed Sep 07, 2011 9:09 am

Re: Page style not applying

Post by Marscaleb »

I do have manual breaks in my document, separating the pages before I start the "real" content and then again at the end of each chapter.
But I still have setting the page style for the table of contents somehow applying to the entire document.
User avatar
floris v
Volunteer
Posts: 4638
Joined: Wed Nov 28, 2007 1:21 pm
Location: Netherlands

Re: Page style not applying

Post by floris v »

In the manual breaks, you have to select the page style for the next page. Did you do that?
LibreOffice 25.8.4.2 on Ubuntu Linux
If your problem has been solved or your question has been answered, please edit the first post in this thread and add [Solved] to the title bar.
Nederlandstalig forum
User avatar
robleyd
Moderator
Posts: 5509
Joined: Mon Aug 19, 2013 3:47 am
Location: Murbko, Australia

Re: Page style not applying

Post by robleyd »

You may need to prepare new page styles prior to inserting the manual breaks, depending on your needs. Then insert the manual break and select the style for the following page(s):
Attachments
pbrkstyle.png
pbrkstyle.png (63.33 KiB) Viewed 205 times
Slackware 15 (current) 64 bit
Apache OpenOffice 4.1.16
LibreOffice 26.2.3.2; SlackBuild for 26.2.3 by Eric Hameleers
---------------
I hate this damn computer, I wish that I could sell it.
It won't do what I want it to, Only what I tell it.
Post Reply