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

@descr 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)
 
virtual void SAL_CALL disposing () override
 
- Public Member Functions inherited from ScAccessibleTableBase
 ScAccessibleTableBase (const css::uno::Reference< css::accessibility::XAccessible > &rxParent, ScDocument *pDoc, const ScRange &rRange)
 
virtual void SAL_CALL disposing () override
 
virtual css::uno::Any SAL_CALL queryInterface (css::uno::Type const &rType) override
 ===== XInterface ===================================================== More...
 
virtual void SAL_CALL acquire () noexcept override
 
virtual void SAL_CALL release () noexcept override
 
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::XAccessibleTable > SAL_CALL getAccessibleRowHeaders () override
 Returns the row headers as an AccessibleTable. 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...
 
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_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 sal_Int64 SAL_CALL getAccessibleIndex (sal_Int32 nRow, sal_Int32 nColumn) override
 ===== XAccessibleExtendedTable ======================================== More...
 
virtual sal_Int32 SAL_CALL getAccessibleRow (sal_Int64 nChildIndex) override
 Returns the row number of an index in the table. More...
 
virtual sal_Int32 SAL_CALL getAccessibleColumn (sal_Int64 nChildIndex) override
 Returns the column number of an index in the table. More...
 
virtual sal_Int64 SAL_CALL getAccessibleChildCount () override
 Return the number of currently visible children. More...
 
virtual css::uno::Reference< css::accessibility::XAccessible > SAL_CALL getAccessibleChild (sal_Int64 nIndex) override
 Return the specified child or NULL if index is invalid. 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 css::uno::Reference< css::accessibility::XAccessibleRelationSet > SAL_CALL getAccessibleRelationSet () override
 Return NULL to indicate that an empty relation set. More...
 
virtual sal_Int64 SAL_CALL getAccessibleStateSet () override
 Return the set of current states. More...
 
virtual void SAL_CALL selectAccessibleChild (sal_Int64 nChildIndex) override
 ===== XAccessibleSelection =========================================== More...
 
virtual sal_Bool SAL_CALL isAccessibleChildSelected (sal_Int64 nChildIndex) override
 
virtual void SAL_CALL clearAccessibleSelection () override
 
virtual void SAL_CALL selectAllAccessibleChildren () override
 
virtual sal_Int64 SAL_CALL getSelectedAccessibleChildCount () override
 
virtual css::uno::Reference< css::accessibility::XAccessible > SAL_CALL getSelectedAccessibleChild (sal_Int64 nSelectedChildIndex) override
 
virtual void SAL_CALL deselectAccessibleChild (sal_Int64 nSelectedChildIndex) override
 
virtual OUString SAL_CALL getImplementationName () override
 ===== XServiceInfo =================================================== More...
 
virtual css::uno::Sequence< css::uno::Type > SAL_CALL getTypes () override
 ===== XTypeProvider =================================================== More...
 
virtual css::uno::Sequence< sal_Int8 > SAL_CALL getImplementationId () override
 Returns an implementation id. More...
 
virtual void SAL_CALL disposing () override
 
virtual void SAL_CALL disposing (const css::lang::EventObject &Source) override
 ===== XAccessibleEventListener ======================================== More...
 
- Public Member Functions inherited from ScAccessibleContextBase
 ScAccessibleContextBase (css::uno::Reference< css::accessibility::XAccessible > xParent, const sal_Int16 aRole)
 
virtual void Init ()
 
virtual void SAL_CALL disposing () override
 
bool isShowing ()
 
virtual bool isVisible ()
 
virtual void Notify (SfxBroadcaster &rBC, const SfxHint &rHint) override
 ===== SfxListener ===================================================== More...
 
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::uno::Reference< css::accessibility::XAccessible > SAL_CALL getAccessibleAtPoint (const css::awt::Point &rPoint) override
 
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 void SAL_CALL grabFocus () override
 
virtual sal_Int32 SAL_CALL getForeground () override
 
virtual sal_Int32 SAL_CALL getBackground () override
 
virtual sal_Int64 SAL_CALL getAccessibleChildCount () override
 ===== XAccessibleContext ============================================== More...
 
