diff options
author | Samuel Mehrbrodt <Samuel.Mehrbrodt@cib.de> | 2020-11-25 16:22:11 +0100 |
---|---|---|
committer | Vasily Melenchuk <vasily.melenchuk@cib.de> | 2020-12-07 13:00:24 +0300 |
commit | 97548c6bcb60b12110242fe99eec2bcacb60933d (patch) | |
tree | c0abfd4196634b6640a72cb0ce99c7a455e8b4e1 /include | |
parent | 728f04ada4757879e2e7fa9177b7ca85f90708fe (diff) |
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 <Samuel.Mehrbrodt@cib.de>
Diffstat (limited to 'include')
-rw-r--r-- | include/vcl/print.hxx | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/include/vcl/print.hxx b/include/vcl/print.hxx index 154ee694bd83..fbdf9c9e19cb 100644 --- a/include/vcl/print.hxx +++ b/include/vcl/print.hxx @@ -198,6 +198,7 @@ private: bool mbPrintFile; bool mbInPrintPage; bool mbNewJobSetup; + bool mbSinglePrintJobs; VCL_DLLPRIVATE void ImplInitData(); VCL_DLLPRIVATE void ImplInit( SalPrinterQueueInfo* pInfo ); @@ -335,6 +336,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; } |