xref: /trunk/main/cui/source/options/optaccessibility.hxx (revision 1ecadb572e7010ff3b3382ad9bf179dbc6efadbb)
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_OPTACCESSIBILITY_HXX
28 #define _SVX_OPTACCESSIBILITY_HXX
29 
30 #include <sfx2/tabdlg.hxx>
31 #include <vcl/fixed.hxx>
32 #include <vcl/field.hxx>
33 struct SvxAccessibilityOptionsTabPage_Impl;
34 class SvxAccessibilityOptionsTabPage : public SfxTabPage
35 {
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
48 
49     DECL_LINK(TipHelpHdl, CheckBox*);
50     void EnableTipHelp(sal_Bool bCheck);
51 
52     SvxAccessibilityOptionsTabPage_Impl* m_pImpl;
53 
54     SvxAccessibilityOptionsTabPage( Window* pParent, const SfxItemSet& rSet );
55 public:
56 
57     virtual ~SvxAccessibilityOptionsTabPage();
58 
59     static SfxTabPage*  Create( Window* pParent, const SfxItemSet& rAttrSet );
60     virtual sal_Bool        FillItemSet( SfxItemSet& rSet );
61     virtual void        Reset( const SfxItemSet& rSet );
62 };
63 
64 #endif
65 
66