virtual css::uno::Reference< css::accessibility::XAccessible > SAL_CALL getAccessibleChild (sal_Int64 nIndex) override
 Return the specified child or NULL if index is invalid. More...
 
virtual css::uno::Reference< css::accessibility::XAccessible > SAL_CALL getAccessibleParent () override
 Return a reference to the parent. More...
 
virtual sal_Int64 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::uno::Reference< css::accessibility::XAccessibleRelationSet > SAL_CALL getAccessibleRelationSet () override
 Return NULL to indicate that an empty relation set. More...
 
virtual sal_Int64 SAL_CALL getAccessibleStateSet () override
 Return the set of current states. 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 addAccessibleEventListener (const css::uno::Reference< css::accessibility::XAccessibleEventListener > &xListener) override
 ===== XAccessibleEventBroadcaster ===================================== 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 OUString SAL_CALL getImplementationName () override
 ===== XServiceInfo ==================================================== More...
 
virtual sal_Bool SAL_CALL supportsService (const OUString &sServiceName) override
 Return whether the specified service is supported by this class. More...
 
virtual css::uno::Sequence< OUString > SAL_CALL getSupportedServiceNames () override
 Returns a list of all supported services. 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 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
 
virtual void Notify (SfxBroadcaster &rBC, const SfxHint &rHint)
 
void RemoveBroadcaster_Impl (SfxBroadcaster &rBC)
 
virtual bool IsSdrView () const
 
virtual css::uno::Any SAL_CALL queryInterface (css::uno::Type const &rType) SAL_OVERRIDE
 
virtual css::uno::Sequence< css::uno::Type > SAL_CALL getTypes () SAL_OVERRIDE
 
virtual css::uno::Sequence< sal_Int8 > SAL_CALL getImplementationId () SAL_OVERRIDE
 

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
 

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 sal_Int64 SAL_CALL getAccessibleStateSet () override
 Return the set of current states. More...
 
virtual void SAL_CALL selectAccessibleChild (sal_Int64 nChildIndex) override
 ===== XAccessibleSelection =========================================== More...
 
virtual void SAL_CALL clearAccessibleSelection () override
 
virtual void SAL_CALL selectAllAccessibleChildren () override
 
virtual sal_Int64 SAL_CALL getSelectedAccessibleChildCount () override
 
virtual css::uno::Reference< css::accessibility::XAccessible > SAL_CALL getSelectedAccessibleChild (sal_Int64 nSelectedChildIndex) override
 
virtual void SAL_CALL deselectAccessibleChild (sal_Int64 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 (sal_Int64 nParentStates)
 
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_Int64) const
 
ScAddress GetChildIndexAddress (sal_Int64) const
 
sal_Int64 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
 
OUString m_strOldTabName
 
std::map< ScAddress, unotools::WeakReference< ScAccessibleCell > > m_mapCells
 

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
 
virtual OUString createAccessibleDescription ()
 Return this object's description. More...
 
virtual OUString createAccessibleName ()
 Return the object's current name. More...
 
virtual tools::Rectangle GetBoundingBoxOnScreen () const
 Return the object's current bounding box relative to the desktop. More...
 
virtual tools::Rectangle GetBoundingBox () const
 Return the object's current bounding box relative to the parent object. More...
 
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::ImplHelper2< class Ifc1, class Ifc2 >
 ~ImplHelper2 () SAL_NOEXCEPT
 
- 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

@descr This base class provides an implementation of the AccessibleTable service.

Definition at line 58 of file AccessibleSpreadsheet.hxx.

Member Typedef Documentation

◆ MAP_ADDR_XACC

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

Definition at line 255 of file AccessibleSpreadsheet.hxx.

Constructor & Destructor Documentation

◆ ScAccessibleSpreadsheet() [1/2]

ScAccessibleSpreadsheet::ScAccessibleSpreadsheet ( ScAccessibleDocument pAccDoc,
ScTabViewShell pViewShell,
SCTAB  nTab,
ScSplitPos  eSplitPos 
)

◆ ScAccessibleSpreadsheet() [2/2]

ScAccessibleSpreadsheet::ScAccessibleSpreadsheet ( ScAccessibleSpreadsheet rParent,
const ScRange rRange 
)
private

◆ ~ScAccessibleSpreadsheet()

