masterfix DEV300: #i10000# build fix
[LibreOffice.git] / cui / source / options / optaccessibility.hxx
blobf816962f46b1721d6362f03077893804ea4aaf43
1 /*************************************************************************
3 * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
5 * Copyright 2000, 2010 Oracle and/or its affiliates.
7 * OpenOffice.org - a multi-platform office productivity suite
9 * This file is part of OpenOffice.org.
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.
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).
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.
26 ************************************************************************/
27 #ifndef _SVX_OPTACCESSIBILITY_HXX
28 #define _SVX_OPTACCESSIBILITY_HXX
30 #include <sfx2/tabdlg.hxx>
31 #include <vcl/fixed.hxx>
32 #include <vcl/field.hxx>
33 struct SvxAccessibilityOptionsTabPage_Impl;
34 class SvxAccessibilityOptionsTabPage : public SfxTabPage
36 FixedLine m_aMiscellaneousLabel; // FL_MISCELLANEOUS
37 CheckBox m_aAccessibilityTool; // CB_ACCESSIBILITY_TOOL
38 CheckBox m_aTextSelectionInReadonly; // CB_TEXTSELECTION
39 CheckBox m_aAnimatedGraphics; // CB_ANIMATED_GRAPHICS
40 CheckBox m_aAnimatedTexts; // CB_ANIMATED_TEXTS
41 CheckBox m_aTipHelpCB; // CB_TIPHELP
42 NumericField m_aTipHelpNF; // NF_TIPHELP
43 FixedText m_aTipHelpFT; // FT_TIPHELP
44 FixedLine m_aHCOptionsLabel; // FL_HC_OPTIONS
45 CheckBox m_aAutoDetectHC; // CB_AUTO_DETECT_HC
46 CheckBox m_aAutomaticFontColor; // CB_AUTOMATIC_FONT_COLOR
47 CheckBox m_aPagePreviews; // CB_PAGEPREVIEWS
49 DECL_LINK(TipHelpHdl, CheckBox*);
50 void EnableTipHelp(sal_Bool bCheck);
52 SvxAccessibilityOptionsTabPage_Impl* m_pImpl;
54 SvxAccessibilityOptionsTabPage( Window* pParent, const SfxItemSet& rSet );
55 public:
57 virtual ~SvxAccessibilityOptionsTabPage();
59 static SfxTabPage* Create( Window* pParent, const SfxItemSet& rAttrSet );
60 virtual sal_Bool FillItemSet( SfxItemSet& rSet );
61 virtual void Reset( const SfxItemSet& rSet );
64 #endif