https://bugs.documentfoundation.org/show_bug.cgi?id=167490
Bug ID: 167490
Summary: PDF export: extend PDFViewSelection parameter with
value to remove external links
Product: LibreOffice
Version: 26.2.0.0 alpha0+ master
Hardware: All
OS: All
Status: UNCONFIRMED
Severity: enhancement
Priority: medium
Component: Printing and PDF export
Assignee: [email protected]
Reporter: [email protected]
Description:
In PDFWriter, we currently already have a parameter (called PDFViewSelection in
the cli, DefaultLinkAction in the code) that can be used to configure how
hyperlinks to locations outside the document should be emitted.
I would like to extend it with an option to tell it to NOT emit pdf link
annotations at all for external links, effectively removing all external links
from the document.
Actual Results:
Current available CLI options for PDF generation (
https://help.libreoffice.org/latest/en-US/text/shared/guide/pdf_params.html?&DbPAR=SHARED&System=MAC#links
):
PDFViewSelection
Specifies the way the exported PDF will be viewed (experienced) by the user.
Possible values are:
0: Specifies that the PDF will be exported with all the links external to the
document treated as URI. This is the Default
1: Specifies that the PDF will be exported in order to be viewed through a PDF
reader application only. Valid only if not exporting to PDF/A-1 (e.g.
SelectPdfVersion not set to 1).
2: Specifies that the PDF will be exported in order to be viewed through an
Internet browser, using the PDF plug-in provided with it. The bookmark of the
URI will be rendered compatible with the target bookmark generated with
LibreOffice PDF Export feature (see ExportBookmarksToPDFDestination).
Expected Results:
Would like to change the available options to:
PDFViewSelection
Specifies the way the exported PDF will be viewed (experienced) by the user.
Possible values are:
0: Specifies that the PDF will be exported with all the links external to the
document treated as URI. This is the Default
1: Specifies that the PDF will be exported in order to be viewed through a PDF
reader application only. Valid only if not exporting to PDF/A-1 (e.g.
SelectPdfVersion not set to 1).
2: Specifies that the PDF will be exported in order to be viewed through an
Internet browser, using the PDF plug-in provided with it. The bookmark of the
URI will be rendered compatible with the target bookmark generated with
LibreOffice PDF Export feature (see ExportBookmarksToPDFDestination).
3: Specifies that the PDF will be exported without links external to the
document.
Reproducible: Always
User Profile Reset: No
Additional Info:
-
--
You are receiving this mail because:
You are the assignee for the bug.