Lines Matching refs:n

181 	for( sal_uInt16 n = 0; n < pArr->Count(); n += 2 )  in lcl_SetDfltBoxAttr()  local
182 if( pArr->GetObject( n ) == pBoxFmt ) in lcl_SetDfltBoxAttr()
184 pNewBoxFmt = (SwTableBoxFmt*)pArr->GetObject( n + 1 ); in lcl_SetDfltBoxAttr()
320 for( sal_uInt16 n = 0; n < nCnt; ++n ) in InsBoxen() local
330 sal_uInt16 nRealInsPos = nInsPos + n; in InsBoxen()
517 for( sal_uInt16 n = 0; n < nRows; ++n ) in InsertTable() local
520 rLines.C40_INSERT( SwTableLine, pLine, n ); in InsertTable()
527 sal_uInt8 nId = static_cast<sal_uInt8>(!n ? 0 : (( n+1 == nRows ) in InsertTable()
528 ? 12 : (4 * (1 + ((n-1) & 1 ))))); in InsertTable()
547 sal_uInt8 nBoxId = (i < nCols - 1 ? 0 : 1) + (n ? 2 : 0 ); in InsertTable()
808 for( sal_uInt16 n = 0; n < nRows; ++n ) in TextToTable() local
810 SwTableBoxes& rBoxes = rLines[ n ]->GetTabBoxes(); in TextToTable()
819 sal_uInt8 nId = static_cast<sal_uInt8>(!n ? 0 : (( n+1 == nRows ) in TextToTable()
820 ? 12 : (4 * (1 + ((n-1) & 1 ))))); in TextToTable()
861 sal_uInt8 nId = (i < nCols - 1 ? 0 : 1) + (n ? 2 : 0 ); in TextToTable()
1067 sal_uInt16 n; in TextToTable() local
1069 for( n = 0; n < pTable->GetTabLines().Count(); ++n ) in TextToTable()
1071 SwTableLine* pCurrLine = pTable->GetTabLines()[ n ]; in TextToTable()
1083 if( !n ) in TextToTable()
1092 for( n = 0; n < aPosArr.Count(); ++n ) in TextToTable()
1096 aPosArr[ n ] - nLastPos )); in TextToTable()
1100 pNewFmt->Add( rLns[ nTmpLine ]->GetTabBoxes()[ n ] ); in TextToTable()
1102 nLastPos = aPosArr[ n ]; in TextToTable()
1443 sal_uInt16 n; in TextToTable() local
1449 for( n = 0; n < aPosArr.Count(); ++n ) in TextToTable()
1453 aPosArr[ n ] - nLastPos )); in TextToTable()
1457 pNewFmt->Add( rLns[ nLines2 ]->GetTabBoxes()[ n ] ); in TextToTable()
1459 nLastPos = aPosArr[ n ]; in TextToTable()
1716 for( sal_uInt16 n = 0; n < rFlyArr.Count(); ++n ) in TableToText() local
1718 SwFrmFmt *const pFmt = (SwFrmFmt*)rFlyArr[n]; in TableToText()
2258 for( sal_uInt16 n = 0; n < rBoxes.Count(); ++n ) in SplitTbl() local
2260 const SwStartNode* pSttNd = rBoxes[ n ]->GetSttNd(); in SplitTbl()
2262 pSttNd->GetIndex(), n ); in SplitTbl()
3056 sal_uInt16 n; in GetBoxOfPos() local
3060 for( n = 0; n < aPosArr.Count(); ++n ) in GetBoxOfPos()
3061 if( aPosArr[ n ] == nWidth ) in GetBoxOfPos()
3063 else if( aPosArr[ n ] > nWidth ) in GetBoxOfPos()
3065 if( n ) in GetBoxOfPos()
3066 --n; in GetBoxOfPos()
3070 if( n >= aPosArr.Count() ) in GetBoxOfPos()
3071 --n; in GetBoxOfPos()
3074 pRet = aBoxes[ n ]; in GetBoxOfPos()
3081 sal_uInt16 n; in Resize() local
3085 for( n = 0; n < aPosArr.Count(); ++n ) in Resize()
3086 if( aPosArr[ n ] == nOffset ) in Resize()
3088 else if( aPosArr[ n ] > nOffset ) in Resize()
3090 if( n ) in Resize()
3091 --n; in Resize()
3095 aPosArr.Remove( 0, n ); in Resize()
3096 aBoxes.Remove( 0, n ); in Resize()
3099 for( n = 0; n < aPosArr.Count(); ++n ) in Resize()
3102 nSize *= ( aPosArr[ n ] - nOffset ); in Resize()
3104 aPosArr[ n ] = sal_uInt16( nSize ); in Resize()
3867 for( sal_uInt16 n = 0; n < rFLns.Count(); ++n ) in SetTableAutoFmt() local
3869 pLine = rFLns[n]; in SetTableAutoFmt()
3875 if( !n ) in SetTableAutoFmt()
3877 else if( n+1 == rFLns.Count() ) in SetTableAutoFmt()
3880 aPara.nAFmtLine = (sal_uInt8)(1 + ((n-1) & 1 )); in SetTableAutoFmt()
3978 sal_uInt16 n; in GetUniqueTblName() local
3983 for( n = 0; n < pTblFrmFmtTbl->Count(); ++n ) in GetUniqueTblName()
3985 const SwFrmFmt* pFmt = (*pTblFrmFmtTbl)[ n ]; in GetUniqueTblName()
3998 for( n = 0; n < nFlagSize; ++n ) in GetUniqueTblName()
3999 if( 0xff != ( nTmp = pSetFlags[ n ] )) in GetUniqueTblName()
4002 nNum = n * 8; in GetUniqueTblName()
4020 for( sal_uInt16 n = 0; n < pTblFrmFmtTbl->Count(); ++n ) in FindTblFmtByName() local
4022 const SwFrmFmt* pFmt = (*pTblFrmFmtTbl)[ n ]; in FindTblFmtByName()
4559 for( sal_uInt16 n = rFmts.Count(); n ; ) in UnProtectTbls() local
4560 if( 0 != (pTbl = SwTable::FindTable( rFmts[ --n ] )) && in UnProtectTbls()