Branch data Line data Source code
1 : : /* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
2 : : /*
3 : : * This file is part of the LibreOffice project.
4 : : *
5 : : * This Source Code Form is subject to the terms of the Mozilla Public
6 : : * License, v. 2.0. If a copy of the MPL was not distributed with this
7 : : * file, You can obtain one at http://mozilla.org/MPL/2.0/.
8 : : *
9 : : * This file incorporates work covered by the following license notice:
10 : : *
11 : : * Licensed to the Apache Software Foundation (ASF) under one or more
12 : : * contributor license agreements. See the NOTICE file distributed
13 : : * with this work for additional information regarding copyright
14 : : * ownership. The ASF licenses this file to you under the Apache
15 : : * License, Version 2.0 (the "License"); you may not use this file
16 : : * except in compliance with the License. You may obtain a copy of
17 : : * the License at http://www.apache.org/licenses/LICENSE-2.0 .
18 : : */
19 : :
20 : : #include "AccessibilityHints.hxx"
21 : :
22 : : using namespace ::com::sun::star;
23 : :
24 : : // -----------------------------------------------------------------------
25 : :
26 [ + + ][ - + ]: 718 : TYPEINIT1(ScAccWinFocusLostHint, SfxHint);
27 : :
28 : : // -----------------------------------------------------------------------
29 : : // ScAccWinFocusLostHint - the current window lost its focus (to another application, view or document)
30 : : // -----------------------------------------------------------------------
31 : :
32 : 21 : ScAccWinFocusLostHint::ScAccWinFocusLostHint(
33 : : const uno::Reference< uno::XInterface >& xOld )
34 : : :
35 : 21 : xOldAccessible(xOld)
36 : : {
37 : 21 : }
38 : :
39 : 21 : ScAccWinFocusLostHint::~ScAccWinFocusLostHint()
40 : : {
41 [ - + ]: 21 : }
42 : :
43 : : // -----------------------------------------------------------------------
44 : :
45 [ # # ][ # # ]: 0 : TYPEINIT1(ScAccWinFocusGotHint, SfxHint);
46 : :
47 : : // -----------------------------------------------------------------------
48 : : // ScAccWinFocusGotHint - the window got the focus (from another application, view or document)
49 : : // -----------------------------------------------------------------------
50 : :
51 : 0 : ScAccWinFocusGotHint::ScAccWinFocusGotHint(
52 : : const uno::Reference< uno::XInterface >& xNew )
53 : : :
54 : 0 : xNewAccessible(xNew)
55 : : {
56 : 0 : }
57 : :
58 : 0 : ScAccWinFocusGotHint::~ScAccWinFocusGotHint()
59 : : {
60 [ # # ]: 0 : }
61 : : // -----------------------------------------------------------------------
62 : :
63 [ + + ][ - + ]: 142 : TYPEINIT1(ScAccGridWinFocusLostHint, SfxHint);
64 : :
65 : : // -----------------------------------------------------------------------
66 : : // ScAccGridWinFocusLostHint - the current grid window lost its focus (to another application, view or document)
67 : : // -----------------------------------------------------------------------
68 : :
69 : 5 : ScAccGridWinFocusLostHint::ScAccGridWinFocusLostHint(ScSplitPos eOld,
70 : : const uno::Reference< uno::XInterface >& xOld )
71 : : :
72 : : ScAccWinFocusLostHint(xOld),
73 : 5 : eOldGridWin(eOld)
74 : : {
75 : 5 : }
76 : :
77 : 5 : ScAccGridWinFocusLostHint::~ScAccGridWinFocusLostHint()
78 : : {
79 [ - + ]: 5 : }
80 : :
81 : : // -----------------------------------------------------------------------
82 : :
83 [ # # ][ # # ]: 29 : TYPEINIT1(ScAccGridWinFocusGotHint, SfxHint);
84 : :
85 : : // -----------------------------------------------------------------------
86 : : // ScAccGridWinFocusGotHint - the grid window got the focus (from another application, view or document)
87 : : // -----------------------------------------------------------------------
88 : :
89 : 0 : ScAccGridWinFocusGotHint::ScAccGridWinFocusGotHint(ScSplitPos eNew,
90 : : const uno::Reference< uno::XInterface >& xNew )
91 : : :
92 : : ScAccWinFocusGotHint(xNew),
93 : 0 : eNewGridWin(eNew)
94 : : {
95 : 0 : }
96 : :
97 : 0 : ScAccGridWinFocusGotHint::~ScAccGridWinFocusGotHint()
98 : : {
99 [ # # ]: 0 : }
100 : :
101 : : /* vim:set shiftwidth=4 softtabstop=4 expandtab: */
|