Description: master document with lots of sub documents, outline numbering is set to include different styles. updating the document gives an offset (starts at 2) in the first chapter level in LO 7.3.3.1 the offset also occurs in 7.3.3.2, 7.3.6.1 and 7.4.1.2. updating the document gives no offset (starts at 1) in the first chapter level in LO 7.3.2.2. Steps to Reproduce: 1.open master document in 7.3.2.2 2.update all = ok 3.open same master document in 7.3.3.1 (and higher versions) 4.update all = not ok Actual Results: in 7.3.2.2 chapter numbering = Part I in 7.3.3.1 chapter numbering = Part II Expected Results: in 7.3.2.2 chapter numbering = Part I in 7.3.3.1 chapter numbering = Part I Reproducible: Always User Profile Reset: No Additional Info: I installed parallel versions of LO using Separate Install GUI v5.0.0.9 user profiles are fresh every time. tested versions: 7.1.4.2 ok 7.2.7.2 ok 7.3.0.1 ok 7.3.1.1 ok 7.3.2.2 ok 7.3.3.1 not ok 7.3.3.2 not ok 7.3.6.1 not ok 7.4.1.2 not ok
Created attachment 182170 [details] chapter numbering setup with various styles
Created attachment 182171 [details] chapter numbering result ok in LO 7.3.2.2
Created attachment 182172 [details] chapter numbering result not ok in LO 7.3.3.1
Jan, thank you for reporting the bug. Please attach a sample document, as this makes it easier for us to verify the bug. I have set the bug's status to 'NEEDINFO'. Please change it back to 'UNCONFIRMED' once the requested document is provided. (Please note that the attachment will be public, remove any sensitive information before attaching it)
Created attachment 182538 [details] master documents and relevant subdocuments and results in pdf master document and linked subdocuments (in same folder). resulting pdf for LO versions 7.1.4.2 ok 7.3.2.2 ok 7.3.3.1 not ok 7.4.1.2 not ok
Jan, thank you for sample document. Now I can reproduce it with Version: 7.5.0.0.alpha0+ (x64) / LibreOffice Community Build ID: bfb0dbee201a69c26293947c78356f320ff62a0b CPU threads: 4; OS: Windows 10.0 Build 19044; UI render: Skia/Raster; VCL: win Locale: de-DE (de_DE); UI: en-GB Calc: CL threaded but not with Version: 7.2.7.2 (x64) / LibreOffice Community Build ID: 8d71d29d553c0f7dcbfa38fbfda25ee34cce99a2 CPU threads: 4; OS: Windows 10.0 Build 19044; UI render: Skia/Raster; VCL: win Locale: de-DE (de_DE); UI: de-DE Calc: CL Steps to reproduce 1. Open master document from attachment 182538 [details] Actual result: Document starts with "Introduction and Description" as Part II on page 5 Expected result: "Introduction and Description" should be Part I
Created attachment 184959 [details] LO 7.5.0.2 - about just wanting to let know that this issue is still present, also in the latest released 7.5.0.2
This seems to have begun at the below commit. Adding Cc: to Vasily Melenchuk ; Could you possibly take a look at this one? Thanks e880070a43c036df4c3b778dfd56c1fba997409b is the first bad commit commit e880070a43c036df4c3b778dfd56c1fba997409b Author: Jenkins Build User <tdf@pollux.tdf> Date: Thu Mar 17 12:50:56 2022 +0100 source c13c94b0ff103484e00403b034eef73ba1ea17c5 https://git.libreoffice.org/core/+/c13c94b0ff103484e00403b034eef73ba1ea17c5
The situation is exactly the same, like in tdf#154081 In given master document we have used style "Revision" (for text "version 1.0.0" on title page). This style is a part of heading numbering (level 6). Same situation is with style "Heading 1 preface" (level 9 of heading numbering). They are causing creation of "virtual" upper level numbering and thus "Introduction and description" became Part II. I'm convinced that situation is okay and not a bug: text is marked as a part of heading numbering so why it should be excluded? MS Word does the same as I see in my experiments. To repair this document I can propose 2 options: * Remove "Revision" and "Heading 1 preface" styles from heading numbering (for example, replace it by standard "Heading 6" and "Heading 9") * Disable numbering for paragraphs using these styles (context menu on "version 1.0.0" -> List -> No List) and do the same of "Contents". Any option did work for me.
indeed I see that tdf#154081 describes the same problem. Unfortunately, I can not use the proposed solutions because I use cross-references to the Outline numbering levels in headers and footers, including Level 6 and Level 9. We need every page to be identifiable by the relevant cross-reference. It is ironic, we chose OpenOffice and later LibreOffice because the master-subdocument handling was superstrong, unlike MS Word. And this patch of "The logic of Cross Reference representing Paragraph Numbering is different between MSOffice and LibreOffice" now stops us. Ah well. We will find some solution. Thank you for your excellent work, keep it up!
indeed solution option 1 works. thank you all again for your hard work!