Lines Matching refs:mxTable
216 TableModelRef mxTable; member in sdr::table::SdrTableObjImpl
283 mxTable = new TableModel( pTable ); in init()
284 mxTable->init( nColumns, nRows ); in init()
285 mpLayouter = new TableLayouter( mxTable ); in init()
287 mxTable->addModifyListener( xListener ); in init()
303 if( mxTable.is() ) in operator =()
306 mxTable->removeModifyListener( xListener ); in operator =()
307 mxTable->dispose(); in operator =()
308 mxTable.clear(); in operator =()
313 mxTable = new TableModel( mpTableObj, rSource.mxTable ); in operator =()
314 mpLayouter = new TableLayouter( mxTable ); in operator =()
316 mxTable->addModifyListener( xListener ); in operator =()
368 if( !mxTable.is() || !mxTable.is() || !mxTableStyle.is() ) in ApplyCellStyles()
466 if( mxTable.is() ) in dispose()
467 mxTable->dispose(); in dispose()
474 if( (nEdge > 0) && mxTable.is()) try in DragEdge()
484 Reference< XIndexAccess > xRows( mxTable->getRows(), UNO_QUERY_THROW ); in DragEdge()
496 Reference< XIndexAccess > xCols( mxTable->getColumns(), UNO_QUERY_THROW ); in DragEdge()
500 if( nEdge > 0 && nEdge < mxTable->getColumnCount() ) in DragEdge()
509 if( (bRTL && (nEdge >= 0)) || (!bRTL && (nEdge < mxTable->getColumnCount())) ) in DragEdge()
539 TableModelNotifyGuard aGuard( mxTable.get() ); in update()
608 mxTable.clear(); in disposing()
622 if( mxTable.is() ) try in getCell()
624 xCell.set( dynamic_cast< Cell* >( mxTable->getCellByPosition( rPos.mnCol, rPos.mnRow ).get() ) ); in getCell()
637 return mxTable.is() ? mxTable->getColumnCount() : 0; in getColumnCount()
644 return mxTable.is() ? mxTable->getRowCount() : 0; in getRowCount()
653 TableModelNotifyGuard aGuard( mxTable.get() ); in LayoutTable()
687 if( mpLayouter && mxTable.is() ) in UpdateCells()
689 TableModelNotifyGuard aGuard( mxTable.get() ); in UpdateCells()
691 mxTable->setModified(sal_True); in UpdateCells()
778 return Reference< XTable >( mpImpl->mxTable.get() ); in getTable()
800 if( mpImpl->mxTable.is() ) in getLastCell()
881 findMergeOrigin( mpImpl->mxTable.get(), aPos.mnCol, aPos.mnRow, aPos.mnCol, nTemp ); in getPreviousCell()
891 aPos.mnCol = mpImpl->mxTable->getColumnCount()-1; in getPreviousCell()
910 findMergeOrigin( mpImpl->mxTable, aPos.mnCol, aPos.mnRow, aPos.mnCol, aPos.mnRow ); in getNextCell()
925 if( aPos.mnCol < mpImpl->mxTable->getColumnCount() ) in getNextCell()
954 findMergeOrigin( mpImpl->mxTable, aPos.mnCol, aPos.mnRow, nTemp, aPos.mnRow ); in getPreviousRow()
964 aPos.mnRow = mpImpl->mxTable->getRowCount()-1; in getPreviousRow()
984 findMergeOrigin( mpImpl->mxTable, aPos.mnCol, aPos.mnRow, aPos.mnCol, aPos.mnRow ); in getNextRow()
992 if( aPos.mnRow < mpImpl->mxTable->getRowCount() ) in getNextRow()
995 if( bEdgeTravel && (aPos.mnCol + 1) < mpImpl->mxTable->getColumnCount() ) in getNextRow()
1000 while( aPos.mnCol < mpImpl->mxTable->getColumnCount() ) in getNextRow()
1045 if( !mpImpl || !mpImpl->mxTable.is() ) in CheckTableHit()
1140 findMergeOrigin( mpImpl->mxTable.get(), rnX, rnY, rnX, rnY ); in CheckTableHit()
1161 if( mpImpl->mxTable.is() ) try in InsertRows()
1163 Reference< XTableRows > xRows( mpImpl->mxTable->getRows(), UNO_QUERY_THROW ); in InsertRows()
1176 if( mpImpl->mxTable.is() ) try in InsertColumns()
1178 Reference< XTableColumns > xColumns( mpImpl->mxTable->getColumns(), UNO_QUERY_THROW ); in InsertColumns()
1191 if( mpImpl->mxTable.is() ) try in DeleteRows()
1193 Reference< XTableRows > xRows( mpImpl->mxTable->getRows(), UNO_QUERY_THROW ); in DeleteRows()
1206 if( mpImpl->mxTable.is() ) try in DeleteColumns()
1208 Reference< XTableColumns > xColumns( mpImpl->mxTable->getColumns(), UNO_QUERY_THROW ); in DeleteColumns()
1260 if( mpImpl->mxTable.is() ) in getText()
1279 if( mpImpl->mxTable.is() ) in getTextCount()
1297 if( mpImpl && mpImpl->mxTable.is() ) in setActiveText()
1299 const sal_Int32 nColCount = mpImpl->mxTable->getColumnCount(); in setActiveText()
1314 if( mpImpl && mpImpl->mxTable.is() ) in CheckTextHit()
1318 return aPos.mnRow * mpImpl->mxTable->getColumnCount() + aPos.mnCol; in CheckTextHit()
1600 if( mpImpl && mpImpl->mxTable.is() ) try in setActiveCell()
1602 …mpImpl->mxActiveCell.set( dynamic_cast< Cell* >( mpImpl->mxTable->getCellByPosition( rPos.mnCol, r… in setActiveCell()
1606 findMergeOrigin( mpImpl->mxTable.get(), rPos.mnCol, rPos.mnRow, aOrigin.mnCol, aOrigin.mnRow ); in setActiveCell()
1607 …mpImpl->mxActiveCell.set( dynamic_cast< Cell* >( mpImpl->mxTable->getCellByPosition( aOrigin.mnCol… in setActiveCell()
1959 TableModelNotifyGuard aGuard( mpImpl ? mpImpl->mxTable.get() : 0 ); in operator =()
2235 if((pModel == NULL) || rR.IsEmpty() || !mpImpl || !mpImpl->mxTable.is() ) in AdjustTextFrameWidthAndHeight()
2769 TableModelNotifyGuard aGuard( mpImpl->mxTable.get() ); in DistributeColumns()
2780 TableModelNotifyGuard aGuard( mpImpl->mxTable.get() ); in DistributeRows()
2802 if( mpImpl && mpImpl->mxTable.is() ) in uno_lock()
2803 mpImpl->mxTable->lockBroadcasts(); in uno_lock()
2810 if( mpImpl && mpImpl->mxTable.is() ) in uno_unlock()
2811 mpImpl->mxTable->unlockBroadcasts(); in uno_unlock()