LibreOffice Module sc (master)
1
sc
source
ui
inc
AccessiblePageHeaderArea.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
20
#pragma once
21
22
#include "
AccessibleContextBase.hxx
"
23
#include <
editeng/svxenum.hxx
>
24
25
class
EditTextObject
;
26
namespace
accessibility
27
{
28
class
AccessibleTextHelper;
29
}
30
class
ScPreviewShell
;
31
32
class
ScAccessiblePageHeaderArea
33
:
public
ScAccessibleContextBase
34
{
35
public
:
36
//===== internal ========================================================
37
ScAccessiblePageHeaderArea
(
38
const
css::uno::Reference<css::accessibility::XAccessible>& rxParent,
39
ScPreviewShell
* pViewShell,
40
const
EditTextObject
* pEditObj,
41
SvxAdjust
eAdjust);
42
protected
:
43
virtual
~ScAccessiblePageHeaderArea
()
override
;
44
public
:
45
const
EditTextObject
*
GetEditTextObject
()
const
{
return
mpEditObj
.get(); }
46
47
using
ScAccessibleContextBase::disposing
;
48
virtual
void
SAL_CALL
disposing
()
override
;
49
51
52
virtual
void
Notify
(
SfxBroadcaster
& rBC,
const
SfxHint
& rHint )
override
;
53
55
56
virtual
css::uno::Reference< css::accessibility::XAccessible >
57
SAL_CALL
getAccessibleAtPoint
(
58
const
css::awt::Point& rPoint )
override
;
59
61
64
virtual
sal_Int64 SAL_CALL
65
getAccessibleChildCount
()
override
;
66
69
virtual
css::uno::Reference< css::accessibility::XAccessible> SAL_CALL
70
getAccessibleChild
(sal_Int64 nIndex)
override
;
71
73
virtual
sal_Int64 SAL_CALL
74
getAccessibleStateSet
()
override
;
75
77
80
virtual
OUString SAL_CALL
81
getImplementationName
()
override
;
82
86
virtual
css::uno::Sequence< OUString> SAL_CALL
87
getSupportedServiceNames
()
override
;
88
90
93
virtual
css::uno::Sequence<sal_Int8> SAL_CALL
94
getImplementationId
()
override
;
95
96
protected
:
97
virtual
OUString
createAccessibleDescription
()
override
;
98
virtual
OUString
createAccessibleName
()
override
;
99
100
virtual
tools::Rectangle
GetBoundingBoxOnScreen
()
const override
;
101
virtual
tools::Rectangle
GetBoundingBox
()
const override
;
102
103
private
:
104
std::unique_ptr<EditTextObject>
mpEditObj
;
105
std::unique_ptr<accessibility::AccessibleTextHelper>
mpTextHelper
;
106
ScPreviewShell
*
mpViewShell
;
107
SvxAdjust
meAdjust
;
108
109
void
CreateTextHelper
();
110
};
111
112
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
AccessibleContextBase.hxx
EditTextObject
ScAccessibleContextBase
Definition:
AccessibleContextBase.hxx:55
ScAccessibleContextBase::disposing
virtual void SAL_CALL disposing() override
Definition:
AccessibleContextBase.cxx:76
ScAccessiblePageHeaderArea
Definition:
AccessiblePageHeaderArea.hxx:34
ScAccessiblePageHeaderArea::getAccessibleChildCount
virtual sal_Int64 SAL_CALL getAccessibleChildCount() override
===== XAccessibleContext ==============================================
Definition:
AccessiblePageHeaderArea.cxx:122
ScAccessiblePageHeaderArea::getAccessibleAtPoint
virtual css::uno::Reference< css::accessibility::XAccessible > SAL_CALL getAccessibleAtPoint(const css::awt::Point &rPoint) override
===== XAccessibleComponent ============================================
Definition:
AccessiblePageHeaderArea.cxx:101
ScAccessiblePageHeaderArea::meAdjust
SvxAdjust meAdjust
Definition:
AccessiblePageHeaderArea.hxx:107
ScAccessiblePageHeaderArea::disposing
virtual void SAL_CALL disposing() override
Definition:
AccessiblePageHeaderArea.cxx:69
ScAccessiblePageHeaderArea::~ScAccessiblePageHeaderArea
virtual ~ScAccessiblePageHeaderArea() override
Definition:
AccessiblePageHeaderArea.cxx:59
ScAccessiblePageHeaderArea::mpViewShell
ScPreviewShell * mpViewShell
Definition:
AccessiblePageHeaderArea.hxx:106
ScAccessiblePageHeaderArea::ScAccessiblePageHeaderArea
ScAccessiblePageHeaderArea(const css::uno::Reference< css::accessibility::XAccessible > &rxParent, ScPreviewShell *pViewShell, const EditTextObject *pEditObj, SvxAdjust eAdjust)
Definition:
AccessiblePageHeaderArea.cxx:45
ScAccessiblePageHeaderArea::GetEditTextObject
const EditTextObject * GetEditTextObject() const
Definition:
AccessiblePageHeaderArea.hxx:45
ScAccessiblePageHeaderArea::GetBoundingBoxOnScreen
virtual tools::Rectangle GetBoundingBoxOnScreen() const override
Return the object's current bounding box relative to the desktop.
Definition:
AccessiblePageHeaderArea.cxx:225
ScAccessiblePageHeaderArea::getImplementationName
virtual OUString SAL_CALL getImplementationName() override
===== XServiceInfo ====================================================
Definition:
AccessiblePageHeaderArea.cxx:162
ScAccessiblePageHeaderArea::createAccessibleDescription
virtual OUString createAccessibleDescription() override
Return this object's description.
Definition:
AccessiblePageHeaderArea.cxx:183
ScAccessiblePageHeaderArea::getAccessibleChild
virtual css::uno::Reference< css::accessibility::XAccessible > SAL_CALL getAccessibleChild(sal_Int64 nIndex) override
Return the specified child or NULL if index is invalid.
Definition:
AccessiblePageHeaderArea.cxx:132
ScAccessiblePageHeaderArea::GetBoundingBox
virtual tools::Rectangle GetBoundingBox() const override
Return the object's current bounding box relative to the parent object.
Definition:
AccessiblePageHeaderArea.cxx:241
ScAccessiblePageHeaderArea::mpEditObj
std::unique_ptr< EditTextObject > mpEditObj
Definition:
AccessiblePageHeaderArea.hxx:104
ScAccessiblePageHeaderArea::mpTextHelper
std::unique_ptr< accessibility::AccessibleTextHelper > mpTextHelper
Definition:
AccessiblePageHeaderArea.hxx:105
ScAccessiblePageHeaderArea::getSupportedServiceNames
virtual css::uno::Sequence< OUString > SAL_CALL getSupportedServiceNames() override
Returns a list of all supported services.
Definition:
AccessiblePageHeaderArea.cxx:168
ScAccessiblePageHeaderArea::Notify
virtual void Notify(SfxBroadcaster &rBC, const SfxHint &rHint) override
===== SfxListener =====================================================
Definition:
AccessiblePageHeaderArea.cxx:84
ScAccessiblePageHeaderArea::getAccessibleStateSet
virtual sal_Int64 SAL_CALL getAccessibleStateSet() override
Return the set of current states.
Definition:
AccessiblePageHeaderArea.cxx:141
ScAccessiblePageHeaderArea::getImplementationId
virtual css::uno::Sequence< sal_Int8 > SAL_CALL getImplementationId() override
===== XTypeProvider ===================================================
Definition:
AccessiblePageHeaderArea.cxx:177
ScAccessiblePageHeaderArea::createAccessibleName
virtual OUString createAccessibleName() override
Return the object's current name.
Definition:
AccessiblePageHeaderArea.cxx:204
ScAccessiblePageHeaderArea::CreateTextHelper
void CreateTextHelper()
Definition:
AccessiblePageHeaderArea.cxx:259
ScPreviewShell
Definition:
prevwsh.hxx:41
SfxBroadcaster
SfxHint
tools::Rectangle
accessibility
svxenum.hxx
SvxAdjust
SvxAdjust
Generated on Sun Jul 30 2023 04:29:19 for LibreOffice Module sc (master) by
1.9.3