summaryrefslogtreecommitdiff
path: root/sd/source/ui/inc/printdialog.hxx
diff options
context:
space:
mode:
authorKurt Zenker <kz@openoffice.org>2008-03-06 15:34:49 +0000
committerKurt Zenker <kz@openoffice.org>2008-03-06 15:34:49 +0000
commit531c3c5ed456133611d328fdbd5a86542cf92eff (patch)
treeba87ec81f2ebd90071055f8d1b5ed42d907c58c1 /sd/source/ui/inc/printdialog.hxx
parent0d97af17eee5271e4069f0837a6030bb602d7759 (diff)
INTEGRATION: CWS impresshandouts01 (1.1.4); FILE ADDED
2008/03/05 13:43:57 cl 1.1.4.2: #i85355# enhanced handout printing 2008/01/18 11:40:13 cl 1.1.4.1: file printdialog.hxx was added on branch cws_dev300_impresshandouts01 on 2008-03-05 13:43:57 +0000
Diffstat (limited to 'sd/source/ui/inc/printdialog.hxx')
-rw-r--r--sd/source/ui/inc/printdialog.hxx69
1 files changed, 69 insertions, 0 deletions
diff --git a/sd/source/ui/inc/printdialog.hxx b/sd/source/ui/inc/printdialog.hxx
new file mode 100644
index 000000000000..36fb7364edd5
--- /dev/null
+++ b/sd/source/ui/inc/printdialog.hxx
@@ -0,0 +1,69 @@
+/*************************************************************************
+ *
+ * OpenOffice.org - a multi-platform office productivity suite
+ *
+ * $RCSfile: printdialog.hxx,v $
+ *
+ * $Revision: 1.2 $
+ *
+ * last change: $Author: kz $ $Date: 2008-03-06 16:34:48 $
+ *
+ * The Contents of this file are made available subject to
+ * the terms of GNU Lesser General Public License Version 2.1.
+ *
+ *
+ * GNU Lesser General Public License Version 2.1
+ * =============================================
+ * Copyright 2005 by Sun Microsystems, Inc.
+ * 901 San Antonio Road, Palo Alto, CA 94303, USA
+ *
+ * This library is free software; you can redistribute it and/or
+ * modify it under the terms of the GNU Lesser General Public
+ * License version 2.1, as published by the Free Software Foundation.
+ *
+ * This library is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+ * Lesser General Public License for more details.
+ *
+ * You should have received a copy of the GNU Lesser General Public
+ * License along with this library; if not, write to the Free Software
+ * Foundation, Inc., 59 Temple Place, Suite 330, Boston,
+ * MA 02111-1307 USA
+ *
+ ************************************************************************/
+#ifndef _SD_PRINTDIALOG_HXX_
+#define _SD_PRINTDIALOG_HXX_
+
+#include <vcl/image.hxx>
+#include <svtools/printdlg.hxx>
+#include <boost/shared_ptr.hpp>
+#include <vector>
+
+class SdOptionsPrintItem;
+
+class SdPrintDialog : public PrintDialog
+{
+ public:
+ static SdPrintDialog* Create( Window* pWindow, bool bImpress );
+ virtual ~SdPrintDialog();
+
+ void Init( const SdOptionsPrintItem* pPrintOpts );
+ bool Fill( SdOptionsPrintItem* pPrintOpts );
+
+private:
+ SdPrintDialog( Window* pWindow, bool bImpress );
+
+ void UpdateStates();
+ void LoadPreviewImages();
+
+ DECL_LINK( UpdateStatesHdl, void* );
+
+ std::vector< boost::shared_ptr< Control > > mpControls;
+ std::vector< boost::shared_ptr< Image > > mpPreviews;
+ std::vector< boost::shared_ptr< Image > > mpPreviewsHC;
+ bool mbImpress;
+};
+
+#endif // _SD_PRINTDIALOG_HXX_
+