LibreOffice Module svx (master) 1
IAccessibleParent.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#ifndef INCLUDED_SVX_IACCESSIBLEPARENT_HXX
21#define INCLUDED_SVX_IACCESSIBLEPARENT_HXX
22
23#include <com/sun/star/uno/Reference.hxx>
24#include <tools/long.hxx>
25
26namespace accessibility { class AccessibleControlShape; }
27namespace com::sun::star::accessibility { class XAccessible; }
28namespace com::sun::star::beans { class XPropertySet; }
29namespace com::sun::star::drawing { class XShape; }
30
31namespace accessibility {
32
33class AccessibleShape;
34class AccessibleShapeTreeInfo;
35
41{
42public:
45 virtual ~IAccessibleParent(){};
46
81 virtual bool ReplaceChild (
82 AccessibleShape* pCurrentChild,
83 const css::uno::Reference< css::drawing::XShape >& _rxShape,
84 const tools::Long _nIndex,
85 const AccessibleShapeTreeInfo& _rShapeTreeInfo
86 ) = 0;
87 //Add this method to support Form Controls
90 (css::beans::XPropertySet*){return nullptr;};
92 virtual css::uno::Reference<
93 css::accessibility::XAccessible>
94 GetAccessibleCaption (const css::uno::Reference<
95 css::drawing::XShape>&){return nullptr;};
96 virtual bool IsDocumentSelAll(){ return false; }
97};
98
99} // end of namespace accessibility
100
101#endif
102
103/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
This class bundles all information that is passed down the tree of accessible shapes so that each sha...
This base class provides a base implementation for all shapes.
This interface contains methods missing from the XAccessibleContext interface that allow the modifica...
virtual ~IAccessibleParent()
Allow for a virtual destructor.
virtual bool ReplaceChild(AccessibleShape *pCurrentChild, const css::uno::Reference< css::drawing::XShape > &_rxShape, const tools::Long _nIndex, const AccessibleShapeTreeInfo &_rShapeTreeInfo)=0
A call to this method requests the implementor to replace one child with another and send the appropr...
virtual css::uno::Reference< css::accessibility::XAccessible > GetAccessibleCaption(const css::uno::Reference< css::drawing::XShape > &)
virtual AccessibleControlShape * GetAccControlShapeFromModel(css::beans::XPropertySet *)
class SAL_NO_VTABLE XPropertySet
Definition: xmlexchg.hxx:29
long Long