Lines Matching refs:aEnd
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()
524 aEnd = aStart; in onInsert()
550 const sal_Int32 nNewColumns = (nCount == 0) ? (aEnd.mnCol - aStart.mnCol + 1) : nCount; in onInsert()
551 const sal_Int32 nNewStartColumn = aEnd.mnCol + (bInsertAfter ? 1 : 0); in onInsert()
556 Reference< XPropertySet >( xCols->getByIndex( aEnd.mnCol + nOffset + 1 ), UNO_QUERY_THROW )-> in onInsert()
567 aEnd.mnCol = aStart.mnCol + nNewColumns - 1; in onInsert()
568 aEnd.mnRow = mxTable->getRowCount() - 1; in onInsert()
583 const sal_Int32 nNewRows = (nCount == 0) ? (aEnd.mnRow - aStart.mnRow + 1) : nCount; in onInsert()
584 const sal_Int32 nNewRowStart = aEnd.mnRow + (bInsertAfter ? 1 : 0); in onInsert()
589 Reference< XPropertySet >( xRows->getByIndex( aEnd.mnRow + nOffset + 1 ), UNO_QUERY_THROW )-> in onInsert()
600 aEnd.mnCol = mxTable->getColumnCount() - 1; in onInsert()
601 aEnd.mnRow = aStart.mnRow + nNewRows - 1; in onInsert()
607 UpdateSelection( aEnd ); 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()
654 const sal_Int32 nRemovedRows = aEnd.mnRow - aStart.mnRow + 1; in onDelete()
685 CellPos aStart, aEnd; in onSelect() local
686 getSelectedCells( aStart, aEnd ); in onSelect()
691 aEnd.mnCol = 0; aEnd.mnRow = 0; in onSelect()
695 aEnd.mnRow = nRowCount - 1; in onSelect()
699 aEnd.mnCol = nColCount - 1; in onSelect()
704 StartSelection( aEnd ); 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 …Range( mxTable->getCellRangeByPosition( aStart.mnCol, aStart.mnRow, aEnd.mnCol, aEnd.mnRow ) ), UN… in SplitMarkedCells()
1071 aEnd.mnRow += mxTable->getRowCount() - nRowCount; in SplitMarkedCells()
1072 aEnd.mnCol += mxTable->getColumnCount() - nColCount; 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 …orByRange( mxTable->getCellRangeByPosition( aStart.mnCol, aStart.mnRow, aEnd.mnCol, aEnd.mnRow ) ); in getSelectionCursor()
1944 CellPos aStart,aEnd; in updateSelectionOverlay() local
1945 getSelectedCells( aStart, aEnd ); in updateSelectionOverlay()
1951 findMergeOrigin( aEnd ); in updateSelectionOverlay()
1952 pTableObj->getCellBounds( aEnd, 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()
2249 const sal_Int32 nLastRow = std::min( aEnd.mnRow + 2, nRowCount ); in ApplyBorderAttr()
2250 const sal_Int32 nLastCol = std::min( aEnd.mnCol + 2, nColCount ); in ApplyBorderAttr()
2256 nRowFlags |= (nRow == aEnd.mnRow) ? CELL_BOTTOM : 0; in ApplyBorderAttr()
2258 nRowFlags |= (nRow > aEnd.mnRow) ? CELL_LOWER : 0; in ApplyBorderAttr()
2273 nCellFlags |= (nCol == aEnd.mnCol) ? CELL_RIGHT : 0; in ApplyBorderAttr()
2275 nCellFlags |= (nCol > aEnd.mnCol) ? CELL_AFTER : 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()
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()
2602 CellPos aEnd( maCursorLastPos ); in IMPL_LINK() local
2604 checkCell(aEnd); 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
2620 StartSelection( aEnd ); in selectRow()
2628 CellPos aStart( column, 0 ), aEnd( column, mxTable->getRowCount() - 1 ); in selectColumn() local
2629 StartSelection( aEnd ); in selectColumn()
2637 CellPos aStart( 0, row ), aEnd( mxTable->getColumnCount() - 1, row ); in deselectRow() local
2638 StartSelection( aEnd ); in deselectRow()
2646 CellPos aStart( column, 0 ), aEnd( column, mxTable->getRowCount() - 1 ); in deselectColumn() local
2647 StartSelection( aEnd ); in deselectColumn()