26#include <com/sun/star/drawing/XShape.hpp>
27#include <com/sun/star/drawing/XShapeDescriptor.hpp>
36AccessibleGraphicShape::AccessibleGraphicShape (
73 if ( ! aReturn.hasValue())
74 aReturn = ::cppu::queryInterface (rType,
75 static_cast<XAccessibleImage*
>(
this));
99 return "AccessibleGraphicShape";
103css::uno::Sequence< OUString> SAL_CALL
107 const css::uno::Sequence<OUString> vals {
"com.sun.star.drawing.AccessibleGraphicShape" };
112uno::Sequence<uno::Type> SAL_CALL
131 sName =
"GraphicObjectShape";
135 sName =
"UnknownAccessibleGraphicShape";
136 uno::Reference<drawing::XShapeDescriptor> xDescriptor (
mxShape);
137 if (xDescriptor.is())
138 sName +=
": " + xDescriptor->getShapeType();
virtual OUString GetTitle() const
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
sal_Int32 SAL_CALL getAccessibleImageHeight() override
virtual void SAL_CALL release() noexcept override
sal_Int32 SAL_CALL getAccessibleImageWidth() override
virtual css::uno::Sequence< OUString > SAL_CALL getSupportedServiceNames() override
virtual OUString CreateAccessibleBaseName() override
Create a name string that contains the accessible name.
virtual void SAL_CALL acquire() noexcept override
virtual css::uno::Any SAL_CALL queryInterface(const css::uno::Type &rType) override
OUString SAL_CALL getAccessibleImageDescription() override
virtual ~AccessibleGraphicShape() override
@descr This class is a container for the information specific for a single shape that is passed to th...
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.
css::uno::Reference< css::drawing::XShape > mxShape
Reference to the actual shape.
virtual void SAL_CALL release() noexcept override
virtual void SAL_CALL acquire() noexcept override
SdrObject * m_pShape
This object can be removed when we have an extra interface to ask if the shape is selected.
virtual css::uno::Any SAL_CALL queryInterface(const css::uno::Type &rType) override
virtual css::awt::Size SAL_CALL getSize() override
virtual css::uno::Sequence< OUString > SAL_CALL getSupportedServiceNames() override
virtual OUString SAL_CALL getAccessibleDescription() override
virtual css::uno::Sequence< css::uno::Type > SAL_CALL getTypes() override
ShapeTypeId GetTypeId(const OUString &aServiceName) const
Determines the type id of a shape with the given service name.
static ShapeTypeHandler & Instance()
This function returns a reference to the only instance of this class.
css::uno::Type const & get()
int ShapeTypeId
Use an integer to represent shape type ids.
css::uno::Sequence< T > concatSequences(const css::uno::Sequence< T > &rS1, const Ss &... rSn)