Lines Matching refs:Count
153 mpViews->Insert( pTextView, mpViews->Count() ); in InsertView()
174 return mpViews->Count(); in GetViewCount()
251 for ( sal_uInt16 nView = mpViews->Count(); nView; ) in SetFont()
310 sal_uLong nParas = mpTEParaPortions->Count(); in GetTextLines()
316 sal_uInt16 nLines = pTEParaPortion->GetLines().Count(); in GetTextLines()
503 for ( sal_uInt16 nView = 0; nView < mpViews->Count(); nView++ ) in ImpRemoveText()
526 for ( sal_uInt16 nView = 0; nView < mpViews->Count(); nView++ ) in SetText()
567 for ( sal_uInt16 nAttr = pNode->GetCharAttribs().Count(); nAttr; ) in ImpRemoveChars()
968 nY += pPortion->GetLines().Count() * mnCharHeight; in PaMtoEditCursor()
1001 for ( sal_uInt16 nLine = 0; nLine < pPortion->GetLines().Count(); nLine++ ) in GetEditCursor()
1018 pLine = pPortion->GetLines().GetObject( pPortion->GetLines().Count()-1 ); in GetEditCursor()
1070 …>GetKind() == PORTIONKIND_TAB ) && ( (nTextPortion+1) < pParaPortion->GetTextPortions().Count() ) ) in ImpGetXPos()
1137 for ( sal_uLong n = mpDoc->GetNodes().Count(); --n && !bAttr; ) in HasAttrib()
1150 for ( sal_uLong nPortion = 0; nPortion < mpTEParaPortions->Count(); nPortion++ ) in GetPaM()
1153 long nTmpHeight = pPortion->GetLines().Count() * mnCharHeight; in GetPaM()
1168 sal_uLong nLastNode = mpDoc->GetNodes().Count() - 1; in GetPaM()
1183 for ( nLine = 0; nLine < pPortion->GetLines().Count(); nLine++ ) in ImpFindIndex()
1198 ( pLine != pPortion->GetLines().GetObject( pPortion->GetLines().Count()-1) ) ) in ImpFindIndex()
1271 for ( sal_uInt16 nLine = pPortion->GetLines().Count(); nLine; ) in CalcTextWidth()
1294 for ( sal_uLong nPara = mpTEParaPortions->Count(); nPara; ) in CalcTextWidth()
1309 for ( sal_uLong nPortion = mpTEParaPortions->Count(); nPortion; ) in CalcTextHeight()
1347 DBG_ASSERT( nParagraph < mpTEParaPortions->Count(), "GetLineCount: Out of range" ); in GetLineCount()
1351 return pPPortion->GetLines().Count(); in GetLineCount()
1358 DBG_ASSERT( nParagraph < mpTEParaPortions->Count(), "GetLineCount: Out of range" ); in GetLineLen()
1361 if ( pPPortion && ( nLine < pPPortion->GetLines().Count() ) ) in GetLineLen()
1377 nHeight = pPPortion->GetLines().Count() * mnCharHeight; in CalcParaHeight()
1389 sal_uInt16 nLines = pTEParaPortion->GetLines().Count(); in GetInvalidYOffsets()
1417 return mpDoc->GetNodes().Count(); in GetParagraphCount()
1499 sal_uInt16 nAttribs = pNode->GetCharAttribs().Count(); in SeekCursor()
1601 for ( sal_uInt16 nView = 0; nView < mpViews->Count(); nView++ ) in UpdateViews()
1646 for ( sal_uLong nPortion = 0; nPortion < mpTEParaPortions->Count(); nPortion++ ) in FormatFullDoc()
1667 for ( sal_uLong nPara = 0; nPara < mpTEParaPortions->Count(); nPara++ ) in FormatDoc()
1711 if ( !mbHasMultiLineParas && pTEParaPortion->GetLines().Count() > 1 ) in FormatDoc()
1753 pTEParaPortion->GetLines().Insert( pTmpLine, pTEParaPortion->GetLines().Count() ); in CreateAndInsertEmptyLine()
1766 …pTEParaPortion->GetTextPortions().Insert( pDummyPortion, pTEParaPortion->GetTextPortions().Count()… in CreateAndInsertEmptyLine()
1772 …TextLine* pLastLine = pTEParaPortion->GetLines().GetObject( pTEParaPortion->GetLines().Count()-2 ); in CreateAndInsertEmptyLine()
1775 sal_uInt16 nPos = (sal_uInt16) pTEParaPortion->GetTextPortions().Count() - 1 ; in CreateAndInsertEmptyLine()
1843 sal_uInt16 nPortions = pTEParaPortion->GetTextPortions().Count(); in SplitTextPortion()
1878 sal_uInt16 nAttribs = pNode->GetCharAttribs().Count(); in CreateTextPortions()
1891 for ( sal_uInt16 nD = 0; nD < rWritingDirections.Count(); nD++ ) in CreateTextPortions()
1921 for ( nP = 0; nP < pTEParaPortion->GetTextPortions().Count(); nP++ ) in CreateTextPortions()
1932 …DBG_ASSERT( nP < pTEParaPortion->GetTextPortions().Count() || !pTEParaPortion->GetTextPortions().C… in CreateTextPortions()
1951 DBG_ASSERT( bFound && ( nInvPos < (aPositions.Count()-1) ), "InvPos ?!" ); in CreateTextPortions()
1952 for ( sal_uInt16 i = nInvPos+1; i < aPositions.Count(); i++ ) in CreateTextPortions()
1955 pTEParaPortion->GetTextPortions().Insert( pNew, pTEParaPortion->GetTextPortions().Count()); in CreateTextPortions()
1958 DBG_ASSERT( pTEParaPortion->GetTextPortions().Count(), "Keine Portions?!" ); in CreateTextPortions()
1967 DBG_ASSERT( pTEParaPortion->GetTextPortions().Count(), "Keine Portions!" ); in RecalcTextPortion()
1991 if ( ( nNewPortionPos < pTEParaPortion->GetTextPortions().Count() ) && in RecalcTextPortion()
2027 sal_uInt16 nPortions = pTEParaPortion->GetTextPortions().Count(); in RecalcTextPortion()
2052 DBG_ASSERT( pTEParaPortion->GetTextPortions().Count(), "RecalcTextPortions: Keine mehr da!" ); in RecalcTextPortion()
2089 for ( sal_uLong nPara = 0; nPara < mpTEParaPortions->Count(); nPara++ ) in ImpPaint()
2104 sal_uInt16 nLines = pPortion->GetLines().Count(); in ImpPaint()
2121 DBG_ASSERT( pPortion->GetTextPortions().Count(), "Zeile ohne Textportion im Paint!" ); in ImpPaint()
2289 sal_uInt16 nOldLineCount = pTEParaPortion->GetLines().Count(); in CreateLines()
2297 if ( pTEParaPortion->GetTextPortions().Count() ) in CreateLines()
2299 if ( pTEParaPortion->GetLines().Count() ) in CreateLines()
2300 pTEParaPortion->GetLines().DeleteAndDestroy( 0, pTEParaPortion->GetLines().Count() ); in CreateLines()
2303 return nOldLineCount != pTEParaPortion->GetLines().Count(); in CreateLines()
2310 if ( pTEParaPortion->GetLines().Count() == 0 ) in CreateLines()
2321 if ( !pTEParaPortion->GetWritingDirectionInfos().Count() ) in CreateLines()
2324 if ( pTEParaPortion->GetWritingDirectionInfos().Count() == 1 ) in CreateLines()
2337 sal_uInt16 nPortions = pTEParaPortion->GetTextPortions().Count(); in CreateLines()
2362 sal_uInt16 nLine = pTEParaPortion->GetLines().Count()-1; in CreateLines()
2414 … ( nTmpWidth <= nXWidth ) && !bEOL && ( nTmpPortion < pTEParaPortion->GetTextPortions().Count() ) ) in CreateLines()
2475 DBG_ASSERT( pTEParaPortion->GetTextPortions().Count(), "Keine TextPortions?" ); in CreateLines()
2476 pLine->SetEndPortion( (sal_uInt16)pTEParaPortion->GetTextPortions().Count() - 1 ); in CreateLines()
2581 if ( nLine < pTEParaPortion->GetLines().Count()-1 ) in CreateLines()
2604 …pTEParaPortion->GetLines().DeleteAndDestroy( nDelFromLine, pTEParaPortion->GetLines().Count() - nD… in CreateLines()
2606 DBG_ASSERT( pTEParaPortion->GetLines().Count(), "Keine Zeile nach CreateLines!" ); in CreateLines()
2613 return nOldLineCount != pTEParaPortion->GetLines().Count(); in CreateLines()
2619 if ( rCursorPos.GetPara() < mpDoc->GetNodes().Count() ) in GetWord()
2645 sal_uLong nParas = mpDoc->GetNodes().Count(); in Read()
2686 sal_uLong nParas = mpDoc->GetNodes().Count(); in Write()
2768 if ( nPara < mpDoc->GetNodes().Count() ) in RemoveAttribs()
2771 if ( pNode->GetCharAttribs().Count() ) in RemoveAttribs()
2789 if ( nPara < mpDoc->GetNodes().Count() ) in RemoveAttribs()
2792 if ( pNode->GetCharAttribs().Count() ) in RemoveAttribs()
2795 sal_uInt16 nAttrCount = rAttribs.Count(); in RemoveAttribs()
2813 if ( nPara < mpDoc->GetNodes().Count() ) in RemoveAttrib()
2816 if ( pNode->GetCharAttribs().Count() ) in RemoveAttrib()
2819 sal_uInt16 nAttrCount = rAttribs.Count(); in RemoveAttrib()
2845 if ( nPara < mpDoc->GetNodes().Count() ) in SetAttrib()
2886 sal_uLong nMaxPara = mpDoc->GetNodes().Count() - 1; in ValidatePaM()
2905 if ( mpViews->Count() > 1 ) in ImpParagraphInserted()
2907 for ( sal_uInt16 nView = mpViews->Count(); nView; ) in ImpParagraphInserted()
2934 if ( mpViews->Count() > 1 ) in ImpParagraphRemoved()
2936 for ( sal_uInt16 nView = mpViews->Count(); nView; ) in ImpParagraphRemoved()
2941 sal_uLong nParas = mpDoc->GetNodes().Count(); in ImpParagraphRemoved()
2962 if ( mpViews->Count() > 1 ) in ImpCharsRemoved()
2964 for ( sal_uInt16 nView = mpViews->Count(); nView; ) in ImpCharsRemoved()
2989 if ( mpViews->Count() > 1 ) in ImpCharsInserted()
2991 for ( sal_uInt16 nView = mpViews->Count(); nView; ) in ImpCharsInserted()
3088 rInfos.Remove( 0, rInfos.Count() ); in ImpInitWritingDirections()
3114 …Insert( TEWritingDirectionInfo( nCurrDir, (sal_uInt16)nStart, (sal_uInt16)nEnd ), rInfos.Count() ); in ImpInitWritingDirections()
3122 if ( !rInfos.Count() ) in ImpInitWritingDirections()
3123 …itingDirectionInfo( 0, 0, (sal_uInt16)pParaPortion->GetNode()->GetText().Len() ), rInfos.Count() ); in ImpInitWritingDirections()
3135 if ( !pParaPortion->GetWritingDirectionInfos().Count() ) in ImpGetRightToLeft()
3139 for ( sal_uInt16 n = 0; n < rDirInfos.Count(); n++ ) in ImpGetRightToLeft()