25#include <com/sun/star/accessibility/XAccessibleExtendedAttributes.hpp>
31namespace utl {
class AccessibleRelationSetHelper; }
50 const css::uno::Reference<css::accessibility::XAccessible>& rxParent,
59 const css::uno::Reference<css::accessibility::XAccessible>& rxParent,
66 virtual void Init()
override;
69 virtual void SAL_CALL
disposing()
override;
87 virtual css::uno::Reference< css::accessibility::XAccessible >
90 virtual void SAL_CALL
grabFocus( )
override;
104 virtual sal_Int64 SAL_CALL
109 virtual css::uno::Reference< css::accessibility::XAccessible> SAL_CALL
113 virtual sal_Int64 SAL_CALL
116 virtual css::uno::Reference<
117 css::accessibility::XAccessibleRelationSet> SAL_CALL
124 virtual OUString SAL_CALL
129 virtual css::uno::Sequence< OUString> SAL_CALL
135 virtual css::uno::Sequence< css::beans::PropertyValue > SAL_CALL
getCharacterAttributes( sal_Int32
nIndex,
const css::uno::Sequence< OUString >& aRequestedAttributes )
override;
142 bool IsDefunc(sal_Int64 nParentStates);
143 virtual bool IsEditable(sal_Int64 nParentStates)
override;
155 const sal_uInt16 aRelationType,
158 const sal_uInt16 aRelationType,
cppu::ImplHelper1< css::accessibility::XAccessibleExtendedAttributes > ScAccessibleCellAttributeImpl
@descr This base class provides an implementation of the AccessibleCell service.
ScTabViewShell * mpViewShell
static rtl::Reference< ScAccessibleCell > create(const css::uno::Reference< css::accessibility::XAccessible > &rxParent, ScTabViewShell *pViewShell, const ScAddress &rCellAddress, sal_Int64 nIndex, ScSplitPos eSplitPos, ScAccessibleDocument *pAccDoc)
virtual css::uno::Reference< css::accessibility::XAccessible > SAL_CALL getAccessibleChild(sal_Int64 nIndex) override
Return the specified child or NULL if index is invalid.
ScAccessibleCell(const css::uno::Reference< css::accessibility::XAccessible > &rxParent, ScTabViewShell *pViewShell, const ScAddress &rCellAddress, sal_Int64 nIndex, ScSplitPos eSplitPos, ScAccessibleDocument *pAccDoc)
ScAccessibleDocument * mpAccDoc
virtual css::uno::Reference< css::accessibility::XAccessible > SAL_CALL getAccessibleAtPoint(const css::awt::Point &rPoint) override
===== XInterface =====================================================
::std::unique_ptr< SvxEditSource > CreateEditSource(ScTabViewShell *pViewShell, ScAddress aCell, ScSplitPos eSplitPos)
void FillDependents(utl::AccessibleRelationSetHelper *pRelationSet)
virtual ~ScAccessibleCell() override
virtual OUString SAL_CALL getImplementationName() override
===== XServiceInfo ====================================================
static ScDocument * GetDocument(ScTabViewShell *mpViewShell)
virtual css::uno::Any SAL_CALL getExtendedAttributes() override
virtual void Init() override
virtual css::uno::Sequence< css::beans::PropertyValue > SAL_CALL getCharacterAttributes(sal_Int32 nIndex, const css::uno::Sequence< OUString > &aRequestedAttributes) override
virtual sal_Int64 SAL_CALL getAccessibleStateSet() override
Return the set of current states.
virtual void SAL_CALL grabFocus() override
virtual tools::Rectangle GetBoundingBox() const override
Return the object's current bounding box relative to the parent object.
virtual bool IsEditable(sal_Int64 nParentStates) override
virtual sal_Int64 SAL_CALL getAccessibleChildCount() override
===== XAccessibleContext ==============================================
void FillPrecedents(utl::AccessibleRelationSetHelper *pRelationSet)
virtual css::uno::Reference< css::accessibility::XAccessibleRelationSet > SAL_CALL getAccessibleRelationSet() override
Return NULL to indicate that an empty relation set.
virtual void SAL_CALL disposing() override
void AddRelation(const ScRange &rRange, const sal_uInt16 aRelationType, ::utl::AccessibleRelationSetHelper *pRelationSet)
virtual tools::Rectangle GetBoundingBoxOnScreen() const override
Return the object's current bounding box relative to the desktop.
void AddRelation(const ScAddress &rCell, const sal_uInt16 aRelationType, ::utl::AccessibleRelationSetHelper *pRelationSet)
virtual css::uno::Sequence< OUString > SAL_CALL getSupportedServiceNames() override
Returns a list of all supported services.
virtual void SAL_CALL disposing() override
#define DECLARE_XTYPEPROVIDER()
#define DECLARE_XINTERFACE()