LibreOffice Module chart2 (master) 1
AccessibleChartShape.hxx
Go to the documentation of this file.
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#pragma once
20
21#include <AccessibleBase.hxx>
22
23#include <com/sun/star/accessibility/XAccessibleExtendedComponent.hpp>
26
27namespace accessibility
28{
29class AccessibleShape;
30}
31
32namespace chart
33{
34
35namespace impl
36{
37typedef ::cppu::ImplInheritanceHelper<
38 AccessibleBase,
39 css::accessibility::XAccessibleExtendedComponent > AccessibleChartShape_Base;
40}
41
44{
45public:
46 explicit AccessibleChartShape( const AccessibleElementInfo& rAccInfo );
47 virtual ~AccessibleChartShape() override;
48
49 // ________ XServiceInfo ________
50 virtual OUString SAL_CALL getImplementationName() override;
51
52 // ________ XAccessibleContext ________
53 virtual sal_Int64 SAL_CALL getAccessibleChildCount() override;
54 virtual css::uno::Reference< css::accessibility::XAccessible > SAL_CALL
55 getAccessibleChild( sal_Int64 i ) override;
56 virtual sal_Int16 SAL_CALL getAccessibleRole() override;
57 virtual OUString SAL_CALL getAccessibleDescription() override;
58 virtual OUString SAL_CALL getAccessibleName() override;
59
60 // ________ XAccessibleComponent ________
61 virtual sal_Bool SAL_CALL containsPoint( const css::awt::Point& aPoint ) override;
62 virtual css::uno::Reference< css::accessibility::XAccessible > SAL_CALL getAccessibleAtPoint( const css::awt::Point& aPoint ) override;
63 virtual css::awt::Rectangle SAL_CALL getBounds() override;
64 virtual css::awt::Point SAL_CALL getLocation() override;
65 virtual css::awt::Point SAL_CALL getLocationOnScreen() override;
66 virtual css::awt::Size SAL_CALL getSize() override;
67 virtual void SAL_CALL grabFocus() override;
68 virtual sal_Int32 SAL_CALL getForeground() override;
69 virtual sal_Int32 SAL_CALL getBackground() override;
70
71 // ________ XAccessibleExtendedComponent ________
72 virtual css::uno::Reference< css::awt::XFont > SAL_CALL getFont() override;
73 virtual OUString SAL_CALL getTitledBorderText() override;
74 virtual OUString SAL_CALL getToolTipText() override;
75
76private:
79};
80
81} // namespace chart
82
83/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
virtual OUString SAL_CALL getTitledBorderText() override
virtual OUString SAL_CALL getImplementationName() override
virtual OUString SAL_CALL getToolTipText() override
virtual OUString SAL_CALL getAccessibleName() override
virtual css::uno::Reference< css::awt::XFont > SAL_CALL getFont() override
AccessibleChartShape(const AccessibleElementInfo &rAccInfo)
rtl::Reference< accessibility::AccessibleShape > m_pAccShape
virtual sal_Int16 SAL_CALL getAccessibleRole() override
::accessibility::AccessibleShapeTreeInfo m_aShapeTreeInfo
virtual css::awt::Point SAL_CALL getLocationOnScreen() override
virtual ~AccessibleChartShape() override
virtual void SAL_CALL grabFocus() override
virtual css::uno::Reference< css::accessibility::XAccessible > SAL_CALL getAccessibleChild(sal_Int64 i) override
virtual sal_Int64 SAL_CALL getAccessibleChildCount() override
virtual OUString SAL_CALL getAccessibleDescription() override
virtual css::uno::Reference< css::accessibility::XAccessible > SAL_CALL getAccessibleAtPoint(const css::awt::Point &aPoint) override
virtual css::awt::Rectangle SAL_CALL getBounds() override
virtual css::awt::Size SAL_CALL getSize() override
virtual sal_Int32 SAL_CALL getBackground() override
virtual css::awt::Point SAL_CALL getLocation() override
virtual sal_Bool SAL_CALL containsPoint(const css::awt::Point &aPoint) override
virtual sal_Int32 SAL_CALL getForeground() override
::cppu::ImplInheritanceHelper< AccessibleBase, css::accessibility::XAccessibleExtendedComponent > AccessibleChartShape_Base
int i
unsigned char sal_Bool