ScAccessibleSpreadsheet::~ScAccessibleSpreadsheet ( )
overrideprivatevirtual

Member Function Documentation

◆ addAccessibleEventListener()

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 1312 of file AccessibleSpreadsheet.cxx.

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

◆ BoundingBoxChanged()

void ScAccessibleSpreadsheet::BoundingBoxChanged ( )

Definition at line 386 of file AccessibleSpreadsheet.cxx.

References aEvent, and ScAccessibleContextBase::CommitChange().

◆ CalcScAddressFromRangeList()

ScMyAddress ScAccessibleSpreadsheet::CalcScAddressFromRangeList ( ScRangeList pMarkedRanges,
sal_Int32  nSelectedChildIndex 
)

◆ CalcScRangeDifferenceMax()

bool ScAccessibleSpreadsheet::CalcScRangeDifferenceMax ( const ScRange rSrc,
const ScRange rDest,
int  nMax,
std::vector< ScMyAddress > &  vecRet,
int nSize 
)
static

◆ CalcScRangeListDifferenceMax()

bool ScAccessibleSpreadsheet::CalcScRangeListDifferenceMax ( ScRangeList pSrc,
ScRangeList pDest,
int  nMax,
std::vector< ScMyAddress > &  vecRet 
)
static

◆ CheckChildIndex()

bool ScAccessibleSpreadsheet::CheckChildIndex ( sal_Int64  nIndex) const
private

Definition at line 1613 of file AccessibleSpreadsheet.cxx.

References m_nMaxX, m_nMaxY, m_nMinX, and m_nMinY.

Referenced by getSelectedAccessibleChild().

◆ clearAccessibleSelection()

void SAL_CALL ScAccessibleSpreadsheet::clearAccessibleSelection ( )
overrideprivatevirtual

◆ CommitFocusCell()

void ScAccessibleSpreadsheet::CommitFocusCell ( const ScAddress aNewCell)
private

◆ CompleteSelectionChanged()

void ScAccessibleSpreadsheet::CompleteSelectionChanged ( bool  bNewState)

◆ ConstructScAccessibleSpreadsheet()

void ScAccessibleSpreadsheet::ConstructScAccessibleSpreadsheet ( ScAccessibleDocument pAccDoc,
ScTabViewShell pViewShell,
SCTAB  nTab,
ScSplitPos  eSplitPos 
)
private

◆ deselectAccessibleChild()

void SAL_CALL ScAccessibleSpreadsheet::deselectAccessibleChild ( sal_Int64  nChildIndex)
overrideprivatevirtual

◆ disposing() [1/2]

void SAL_CALL ScAccessibleTableBase::disposing ( )
overridevirtual

Reimplemented from ScAccessibleTableBase.

Definition at line 54 of file AccessibleTableBase.cxx.

◆ disposing() [2/2]

void SAL_CALL ScAccessibleSpreadsheet::disposing ( )
overridevirtual

◆ FireFirstCellFocus()

void ScAccessibleSpreadsheet::FireFirstCellFocus ( )

◆ getAccessibleAtPoint()

uno::Reference< XAccessible > SAL_CALL ScAccessibleSpreadsheet::getAccessibleAtPoint ( const css::awt::Point &  rPoint)
overrideprivatevirtual

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

Reimplemented from ScAccessibleContextBase.

Definition at line 984 of file AccessibleSpreadsheet.cxx.

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

◆ GetAccessibleCellAt()

rtl::Reference< ScAccessibleCell > ScAccessibleSpreadsheet::GetAccessibleCellAt ( sal_Int32  nRow,
sal_Int32  nColumn 
)
private

◆ getAccessibleCellAt()

uno::Reference< XAccessible > SAL_CALL ScAccessibleSpreadsheet::getAccessibleCellAt ( sal_Int32  nRow,
sal_Int32  nColumn 
)
overrideprivatevirtual

◆ getAccessibleColumnHeaders()

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

◆ GetAccessibleIndexFormula()

sal_Int64 ScAccessibleSpreadsheet::GetAccessibleIndexFormula ( sal_Int32  nRow,
sal_Int32  nColumn 
)
private

Definition at line 1634 of file AccessibleSpreadsheet.cxx.

