merge the formfield patch from ooo-build
[ooovba.git] / svx / source / cui / optaccessibility.hxx
blob037bbaacd907c39afaa1f371e26e3935c07793bd
1 /*************************************************************************
3 * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
4 *
5 * Copyright 2008 by Sun Microsystems, Inc.
7 * OpenOffice.org - a multi-platform office productivity suite
9 * $RCSfile: optaccessibility.hxx,v $
10 * $Revision: 1.5 $
12 * This file is part of OpenOffice.org.
14 * OpenOffice.org is free software: you can redistribute it and/or modify
15 * it under the terms of the GNU Lesser General Public License version 3
16 * only, as published by the Free Software Foundation.
18 * OpenOffice.org is distributed in the hope that it will be useful,
19 * but WITHOUT ANY WARRANTY; without even the implied warranty of
20 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
21 * GNU Lesser General Public License version 3 for more details
22 * (a copy is included in the LICENSE file that accompanied this code).
24 * You should have received a copy of the GNU Lesser General Public License
25 * version 3 along with OpenOffice.org. If not, see
26 * <http://www.openoffice.org/license.html>
27 * for a copy of the LGPLv3 License.
29 ************************************************************************/
30 #ifndef _SVX_OPTACCESSIBILITY_HXX
31 #define _SVX_OPTACCESSIBILITY_HXX
33 #include <sfx2/tabdlg.hxx>
34 #include <vcl/fixed.hxx>
35 #include <vcl/field.hxx>
36 struct SvxAccessibilityOptionsTabPage_Impl;
37 class SvxAccessibilityOptionsTabPage : public SfxTabPage
39 FixedLine m_aMiscellaneousLabel; // FL_MISCELLANEOUS
40 CheckBox m_aAccessibilityTool; // CB_ACCESSIBILITY_TOOL
41 CheckBox m_aTextSelectionInReadonly; // CB_TEXTSELECTION
42 CheckBox m_aAnimatedGraphics; // CB_ANIMATED_GRAPHICS
43 CheckBox m_aAnimatedTexts; // CB_ANIMATED_TEXTS
44 CheckBox m_aTipHelpCB; // CB_TIPHELP
45 NumericField m_aTipHelpNF; // NF_TIPHELP
46 FixedText m_aTipHelpFT; // FT_TIPHELP
47 FixedLine m_aHCOptionsLabel; // FL_HC_OPTIONS
48 CheckBox m_aAutoDetectHC; // CB_AUTO_DETECT_HC
49 CheckBox m_aAutomaticFontColor; // CB_AUTOMATIC_FONT_COLOR
50 CheckBox m_aPagePreviews; // CB_PAGEPREVIEWS
52 DECL_LINK(TipHelpHdl, CheckBox*);
53 void EnableTipHelp(sal_Bool bCheck);
55 SvxAccessibilityOptionsTabPage_Impl* m_pImpl;
57 SvxAccessibilityOptionsTabPage( Window* pParent, const SfxItemSet& rSet );
58 public:
60 virtual ~SvxAccessibilityOptionsTabPage();
62 static SfxTabPage* Create( Window* pParent, const SfxItemSet& rAttrSet );
63 virtual BOOL FillItemSet( SfxItemSet& rSet );
64 virtual void Reset( const SfxItemSet& rSet );
67 #endif