[Libreoffice-bugs] [Bug 103148] No adoption of heading numbers when inserting a pagebreak before a heading

bugzilla-daemon at bugs.documentfoundation.org bugzilla-daemon at bugs.documentfoundation.org
Thu Jul 20 18:35:34 UTC 2017


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

Regina Henschel <rb.henschel at t-online.de> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEEDINFO                    |NEW

--- Comment #3 from Regina Henschel <rb.henschel at t-online.de> ---
(In reply to Timur from comment #2)
> @zyklon87: Please explain how you "Activate heading numbers". 
> Because I don't have this with Tools-Outline Numbering.

Make a text with paragraphs in style "Text body" and headings in style "Heading
1". Go to menu Tools > Chapter Numbering (former Outline Numbering). Go to tab
"Numbering". Mark "1" in list "Level". Make sure "Heading 1" is chosen in
drop-down-list "Paragraph style". Select item "A, B, C" from drop-down-list
"Number". OK
Now your heading should be numbered with A, B, C.

> @Regina: Please explain why that behavior is a bug.
When you use "Ctrl+Enter" a paragraph is inserted, which has the same paragraph
style as the paragraph has, where the cursor stood, when you have inserted the
page break. In this case, the new paragraph gets the paragraph style "Heading
1". And because this paragraph style is assigned to outline level 1 numbering,
it should get a number.

If you save the faulty document, you can see, that the new paragraph has got a
wrong paragraph style. It should have got a reference to "Heading 1". But it
has got a reference to a new automatic style and this automatic style has
erroneously got an attribute style:list-style-name="", which prevents
numbering.

-- 
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.freedesktop.org/archives/libreoffice-bugs/attachments/20170720/20c69f41/attachment-0001.html>


More information about the Libreoffice-bugs mailing list