diff options
author | Samuel Mehrbrodt <samuel.mehrbrodt@allotropia.de> | 2022-11-24 15:19:17 +0100 |
---|---|---|
committer | Samuel Mehrbrodt <samuel.mehrbrodt@allotropia.de> | 2022-11-28 11:24:57 +0100 |
commit | 19e3bab1a8def52d9a60f67bd87697e828e37773 (patch) | |
tree | 80269931c3edab0ff0df07c5cc22c7c6052fa494 /include/vcl/pdfextoutdevdata.hxx | |
parent | 7765b442e13048f857fd7ee49ced1731caee297e (diff) |
tdf#77650 Add option to place comments in margin (PDF Export)
This was somehow possible already when the document was printed with
comments in margin before - but it was not possible to set this option
when exporting a PDF via dialog or API.
To use this setting via API, set the "ExportNotesInMargin" property.
Change-Id: I97a80c5b3b3b2cde669496fd881a41ea0acc5c28
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/143234
Tested-by: Jenkins
Reviewed-by: Samuel Mehrbrodt <samuel.mehrbrodt@allotropia.de>
Diffstat (limited to 'include/vcl/pdfextoutdevdata.hxx')
-rw-r--r-- | include/vcl/pdfextoutdevdata.hxx | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/include/vcl/pdfextoutdevdata.hxx b/include/vcl/pdfextoutdevdata.hxx index 45cb71682f12..89696ef757b6 100644 --- a/include/vcl/pdfextoutdevdata.hxx +++ b/include/vcl/pdfextoutdevdata.hxx @@ -72,6 +72,7 @@ class VCL_DLLPUBLIC PDFExtOutDevData final : public ExtOutDevData bool mbTaggedPDF; bool mbExportNotes; + bool mbExportNotesInMargin; bool mbExportNotesPages; bool mbTransitionEffects; bool mbUseLosslessCompression; @@ -104,6 +105,9 @@ public: bool GetIsExportNotes() const { return mbExportNotes;} void SetIsExportNotes( const bool bExportNotes ); + bool GetIsExportNotesInMargin() const { return mbExportNotesInMargin;} + void SetIsExportNotesInMargin( const bool bExportNotesInMargin ); + bool GetIsExportNotesPages() const { return mbExportNotesPages;} void SetIsExportNotesPages( const bool bExportNotesPages ); |