merge the formfield patch from ooo-build
[ooovba.git] / filter / source / flash / impswfdialog.hxx
blob8d2ab9e938103c8d5decd7f9b53fc8b78dcc3cb0
1 /*************************************************************************
3 * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
4 *
5 * Copyright 2008 by Sun Microsystems, Inc.
7 * OpenOffice.org - a multi-platform office productivity suite
9 * $RCSfile: impswfdialog.hxx,v $
10 * $Revision: 1.4 $
12 * This file is part of OpenOffice.org.
14 * OpenOffice.org is free software: you can redistribute it and/or modify
15 * it under the terms of the GNU Lesser General Public License version 3
16 * only, as published by the Free Software Foundation.
18 * OpenOffice.org is distributed in the hope that it will be useful,
19 * but WITHOUT ANY WARRANTY; without even the implied warranty of
20 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
21 * GNU Lesser General Public License version 3 for more details
22 * (a copy is included in the LICENSE file that accompanied this code).
24 * You should have received a copy of the GNU Lesser General Public License
25 * version 3 along with OpenOffice.org. If not, see
26 * <http://www.openoffice.org/license.html>
27 * for a copy of the LGPLv3 License.
29 ************************************************************************/
31 #ifndef IMPSWFDIALOG_HXX
32 #define IMPSWFDIALOG_HXX
34 #include <com/sun/star/uno/Sequence.h>
35 #include <com/sun/star/beans/PropertyValue.hpp>
36 #include <svtools/stdctrl.hxx>
38 #include <vcl/dialog.hxx>
39 #include <vcl/button.hxx>
40 #include <vcl/fixed.hxx>
41 #include <vcl/field.hxx>
43 #include <svtools/FilterConfigItem.hxx>
45 // ----------------
46 // - ImpSWFDialog -
47 // ----------------
49 class ResMgr;
50 class Window;
52 class ImpSWFDialog : public ModalDialog
54 private:
55 FixedInfo maFiDescr;
56 NumericField maNumFldQuality;
57 FixedInfo maFiExportAllDescr;
58 CheckBox maCheckExportAll;
59 FixedInfo maFiExportBackgroundsDescr;
60 CheckBox maCheckExportBackgrounds;
61 FixedInfo maFiExportBackgroundObjectsDescr;
62 CheckBox maCheckExportBackgroundObjects;
63 FixedInfo maFiExportSlideContentsDescr;
64 CheckBox maCheckExportSlideContents;
65 FixedInfo maFiExportSoundDescr;
66 CheckBox maCheckExportSound;
67 FixedInfo maFiExportOLEAsJPEGDescr;
68 CheckBox maCheckExportOLEAsJPEG;
69 FixedInfo maFiExportMultipleFilesDescr;
70 CheckBox maCheckExportMultipleFiles;
72 OKButton maBtnOK;
73 CancelButton maBtnCancel;
74 HelpButton maBtnHelp;
76 FilterConfigItem maConfigItem;
78 DECL_LINK( OnToggleCheckbox, CheckBox* );
80 public:
81 ImpSWFDialog( Window* pParent, ResMgr& rResMgr,
82 com::sun::star::uno::Sequence< com::sun::star::beans::PropertyValue >& rFilterData );
83 ~ImpSWFDialog();
85 com::sun::star::uno::Sequence< com::sun::star::beans::PropertyValue > GetFilterData();
88 #endif // IMPDIALOG_HXX