Lines Matching refs:mxTable

169 			mxTable.set( dynamic_cast< TableModel* >( xTable.get() ) );  in SvxTableController()
391 if( !mxTable.is() || !mxTableObj.is() || !mxTableObj->GetModel() ) in GetState()
409 if( !mxTable.is() || !mxTableObj->GetModel() ) in GetState()
434 if( !mxTable.is() || !hasSelectedCells() || (mxTable->getRowCount() <= 1) ) in GetState()
438 if( !mxTable.is() || !hasSelectedCells() || (mxTable->getColumnCount() <= 1) ) in GetState()
442 if( !mxTable.is() || !hasSelectedCells() ) in GetState()
446 if( !hasSelectedCells() || !mxTable.is() ) in GetState()
456 if( mxTable.is() ) in GetState()
496 if( mxTable.is() ) try in onInsert()
522 aStart.mnCol = mxTable->getColumnCount() - 1; in onInsert()
523 aStart.mnRow = mxTable->getRowCount() - 1; in onInsert()
541 TableModelNotifyGuard aGuard( mxTable.get() ); in onInsert()
549 Reference< XTableColumns > xCols( mxTable->getColumns() ); in onInsert()
568 aEnd.mnRow = mxTable->getRowCount() - 1; in onInsert()
574 TableModelNotifyGuard aGuard( mxTable.get() ); in onInsert()
582 Reference< XTableRows > xRows( mxTable->getRows() ); in onInsert()
600 aEnd.mnCol = mxTable->getColumnCount() - 1; in onInsert()
624 if( mxTable.is() && hasSelectedCells() ) in onDelete()
640 if( nRemovedColumns == mxTable->getColumnCount() ) in onDelete()
646 Reference< XTableColumns > xCols( mxTable->getColumns() ); in onDelete()
655 if( nRemovedRows == mxTable->getRowCount() ) in onDelete()
661 Reference< XTableRows > xRows( mxTable->getRows() ); in onDelete()
679 if( mxTable.is() ) in onSelect()
681 const sal_Int32 nRowCount = mxTable->getRowCount(); in onSelect()
682 const sal_Int32 nColCount = mxTable->getColumnCount(); in onSelect()
847 if( pArg && mxTable.is() ) try in SetTableStyle()
869 const sal_Int32 nRowCount = mxTable->getRowCount(); in SetTableStyle()
870 const sal_Int32 nColCount = mxTable->getColumnCount(); in SetTableStyle()
875 CellRef xCell( dynamic_cast< Cell* >( mxTable->getCellByPosition( nCol, nRow ).get() ) ); in SetTableStyle()
968 if( mxTable.is() && pTableObj ) in SetVertical()
970 TableModelNotifyGuard aGuard( mxTable.get() ); in SetVertical()
996 CellRef xCell( dynamic_cast< Cell* >( mxTable->getCellByPosition( nCol, nRow ).get() ) ); in SetVertical()
1016 TableModelNotifyGuard aGuard( mxTable.get() ); in MergeMarkedCells()
1023 if( mxTable.is() ) in SplitMarkedCells()
1038 …Reference< XMergeableCellRange > xRange( mxTable->createCursorByRange( mxTable->getCellRangeByPosi… in SplitMarkedCells()
1040 const sal_Int32 nRowCount = mxTable->getRowCount(); in SplitMarkedCells()
1041 const sal_Int32 nColCount = mxTable->getColumnCount(); in SplitMarkedCells()
1050 TableModelNotifyGuard aGuard( mxTable.get() ); in SplitMarkedCells()
1071 aEnd.mnRow += mxTable->getRowCount() - nRowCount; in SplitMarkedCells()
1072 aEnd.mnCol += mxTable->getColumnCount() - nColCount; in SplitMarkedCells()
1125 if( mxTable.is() ) in DeleteMarked()
1133 CellRef xCell( dynamic_cast< Cell* >( mxTable->getCellByPosition( nCol, nRow ).get() ) ); in DeleteMarked()
1153 if( mxTable.is() ) in GetStyleSheet()
1165 CellRef xCell( dynamic_cast< Cell* >( mxTable->getCellByPosition( nCol, nRow ).get() ) ); in GetStyleSheet()
1192 if( mxTable.is() ) in SetStyleSheet()
1201 CellRef xCell( dynamic_cast< Cell* >( mxTable->getCellByPosition( nCol, nRow ).get() ) ); in SetStyleSheet()
1580 if( mxTable.is() ) in getSelectionCursor()
1586 …xCursor = mxTable->createCursorByRange( mxTable->getCellRangeByPosition( aStart.mnCol, aStart.mnRo… in getSelectionCursor()
1590 xCursor = mxTable->createCursor(); in getSelectionCursor()
1599 if( mxTable.is() ) try in MergeRange()
1601 …Reference< XMergeableCellRange > xRange( mxTable->createCursorByRange( mxTable->getCellRangeByPosi… in MergeRange()
1629 if( mxTable.is() ) try in checkCell()
1631 if( rPos.mnCol >= mxTable->getColumnCount() ) in checkCell()
1632 rPos.mnCol = mxTable->getColumnCount()-1; in checkCell()
1634 if( rPos.mnRow >= mxTable->getRowCount() ) in checkCell()
1635 rPos.mnRow = mxTable->getRowCount()-1; in checkCell()
1648 if( mxTable.is() ) try in findMergeOrigin()
1650 …Reference< XMergeableCell > xCell( mxTable->getCellByPosition( rPos.mnCol, rPos.mnRow ), UNO_QUERY… in findMergeOrigin()
1653 ::findMergeOrigin( mxTable, rPos.mnCol, rPos.mnRow, rPos.mnCol, rPos.mnRow ); in findMergeOrigin()
1795 if( mxTable.is() ) do in getSelectedCells()
1802 Reference< XMergeableCell > xCell( mxTable->getCellByPosition( nCol, nRow ), UNO_QUERY ); in getSelectedCells()
1837 if( mxTable.is() ) in getSelectedCells()
1839 …Reference< XMergeableCell > xCell( mxTable->getCellByPosition( rLast.mnCol, rLast.mnRow ), UNO_QUE… in getSelectedCells()
1851 if( mxTable.is() ) in getSelectedCells()
1853 rLast.mnRow = mxTable->getRowCount()-1; in getSelectedCells()
1854 rLast.mnCol = mxTable->getColumnCount()-1; in getSelectedCells()
1903 if( mxTable.is() ) in selectAll()
1905 CellPos aPos1, aPos2( mxTable->getColumnCount()-1, mxTable->getRowCount()-1 ); in selectAll()
2001 if( mxTable.is() ) in MergeAttrFromSelectedCells()
2010 CellRef xCell( dynamic_cast< Cell* >( mxTable->getCellByPosition( nCol, nRow ).get() ) ); in MergeAttrFromSelectedCells()
2213 if( mxTable.is() ) in ApplyBorderAttr()
2215 const sal_Int32 nRowCount = mxTable->getRowCount(); in ApplyBorderAttr()
2216 const sal_Int32 nColCount = mxTable->getColumnCount(); in ApplyBorderAttr()
2262 CellRef xCell( dynamic_cast< Cell* >( mxTable->getCellByPosition( nCol, nRow ).get() ) ); in ApplyBorderAttr()
2316 if( mxTable.is() ) in SetAttrToSelectedCells()
2341 CellRef xCell( dynamic_cast< Cell* >( mxTable->getCellByPosition( nCol, nRow ).get() ) ); in SetAttrToSelectedCells()
2465 if( !mxTable.is() ) in PasteObject()
2477 sal_Int32 nColumns = mxTable->getColumnCount(); in PasteObject()
2478 sal_Int32 nRows = mxTable->getRowCount(); in PasteObject()
2483 Reference< XTableRows > xRows( mxTable->getRows() ); in PasteObject()
2485 nRows = mxTable->getRowCount(); in PasteObject()
2496 …CellRef xTargetCell( dynamic_cast< Cell* >( mxTable->getCellByPosition( aStart.mnCol + nCol, aStar… in PasteObject()
2562 CellRef xCell( dynamic_cast< Cell* >( mxTable->getCellByPosition( nCol, nRow ).get() ) ); in ApplyFormatPaintBrush()
2617 if( !mxTable.is() ) in selectRow()
2619 CellPos aStart( 0, row ), aEnd( mxTable->getColumnCount() - 1, row ); in selectRow()
2626 if( !mxTable.is() ) in selectColumn()
2628 CellPos aStart( column, 0 ), aEnd( column, mxTable->getRowCount() - 1 ); in selectColumn()
2635 if( !mxTable.is() ) in deselectRow()
2637 CellPos aStart( 0, row ), aEnd( mxTable->getColumnCount() - 1, row ); in deselectRow()
2644 if( !mxTable.is() ) in deselectColumn()
2646 CellPos aStart( column, 0 ), aEnd( column, mxTable->getRowCount() - 1 ); in deselectColumn()
2657 …if( (aFirstPos.mnCol == 0) && (nRow >= aFirstPos.mnRow && nRow <= aLastPos.mnRow) && (mxTable->get… in isRowSelected()
2668 …w == 0) && (nColumn >= aFirstPos.mnCol && nColumn <= aLastPos.mnCol) && (mxTable->getRowCount() - … in isColumnSelected()