References GetColAll(), and GetRowAll().

Referenced by GetAccessibleCellAt().

◆ getAccessibleRelationSet()

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

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

Return NULL to indicate that an empty relation set.

Reimplemented from ScAccessibleTableBase.

Definition at line 1032 of file AccessibleSpreadsheet.cxx.

References ScAccessibleDocument::GetRelationSet(), and mpAccDoc.

◆ getAccessibleRowHeaders()

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

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

Returns the row headers as an AccessibleTable.

Reimplemented from ScAccessibleTableBase.

Definition at line 772 of file AccessibleSpreadsheet.cxx.

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

◆ getAccessibleStateSet()

sal_Int64 SAL_CALL ScAccessibleSpreadsheet::getAccessibleStateSet ( )
overrideprivatevirtual

◆ getBackground()

sal_Int32 SAL_CALL ScAccessibleSpreadsheet::getBackground ( )
overrideprivatevirtual

Reimplemented from ScAccessibleContextBase.

Definition at line 1023 of file AccessibleSpreadsheet.cxx.

References ScAccessibleContextBase::IsObjectValid(), and SC_MOD.

◆ GetBoundingBox()

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

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

Reimplemented from ScAccessibleContextBase.

Definition at line 1334 of file AccessibleSpreadsheet.cxx.

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

◆ GetBoundingBoxOnScreen()

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

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

Reimplemented from ScAccessibleContextBase.

Definition at line 1322 of file AccessibleSpreadsheet.cxx.

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

◆ GetChildIndexAddress()

ScAddress ScAccessibleSpreadsheet::GetChildIndexAddress ( sal_Int64  nIndex) const
private

◆ GetColAll()

sal_uInt16 ScAccessibleSpreadsheet::GetColAll ( ) const
inlineprivate

◆ GetDocument()

ScDocument * ScAccessibleSpreadsheet::GetDocument ( ScTabViewShell pViewShell)
staticprivate

◆ getForeground()

sal_Int32 SAL_CALL ScAccessibleSpreadsheet::getForeground ( )
overrideprivatevirtual

Reimplemented from ScAccessibleContextBase.

Definition at line 1018 of file AccessibleSpreadsheet.cxx.

References COL_BLACK().

◆ GetFormulaCurrentFocusCell()

bool ScAccessibleSpreadsheet::GetFormulaCurrentFocusCell ( ScAddress addr)
private

◆ getImplementationId()

uno::Sequence< sal_Int8 > SAL_CALL ScAccessibleSpreadsheet::getImplementationId ( )
overrideprivatevirtual

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

Returns an implementation id.

Reimplemented from ScAccessibleTableBase.

Definition at line 1305 of file AccessibleSpreadsheet.cxx.

◆ getImplementationName()

OUString SAL_CALL ScAccessibleSpreadsheet::getImplementationName ( )
overrideprivatevirtual

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

Returns an identifier for the implementation of this object.

Reimplemented from ScAccessibleTableBase.

Definition at line 1290 of file AccessibleSpreadsheet.cxx.

◆ GetRowAll()

sal_Int32 ScAccessibleSpreadsheet::GetRowAll ( ) const
inlineprivate

◆ getSelectedAccessibleChild()

uno::Reference< XAccessible > SAL_CALL ScAccessibleSpreadsheet::getSelectedAccessibleChild ( sal_Int64  nSelectedChildIndex)
overrideprivatevirtual

◆ getSelectedAccessibleChildCount()

sal_Int64 SAL_CALL ScAccessibleSpreadsheet::getSelectedAccessibleChildCount ( )
overrideprivatevirtual

◆ getSelectedAccessibleColumns()

uno::Sequence< sal_Int32 > SAL_CALL ScAccessibleSpreadsheet::getSelectedAccessibleColumns ( )
overrideprivatevirtual

◆ getSelectedAccessibleRows()

uno::Sequence< sal_Int32 > SAL_CALL ScAccessibleSpreadsheet::getSelectedAccessibleRows ( )
overrideprivatevirtual

◆ getSupportedServiceNames()

uno::Sequence< OUString > SAL_CALL ScAccessibleSpreadsheet::getSupportedServiceNames ( )
overrideprivatevirtual

Returns a list of all supported services.

