xref: /trunk/main/cui/source/inc/optasian.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 _SVX_OPTASIAN_HXX
24 #define _SVX_OPTASIAN_HXX
25 
26 #include <sfx2/tabdlg.hxx>
27 #include <vcl/group.hxx>
28 #ifndef _SV_BUTTON_HXX
29 #include <vcl/button.hxx>
30 #endif
31 #include <vcl/fixed.hxx>
32 #include <vcl/lstbox.hxx>
33 #include <vcl/edit.hxx>
34 #include <svx/langbox.hxx>
35 struct SvxAsianLayoutPage_Impl;
36 class SvxAsianLayoutPage : public SfxTabPage
37 {
38     FixedLine    aKerningGB;
39 	RadioButton	aCharKerningRB;
40 	RadioButton	aCharPunctKerningRB;
41 
42     FixedLine    aCharDistGB;
43 	RadioButton	aNoCompressionRB;
44 	RadioButton	aPunctCompressionRB;
45 	RadioButton	aPunctKanaCompressionRB;
46 
47     FixedLine    aStartEndGB;
48 
49 	FixedText  		aLanguageFT;
50 	SvxLanguageBox	aLanguageLB;
51 	CheckBox   		aStandardCB;
52 
53 	FixedText	aStartFT;
54 	Edit		aStartED;
55 	FixedText	aEndFT;
56 	Edit		aEndED;
57 	FixedText	aHintFT;
58 
59 	SvxAsianLayoutPage_Impl* pImpl;
60 
61 	DECL_LINK(LanguageHdl, SvxLanguageBox*);
62 	DECL_LINK(ChangeStandardHdl, CheckBox*);
63 	DECL_LINK(ModifyHdl, Edit*);
64 
65 	SvxAsianLayoutPage( Window* pParent, const SfxItemSet& rSet );
66 public:
67 
68 	virtual ~SvxAsianLayoutPage();
69 
70 	static SfxTabPage*	Create( Window* pParent, const SfxItemSet& rAttrSet );
71     static sal_uInt16*      GetRanges();
72 	virtual	sal_Bool 		FillItemSet( SfxItemSet& rSet );
73 	virtual	void 		Reset( const SfxItemSet& rSet );
74 };
75 
76 #endif
77 
78