LibreOffice Module sw (master) 1
|
Public Member Functions | |
SwAccessibleTableData_Impl (SwAccessibleMap &rAccMap, const SwTabFrame *pTabFrame, bool bIsInPagePreview, bool bOnlyTableColumnHeader=false) | |
const Int32Set_Impl & | GetRows () const |
const Int32Set_Impl & | GetColumns () const |
Int32Set_Impl::const_iterator | GetRowIter (sal_Int32 nRow) const |
Int32Set_Impl::const_iterator | GetColumnIter (sal_Int32 nCol) const |
const SwFrame * | GetCell (sal_Int32 nRow, sal_Int32 nColumn, SwAccessibleTable *pThis) const |
const SwFrame * | GetCellAtPos (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, SwAccTableSelHandler_Impl &rSelHdl, bool bColumns) const |
void | CheckRowAndCol (sal_Int32 nRow, sal_Int32 nCol, SwAccessibleTable *pThis) const |
const Point & | GetTablePos () const |
void | SetTablePos (const Point &rPos) |
Private Member Functions | |
void | CollectData (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, SwAccTableSelHandler_Impl &rSelHdl, bool bColumns) const |
bool | IncludeRow (const SwFrame &rFrame) const |
Private Attributes | |
SwAccessibleMap & | mrAccMap |
Int32Set_Impl | maRows |
Int32Set_Impl | maColumns |
Point | maTabFramePos |
const SwTabFrame * | mpTabFrame |
bool | mbIsInPagePreview |
bool | mbOnlyTableColumnHeader |
Definition at line 73 of file acctable.cxx.
SwAccessibleTableData_Impl::SwAccessibleTableData_Impl | ( | SwAccessibleMap & | rAccMap, |
const SwTabFrame * | pTabFrame, | ||
bool | bIsInPagePreview, | ||
bool | bOnlyTableColumnHeader = false |
||
) |
Definition at line 358 of file acctable.cxx.
References CollectData(), mpTabFrame, and Pos.
void SwAccessibleTableData_Impl::CheckRowAndCol | ( | sal_Int32 | nRow, |
sal_Int32 | nCol, | ||
SwAccessibleTable * | pThis | ||
) | const |
lang::IndexOutOfBoundsException |
Definition at line 395 of file acctable.cxx.
References maColumns, o3tl::make_unsigned(), maRows, and o3tl::sorted_vector< typename Value, typename Compare, template< typename, typename > class Find, bool >::size().
Referenced by SwAccessibleTable::getAccessibleColumnDescription(), SwAccessibleTable::getAccessibleColumnExtentAt(), SwAccessibleTable::getAccessibleRowDescription(), SwAccessibleTable::getAccessibleRowExtentAt(), GetCell(), SwAccessibleTable::isAccessibleColumnSelected(), and SwAccessibleTable::isAccessibleRowSelected().
|
private |
Definition at line 133 of file acctable.cxx.
References SwAccessibleChildSList::begin(), CollectData(), SwAccessibleChildSList::end(), SwFrameAreaDefinition::getFrameArea(), Point::getX(), Point::getY(), IncludeRow(), o3tl::sorted_vector< typename Value, typename Compare, template< typename, typename > class Find, bool >::insert(), SwFrame::IsCellFrame(), SwFrame::IsRowFrame(), SwRect::Left(), maColumns, maRows, maTabFramePos, mbIsInPagePreview, mrAccMap, and SwRect::Top().
Referenced by CollectData(), and SwAccessibleTableData_Impl().
bool SwAccessibleTableData_Impl::CompareExtents | ( | const SwAccessibleTableData_Impl & | r | ) | const |
Definition at line 351 of file acctable.cxx.
|
private |
Definition at line 167 of file acctable.cxx.
References SwAccessibleChildSList::begin(), SwRect::Bottom(), SwAccessibleChildSList::end(), FindCell(), SwFrameAreaDefinition::getFrameArea(), IncludeRow(), SwFrame::IsCellFrame(), SwFrame::IsRowFrame(), SwRect::Left(), mbIsInPagePreview, mrAccMap, SwRect::Right(), SwRect::Top(), Point::X(), and Point::Y().
Referenced by FindCell(), and GetCellAtPos().
const SwFrame * SwAccessibleTableData_Impl::GetCell | ( | sal_Int32 | nRow, |
sal_Int32 | nColumn, | ||
SwAccessibleTable * | pThis | ||
) | const |
lang::IndexOutOfBoundsException | |
uno::RuntimeException |
Definition at line 281 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 |
Definition at line 328 of file acctable.cxx.
References FindCell(), SwFrameAreaDefinition::getFrameArea(), Point::Move(), mpTabFrame, and SwRect::Pos().
Referenced by SwAccessibleTable::getAccessibleColumnExtentAt(), SwAccessibleTable::getAccessibleRowExtentAt(), GetCell(), and SwAccessibleTable::InvalidateChildPosOrSize().
|
inline |
Definition at line 346 of file acctable.cxx.
References maColumns, and o3tl::sorted_vector< typename Value, typename Compare, template< typename, typename > class Find, bool >::size().
Referenced by SwAccessibleTable::FireTableChangeEvent(), SwAccessibleTable::getAccessibleColumnCount(), and SwAccessibleTable::getSelectedAccessibleColumns().
|
inline |
Definition at line 383 of file acctable.cxx.
References o3tl::sorted_vector< typename Value, typename Compare, template< typename, typename > class Find, bool >::begin(), and GetColumns().
Referenced by GetCell().
|
inline |
|
inline |
Definition at line 339 of file acctable.cxx.
References count, maRows, and o3tl::sorted_vector< typename Value, typename Compare, template< typename, typename > class Find, bool >::size().
Referenced by SwAccessibleTable::FireTableChangeEvent(), SwAccessibleTable::getAccessibleRowCount(), and SwAccessibleTable::getSelectedAccessibleRows().
|
inline |
Definition at line 371 of file acctable.cxx.
References begin, and GetRows().
Referenced by GetCell().
|
inline |
|
private |
Definition at line 216 of file acctable.cxx.
References o3tl::sorted_vector< typename Value, typename Compare, template< typename, typename > class Find, bool >::begin(), SwAccessibleChildSList::begin(), SwRect::Bottom(), o3tl::sorted_vector< typename Value, typename Compare, template< typename, typename > class Find, bool >::end(), SwAccessibleChildSList::end(), o3tl::sorted_vector< typename Value, typename Compare, template< typename, typename > class Find, bool >::find(), GetSelection(), SwCellFrame::GetTabBox(), IncludeRow(), SwFrame::IsCellFrame(), SwFrame::IsRowFrame(), SwRect::Left(), o3tl::sorted_vector< typename Value, typename Compare, template< typename, typename > class Find, bool >::lower_bound(), maColumns, maRows, mbIsInPagePreview, mrAccMap, nPos, SwRect::Overlaps(), SwRect::Right(), SwRect::Top(), o3tl::sorted_vector< typename Value, typename Compare, template< typename, typename > class Find, bool >::upper_bound(), Point::X(), and Point::Y().
Referenced by SwAccessibleTable::getSelectedAccessibleColumns(), SwAccessibleTable::getSelectedAccessibleRows(), GetSelection(), SwAccessibleTable::isAccessibleColumnSelected(), and SwAccessibleTable::isAccessibleRowSelected().
void SwAccessibleTableData_Impl::GetSelection | ( | sal_Int32 | nStart, |
sal_Int32 | nEnd, | ||
const SwSelBoxes & | rSelBoxes, | ||
SwAccTableSelHandler_Impl & | rSelHdl, | ||
bool | bColumns | ||
) | const |
Definition at line 294 of file acctable.cxx.
References o3tl::sorted_vector< typename Value, typename Compare, template< typename, typename > class Find, bool >::begin(), SwRect::Bottom(), SwFrameAreaDefinition::getFrameArea(), GetSelection(), Point::getX(), Point::getY(), SwRect::Left(), maColumns, maRows, mpTabFrame, SwRect::Pos(), SwRect::Right(), o3tl::sorted_vector< typename Value, typename Compare, template< typename, typename > class Find, bool >::size(), and SwRect::Top().
|
inline |
Definition at line 129 of file acctable.cxx.
References maTabFramePos.
|
inlineprivate |
Definition at line 94 of file acctable.cxx.
References SwTabFrame::IsInHeadline(), mbOnlyTableColumnHeader, and mpTabFrame.
Referenced by CollectData(), FindCell(), and GetSelection().
|
inline |
Definition at line 130 of file acctable.cxx.
References maTabFramePos.
Referenced by SwAccessibleTable::InvalidatePosOrSize().
|
private |
Definition at line 77 of file acctable.cxx.
Referenced by CheckRowAndCol(), CollectData(), CompareExtents(), GetColumnCount(), GetColumns(), and GetSelection().
|
private |
Definition at line 76 of file acctable.cxx.
Referenced by CheckRowAndCol(), CollectData(), CompareExtents(), GetRowCount(), GetRows(), and GetSelection().
|
private |
Definition at line 78 of file acctable.cxx.
Referenced by CollectData(), GetTablePos(), and SetTablePos().
|
private |
Definition at line 80 of file acctable.cxx.
Referenced by CollectData(), FindCell(), and GetSelection().
|
private |
Definition at line 81 of file acctable.cxx.
Referenced by IncludeRow().
|
private |
Definition at line 79 of file acctable.cxx.
Referenced by GetCellAtPos(), GetSelection(), IncludeRow(), and SwAccessibleTableData_Impl().
|
private |
Definition at line 75 of file acctable.cxx.
Referenced by CollectData(), FindCell(), and GetSelection().