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 
24 #ifndef  SVTOOLS_ACCESSIBILITYOPTTEST_HXX
25 #define  SVTOOLS_ACCESSIBILITYOPTTEST_HXX
26 
27 #include <com/sun/star/container/XNameAccess.hpp>
28 #include <svl/accessibilityoptions.hxx>
29 
30 namespace css = ::com::sun::star;
31 
32 class AccessibilityOptTest
33 {
34 public:
35 	AccessibilityOptTest();
36 	~AccessibilityOptTest();
37 
38 	void impl_checkAccessibilityOptions();
39 
40 private:
41 	void impl_checkGetAutoDetectSystemHC();
42 	void impl_checkGetIsForPagePreviews();
43 	void impl_checkGetIsHelpTipsDisappear();
44 	void impl_checkGetIsAllowAnimatedGraphics();
45 	void impl_checkGetIsAllowAnimatedText();
46 	void impl_checkGetIsAutomaticFontColor();
47 	void impl_checkGetIsSystemFont();
48 	void impl_checkGetHelpTipSeconds();
49 	void impl_checkIsSelectionInReadonly();
50 
51 	void impl_checkSetAutoDetectSystemHC();
52 	void impl_checkSetIsForPagePreviews();
53 	void impl_checkSetIsHelpTipsDisappear();
54 	void impl_checkSetIsAllowAnimatedGraphics();
55 	void impl_checkSetIsAllowAnimatedText();
56 	void impl_checkSetIsAutomaticFontColor();
57 	void impl_checkSetIsSystemFont();
58 	void impl_checkSetHelpTipSeconds();
59 	void impl_checkSetSelectionInReadonly();
60 
61 private:
62 	css::uno::Reference< css::container::XNameAccess > m_xCfg;
63 	SvtAccessibilityOptions aAccessibilityOpt;
64 };
65 
66 #endif // #ifndef  SVTOOLS_ACCESSIBILITYOPTTEST_HXX
67