https://bugs.documentfoundation.org/show_bug.cgi?id=166785
Bug ID: 166785
Summary: Incorrect reference hyperlink behavior when exporting
DOCX to PDF — references to bookmarks display internal
clause IDs (e.g., "1.1(2)") instead of expected
visible titles (e.g., "Schedule 4").
Product: LibreOffice
Version: 5.0.1.2 release
Hardware: All
OS: All
Status: UNCONFIRMED
Severity: normal
Priority: medium
Component: LibreOffice
Assignee: [email protected]
Reporter: [email protected]
Description:
When exporting the attached Word document (missingref1.docx) using
LibreOffice, a cross-reference in the text is not preserved as expected.
Specifically, the phrase on page 1 of the original Word document reads:
"...the Business specified in Schedule 4;"
However, after exporting to PDF using LibreOffice, this same line incorrectly
appears as:
"...the Business specified in 1.1(2);"
Additionally, the LibreOffice UI (in editing view) also displays the reference
as “1.1(2)” after the PDF export, suggesting the original cross-reference is
being reinterpreted as a clause ID rather than the heading or title.
This behavior does not occur in Microsoft Word, which preserves the visible
cross-reference text (“Schedule 4”) correctly in both the UI and exported PDF.
Steps to Reproduce:
1.Open missingref1.docx in LibreOffice.
2.Observe the text on page 1:
"...the Business specified in Schedule 4;"
3.Export the file to PDF using File > Export As > Export as PDF....
4.Open the resulting PDF file.
5.Observe the changed text on page 1:
"...the Business specified in 1.1(2);"
6.Return to LibreOffice Writer UI — the same text is now altered in the
document itself.
Actual Results:
Both LibreOffice Writer UI and exported PDF have "...the Business specified in
1.1(2);"
Expected Results:
1.The cross-reference should remain as “Schedule 4” both in the LibreOffice UI
and in the exported PDF.
2.The exported PDF should reflect the visible label of the referenced section
(e.g., a heading or caption), not an internal clause or field code.
Reproducible: Always
User Profile Reset: No
Additional Info:
Found this issue from libreOffice 5.0.1.2 and also can be reproduce in
25.2.4.1.
--
You are receiving this mail because:
You are the assignee for the bug.