LibreOffice Module sc (master)  1
Public Member Functions | Static Public Member Functions | Private Types | Private Member Functions | Static Private Member Functions | Private Attributes | List of all members
ScAccessibleSpreadsheet Class Referencefinal

This base class provides an implementation of the AccessibleTable service. More...

#include <AccessibleSpreadsheet.hxx>

Inheritance diagram for ScAccessibleSpreadsheet:
[legend]
Collaboration diagram for ScAccessibleSpreadsheet:
[legend]

Public Member Functions

 ScAccessibleSpreadsheet (ScAccessibleDocument *pAccDoc, ScTabViewShell *pViewShell, SCTAB nTab, ScSplitPos eSplitPos)
 
virtual void SAL_CALL disposing () override
 
void CompleteSelectionChanged (bool bNewState)
 
void LostFocus ()
 
void GotFocus ()
 
void BoundingBoxChanged ()
 
void VisAreaChanged ()
 
void FireFirstCellFocus ()
 
bool IsScAddrFormulaSel (const ScAddress &addr) const
 
bool IsFormulaMode ()
 
ScMyAddress CalcScAddressFromRangeList (ScRangeList *pMarkedRanges, sal_Int32 nSelectedChildIndex)
 
- Public Member Functions inherited from ScAccessibleTableBase
 ScAccessibleTableBase (const css::uno::Reference< css::accessibility::XAccessible > &rxParent, ScDocument *pDoc, const ScRange &rRange)
 
virtual css::uno::Any SAL_CALL queryInterface (css::uno::Type const &rType) override
 ===== XInterface ===================================================== More...
 
virtual void SAL_CALL acquire () override throw ()
 
virtual void SAL_CALL release () override throw ()
 
virtual sal_Int32 SAL_CALL getAccessibleRowCount () override
 ===== XAccessibleTable ================================================ More...
 
virtual sal_Int32 SAL_CALL getAccessibleColumnCount () override
 Returns the number of columns in the table. More...
 
virtual OUString SAL_CALL getAccessibleRowDescription (sal_Int32 nRow) override
 Returns the description of the specified row in the table. More...
 
virtual OUString SAL_CALL getAccessibleColumnDescription (sal_Int32 nColumn) override
 Returns the description text of the specified column in the table. More...
 
virtual sal_Int32 SAL_CALL getAccessibleRowExtentAt (sal_Int32 nRow, sal_Int32 nColumn) override
 Returns the number of rows occupied by the Accessible at a specified row and column in the table. More...
 
virtual sal_Int32 SAL_CALL getAccessibleColumnExtentAt (sal_Int32 nRow, sal_Int32 nColumn) override
 Returns the number of columns occupied by the Accessible at a specified row and column in the table. More...
 
virtual css::uno::Reference< css::accessibility::XAccessible > SAL_CALL getAccessibleCaption () override
 Returns the caption for the table. More...
 
virtual css::uno::Reference< css::accessibility::XAccessible > SAL_CALL getAccessibleSummary () override
 Returns the summary description of the table. More...
 
virtual sal_Int32 SAL_CALL getAccessibleIndex (sal_Int32 nRow, sal_Int32 nColumn) override
 ===== XAccessibleExtendedTable ======================================== More...
 
virtual sal_Int32 SAL_CALL getAccessibleRow (sal_Int32 nChildIndex) override
 Returns the row number of an index in the table. More...
 
virtual sal_Int32 SAL_CALL getAccessibleColumn (sal_Int32 nChildIndex) override
 Returns the column number of an index in the table. More...
 
virtual sal_Int32 SAL_CALL getAccessibleChildCount () override
 Return the number of currently visible children. More...
 
virtual css::uno::Reference< css::accessibility::XAccessible > SAL_CALL getAccessibleChild (sal_Int32 nIndex) override
 Return the specified child or NULL if index is invalid. More...
 
virtual sal_Bool SAL_CALL isAccessibleChildSelected (sal_Int32 nChildIndex) override
 
virtual css::uno::Sequence< css::uno::Type > SAL_CALL getTypes () override
 ===== XTypeProvider =================================================== More...
 
- Public Member Functions inherited from ScAccessibleContextBase
 ScAccessibleContextBase (const css::uno::Reference< css::accessibility::XAccessible > &rxParent, const sal_Int16 aRole)
 
virtual void Init ()
 
bool isShowing ()
 
virtual bool isVisible ()
 
virtual css::uno::Reference< css::accessibility::XAccessibleContext > SAL_CALL getAccessibleContext () override
 ===== XAccessible ===================================================== More...
 
