Lines Matching refs:aPos

378 	CellPos aPos;  in ApplyCellStyles()  local
379 for( aPos.mnRow = 0; aPos.mnRow < nRowCount; ++aPos.mnRow ) in ApplyCellStyles()
381 const bool bFirstRow = (aPos.mnRow == 0) && rStyle.mbUseFirstRow; in ApplyCellStyles()
382 const bool bLastRow = (aPos.mnRow == nRowCount-1) && rStyle.mbUseLastRow; in ApplyCellStyles()
384 for( aPos.mnCol = 0; aPos.mnCol < nColCount; ++aPos.mnCol ) in ApplyCellStyles()
401 if( rStyle.mbUseFirstColumn && (aPos.mnCol == 0) ) in ApplyCellStyles()
405 else if( rStyle.mbUseLastColumn && (aPos.mnCol == nColCount-1) ) in ApplyCellStyles()
413 if( (aPos.mnRow & 1) == 0 ) in ApplyCellStyles()
425 if( (aPos.mnCol & 1) == 0 ) in ApplyCellStyles()
448 CellRef xCell( getCell( aPos ) ); in ApplyCellStyles()
799 CellPos aPos; in getLastCell() local
802 aPos.mnCol = mpImpl->getColumnCount()-1; in getLastCell()
803 aPos.mnRow = mpImpl->getRowCount()-1; in getLastCell()
805 return aPos; in getLastCell()
874 CellPos aPos( rPos ); in getPreviousCell() local
877 CellRef xCell( mpImpl->getCell( aPos ) ); in getPreviousCell()
881 findMergeOrigin( mpImpl->mxTable.get(), aPos.mnCol, aPos.mnRow, aPos.mnCol, nTemp ); in getPreviousCell()
884 if( aPos.mnCol > 0 ) in getPreviousCell()
886 --aPos.mnCol; in getPreviousCell()
889 else if( bEdgeTravel && (aPos.mnRow > 0) ) in getPreviousCell()
891 aPos.mnCol = mpImpl->mxTable->getColumnCount()-1; in getPreviousCell()
892 --aPos.mnRow; in getPreviousCell()
895 return aPos; in getPreviousCell()
902 CellPos aPos( rPos ); in getNextCell() local
905 CellRef xCell( mpImpl->getCell( aPos ) ); in getNextCell()
910 findMergeOrigin( mpImpl->mxTable, aPos.mnCol, aPos.mnRow, aPos.mnCol, aPos.mnRow ); in getNextCell()
912 xCell = mpImpl->getCell(aPos); in getNextCell()
916 aPos.mnCol += xCell->getColumnSpan(); in getNextCell()
917 aPos.mnRow = rPos.mnRow; in getNextCell()
922 aPos.mnCol += xCell->getColumnSpan(); in getNextCell()
925 if( aPos.mnCol < mpImpl->mxTable->getColumnCount() ) in getNextCell()
926 return aPos; in getNextCell()
928 if( bEdgeTravel && ((aPos.mnRow + 1) < mpImpl->getRowCount()) ) in getNextCell()
930 aPos.mnCol = 0; in getNextCell()
931 aPos.mnRow += 1; in getNextCell()
932 return aPos; in getNextCell()
945 CellPos aPos( rPos ); in getPreviousRow() local
948 CellRef xCell( mpImpl->getCell( aPos ) ); in getPreviousRow()
954 findMergeOrigin( mpImpl->mxTable, aPos.mnCol, aPos.mnRow, nTemp, aPos.mnRow ); in getPreviousRow()
958 if( aPos.mnRow > 0 ) in getPreviousRow()
960 --aPos.mnRow; in getPreviousRow()
962 else if( bEdgeTravel && (aPos.mnCol > 0) ) in getPreviousRow()
964 aPos.mnRow = mpImpl->mxTable->getRowCount()-1; in getPreviousRow()
965 --aPos.mnCol; in getPreviousRow()
968 return aPos; in getPreviousRow()
975 CellPos aPos( rPos ); in getNextRow() local
984 findMergeOrigin( mpImpl->mxTable, aPos.mnCol, aPos.mnRow, aPos.mnCol, aPos.mnRow ); in getNextRow()
985 xCell = mpImpl->getCell(aPos); in getNextRow()
986 aPos.mnCol = rPos.mnCol; in getNextRow()
990 aPos.mnRow += xCell->getRowSpan(); in getNextRow()
992 if( aPos.mnRow < mpImpl->mxTable->getRowCount() ) in getNextRow()
993 return aPos; in getNextRow()
995 if( bEdgeTravel && (aPos.mnCol + 1) < mpImpl->mxTable->getColumnCount() ) in getNextRow()
997 aPos.mnRow = 0; in getNextRow()
998 aPos.mnCol += 1; in getNextRow()
1000 while( aPos.mnCol < mpImpl->mxTable->getColumnCount() ) in getNextRow()
1002 xCell = mpImpl->getCell( aPos ); in getNextRow()
1004 return aPos; in getNextRow()
1005 aPos.mnCol += 1; in getNextRow()
1265 CellPos aPos( nIndex % nColCount, nIndex / nColCount ); in getText() local
1267 CellRef xCell( mpImpl->getCell( aPos ) ); in getText()
1302 CellPos aPos( nIndex % nColCount, nIndex / nColCount ); in setActiveText() local
1303 if( isValid( aPos ) ) in setActiveText()
1304 setActiveCell( aPos ); in setActiveText()
1316 CellPos aPos; in CheckTextHit() local
1317 if( CheckTableHit( rPnt, aPos.mnCol, aPos.mnRow, 0 ) == SDRTABLEHIT_CELLTEXTAREA ) in CheckTextHit()
1318 return aPos.mnRow * mpImpl->mxTable->getColumnCount() + aPos.mnCol; in CheckTextHit()
1570 CellPos aPos; in getActiveCell() local
1571 const_cast< SdrTableObj* >(this)->setActiveCell( aPos ); in getActiveCell()