29 #include <com/sun/star/lang/IndexOutOfBoundsException.hpp>
30 #include <com/sun/star/drawing/XShape.hpp>
31 #include <com/sun/star/drawing/XShapeDescriptor.hpp>
39 AccessibleOLEShape::AccessibleOLEShape (
60 throw lang::IndexOutOfBoundsException();
66 throw lang::IndexOutOfBoundsException();
72 throw lang::IndexOutOfBoundsException();
76 css::uno::Any SAL_CALL
80 if ( ! aReturn.hasValue())
82 static_cast<XAccessibleAction*>(
this));
106 return "AccessibleOLEShape";
110 css::uno::Sequence< OUString> SAL_CALL
114 const css::uno::Sequence<OUString> vals {
"com.sun.star.drawing.AccessibleOLEShape" };
150 sName =
"AppletOLEShape";
153 sName =
"FrameOLEShape";
159 sName =
"PluginOLEShape";
163 sName =
"UnknownAccessibleOLEShape";
164 uno::Reference<drawing::XShapeDescriptor> xDescriptor (
mxShape);
165 if (xDescriptor.is())
166 sName +=
": " + xDescriptor->getShapeType();
virtual css::uno::Sequence< OUString > SAL_CALL getSupportedServiceNames() override
sal_Int32 SAL_CALL getAccessibleActionCount() override
virtual css::uno::Any SAL_CALL getExtendedAttributes() override
virtual void SAL_CALL acquire() override
virtual ~AccessibleOLEShape() override
virtual css::uno::Any SAL_CALL queryInterface(const css::uno::Type &rType) override
virtual OUString SAL_CALL getImplementationName() override
Returns an identifier for the implementation of this object.
virtual css::uno::Sequence< css::uno::Type > SAL_CALL getTypes() override
css::uno::Reference< css::drawing::XShape > mxShape
Reference to the actual shape.
int ShapeTypeId
Use an integer to represent shape type ids.
static ShapeTypeHandler & Instance()
This function returns a reference to the only instance of this class.
css::uno::Type const & get()
virtual css::uno::Sequence< css::uno::Type > SAL_CALL getTypes() override
virtual OUString CreateAccessibleBaseName() override
Create a name string that contains the accessible name.
virtual css::uno::Any SAL_CALL queryInterface(const css::uno::Type &rType) override
css::uno::Sequence< T > concatSequences(const css::uno::Sequence< T > &rS1, const Ss &...rSn)
exports com.sun.star. style
This base class provides a base implementation for all shapes.
sal_Bool SAL_CALL doAccessibleAction(sal_Int32 nIndex) override
css::uno::Reference< css::accessibility::XAccessibleKeyBinding > SAL_CALL getAccessibleActionKeyBinding(sal_Int32 nIndex) override
ShapeTypeId GetTypeId(const OUString &aServiceName) const
Determines the type id of a shape with the given service name.
virtual void SAL_CALL release() override
virtual void SAL_CALL release() override
This class is a container for the information specific for a single shape that is passed to the const...
virtual void SAL_CALL acquire() override
virtual css::uno::Sequence< OUString > SAL_CALL getSupportedServiceNames() override
OUString SAL_CALL getAccessibleActionDescription(sal_Int32 nIndex) override
SdrObject * m_pShape
This object can be removed when we have an extra interface to ask if the shape is selected...
This class bundles all information that is passed down the tree of accessible shapes so that each sha...
css::uno::Any SAL_CALL queryInterface(const css::uno::Type &rType, Interface1 *p1)