From 7ed3ab4fd497ffa20359cdc73201e18508fcad54 Mon Sep 17 00:00:00 2001 From: Samuel Mehrbrodt Date: Wed, 25 Nov 2020 16:22:11 +0100 Subject: Add 'SinglePrintJobs' to PrintOptions So that this option can be set via UNO API Change-Id: I0b69162661a4327d59aaed82d5eff98cb50d852c Reviewed-on: https://gerrit.libreoffice.org/c/core/+/106593 Tested-by: Jenkins Reviewed-by: Samuel Mehrbrodt (cherry picked from commit 2e2c162b7a816d990415fca434e6d3d5600b2858) Reviewed-on: https://gerrit.libreoffice.org/c/core/+/106677 Reviewed-by: Thorsten Behrens --- include/vcl/print.hxx | 3 +++ 1 file changed, 3 insertions(+) (limited to 'include') diff --git a/include/vcl/print.hxx b/include/vcl/print.hxx index 6d3adf0e00d7..631b2f5b83fe 100644 --- a/include/vcl/print.hxx +++ b/include/vcl/print.hxx @@ -168,6 +168,7 @@ private: bool mbPrintFile; bool mbInPrintPage; bool mbNewJobSetup; + bool mbSinglePrintJobs; VCL_DLLPRIVATE void ImplInitData(); VCL_DLLPRIVATE void ImplInit( SalPrinterQueueInfo* pInfo ); @@ -316,6 +317,8 @@ public: void SetCopyCount( sal_uInt16 nCopy, bool bCollate ); sal_uInt16 GetCopyCount() const { return mnCopyCount; } bool IsCollateCopy() const { return mbCollateCopy; } + void SetSinglePrintJobs(bool bSinglePrintJobs) { mbSinglePrintJobs = bSinglePrintJobs; } + bool IsSinglePrintJobs() const { return mbSinglePrintJobs; } bool IsPrinting() const { return mbPrinting; } -- cgit v1.2.3