From 3d8b7fd32b63370919b6d215be0af6fba6eb4ca4 Mon Sep 17 00:00:00 2001 From: Khaled Hosny Date: Wed, 26 Jul 2023 12:36:33 +0000 Subject: tdf#156230: Deprecate and stop using PDFAsStandardPrintJobFormat MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit PDF is the only supported printing format (on Unix) going forward. Change-Id: I1bd442bac370b89a77e2035d4c17bfc43a869ab1 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/154974 Tested-by: Jenkins Reviewed-by: خالد حسني --- svtools/source/config/printoptions.cxx | 6 ------ 1 file changed, 6 deletions(-) (limited to 'svtools') diff --git a/svtools/source/config/printoptions.cxx b/svtools/source/config/printoptions.cxx index ca9484356dc1..3f6293813a09 100644 --- a/svtools/source/config/printoptions.cxx +++ b/svtools/source/config/printoptions.cxx @@ -52,7 +52,6 @@ void GetPrinterOptions( vcl::printer::Options& rOptions, bool bFile ) rOptions.SetReducedBitmapIncludesTransparency( officecfg::Office::Common::Print::Option::File::ReducedBitmapIncludesTransparency::get() ); rOptions.SetConvertToGreyscales( officecfg::Office::Common::Print::Option::File::ConvertToGreyscales::get() ); - rOptions.SetPDFAsStandardPrintJobFormat( officecfg::Office::Common::Print::Option::File::PDFAsStandardPrintJobFormat::get() ); } else { @@ -71,7 +70,6 @@ void GetPrinterOptions( vcl::printer::Options& rOptions, bool bFile ) rOptions.SetReducedBitmapIncludesTransparency( officecfg::Office::Common::Print::Option::Printer::ReducedBitmapIncludesTransparency::get() ); rOptions.SetConvertToGreyscales( officecfg::Office::Common::Print::Option::Printer::ConvertToGreyscales::get() ); - rOptions.SetPDFAsStandardPrintJobFormat( officecfg::Office::Common::Print::Option::Printer::PDFAsStandardPrintJobFormat::get() ); } } @@ -98,8 +96,6 @@ void SetPrinterOptions( const vcl::printer::Options& rOptions, bool bFile ) rOptions.IsReducedBitmapIncludesTransparency(), batch ); officecfg::Office::Common::Print::Option::File::ConvertToGreyscales::set( rOptions.IsConvertToGreyscales(), batch ); - officecfg::Office::Common::Print::Option::File::PDFAsStandardPrintJobFormat::set( - rOptions.IsPDFAsStandardPrintJobFormat(), batch ); const sal_uInt16 nDPI = rOptions.GetReducedBitmapResolution(); @@ -138,8 +134,6 @@ void SetPrinterOptions( const vcl::printer::Options& rOptions, bool bFile ) rOptions.IsReducedBitmapIncludesTransparency(), batch ); officecfg::Office::Common::Print::Option::Printer::ConvertToGreyscales::set( rOptions.IsConvertToGreyscales(), batch ); - officecfg::Office::Common::Print::Option::Printer::PDFAsStandardPrintJobFormat::set( - rOptions.IsPDFAsStandardPrintJobFormat(), batch ); const sal_uInt16 nDPI = rOptions.GetReducedBitmapResolution(); -- cgit