Home
last modified time | relevance | path

Searched refs:pTNd (Results 1 – 25 of 36) sorted by relevance

12

/trunk/main/sw/source/core/doc/
H A Dextinput.cxx60 SwTxtNode* pTNd = GetPoint()->nNode.GetNode().GetTxtNode(); in ~SwExtTextInput() local
61 if( pTNd ) in ~SwExtTextInput()
95 String sTxt( pTNd->GetTxt().Copy( nSttCnt, nEndCnt - nSttCnt )); in ~SwExtTextInput()
102 pTNd->EraseText( rIdx, nLen - sOverwriteText.Len() ); in ~SwExtTextInput()
104 pTNd->ReplaceText( rIdx, sOverwriteText.Len(), in ~SwExtTextInput()
121 pTNd->ReplaceText( rIdx, nLen, in ~SwExtTextInput()
132 pTNd->EraseText( rIdx, nEndCnt - nSttCnt ); in ~SwExtTextInput()
145 SwTxtNode* pTNd = GetPoint()->nNode.GetNode().GetTxtNode(); in SetInputData() local
146 if( pTNd ) in SetInputData()
155 SwIndex aIdx( pTNd, nSttCnt ); in SetInputData()
[all …]
H A Ddocfmt.cxx451 SwTxtNode* pTNd = aTmpStt.GetNode().GetTxtNode(); in ResetAttrs() local
452 if( pTNd && pTNd->HasSwAttrSet() && pTNd->GetpSwAttrSet()->Count() ) in ResetAttrs()
456 SwRegHistory history(pTNd, *pTNd, pHst); in ResetAttrs()
457 pTNd->FmtToTxtAttr(pTNd); in ResetAttrs()
461 pTNd->FmtToTxtAttr(pTNd); in ResetAttrs()
472 SwTxtNode* pTNd = aTmpEnd.GetNode().GetTxtNode(); in ResetAttrs() local
473 if( pTNd && pTNd->HasSwAttrSet() && pTNd->GetpSwAttrSet()->Count() ) in ResetAttrs()
477 SwRegHistory history(pTNd, *pTNd, pHst); in ResetAttrs()
478 pTNd->FmtToTxtAttr(pTNd); in ResetAttrs()
482 pTNd->FmtToTxtAttr(pTNd); in ResetAttrs()
[all …]
H A Ddocedt.cxx968 SwTxtNode * pTNd = rPos.nNode.GetNode().GetTxtNode(); in MoveRange() local
969 if( pTNd && rPaM.GetPoint()->nNode != rPaM.GetMark()->nNode && in MoveRange()
970 ( rPos.nContent.GetIndex() || ( pTNd->Len() && bCorrSavePam )) ) in MoveRange()
979 pTNd = static_cast<SwTxtNode*>(pTNd->SplitCntntNode( rPos )); in MoveRange()
988 rPaM.GetMark()->nContent.Assign( pTNd, nMkCntnt ); in MoveRange()
1035 pTNd = aSavePam.GetNode()->GetTxtNode(); in MoveRange()
1052 sal_Bool bJoin = bSplit && pTNd; in MoveRange()
1059 if( bJoin && pTNd->CanJoinNext() ) in MoveRange()
1061 pTNd->JoinNext(); in MoveRange()
1086 if( bSplit && pTNd ) in MoveRange()
[all …]
H A Ddocnum.cxx1308 SwTxtNode* pTNd = *aTxtNodeIter; in StopNumRuleAnimations() local
1309 SwIterator<SwTxtFrm,SwTxtNode> aIter(*pTNd); in StopNumRuleAnimations()
1508 SwTxtNode* pTNd = GetNodes()[ nStt ]->GetTxtNode(); in DelNumRules() local
1513 SwNumRule* pNumRuleOfTxtNode = pTNd ? pTNd->GetNumRule() : 0; in DelNumRules()
1514 if ( pTNd && pNumRuleOfTxtNode ) in DelNumRules()
1518 aRegH.RegisterInModify( pTNd, *pTNd ); in DelNumRules()
1521 pUndo->AddNode( *pTNd, sal_False ); in DelNumRules()
1525 const SfxItemSet* pAttrSet = pTNd->GetpSwAttrSet(); in DelNumRules()
1528 pTNd->ResetAttr( RES_PARATR_NUMRULE ); in DelNumRules()
1530 pTNd->SetAttr( aEmptyRule ); in DelNumRules()
[all …]
H A Ddocglbl.cxx132 for( SwTxtNode* pTNd = aIter.First(); pTNd; pTNd = aIter.Next() ) in SplitDoc() local
133 if( pTNd->GetNodes().IsDocNodes() ) in SplitDoc()
134 pOutlNds->Insert( pTNd ); in SplitDoc()
384 SwTxtNode* pTNd = (SwTxtNode*)pSttNd; in SplitDoc() local
385 pTNd->InsertItem( aINet, 0, pTNd->GetTxt().Len() ); in SplitDoc()
735 SwTxtNode* pTNd = (SwTxtNode*)pSttNd; in SplitDoc() local
736 pTNd->InsertItem( aINet, 0, pTNd->GetTxt().Len() ); in SplitDoc()
H A Ddocruby.cxx198 const SwTxtNode* pTNd = pPos->nNode.GetNode().GetTxtNode(); in _SelectNextRubyChars() local
199 const String* pTxt = &pTNd->GetTxt(); in _SelectNextRubyChars()
219 const SwpHints* pHts = pTNd->GetpSwpHints(); in _SelectNextRubyChars()
246 pBreakIt->GetLocale( pTNd->GetLang( nStart )), in _SelectNextRubyChars()
338 pBreakIt->GetLocale( pTNd->GetLang( nStart )), in _SelectNextRubyChars()
345 pTNd->GoNext( &pPos->nContent, CRSR_SKIP_CHARS ); in _SelectNextRubyChars()
H A Ddocfld.cxx2200 const SwTxtNode* pTNd = rNds[ nStt++ ]->GetTxtNode(); in SetFieldsDirty() local
2201 if( pTNd ) in SetFieldsDirty()
2205 pTNd->GetAttrOutlineLevel() != 0 )//<-end,zhaojianwei in SetFieldsDirty()
2208 else if( pTNd->GetpSwpHints() && pTNd->GetSwpHints().Count() ) in SetFieldsDirty()
2209 for( sal_uInt16 n = 0, nEnd = pTNd->GetSwpHints().Count(); in SetFieldsDirty()
2212 const SwTxtAttr* pAttr = pTNd->GetSwpHints()[ n ]; in SetFieldsDirty()
/trunk/main/sw/source/core/undo/
H A Dunspnd.cxx89 SwTxtNode* pTNd; in UndoImpl() local
93 0 != ( pTNd = pDoc->GetNodes()[ pTblNd->GetIndex()-1 ]->GetTxtNode() )) in UndoImpl()
97 const SfxItemSet* pNdSet = pTNd->GetpSwAttrSet(); in UndoImpl()
119 SwTxtNode * pTNd = pDoc->GetNodes()[ nNode ]->GetTxtNode(); in UndoImpl() local
120 if( pTNd ) in UndoImpl()
122 rPam.GetPoint()->nNode = *pTNd; in UndoImpl()
123 rPam.GetPoint()->nContent.Assign( pTNd, pTNd->GetTxt().Len() ); in UndoImpl()
137 pTNd->JoinNext(); in UndoImpl()
142 rPam.GetPoint()->nContent = pTNd->GetTxt().Len(); in UndoImpl()
160 SwTxtNode * pTNd = rPam.GetNode()->GetTxtNode(); in RedoImpl() local
[all …]
H A Duntbl.cxx756 SwTableNode *const pTNd = aIdx.GetNode().GetTableNode(); in UndoImpl() local
757 OSL_ENSURE( pTNd, "SwUndoTxtToTbl: no TableNode" ); in UndoImpl()
761 sTblNm = pTNd->GetTable().GetFrmFmt()->GetName(); in UndoImpl()
771 SwTable& rTbl = pTNd->GetTable(); in UndoImpl()
783 SwNodeIndex aEndIdx( *pTNd->EndOfSectionNode() ); in UndoImpl()
784 rDoc.TableToText( pTNd, 0x0b == cTrenner ? 0x09 : cTrenner ); in UndoImpl()
882 SwTableNode* pTNd = rDoc.GetNodes()[ nTblNd ]->GetTableNode(); in UndoImpl() local
883 ASSERT( pTNd, "keinen Tabellen-Node gefunden" ); in UndoImpl()
885 rDoc.SetRowsToRepeat( pTNd->GetTable(), nOldHeadline ); in UndoImpl()
892 SwTableNode* pTNd = rDoc.GetNodes()[ nTblNd ]->GetTableNode(); in RedoImpl() local
[all …]
H A Dunovwr.cxx474 SwTxtNode* pTNd = rDoc.GetNodes()[ nNdIdx ]->GetTxtNode(); in SetChangeAtNode() local
475 if( pTNd ) in SetChangeAtNode()
486 pTNd->ReplaceTextOnly( nStart, nLen, sText, aOffsets ); in SetChangeAtNode()
490 if( pTNd->GetpSwpHints() ) in SetChangeAtNode()
491 pTNd->ClearSwpHintsArr( false ); in SetChangeAtNode()
H A Dunredln.cxx163 const SwTxtNode* pTNd; in SwUndoRedlineDelete() local
166 0 != (pTNd = rRange.GetNode()->GetTxtNode()) ) in SwUndoRedlineDelete()
168 sal_Unicode cCh = pTNd->GetTxt().GetChar( nSttCntnt ); in SwUndoRedlineDelete()
172 bIsDelim = !GetAppCharClass().isLetterNumeric( pTNd->GetTxt(), in SwUndoRedlineDelete()
H A Dunsort.cxx243 SwTxtNode const*const pTNd = rPam.GetNode()->GetTxtNode(); in RedoImpl() local
244 if( pTNd ) in RedoImpl()
246 rPam.GetPoint()->nContent = pTNd->GetTxt().Len(); in RedoImpl()
H A Dunattr.cxx688 SwTxtNode* pTNd = rDoc.GetNodes()[ nSttNode ]->GetTxtNode(); in UndoImpl() local
689 if( pTNd ) in UndoImpl()
691 SwIndex aIdx( pTNd, nSttCntnt ); in UndoImpl()
692 pTNd->DontExpandFmt( aIdx, sal_False ); in UndoImpl()
/trunk/main/sw/source/core/edit/
H A Dedattr.cxx510 const SwTxtNode* pTNd = pStt->nNode.GetNode().GetTxtNode(); in GetScriptType() local
511 if( pTNd ) in GetScriptType()
514 const SwScriptInfo* pScriptInfo = SwScriptInfo::GetScriptInfo( *pTNd ); in GetScriptType()
522 if( pTNd->GoPrevious( &aIdx, CRSR_SKIP_CHARS ) ) in GetScriptType()
528 if ( pTNd->GetTxt().Len() ) in GetScriptType()
532 pBreakIt->GetBreakIter()->getScriptType( pTNd->GetTxt(), nPos ); in GetScriptType()
537 if( !lcl_IsNoEndTxtAttrAtPos( *pTNd, nPos, nRet, sal_False, sal_False )) in GetScriptType()
548 const SwTxtNode* pTNd = aIdx.GetNode().GetTxtNode(); in GetScriptType() local
549 const String& rTxt = pTNd->GetTxt(); in GetScriptType()
552 const SwScriptInfo* pScriptInfo = SwScriptInfo::GetScriptInfo( *pTNd ); in GetScriptType()
[all …]
H A Dacorrect.cxx303 SwTxtNode* pTNd = pIdx->GetNode().GetTxtNode(); in GetPrevPara() local
304 while( pTNd && !pTNd->GetTxt().Len() ) in GetPrevPara()
307 pTNd = pIdx->GetNode().GetTxtNode(); in GetPrevPara()
310 if( pTNd && 0 == pTNd->GetAttrOutlineLevel() )//#outline level,zhaojianwei in GetPrevPara()
311 pStr = &pTNd->GetTxt(); in GetPrevPara()
H A Dedws.cxx316 SwTxtNode* pTNd = pCrsr->GetNode()->GetTxtNode(); in AutoCorrect() local
320 pTNd->GetTxt(), pCrsr->GetPoint()->nContent.GetIndex(), in AutoCorrect()
341 SwTxtNode* pTNd = pCrsr->GetNode()->GetTxtNode(); in GetPrevAutoCorrWord() local
342 if( pTNd && nPos ) in GetPrevAutoCorrWord()
346 pTNd->GetTxt(), nPos, rWord ); in GetPrevAutoCorrWord()
H A Dautofmt.cxx1209 SwTxtNode* pTNd = aDelPam.GetNode()->GetTxtNode(); in DeleteAktNxtPara() local
1210 if( !pTNd ) in DeleteAktNxtPara()
1217 aDelPam.GetPoint()->nContent.Assign( pTNd, in DeleteAktNxtPara()
1242 SwTxtNode* pTNd = aDelPam.GetNode( sal_False )->GetTxtNode(); in DelEmptyLine() local
1243 if( pTNd ) in DelEmptyLine()
1245 aDelPam.GetMark()->nContent.Assign( pTNd, pTNd->GetTxt().Len() ); in DelEmptyLine()
1251 pTNd = aDelPam.GetNode( sal_False )->GetTxtNode(); in DelEmptyLine()
1252 if( pTNd ) in DelEmptyLine()
1254 aDelPam.GetMark()->nContent.Assign( pTNd, 0 ); in DelEmptyLine()
1262 pTNd = pAktTxtNd; in DelEmptyLine()
[all …]
/trunk/main/sw/source/core/table/
H A Dswtable.cxx2125 SwTxtNode* pTNd = pDoc->GetNodes()[ nNdPos ]->GetTxtNode(); in ChgTextToNum() local
2131 pItem = &pTNd->SwCntntNode::GetAttr( RES_PARATR_ADJUST ); in ChgTextToNum()
2137 pTNd->SetAttr( aAdjust ); in ChgTextToNum()
2142 if( !pTNd->GetpSwAttrSet() || SFX_ITEM_SET != pTNd->GetpSwAttrSet()-> in ChgTextToNum()
2157 pTNd->SetAttr( SvxColorItem( *pCol, RES_CHRATR_COLOR )); in ChgTextToNum()
2162 pTNd->SetAttr( SvxColorItem( *pNewUserColor, RES_CHRATR_COLOR )); in ChgTextToNum()
2164 pTNd->ResetAttr( RES_CHRATR_COLOR ); in ChgTextToNum()
2175 pTNd->SetAttr( SvxColorItem( *pCol, RES_CHRATR_COLOR )); in ChgTextToNum()
2180 if( pTNd->GetTxt() != rTxt ) in ChgTextToNum()
2184 const String& rOrig = pTNd->GetTxt(); in ChgTextToNum()
[all …]
/trunk/main/sw/source/core/docnode/
H A Dndsect.cxx230 SwTxtNode* const pTNd = in InsertSwSection() local
232 if (pTNd) in InsertSwSection()
234 pUndoInsSect->SaveSplitNode( pTNd, sal_True ); in InsertSwSection()
240 SwTxtNode *const pTNd = in InsertSwSection() local
242 if (pTNd && in InsertSwSection()
243 (pTNd->GetTxt().Len() != pEndPos->nContent.GetIndex())) in InsertSwSection()
245 pUndoInsSect->SaveSplitNode( pTNd, sal_False ); in InsertSwSection()
274 SwTxtNode* pTNd; in InsertSwSection() local
279 pTNd = pSttPos->nNode.GetNode().GetTxtNode(); in InsertSwSection()
280 pSttPos->nContent.Assign( pTNd, nCntnt ); in InsertSwSection()
[all …]
/trunk/main/sw/source/core/text/
H A DEnhancedPDFExportHelper.cxx1594 const SwTxtNode* pTNd = (SwTxtNode*)pFirst->GetTxtFld()->GetpTxtNode(); in EnhancedPDFExport() local
1595 ASSERT( 0 != pTNd, "Enhanced pdf export - text node is missing" ) in EnhancedPDFExport()
1600 if ( !pTNd->IsHidden() && in EnhancedPDFExport()
1653 const SwTxtNode* pTNd = p->rINetAttr.GetpTxtNode(); in EnhancedPDFExport()
1654 ASSERT( 0 != pTNd, "Enhanced pdf export - text node is missing" ) in EnhancedPDFExport()
1659 if ( !pTNd->IsHidden() && in EnhancedPDFExport()
1709 const SwPosition aPos( *pTNd ); in EnhancedPDFExport()
1741 … MakeHeaderFooterLinks( *pPDFExtOutDevData, *pTNd, rLinkRect, nDestId, aURL, bIntern ); in EnhancedPDFExport()
1812 const SwTxtNode* pTNd = pPosition->nNode.GetNode().GetTxtNode(); in EnhancedPDFExport() local
1813 if ( pTNd ) in EnhancedPDFExport()
[all …]
/trunk/main/sw/source/core/crsr/
H A Dcrstrvl.cxx714 SwTxtNode* pTNd = rPos.nNode.GetNode().GetTxtNode(); in MoveFldType() local
715 ASSERT( pTNd, "Wo ist mein CntntNode?" ); in MoveFldType()
717 SwTxtFld * pTxtFld = pTNd->GetFldTxtAttrAt( rPos.nContent.GetIndex(), true ); in MoveFldType()
726 pTxtFld->ChgTxtNode( pTNd ); in MoveFldType()
739 aSrch.SetBodyPos( *pTNd->getLayoutFrm( GetLayout(), &aPt, &rPos, sal_False ) ); in MoveFldType()
791 SwTxtNode* pTNd = (SwTxtNode*)rFld.GetTxtFld()->GetpTxtNode(); in GotoFld() local
792 pCrsr->GetPoint()->nNode = *pTNd; in GotoFld()
793 pCrsr->GetPoint()->nContent.Assign( pTNd, *rFld.GetTxtFld()->GetStart() ); in GotoFld()
1897 SwTxtNode* pTNd = pCNd->GetTxtNode(); in SetShadowCrsrPos() local
1898 if( pTNd ) in SetShadowCrsrPos()
[all …]
H A Dunocrsr.cxx230 const SwTableNode* pTNd = GetPoint()->nNode.GetNode().FindTableNode(); in IsSelOvr() local
231 bRet = !(pTNd == GetDoc()->GetNodes()[ GetSavePos()->nNode ]-> in IsSelOvr()
233 pTNd == GetMark()->nNode.GetNode().FindTableNode() )); in IsSelOvr()
H A Dtrvltbl.cxx721 const SwTableNode* pTNd = pCurCrsr->GetPoint()->nNode.GetNode().FindTableNode(); in IsTblComplexForChart() local
722 if( pTNd ) in IsTblComplexForChart()
729 bRet = pTNd->GetTable().IsTblComplexForChart( sSel ); in IsTblComplexForChart()
/trunk/main/sw/source/core/view/
H A Dvprint.cxx449 SwTableNode* pTNd = pCNd->FindTableNode(); in FillPrtDoc() local
450 if( pTNd ) in FillPrtDoc()
451 pTNd->GetTable().GetFrmFmt()->SetFmtAttr( SwFmtPageDesc( pPageDesc ) ); in FillPrtDoc()
/trunk/main/sw/source/filter/html/
H A Dwrthtml.cxx284 SwTableNode * pTNd = pCurPam->GetNode()->FindTableNode(); in WriteStream() local
285 if( pTNd && bWriteAll ) in WriteStream()
288 pCurPam->GetPoint()->nNode = *pTNd; in WriteStream()
291 pCurPam->GetMark()->nNode = *pTNd->EndOfSectionNode(); in WriteStream()

12