| Summary: | FILEOPEN DOCX Outline level is not inherited from style assigned as Chapter Numbering | ||
|---|---|---|---|
| Product: | LibreOffice | Reporter: | NISZ LibreOffice Team <libreoffice> |
| Component: | Writer | Assignee: | Justin L <jluth> |
| Status: | VERIFIED FIXED | ||
| Severity: | normal | CC: | buzea.bogdan, jluth, nemeth, varga.balazs3 |
| Priority: | medium | Keywords: | filter:docx |
| Version: | Inherited From OOo | ||
| Hardware: | All | ||
| OS: | All | ||
| See Also: | https://bugs.documentfoundation.org/show_bug.cgi?id=120464 | ||
| Whiteboard: | target:7.3.0 | ||
| Crash report or crash signature: | Regression By: | ||
| Bug Depends on: | |||
| Bug Blocks: | 108760 | ||
| Attachments: | Screenshot of the original document side by side in Word and Writer | ||
|
Description
NISZ LibreOffice Team
2021-08-02 14:47:35 UTC
To do this "very well" will be rather tricky. The problem is ALL in how LibreOffice implements "Chapter Numbering" - which is a uniquely LO concept. It would be fairly simple to duplicate the outlineLevel into every style that should inherit, but that would make it harder to manage nested styles. It is only NECESSARY to do this for styles that inherit from whatever gets stuck into Chapter Numbering (although identifying that is not trivial). Since OutlineLevel is a rather obscure setting, it probably wouldn't be too bad to spam it as an attribute onto every inheriting style. (We already do so much spamming as it is, so what is one more instance...) This has nothing to do with "Heading X" styles, so don't make that assumption. proposed fix at http://gerrit.libreoffice.org/c/core/+/120756 (In reply to Justin L from comment #1) > It is only NECESSARY to do this for styles that inherit from whatever gets > stuck into Chapter Numbering (although identifying that is not trivial). In actual fact, ALL inheritance was busted, so everything needed fixing. Justin Luth committed a patch related to this issue. It has been pushed to "master": https://git.libreoffice.org/core/commit/2aca75ef2ac84360d13e9000ba3063a7a42b6f6f tdf#143692 writerfilter: fix outlineLevel import x3 It will be available in 7.3.0. The patch should be included in the daily builds available at https://dev-builds.libreoffice.org/daily/ in the next 24-48 hours. More information about daily builds can be found at: https://wiki.documentfoundation.org/Testing_Daily_Builds Affected users are encouraged to test the fix and report feedback. Justin please mark this as resolved. I have verified this bug and Level 1 is well imported in Outline. Version: 7.3.0.0.alpha0+ / LibreOffice Community Build ID: fbe183bbb05220a4ccc51952445b1797bb498403 CPU threads: 4; OS: Linux 5.11; UI render: default; VCL: gtk3 Locale: ro-RO (ro_RO.UTF-8); UI: en-US Calc: threaded Justin Luth committed a patch related to this issue. It has been pushed to "master": https://git.libreoffice.org/core/commit/763f1e8236657a20b359991057679cf12bfac4f5 tdf#143692 writerfilter CN: reapply lost OutlineLevel It will be available in 7.3.0. The patch should be included in the daily builds available at https://dev-builds.libreoffice.org/daily/ in the next 24-48 hours. More information about daily builds can be found at: https://wiki.documentfoundation.org/Testing_Daily_Builds Affected users are encouraged to test the fix and report feedback. I have verified this bug and Level 1 is well imported in Outline. Version: 7.3.0.0.alpha0+ / LibreOffice Community Build ID: fbe183bbb05220a4ccc51952445b1797bb498403 CPU threads: 4; OS: Linux 5.11; UI render: default; VCL: gtk3 Locale: ro-RO (ro_RO.UTF-8); UI: en-US Calc: threaded |