Reimplemented from ScAccessibleContextBase.

Definition at line 1296 of file AccessibleSpreadsheet.cxx.

References comphelper::concatSequences(), and ScAccessibleContextBase::getSupportedServiceNames().

◆ GotFocus()

void ScAccessibleSpreadsheet::GotFocus ( )

◆ grabFocus()

void SAL_CALL ScAccessibleSpreadsheet::grabFocus ( )
overrideprivatevirtual

◆ isAccessibleColumnSelected()

sal_Bool SAL_CALL ScAccessibleSpreadsheet::isAccessibleColumnSelected ( sal_Int32  nColumn)
overrideprivatevirtual

◆ isAccessibleRowSelected()

sal_Bool SAL_CALL ScAccessibleSpreadsheet::isAccessibleRowSelected ( sal_Int32  nRow)
overrideprivatevirtual

◆ isAccessibleSelected()

sal_Bool SAL_CALL ScAccessibleSpreadsheet::isAccessibleSelected ( sal_Int32  nRow,
sal_Int32  nColumn 
)
overrideprivatevirtual

◆ IsCompleteSheetSelected()

bool ScAccessibleSpreadsheet::IsCompleteSheetSelected ( )
private

◆ IsDefunc()

bool ScAccessibleSpreadsheet::IsDefunc ( sal_Int64  nParentStates)
private

◆ IsEditable()

bool ScAccessibleSpreadsheet::IsEditable ( )
private

◆ IsFocused()

bool ScAccessibleSpreadsheet::IsFocused ( )
private

◆ IsFormulaMode()

bool ScAccessibleSpreadsheet::IsFormulaMode ( )

◆ IsScAddrFormulaSel()

bool ScAccessibleSpreadsheet::IsScAddrFormulaSel ( const ScAddress addr) const

◆ LostFocus()

void ScAccessibleSpreadsheet::LostFocus ( )

◆ Notify()

void ScAccessibleSpreadsheet::Notify ( SfxBroadcaster rBC,
const SfxHint rHint 
)
overrideprivatevirtual

◆ NotifyRefMode()

void ScAccessibleSpreadsheet::NotifyRefMode ( )
private

◆ RemoveFormulaSelection()

void ScAccessibleSpreadsheet::RemoveFormulaSelection ( bool  bRemoveAll = false)
private

◆ RemoveSelection()

void ScAccessibleSpreadsheet::RemoveSelection ( const ScMarkData refScMarkData)
private

◆ selectAccessibleChild()

void SAL_CALL ScAccessibleSpreadsheet::selectAccessibleChild ( sal_Int64  nChildIndex)
overrideprivatevirtual

◆ selectAllAccessibleChildren()

void SAL_CALL ScAccessibleSpreadsheet::selectAllAccessibleChildren ( )
overrideprivatevirtual

◆ SelectCell()

void ScAccessibleSpreadsheet::SelectCell ( sal_Int32  nRow,
sal_Int32  nCol,
bool  bDeselect 
)
private

◆ selectColumn()

sal_Bool SAL_CALL ScAccessibleSpreadsheet::selectColumn ( sal_Int32  column)
overrideprivatevirtual

◆ selectRow()

sal_Bool SAL_CALL ScAccessibleSpreadsheet::selectRow ( sal_Int32  row)
overrideprivatevirtual

◆ unselectColumn()

sal_Bool SAL_CALL ScAccessibleSpreadsheet::unselectColumn ( sal_Int32  column)
overrideprivatevirtual

◆ unselectRow()

sal_Bool SAL_CALL ScAccessibleSpreadsheet::unselectRow ( sal_Int32  row)
overrideprivatevirtual

◆ VisAreaChanged()

void ScAccessibleSpreadsheet::VisAreaChanged ( )

Definition at line 395 of file AccessibleSpreadsheet.cxx.

References aEvent, and ScAccessibleContextBase::CommitChange().

Member Data Documentation

◆ m_aFormulaActiveCell

ScAddress ScAccessibleSpreadsheet::m_aFormulaActiveCell
private

Definition at line 259 of file AccessibleSpreadsheet.hxx.

Referenced by GetAccessibleCellAt(), and NotifyRefMode().

