Bug 157780 - Calc: Web hyperlinks not preserved after export to PDF when using Whole Sheet Export
Summary: Calc: Web hyperlinks not preserved after export to PDF when using Whole Sheet...
Status: NEW
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: Calc (show other bugs)
Version:
(earliest affected)
6.4.0.3 release
Hardware: All All
: medium normal
Assignee: Not Assigned
URL: https://ask.libreoffice.org/t/web-hyp...
Whiteboard:
Keywords: filter:pdf, implementationError
Depends on:
Blocks: PDF-Export Hyperlink-Calc
  Show dependency treegraph
 
Reported: 2023-10-14 20:21 UTC by FranDries
Modified: 2024-08-24 14:26 UTC (History)
5 users (show)

See Also:
Crash report or crash signature:


Attachments
Sample Calc file with web hyperlink. (8.97 KB, application/vnd.oasis.opendocument.spreadsheet)
2023-10-14 20:21 UTC, FranDries
Details
Exported PDF file with invalid web hyperlink (18.26 KB, application/pdf)
2023-10-14 20:25 UTC, FranDries
Details

Note You need to log in before you can comment on or make changes to this bug.
Description FranDries 2023-10-14 20:21:46 UTC
Created attachment 190217 [details]
Sample Calc file with web hyperlink.

In Calc I have a web hyperlink with URL 'www.uba.be' ; after Export as PDF ... the hyperlink changes to something like ‘file:///C:/…’. This happens only when PDF Option 'Whole sheet export' is selected. Wehen this option is not selected, then the hyperlinks are OK in the PDF file.
Detected release: Win 11 LO Calc 7.6.2.1, but the problem was already there in version 6.4 wher 'Whole Sheet Export' was introduced.
See sample Calc file 'Whole_sheet_export.ods' and exported PDF 'Whole_sheet_export.pdf'.
Comment 1 FranDries 2023-10-14 20:25:57 UTC
Created attachment 190218 [details]
Exported PDF file with invalid web hyperlink
Comment 2 m_a_riosv 2023-10-14 23:34:21 UTC
The issue is when in the options to export as PDF, on the first tab Export whole sheet is enabled.

There is another bug about 'Whole sheet export' tdf#155351, maybe the same root.

Please don't put as new your own report, someone else must do it after confirm.
Comment 3 FranDries 2023-10-15 03:39:25 UTC
I looked at tdf#155351 describing formatting issues after Export to PDF, but this seems unrelated to the current very specific issue of invalid web hyperlinks. This issue was first discussed in Ask: 'https://ask.libreoffice.org/t/web-hyperlinks-not-preserved-after-export-to-pdf/96762?u=frandries' and determined there was not a matching report yet.
Comment 4 raal 2023-10-15 18:07:41 UTC
Confirm with Version: 24.2.0.0.alpha0+ (X86_64) / LibreOffice Community
Build ID: 9f44f9fad759dea644356b67b9cd0fab030e8b77
CPU threads: 4; OS: Linux 6.2; UI render: default; VCL: gtk3
Locale: cs-CZ (cs_CZ.UTF-8); UI: en-US
Calc: threaded

and Version: 6.4.0.0.alpha1+
Build ID: 9bc848cf0d301aa57eabcffa101a1cf87bad6470

In my test the link is missing.

Feature Whole sheet export was added in 6.4: https://wiki.documentfoundation.org/ReleaseNotes/6.4#Whole_sheet_export
Comment 5 BogdanB 2024-08-24 14:26:01 UTC
I can not reproduce on Linux, maybe just a Windows bug?

Version: 24.8.0.3 (X86_64) / LibreOffice Community
Build ID: 0bdf1299c94fe897b119f97f3c613e9dca6be583
CPU threads: 4; OS: Linux 6.8; UI render: default; VCL: gtk3
Locale: ro-RO (ro_RO.UTF-8); UI: en-US
Calc: threaded