[Libreoffice-bugs] [Bug 107696] New: Export to XHTML incorrectly exports Heading style numbers

bugzilla-daemon at bugs.documentfoundation.org bugzilla-daemon at bugs.documentfoundation.org
Mon May 8 07:18:50 UTC 2017


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

            Bug ID: 107696
           Summary: Export to XHTML incorrectly exports Heading style
                    numbers
           Product: LibreOffice
           Version: 5.3.2.2 release
          Hardware: All
                OS: All
            Status: UNCONFIRMED
          Severity: normal
          Priority: medium
         Component: Writer
          Assignee: libreoffice-bugs at lists.freedesktop.org
          Reporter: grofaty at hotmail.com

Created attachment 133151
  --> https://bugs.documentfoundation.org/attachment.cgi?id=133151&action=edit
LibreOffice_screencast_of_export_to_XHTML_heading_style_numbering_problem.gif

Hi,
using the following LibreOffice on Windows 7:
======================
Version: 5.3.2.2
Build ID: 6cd4f1ef626f15116896b1d8e1398b56da0d0ee1
CPU Threads: 3; OS Version: Windows 6.1; UI Render: default; Layout Engine:
new; 
Locale: sl-SI (sl_SI); Calc: group
======================

1. I renamed profile to make sure this is not my environment special problem
related to profile.
2. I created two lines of text and both of them created with "Heading 1" style.
3. Created Insert | Page Break (probably cause of the problem).
4. Created Table of Content.
5. LibreOffice works fine. First heading is numbered "1 First heading" and
second heading is correctly numbered "2 Second headign". Now export content of
LibreOffice Writer document to XHTML.
6. Now look into browser and there is correct numbering for "1 First heading",
but wrong numbering with "3 Second heading".
7. If going back to LibreOffice we can see under the Table of Content it is new
line with "Heading 1" style that has zero effect in LibreOffice document, but
when exported to XHTML then it has effect on numbering.
8. Changing this dummy line style from "Heading 1" style to "Default" style and
re-exporting the file and problem is fixed.

It looks like export to XHTML has some bug when exporting.

I have recorded the screencast (gif file video). Open the file in gif viewer
like web browser to see the screencast. If you will open file in Firefox I
suggest to press F11 to display browser in full screen mode.

ADDITIONAL TEST (not seen on screencast) - EXPORT TO PDF
1. Set in dummy line style back to "Heading 1".
2. Export to PDF and numbering of "2 Second heading" is correct.
This indicate that source of the problem may be the XHTML export.

Thanks

-- 
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/20170508/e8f80d87/attachment.html>


More information about the Libreoffice-bugs mailing list