virtual sal_Bool SAL_CALL containsPoint (const css::awt::Point &rPoint) override
 ===== XAccessibleComponent ============================================ More...
 
virtual css::awt::Rectangle SAL_CALL getBounds () override
 
virtual css::awt::Point SAL_CALL getLocation () override
 
virtual css::awt::Point SAL_CALL getLocationOnScreen () override
 
virtual css::awt::Size SAL_CALL getSize () override
 
virtual css::uno::Reference< css::accessibility::XAccessible > SAL_CALL getAccessibleParent () override
 Return a reference to the parent. More...
 
virtual sal_Int32 SAL_CALL getAccessibleIndexInParent () override
 Return this objects index among the parents children. More...
 
virtual sal_Int16 SAL_CALL getAccessibleRole () override
 Return this object's role. More...
 
virtual OUString SAL_CALL getAccessibleDescription () override
 Return this object's description. More...
 
virtual OUString SAL_CALL getAccessibleName () override
 Return the object's current name. More...
 
virtual css::lang::Locale SAL_CALL getLocale () override
 Return the parents locale or throw exception if this object has no parent yet/anymore. More...
 
virtual void SAL_CALL removeAccessibleEventListener (const css::uno::Reference< css::accessibility::XAccessibleEventListener > &xListener) override
 
virtual void SAL_CALL disposing (const css::lang::EventObject &Source) override
 ===== XAccessibleEventListener ======================================== More...
 
virtual void SAL_CALL notifyEvent (const css::accessibility::AccessibleEventObject &aEvent) override
 
virtual sal_Bool SAL_CALL supportsService (const OUString &sServiceName) override
 Return whether the specified service is supported by this class. More...
 
void CommitChange (const css::accessibility::AccessibleEventObject &rEvent) const
 Calls all Listener to tell they the change. More...
 
void SetName (const OUString &rName)
 Use this method to set initial Name without notification. More...
 
void SetDescription (const OUString &rDesc)
 Use this method to set initial Description without notification. More...
 
void SetParent (const css::uno::Reference< css::accessibility::XAccessible > &rParent)
 
- Public Member Functions inherited from cppu::WeakAggComponentImplHelper5< class, class, class, class, class >
 WeakAggComponentImplHelper5 (::osl::Mutex &rMutex)
 
virtual css::uno::Any SAL_CALL queryAggregation (css::uno::Type const &rType) SAL_OVERRIDE
 
- Public Member Functions inherited from SfxListener
 SfxListener ()
 
 SfxListener (const SfxListener &rCopy)
 
virtual ~SfxListener () COVERITY_NOEXCEPT_FALSE
 
void StartListening (SfxBroadcaster &rBroadcaster, DuplicateHandling eDuplicateHanding=DuplicateHandling::Unexpected)
 
void EndListening (SfxBroadcaster &rBroadcaster, bool bRemoveAllDuplicates=false)
 
void EndListeningAll ()
 
bool IsListening (SfxBroadcaster &rBroadcaster) const
 
sal_uInt16 GetBroadcasterCount () const
 
SfxBroadcasterGetBroadcasterJOE (sal_uInt16 nNo) const
 
void RemoveBroadcaster_Impl (SfxBroadcaster &rBC)
 

Static Public Member Functions

static bool CalcScRangeDifferenceMax (const ScRange &rSrc, const ScRange &rDest, int nMax, std::vector< ScMyAddress > &vecRet, int &nSize)
 
static bool CalcScRangeListDifferenceMax (ScRangeList *pSrc, ScRangeList *pDest, int nMax, std::vector< ScMyAddress > &vecRet)
 

Private Types

typedef std::map< ScMyAddress, css::uno::Reference< css::accessibility::XAccessible > > MAP_ADDR_XACC
 
typedef std::pair< sal_uInt16, sal_uInt16 > PAIR_COL
 

Private Member Functions

 ScAccessibleSpreadsheet (ScAccessibleSpreadsheet &rParent, const ScRange &rRange)
 
virtual ~ScAccessibleSpreadsheet () override
 
void ConstructScAccessibleSpreadsheet (ScAccessibleDocument *pAccDoc, ScTabViewShell *pViewShell, SCTAB nTab, ScSplitPos eSplitPos)
 
virtual void Notify (SfxBroadcaster &rBC, const SfxHint &rHint) override
 ===== SfxListener ===================================================== More...
 
virtual css::uno::Reference< css::accessibility::XAccessibleTable > SAL_CALL getAccessibleRowHeaders () override
 ===== XAccessibleTable ================================================ More...
 
