1 /************************************************************************* 2 * 3 * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. 4 * 5 * Copyright 2000, 2010 Oracle and/or its affiliates. 6 * 7 * OpenOffice.org - a multi-platform office productivity suite 8 * 9 * This file is part of OpenOffice.org. 10 * 11 * OpenOffice.org is free software: you can redistribute it and/or modify 12 * it under the terms of the GNU Lesser General Public License version 3 13 * only, as published by the Free Software Foundation. 14 * 15 * OpenOffice.org is distributed in the hope that it will be useful, 16 * but WITHOUT ANY WARRANTY; without even the implied warranty of 17 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 18 * GNU Lesser General Public License version 3 for more details 19 * (a copy is included in the LICENSE file that accompanied this code). 20 * 21 * You should have received a copy of the GNU Lesser General Public License 22 * version 3 along with OpenOffice.org. If not, see 23 * <http://www.openoffice.org/license.html> 24 * for a copy of the LGPLv3 License. 25 * 26 ************************************************************************/ 27 #ifndef _SVX_OPTASIAN_HXX 28 #define _SVX_OPTASIAN_HXX 29 30 #include <sfx2/tabdlg.hxx> 31 #include <vcl/group.hxx> 32 #ifndef _SV_BUTTON_HXX 33 #include <vcl/button.hxx> 34 #endif 35 #include <vcl/fixed.hxx> 36 #include <vcl/lstbox.hxx> 37 #include <vcl/edit.hxx> 38 #include <svx/langbox.hxx> 39 struct SvxAsianLayoutPage_Impl; 40 class SvxAsianLayoutPage : public SfxTabPage 41 { 42 FixedLine aKerningGB; 43 RadioButton aCharKerningRB; 44 RadioButton aCharPunctKerningRB; 45 46 FixedLine aCharDistGB; 47 RadioButton aNoCompressionRB; 48 RadioButton aPunctCompressionRB; 49 RadioButton aPunctKanaCompressionRB; 50 51 FixedLine aStartEndGB; 52 53 FixedText aLanguageFT; 54 SvxLanguageBox aLanguageLB; 55 CheckBox aStandardCB; 56 57 FixedText aStartFT; 58 Edit aStartED; 59 FixedText aEndFT; 60 Edit aEndED; 61 FixedText aHintFT; 62 63 SvxAsianLayoutPage_Impl* pImpl; 64 65 DECL_LINK(LanguageHdl, SvxLanguageBox*); 66 DECL_LINK(ChangeStandardHdl, CheckBox*); 67 DECL_LINK(ModifyHdl, Edit*); 68 69 SvxAsianLayoutPage( Window* pParent, const SfxItemSet& rSet ); 70 public: 71 72 virtual ~SvxAsianLayoutPage(); 73 74 static SfxTabPage* Create( Window* pParent, const SfxItemSet& rAttrSet ); 75 static sal_uInt16* GetRanges(); 76 virtual sal_Bool FillItemSet( SfxItemSet& rSet ); 77 virtual void Reset( const SfxItemSet& rSet ); 78 }; 79 80 #endif 81 82