summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorCaolán McNamara <caolanm@redhat.com>2013-05-20 11:00:19 +0100
committerCaolán McNamara <caolanm@redhat.com>2013-05-20 11:26:20 +0100
commitf937ef20f57b306191f7583c2d47b5ad3f2a73ee (patch)
tree47d03b0c855130b22aed1b44b19307ad0310e249 /include
parent62a68bbbe0acea471a04a702ca1372495fc7a2fb (diff)
Related: fdo#61186 add a toggle to override the paper format
We now need a mechanism to instruct the print dialog that we want to force printing to use the printer settings configured paper. Particularly useful for nup printing and brochures scenario 3: forcing printing to use the printer settings paper a file->printer settings->properties->paper set a paper size, ideally something not used in the test doc, e.g. Executive b file->print->page layout and set pages per sheet to 4 the auto selection for paper will be the first paper size in use, i.e. legal c flip to options and toggle "use only paper size from printer preferences" preview should reconfigure as "Executive" Change-Id: Ie224c252c2cb6c9ee21be5c54e470bca1c7eb0bb
Diffstat (limited to 'include')
-rw-r--r--include/vcl/print.hxx2
1 files changed, 2 insertions, 0 deletions
diff --git a/include/vcl/print.hxx b/include/vcl/print.hxx
index f40801e438ff..40997dd25336 100644
--- a/include/vcl/print.hxx
+++ b/include/vcl/print.hxx
@@ -521,6 +521,8 @@ public:
VCL_PLUGIN_PUBLIC void setLastPage( sal_Bool i_bLastPage );
SAL_DLLPRIVATE void setReversePrint( sal_Bool i_bReverse );
SAL_DLLPRIVATE bool getReversePrint() const;
+ SAL_DLLPRIVATE void setPapersizeFromSetup( sal_Bool i_bPapersizeFromSetup );
+ SAL_DLLPRIVATE bool getPapersizeFromSetup() const;
SAL_DLLPRIVATE void pushPropertiesToPrinter();
SAL_DLLPRIVATE void resetPaperToLastConfigured();
VCL_PLUGIN_PUBLIC void setJobState( com::sun::star::view::PrintableState );