fix baseline build (old cairo) - 'cairo_rectangle_int_t' does not name a type
[LibreOffice.git] / sc / source / ui / inc / AccessibilityHints.hxx
blobdcba897768a2c733007fd84a2c4a8d4630a34a13
1 /* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
2 /*
3 * This file is part of the LibreOffice project.
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/.
9 * This file incorporates work covered by the following license notice:
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 .
20 #ifndef INCLUDED_SC_SOURCE_UI_INC_ACCESSIBILITYHINTS_HXX
21 #define INCLUDED_SC_SOURCE_UI_INC_ACCESSIBILITYHINTS_HXX
23 #include "viewdata.hxx"
24 #include <com/sun/star/uno/XInterface.hpp>
25 #include <svl/smplhint.hxx>
26 #include <svl/hint.hxx>
28 #define SC_HINT_ACC_SIMPLE_START SFX_HINT_USER00
29 #define SC_HINT_ACC_TABLECHANGED SC_HINT_ACC_SIMPLE_START + 1
30 #define SC_HINT_ACC_CURSORCHANGED SC_HINT_ACC_SIMPLE_START + 2
31 #define SC_HINT_ACC_VISAREACHANGED SC_HINT_ACC_SIMPLE_START + 3
32 #define SC_HINT_ACC_ENTEREDITMODE SC_HINT_ACC_SIMPLE_START + 4
33 #define SC_HINT_ACC_LEAVEEDITMODE SC_HINT_ACC_SIMPLE_START + 5
34 #define SC_HINT_ACC_MAKEDRAWLAYER SC_HINT_ACC_SIMPLE_START + 6
35 #define SC_HINT_ACC_WINDOWRESIZED SC_HINT_ACC_SIMPLE_START + 7
37 class ScAccWinFocusLostHint : public SfxHint
39 ::com::sun::star::uno::Reference< ::com::sun::star::uno::XInterface >
40 xOldAccessible;
41 public:
42 ScAccWinFocusLostHint(
43 const ::com::sun::star::uno::Reference< ::com::sun::star::uno::XInterface >& xOld );
44 virtual ~ScAccWinFocusLostHint();
46 ::com::sun::star::uno::Reference< ::com::sun::star::uno::XInterface >
47 GetOldAccessible() const { return xOldAccessible; }
50 class ScAccWinFocusGotHint : public SfxHint
52 ::com::sun::star::uno::Reference< ::com::sun::star::uno::XInterface >
53 xNewAccessible;
54 public:
55 ScAccWinFocusGotHint(
56 const ::com::sun::star::uno::Reference< ::com::sun::star::uno::XInterface >& xNew );
57 virtual ~ScAccWinFocusGotHint();
59 ::com::sun::star::uno::Reference< ::com::sun::star::uno::XInterface >
60 GetNewAccessible() const { return xNewAccessible; }
63 class ScAccGridWinFocusLostHint : public ScAccWinFocusLostHint
65 ScSplitPos eOldGridWin;
66 public:
67 ScAccGridWinFocusLostHint( ScSplitPos eOldGridWin,
68 const ::com::sun::star::uno::Reference< ::com::sun::star::uno::XInterface >& xOld );
69 virtual ~ScAccGridWinFocusLostHint();
71 ScSplitPos GetOldGridWin() const { return eOldGridWin; }
74 class ScAccGridWinFocusGotHint : public ScAccWinFocusGotHint
76 ScSplitPos eNewGridWin;
77 public:
78 ScAccGridWinFocusGotHint( ScSplitPos eNewGridWin,
79 const ::com::sun::star::uno::Reference< ::com::sun::star::uno::XInterface >& xNew );
80 virtual ~ScAccGridWinFocusGotHint();
82 ScSplitPos GetNewGridWin() const { return eNewGridWin; }
85 #endif
87 /* vim:set shiftwidth=4 softtabstop=4 expandtab: */