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

            Bug ID: 160912
           Summary: Export an *.odt document towards a *.pdf file
                    (source), containing at least one relative hyperlink \
                    URL pointing to another *.pdf file (target)
           Product: LibreOffice
           Version: 7.6.6.3 release
          Hardware: x86-64 (AMD64)
                OS: Windows (All)
            Status: UNCONFIRMED
          Severity: normal
          Priority: medium
         Component: Printing and PDF export
          Assignee: libreoffice-bugs@lists.freedesktop.org
          Reporter: eric.mou...@laposte.net

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 .

-- 
You are receiving this mail because:
You are the assignee for the bug.

Reply via email to