diff options
author | Caolán McNamara <caolanm@redhat.com> | 2013-05-20 11:00:19 +0100 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2013-05-20 11:26:20 +0100 |
commit | f937ef20f57b306191f7583c2d47b5ad3f2a73ee (patch) | |
tree | 47d03b0c855130b22aed1b44b19307ad0310e249 /vcl/uiconfig/ui | |
parent | 62a68bbbe0acea471a04a702ca1372495fc7a2fb (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 'vcl/uiconfig/ui')
-rw-r--r-- | vcl/uiconfig/ui/printdialog.ui | 20 |
1 files changed, 18 insertions, 2 deletions
diff --git a/vcl/uiconfig/ui/printdialog.ui b/vcl/uiconfig/ui/printdialog.ui index a0d9453dd232..2aa464b88d6c 100644 --- a/vcl/uiconfig/ui/printdialog.ui +++ b/vcl/uiconfig/ui/printdialog.ui @@ -1,6 +1,7 @@ <?xml version="1.0" encoding="UTF-8"?> <interface> <!-- interface-requires gtk+ 3.0 --> + <!-- interface-requires LibreOffice 1.0 --> <object class="GtkAdjustment" id="adjustment1"> <property name="lower">1</property> <property name="upper">16384</property> @@ -1128,8 +1129,6 @@ <object class="vcllo-ShowNupOrderWindow" id="orderpreview"> <property name="visible">True</property> <property name="can_focus">False</property> - <property name="hexpand">False</property> - <property name="vexpand">False</property> <property name="halign">center</property> <property name="valign">start</property> </object> @@ -1464,6 +1463,23 @@ <property name="height">1</property> </packing> </child> + <child> + <object class="GtkCheckButton" id="papersizefromsetup"> + <property name="label" translatable="yes">Use only paper size from printer preferences</property> + <property name="visible">True</property> + <property name="can_focus">True</property> + <property name="receives_default">False</property> + <property name="no_show_all">True</property> + <property name="xalign">0</property> + <property name="draw_indicator">True</property> + </object> + <packing> + <property name="left_attach">0</property> + <property name="top_attach">3</property> + <property name="width">1</property> + <property name="height">1</property> + </packing> + </child> </object> </child> </object> |