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_OPTCTL_HXX 24 #define _SVX_OPTCTL_HXX 25 26 #ifndef _SV_BUTTON_HXX 27 #include <vcl/button.hxx> 28 #endif 29 #include <vcl/fixed.hxx> 30 #include <vcl/lstbox.hxx> 31 #include <sfx2/tabdlg.hxx> 32 33 // class SvxCTLOptionsPage ----------------------------------------------------- 34 35 class SvxCTLOptionsPage : public SfxTabPage 36 { 37 private: 38 FixedLine m_aSequenceCheckingFL; 39 CheckBox m_aSequenceCheckingCB; 40 CheckBox m_aRestrictedCB; 41 CheckBox m_aTypeReplaceCB; 42 43 FixedLine m_aCursorControlFL; 44 FixedText m_aMovementFT; 45 RadioButton m_aMovementLogicalRB; 46 RadioButton m_aMovementVisualRB; 47 48 FixedLine m_aGeneralFL; 49 FixedText m_aNumeralsFT; 50 ListBox m_aNumeralsLB; 51 52 DECL_LINK( SequenceCheckingCB_Hdl, void* ); 53 54 SvxCTLOptionsPage( Window* pParent, const SfxItemSet& rSet ); 55 56 public: 57 58 virtual ~SvxCTLOptionsPage(); 59 60 static SfxTabPage* Create( Window* pParent, const SfxItemSet& rAttrSet ); 61 virtual sal_Bool FillItemSet( SfxItemSet& rSet ); 62 virtual void Reset( const SfxItemSet& rSet ); 63 }; 64 65 #endif // #ifndef _SVX_OPTCTL_HXX 66 67