virtual css::uno::Reference< css::accessibility::XAccessibleTable > SAL_CALL getAccessibleColumnHeaders () override
 Returns the column headers as an AccessibleTable. More...
 
virtual css::uno::Sequence< sal_Int32 > SAL_CALL getSelectedAccessibleRows () override
 Returns the selected rows in a table. More...
 
virtual css::uno::Sequence< sal_Int32 > SAL_CALL getSelectedAccessibleColumns () override
 Returns the selected columns in a table. More...
 
virtual sal_Bool SAL_CALL isAccessibleRowSelected (sal_Int32 nRow) override
 Returns a boolean value indicating whether the specified row is selected. More...
 
virtual sal_Bool SAL_CALL isAccessibleColumnSelected (sal_Int32 nColumn) override
 Returns a boolean value indicating whether the specified column is selected. More...
 
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. More...
 
rtl::Reference< ScAccessibleCellGetAccessibleCellAt (sal_Int32 nRow, sal_Int32 nColumn)
 
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. More...
 
virtual css::uno::Reference< css::accessibility::XAccessible > SAL_CALL getAccessibleAtPoint (const css::awt::Point &rPoint) override
 ===== XAccessibleComponent ============================================ More...
 
virtual void SAL_CALL grabFocus () override
 
virtual sal_Int32 SAL_CALL getForeground () override
 
virtual sal_Int32 SAL_CALL getBackground () override
 
virtual css::uno::Reference< css::accessibility::XAccessibleRelationSet > SAL_CALL getAccessibleRelationSet () override
 ===== XAccessibleContext ============================================== More...
 
virtual css::uno::Reference< css::accessibility::XAccessibleStateSet > SAL_CALL getAccessibleStateSet () override
 Return the set of current states. More...
 
virtual void SAL_CALL selectAccessibleChild (sal_Int32 nChildIndex) override
 ===== XAccessibleSelection =========================================== More...
 
virtual void SAL_CALL clearAccessibleSelection () override
 
virtual void SAL_CALL selectAllAccessibleChildren () override
 
virtual sal_Int32 SAL_CALL getSelectedAccessibleChildCount () override
 
virtual css::uno::Reference< css::accessibility::XAccessible > SAL_CALL getSelectedAccessibleChild (sal_Int32 nSelectedChildIndex) override
 
virtual void SAL_CALL deselectAccessibleChild (sal_Int32 nChildIndex) override
 
virtual OUString SAL_CALL getImplementationName () override
 ===== XServiceInfo ==================================================== More...
 
virtual css::uno::Sequence< OUString > SAL_CALL getSupportedServiceNames () override
 Returns a list of all supported services. More...
 
virtual css::uno::Sequence< sal_Int8 > SAL_CALL getImplementationId () override
 ===== XTypeProvider =================================================== More...
 
virtual void SAL_CALL addAccessibleEventListener (const css::uno::Reference< css::accessibility::XAccessibleEventListener > &xListener) override
 ===== XAccessibleEventBroadcaster ===================================== More...
 
virtual sal_Bool SAL_CALL selectRow (sal_Int32 row) override
 
virtual sal_Bool SAL_CALL selectColumn (sal_Int32 column) override
 
virtual sal_Bool SAL_CALL unselectRow (sal_Int32 row) override
 
virtual sal_Bool SAL_CALL unselectColumn (sal_Int32 column) override
 
virtual tools::Rectangle GetBoundingBoxOnScreen () const override
 Return the object's current bounding box relative to the desktop. More...
 
virtual tools::Rectangle GetBoundingBox () const override
 Return the object's current bounding box relative to the parent object. More...
 
bool IsDefunc (const css::uno::Reference< css::accessibility::XAccessibleStateSet > &rxParentStates)
 
bool IsEditable ()
 
bool IsFocused ()
 
bool IsCompleteSheetSelected ()
 
void SelectCell (sal_Int32 nRow, sal_Int32 nCol, bool bDeselect)
 
void RemoveSelection (const ScMarkData &refScMarkData)
 
void CommitFocusCell (const ScAddress &aNewCell)
 
sal_Int32 GetRowAll () const
 
sal_uInt16 GetColAll () const
 
void NotifyRefMode ()
 
void RemoveFormulaSelection (bool bRemoveAll=false)
 
bool CheckChildIndex (sal_Int32) const
 
ScAddress GetChildIndexAddress (sal_Int32) const
 
