Bug 160912 - Export an *.odt document towards a *.pdf file (source), containing at least one relative hyperlink \ URL pointing to another *.pdf file (target)
Summary: Export an *.odt document towards a *.pdf file (source), containing at least o...
Status: UNCONFIRMED
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: Printing and PDF export (show other bugs)
Version:
(earliest affected)
7.6.6.3 release
Hardware: x86-64 (AMD64) Windows (All)
: medium normal
Assignee: Not Assigned
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2024-05-02 14:57 UTC by devEric69
Modified: 2024-05-03 07:58 UTC (History)
0 users

See Also:
Crash report or crash signature:


Attachments
The dialog boxes for my test case (78.14 KB, application/x-7z-compressed)
2024-05-02 15:11 UTC, devEric69
Details

Note You need to log in before you can comment on or make changes to this bug.
Description devEric69 2024-05-02 14:57:45 UTC
Description:
Hello,

To Summarize: can LibreOffice export an *.odt document (origin ) towards a generated pdf file (source displayed in an internet navigator page), file in which we could have relative hyperlinks \ relative URLs, leading towards other targeted pdfs files (to be displayed in a _top, _blank, ..., internet navigator page), all *.pdf (source and its targets) being in obviously placed in the same partition (in my case: "C:\documents\*")?

Regards.

Steps to Reproduce:


(bug tested with LibreOffice version 6.0.7.3. and version 7.6.6.3., French language resource selected) I've a problem with the menu "Fichier \ Exporter vers... \ Exporter au format pdf" function:
1. settings: my LibreOffice Writer software is supposed to know how to work, as far as it can, with relative access paths on the hard disk and internet URLs, thanks to the "Outils \ Options... \ Chargement/enregistrement \ Générale" settings, like this: checkboxes "Enregistrer en relatif les URL sur le système de fichier" checked and "Enregistrer en relatif les URL sur Internet" checked.
2. I want to create a pdf document, generated from an *.odt file using LibreOffice Writer and its pdf export; The said *.odt source file is called `GenesePdf.odt`. In this file, I've created a simple Internet hyperlink (protocol = Web), pointing to `./le_fichier_a_lier.pdf` (← I've tested with `le_fichier_a_lier.pdf` relative URL too, in the edit-box called "URL" in the modal dialog box called "Hyperlien"), which has the following characteristics.
3.Then, I export this `GenesePdf.odt` document (via "Fichier \ Exporter vers... \ Exporter au format pdf") with this context: in the "Lien" tab of this same "Options PDF" dialog box, only the "Exporter les URL relatif au système de fichier" checkbox is checked, and the "Mode par défaut" radio button is selected for the "Liens entre documents" group box.


Actual Results:
➔ the pdf file created doesn't contain any valid hyperlink (i.e. no functional hyperlink created towards the file named `le_fichier_a_lier.pdf`: just a blue and underlined inert text). Hence my bug report.

Expected Results:
A generated *.pdf file (source) having functional hyperlink leading towards other relative URLed *.pdf files (targets). Relative relative URLed, so that we can move these files from one device to another : NAS towards Internet, towards USB key, etc..., and the source pdf file will continue to display its targeted pdf files.


Reproducible: Always


User Profile Reset: No

Additional Info:
Example of the description of such afunctionality I'm trying to get to work, without success: https://www.oooninja.com/2008/02/create-relative-links-in-pdfs.html .
Comment 1 devEric69 2024-05-02 15:06:36 UTC
I've also tested this feature with OpenOffice 4.1.15: it didn't work either (no valid hyperlink in the generated pdf export).
Comment 2 devEric69 2024-05-02 15:11:30 UTC
Created attachment 193941 [details]
The dialog boxes for my test case
Comment 3 devEric69 2024-05-03 07:58:12 UTC
A discussion thread (in french), about this anomaly: https://forum.openoffice.org/fr/forum/viewtopic.php?t=68683 .