Lines Matching refs:pNode
279 ContentNode* pNode = aEditDoc.GetObject( nNode ); in WriteText() local
280 DBG_ASSERT( pNode, "Node nicht gefunden: Search&Replace" ); in WriteText()
283 sal_uInt16 nEndPos = pNode->Len(); in WriteText()
291 XubString aTmpStr = aEditDoc.GetParaAsString( pNode, nStartPos, nEndPos ); in WriteText()
310 void lcl_FindValidAttribs( ItemList& rLst, ContentNode* pNode, sal_uInt16 nIndex, sal_uInt16 nScrip… in lcl_FindValidAttribs() argument
313 EditCharAttrib* pAttr = GetAttrib( pNode->GetCharAttribs().GetAttribs(), nAttr ); in lcl_FindValidAttribs()
323 pAttr = GetAttrib( pNode->GetCharAttribs().GetAttribs(), nAttr ); in lcl_FindValidAttribs()
581 ContentNode* pNode = aEditDoc.SaveGetObject( nNode ); in WriteRTF() local
582 DBG_ASSERT( pNode, "Node nicht gefunden: Search&Replace" ); in WriteRTF()
588 if ( pNode->GetStyleSheet() ) in WriteRTF()
592 …sal_uInt16 nNumber = (sal_uInt16) getStylePos( GetStyleSheetPool()->GetStyles(), pNode->GetStyleSh… in WriteRTF()
599 if ( pNode->GetStyleSheet()->GetItemSet().GetItemState( nParAttr ) == SFX_ITEM_ON ) in WriteRTF()
601 const SfxPoolItem& rItem = pNode->GetStyleSheet()->GetItemSet().Get( nParAttr ); in WriteRTF()
612 if ( pNode->GetContentAttribs().GetItems().GetItemState( nParAttr ) == SFX_ITEM_ON ) in WriteRTF()
614 const SfxPoolItem& rItem = pNode->GetContentAttribs().GetItems().Get( nParAttr ); in WriteRTF()
623 ParaPortion* pParaPortion = FindParaPortion( pNode ); in WriteRTF()
628 sal_uInt16 nEndPos = pNode->Len(); in WriteRTF()
641 … lcl_FindValidAttribs( aAttribItems, pNode, nStartPos, GetScriptType( EditPaM( pNode, 0 ) ) ); in WriteRTF()
659 EditCharAttrib* pNextFeature = pNode->GetCharAttribs().FindFeature( nIndex ); in WriteRTF()
674 pNextFeature = pNode->GetCharAttribs().FindFeature( pNextFeature->GetStart() + 1 ); in WriteRTF()
679 sal_uInt16 nScriptType = GetScriptType( EditPaM( pNode, nIndex+1 ) ); in WriteRTF()
680 if ( !n || IsScriptChange( EditPaM( pNode, nIndex ) ) ) in WriteRTF()
690 lcl_FindValidAttribs( aAttribItems, pNode, nIndex, nScriptType ); in WriteRTF()
703 XubString aRTFStr = aEditDoc.GetParaAsString( pNode, nS, nE); in WriteRTF()
997 ContentNode* pNode = aEditDoc.GetObject( nPara ); in WriteItemAsRTF() local
998 SeekCursor( pNode, nPos, aFont ); in WriteItemAsRTF()
1079 ContentNode* pNode = aEditDoc.SaveGetObject( nNode ); in CreateBinTextObject() local
1080 DBG_ASSERT( pNode, "Node nicht gefunden: Search&Replace" ); in CreateBinTextObject()
1089 sal_uInt16 nEndPos = pNode->Len(); in CreateBinTextObject()
1102 pC->GetParaAttribs().Set( pNode->GetContentAttribs().GetItems() ); in CreateBinTextObject()
1105 if ( pNode->GetStyleSheet() ) in CreateBinTextObject()
1107 pC->GetStyle() = pNode->GetStyleSheet()->GetName(); in CreateBinTextObject()
1108 pC->GetFamily() = pNode->GetStyleSheet()->GetFamily(); in CreateBinTextObject()
1112 pC->GetText() = pNode->Copy( nStartPos, nEndPos-nStartPos ); in CreateBinTextObject()
1116 EditCharAttrib* pAttr = GetAttrib( pNode->GetCharAttribs().GetAttribs(), nAttr ); in CreateBinTextObject()
1143 pAttr = GetAttrib( pNode->GetCharAttribs().GetAttribs(), nAttr ); in CreateBinTextObject()
1148 if ( bAllowBigObjects && bOnlyFullParagraphs && pNode->GetWrongList() ) in CreateBinTextObject()
1149 pC->SetWrongList( pNode->GetWrongList()->Clone() ); in CreateBinTextObject()
2370 ContentNode* pNode = GetEditDoc().GetObject( n ); in DoOnlineSpelling() local
2372 pNode = pThisNodeOnly; in DoOnlineSpelling()
2374 if ( pNode->GetWrongList()->IsInvalid() ) in DoOnlineSpelling()
2376 WrongList* pWrongList = pNode->GetWrongList(); in DoOnlineSpelling()
2388 EditPaM aPaM( pNode, nInvStart ); in DoOnlineSpelling()
2390 while ( ( aSel.Max().GetNode() == pNode ) /* && !bStop */ ) in DoOnlineSpelling()
2434 if ( aCursorPos.GetNode() == pNode ) in DoOnlineSpelling()
2461 pWrongList->ClearWrongs( nWStart, nWEnd, pNode ); in DoOnlineSpelling()
2476 if ( bChanged && ( aSel.Min().GetNode() == pNode ) && in DoOnlineSpelling()
2482 pWrongList->ClearWrongs( aLastEnd.GetIndex(), aSel.Min().GetIndex(), pNode ); in DoOnlineSpelling()
2498 EditPaM aStartPaM( pNode, nPaintFrom ); in DoOnlineSpelling()
2499 EditPaM aEndPaM( pNode, nPaintTo ); in DoOnlineSpelling()
2747 ContentNode* pNode = aEditDoc.GetObject( nNode ); in ImpSearch() local
2750 sal_uInt16 nEndPos = pNode->Len(); in ImpSearch()
2767 XubString aParaStr( GetEditDoc().GetParaAsString( pNode ) ); in ImpSearch()
2779 rFoundSel.Min().SetNode( pNode ); in ImpSearch()
2781 rFoundSel.Max().SetNode( pNode ); in ImpSearch()
2855 ContentNode* pNode = aEditDoc.GetObject( nNode ); in TransliterateText() local
2857 xub_StrLen nEndPos = pNode->Len(); in TransliterateText()
2890 *pNode, nStartPos, in TransliterateText()
2891 SvxCreateLocale( GetLanguage( EditPaM( pNode, nStartPos + 1 ) ) ), in TransliterateText()
2894 *pNode, nEndPos, in TransliterateText()
2895 SvxCreateLocale( GetLanguage( EditPaM( pNode, nEndPos + 1 ) ) ), in TransliterateText()
2902 *pNode, aSttBndry.endPos, in TransliterateText()
2903 SvxCreateLocale( GetLanguage( EditPaM( pNode, aSttBndry.endPos + 1 ) ) ), in TransliterateText()
2910 *pNode, aEndBndry.startPos, in TransliterateText()
2911 SvxCreateLocale( GetLanguage( EditPaM( pNode, aEndBndry.startPos + 1 ) ) ), in TransliterateText()
2923 String aText( pNode->Copy( nCurrentStart, nLen ) ); in TransliterateText()
2927 String aNewText( aTranslitarationWrapper.transliterate( *pNode, in TransliterateText()
2928 GetLanguage( EditPaM( pNode, nCurrentStart + 1 ) ), in TransliterateText()
2931 if (!pNode->Equals( aNewText, nCurrentStart, nLen )) in TransliterateText()
2935 …aChgData.aSelection = EditSelection( EditPaM( pNode, nCurrentStart ), EditPaM( pNode, nCurrentEnd … in TransliterateText()
2945 aCurWordBndry = _xBI->nextWord( *pNode, nCurrentEnd, in TransliterateText()
2946 SvxCreateLocale( GetLanguage( EditPaM( pNode, nCurrentEnd + 1 ) ) ), in TransliterateText()
2956 *pNode, nEndPos, in TransliterateText()
2957 SvxCreateLocale( GetLanguage( EditPaM( pNode, nEndPos + 1 ) ) ) ); in TransliterateText()
2959 *pNode, nLastStart, in TransliterateText()
2960 SvxCreateLocale( GetLanguage( EditPaM( pNode, nLastStart + 1 ) ) ) ); in TransliterateText()
2964 *pNode, nStartPos, in TransliterateText()
2965 SvxCreateLocale( GetLanguage( EditPaM( pNode, nStartPos + 1 ) ) ) ); in TransliterateText()
2967 *pNode, nCurrentStart, in TransliterateText()
2968 SvxCreateLocale( GetLanguage( EditPaM( pNode, nCurrentStart + 1 ) ) ) ); in TransliterateText()
2977 i18n::Boundary aBndry = _xBI->nextWord( *pNode, nCurrentEnd, in TransliterateText()
2978 SvxCreateLocale( GetLanguage( EditPaM( pNode, nCurrentEnd + 1 ) ) ), in TransliterateText()
2983 *pNode, aBndry.startPos, in TransliterateText()
2984 SvxCreateLocale( GetLanguage( EditPaM( pNode, aBndry.startPos + 1 ) ) ) ); in TransliterateText()
2986 *pNode, nCurrentStart, in TransliterateText()
2987 SvxCreateLocale( GetLanguage( EditPaM( pNode, nCurrentStart + 1 ) ) ) ); in TransliterateText()
2996 i18n::Boundary aBndry = _xBI->previousWord( *pNode, nLastStart, in TransliterateText()
2997 SvxCreateLocale( GetLanguage( EditPaM( pNode, nLastStart + 1 ) ) ), in TransliterateText()
3000 *pNode, aBndry.startPos, in TransliterateText()
3001 SvxCreateLocale( GetLanguage( EditPaM( pNode, aBndry.startPos + 1 ) ) ) ); in TransliterateText()
3011 String aText( pNode->Copy( nCurrentStart, nLen ) ); in TransliterateText()
3015 String aNewText( aTranslitarationWrapper.transliterate( *pNode, in TransliterateText()
3016 GetLanguage( EditPaM( pNode, nCurrentStart + 1 ) ), in TransliterateText()
3019 if (!pNode->Equals( aNewText, nCurrentStart, nLen )) in TransliterateText()
3023 …aChgData.aSelection = EditSelection( EditPaM( pNode, nCurrentStart ), EditPaM( pNode, nCurrentEnd … in TransliterateText()
3031 *pNode, nCurrentEnd, in TransliterateText()
3032 SvxCreateLocale( GetLanguage( EditPaM( pNode, nCurrentEnd + 1 ) ) ), in TransliterateText()
3036 *pNode, nCurrentStart, in TransliterateText()
3037 SvxCreateLocale( GetLanguage( EditPaM( pNode, nCurrentStart + 1 ) ) ) ); in TransliterateText()
3047 nLanguage = GetLanguage( EditPaM( pNode, nCurrentStart+1 ), &nCurrentEnd ); in TransliterateText()
3055 …String aNewText( aTranslitarationWrapper.transliterate( *pNode, nLanguage, nCurrentStart, nLen, &a… in TransliterateText()
3057 if (!pNode->Equals( aNewText, nCurrentStart, nLen )) in TransliterateText()
3061 …aChgData.aSelection = EditSelection( EditPaM( pNode, nCurrentStart ), EditPaM( pNode, nCurrentEnd … in TransliterateText()
3152 ContentNode* pNode, in ReplaceTextOnly() argument
3171 … DBG_ASSERT( nCurrentPos < pNode->Len(), "TransliterateText - String smaller than expected!" ); in ReplaceTextOnly()
3172 pNode->SetChar( nCurrentPos, rNewText.GetChar(n) ); in ReplaceTextOnly()
3177 … DBG_ASSERT( nCurrentPos < pNode->Len(), "TransliterateText - String smaller than expected!" ); in ReplaceTextOnly()
3178 pNode->SetChar( nCurrentPos, rNewText.GetChar(n) ); in ReplaceTextOnly()
3180 … DBG_ASSERT( (nCurrentPos+1) < pNode->Len(), "TransliterateText - String smaller than expected!" ); in ReplaceTextOnly()
3181 …GetEditDoc().RemoveChars( EditPaM( pNode, nCurrentPos+1 ), sal::static_int_cast< sal_uInt16 >(-nDi… in ReplaceTextOnly()
3186 GetEditDoc().InsertText( EditPaM( pNode, nCurrentPos ), rNewText.GetChar(n) ); in ReplaceTextOnly()