sal_Int32 GetAccessibleIndexFormula (sal_Int32 nRow, sal_Int32 nColumn)
 
bool GetFormulaCurrentFocusCell (ScAddress &addr)
 

Static Private Member Functions

static ScDocumentGetDocument (ScTabViewShell *pViewShell)
 

Private Attributes

ScTabViewShellmpViewShell
 
std::unique_ptr< ScRangeListmpMarkedRanges
 
ScAccessibleDocumentmpAccDoc
 
rtl::Reference< ScAccessibleCellmpAccCell
 
ScSplitPos meSplitPos
 
ScAddress maActiveCell
 
SCTAB mnTab
 
bool mbIsSpreadsheet
 
bool mbDelIns
 
bool mbIsFocusSend
 
MAP_ADDR_XACC m_mapSelectionSend
 
bool m_bFormulaMode
 
bool m_bFormulaLastMode
 
ScAddress m_aFormulaActiveCell
 
MAP_ADDR_XACC m_mapFormulaSelectionSend
 
std::vector< ScMyAddressm_vecFormulaLastMyAddr
 
rtl::Reference< ScAccessibleCellm_pAccFormulaCell
 
sal_uInt16 m_nMinX
 
sal_uInt16 m_nMaxX
 
sal_Int32 m_nMinY
 
sal_Int32 m_nMaxY
 
ScRange m_aLastWithInMarkRange
 
OUString m_strCurCellValue
 
ScRangeList m_LastMarkedRanges
 
std::vector< ScRangem_vecTempRange
 
std::vector< PAIR_COLm_vecTempCol
 
OUString m_strOldTabName
 

Additional Inherited Members

- Protected Member Functions inherited from ScAccessibleTableBase
virtual ~ScAccessibleTableBase () override
 
virtual OUString createAccessibleDescription () override
 Return this object's description. More...
 
virtual OUString createAccessibleName () override
 Return the object's current name. More...
 
void CommitTableModelChange (sal_Int32 nStartRow, sal_Int32 nStartCol, sal_Int32 nEndRow, sal_Int32 nEndCol, sal_uInt16 nId)
 
- Protected Member Functions inherited from ScAccessibleContextBase
virtual ~ScAccessibleContextBase () override
 
void CommitFocusGained () const
 Calls all FocusListener to tell they that the focus is gained. More...
 
void CommitFocusLost () const
 Calls all FocusListener to tell they that the focus is lost. More...
 
bool IsDefunc () const
 
void IsObjectValid () const
 
- Protected Member Functions inherited from cppu::ImplHelper1< class >
 ~ImplHelper1 ()
 
- Protected Member Functions inherited from cppu::ImplHelper2< class, class >
 ~ImplHelper2 ()
 
- Protected Attributes inherited from ScAccessibleTableBase
ScRange maRange
 contains the range of the table, because it could be a subrange of the complete table More...
 
ScDocumentmpDoc
 
- Protected Attributes inherited from ScAccessibleContextBase
css::uno::Reference< css::accessibility::XAccessible > mxParent
 Reference to the parent object. More...
 
- Protected Attributes inherited from cppu::BaseMutex
mutable::osl::Mutex m_aMutex
 

Detailed Description

This base class provides an implementation of the AccessibleTable service.

Definition at line 58 of file AccessibleSpreadsheet.hxx.

Member Typedef Documentation

typedef std::map<ScMyAddress,css::uno::Reference< css::accessibility::XAccessible > > ScAccessibleSpreadsheet::MAP_ADDR_XACC
private

Definition at line 256 of file AccessibleSpreadsheet.hxx.

typedef std::pair<sal_uInt16,sal_uInt16> ScAccessibleSpreadsheet::PAIR_COL
private

Definition at line 272 of file AccessibleSpreadsheet.hxx.

Constructor & Destructor Documentation

ScAccessibleSpreadsheet::ScAccessibleSpreadsheet ( ScAccessibleDocument pAccDoc,
ScTabViewShell pViewShell,
SCTAB  nTab,
ScSplitPos  eSplitPos 
)
ScAccessibleSpreadsheet::ScAccessibleSpreadsheet ( ScAccessibleSpreadsheet rParent,
const ScRange rRange 
)
private
ScAccessibleSpreadsheet::~ScAccessibleSpreadsheet ( )
overrideprivatevirtual

Member Function Documentation

void SAL_CALL ScAccessibleSpreadsheet::addAccessibleEventListener ( const css::uno::Reference< css::accessibility::XAccessibleEventListener > &  xListener)
overrideprivatevirtual

