Bug 107940 - XHTML export cannot handle setting "show sublevels"
Summary: XHTML export cannot handle setting "show sublevels"
Status: NEW
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: Writer (show other bugs)
Version:
(earliest affected)
5.4.0.0.alpha1+
Hardware: All All
: medium normal
Assignee: Not Assigned
URL:
Whiteboard:
Keywords:
: 132190 (view as bug list)
Depends on:
Blocks: (X)HTML-Export
  Show dependency treegraph
 
Reported: 2017-05-18 21:40 UTC by Regina Henschel
Modified: 2023-06-25 10:25 UTC (History)
2 users (show)

See Also:
Crash report or crash signature:


Attachments
Outline numbering with "show sublevels"=1 (11.56 KB, application/vnd.oasis.opendocument.text)
2017-05-18 21:40 UTC, Regina Henschel
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Regina Henschel 2017-05-18 21:40:37 UTC
Created attachment 133394 [details]
Outline numbering with "show sublevels"=1

Open attached document and export it to XHMTL. Open the exported file in a browser. Compare the outline numbering. The XHTML-file shows all sublevels, the original document shows only 1 sublevel.

This is a follow up to bug 107696.
Comment 1 Julien Nabet 2017-05-20 11:37:11 UTC
On pc Debian x86-64 with master sources updated yesterday, I could reproduce this.

Code pointer: http://opengrok.libreoffice.org/xref/core/filter/source/xslt/odf2xhtml/export/xhtml/body.xsl
Comment 2 QA Administrators 2018-06-27 02:48:09 UTC Comment hidden (obsolete)
Comment 3 Regina Henschel 2018-11-06 13:16:38 UTC Comment hidden (obsolete)
Comment 4 QA Administrators 2019-11-07 03:34:29 UTC Comment hidden (obsolete)
Comment 5 Regina Henschel 2019-11-07 11:35:58 UTC
The error still exists in Version: 6.4.0.0.alpha1+ (x64)
Build ID: 7c6226bee72805db7f0e567ca9f06c786a7d0da2
CPU threads: 8; OS: Windows 10.0 Build 18362; UI render: default; VCL: win; 
Locale: de-DE (en_US); UI-Language: en-US
Calc: threaded
Comment 6 Stéphane Guillou (stragu) 2021-05-18 13:21:44 UTC
Reproducible in LO 7.2 alpha0+: "Export > XHTML" shows all levels, whereas "Save as > HTML" shows only 1 level.

Version: 7.2.0.0.alpha0+ / LibreOffice Community
Build ID: 6b09276d157abada74e1a4989700139167207778
CPU threads: 8; OS: Linux 4.15; UI render: default; VCL: gtk3
Locale: en-AU (en_AU.UTF-8); UI: en-US
TinderBox: Linux-rpm_deb-x86_64@86-TDF, Branch:master, Time: 2021-05-14_04:32:30
Calc: threaded
Comment 7 Stéphane Guillou (stragu) 2021-06-24 13:58:21 UTC
*** Bug 132190 has been marked as a duplicate of this bug. ***
Comment 8 QA Administrators 2023-06-25 03:13:21 UTC Comment hidden (obsolete)
Comment 9 Regina Henschel 2023-06-25 10:25:34 UTC
The problem still exists in Version: 24.2.0.0.alpha0+ (X86_64) / LibreOffice Community
Build ID: d4ee93a54e790acab470667591d61d424831e665
CPU threads: 8; OS: Windows 10.0 Build 19045; UI render: Skia/Raster; VCL: win
Locale: de-DE (en_US); UI: en-US
Calc: CL threaded