Lines Matching refs:mxTable

108 	if( mxTable.is() )  in gotoNext()
111 if( mnRight >= mxTable->getColumnCount() ) in gotoNext()
115 if( mnTop >= mxTable->getRowCount() ) in gotoNext()
137 if( mxTable.is() ) in gotoPrevious()
146 mnLeft = mxTable->getColumnCount() - 1; in gotoPrevious()
158 if( mxTable.is() ) in gotoOffset()
161 if( (nLeft >= 0) && (nLeft < mxTable->getColumnCount() ) ) in gotoOffset()
165 if( (nTop >= 0) && (nTop < mxTable->getRowCount()) ) in gotoOffset()
182 if( mxTable.is() && ((mnLeft != mnRight) || (mnTop != mnBottom)) ) try in GetMergedSelection()
184 CellRef xCell( dynamic_cast< Cell* >( mxTable->getCellByPosition( mnLeft, mnTop ).get() ) ); in GetMergedSelection()
188 findMergeOrigin( mxTable, mnLeft, mnTop, rStart.mnCol, rStart.mnRow ); in GetMergedSelection()
191 xCell.set( dynamic_cast< Cell* >( mxTable->getCellByPosition( mnRight, mnBottom ).get() ) ); in GetMergedSelection()
196 findMergeOrigin( mxTable, mnRight, mnBottom, rEnd.mnCol, rEnd.mnRow ); in GetMergedSelection()
200 … xCell.set( dynamic_cast< Cell* >( mxTable->getCellByPosition( rEnd.mnCol, rEnd.mnRow ).get() ) ); in GetMergedSelection()
215 xCell.set( dynamic_cast< Cell* >( mxTable->getCellByPosition( nCol, nRow ).get() ) ); in GetMergedSelection()
222 if( findMergeOrigin( mxTable, nCol, nRow, nOriginCol, nOriginRow ) ) in GetMergedSelection()
227 … xCell.set( dynamic_cast< Cell* >( mxTable->getCellByPosition( nOriginCol, nOriginRow ).get() ) ); in GetMergedSelection()
261 if( !mxTable.is() || (mxTable->getSdrTableObj() == 0) ) in merge()
264 SdrModel* pModel = mxTable->getSdrTableObj()->GetModel(); in merge()
265 const bool bUndo = pModel && mxTable->getSdrTableObj()->IsInserted() && pModel->IsUndoEnabled(); in merge()
272mxTable->merge( aStart.mnCol, aStart.mnRow, aEnd.mnCol - aStart.mnCol + 1, aEnd.mnRow - aStart.mnR… in merge()
273 mxTable->optimize(); in merge()
274 mxTable->setModified(sal_True); in merge()
292 const sal_Int32 nRowCount = mxTable->getRowCount(); in split_column()
299 CellRef xCell( dynamic_cast< Cell* >( mxTable->getCellByPosition( nCol, nRow ).get() ) ); in split_column()
307 Reference< XTableColumns > xCols( mxTable->getColumns(), UNO_QUERY_THROW ); in split_column()
329 CellRef xCell( dynamic_cast< Cell* >( mxTable->getCellByPosition( nCol, nRow ).get() ) ); in split_column()
335 … xCell.set( dynamic_cast< Cell* >(mxTable->getCellByPosition( nCol+1, nRow ).get() ) ); in split_column()
363 mxTable->merge( nSplitCol, nRow, nSplitSpan + 1, nRowSpan + 1); in split_column()
379 mxTable->merge( nCol, nRow, (rLeftOvers[nRow] + nNewCols) + 1, nRowSpan + 1 ); in split_column()
396 const sal_Int32 nRowCount = mxTable->getRowCount(); in split_horizontal()
408 const sal_Int32 nColCount = mxTable->getColumnCount(); in split_row()
415 CellRef xCell( dynamic_cast< Cell* >( mxTable->getCellByPosition( nCol, nRow ).get() ) ); in split_row()
423 Reference< XTableRows > xRows( mxTable->getRows(), UNO_QUERY_THROW ); in split_row()
445 CellRef xCell( dynamic_cast< Cell* >( mxTable->getCellByPosition( nCol, nRow ).get() ) ); in split_row()
451 … xCell.set( dynamic_cast< Cell* >(mxTable->getCellByPosition( nCol, nRow+1 ).get() ) ); in split_row()
479 mxTable->merge( nCol, nSplitRow, nColSpan + 1, nSplitSpan + 1 ); in split_row()
495 mxTable->merge( nCol, nRow, nColSpan + 1, (rLeftOvers[nCol] + nNewRows) + 1 ); in split_row()
512 const sal_Int32 nColCount = mxTable->getColumnCount(); in split_vertical()
527 if( !mxTable.is() || (mxTable->getSdrTableObj() == 0) ) in split()
530 SdrModel* pModel = mxTable->getSdrTableObj()->GetModel(); in split()
531 const bool bUndo = pModel && mxTable->getSdrTableObj()->IsInserted() && pModel->IsUndoEnabled(); in split()
544 mxTable->setModified(sal_True); in split()
576 CellRef xCell( dynamic_cast< Cell* >( mxTable->getCellByPosition( nCol, nRow ).get() ) ); in isUnmergeable()