===== XAccessibleEventBroadcaster =====================================

Add listener that is informed of future changes of name, description and so on events.

Reimplemented from ScAccessibleContextBase.

Definition at line 1289 of file AccessibleSpreadsheet.cxx.

References ScAccessibleContextBase::addAccessibleEventListener(), and ScAccessibleContextBase::IsObjectValid().

void ScAccessibleSpreadsheet::BoundingBoxChanged ( )

Definition at line 387 of file AccessibleSpreadsheet.cxx.

References aEvent, and ScAccessibleContextBase::CommitChange().

ScMyAddress ScAccessibleSpreadsheet::CalcScAddressFromRangeList ( ScRangeList pMarkedRanges,
sal_Int32  nSelectedChildIndex 
)
bool ScAccessibleSpreadsheet::CalcScRangeDifferenceMax ( const ScRange rSrc,
const ScRange rDest,
int  nMax,
std::vector< ScMyAddress > &  vecRet,
int nSize 
)
static
bool ScAccessibleSpreadsheet::CalcScRangeListDifferenceMax ( ScRangeList pSrc,
ScRangeList pDest,
int  nMax,
std::vector< ScMyAddress > &  vecRet 
)
static
bool ScAccessibleSpreadsheet::CheckChildIndex ( sal_Int32  nIndex) const
private

Definition at line 1592 of file AccessibleSpreadsheet.cxx.

References m_nMaxX, m_nMaxY, m_nMinX, and m_nMinY.

Referenced by getSelectedAccessibleChild().

void SAL_CALL ScAccessibleSpreadsheet::clearAccessibleSelection ( )
overrideprivatevirtual
void ScAccessibleSpreadsheet::CommitFocusCell ( const ScAddress aNewCell)
private
void ScAccessibleSpreadsheet::CompleteSelectionChanged ( bool  bNewState)
void ScAccessibleSpreadsheet::ConstructScAccessibleSpreadsheet ( ScAccessibleDocument pAccDoc,
ScTabViewShell pViewShell,
SCTAB  nTab,
ScSplitPos  eSplitPos 
)
private
void SAL_CALL ScAccessibleSpreadsheet::deselectAccessibleChild ( sal_Int32  nChildIndex)
overrideprivatevirtual
void SAL_CALL ScAccessibleSpreadsheet::disposing ( )
overridevirtual
void ScAccessibleSpreadsheet::FireFirstCellFocus ( )
uno::Reference< XAccessible > SAL_CALL ScAccessibleSpreadsheet::getAccessibleAtPoint ( const css::awt::Point &  rPoint)
overrideprivatevirtual

===== XAccessibleComponent ============================================

Reimplemented from ScAccessibleContextBase.

Definition at line 955 of file AccessibleSpreadsheet.cxx.

References ScAccessibleContextBase::containsPoint(), getAccessibleCellAt(), ScViewData::GetPosFromPixel(), ScTabView::GetViewData(), ScAccessibleContextBase::IsObjectValid(), meSplitPos, and mpViewShell.

uno::Reference< XAccessible > SAL_CALL ScAccessibleSpreadsheet::getAccessibleCellAt ( sal_Int32  nRow,
sal_Int32  nColumn 
)
overrideprivatevirtual
rtl::Reference< ScAccessibleCell > ScAccessibleSpreadsheet::GetAccessibleCellAt ( sal_Int32  nRow,
sal_Int32  nColumn 
)
private
uno::Reference< XAccessibleTable > SAL_CALL ScAccessibleSpreadsheet::getAccessibleColumnHeaders ( )
overrideprivatevirtual
sal_Int32 ScAccessibleSpreadsheet::GetAccessibleIndexFormula ( sal_Int32  nRow,
sal_Int32  nColumn 
)
private

Definition at line 1613 of file AccessibleSpreadsheet.cxx.

References GetColAll(), and GetRowAll().

Referenced by GetAccessibleCellAt().

uno::Reference< XAccessibleRelationSet > SAL_CALL ScAccessibleSpreadsheet::getAccessibleRelationSet ( )
overrideprivatevirtual

===== XAccessibleContext ==============================================

Return NULL to indicate that an empty relation set.

Reimplemented from ScAccessibleTableBase.

Definition at line 1003 of file AccessibleSpreadsheet.cxx.

References ScAccessibleDocument::GetRelationSet(), and mpAccDoc.

uno::Reference< XAccessibleTable > SAL_CALL ScAccessibleSpreadsheet::getAccessibleRowHeaders ( )
overrideprivatevirtual

