summaryrefslogtreecommitdiff
path: root/vcl/inc/vcl/prndlg.hxx
diff options
context:
space:
mode:
authorPhilipp Lohmann <pl@openoffice.org>2009-07-22 17:16:34 +0000
committerPhilipp Lohmann <pl@openoffice.org>2009-07-22 17:16:34 +0000
commitf3f952731fa35c7618d9c929ccb0773ad841fbf2 (patch)
tree2a614d867585a7a373085509982ee3653cc964f1 /vcl/inc/vcl/prndlg.hxx
parente1ede83e9d1d354bbf454fb76ae95084f681c1e6 (diff)
#i92516# adapt to new UI spec
Diffstat (limited to 'vcl/inc/vcl/prndlg.hxx')
-rw-r--r--vcl/inc/vcl/prndlg.hxx51
1 files changed, 35 insertions, 16 deletions
diff --git a/vcl/inc/vcl/prndlg.hxx b/vcl/inc/vcl/prndlg.hxx
index 1208c8890b1d..5577592bc775 100644
--- a/vcl/inc/vcl/prndlg.hxx
+++ b/vcl/inc/vcl/prndlg.hxx
@@ -53,16 +53,6 @@ namespace vcl
{
class PrintDialog : public ModalDialog
{
- class PrinterListBox : public ListBox
- {
- public:
- PrinterListBox( Window* i_pParent, const ResId& i_rId )
- : ListBox( i_pParent, i_rId )
- {}
- virtual ~PrinterListBox() {}
- virtual void RequestHelp( const HelpEvent& i_rHEvt );
- };
-
class PrintPreviewWindow : public Window
{
GDIMetaFile maMtf;
@@ -121,11 +111,19 @@ namespace vcl
class JobTabPage : public TabPage
{
public:
- PrinterListBox maPrinters;
+ FixedLine maPrinterFL;
+ ListBox maPrinters;
+ FixedText maStatusLabel;
+ FixedText maStatusTxt;
+ FixedText maLocationLabel;
+ FixedText maLocationTxt;
+ FixedText maCommentLabel;
+ FixedText maCommentTxt;
+
PushButton maSetupButton;
- CheckBox maToFileBox;
FixedLine maCopies;
+ FixedLine maCopySpacer;
FixedText maCopyCount;
NumericField maCopyCountField;
CheckBox maCollateBox;
@@ -138,11 +136,33 @@ namespace vcl
long mnCollateUIMode;
+ vcl::RowOrColumn maLayout;
+ boost::shared_ptr<vcl::RowOrColumn> mxPrintRange;
+
JobTabPage( Window*, const ResId& );
virtual ~JobTabPage();
void readFromSettings();
void storeToSettings();
+
+ virtual void Resize();
+
+ void setupLayout();
+ };
+
+ class OutputOptPage : public TabPage
+ {
+ public:
+ FixedLine maOptionsLine;
+ CheckBox maToFileBox;
+ CheckBox maCollateSingleJobsBox;
+ CheckBox maReverseOrderBox;
+
+ OutputOptPage( Window*, const ResId& );
+ virtual ~OutputOptPage();
+
+ void readFromSettings();
+ void storeToSettings();
};
OKButton maOKButton;
@@ -156,6 +176,7 @@ namespace vcl
TabControl maTabCtrl;
NUpTabPage maNUpPage;
JobTabPage maJobPage;
+ OutputOptPage maOptionsPage;
FixedLine maButtonLine;
@@ -176,10 +197,8 @@ namespace vcl
Size maNupPortraitSize;
Size maNupLandscapeSize;
- rtl::OUString maCommentText;
- rtl::OUString maStatusText;
- rtl::OUString maLocationText;
- rtl::OUString maTypeText;
+ rtl::OUString maPrintToFileText;
+ rtl::OUString maPrintText;
vcl::RowOrColumn maPreviewCtrlRow;
Rectangle maPreviewBackground;