When you create a table of contents with Writer, if the table of contents is more than one page, it is impossible to change the page style of the second page.
The style of the second page is always the default style
Steps to reproduce:
Operating System: Windows 8
Version: 18.104.22.168 release
I reproduce on windows 7/64 & Version: 22.214.171.124
Build ID: 67f5430184326974072b65403ef1d9d934fc4481
I change from bug to enhancement: this is not strictly a bug.
The style of second page is not always "default" (the style of the first page is kept).
There is a workaround :
- Edit the index, Index/Table tab
-Unprotect against manual changes
See the IndexTwoPages attached.
You can modify the text flow, but beware to no longer update the index
Thank's for reporting
Created attachment 101421 [details]
I cannot reproduce.
1. Create a page style for following pages of ToC (e.g., landscape);
2. Create a page style for first page of ToC, and set the style created in #1 as Next style on Organizer tab;
3. It works as expected with long ToC
Version: 126.96.36.199 (x64)
Build ID: 56f3c78975db08733f771c53643b5d1aa7c57567
CPU threads: 12; OS: Windows 10.0 Build 18363; UI render: GL; VCL: win;
Locale: ru-RU (ru_RU); UI-Language: en-US
It worked that way already in OOo 3.2.0.
So I cannot understand what's missing, and what is the proposed enhancement. Both ways is and was working: the "proper" one using page styles' "Next style", and using manual page breaks with page styles.
Since the actual *proposal* is missing (like "Add this"), and the premise is wrong (it's in fact *possible* to change page style of the second page), I suggest close INVALID.
(In reply to Mike Kaganski from comment #4)
> So I cannot understand what's missing
- Click the 1st paragraph of the second index page and then do Insert> More Breaks> Manual break (to choose the page style).
- Or edit the same 1st paragraph text flow.
Manual page break works in my sample file because I unchecked the index protection against manual changes but:
- this is not the default value of this option
- it's lost when the index is updated.
In any case, I fully agree that, as it works with the page style sequencing, we classify this request as INVALID.
To tell the truth, I don't remember or understand why I supported this request :)
(In reply to pierre-yves samyn from comment #5)
> What's missing:
> - Click the 1st paragraph of the second index page and then do Insert> More
> Breaks> Manual break (to choose the page style).
> - Or edit the same 1st paragraph text flow.
> Manual page break works in my sample file because I unchecked the index
> protection against manual changes but:
> - this is not the default value of this option
> - it's lost when the index is updated.
Which is the only way it should be. ToC is not just any text, it's an auto-generated field. The same way, you may only mark some part of ToC bold or add your custom text there only removing the protection; and the same way it is reverted when index is regenerated. A "paragraph" in ToC which you make breaking with a page style doesn't exist when ToC is regenerated: ToC does not edit its paragraphs, it creates them anew. Say, you changed chapter headings; rearranged the chapters; added new or removed existing. Which paragraph in the new ToC is the paragraph you modified in the old ToC?
> In any case, I fully agree that, as it works with the page style sequencing,
> we classify this request as INVALID.
> To tell the truth, I don't remember or understand why I supported this
> request :)
:-) So let's do it.