xref: /aoo41x/main/cui/source/options/opthtml.hxx (revision c4eee24d)
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 #ifndef _OFA_OPTHTML_HXX
24 #define _OFA_OPTHTML_HXX
25 
26 #include <vcl/button.hxx>
27 #include <vcl/field.hxx>
28 #include <vcl/fixed.hxx>
29 #include <vcl/lstbox.hxx>
30 #include <vcl/group.hxx>
31 #include <sfx2/tabdlg.hxx>
32 #include <svx/txencbox.hxx>
33 
34 class OfaHtmlTabPage : public SfxTabPage
35 {
36     FixedLine       aFontSizeGB;
37 	FixedText		aSize1FT;
38 	NumericField    aSize1NF;
39 	FixedText		aSize2FT;
40 	NumericField    aSize2NF;
41 	FixedText		aSize3FT;
42 	NumericField    aSize3NF;
43 	FixedText		aSize4FT;
44 	NumericField    aSize4NF;
45 	FixedText		aSize5FT;
46 	NumericField    aSize5NF;
47 	FixedText		aSize6FT;
48 	NumericField    aSize6NF;
49 	FixedText		aSize7FT;
50 	NumericField    aSize7NF;
51 
52     FixedLine       aImportGB;
53     CheckBox        aNumbersEnglishUSCB;
54 	CheckBox		aUnknownTagCB;
55 	CheckBox		aIgnoreFontNamesCB;
56 
57     FixedLine       aExportGB;
58 	ListBox			aExportLB;
59 	CheckBox		aStarBasicCB;
60 	CheckBox		aStarBasicWarningCB;
61 	CheckBox		aPrintExtensionCB;
62 	CheckBox		aSaveGrfLocalCB;
63 	FixedText		aCharSetFT;
64 	SvxTextEncodingBox aCharSetLB;
65 
66 	DECL_LINK(ExportHdl_Impl, ListBox*);
67 	DECL_LINK(CheckBoxHdl_Impl, CheckBox*);
68 
69 	OfaHtmlTabPage(Window* pParent, const SfxItemSet& rSet);
70 	virtual ~OfaHtmlTabPage();
71 public:
72 
73 	static SfxTabPage*	Create( Window* pParent,
74 								const SfxItemSet& rAttrSet );
75 
76 	virtual	sal_Bool 		FillItemSet( SfxItemSet& rSet );
77 	virtual	void 		Reset( const SfxItemSet& rSet );
78 
79 };
80 
81 
82 #endif //
83 
84 
85 
86