===== XAccessibleTable ================================================

Returns the row headers as an AccessibleTable.

Reimplemented from ScAccessibleTableBase.

Definition at line 755 of file AccessibleSpreadsheet.cxx.

References GetDocument(), ScDocument::GetRepeatRowRange(), ScAccessibleContextBase::IsObjectValid(), ScDocument::MaxCol(), mbIsSpreadsheet, mnTab, ScAccessibleTableBase::mpDoc, mpViewShell, and ScAccessibleSpreadsheet().

uno::Reference< XAccessibleStateSet > SAL_CALL ScAccessibleSpreadsheet::getAccessibleStateSet ( )
overrideprivatevirtual
sal_Int32 SAL_CALL ScAccessibleSpreadsheet::getBackground ( )
overrideprivatevirtual
tools::Rectangle ScAccessibleSpreadsheet::GetBoundingBox ( ) const
overrideprivatevirtual

Return the object's current bounding box relative to the parent object.

Reimplemented from ScAccessibleContextBase.

Definition at line 1311 of file AccessibleSpreadsheet.cxx.

References ScTabView::GetWindowByPos(), vcl::Window::GetWindowExtentsRelative(), meSplitPos, and mpViewShell.

tools::Rectangle ScAccessibleSpreadsheet::GetBoundingBoxOnScreen ( ) const
overrideprivatevirtual

Return the object's current bounding box relative to the desktop.

Reimplemented from ScAccessibleContextBase.

Definition at line 1299 of file AccessibleSpreadsheet.cxx.

References ScTabView::GetWindowByPos(), vcl::Window::GetWindowExtentsRelative(), meSplitPos, and mpViewShell.

ScAddress ScAccessibleSpreadsheet::GetChildIndexAddress ( sal_Int32  nIndex) const
private
sal_uInt16 ScAccessibleSpreadsheet::GetColAll ( ) const
inlineprivate
ScDocument * ScAccessibleSpreadsheet::GetDocument ( ScTabViewShell pViewShell)
staticprivate
sal_Int32 SAL_CALL ScAccessibleSpreadsheet::getForeground ( )
overrideprivatevirtual

Reimplemented from ScAccessibleContextBase.

Definition at line 989 of file AccessibleSpreadsheet.cxx.

References COL_BLACK.

bool ScAccessibleSpreadsheet::GetFormulaCurrentFocusCell ( ScAddress addr)
private
uno::Sequence< sal_Int8 > SAL_CALL ScAccessibleSpreadsheet::getImplementationId ( )
overrideprivatevirtual

===== XTypeProvider ===================================================

Returns an implementation id.

Reimplemented from ScAccessibleTableBase.

Definition at line 1282 of file AccessibleSpreadsheet.cxx.

OUString SAL_CALL ScAccessibleSpreadsheet::getImplementationName ( )
overrideprivatevirtual

===== XServiceInfo ====================================================

Returns an identifier for the implementation of this object.

Reimplemented from ScAccessibleTableBase.

Definition at line 1262 of file AccessibleSpreadsheet.cxx.

sal_Int32 ScAccessibleSpreadsheet::GetRowAll ( ) const
inlineprivate
uno::Reference< XAccessible > SAL_CALL ScAccessibleSpreadsheet::getSelectedAccessibleChild ( sal_Int32  nSelectedChildIndex)
overrideprivatevirtual
sal_Int32 SAL_CALL ScAccessibleSpreadsheet::getSelectedAccessibleChildCount ( )
overrideprivatevirtual
uno::Sequence< sal_Int32 > SAL_CALL ScAccessibleSpreadsheet::getSelectedAccessibleColumns ( )
overrideprivatevirtual
uno::Sequence< sal_Int32 > SAL_CALL ScAccessibleSpreadsheet::getSelectedAccessibleRows ( )
overrideprivatevirtual
uno::Sequence< OUString > SAL_CALL ScAccessibleSpreadsheet::getSupportedServiceNames ( )
overrideprivatevirtual

Returns a list of all supported services.

Reimplemented from ScAccessibleContextBase.

Definition at line 1268 of file AccessibleSpreadsheet.cxx.

References ScAccessibleContextBase::getSupportedServiceNames().

