Issue 88940 - Writer initially ignores "Next style" property for endnote style when activating header
Summary: Writer initially ignores "Next style" property for endnote style when activat...
Status: CONFIRMED
Alias: None
Product: Writer
Classification: Application
Component: formatting (show other issues)
Version: OOo 2.4.0
Hardware: PC Windows Vista
: P4 Trivial with 2 votes (vote)
Target Milestone: ---
Assignee: AOO issues mailing list
QA Contact:
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2008-05-02 11:59 UTC by josupeit
Modified: 2013-08-07 14:38 UTC (History)
1 user (show)

See Also:
Issue Type: DEFECT
Latest Confirmation in: ---
Developer Difficulty: ---


Attachments
Works fine here (7.97 KB, application/vnd.oasis.opendocument.text)
2008-05-05 09:45 UTC, michael.ruess
no flags Details
Does not work fine, if you enable the heading (8.64 KB, application/vnd.oasis.opendocument.text)
2008-05-05 10:06 UTC, josupeit
no flags Details

Note You need to log in before you can comment on or make changes to this issue.
Description josupeit 2008-05-02 11:59:03 UTC
If a document contains more than one endnote page, Writer doesn't apply the page
style defined in the "next style" property of the endnote page style to any
following page. Instead, the page style defined in the "Footnote settings"
section is assigned to any page.

Example:
1. Create a new document
2. Create a new page style called "Endnote - Following"
3. Edit the page style "Endnote" and set the "Next style" property to "Endnote -
Following"
4. Add so many endnotes to the document, that at least one page-break is
automatically inserted within the notes

After those steps you can see, that the style "Endnote" is applied to every
endnote-page instead of only the first page.
Comment 1 michael.ruess 2008-05-05 09:45:21 UTC
Created attachment 53377 [details]
Works fine here
Comment 2 michael.ruess 2008-05-05 09:48:59 UTC
I cannot reproduce the problem, see my attached sample, which was created
exactly following your description. Please provide your sample document, so that
we can see what you did differently to get this bug. Thanks! 
Feel free to reopen issue when document can be provided.
Comment 3 michael.ruess 2008-05-05 09:53:28 UTC
Closed.
Comment 4 josupeit 2008-05-05 10:05:48 UTC
Hmm. I can't understand this, because this did not work for me before.
Nevertheless your document just "works" unless you enable a heading for
"Endnote". If you do so, Writer ignores the "next style"-property (see attachment).
Comment 5 josupeit 2008-05-05 10:06:37 UTC
Created attachment 53378 [details]
Does not work fine, if you enable the heading
Comment 6 michael.ruess 2008-05-05 10:45:58 UTC
Now I do not understand... When I open your modified version of the document,
"Endnote follow" is correctly applied... or did I miss a certain thing???
Comment 7 josupeit 2008-05-05 13:04:54 UTC
Huh? Writer seems to apply it correctly if you restart it. Well, when I now open
my modified document, everything works fine: The first page has got the style
"Endnote" and the second one "Endnote follow" (even with heading enabled for the
first page). If you now disable the heading, Writer also assigns the style
"Endnote" to the second page. Now, when you save the file and re-open it,
everything is set correctly until you re-enable the heading for the first page.
Seems strange. Can you reproduce this?
Comment 8 michael.ruess 2008-05-05 13:32:49 UTC
Yes, now I can reproduce the problem. This seems a formatting problem in Writer
when the page style properties have changed.

MRU->AMA: take my attachment. You can see that both endnote pages have different
page style. If you now enable the header in page style "Endnote", you will see,
that the "Next style" seems to be ignored now. Will correct itself after saving
and reopening the document.