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 // MARKER(update_precomp.py): autogen include statement, do not remove
25 #include "precompiled_sc.hxx"
26 
27 
28 
29 #include "AccessibilityHints.hxx"
30 
31 using namespace	::com::sun::star;
32 
33 // -----------------------------------------------------------------------
34 
35 TYPEINIT1(ScAccWinFocusLostHint, SfxHint);
36 
37 // -----------------------------------------------------------------------
38 //      ScAccWinFocusLostHint - the current window lost its focus (to another application, view or document)
39 // -----------------------------------------------------------------------
40 
ScAccWinFocusLostHint(const uno::Reference<uno::XInterface> & xOld)41 ScAccWinFocusLostHint::ScAccWinFocusLostHint(
42 		const uno::Reference< uno::XInterface >& xOld )
43 	:
44     xOldAccessible(xOld)
45 {
46 }
47 
~ScAccWinFocusLostHint()48 ScAccWinFocusLostHint::~ScAccWinFocusLostHint()
49 {
50 }
51 
52 // -----------------------------------------------------------------------
53 
54 TYPEINIT1(ScAccWinFocusGotHint, SfxHint);
55 
56 // -----------------------------------------------------------------------
57 //      ScAccWinFocusGotHint - the window got the focus (from another application, view or document)
58 // -----------------------------------------------------------------------
59 
ScAccWinFocusGotHint(const uno::Reference<uno::XInterface> & xNew)60 ScAccWinFocusGotHint::ScAccWinFocusGotHint(
61 		const uno::Reference< uno::XInterface >& xNew )
62 	:
63     xNewAccessible(xNew)
64 {
65 }
66 
~ScAccWinFocusGotHint()67 ScAccWinFocusGotHint::~ScAccWinFocusGotHint()
68 {
69 }
70 // -----------------------------------------------------------------------
71 
72 TYPEINIT1(ScAccGridWinFocusLostHint, SfxHint);
73 
74 // -----------------------------------------------------------------------
75 //      ScAccGridWinFocusLostHint - the current grid window lost its focus (to another application, view or document)
76 // -----------------------------------------------------------------------
77 
ScAccGridWinFocusLostHint(ScSplitPos eOld,const uno::Reference<uno::XInterface> & xOld)78 ScAccGridWinFocusLostHint::ScAccGridWinFocusLostHint(ScSplitPos eOld,
79 		const uno::Reference< uno::XInterface >& xOld )
80 	:
81     ScAccWinFocusLostHint(xOld),
82 	eOldGridWin(eOld)
83 {
84 }
85 
~ScAccGridWinFocusLostHint()86 ScAccGridWinFocusLostHint::~ScAccGridWinFocusLostHint()
87 {
88 }
89 
90 // -----------------------------------------------------------------------
91 
92 TYPEINIT1(ScAccGridWinFocusGotHint, SfxHint);
93 
94 // -----------------------------------------------------------------------
95 //      ScAccGridWinFocusGotHint - the grid window got the focus (from another application, view or document)
96 // -----------------------------------------------------------------------
97 
ScAccGridWinFocusGotHint(ScSplitPos eNew,const uno::Reference<uno::XInterface> & xNew)98 ScAccGridWinFocusGotHint::ScAccGridWinFocusGotHint(ScSplitPos eNew,
99 		const uno::Reference< uno::XInterface >& xNew )
100 	:
101     ScAccWinFocusGotHint(xNew),
102 	eNewGridWin(eNew)
103 {
104 }
105 
~ScAccGridWinFocusGotHint()106 ScAccGridWinFocusGotHint::~ScAccGridWinFocusGotHint()
107 {
108 }
109