◆ m_aLastWithInMarkRange

ScRange ScAccessibleSpreadsheet::m_aLastWithInMarkRange
private

Definition at line 267 of file AccessibleSpreadsheet.hxx.

Referenced by Notify().

◆ m_bFormulaLastMode

bool ScAccessibleSpreadsheet::m_bFormulaLastMode
private

Definition at line 258 of file AccessibleSpreadsheet.hxx.

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

◆ m_bFormulaMode

bool ScAccessibleSpreadsheet::m_bFormulaMode
private

Definition at line 257 of file AccessibleSpreadsheet.hxx.

Referenced by IsFormulaMode(), and Notify().

◆ m_LastMarkedRanges

ScRangeList ScAccessibleSpreadsheet::m_LastMarkedRanges
private

Definition at line 269 of file AccessibleSpreadsheet.hxx.

Referenced by Notify().

◆ m_mapCells

std::map<ScAddress, unotools::WeakReference< ScAccessibleCell > > ScAccessibleSpreadsheet::m_mapCells
private

Definition at line 272 of file AccessibleSpreadsheet.hxx.

Referenced by GetAccessibleCellAt().

◆ m_mapFormulaSelectionSend

MAP_ADDR_XACC ScAccessibleSpreadsheet::m_mapFormulaSelectionSend
private

Definition at line 260 of file AccessibleSpreadsheet.hxx.

Referenced by NotifyRefMode(), and RemoveFormulaSelection().

◆ m_mapSelectionSend

MAP_ADDR_XACC ScAccessibleSpreadsheet::m_mapSelectionSend
private

Definition at line 256 of file AccessibleSpreadsheet.hxx.

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

◆ m_nMaxX

sal_uInt16 ScAccessibleSpreadsheet::m_nMaxX
private

◆ m_nMaxY

sal_Int32 ScAccessibleSpreadsheet::m_nMaxY
private

◆ m_nMinX

sal_uInt16 ScAccessibleSpreadsheet::m_nMinX
private

◆ m_nMinY

sal_Int32 ScAccessibleSpreadsheet::m_nMinY
private

◆ m_pAccFormulaCell

rtl::Reference<ScAccessibleCell> ScAccessibleSpreadsheet::m_pAccFormulaCell
private

Definition at line 262 of file AccessibleSpreadsheet.hxx.

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

◆ m_strCurCellValue

OUString ScAccessibleSpreadsheet::m_strCurCellValue
private

Definition at line 268 of file AccessibleSpreadsheet.hxx.

Referenced by CommitFocusCell(), and Notify().

◆ m_strOldTabName

OUString ScAccessibleSpreadsheet::m_strOldTabName
private

Definition at line 270 of file AccessibleSpreadsheet.hxx.

Referenced by ConstructScAccessibleSpreadsheet(), and Notify().

◆ m_vecFormulaLastMyAddr

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

Definition at line 261 of file AccessibleSpreadsheet.hxx.

Referenced by Notify(), and NotifyRefMode().

◆ maActiveCell

ScAddress ScAccessibleSpreadsheet::maActiveCell
private

◆ mbDelIns

bool ScAccessibleSpreadsheet::mbDelIns
private

Definition at line 252 of file AccessibleSpreadsheet.hxx.

Referenced by ConstructScAccessibleSpreadsheet(), and Notify().

◆ mbIsFocusSend

bool ScAccessibleSpreadsheet::mbIsFocusSend
private

◆ mbIsSpreadsheet

bool ScAccessibleSpreadsheet::mbIsSpreadsheet
private

◆ meSplitPos

ScSplitPos ScAccessibleSpreadsheet::meSplitPos
private

◆ mnTab

SCTAB ScAccessibleSpreadsheet::mnTab
private

◆ mpAccCell

rtl::Reference<ScAccessibleCell> ScAccessibleSpreadsheet::mpAccCell
private

◆ mpAccDoc

ScAccessibleDocument* ScAccessibleSpreadsheet::mpAccDoc
private

◆ mpMarkedRanges

std::unique_ptr<ScRangeList> ScAccessibleSpreadsheet::mpMarkedRanges
private

◆ mpViewShell

ScTabViewShell* ScAccessibleSpreadsheet::mpViewShell
private

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