/aoo41x/main/sw/source/core/txtnode/ |
H A D | fmtatr2.cxx | 672 m_pMeta->NotifyChangeTxtNode(pTxtNode); in NotifyChangeTxtNode() 745 m_pTxtNode = pTxtNode; in NotifyChangeTxtNode() 768 SwTxtNode * const pTxtNode( GetTxtNode() ); in GetRegistry() local 772 if (!pTxtNode) in GetRegistry() 774 return pTxtNode->GetRegistry(); in GetRegistry() 779 const SwTxtNode * const pTxtNode( GetTxtNode() ); in IsInClipboard() local 781 return (pTxtNode) ? pTxtNode->IsInClipboard() : false; in IsInClipboard() 788 return (pTxtNode) ? pTxtNode->IsInUndo() : true; in IsInUndo() 795 return (pTxtNode) ? pTxtNode->IsInContent() : true; in IsInContent() 841 SwTxtNode * const pTxtNode( GetTxtNode() ); in GetNumberFormat() local [all …]
|
H A D | ndtxt.cxx | 656 this->JoinMetadatable(*pTxtNode, !this->Len(), !pTxtNode->Len()); in JoinNext() 667 pList = pTxtNode->GetWrong(); in JoinNext() 672 pTxtNode->SetWrong( 0, false ); in JoinNext() 704 pList2 = pTxtNode->GetSmartTags(); in JoinNext() 714 pTxtNode->CutText( this, SwIndex(pTxtNode), pTxtNode->Len() ); in JoinNext() 720 if( pTxtNode->HasAnyIndex() ) in JoinNext() 748 xub_StrLen nLen = pTxtNode->Len(); in JoinPrev() 755 pTxtNode->SetWrong( 0, false ); in JoinPrev() 794 pTxtNode->SetSmartTags( 0, false ); in JoinPrev() 809 pTxtNode->CutText( this, SwIndex(this), SwIndex(pTxtNode), nLen ); in JoinPrev() [all …]
|
/aoo41x/main/sw/source/core/unocore/ |
H A D | unorefmk.cxx | 682 SwTxtNode * pTxtNode; in CreateCursor() local 840 if (!pTxtNode) { return 0; } in CreateXMeta() 889 SwTxtNode * pTxtNode; in CheckForOwnMemberMeta() local 1034 SwTxtNode * pTxtNode; in dispose() local 1042 SwPaM aPam( *pTxtNode, nMetaStart - 1, *pTxtNode, nMetaEnd ); in dispose() 1165 SwTxtNode * pTxtNode; in getAnchor() local 1178 const SwPosition end(*pTxtNode, nMetaEnd); in getAnchor() 1278 SwTxtNode * pTxtNode; in getParent() local 1332 SwTxtNode * pTxtNode; in createEnumeration() local 1340 SwPaM aPam(*pTxtNode, nMetaStart); in createEnumeration() [all …]
|
H A D | unoparagraph.cxx | 134 : SwClient(pTxtNode) in Impl() 155 if (!pTxtNode) { in GetTxtNodeOrThrow() 159 return *pTxtNode; in GetTxtNodeOrThrow() 277 if (!pTxtNode) in SelectPaM() 1221 if (pTxtNode) in dispose() 1356 if (pTxtNode) in getString() 1358 SwPosition aPos( *pTxtNode ); in getString() 1382 if (pTxtNode) in setString() 1384 SwPosition aPos( *pTxtNode ); in setString() 1445 return pTxtNode; in GetCoreObject() [all …]
|
H A D | unoportenum.cxx | 421 const SwTxtNode * const pTxtNode = in lcl_FillFieldMarkArray() local 423 if (!pTxtNode) return; in lcl_FillFieldMarkArray() 439 const SwTxtNode * const pTxtNode ) in lcl_ExportFieldMark() argument 455 const sal_Unicode Char = pTxtNode->GetTxt().GetChar(start); in lcl_ExportFieldMark() 1113 const SwTxtNode *pTxtNode = in lcl_FillSoftPageBreakArray() local 1115 if( pTxtNode ) in lcl_FillSoftPageBreakArray() 1116 pTxtNode->fillSoftPageBreakList( rBreakArr ); in lcl_FillSoftPageBreakArray() 1316 if (!pTxtNode) in lcl_CreatePortions() 1322 SwpHints * const pHints = pTxtNode->GetpSwpHints(); in lcl_CreatePortions() 1350 || (nCurrentIndex >= pTxtNode->Len()); in lcl_CreatePortions() [all …]
|
H A D | unotext.cxx | 685 SwTxtNode * pTxtNode = 0; in insertTextContentBefore() local 707 if (!bRet || !pTxtNode) in insertTextContentBefore() 711 pPara->attachToText(*this, *pTxtNode); in insertTextContentBefore() 747 SwTxtNode * pTxtNode = 0; in insertTextContentAfter() local 768 if (!bRet || !pTxtNode) in insertTextContentAfter() 772 pPara->attachToText(*this, *pTxtNode); in insertTextContentAfter() 1448 if (pTxtNode) in finishOrAppendParagraph() 1766 OSL_ASSERT(pTxtNode); in convertToTextFrame() 1767 if (!pTxtNode || !pTxtNode->Len()) // don't remove if it contains text! in convertToTextFrame() 1897 if (pTxtNode != NULL) in ConvertCell() [all …]
|
/aoo41x/main/sw/source/core/fields/ |
H A D | expfld.cxx | 141 SwTxtNode* pTxtNode = 0; in GetFirstTxtNode() local 151 rPos.nContent.Assign( pTxtNode, 0 ); in GetFirstTxtNode() 156 rPos.nNode = *pTxtNode; in GetFirstTxtNode() 157 rPos.nContent.Assign( pTxtNode, 0 ); in GetFirstTxtNode() 164 return pTxtNode; in GetFirstTxtNode() 171 const SwTxtNode* pTxtNode = 0; in GetBodyTxtNode() local 222 pTxtNode = &pFtn->GetTxtNode(); in GetBodyTxtNode() 223 rPos.nNode = *pTxtNode; in GetBodyTxtNode() 249 rPos.nNode = *pTxtNode; in GetBodyTxtNode() 267 return pTxtNode; in GetBodyTxtNode() [all …]
|
H A D | postithelper.cxx | 91 SwTxtNode* pTxtNode = rAnchorPos.nNode.GetNode().GetTxtNode(); in getLayoutInfos() local 92 if ( pTxtNode == NULL ) in getLayoutInfos() 95 SwIterator<SwTxtFrm,SwCntntNode> aIter( *pTxtNode ); in getLayoutInfos() 125 const IDocumentRedlineAccess* pIDRA = pTxtNode->getIDocumentRedlineAccess(); in getLayoutInfos() 142 …return ( (aRet==VISIBLE) && SwScriptInfo::IsInHiddenRange( *pTxtNode , rAnchorPos.nContent.GetInde… in getLayoutInfos() 180 SwTxtNode* pTxtNode = pTxtFld->GetpTxtNode(); in GetAnchorPosition() local 183 SwPosition aPos( *pTxtNode ); in GetAnchorPosition() 184 aPos.nContent.Assign( pTxtNode, *(pTxtFld->GetStart()) ); in GetAnchorPosition()
|
H A D | ddetbl.cxx | 134 SwTxtNode* pTxtNode = aNdIdx.GetNode().GetTxtNode(); in ChangeContent() local 135 ASSERT( pTxtNode, "Kein Node" ); in ChangeContent() 136 SwIndex aCntIdx( pTxtNode, 0 ); in ChangeContent() 137 pTxtNode->EraseText( aCntIdx ); in ChangeContent() 138 pTxtNode->InsertText( aLine.GetToken( i, '\t' ), aCntIdx ); in ChangeContent()
|
H A D | chpfld.cxx | 125 const SwTxtNode* pTxtNode = dynamic_cast<const SwTxtNode*>(pCntntNode); in ChangeExpansion() local 126 if ( !pTxtNode || !pFrm->IsInDocBody() ) in ChangeExpansion() 129 pTxtNode = GetBodyTxtNode( *pDoc, aDummyPos, *pFrm ); in ChangeExpansion() 132 if ( pTxtNode ) in ChangeExpansion() 134 ChangeExpansion( *pTxtNode, bSrchNum ); in ChangeExpansion()
|
/aoo41x/main/sw/source/core/text/ |
H A D | txtfrm.cxx | 858 pTxtNode->GetGrammarCheck(); in lcl_SetWrong() 862 if( pTxtNode->GetWrong() ) in lcl_SetWrong() 868 if( pTxtNode->GetSmartTags() ) in lcl_SetWrong() 874 if( pTxtNode->GetWrong() ) in lcl_SetWrong() 878 if( pTxtNode->GetSmartTags() ) in lcl_SetWrong() 881 if ( !pTxtNode->GetWrong() && !pTxtNode->IsWrongDirty() ) in lcl_SetWrong() 886 if ( !pTxtNode->GetSmartTags() && !pTxtNode->IsSmartTagDirty() ) in lcl_SetWrong() 892 pTxtNode->SetWrongDirty( true ); in lcl_SetWrong() 2224 if ( pTxtNode && pTxtNode->IsNumbered() && pTxtNode->IsCountedInList() && in CalcAdditionalFirstLineOffset() 2225 pTxtNode->GetNumRule() ) in CalcAdditionalFirstLineOffset() [all …]
|
H A D | itrtxt.hxx | 64 inline SwTxtIter(SwTxtNode* pTxtNode) : SwAttrIter(pTxtNode) { } in SwTxtIter() argument 153 inline SwTxtMargin(SwTxtNode* pTxtNode) : SwTxtIter(pTxtNode) { } in SwTxtMargin() argument 223 inline SwTxtAdjuster(SwTxtNode* pTxtNode) : SwTxtMargin(pTxtNode) { } in SwTxtAdjuster() argument 262 inline SwTxtCursor(SwTxtNode* pTxtNode) : SwTxtAdjuster(pTxtNode) { } in SwTxtCursor() argument
|
/aoo41x/main/sw/source/core/crsr/ |
H A D | trvltbl.cxx | 541 SwTxtNode* pTxtNode = aIdx.GetNode().GetTxtNode(); in GotoPrevTable() local 542 if ( pTxtNode ) in GotoPrevTable() 544 rCurCrsr.GetPoint()->nNode = *pTxtNode; in GotoPrevTable() 594 SwTxtNode* pTxtNode = aIdx.GetNode().GetTxtNode(); in GotoNextTable() local 595 if ( pTxtNode ) in GotoNextTable() 597 rCurCrsr.GetPoint()->nNode = *pTxtNode; in GotoNextTable() 617 SwTxtNode* pTxtNode = 0; in GotoCurrTable() local 623 pTxtNode = aIdx.GetNode().GetTxtNode(); in GotoCurrTable() 630 pTxtNode = aIdx.GetNode().GetTxtNode(); in GotoCurrTable() 633 if ( pTxtNode ) in GotoCurrTable() [all …]
|
H A D | bookmrk.cxx | 55 SwTxtNode* pTxtNode = rPos.nNode.GetNode().GetTxtNode(); in lcl_FixPosition() local 56 if(pTxtNode == NULL && rPos.nContent.GetIndex() > 0) in lcl_FixPosition() 63 else if(pTxtNode != NULL && rPos.nContent.GetIndex() > pTxtNode->Len()) in lcl_FixPosition() 67 " - illegal position: %d is beyond %d", rPos.nContent.GetIndex(), pTxtNode->Len()); in lcl_FixPosition() 68 rPos.nContent.Assign(pTxtNode, pTxtNode->Len()); in lcl_FixPosition()
|
/aoo41x/main/sw/source/core/undo/ |
H A D | untblk.cxx | 223 SwTxtNode* pTxtNode = rIdx.GetNode().GetTxtNode(); in UndoImpl() local 224 if( pTxtNode ) in UndoImpl() 242 if( bJoinNext && pTxtNode->CanJoinNext()) in UndoImpl() 246 SwIndex( pTxtNode, pTxtNode->GetTxt().Len() ))); in UndoImpl() 248 pTxtNode->JoinNext(); in UndoImpl() 251 pTxtNode->RstTxtAttr( SwIndex(pTxtNode, 0), pTxtNode->Len(), 0, 0, true ); in UndoImpl() 254 pTxtNode->ResetAllAttr(); in UndoImpl() 257 pTxtFmtColl = (SwTxtFmtColl*)pTxtNode->ChgFmtColl( pTxtFmtColl ); in UndoImpl()
|
/aoo41x/main/sw/source/filter/html/ |
H A D | htmlnum.cxx | 399 SwTxtNode* pTxtNode = pPam->GetNode()->GetTxtNode(); in EndNumBulList() local 401 bAppend = (pTxtNode && ! pTxtNode->IsOutline() && pTxtNode->IsCountedInList()) || in EndNumBulList() 583 SwTxtNode* pTxtNode = pPam->GetNode()->GetTxtNode(); in NewNumBulListItem() local 585 pTxtNode->SetAttrListLevel(nLevel); in NewNumBulListItem() 591 pTxtNode->SetCountedInList( bCountedInList ); in NewNumBulListItem() 602 pTxtNode->SetListRestart( true ); in NewNumBulListItem() 603 pTxtNode->SetAttrListRestartValue( nStart ); in NewNumBulListItem() 684 SwTxtNode* pTxtNode = pPam->GetNode()->GetTxtNode(); in SetNodeNum() local 685 ASSERT( pTxtNode, "Kein Text-Node an PaM-Position" ); in SetNodeNum() 704 pTxtNode->SetAttrListLevel( nLevel ); in SetNodeNum() [all …]
|
H A D | htmlsect.cxx | 445 if( pTxtNode ) in FixHeaderFooterDistance() 448 ((const SvxULSpaceItem&)pTxtNode in FixHeaderFooterDistance() 458 pTxtNode->GetAnyFmtColl().GetULSpace(); in FixHeaderFooterDistance() 460 pTxtNode->ResetAttr( RES_UL_SPACE ); in FixHeaderFooterDistance() 462 pTxtNode->SetAttr( in FixHeaderFooterDistance() 476 pTxtNode = pDoc->GetNodes()[nPrvNxtIdx] in FixHeaderFooterDistance() 478 if( pTxtNode ) in FixHeaderFooterDistance() 481 ((const SvxULSpaceItem&)pTxtNode in FixHeaderFooterDistance() 492 pTxtNode->GetAnyFmtColl().GetULSpace(); in FixHeaderFooterDistance() 494 pTxtNode->ResetAttr( RES_UL_SPACE ); in FixHeaderFooterDistance() [all …]
|
H A D | swhtml.cxx | 710 if( pTxtNode && pTxtNode->CanJoinNext( &aNxtIdx )) in Continue() 742 if( pTxtNode->GetTxt().Len() ) in Continue() 746 pTxtNode->JoinNext(); in Continue() 826 if( pTxtNode && pTxtNode->CanJoinPrev( &aPrvIdx ) && in Continue() 848 pTxtNode->JoinPrev(); in Continue() 2109 SwTxtNode *pTxtNode = in AppendTxtNode() local 2371 if( !pTxtNode ) in AddParSpace() 2387 pTxtNode->SetAttr( in AddParSpace() 4869 SwTxtNode *pTxtNode = 0; in InsertSpacer() local 4883 if( !pTxtNode ) in InsertSpacer() [all …]
|
/aoo41x/main/sw/source/core/access/ |
H A D | accpara.cxx | 680 SwIndex aIndex( pTxtNode, nStart ); in CreateUnoPortion() 681 SwPosition aStartPos( *pTxtNode, aIndex ); in CreateUnoPortion() 1020 if(pTxtNode) in GetTextBoundary() 1888 const SwTxtNode* pTxtNode( GetTxtNode() ); in getCharacterAttributes() local 2001 ASSERT( pTxtNode->GetTxtColl(), in _getDefaultAttributesImpl() 2003 if ( pTxtNode->GetTxtColl() ) in _getDefaultAttributesImpl() 2225 if ( pTxtNode->HasSwAttrSet() ) in _getRunAttributesImpl() 2349 const SwTxtNode* pTxtNode( GetTxtNode() ); in _getSupplementalAttributesImpl() local 2361 if ( pTxtNode->HasBullet() || pTxtNode->HasNumber() ) in _getSupplementalAttributesImpl() 2475 const SwTxtNode* pTxtNode( GetTxtNode() ); in _correctValues() local [all …]
|
H A D | accportions.cxx | 88 pTxtNode( pTxtNd ), in SwAccessiblePortionData() 101 DBG_ASSERT( pTxtNode != NULL, "Text node is needed!" ); in SwAccessiblePortionData() 119 DBG_ASSERT( (nModelPosition + nLength) <= pTxtNode->GetTxt().Len(), in Text() 138 pTxtNode->GetTxt().Copy( in Text() 155 DBG_ASSERT( (nModelPosition + nLength) <= pTxtNode->GetTxt().Len(), in Special() 218 aTmpBuffer.append( pTxtNode->GetTxt().GetChar(nModelPosition) ); in Special() 269 DBG_ASSERT( nLength <= pTxtNode->GetTxt().Len(), "skip exceeds model string!" ); in Skip() 549 pBreakIt->GetLocale(pTxtNode->GetLang(nModelPos)) ) + 1; in GetSentenceBoundary() 580 DBG_ASSERT( pTxtNode != NULL, "Need SwTxtNode!" ); in GetAttributeBoundary() 590 DBG_ASSERT( nPos <= pTxtNode->GetTxt().Len(), "illegal position" ); in GetAccessiblePosition() [all …]
|
/aoo41x/main/sw/source/core/doc/ |
H A D | doc.cxx | 2019 if( pTxtNode ) in lcl_SpellAndGrammarAgain() 2023 if( pTxtNode->GetWrong() && in lcl_SpellAndGrammarAgain() 2032 pTxtNode->SetWrongDirty( true ); in lcl_SpellAndGrammarAgain() 2033 if( pTxtNode->GetWrong() ) in lcl_SpellAndGrammarAgain() 2047 if( pTxtNode ) in lcl_CheckSmartTagsAgain() 2049 pTxtNode->SetSmartTagDirty( true ); in lcl_CheckSmartTagsAgain() 2050 if( pTxtNode->GetSmartTags() ) in lcl_CheckSmartTagsAgain() 2055 pTxtNode->SetSmartTags( NULL ); in lcl_CheckSmartTagsAgain() 2099 if ( pTxtNode ) pTxtNode->SetAutoCompleteWordDirty( true ); in InvalidateAutoCompleteFlag() 2152 if( pTxtNode->GetTxt().Len() && nWish ) in Summary() [all …]
|
H A D | dbgoutsw.cxx | 567 const SwTxtNode * pTxtNode = rNode.GetTxtNode(); in lcl_dbg_out() local 571 const SfxItemSet * pAttrSet = pTxtNode->GetpSwAttrSet(); in lcl_dbg_out() 574 aTmpStr += pTxtNode->GetTxt().Copy(0, 10); in lcl_dbg_out() 584 const SwNumRule * pNumRule = pTxtNode->GetNumRule(); in lcl_dbg_out() 589 if ( pTxtNode->GetNum() ) in lcl_dbg_out() 591 aTmpStr += lcl_dbg_out(*(pTxtNode->GetNum())); in lcl_dbg_out() 613 if (pTxtNode->GetActualListLevel() > 0) in lcl_dbg_out() 625 if (pTxtNode->IsCountedInList()) in lcl_dbg_out() 628 SwFmtColl * pColl = pTxtNode->GetFmtColl(); in lcl_dbg_out() 656 SwFmtColl * pCColl = pTxtNode->GetCondFmtColl(); in lcl_dbg_out() [all …]
|
/aoo41x/main/sw/source/core/SwNumberTree/ |
H A D | SwNodeNum.cxx | 42 SwNodeNum::SwNodeNum( SwTxtNode* pTxtNode ) in SwNodeNum() argument 44 mpTxtNode( pTxtNode ), in SwNodeNum() 489 SwTxtNode* pTxtNode( rNodeNum.GetTxtNode() ); in _UnregisterMeAndChildrenDueToRootDelete() local 490 if ( pTxtNode ) in _UnregisterMeAndChildrenDueToRootDelete() 492 pTxtNode->RemoveFromList(); in _UnregisterMeAndChildrenDueToRootDelete() 502 SwPaM aPam( *pTxtNode ); in _UnregisterMeAndChildrenDueToRootDelete() 503 pTxtNode->GetDoc()->ResetAttrs( aPam, sal_False, in _UnregisterMeAndChildrenDueToRootDelete()
|
/aoo41x/main/sw/source/ui/wrtsh/ |
H A D | wrtsh1.cxx | 1141 SwTxtNode* pTxtNode = in NumOrBulletOn() local 1143 if ( pTxtNode && !pTxtNode->IsCountedInList() ) in NumOrBulletOn() 1255 SwTxtNode * pTxtNode = GetCrsr()->GetPoint()->nNode.GetNode().GetTxtNode(); in NumOrBulletOn() local 1257 if (pTxtNode) in NumOrBulletOn() 1263 : pTxtNode->GetActualListLevel(); in NumOrBulletOn() 1332 const SwTwips nWidthOfTabs = pTxtNode in NumOrBulletOn() 1333 ? pTxtNode->GetWidthOfLeadingTabs() in NumOrBulletOn() 1387 if ( pTxtNode && in NumOrBulletOn() 1404 if ( pTxtNode->GetNumRule() ) in NumOrBulletOn() 1444 SwTxtNode * pTxtNode = in NumOrBulletOff() local [all …]
|
/aoo41x/main/sw/source/core/swg/ |
H A D | SwXMLTextBlocks.cxx | 620 SwTxtNode* pTxtNode = pDoc->GetNodes()[ pDoc->GetNodes().GetEndOfContent(). in MakeBlockText() local 623 if( pTxtNode->GetTxtColl() == pDoc->GetDfltTxtFmtColl() ) in MakeBlockText() 624 pTxtNode->ChgFmtColl( pDoc->GetTxtCollFromPool( RES_POOLCOLL_STANDARD )); in MakeBlockText() 631 pTxtNode = (SwTxtNode*)pTxtNode->AppendNode( SwPosition( *pTxtNode ) ); in MakeBlockText() 633 SwIndex aIdx( pTxtNode ); in MakeBlockText() 635 pTxtNode->InsertText( sTemp, aIdx ); in MakeBlockText()
|