Lines Matching refs:mpDoc

92 	mpDoc = 0;  in SV_IMPL_VARARR_SORT()
142 delete mpDoc; in ~TextEngine()
304 return mpDoc->GetText( static_getLineEndText( aSeparator ) ); in GetText()
330 return mpDoc->GetText( nPara ); in GetText()
335 return mpDoc->GetTextLen( static_getLineEndText( aSeparator ) ); in GetTextLen()
343 return mpDoc->GetTextLen( static_getLineEndText( aSeparator ), &aSel ); in GetTextLen()
348 return mpDoc->GetNodes().GetObject( nPara )->GetText().Len(); in GetTextLen()
446 if ( mpDoc ) in ImpInitDoc()
447 mpDoc->Clear(); in ImpInitDoc()
449 mpDoc = new TextDoc; in ImpInitDoc()
455 mpDoc->GetNodes().Insert( pNode, 0 ); in ImpInitDoc()
481 TextNode* pNode = mpDoc->GetNodes().GetObject( nNode ); in GetText()
550 TextNode* pNode = mpDoc->GetNodes().GetObject( nNode ); in CursorMoved()
561 TextNode* pNode = mpDoc->GetNodes().GetObject( rPaM.GetPara() ); in ImpRemoveChars()
585 mpDoc->RemoveChars( rPaM, nChars ); in ImpRemoveChars()
593 TextNode* pLeft = mpDoc->GetNodes().GetObject( nLeft ); in ImpConnectParagraphs()
594 TextNode* pRight = mpDoc->GetNodes().GetObject( nRight ); in ImpConnectParagraphs()
605 TextPaM aPaM = mpDoc->ConnectParagraphs( pLeft, pRight ); in ImpConnectParagraphs()
630 DBG_ASSERT( mpDoc->IsValidPaM( aStartPaM ), "Index im Wald in ImpDeleteText" ); in ImpDeleteText()
631 DBG_ASSERT( mpDoc->IsValidPaM( aEndPaM ), "Index im Wald in ImpDeleteText" ); in ImpDeleteText()
646 TextNode* pLeft = mpDoc->GetNodes().GetObject( nStartNode ); in ImpDeleteText()
689 TextNode* pNode = mpDoc->GetNodes().GetObject( nPara ); in ImpRemoveParagraph()
693 /* delete */ mpDoc->GetNodes().Remove( nPara ); in ImpRemoveParagraph()
752 TextNode* pNode = mpDoc->GetNodes().GetObject( aPaM.GetPara() ); in ImpInsertText()
789 rtl::OUString aOldText( mpDoc->GetText( aPaM.GetPara() ).Copy(0, nTmpPos) ); in ImpInsertText()
840 aPaM = mpDoc->InsertText( aPaM, c ); in ImpInsertText()
894 aPaM = mpDoc->InsertText( aPaM, aLine ); in ImpInsertText()
929 TextNode* pNode = mpDoc->GetNodes().GetObject( rPaM.GetPara() ); in ImpInsertParaBreak()
932 TextPaM aPaM( mpDoc->InsertParaBreak( rPaM, bKeepEndingAttribs ) ); in ImpInsertParaBreak()
938 TextNode* pNewNode = mpDoc->GetNodes().GetObject( aPaM.GetPara() ); in ImpInsertParaBreak()
1128 TextNode* pNode = mpDoc->GetNodes().GetObject( rPaM.GetPara() ); in FindCharAttrib()
1137 for ( sal_uLong n = mpDoc->GetNodes().Count(); --n && !bAttr; ) in HasAttrib()
1139 TextNode* pNode = mpDoc->GetNodes().GetObject( n ); in HasAttrib()
1168 sal_uLong nLastNode = mpDoc->GetNodes().Count() - 1; in GetPaM()
1169 TextNode* pLast = mpDoc->GetNodes().GetObject( nLastNode ); in GetPaM()
1317 …DBG_ASSERT( mpDoc->GetNodes().GetObject( nPara )->GetText().Search( '\t', nPortionStart ) >= (nPor… in CalcTextWidth()
1337 TextNode* pNode = mpDoc->GetNodes().GetObject( nPara ); in CalcTextWidth()
1417 return mpDoc->GetNodes().Count(); in GetParagraphCount()
1470 mpDoc->GetNodes().Insert( pNode, nPara ); in InsertContent()
1477 TextNode* pNode = mpDoc->GetNodes().GetObject( nNode ); in SplitContent()
1498 TextNode* pNode = mpDoc->GetNodes().GetObject( nPara ); in SeekCursor()
1747 TextNode* pNode = mpDoc->GetNodes().GetObject( nPara ); in CreateAndInsertEmptyLine()
1760 pTmpLine->SetStartX( mpDoc->GetLeftMargin() ); in CreateAndInsertEmptyLine()
1783 TextNode* pNode = mpDoc->GetNodes().GetObject( nPara ); in ImpBreakLine()
2285 TextNode* pNode = mpDoc->GetNodes().GetObject( nPara ); in CreateLines()
2402 long nTmpWidth = mpDoc->GetLeftMargin(); in CreateLines()
2421 long nCurPos = nTmpWidth-mpDoc->GetLeftMargin(); in CreateLines()
2422 nTmpWidth = ((nCurPos/mnDefTab)+1)*mnDefTab+mpDoc->GetLeftMargin(); in CreateLines()
2423 pPortion->GetWidth() = nTmpWidth - nCurPos - mpDoc->GetLeftMargin(); in CreateLines()
2517 pLine->SetStartX( mpDoc->GetLeftMargin() ); in CreateLines()
2619 if ( rCursorPos.GetPara() < mpDoc->GetNodes().Count() ) in GetWord()
2622 TextNode* pNode = mpDoc->GetNodes().GetObject( rCursorPos.GetPara() ); in GetWord()
2645 sal_uLong nParas = mpDoc->GetNodes().Count(); in Read()
2646 TextNode* pNode = mpDoc->GetNodes().GetObject( nParas - 1 ); in Read()
2686 sal_uLong nParas = mpDoc->GetNodes().Count(); in Write()
2687 TextNode* pNode = mpDoc->GetNodes().GetObject( nParas - 1 ); in Write()
2700 TextNode* pNode = mpDoc->GetNodes().GetObject( nPara ); in Write()
2768 if ( nPara < mpDoc->GetNodes().Count() ) in RemoveAttribs()
2770 TextNode* pNode = mpDoc->GetNodes().GetObject( nPara ); in RemoveAttribs()
2789 if ( nPara < mpDoc->GetNodes().Count() ) in RemoveAttribs()
2791 TextNode* pNode = mpDoc->GetNodes().GetObject( nPara ); in RemoveAttribs()
2813 if ( nPara < mpDoc->GetNodes().Count() ) in RemoveAttrib()
2815 TextNode* pNode = mpDoc->GetNodes().GetObject( nPara ); in RemoveAttrib()
2845 if ( nPara < mpDoc->GetNodes().Count() ) in SetAttrib()
2847 TextNode* pNode = mpDoc->GetNodes().GetObject( nPara ); in SetAttrib()
2886 sal_uLong nMaxPara = mpDoc->GetNodes().Count() - 1; in ValidatePaM()
2941 sal_uLong nParas = mpDoc->GetNodes().Count(); in ImpParagraphRemoved()
3033 mpDoc->SetLeftMargin( n ); in SetLeftMargin()
3038 return mpDoc->GetLeftMargin(); in GetLeftMargin()
3131 TextNode* pNode = mpDoc->GetNodes().GetObject( nPara ); in ImpGetRightToLeft()