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 
25 namespace accessibility { class AccessibleControlShape; }
26 namespace com::sun::star::accessibility { class XAccessible; }
27 namespace com::sun::star::beans { class XPropertySet; }
28 namespace com::sun::star::drawing { class XShape; }
29 
30 namespace accessibility {
31 
32 class AccessibleShape;
33 class AccessibleShapeTreeInfo;
34 
40 {
41 public:
44  virtual ~IAccessibleParent(){};
45 
80  virtual bool ReplaceChild (
81  AccessibleShape* pCurrentChild,
82  const css::uno::Reference< css::drawing::XShape >& _rxShape,
83  const long _nIndex,
84  const AccessibleShapeTreeInfo& _rShapeTreeInfo
85  ) = 0;
86  //Add this method to support Form Controls
89  (css::beans::XPropertySet*){return nullptr;};
91  virtual css::uno::Reference<
92  css::accessibility::XAccessible>
93  GetAccessibleCaption (const css::uno::Reference<
94  css::drawing::XShape>&){return nullptr;};
95  virtual bool IsDocumentSelAll(){ return false; }
96 };
97 
98 } // end of namespace accessibility
99 
100 #endif
101 
102 /* vim:set shiftwidth=4 softtabstop=4 expandtab: */
This interface contains methods missing from the XAccessibleContext interface that allow the modifica...
virtual ~IAccessibleParent()
Allow for a virtual destructor.
class SAL_NO_VTABLE XPropertySet
Definition: xmlexchg.hxx:31
virtual css::uno::Reference< css::accessibility::XAccessible > GetAccessibleCaption(const css::uno::Reference< css::drawing::XShape > &)
This base class provides a base implementation for all shapes.
virtual bool ReplaceChild(AccessibleShape *pCurrentChild, const css::uno::Reference< css::drawing::XShape > &_rxShape, const 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 AccessibleControlShape * GetAccControlShapeFromModel(css::beans::XPropertySet *)
This class bundles all information that is passed down the tree of accessible shapes so that each sha...