Lines Matching refs:aStart
458 CellPos aStart, aEnd; in GetState() local
459 getSelectedCells( aStart, aEnd ); in GetState()
461 bDistributeColumns = aStart.mnCol != aEnd.mnCol; in GetState()
462 bDistributeRows = aStart.mnRow != aEnd.mnRow; in GetState()
513 CellPos aStart, aEnd; in onInsert() local
516 getSelectedCells( aStart, aEnd ); in onInsert()
522 aStart.mnCol = mxTable->getColumnCount() - 1; in onInsert()
523 aStart.mnRow = mxTable->getRowCount() - 1; in onInsert()
524 aEnd = aStart; in onInsert()
550 const sal_Int32 nNewColumns = (nCount == 0) ? (aEnd.mnCol - aStart.mnCol + 1) : nCount; in onInsert()
558 Reference< XPropertySet >( xCols->getByIndex( aStart.mnCol + nOffset ), UNO_QUERY_THROW )-> in onInsert()
565 aStart.mnCol = nNewStartColumn; in onInsert()
566 aStart.mnRow = 0; in onInsert()
567 aEnd.mnCol = aStart.mnCol + nNewColumns - 1; in onInsert()
583 const sal_Int32 nNewRows = (nCount == 0) ? (aEnd.mnRow - aStart.mnRow + 1) : nCount; in onInsert()
591 Reference< XPropertySet >( xRows->getByIndex( aStart.mnRow + nOffset ), UNO_QUERY_THROW )-> in onInsert()
598 aStart.mnCol = 0; in onInsert()
599 aStart.mnRow = nNewRowStart; in onInsert()
601 aEnd.mnRow = aStart.mnRow + nNewRows - 1; in onInsert()
606 StartSelection( aStart ); in onInsert()
626 CellPos aStart, aEnd; in onDelete() local
627 getSelectedCells( aStart, aEnd ); in onDelete()
639 const sal_Int32 nRemovedColumns = aEnd.mnCol - aStart.mnCol + 1; in onDelete()
647 xCols->removeByIndex( aStart.mnCol, nRemovedColumns ); in onDelete()
654 const sal_Int32 nRemovedRows = aEnd.mnRow - aStart.mnRow + 1; in onDelete()
662 xRows->removeByIndex( aStart.mnRow, nRemovedRows ); in onDelete()
685 CellPos aStart, aEnd; in onSelect() local
686 getSelectedCells( aStart, aEnd ); in onSelect()
692 aStart.mnCol = nColCount - 1; aStart.mnRow = nRowCount - 1; in onSelect()
696 aStart.mnRow = 0; in onSelect()
700 aStart.mnCol = 0; in onSelect()
705 gotoCell( aStart, true, 0 ); in onSelect()
972 CellPos aStart, aEnd; in SetVertical() local
973 getSelectedCells( aStart, aEnd ); in SetVertical()
992 for( sal_Int32 nRow = aStart.mnRow; nRow <= aEnd.mnRow; nRow++ ) in SetVertical()
994 for( sal_Int32 nCol = aStart.mnCol; nCol <= aEnd.mnCol; nCol++ ) in SetVertical()
1008 CellPos aStart, aEnd; in MergeMarkedCells() local
1009 getSelectedCells( aStart, aEnd ); in MergeMarkedCells()
1017 MergeRange( aStart.mnCol, aStart.mnRow, aEnd.mnCol, aEnd.mnRow ); in MergeMarkedCells()
1025 CellPos aStart, aEnd; in SplitMarkedCells() local
1026 getSelectedCells( aStart, aEnd ); in SplitMarkedCells()
1036 getSelectedCells( aStart, aEnd ); in SplitMarkedCells()
1038 …e( mxTable->createCursorByRange( mxTable->getCellRangeByPosition( aStart.mnCol, aStart.mnRow, aEnd… in SplitMarkedCells()
1074 setSelectedCells( aStart, aEnd ); in SplitMarkedCells()
1091 CellPos aStart, aEnd; in DistributeColumns() local
1092 getSelectedCells( aStart, aEnd ); in DistributeColumns()
1093 pTableObj->DistributeColumns( aStart.mnCol, aEnd.mnCol ); in DistributeColumns()
1112 CellPos aStart, aEnd; in DistributeRows() local
1113 getSelectedCells( aStart, aEnd ); in DistributeRows()
1114 pTableObj->DistributeRows( aStart.mnRow, aEnd.mnRow ); in DistributeRows()
1127 CellPos aStart, aEnd; in DeleteMarked() local
1128 getSelectedCells( aStart, aEnd ); in DeleteMarked()
1129 for( sal_Int32 nRow = aStart.mnRow; nRow <= aEnd.mnRow; nRow++ ) in DeleteMarked()
1131 for( sal_Int32 nCol = aStart.mnCol; nCol <= aEnd.mnCol; nCol++ ) in DeleteMarked()
1158 CellPos aStart, aEnd; in GetStyleSheet() local
1159 const_cast<SvxTableController&>(*this).getSelectedCells( aStart, aEnd ); in GetStyleSheet()
1161 for( sal_Int32 nRow = aStart.mnRow; nRow <= aEnd.mnRow; nRow++ ) in GetStyleSheet()
1163 for( sal_Int32 nCol = aStart.mnCol; nCol <= aEnd.mnCol; nCol++ ) in GetStyleSheet()
1194 CellPos aStart, aEnd; in SetStyleSheet() local
1195 getSelectedCells( aStart, aEnd ); in SetStyleSheet()
1197 for( sal_Int32 nRow = aStart.mnRow; nRow <= aEnd.mnRow; nRow++ ) in SetStyleSheet()
1199 for( sal_Int32 nCol = aStart.mnCol; nCol <= aEnd.mnCol; nCol++ ) in SetStyleSheet()
1584 CellPos aStart, aEnd; in getSelectionCursor() local
1585 getSelectedCells( aStart, aEnd ); in getSelectionCursor()
1586 …xCursor = mxTable->createCursorByRange( mxTable->getCellRangeByPosition( aStart.mnCol, aStart.mnRo… in getSelectionCursor()
1944 CellPos aStart,aEnd; in updateSelectionOverlay() local
1945 getSelectedCells( aStart, aEnd ); in updateSelectionOverlay()
1946 pTableObj->getCellBounds( aStart, aRect ); in updateSelectionOverlay()
2003 CellPos aStart, aEnd; in MergeAttrFromSelectedCells() local
2004 const_cast<SvxTableController&>(*this).getSelectedCells( aStart, aEnd ); in MergeAttrFromSelectedCells()
2006 for( sal_Int32 nRow = aStart.mnRow; nRow <= aEnd.mnRow; nRow++ ) in MergeAttrFromSelectedCells()
2008 for( sal_Int32 nCol = aStart.mnCol; nCol <= aEnd.mnCol; nCol++ ) in MergeAttrFromSelectedCells()
2246 CellPos aStart, aEnd; in ApplyBorderAttr() local
2247 getSelectedCells( aStart, aEnd ); in ApplyBorderAttr()
2252 for( sal_Int32 nRow = std::max( aStart.mnRow - 1, (sal_Int32)0 ); nRow < nLastRow; nRow++ ) in ApplyBorderAttr()
2255 nRowFlags |= (nRow == aStart.mnRow) ? CELL_TOP : 0; in ApplyBorderAttr()
2257 nRowFlags |= (nRow < aStart.mnRow) ? CELL_UPPER : 0; in ApplyBorderAttr()
2260 for( sal_Int32 nCol = std::max( aStart.mnCol - 1, (sal_Int32)0 ); nCol < nLastCol; nCol++ ) in ApplyBorderAttr()
2272 nCellFlags |= (nCol == aStart.mnCol) ? CELL_LEFT : 0; in ApplyBorderAttr()
2274 nCellFlags |= (nCol < aStart.mnCol) ? CELL_BEFORE : 0; in ApplyBorderAttr()
2323 CellPos aStart, aEnd; in SetAttrToSelectedCells() local
2324 getSelectedCells( aStart, aEnd ); in SetAttrToSelectedCells()
2337 for( sal_Int32 nRow = aStart.mnRow; nRow <= aEnd.mnRow; nRow++ ) in SetAttrToSelectedCells()
2339 for( sal_Int32 nCol = aStart.mnCol; nCol <= aEnd.mnCol; nCol++ ) in SetAttrToSelectedCells()
2414 CellPos aStart, aEnd; in GetMarkedObjModel() local
2415 getSelectedCells( aStart, aEnd ); in GetMarkedObjModel()
2417 SdrTableObj* pNewTableObj = rTableObj.CloneRange( aStart, aEnd ); in GetMarkedObjModel()
2471 CellPos aStart, aEnd; in PasteObject() local
2472 getSelectedCells( aStart, aEnd ); in PasteObject()
2480 const sal_Int32 nMissing = nPasteRows - ( nRows - aStart.mnRow ); in PasteObject()
2488 nPasteRows = std::min( nPasteRows, nRows - aStart.mnRow ); in PasteObject()
2489 nPasteColumns = std::min( nPasteColumns, nColumns - aStart.mnCol ); in PasteObject()
2496 …TargetCell( dynamic_cast< Cell* >( mxTable->getCellByPosition( aStart.mnCol + nCol, aStart.mnRow +… in PasteObject()
2530 CellPos aStart, aEnd; in ApplyFormatPaintBrush() local
2531 getSelectedCells( aStart, aEnd ); in ApplyFormatPaintBrush()
2558 for( sal_Int32 nRow = aStart.mnRow; nRow <= aEnd.mnRow; nRow++ ) in ApplyFormatPaintBrush()
2560 for( sal_Int32 nCol = aStart.mnCol; nCol <= aEnd.mnCol; nCol++ ) in ApplyFormatPaintBrush()
2601 CellPos aStart( maCursorFirstPos ); in IMPL_LINK() local
2603 checkCell(aStart); in IMPL_LINK()
2605 if( aStart != maCursorFirstPos || aEnd != maCursorLastPos ) in IMPL_LINK()
2607 setSelectedCells( aStart, aEnd ); in IMPL_LINK()
2619 CellPos aStart( 0, row ), aEnd( mxTable->getColumnCount() - 1, row ); in selectRow() local
2621 gotoCell( aStart, true, 0 ); in selectRow()
2628 CellPos aStart( column, 0 ), aEnd( column, mxTable->getRowCount() - 1 ); in selectColumn() local
2630 gotoCell( aStart, true, 0 ); in selectColumn()
2637 CellPos aStart( 0, row ), aEnd( mxTable->getColumnCount() - 1, row ); in deselectRow() local
2639 gotoCell( aStart, false, 0 ); in deselectRow()
2646 CellPos aStart( column, 0 ), aEnd( column, mxTable->getRowCount() - 1 ); in deselectColumn() local
2648 gotoCell( aStart, false, 0 ); in deselectColumn()