Paragraph numbering not updated when a style in the same hierarchy is used earlier in the document.
Steps to Reproduce:
1.Add two paragraphs to a new document
2.Select the Heading 1 style for the second paragraph, and click the Numbered button
3.Select the Heading 4 style for the first paragraph, click the Numbered button
4.Select the Illustration style for the first paragraph, then re-select the Heading 4 style
The number for the second paragraph is incorrectly set to 1 after the final step.
The number for the second paragraph should be set to 2.
User Profile Reset: No
If you do Print Preview after the final step, the numbering is corrected. But exporting to PDF does not correct the numbering.
I confirm the steps with
Version: 18.104.22.168.alpha0+ (x64)
Build ID: eeb2d19e77d6dc47c68e8ba0920a02cf64a1247b
CPU threads: 4; OS: Windows 10.0 Build 18363; UI render: default; VCL: win;
Locale: de-DE (de_DE); UI-Language: en-GB
I also confirm, that numbering is corrected in the document after print preview. But I can't confirm the wrong numbering in PDF document
Can confirm the steps (did not test printing) in 22.214.171.124.alpha
1. "Update All" does not help either.
2. Toggle Numbering for Heading 4 gives expected effect. (no printing needed)
3. Conduct step 4 (in described procedure) with "Tools-Chapter Numbering" (i.e., change paragraph style for Level 4 to another non-heading style and then back to a Heading n style), then works as expected.
(if "Illustration" style not previously used in document, then will not appear in Chapter Numbering dropdown box for Paragraph Style, try with Index, for example).)
(semi-)Explanation. Heading n styles have a special piece of code for linking numbering style with Heading. Works correctly when using Chapter Numbering (which is probably expected use). Toggling Numbering seems to "reinvoke" the connection that was lost when changing to a non-heading style.