void ScAccessibleSpreadsheet::GotFocus ( )
void SAL_CALL ScAccessibleSpreadsheet::grabFocus ( )
overrideprivatevirtual
sal_Bool SAL_CALL ScAccessibleSpreadsheet::isAccessibleColumnSelected ( sal_Int32  nColumn)
overrideprivatevirtual
sal_Bool SAL_CALL ScAccessibleSpreadsheet::isAccessibleRowSelected ( sal_Int32  nRow)
overrideprivatevirtual
sal_Bool SAL_CALL ScAccessibleSpreadsheet::isAccessibleSelected ( sal_Int32  nRow,
sal_Int32  nColumn 
)
overrideprivatevirtual
bool ScAccessibleSpreadsheet::IsCompleteSheetSelected ( )
private
bool ScAccessibleSpreadsheet::IsDefunc ( const css::uno::Reference< css::accessibility::XAccessibleStateSet > &  rxParentStates)
private
bool ScAccessibleSpreadsheet::IsEditable ( )
private
bool ScAccessibleSpreadsheet::IsFocused ( )
private
bool ScAccessibleSpreadsheet::IsFormulaMode ( )
bool ScAccessibleSpreadsheet::IsScAddrFormulaSel ( const ScAddress addr) const
void ScAccessibleSpreadsheet::LostFocus ( )
void ScAccessibleSpreadsheet::Notify ( SfxBroadcaster rBC,
const SfxHint rHint 
)
overrideprivatevirtual

===== SfxListener =====================================================

Reimplemented from ScAccessibleContextBase.

Definition at line 407 of file AccessibleSpreadsheet.cxx.

References ScRange::aEnd, aEvent, ScRange::aStart, CalcScRangeListDifferenceMax(), ScAddress::Col(), ScAccessibleContextBase::CommitChange(), CommitFocusCell(), ScAccessibleTableBase::CommitTableModelChange(), ScMarkData::FillRangeListWithMarks(), getAccessibleCellAt(), GetAccessibleCellAt(), ScAccessibleContextBase::getAccessibleParent(), ScViewData::GetCurPos(), ScViewData::GetDelMark(), GetDocument(), ScUpdateRefHint::GetDx(), ScUpdateRefHint::GetDy(), ScUpdateRefHint::GetDz(), ScTabViewShell::GetForceFocusOnCurCell(), SfxHint::GetId(), ScMarkData::GetMarkArea(), ScViewData::GetMarkData(), ScUpdateRefHint::GetMode(), ScDocument::GetName(), ScUpdateRefHint::GetRange(), ScDocument::GetString(), ScMarkData::GetTableSelect(), ScViewData::GetTabNo(), ScTabView::GetViewData(), ScRange::In(), ScRange::Intersects(), IsFocused(), ScMarkData::IsMarked(), ScMarkData::IsMultiMarked(), ScViewData::IsRefMode(), m_aLastWithInMarkRange, m_bFormulaLastMode, m_bFormulaMode, m_LastMarkedRanges, m_mapSelectionSend, m_pAccFormulaCell, m_strCurCellValue, m_strOldTabName, m_vecFormulaLastMyAddr, maActiveCell, ScAccessibleTableBase::maRange, ScDocument::MaxCol(), ScDocument::MaxRow(), mbDelIns, mpAccCell, mpMarkedRanges, mpViewShell, nId, ScAccessibleContextBase::Notify(), NotifyRefMode(), RemoveFormulaSelection(), RemoveSelection(), ScAddress::Row(), SC_MOD, ScResId(), ScAddress::Tab(), and URM_INSDEL.

void ScAccessibleSpreadsheet::NotifyRefMode ( )
private
void ScAccessibleSpreadsheet::RemoveFormulaSelection ( bool  bRemoveAll = false)
private
void ScAccessibleSpreadsheet::RemoveSelection ( const ScMarkData refScMarkData)
private
void SAL_CALL ScAccessibleSpreadsheet::selectAccessibleChild ( sal_Int32  nChildIndex)
overrideprivatevirtual
void SAL_CALL ScAccessibleSpreadsheet::selectAllAccessibleChildren ( )
overrideprivatevirtual
void ScAccessibleSpreadsheet::SelectCell ( sal_Int32  nRow,
sal_Int32  nCol,
bool  bDeselect 
)
private
sal_Bool SAL_CALL ScAccessibleSpreadsheet::selectColumn ( sal_Int32  column)
overrideprivatevirtual
sal_Bool SAL_CALL ScAccessibleSpreadsheet::selectRow ( sal_Int32  row)
overrideprivatevirtual
sal_Bool SAL_CALL ScAccessibleSpreadsheet::unselectColumn ( sal_Int32  column)
overrideprivatevirtual
sal_Bool SAL_CALL ScAccessibleSpreadsheet::unselectRow ( sal_Int32  row)
overrideprivatevirtual
void ScAccessibleSpreadsheet::VisAreaChanged ( )

