Lines Matching refs:nRow

155 sal_Int32 TableLayouter::getRowHeight( sal_Int32 nRow )  in getRowHeight()  argument
157 if( isValidRow(nRow) ) in getRowHeight()
158 return maRows[nRow].mnSize; in getRowHeight()
165 void TableLayouter::setRowHeight( sal_Int32 nRow, sal_Int32 nHeight ) in setRowHeight() argument
167 if( isValidRow(nRow) ) in setRowHeight()
169 maRows[nRow].mnSize = nHeight; in setRowHeight()
365 sal_Int32 nRow, nCol; in findMergeOrigin() local
370 nRow = nMergedY - nStep; in findMergeOrigin()
371 if( nRow >= nMinRow ) in findMergeOrigin()
376 if( checkMergeOrigin( xTable, nMergedX, nMergedY, nCol, nRow, bCheckVert ) ) in findMergeOrigin()
378 rOriginX = nCol; rOriginY = nRow; in findMergeOrigin()
386 nMinRow = nRow+1; in findMergeOrigin()
407 nRow = nMergedY; in findMergeOrigin()
408 for( i = 0; (i < nStep) && (nRow >= nMinRow); i++, nRow-- ) in findMergeOrigin()
410 if( checkMergeOrigin( xTable, nMergedX, nMergedY, nCol, nRow, bCheckHorz ) ) in findMergeOrigin()
412 rOriginX = nCol; rOriginY = nRow; in findMergeOrigin()
418 if( nRow == nMergedY ) in findMergeOrigin()
559 sal_Int32 nCol = 0, nRow = 0; in LayoutTableWidth() local
566 for( nRow = 0; nRow < nRowCount; ++nRow ) in LayoutTableWidth()
568 CellRef xCell( getCell( CellPos( nCol, nRow ) ) ); in LayoutTableWidth()
709 sal_Int32 nCol, nRow; in LayoutTableHeight() local
710 for( nRow = 0; nRow < nRowCount; ++nRow ) in LayoutTableHeight()
718 CellRef xCell( getCell( CellPos( nCol, nRow ) ) ); in LayoutTableHeight()
727 aMergedCells[nRow+nRowSpan-1].push_back( xCell ); in LayoutTableHeight()
736 maRows[nRow].mnMinSize = nMinHeight; in LayoutTableHeight()
740 maRows[nRow].mnSize = 0; in LayoutTableHeight()
745 Reference< XPropertySet > xRowSet( xRows->getByIndex(nRow), UNO_QUERY_THROW ); in LayoutTableHeight()
751 aOptimalRows.push_back( nRow ); in LayoutTableHeight()
758 maRows[nRow].mnSize = nRowHeight; in LayoutTableHeight()
760 if( maRows[nRow].mnSize < nMinHeight ) in LayoutTableHeight()
761 maRows[nRow].mnSize = nMinHeight; in LayoutTableHeight()
763 nCurrentHeight += maRows[nRow].mnSize; in LayoutTableHeight()
789 for( nRow = 1; nRow < nRowCount; ++nRow ) in LayoutTableHeight()
792 sal_Int32 nOldSize = maRows[nRow].mnSize; in LayoutTableHeight()
794 MergeableCellVector::iterator iter( aMergedCells[nRow].begin() ); in LayoutTableHeight()
795 while( iter != aMergedCells[nRow].end() ) in LayoutTableHeight()
800 for( sal_Int32 nMRow = nRow - xCell->getRowSpan() + 1; (nMRow > 0) && (nMRow < nRow); ++nMRow ) in LayoutTableHeight()
803 if( nMinHeight > maRows[nRow].mnMinSize ) in LayoutTableHeight()
804 maRows[nRow].mnMinSize = nMinHeight; in LayoutTableHeight()
806 if( nMinHeight > maRows[nRow].mnSize ) in LayoutTableHeight()
808 maRows[nRow].mnSize = nMinHeight; in LayoutTableHeight()
813 nCurrentHeight += maRows[nRow].mnSize - nOldSize; in LayoutTableHeight()
822 for( nRow = 0; nRow < nRowCount; ++nRow ) in LayoutTableHeight()
824 maRows[nRow].mnPos = nNewHeight; in LayoutTableHeight()
825 nNewHeight += maRows[nRow].mnSize; in LayoutTableHeight()
829 Reference< XPropertySet > xRowSet( xRows->getByIndex(nRow), UNO_QUERY_THROW ); in LayoutTableHeight()
830 xRowSet->setPropertyValue( msSize, Any( maRows[nRow].mnSize ) ); in LayoutTableHeight()
856 for( sal_Int32 nRow = 0; nRow < nRowCount; nRow++ ) in LayoutTable() local
857 maRows[nRow].clear(); in LayoutTable()
955 void TableLayouter::SetBorder( sal_Int32 nCol, sal_Int32 nRow, bool bHorizontal, const SvxBorderLin… in SetBorder() argument
960 …SvxBorderLine *pOld = bHorizontal ? maHorizontalBorders[nCol][nRow] : maVerticalBorders[nCol][nRow in SetBorder()
970 maHorizontalBorders[nCol][nRow] = pNew; in SetBorder()
972 maVerticalBorders[nCol][nRow] = pNew; in SetBorder()
993 for( sal_Int32 nRow = 0; nRow < nRowCount; nRow++ ) in ClearBorderLayout() local
995 SvxBorderLine* pLine = rMap[nCol][nRow]; in ClearBorderLayout()
1001 rMap[nCol][nRow] = 0; in ClearBorderLayout()
1061 for( sal_Int32 nRow = aPos.mnRow; nRow < nLastRow; nRow++ ) in UpdateBorderLayout() local
1063 SetBorder( aPos.mnCol, nRow, false, pThisAttr->GetLeft() ); in UpdateBorderLayout()
1064 SetBorder( nLastCol, nRow, false, pThisAttr->GetRight() ); in UpdateBorderLayout()
1163 for( sal_Int32 nRow = nFirstRow; nRow <= nLastRow; ++nRow ) in DistributeRows() local
1165 nMinHeight = std::max( maRows[nRow].mnMinSize, nMinHeight ); in DistributeRows()
1166 nAllHeight += maRows[nRow].mnSize; in DistributeRows()
1181 for( sal_Int32 nRow = nFirstRow; nRow <= nLastRow; ++nRow ) in DistributeRows() local
1183 if( nRow == nLastRow ) in DistributeRows()
1186 Reference< XPropertySet > xRowSet( xRows->getByIndex( nRow ), UNO_QUERY_THROW ); in DistributeRows()
1220 sal_Int32 TableLayouter::getRowStart( sal_Int32 nRow ) const in getRowStart()
1222 if( isValidRow(nRow) ) in getRowStart()
1223 return maRows[nRow].mnPos; in getRowStart()