LibreOffice Module sw (master)  1
Public Member Functions | Private Member Functions | Private Attributes | List of all members
SwAccessibleTableData_Impl Class Reference
Collaboration diagram for SwAccessibleTableData_Impl:

Public Member Functions

 SwAccessibleTableData_Impl (SwAccessibleMap &rAccMap, const SwTabFrame *pTabFrame, bool bIsInPagePreview, bool bOnlyTableColumnHeader=false)
const Int32Set_ImplGetRows () const
const Int32Set_ImplGetColumns () const
Int32Set_Impl::const_iterator GetRowIter (sal_Int32 nRow) const
Int32Set_Impl::const_iterator GetColumnIter (sal_Int32 nCol) const
const SwFrameGetCell (sal_Int32 nRow, sal_Int32 nColumn, SwAccessibleTable *pThis) const
const SwFrameGetCellAtPos (sal_Int32 nLeft, sal_Int32 nTop) const
sal_Int32 GetRowCount () const
sal_Int32 GetColumnCount () const
bool CompareExtents (const SwAccessibleTableData_Impl &r) const
void GetSelection (sal_Int32 nStart, sal_Int32 nEnd, const SwSelBoxes &rSelBoxes, SwAccTableSelHander_Impl &rSelHdl, bool bColumns) const
void CheckRowAndCol (sal_Int32 nRow, sal_Int32 nCol, SwAccessibleTable *pThis) const
void GetRowColumnAndExtent (const SwRect &rBox, sal_Int32 &rRow, sal_Int32 &rColumn, sal_Int32 &rRowExtent, sal_Int32 &rColumnExtent) const
const PointGetTablePos () const
void SetTablePos (const Point &rPos)

Private Member Functions

void CollectData (const SwFrame *pFrame)
void CollectExtents (const SwFrame *pFrame)
bool FindCell (const Point &rPos, const SwFrame *pFrame, bool bExact, const SwFrame *&rFrame) const
void GetSelection (const Point &rTabPos, const SwRect &rArea, const SwSelBoxes &rSelBoxes, const SwFrame *pFrame, SwAccTableSelHander_Impl &rSelHdl, bool bColumns) const
bool IncludeRow (const SwFrame &rFrame) const

Private Attributes

Int32Set_Impl maRows
Int32Set_Impl maColumns
std::vector< Int32Pair_ImplmaExtents
Point maTabFramePos
const SwTabFramempTabFrame
bool const mbIsInPagePreview
bool const mbOnlyTableColumnHeader

Detailed Description

Definition at line 75 of file acctable.cxx.

Constructor & Destructor Documentation