Definition at line 396 of file AccessibleSpreadsheet.cxx.

References aEvent, and ScAccessibleContextBase::CommitChange().

Member Data Documentation

ScAddress ScAccessibleSpreadsheet::m_aFormulaActiveCell
private

Definition at line 260 of file AccessibleSpreadsheet.hxx.

Referenced by GetAccessibleCellAt(), and NotifyRefMode().

ScRange ScAccessibleSpreadsheet::m_aLastWithInMarkRange
private

Definition at line 268 of file AccessibleSpreadsheet.hxx.

Referenced by Notify().

bool ScAccessibleSpreadsheet::m_bFormulaLastMode
private

Definition at line 259 of file AccessibleSpreadsheet.hxx.

Referenced by GetFormulaCurrentFocusCell(), GotFocus(), and Notify().

bool ScAccessibleSpreadsheet::m_bFormulaMode
private

Definition at line 258 of file AccessibleSpreadsheet.hxx.

Referenced by IsFormulaMode(), and Notify().

ScRangeList ScAccessibleSpreadsheet::m_LastMarkedRanges
private

Definition at line 270 of file AccessibleSpreadsheet.hxx.

Referenced by Notify().

MAP_ADDR_XACC ScAccessibleSpreadsheet::m_mapFormulaSelectionSend
private

Definition at line 261 of file AccessibleSpreadsheet.hxx.

Referenced by NotifyRefMode(), and RemoveFormulaSelection().

MAP_ADDR_XACC ScAccessibleSpreadsheet::m_mapSelectionSend
private

Definition at line 257 of file AccessibleSpreadsheet.hxx.

Referenced by getSelectedAccessibleChild(), Notify(), and RemoveSelection().

sal_uInt16 ScAccessibleSpreadsheet::m_nMaxX
private
sal_Int32 ScAccessibleSpreadsheet::m_nMaxY
private
sal_uInt16 ScAccessibleSpreadsheet::m_nMinX
private
sal_Int32 ScAccessibleSpreadsheet::m_nMinY
private
rtl::Reference<ScAccessibleCell> ScAccessibleSpreadsheet::m_pAccFormulaCell
private

Definition at line 263 of file AccessibleSpreadsheet.hxx.

Referenced by GetAccessibleCellAt(), GotFocus(), Notify(), and NotifyRefMode().

OUString ScAccessibleSpreadsheet::m_strCurCellValue
private

Definition at line 269 of file AccessibleSpreadsheet.hxx.

Referenced by CommitFocusCell(), and Notify().

OUString ScAccessibleSpreadsheet::m_strOldTabName
private

Definition at line 274 of file AccessibleSpreadsheet.hxx.

Referenced by ConstructScAccessibleSpreadsheet(), and Notify().

std::vector<ScMyAddress> ScAccessibleSpreadsheet::m_vecFormulaLastMyAddr
private

Definition at line 262 of file AccessibleSpreadsheet.hxx.

Referenced by Notify(), and NotifyRefMode().

std::vector<PAIR_COL> ScAccessibleSpreadsheet::m_vecTempCol
private

Definition at line 273 of file AccessibleSpreadsheet.hxx.

Referenced by CalcScAddressFromRangeList().

std::vector<ScRange> ScAccessibleSpreadsheet::m_vecTempRange
private

Definition at line 271 of file AccessibleSpreadsheet.hxx.

Referenced by CalcScAddressFromRangeList().

ScAddress ScAccessibleSpreadsheet::maActiveCell
private
bool ScAccessibleSpreadsheet::mbDelIns
private

Definition at line 253 of file AccessibleSpreadsheet.hxx.

Referenced by ConstructScAccessibleSpreadsheet(), and Notify().

bool ScAccessibleSpreadsheet::mbIsFocusSend
private
bool ScAccessibleSpreadsheet::mbIsSpreadsheet
private
ScSplitPos ScAccessibleSpreadsheet::meSplitPos
private
SCTAB ScAccessibleSpreadsheet::mnTab
private
rtl::Reference<ScAccessibleCell> ScAccessibleSpreadsheet::mpAccCell
private
ScAccessibleDocument* ScAccessibleSpreadsheet::mpAccDoc
private
std::unique_ptr<ScRangeList> ScAccessibleSpreadsheet::mpMarkedRanges
private
ScTabViewShell* ScAccessibleSpreadsheet::mpViewShell
private

The documentation for this class was generated from the following files: