https://bugs.documentfoundation.org/show_bug.cgi?id=91048

--- Comment #12 from Mike Kaganski <[email protected]> ---
Created attachment 183060
  --> https://bugs.documentfoundation.org/attachment.cgi?id=183060&action=edit
A proposed document structure with correct ToC order

A heading in a header is not the correct document structure. Header is a
property of a page style; this also leads to proliferation of page styles.

It is actually unclear how such a heading should appear relative to the main
text flow, because the page style is a property of the first paragraph, and the
paragraph itself has an outline level, and deep inside its properties (inside
page style, inside its heading, as a property of that heading's first
paragraph), another outline element is.

As far as I see, the requirement for the heading in the header came from the
requirement to have it in other pages of the appendices; and that could be done
using a special page style for first page of appendix (without header, and with
normal paragraph for the heading in that area), and the page styles with
headers and chapter references for the rest of the pages. Having that page
style, and associating it with respective appendix header paragraph style,
could automate it all; of course, if the requirements for each appendix are
different, then it would not automated, but still provide the same level of
functionality.

Attached is a sample with the explained structure, which is an edited
attachment 115288 from comment 0.

-- 
You are receiving this mail because:
You are the assignee for the bug.

Reply via email to