summaryrefslogtreecommitdiff
path: root/vcl
diff options
context:
space:
mode:
authorMuhammet Kara <muhammet.kara@collabora.com>2019-09-23 13:07:49 +0300
committerMuhammet Kara <muhammet.kara@collabora.com>2019-10-11 09:46:54 +0200
commit68dc00e3bfc7a99166196f479f616e9ef222fe8a (patch)
tree2cb4f1b7a4215c4ccd01dd43ee996766efa83b55 /vcl
parent10357bdfc0a254a76681e29e8a412f91738f1dda (diff)
Add 'SinglePageSheets' option to the PDF export dialog
This handles the UI, and carrying the filter option to the pdfexport code. It will be handled in PDFExport class. Change-Id: I92c3f14a4ae38c4ab81f4f9eee63e5f3c864d0a6 Reviewed-on: https://gerrit.libreoffice.org/79397 Reviewed-by: Andras Timar <andras.timar@collabora.com> Tested-by: Andras Timar <andras.timar@collabora.com> Reviewed-on: https://gerrit.libreoffice.org/80634 Tested-by: Jenkins Reviewed-by: Muhammet Kara <muhammet.kara@collabora.com>
Diffstat (limited to 'vcl')
-rw-r--r--vcl/source/gdi/pdfextoutdevdata.cxx5
1 files changed, 5 insertions, 0 deletions
diff --git a/vcl/source/gdi/pdfextoutdevdata.cxx b/vcl/source/gdi/pdfextoutdevdata.cxx
index 1af5c48938b5..b87cee3037c4 100644
--- a/vcl/source/gdi/pdfextoutdevdata.cxx
+++ b/vcl/source/gdi/pdfextoutdevdata.cxx
@@ -523,6 +523,7 @@ PDFExtOutDevData::PDFExtOutDevData( const OutputDevice& rOutDev ) :
mbExportFormFields ( false ),
mbExportBookmarks ( false ),
mbExportHiddenSlides ( false ),
+ mbSinglePageSheets ( false ),
mbExportNDests ( false ),
mnPage ( -1 ),
mnCompressionQuality ( 90 ),
@@ -590,6 +591,10 @@ void PDFExtOutDevData::SetIsExportHiddenSlides( const bool bExportHiddenSlides )
{
mbExportHiddenSlides = bExportHiddenSlides;
}
+void PDFExtOutDevData::SetIsSinglePageSheets( const bool bSinglePageSheets )
+{
+ mbSinglePageSheets = bSinglePageSheets;
+}
void PDFExtOutDevData::SetIsExportNamedDestinations( const bool bExportNDests )
{
mbExportNDests = bExportNDests;