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_OPTACCESSIBILITY_HXX 24 #define _SVX_OPTACCESSIBILITY_HXX 25 26 #include <sfx2/tabdlg.hxx> 27 #include <vcl/fixed.hxx> 28 #include <vcl/field.hxx> 29 struct SvxAccessibilityOptionsTabPage_Impl; 30 class SvxAccessibilityOptionsTabPage : public SfxTabPage 31 { 32 FixedLine m_aMiscellaneousLabel; // FL_MISCELLANEOUS 33 CheckBox m_aAccessibilityTool; // CB_ACCESSIBILITY_TOOL 34 CheckBox m_aTextSelectionInReadonly; // CB_TEXTSELECTION 35 CheckBox m_aAnimatedGraphics; // CB_ANIMATED_GRAPHICS 36 CheckBox m_aAnimatedTexts; // CB_ANIMATED_TEXTS 37 CheckBox m_aTipHelpCB; // CB_TIPHELP 38 NumericField m_aTipHelpNF; // NF_TIPHELP 39 FixedText m_aTipHelpFT; // FT_TIPHELP 40 FixedLine m_aHCOptionsLabel; // FL_HC_OPTIONS 41 CheckBox m_aAutoDetectHC; // CB_AUTO_DETECT_HC 42 CheckBox m_aAutomaticFontColor; // CB_AUTOMATIC_FONT_COLOR 43 CheckBox m_aPagePreviews; // CB_PAGEPREVIEWS 44 45 DECL_LINK(TipHelpHdl, CheckBox*); 46 void EnableTipHelp(sal_Bool bCheck); 47 48 SvxAccessibilityOptionsTabPage_Impl* m_pImpl; 49 50 SvxAccessibilityOptionsTabPage( Window* pParent, const SfxItemSet& rSet ); 51 public: 52 53 virtual ~SvxAccessibilityOptionsTabPage(); 54 55 static SfxTabPage* Create( Window* pParent, const SfxItemSet& rAttrSet ); 56 virtual sal_Bool FillItemSet( SfxItemSet& rSet ); 57 virtual void Reset( const SfxItemSet& rSet ); 58 }; 59 60 #endif 61 62