Apache OpenOffice (AOO) Bugzilla – Issue 49415
PDF saved without relative URLs
Last modified: 2017-05-20 10:27:56 UTC
When exporting PDF, the resulting links are not relative, but absolute. This is problematic when making documents with links to other pdfs and trying to distribute on CD.
Should use relative links if selected in Tools-Options-Load/Save-General.
Reassigned to HI.
Issue type changed from defect to enhancement.
I also would prefer a possibility to leave hyperlinks relative in exported PDF-files, but I think a solution as per "Additional comments from timcastle Tue May 17 12:49:23 -0700 2005" would be dangerous. Reason: Export can be to any place on any harddisk on the PC or even somewhere in a Network, but relatiev links as they were in the original OOo document can only work, if the export will lead to the folder of the original OOo document. So I think it would be better to have a checkbox directly in the "PDF Options" box for the export: "export to folder of original document and leave relative hyperlinks relative.
Changed Component, because not only interesting for Writer
CC to myself
I think that this issue is somehow similar to issue 56629. Can the reporter confirm ?
No, the issue I had was with other pdf files not opening unlike 56629 which refers to text files.
-> timcastle. Thanks for answering. On issue 56629, desc9; I added an attachement and on the following comment I provided a brief description. In that attachement there is a PDF file obtained from OOo through a Java application, inside there the PDFs are relatively linked. I wrote the Java application to obtain a CD-romable series of document. It seems that the linked PDF (be it generated by OOo or an already existent PDF) described here are a subset of what I proposed there on issue 56629. Could you have a look there if you can spare some time ? I'd like to have a clear idea, it's something that I'd like to implement in OOo. Thanks.
*** Issue 76581 has been marked as a duplicate of this issue. ***
I think that the current 2.4 snapshot should fix this. Can someone have a look? Or adjust the summary if it's the case.
I checked with "2.4 RC2 Multilingual German version WIN XP: [680m8(Build9276)]" and indeed I see that links will be exported relative, if the correspondent checkbox in the PDF export dialogue has been checked. I tested with WRITER, DRAW and also CALC. A link to a file in a subfolder also will work in the pdf Folder after the name of the folder containing exported PDF and subfolders has been changed.