[Libreoffice-ux-advise] [Bug 129302] FORMATTING:chapter name field in header does not reflect first chapter in current page

bugzilla-daemon at bugs.documentfoundation.org bugzilla-daemon at bugs.documentfoundation.org
Mon Jan 6 13:35:24 UTC 2020


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

Heiko Tietze <heiko.tietze at documentfoundation.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |vmiklos at collabora.com

--- Comment #10 from Heiko Tietze <heiko.tietze at documentfoundation.org> ---
Chapter is documented as "the number of the chapter where the referenced target
is located.", see [1]. And the ODF defines "If this element is placed inside a
header or footer, it displays the current chapter name or number on every
page." [2]

[1] https://wiki.documentfoundation.org/images/b/bc/WG6017-Fields.pdf
[2]
http://docs.oasis-open.org/office/v1.2/os/OpenDocument-v1.2-os-part1.html#__RefHeading__1415316_253892949

My understanding of "current" is the same as Dieter's - the chapter to what the
first paragraph belongs is taken into the variable.

If you expect some other procedure you would have to answer the question when
the header takes what is on the page. You may have 50% of the text in mind but
consider also more than one heading on the same page. And other users probably
expect the current behavior. I don't see a solution for your workflow.

Last but not least I opened the document with MSO 2016 where all headers show
"header22". Probably Word cannot deal with this type of variable
(cross-reference has nothing like chapter). But maybe we have a roundtrip
problem. Miklos, what do you think?

-- 
You are receiving this mail because:
You are on the CC list for the bug.


More information about the Libreoffice-ux-advise mailing list