Lines Matching refs:Count
132 if( !pDoc->IsIgnoreRedline() && pDoc->GetRedlineTbl().Count() ) in lcl_DelRedlines()
181 for( sal_uInt16 n = 0; n < pArr->Count(); n += 2 ) in lcl_SetDfltBoxAttr()
203 pArr->Insert( p, pArr->Count() ); in lcl_SetDfltBoxAttr()
205 pArr->Insert( p, pArr->Count() ); in lcl_SetDfltBoxAttr()
277 if( pLine->GetTabBoxes().Count() ) in InsBoxen()
279 if( nInsPos < pLine->GetTabBoxes().Count() ) in InsBoxen()
295 if( pTblNd->GetTable().GetTabLines().Count() && !nInsPos ) in InsBoxen()
304 while( ( pNxtBox = pLine->GetTabBoxes()[0])->GetTabLines().Count() ) in InsBoxen()
331 if (nRealInsPos > rTabBoxes.Count()) in InsBoxen()
332 nRealInsPos = rTabBoxes.Count(); in InsBoxen()
378 (nCols + ( text::HoriOrientation::NONE == eAdjust ? 2 : 1 )) != pColArr->Count() ) in InsertTable()
451 sal_uInt16 nLastPos = (*pColArr)[ sal_uInt16(pColArr->Count()-1)]; in InsertTable()
455 nLastPos = (*pColArr)[ sal_uInt16(pColArr->Count()-2)]; in InsertTable()
540 if( aCharSet.Count() ) in InsertTable()
580 if( IsRedlineOn() || (!IsIgnoreRedline() && pRedlineTbl->Count() )) in InsertTable()
807 sal_uInt16 nRows = rLines.Count(); in TextToTable()
811 sal_uInt16 nCols = rBoxes.Count(); in TextToTable()
838 if( aCharSet.Count() ) in TextToTable()
894 for( sal_uInt16 nBoxes = pNdTbl->GetTabSortBoxes().Count(); nBoxes; ) in TextToTable()
964 aPosArr.Count() ); in TextToTable()
972 aPosArr.Count() ); in TextToTable()
1027 if( aBkmkArr.Count() ) in TextToTable()
1051 if( aBkmkArr.Count() ) in TextToTable()
1069 for( n = 0; n < pTable->GetTabLines().Count(); ++n ) in TextToTable()
1072 if( nMaxBoxes != ( nBoxes = pCurrLine->GetTabBoxes().Count() )) in TextToTable()
1084 aPosArr.Remove( 0, aPosArr.Count() ); in TextToTable()
1088 if( aPosArr.Count() ) in TextToTable()
1092 for( n = 0; n < aPosArr.Count(); ++n ) in TextToTable()
1097 for( sal_uInt16 nTmpLine = 0; nTmpLine < rLns.Count(); ++nTmpLine ) in TextToTable()
1445 if( aPosArr.Count() ) in TextToTable()
1449 for( n = 0; n < aPosArr.Count(); ++n ) in TextToTable()
1454 for( sal_uInt16 nLines2 = 0; nLines2 < rLns.Count(); ++nLines2 ) in TextToTable()
1563 if( rpBox->GetTabLines().Count() ) in lcl_DelBox()
1596 if( aBkmkArr.Count() ) in lcl_DelBox()
1716 for( sal_uInt16 n = 0; n < rFlyArr.Count(); ++n ) in TableToText()
1747 if( aBoxes.Count() ) in InsertCol()
1755 ASSERT( rBoxes.Count(), "keine gueltige Box-Liste" ); in InsertCol()
1774 aTmpLst.Insert( &rTbl.GetTabSortBoxes(), 0, rTbl.GetTabSortBoxes().Count() ); in InsertCol()
1814 if( aBoxes.Count() ) in InsertRow()
1822 ASSERT( rBoxes.Count(), "keine gueltige Box-Liste" ); in InsertRow()
1841 aTmpLst.Insert( &rTbl.GetTabSortBoxes(), 0, rTbl.GetTabSortBoxes().Count() ); in InsertRow()
1903 if( !aFndBox.GetLines().Count() ) in DeleteRow()
1914 while( 1 == pFndBox->GetLines().Count() && in DeleteRow()
1915 1 == pFndBox->GetLines()[0]->GetBoxes().Count() ) in DeleteRow()
1924 pFndBox->GetLines().Count()-1 ]->GetLine(); in DeleteRow()
1926 pDelLine->GetTabBoxes().Count() - 1 ]; in DeleteRow()
1930 pDelBox->GetTabLines().Count()-1 ]; in DeleteRow()
1931 pDelBox = pLn->GetTabBoxes()[ pLn->GetTabBoxes().Count() - 1 ]; in DeleteRow()
2015 ASSERT( rBoxes.Count(), "keine gueltige Box-Liste" ); in DeleteRowCol()
2025 aSelBoxes.Insert(rBoxes.GetData(), rBoxes.Count()); in DeleteRowCol()
2043 const sal_uLong nTmpIdx2 = aSelBoxes[ aSelBoxes.Count()-1 ]->GetSttNd()-> in DeleteRowCol()
2045 if( pTblNd->GetTable().GetTabSortBoxes().Count() == aSelBoxes.Count() && in DeleteRowCol()
2234 ASSERT( rBoxes.Count() && nCnt, "keine gueltige Box-Liste" ); in SplitTbl()
2255 aTmpLst.Insert( &rTbl.GetTabSortBoxes(), 0, rTbl.GetTabSortBoxes().Count() ); in SplitTbl()
2258 for( sal_uInt16 n = 0; n < rBoxes.Count(); ++n ) in SplitTbl()
2328 if( !IsIgnoreRedline() && GetRedlineTbl().Count() ) in MergeTbl()
2641 for( sal_uInt16 i = 0; i < rBoxes.Count(); ++i ) in lcl_IsFrmInColumn()
2786 ASSERT( rFill.Count(), "Deleting from empty vector. Fasten your seatbelts!" ) in GetTabRows()
2789 if ( rFill.Count() ) rFill.Remove( 0, 1 ); in GetTabRows()
2790 if ( rFill.Count() ) rFill.Remove( rFill.Count() - 1 , 1 ); in GetTabRows()
2853 SwTabCols aOld( rNew.Count() ); in SetTabCols()
2885 SwTabCols aOld( rNew.Count() ); in SetTabRows()
2912 const sal_uInt16 nCount = rNew.Count(); in SetTabRows()
3047 aPosArr.Insert( nWidth, aPosArr.Count() ); in AddBox()
3049 aBoxes.Insert( p, aBoxes.Count() ); in AddBox()
3058 if( aPosArr.Count() ) in GetBoxOfPos()
3060 for( n = 0; n < aPosArr.Count(); ++n ) in GetBoxOfPos()
3070 if( n >= aPosArr.Count() ) in GetBoxOfPos()
3083 if( aPosArr.Count() ) in Resize()
3085 for( n = 0; n < aPosArr.Count(); ++n ) in Resize()
3099 for( n = 0; n < aPosArr.Count(); ++n ) in Resize()
3107 return 0 != aPosArr.Count(); in Resize()
3123 sal_uInt16 nLen = rpBox->GetTabLines().Count(); in lcl_Box_CollectBox()
3143 sal_uInt16 nLen = rpBox->GetTabLines().Count(); in lcl_BoxSetSplitBoxFmts()
3183 if( aTmpSet.Count() ) in lcl_BoxSetSplitBoxFmts()
3267 … SwSaveRowSpan* pSaveRowSp = pNew->GetTable().CleanUpTopRowSpan( rTbl.GetTabLines().Count() ); in SplitTable()
3274 if( aHistory.Count() ) in SplitTable()
3286 rTbl.GetTabLines().Count() - 1 ]; in SplitTable()
3366 for( sal_uInt16 nLns = 0; nLns < rLns.Count(); ++nLns ) in lcl_ChgTblSize()
3370 for( sal_uInt16 nBox = 0; nBox < rBoxes.Count(); ++nBox ) in lcl_ChgTblSize()
3397 { aDest.Insert( pFmt, aDest.Count() ); } in DestFmt_Insert()
3400 { aSrc.Insert( pFmt, aSrc.Count() ); } in SrcFmt_Insert()
3479 ( bAfter ? ++nLinePos >= rTbl.GetTabLines().Count() : !nLinePos )) in SplitTable()
3522 for (sal_uInt16 k = nLinePos; k < rTbl.GetTabLines().Count(); ++k) in SplitTable()
3524 sal_uInt16 nLineIdx = (rTbl.GetTabLines().Count() - 1) - k + nLinePos; in SplitTable()
3525 sal_uInt16 nBoxCnt = rTbl.GetTabLines()[ nLineIdx ]->GetTabBoxes().Count(); in SplitTable()
3535 sal_uInt16 nDeleted = rTbl.GetTabLines().Count() - nLinePos; in SplitTable()
3615 if( pHistory->Count() ) in MergeTable()
3690 sal_uInt16 nOldSize = rTbl.GetTabLines().Count(); in MergeTable()
3692 rDelTbl.GetTabLines().Remove( 0, rDelTbl.GetTabLines().Count() ); in MergeTable()
3695 rDelTbl.GetTabSortBoxes().Remove( (sal_uInt16)0, rDelTbl.GetTabSortBoxes().Count() ); in MergeTable()
3795 if( aCharSet.Count() ) in lcl_SetAFmtBox()
3807 if( aBoxSet.Count() ) in lcl_SetAFmtBox()
3828 ASSERT( rBoxes.Count(), "keine gueltige Box-Liste" ); in SetTableAutoFmt()
3839 if( !aFndBox.GetLines().Count() ) in SetTableAutoFmt()
3845 while( 1 == pFndBox->GetLines().Count() && in SetTableAutoFmt()
3846 1 == pFndBox->GetLines()[0]->GetBoxes().Count() ) in SetTableAutoFmt()
3849 if( !pFndBox->GetLines().Count() ) // eine zu weit? (nur 1 sel.Box) in SetTableAutoFmt()
3867 for( sal_uInt16 n = 0; n < rFLns.Count(); ++n ) in SetTableAutoFmt()
3877 else if( n+1 == rFLns.Count() ) in SetTableAutoFmt()
3884 aPara.nEndBox = pLine->GetBoxes().Count()-1; in SetTableAutoFmt()
3906 ASSERT( rBoxes.Count(), "keine gueltige Box-Liste" ); in GetTableAutoFmt()
3917 if( !aFndBox.GetLines().Count() ) in GetTableAutoFmt()
3921 while( 1 == pFndBox->GetLines().Count() && in GetTableAutoFmt()
3922 1 == pFndBox->GetLines()[0]->GetBoxes().Count() ) in GetTableAutoFmt()
3925 if( !pFndBox->GetLines().Count() ) // eine zu weit? (nur 1 sel.Box) in GetTableAutoFmt()
3932 aLnArr[1] = 1 < rFLns.Count() ? 1 : 0; in GetTableAutoFmt()
3933 aLnArr[2] = 2 < rFLns.Count() ? 2 : aLnArr[1]; in GetTableAutoFmt()
3934 aLnArr[3] = rFLns.Count() - 1; in GetTableAutoFmt()
3942 aBoxArr[1] = 1 < rLine.GetBoxes().Count() ? 1 : 0; in GetTableAutoFmt()
3943 aBoxArr[2] = 2 < rLine.GetBoxes().Count() ? 2 : aBoxArr[1]; in GetTableAutoFmt()
3944 aBoxArr[3] = rLine.GetBoxes().Count() - 1; in GetTableAutoFmt()
3977 sal_uInt16 nNum, nTmp, nFlagSize = ( pTblFrmFmtTbl->Count() / 8 ) +2; in GetUniqueTblName()
3983 for( n = 0; n < pTblFrmFmtTbl->Count(); ++n ) in GetUniqueTblName()
3991 if( nNum-- && nNum < pTblFrmFmtTbl->Count() ) in GetUniqueTblName()
3997 nNum = pTblFrmFmtTbl->Count(); in GetUniqueTblName()
4020 for( sal_uInt16 n = 0; n < pTblFrmFmtTbl->Count(); ++n ) in FindTblFmtByName()
4397 && ( bDelCpyDoc || rBoxes.Count() ) ) in InsCopyOfTbl()
4470 for( sal_uInt16 i = rSrtBox.Count(); i; ) in _UnProtectTblCells()
4510 if( rBoxes.Count() ) in UnProtectCells()
4517 for( sal_uInt16 i = rBoxes.Count(); i; ) in UnProtectCells()
4528 aFmts.Insert( pBoxFmt, aFmts.Count() ); in UnProtectCells()
4531 aNewFmts.Insert( pBoxFmt, aNewFmts.Count() ); in UnProtectCells()
4559 for( sal_uInt16 n = rFmts.Count(); n ; ) in UnProtectTbls()
4611 for( sal_uInt16 i = rSrtBox.Count(); i; ) in HasTblAnyProtection()
4641 if( !pDoc->IsIgnoreRedline() && rTbl.Count() ) in lcl_DelRedlines()
4650 for ( ; nRedlPos < rTbl.Count(); ++nRedlPos ) in lcl_DelRedlines()