1 /**************************************************************
2  *
3  * Licensed to the Apache Software Foundation (ASF) under one
4  * or more contributor license agreements.  See the NOTICE file
5  * distributed with this work for additional information
6  * regarding copyright ownership.  The ASF licenses this file
7  * to you under the Apache License, Version 2.0 (the
8  * "License"); you may not use this file except in compliance
9  * with the License.  You may obtain a copy of the License at
10  *
11  *   http://www.apache.org/licenses/LICENSE-2.0
12  *
13  * Unless required by applicable law or agreed to in writing,
14  * software distributed under the License is distributed on an
15  * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
16  * KIND, either express or implied.  See the License for the
17  * specific language governing permissions and limitations
18  * under the License.
19  *
20  *************************************************************/
21 
22 
23 
24 #ifndef IMPSWFDIALOG_HXX
25 #define IMPSWFDIALOG_HXX
26 
27 #include <com/sun/star/uno/Sequence.h>
28 #include <com/sun/star/beans/PropertyValue.hpp>
29 #include <svtools/stdctrl.hxx>
30 
31 #include <vcl/dialog.hxx>
32 #include <vcl/button.hxx>
33 #include <vcl/fixed.hxx>
34 #include <vcl/field.hxx>
35 
36 #include <svtools/FilterConfigItem.hxx>
37 
38 // ----------------
39 // - ImpSWFDialog -
40 // ----------------
41 
42 class ResMgr;
43 class Window;
44 
45 class ImpSWFDialog : public ModalDialog
46 {
47 private:
48 	FixedInfo			maFiDescr;
49 	NumericField		maNumFldQuality;
50 	FixedInfo			maFiExportAllDescr;
51 	CheckBox			maCheckExportAll;
52 	FixedInfo			maFiExportBackgroundsDescr;
53 	CheckBox			maCheckExportBackgrounds;
54 	FixedInfo			maFiExportBackgroundObjectsDescr;
55 	CheckBox			maCheckExportBackgroundObjects;
56 	FixedInfo			maFiExportSlideContentsDescr;
57 	CheckBox			maCheckExportSlideContents;
58 	FixedInfo			maFiExportSoundDescr;
59 	CheckBox			maCheckExportSound;
60 	FixedInfo			maFiExportOLEAsJPEGDescr;
61 	CheckBox			maCheckExportOLEAsJPEG;
62 	FixedInfo			maFiExportMultipleFilesDescr;
63 	CheckBox			maCheckExportMultipleFiles;
64 
65 	OKButton			maBtnOK;
66 	CancelButton		maBtnCancel;
67 	HelpButton			maBtnHelp;
68 
69     FilterConfigItem	maConfigItem;
70 
71 	DECL_LINK( OnToggleCheckbox, CheckBox* );
72 
73 public:
74 	ImpSWFDialog( Window* pParent, ResMgr& rResMgr,
75 				  com::sun::star::uno::Sequence< com::sun::star::beans::PropertyValue >& rFilterData );
76 	~ImpSWFDialog();
77 
78     com::sun::star::uno::Sequence< com::sun::star::beans::PropertyValue > GetFilterData();
79 };
80 
81 #endif // IMPDIALOG_HXX
82