22#include <com/sun/star/accessibility/XAccessibleTable.hpp>
23#include <com/sun/star/accessibility/XAccessibleTableSelection.hpp>
25#include <com/sun/star/accessibility/XAccessibleSelection.hpp>
37 class SwAccessibleChild;
42 public css::accessibility::XAccessibleTable,
43 public css::accessibility::XAccessibleSelection,
44 public css::accessibility::XAccessibleTableSelection,
50 css::uno::WeakReference<css::accessibility::XAccessible> > >
Cells_t;
68 virtual void GetStates( sal_Int64& rStateSet )
override;
105 const css::uno::Type& aType )
override;
107 virtual void SAL_CALL
acquire( ) noexcept
override
108 { SwAccessibleContext::acquire(); };
110 virtual void SAL_CALL
release( ) noexcept
override
111 { SwAccessibleContext::release(); };
114 virtual css::uno::Sequence< css::uno::Type > SAL_CALL
getTypes( )
override;
120 virtual OUString SAL_CALL
128 sal_Int32 nRow )
override;
130 sal_Int32 nColumn )
override;
132 sal_Int32 nRow, sal_Int32 nColumn )
override;
134 sal_Int32 nRow, sal_Int32 nColumn )
override;
135 virtual css::uno::Reference<
136 css::accessibility::XAccessibleTable >
138 virtual css::uno::Reference<
139 css::accessibility::XAccessibleTable >
141 virtual css::uno::Sequence< sal_Int32 > SAL_CALL
143 virtual css::uno::Sequence< sal_Int32 > SAL_CALL
147 virtual css::uno::Reference<
148 css::accessibility::XAccessible > SAL_CALL
150 virtual css::uno::Reference<
151 css::accessibility::XAccessible > SAL_CALL
153 virtual css::uno::Reference<
154 css::accessibility::XAccessible > SAL_CALL
157 sal_Int32 nRow, sal_Int32 nColumn )
override;
159 sal_Int32 nRow, sal_Int32 nColumn )
override;
160 virtual sal_Int32 SAL_CALL
getAccessibleRow( sal_Int64 nChildIndex )
override;
171 virtual OUString SAL_CALL
182 virtual css::uno::Sequence< OUString> SAL_CALL
191 virtual void Dispose(
bool bRecursive,
bool bCanSkipInvisible =
true)
override;
194 bool bRecursive,
bool bCanSkipInvisible )
override;
196 const SwRect& rFrame )
override;
201 sal_Int64 nChildIndex )
override;
204 sal_Int64 nChildIndex )
override;
213 sal_Int64 nSelectedChildIndex )
override;
217 sal_Int64 nChildIndex )
override;
250 const css::uno::Type& aType )
override;
258 virtual css::uno::Reference< css::accessibility::XAccessible> SAL_CALL
263 virtual css::uno::Reference<
264 css::accessibility::XAccessibleTable >
266 virtual css::uno::Reference<
267 css::accessibility::XAccessibleTable >
274 virtual OUString SAL_CALL
constexpr OUStringLiteral sServiceName
virtual void InvalidateChildPosOrSize(const sw::access::SwAccessibleChild &rFrameOrObj, const SwRect &rFrame) override
sal_Int32 SAL_CALL getBackground() override
bool HasTableData() const
virtual void SAL_CALL clearAccessibleSelection() override
virtual css::uno::Reference< css::accessibility::XAccessible > SAL_CALL getAccessibleCellAt(sal_Int32 nRow, sal_Int32 nColumn) override
virtual sal_Bool SAL_CALL selectColumn(sal_Int32 column) override
virtual sal_Int64 SAL_CALL getSelectedAccessibleChildCount() override
virtual void DisposeChild(const sw::access::SwAccessibleChild &rFrameOrObj, bool bRecursive, bool bCanSkipInvisible) override
virtual ~SwAccessibleTable() override
virtual OUString SAL_CALL getAccessibleDescription() override
Return this object's description.
virtual sal_Bool SAL_CALL isAccessibleSelected(sal_Int32 nRow, sal_Int32 nColumn) override
virtual OUString SAL_CALL getAccessibleRowDescription(sal_Int32 nRow) override
virtual void InvalidatePosOrSize(const SwRect &rOldBox) override
virtual OUString SAL_CALL getImplementationName() override
Returns an identifier for the implementation of this object.
virtual css::uno::Sequence< OUString > SAL_CALL getSupportedServiceNames() override
Returns a list of all supported services.
virtual css::uno::Sequence< sal_Int32 > SAL_CALL getSelectedAccessibleRows() override
virtual sal_Bool SAL_CALL selectRow(sal_Int32 row) override
virtual css::uno::Reference< css::accessibility::XAccessible > SAL_CALL getAccessibleCaption() override
bool IsChildSelected(sal_Int64 nChildIndex) const
virtual css::uno::Sequence< sal_Int32 > SAL_CALL getSelectedAccessibleColumns() override
virtual sal_Int32 SAL_CALL getAccessibleRowExtentAt(sal_Int32 nRow, sal_Int32 nColumn) override
virtual css::uno::Any SAL_CALL queryInterface(const css::uno::Type &aType) override
virtual sal_Bool SAL_CALL isAccessibleRowSelected(sal_Int32 nRow) override
SwAccessibleTableData_Impl & GetTableData()
const SwTableBox * GetTableBox(sal_Int64) const
get the SwTableBox* for the given child
virtual css::uno::Reference< css::accessibility::XAccessible > SAL_CALL getAccessibleSummary() override
SwAccessibleTable(std::shared_ptr< SwAccessibleMap > const &pInitMap, const SwTabFrame *pTableFrame)
virtual std::unique_ptr< SwAccessibleTableData_Impl > CreateNewTableData()
virtual sal_Int64 SAL_CALL getAccessibleIndex(sal_Int32 nRow, sal_Int32 nColumn) override
void AddSelectionCell(SwAccessibleContext *, bool bAddOrRemove)
virtual sal_Bool SAL_CALL isAccessibleColumnSelected(sal_Int32 nColumn) override
virtual sal_Bool SAL_CALL unselectColumn(sal_Int32 column) override
virtual void Dispose(bool bRecursive, bool bCanSkipInvisible=true) override
virtual void GetStates(sal_Int64 &rStateSet) override
virtual void Notify(const SfxHint &) override
virtual sal_Int32 SAL_CALL getAccessibleColumnCount() override
std::unique_ptr< SwAccessibleTableData_Impl > mpTableData
virtual void SAL_CALL release() noexcept override
std::vector< std::pair< SwAccessibleContext *, css::uno::WeakReference< css::accessibility::XAccessible > > > Cells_t
virtual sal_Int32 SAL_CALL getAccessibleRow(sal_Int64 nChildIndex) override
virtual css::uno::Sequence< css::uno::Type > SAL_CALL getTypes() override
virtual css::uno::Sequence< sal_Int8 > SAL_CALL getImplementationId() override
virtual void SAL_CALL selectAccessibleChild(sal_Int64 nChildIndex) override
virtual void SAL_CALL acquire() noexcept override
virtual sal_Int32 SAL_CALL getAccessibleColumn(sal_Int64 nChildIndex) override
virtual sal_Bool SAL_CALL supportsService(const OUString &sServiceName) override
Return whether the specified service is supported by this class.
virtual sal_Bool SAL_CALL unselectRow(sal_Int32 row) override
virtual sal_Bool SAL_CALL isAccessibleChildSelected(sal_Int64 nChildIndex) override
virtual void SAL_CALL selectAllAccessibleChildren() override
virtual void SAL_CALL deselectAccessibleChild(sal_Int64 nChildIndex) override
virtual css::uno::Reference< css::accessibility::XAccessibleTable > SAL_CALL getAccessibleRowHeaders() override
virtual sal_Int32 SAL_CALL getAccessibleColumnExtentAt(sal_Int32 nRow, sal_Int32 nColumn) override
sal_Int64 GetIndexOfSelectedChild(sal_Int64 nSelectedChildIndex) const
virtual OUString SAL_CALL getAccessibleColumnDescription(sal_Int32 nColumn) override
virtual css::uno::Reference< css::accessibility::XAccessibleTable > SAL_CALL getAccessibleColumnHeaders() override
const SwSelBoxes * GetSelBoxes() const
void FireTableChangeEvent(const SwAccessibleTableData_Impl &rTableData)
void SetDesc(const OUString &sNewDesc)
void FireSelectionEvent()
virtual sal_Int32 SAL_CALL getAccessibleRowCount() override
virtual css::uno::Reference< css::accessibility::XAccessible > SAL_CALL getSelectedAccessibleChild(sal_Int64 nSelectedChildIndex) override
Of course Writer needs its own rectangles.
SwTabFrame is one table in the document layout, containing rows (which contain cells).
SwTableBox is one table cell in the document model.