SwAccessibleTableData_Impl::SwAccessibleTableData_Impl ( SwAccessibleMap rAccMap,
const SwTabFrame pTabFrame,
bool  bIsInPagePreview,
bool  bOnlyTableColumnHeader = false 

Definition at line 405 of file acctable.cxx.

References CollectData(), CollectExtents(), mpTabFrame, and Pos.

Member Function Documentation

void SwAccessibleTableData_Impl::CheckRowAndCol ( sal_Int32  nRow,
sal_Int32  nCol,
SwAccessibleTable pThis 
) const
void SwAccessibleTableData_Impl::CollectData ( const SwFrame pFrame)
void SwAccessibleTableData_Impl::CollectExtents ( const SwFrame pFrame)
bool SwAccessibleTableData_Impl::CompareExtents ( const SwAccessibleTableData_Impl r) const

Definition at line 396 of file acctable.cxx.

References maExtents.

bool SwAccessibleTableData_Impl::FindCell ( const Point rPos,
const SwFrame pFrame,
bool  bExact,
const SwFrame *&  rFrame 
) const
const SwFrame * SwAccessibleTableData_Impl::GetCell ( sal_Int32  nRow,
sal_Int32  nColumn,
SwAccessibleTable pThis 
) const

Definition at line 326 of file acctable.cxx.

References CheckRowAndCol(), GetCellAtPos(), GetColumnIter(), and GetRowIter().

Referenced by SwAccessibleTable::getAccessibleCellAt(), and SwAccessibleTable::isAccessibleSelected().

const SwFrame * SwAccessibleTableData_Impl::GetCellAtPos ( sal_Int32  nLeft,
sal_Int32  nTop 
) const
sal_Int32 SwAccessibleTableData_Impl::GetColumnCount ( ) const
Int32Set_Impl::const_iterator SwAccessibleTableData_Impl::GetColumnIter ( sal_Int32  nCol) const

Definition at line 431 of file acctable.cxx.

References o3tl::sorted_vector< Value, Compare, Find, class >::begin(), and GetColumns().

Referenced by GetCell().

const Int32Set_Impl& SwAccessibleTableData_Impl::GetColumns ( ) const

Definition at line 111 of file acctable.cxx.

References maColumns.

Referenced by GetColumnIter().

void SwAccessibleTableData_Impl::GetRowColumnAndExtent ( const SwRect rBox,
sal_Int32 &  rRow,
sal_Int32 &  rColumn,
sal_Int32 &  rRowExtent,
sal_Int32 &  rColumnExtent 
) const
sal_Int32 SwAccessibleTableData_Impl::GetRowCount ( ) const
Int32Set_Impl::const_iterator SwAccessibleTableData_Impl::GetRowIter ( sal_Int32  nRow) const

Definition at line 419 of file acctable.cxx.

References begin, and GetRows().

Referenced by GetCell().

const Int32Set_Impl& SwAccessibleTableData_Impl::GetRows ( ) const

Definition at line 110 of file acctable.cxx.

References maRows.

Referenced by GetRowIter().

void SwAccessibleTableData_Impl::GetSelection ( const Point rTabPos,
const SwRect rArea,
const SwSelBoxes rSelBoxes,
const SwFrame pFrame,
SwAccTableSelHander_Impl rSelHdl,
bool  bColumns 
) const
void SwAccessibleTableData_Impl::GetSelection ( sal_Int32  nStart,
sal_Int32  nEnd,
const SwSelBoxes rSelBoxes,
SwAccTableSelHander_Impl rSelHdl,
bool  bColumns 
) const
const Point& SwAccessibleTableData_Impl::GetTablePos ( ) const

Definition at line 138 of file acctable.cxx.

References maTabFramePos.

bool SwAccessibleTableData_Impl::IncludeRow ( const SwFrame rFrame) const

Definition at line 98 of file acctable.cxx.

References SwTabFrame::IsInHeadline().

Referenced by CollectData(), CollectExtents(), FindCell(), and GetSelection().

void SwAccessibleTableData_Impl::SetTablePos ( const Point rPos)

Definition at line 139 of file acctable.cxx.

Referenced by SwAccessibleTable::InvalidatePosOrSize().

Member Data Documentation

Int32Set_Impl SwAccessibleTableData_Impl::maColumns
std::vector< Int32Pair_Impl > SwAccessibleTableData_Impl::maExtents

Definition at line 80 of file acctable.cxx.

Referenced by CollectExtents(), and CompareExtents().

Int32Set_Impl SwAccessibleTableData_Impl::maRows
Point SwAccessibleTableData_Impl::maTabFramePos

Definition at line 81 of file acctable.cxx.

Referenced by CollectData(), GetRowColumnAndExtent(), and GetTablePos().

bool const SwAccessibleTableData_Impl::mbIsInPagePreview

Definition at line 83 of file acctable.cxx.

Referenced by CollectData(), CollectExtents(), FindCell(), and GetSelection().

bool const SwAccessibleTableData_Impl::mbOnlyTableColumnHeader

Definition at line 84 of file acctable.cxx.

const SwTabFrame* SwAccessibleTableData_Impl::mpTabFrame

Definition at line 82 of file acctable.cxx.

Referenced by GetCellAtPos(), GetSelection(), and SwAccessibleTableData_Impl().

SwAccessibleMap& SwAccessibleTableData_Impl::mrAccMap

Definition at line 77 of file acctable.cxx.

Referenced by CollectData(), CollectExtents(), FindCell(), and GetSelection().

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