https://bugs.documentfoundation.org/show_bug.cgi?id=92805
Bug ID: 92805 Summary: Field type "chapter" is not updated correctly if its actual level has not been used yet Product: LibreOffice Version: 4.4.4.3 release Hardware: All OS: All Status: UNCONFIRMED Severity: normal Priority: medium Component: Writer Assignee: libreoffice-bugs@lists.freedesktop.org Reporter: michael.fiedle...@gmx.de Created attachment 117302 --> https://bugs.documentfoundation.org/attachment.cgi?id=117302&action=edit minimal test case Steps to reproduce: Open the attached document: The header of a left page contains the current level 1 heading by using a field of type "chapter", e. g. "chapter name". On the right page, it is the current level 2 heading. On every page, a level 2 heading is used. The field for current heading 1 uses the value of a heading 2 if there was no heading 1 yet. Actual behaviour: Go to page 4 or page 6: Although the current (level 2) heading is already at number 3, the heading 1 field still uses the heading (level 2) number 1 from the beginning of the document. Expected behaviour: The field for current heading level 1 should use the value of the current heading level 2, if there was no heading of level 1 yet. It should NOT use a heading level 2 from the beginning which is not valid any more. See the attached PDF file which shows a "real world" example (Goethe: Faust 1) that suffers from this problem. E. g. on page 18 and 19, the headings should be the same: A level 1 heading has not occured yet (comes on page 22) and the current heading level 2 is "Prolog im Himmel". However, on page 18 the header still contains "Zueignung" from the beginning. Environment used: LibreOffice 4.4.4.3-3 Debian GNU/Linux 7.8 (wheezy) (x86) -- You are receiving this mail because: You are the assignee for the bug.
_______________________________________________ Libreoffice-bugs mailing list Libreoffice-bugs@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/libreoffice-bugs