43 if(
Row() != rAddress.
Row() )
44 return (
Row() < rAddress.
Row());
46 return (
Col() < rAddress.
Col());
69 virtual void SAL_CALL
disposing()
override;
107 virtual css::uno::Reference< css::accessibility::XAccessibleTable > SAL_CALL
111 virtual css::uno::Reference< css::accessibility::XAccessibleTable > SAL_CALL
115 virtual css::uno::Sequence< sal_Int32 > SAL_CALL
119 virtual css::uno::Sequence< sal_Int32 > SAL_CALL
131 virtual css::uno::Reference< css::accessibility::XAccessible > SAL_CALL
142 virtual css::uno::Reference< css::accessibility::XAccessible >
144 const css::awt::Point& rPoint )
override;
146 virtual void SAL_CALL
grabFocus( )
override;
155 virtual css::uno::Reference<css::accessibility::XAccessibleRelationSet> SAL_CALL
159 virtual sal_Int64 SAL_CALL
164 virtual void SAL_CALL
167 virtual void SAL_CALL
170 virtual void SAL_CALL
173 virtual sal_Int64 SAL_CALL
176 virtual css::uno::Reference<css::accessibility::XAccessible > SAL_CALL
179 virtual void SAL_CALL
186 virtual OUString SAL_CALL
191 virtual css::uno::Sequence< OUString> SAL_CALL
198 virtual css::uno::Sequence<sal_Int8> SAL_CALL
206 virtual void SAL_CALL
208 const css::uno::Reference<css::accessibility::XAccessibleEventListener>& xListener)
override;
223 bool IsDefunc(sal_Int64 nParentStates);
228 void SelectCell(sal_Int32 nRow, sal_Int32 nCol,
bool bDeselect);
254 typedef std::map<ScMyAddress,css::uno::Reference< css::accessibility::XAccessible > >
271 std::map<ScAddress, unotools::WeakReference< ScAccessibleCell > >
@descr This base class provides an implementation of the AccessibleCell service.
@descr This base class provides an implementation of the AccessibleTable service.
virtual void Notify(SfxBroadcaster &rBC, const SfxHint &rHint) override
===== SfxListener =====================================================
std::map< ScMyAddress, css::uno::Reference< css::accessibility::XAccessible > > MAP_ADDR_XACC
virtual void SAL_CALL grabFocus() override
static ScDocument * GetDocument(ScTabViewShell *pViewShell)
virtual sal_Bool SAL_CALL unselectColumn(sal_Int32 column) override
virtual sal_Bool SAL_CALL isAccessibleRowSelected(sal_Int32 nRow) override
Returns a boolean value indicating whether the specified row is selected.
virtual css::uno::Reference< css::accessibility::XAccessibleRelationSet > SAL_CALL getAccessibleRelationSet() override
===== XAccessibleContext ==============================================
std::vector< ScMyAddress > m_vecFormulaLastMyAddr
virtual css::uno::Reference< css::accessibility::XAccessibleTable > SAL_CALL getAccessibleColumnHeaders() override
Returns the column headers as an AccessibleTable.
virtual ~ScAccessibleSpreadsheet() override
bool CheckChildIndex(sal_Int64) const
virtual css::uno::Sequence< OUString > SAL_CALL getSupportedServiceNames() override
Returns a list of all supported services.
virtual sal_Int64 SAL_CALL getAccessibleStateSet() override
Return the set of current states.
void FireFirstCellFocus()
bool IsCompleteSheetSelected()
virtual sal_Bool SAL_CALL unselectRow(sal_Int32 row) override
ScAddress m_aFormulaActiveCell
virtual css::uno::Reference< css::accessibility::XAccessibleTable > SAL_CALL getAccessibleRowHeaders() override
===== XAccessibleTable ================================================
virtual css::uno::Sequence< sal_Int8 > SAL_CALL getImplementationId() override
===== XTypeProvider ===================================================
virtual css::uno::Sequence< sal_Int32 > SAL_CALL getSelectedAccessibleRows() override
Returns the selected rows in a table.
virtual void SAL_CALL deselectAccessibleChild(sal_Int64 nChildIndex) override
void CommitFocusCell(const ScAddress &aNewCell)
rtl::Reference< ScAccessibleCell > mpAccCell
MAP_ADDR_XACC m_mapFormulaSelectionSend
virtual sal_Int64 SAL_CALL getSelectedAccessibleChildCount() override
static bool CalcScRangeDifferenceMax(const ScRange &rSrc, const ScRange &rDest, int nMax, std::vector< ScMyAddress > &vecRet, int &nSize)
ScMyAddress CalcScAddressFromRangeList(ScRangeList *pMarkedRanges, sal_Int32 nSelectedChildIndex)
sal_Int32 GetRowAll() const
virtual void SAL_CALL selectAllAccessibleChildren() override
void ConstructScAccessibleSpreadsheet(ScAccessibleDocument *pAccDoc, ScTabViewShell *pViewShell, SCTAB nTab, ScSplitPos eSplitPos)
sal_Int64 GetAccessibleIndexFormula(sal_Int32 nRow, sal_Int32 nColumn)
bool IsScAddrFormulaSel(const ScAddress &addr) const
virtual css::uno::Reference< css::accessibility::XAccessible > SAL_CALL getAccessibleCellAt(sal_Int32 nRow, sal_Int32 nColumn) override
Returns the Accessible at a specified row and column in the table.
MAP_ADDR_XACC m_mapSelectionSend
std::unique_ptr< ScRangeList > mpMarkedRanges
virtual sal_Bool SAL_CALL selectColumn(sal_Int32 column) override
virtual sal_Int32 SAL_CALL getBackground() override
ScAccessibleSpreadsheet(ScAccessibleDocument *pAccDoc, ScTabViewShell *pViewShell, SCTAB nTab, ScSplitPos eSplitPos)
virtual css::uno::Reference< css::accessibility::XAccessible > SAL_CALL getSelectedAccessibleChild(sal_Int64 nSelectedChildIndex) override
void RemoveFormulaSelection(bool bRemoveAll=false)
OUString m_strCurCellValue
virtual sal_Bool SAL_CALL isAccessibleSelected(sal_Int32 nRow, sal_Int32 nColumn) override
Returns a boolean value indicating whether the accessible at a specified row and column is selected.
virtual sal_Bool SAL_CALL selectRow(sal_Int32 row) override
static bool CalcScRangeListDifferenceMax(ScRangeList *pSrc, ScRangeList *pDest, int nMax, std::vector< ScMyAddress > &vecRet)
rtl::Reference< ScAccessibleCell > m_pAccFormulaCell
ScRange m_aLastWithInMarkRange
virtual css::uno::Sequence< sal_Int32 > SAL_CALL getSelectedAccessibleColumns() override
Returns the selected columns in a table.
virtual sal_Bool SAL_CALL isAccessibleColumnSelected(sal_Int32 nColumn) override
Returns a boolean value indicating whether the specified column is selected.
ScAddress GetChildIndexAddress(sal_Int64) const
virtual void SAL_CALL disposing() override
virtual tools::Rectangle GetBoundingBox() const override
Return the object's current bounding box relative to the parent object.
virtual sal_Int32 SAL_CALL getForeground() override
rtl::Reference< ScAccessibleCell > GetAccessibleCellAt(sal_Int32 nRow, sal_Int32 nColumn)
virtual css::uno::Reference< css::accessibility::XAccessible > SAL_CALL getAccessibleAtPoint(const css::awt::Point &rPoint) override
===== XAccessibleComponent ============================================
void BoundingBoxChanged()
ScTabViewShell * mpViewShell
virtual OUString SAL_CALL getImplementationName() override
===== XServiceInfo ====================================================
virtual void SAL_CALL addAccessibleEventListener(const css::uno::Reference< css::accessibility::XAccessibleEventListener > &xListener) override
===== XAccessibleEventBroadcaster =====================================
ScRangeList m_LastMarkedRanges
void CompleteSelectionChanged(bool bNewState)
void RemoveSelection(const ScMarkData &refScMarkData)
std::map< ScAddress, unotools::WeakReference< ScAccessibleCell > > m_mapCells
ScAccessibleDocument * mpAccDoc
void SelectCell(sal_Int32 nRow, sal_Int32 nCol, bool bDeselect)
virtual tools::Rectangle GetBoundingBoxOnScreen() const override
Return the object's current bounding box relative to the desktop.
bool GetFormulaCurrentFocusCell(ScAddress &addr)
virtual void SAL_CALL clearAccessibleSelection() override
sal_uInt16 GetColAll() const
virtual void SAL_CALL selectAccessibleChild(sal_Int64 nChildIndex) override
===== XAccessibleSelection ===========================================
virtual void SAL_CALL disposing() override
todo: It should be possible to have MarkArrays for each table, in order to enable "search all" across...
ScMyAddress(SCCOL nColP, SCROW nRowP, SCTAB nTabP)
bool operator<(const ScMyAddress &rAddress) const
ScMyAddress(const ScAddress &rAddress)