Lines Matching refs:pTEParaPortion
314 TEParaPortion* pTEParaPortion = mpTEParaPortions->GetObject( nP ); in GetTextLines() local
316 sal_uInt16 nLines = pTEParaPortion->GetLines().Count(); in GetTextLines()
319 TextLine* pLine = pTEParaPortion->GetLines()[nL]; in GetTextLines()
320 …aText += pTEParaPortion->GetNode()->GetText().Copy( pLine->GetStart(), pLine->GetEnd() - pLine->Ge… in GetTextLines()
1388 TEParaPortion* pTEParaPortion = mpTEParaPortions->GetObject( nPortion ); in GetInvalidYOffsets() local
1389 sal_uInt16 nLines = pTEParaPortion->GetLines().Count(); in GetInvalidYOffsets()
1394 TextLine* pL = pTEParaPortion->GetLines().GetObject( nLine ); in GetInvalidYOffsets()
1404 TextLine* pL = pTEParaPortion->GetLines().GetObject( nLine ); in GetInvalidYOffsets()
1648 …TEParaPortion* pTEParaPortion = mpTEParaPortions->GetObject( nPortion ); sal_uInt16 nLen = pTEPar… in FormatFullDoc() local
1649 pTEParaPortion->MarkSelectionInvalid( 0, nLen ); in FormatFullDoc()
1669 TEParaPortion* pTEParaPortion = mpTEParaPortions->GetObject( nPara ); in FormatDoc() local
1670 if ( pTEParaPortion->IsInvalid() ) in FormatDoc()
1711 if ( !mbHasMultiLineParas && pTEParaPortion->GetLines().Count() > 1 ) in FormatDoc()
1748 TEParaPortion* pTEParaPortion = mpTEParaPortions->GetObject( nPara ); in CreateAndInsertEmptyLine() local
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()
1823 TEParaPortion* pTEParaPortion = mpTEParaPortions->GetObject( nPara ); in ImpBreakLine() local
1824 TETextPortion* pTP = pTEParaPortion->GetTextPortions().GetObject( nEndPortion ); in ImpBreakLine()
1842 TEParaPortion* pTEParaPortion = mpTEParaPortions->GetObject( nPara ); in SplitTextPortion() local
1843 sal_uInt16 nPortions = pTEParaPortion->GetTextPortions().Count(); in SplitTextPortion()
1846 TETextPortion* pTP = pTEParaPortion->GetTextPortions().GetObject(nSplitPortion); in SplitTextPortion()
1862 pTEParaPortion->GetTextPortions().Insert( pNewPortion, nSplitPortion+1 ); in SplitTextPortion()
1870 TEParaPortion* pTEParaPortion = mpTEParaPortions->GetObject( nPara ); in CreateTextPortions() local
1871 TextNode* pNode = pTEParaPortion->GetNode(); in CreateTextPortions()
1890 const TEWritingDirectionInfos& rWritingDirections = pTEParaPortion->GetWritingDirectionInfos(); in CreateTextPortions()
1921 for ( nP = 0; nP < pTEParaPortion->GetTextPortions().Count(); nP++ ) in CreateTextPortions()
1923 TETextPortion* pTmpPortion = pTEParaPortion->GetTextPortions().GetObject(nP); in CreateTextPortions()
1932 …DBG_ASSERT( nP < pTEParaPortion->GetTextPortions().Count() || !pTEParaPortion->GetTextPortions().C… in CreateTextPortions()
1933 …if ( nInvPortion && ( nPortionStart+pTEParaPortion->GetTextPortions().GetObject(nInvPortion)->GetL… in CreateTextPortions()
1939 …nPortionStart = nPortionStart - pTEParaPortion->GetTextPortions().GetObject(nInvPortion)->GetLen(); in CreateTextPortions()
1941 pTEParaPortion->GetTextPortions().DeleteFromPortion( nInvPortion ); in CreateTextPortions()
1955 pTEParaPortion->GetTextPortions().Insert( pNew, pTEParaPortion->GetTextPortions().Count()); in CreateTextPortions()
1958 DBG_ASSERT( pTEParaPortion->GetTextPortions().Count(), "Keine Portions?!" ); in CreateTextPortions()
1960 DBG_ASSERT( pTEParaPortion->DbgCheckTextPortions(), "Portions kaputt?" ); in CreateTextPortions()
1966 TEParaPortion* pTEParaPortion = mpTEParaPortions->GetObject( nPara ); in RecalcTextPortion() local
1967 DBG_ASSERT( pTEParaPortion->GetTextPortions().Count(), "Keine Portions!" ); in RecalcTextPortion()
1970 TextNode* const pNode = pTEParaPortion->GetNode(); in RecalcTextPortion()
1991 if ( ( nNewPortionPos < pTEParaPortion->GetTextPortions().Count() ) && in RecalcTextPortion()
1992 !pTEParaPortion->GetTextPortions()[nNewPortionPos]->GetLen() ) in RecalcTextPortion()
1996 pTEParaPortion->GetTextPortions()[nNewPortionPos]->GetLen(); in RecalcTextPortion()
2002 pTEParaPortion->GetTextPortions().Insert( pNewPortion, nNewPortionPos ); in RecalcTextPortion()
2008 const sal_uInt16 nTP = pTEParaPortion->GetTextPortions(). in RecalcTextPortion()
2010 TETextPortion* const pTP = pTEParaPortion->GetTextPortions()[ nTP ]; in RecalcTextPortion()
2027 sal_uInt16 nPortions = pTEParaPortion->GetTextPortions().Count(); in RecalcTextPortion()
2031 pTP = pTEParaPortion->GetTextPortions()[ nPortion ]; in RecalcTextPortion()
2044 pTEParaPortion->GetTextPortions().Remove( nPortion ); in RecalcTextPortion()
2052 DBG_ASSERT( pTEParaPortion->GetTextPortions().Count(), "RecalcTextPortions: Keine mehr da!" ); in RecalcTextPortion()
2056 DBG_ASSERT( pTEParaPortion->DbgCheckTextPortions(), "Portions kaputt?" ); in RecalcTextPortion()
2286 TEParaPortion* pTEParaPortion = mpTEParaPortions->GetObject( nPara ); in CreateLines() local
2287 DBG_ASSERT( pTEParaPortion->IsInvalid(), "CreateLines: Portion nicht invalid!" ); in CreateLines()
2289 sal_uInt16 nOldLineCount = pTEParaPortion->GetLines().Count(); in CreateLines()
2294 if ( pTEParaPortion->GetNode()->GetText().Len() == 0 ) in CreateLines()
2297 if ( pTEParaPortion->GetTextPortions().Count() ) in CreateLines()
2298 pTEParaPortion->GetTextPortions().Reset(); in CreateLines()
2299 if ( pTEParaPortion->GetLines().Count() ) in CreateLines()
2300 pTEParaPortion->GetLines().DeleteAndDestroy( 0, pTEParaPortion->GetLines().Count() ); in CreateLines()
2302 pTEParaPortion->SetValid(); in CreateLines()
2303 return nOldLineCount != pTEParaPortion->GetLines().Count(); in CreateLines()
2310 if ( pTEParaPortion->GetLines().Count() == 0 ) in CreateLines()
2313 pTEParaPortion->GetLines().Insert( pL, 0 ); in CreateLines()
2316 const short nInvalidDiff = pTEParaPortion->GetInvalidDiff(); in CreateLines()
2317 const sal_uInt16 nInvalidStart = pTEParaPortion->GetInvalidPosStart(); in CreateLines()
2321 if ( !pTEParaPortion->GetWritingDirectionInfos().Count() ) in CreateLines()
2324 if ( pTEParaPortion->GetWritingDirectionInfos().Count() == 1 ) in CreateLines()
2326 if ( pTEParaPortion->IsSimpleInvalid() && ( nInvalidDiff > 0 ) ) in CreateLines()
2330 else if ( ( pTEParaPortion->IsSimpleInvalid() ) && ( nInvalidDiff < 0 ) ) in CreateLines()
2337 sal_uInt16 nPortions = pTEParaPortion->GetTextPortions().Count(); in CreateLines()
2341 TETextPortion* const pTP = pTEParaPortion->GetTextPortions().GetObject( nTP ); in CreateLines()
2362 sal_uInt16 nLine = pTEParaPortion->GetLines().Count()-1; in CreateLines()
2365 TextLine* pLine = pTEParaPortion->GetLines().GetObject( nL ); in CreateLines()
2375 …if ( nLine && ( !pTEParaPortion->IsSimpleInvalid() || ( nInvalidEnd < pNode->GetText().Len() ) || … in CreateLines()
2378 TextLine* pLine = pTEParaPortion->GetLines().GetObject( nLine ); in CreateLines()
2414 …while ( ( nTmpWidth <= nXWidth ) && !bEOL && ( nTmpPortion < pTEParaPortion->GetTextPortions().Cou… in CreateLines()
2417 pPortion = pTEParaPortion->GetTextPortions().GetObject( nTmpPortion ); in CreateLines()
2475 DBG_ASSERT( pTEParaPortion->GetTextPortions().Count(), "Keine TextPortions?" ); in CreateLines()
2476 pLine->SetEndPortion( (sal_uInt16)pTEParaPortion->GetTextPortions().Count() - 1 ); in CreateLines()
2503 TETextPortion* pTextPortion = pTEParaPortion->GetTextPortions().GetObject( nTP ); in CreateLines()
2525 if ( pTEParaPortion->IsSimpleInvalid() ) in CreateLines()
2553 pTEParaPortion->CorrectValuesBehindLastFormattedLine( nLine ); in CreateLines()
2567 pTEParaPortion->CorrectValuesBehindLastFormattedLine( nLine ); in CreateLines()
2581 if ( nLine < pTEParaPortion->GetLines().Count()-1 ) in CreateLines()
2582 pLine = pTEParaPortion->GetLines().GetObject( ++nLine ); in CreateLines()
2591 pTEParaPortion->GetLines().Insert( pLine, ++nLine ); 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()
2611 pTEParaPortion->SetValid(); in CreateLines()
2613 return nOldLineCount != pTEParaPortion->GetLines().Count(); in CreateLines()
2775 TEParaPortion* pTEParaPortion = mpTEParaPortions->GetObject( nPara ); in RemoveAttribs() local
2776 pTEParaPortion->MarkSelectionInvalid( 0, pNode->GetText().Len() ); in RemoveAttribs()
2801 TEParaPortion* pTEParaPortion = mpTEParaPortions->GetObject( nPara ); in RemoveAttribs() local
2802 pTEParaPortion->MarkSelectionInvalid( 0, pNode->GetText().Len() ); in RemoveAttribs()
2828 TEParaPortion* pTEParaPortion = mpTEParaPortions->GetObject( nPara ); in RemoveAttrib() local
2829 pTEParaPortion->MarkSelectionInvalid( 0, pNode->GetText().Len() ); in RemoveAttrib()
2848 TEParaPortion* pTEParaPortion = mpTEParaPortions->GetObject( nPara ); in SetAttrib() local
2857 pTEParaPortion->MarkSelectionInvalid( nStart, nEnd ); in SetAttrib()