diff options
author | Caolán McNamara <caolanm@redhat.com> | 2012-11-30 14:04:12 +0000 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2012-11-30 14:10:07 +0000 |
commit | 08597f2897e5ac752147c8f2c4a91bb557ed4580 (patch) | |
tree | 6683adaa350a63f8608fdde7137ab74f8974005a /vcl | |
parent | 13436397d2494505d68d8dacc98d2c49ba4f3b36 (diff) |
Related: fdo#44664 spadmin support for forcing "postscript of driver level"
pdf of 0 and ps of 0 == automatically pick pdf if pdf is default backend.
Which means that spadmin wasn't able to disable pdf if one selected
"postscript of driver leve", though picking an explicit postscript level
would work.
So we need to tweak things to use the pdf flag to be either automatic,
explicitly pdf or explicitly ps
Change-Id: Ic5382a3eb9cbcff39d363723825e75851d73520e
Diffstat (limited to 'vcl')
-rw-r--r-- | vcl/inc/vcl/jobdata.hxx | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/vcl/inc/vcl/jobdata.hxx b/vcl/inc/vcl/jobdata.hxx index 5485e018ec15..577e0fadb6a7 100644 --- a/vcl/inc/vcl/jobdata.hxx +++ b/vcl/inc/vcl/jobdata.hxx @@ -40,9 +40,9 @@ struct VCL_DLLPUBLIC JobData int m_nBottomMarginAdjust; // user overrides for PPD int m_nColorDepth; - int m_nPSLevel; // 0: no override, else languaglevel to use + int m_nPSLevel; // 0: no override, else languagelevel to use int m_nColorDevice; // 0: no override, -1 grey scale, +1 color - int m_nPDFDevice; // 0: PostScript, 1: PDF + int m_nPDFDevice; // 0: no override, -1 PostScript, +1: Automatically PDF, +2: Explicitly PDF orientation::type m_eOrientation; ::rtl::OUString m_aPrinterName; const PPDParser* m_pParser; |