/aoo42x/main/sw/source/core/doc/ |
H A D | extinput.cxx | 61 if( pTNd ) in ~SwExtTextInput() 104 pTNd->ReplaceText( rIdx, sOverwriteText.Len(), in ~SwExtTextInput() 121 pTNd->ReplaceText( rIdx, nLen, in ~SwExtTextInput() 146 if( pTNd ) in SetInputData() 155 SwIndex aIdx( pTNd, nSttCnt ); in SetInputData() 167 pTNd->ReplaceText( aIdx, nReplace, in SetInputData() 176 pTNd->EraseText( aIdx, nReplace ); in SetInputData() 183 pTNd->ReplaceText( aIdx, nReplace, rNewStr ); in SetInputData() 192 pTNd->EraseText( aIdx, nEndCnt - nSttCnt ); in SetInputData() 195 pTNd->InsertText( rNewStr, aIdx, in SetInputData() [all …]
|
H A D | docfmt.cxx | 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() 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() 2324 if( pTNd ) in MoveLeftMargin() 2358 SwRegHistory aRegH( pTNd, *pTNd, pHistory ); in MoveLeftMargin() [all …]
|
H A D | docedt.cxx | 981 pTNd = static_cast<SwTxtNode*>(pTNd->SplitCntntNode( rPos )); in MoveRange() 1063 pTNd->JoinNext(); in MoveRange() 1088 if( bSplit && pTNd ) in MoveRange() 1090 if( pTNd->CanJoinNext()) in MoveRange() 2735 if( pTNd ) in TransliterateText() 2736 pTNd->TransliterateText( rTrans, nSttCnt, pTNd->GetTxt().Len(), pUndo ); in TransliterateText() 2742 pTNd->TransliterateText( rTrans, 0, pTNd->GetTxt().Len(), pUndo ); in TransliterateText() 2813 if( pTNd ) in CountWords() 2814 pTNd->CountWords( rStat, nSttCnt, pTNd->GetTxt().Len() ); in CountWords() 2819 pTNd->CountWords( rStat, 0, pTNd->GetTxt().Len() ); in CountWords() [all …]
|
H A D | docnum.cxx | 1308 SwTxtNode* pTNd = *aTxtNodeIter; in StopNumRuleAnimations() local 1513 SwNumRule* pNumRuleOfTxtNode = pTNd ? pTNd->GetNumRule() : 0; in DelNumRules() 1514 if ( pTNd && pNumRuleOfTxtNode ) in DelNumRules() 1518 aRegH.RegisterInModify( pTNd, *pTNd ); in DelNumRules() 1530 pTNd->SetAttr( aEmptyRule ); in DelNumRules() 1541 pTNd->ChkCondColl(); in DelNumRules() 1546 pOutlNd = pTNd; in DelNumRules() 1864 if ( pTNd ) in NumUpDown() 1894 if( pTNd) in NumUpDown() 2317 if ( pTNd != NULL ) in GetNumRuleAtPos() [all …]
|
H A D | docglbl.cxx | 132 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 D | docruby.cxx | 198 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 D | docfld.cxx | 2200 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()
|
/aoo42x/main/sw/source/core/undo/ |
H A D | unspnd.cxx | 89 SwTxtNode* pTNd; in UndoImpl() local 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 162 if (pTNd) in RedoImpl() [all …]
|
H A D | untbl.cxx | 761 sTblNm = pTNd->GetTable().GetFrmFmt()->GetName(); in UndoImpl() 771 SwTable& rTbl = pTNd->GetTable(); in UndoImpl() 783 SwNodeIndex aEndIdx( *pTNd->EndOfSectionNode() ); in UndoImpl() 883 ASSERT( pTNd, "keinen Tabellen-Node gefunden" ); in UndoImpl() 893 ASSERT( pTNd, "keinen Tabellen-Node gefunden" ); in RedoImpl() 2252 if( pTNd->HasSwAttrSet() ) in SwUndoTblNumFmt() 2255 aStr = pTNd->GetTxt(); in SwUndoTblNumFmt() 2256 if( pTNd->GetpSwpHints() ) in SwUndoTblNumFmt() 2257 pTNd->GetpSwpHints()->DeRegister(); in SwUndoTblNumFmt() 2928 SwFrmFmt* pTableFmt = pTNd->GetTable().GetFrmFmt(); in UndoImpl() [all …]
|
H A D | unovwr.cxx | 474 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 D | unredln.cxx | 163 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 D | unsort.cxx | 243 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 D | unattr.cxx | 688 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()
|
/aoo42x/main/sw/source/core/edit/ |
H A D | edattr.cxx | 511 if( pTNd ) in GetScriptType() 522 if( pTNd->GoPrevious( &aIdx, CRSR_SKIP_CHARS ) ) in GetScriptType() 528 if ( pTNd->GetTxt().Len() ) in GetScriptType() 548 const SwTxtNode* pTNd = aIdx.GetNode().GetTxtNode(); in GetScriptType() local 549 const String& rTxt = pTNd->GetTxt(); in GetScriptType() 614 const SwTxtNode* pTNd = rPos.nNode.GetNode().GetTxtNode(); in GetCurLang() local 616 if( pTNd ) in GetCurLang() 623 nLang = pTNd->GetLang( nPos ); in GetCurLang() 635 ASSERT( pTNd, "no textnode available" ); in GetScalingOfSelectedText() 638 if( pTNd ) in GetScalingOfSelectedText() [all …]
|
H A D | acorrect.cxx | 303 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 D | edws.cxx | 318 SwTxtNode* pTNd = pCrsr->GetNode()->GetTxtNode(); in AutoCorrect() local 322 pTNd->GetTxt(), pCrsr->GetPoint()->nContent.GetIndex(), in AutoCorrect() 343 SwTxtNode* pTNd = pCrsr->GetNode()->GetTxtNode(); in GetPrevAutoCorrWord() local 344 if( pTNd && nPos ) in GetPrevAutoCorrWord() 348 pTNd->GetTxt(), nPos, rWord ); in GetPrevAutoCorrWord()
|
H A D | autofmt.cxx | 1209 SwTxtNode* pTNd = aDelPam.GetNode()->GetTxtNode(); in DeleteAktNxtPara() local 1210 if( !pTNd ) in DeleteAktNxtPara() 1217 aDelPam.GetPoint()->nContent.Assign( pTNd, in DeleteAktNxtPara() 1243 if( pTNd ) in DelEmptyLine() 1245 aDelPam.GetMark()->nContent.Assign( pTNd, pTNd->GetTxt().Len() ); in DelEmptyLine() 1252 if( pTNd ) in DelEmptyLine() 1254 aDelPam.GetMark()->nContent.Assign( pTNd, 0 ); in DelEmptyLine() 1262 pTNd = pAktTxtNd; in DelEmptyLine() 1264 if( pTNd ) in DelEmptyLine() 1319 if( pTNd ) in DelPrevPara() [all …]
|
/aoo42x/main/sw/source/core/table/ |
H A D | swtable.cxx | 2137 pTNd->SetAttr( aAdjust ); in ChgTextToNum() 2142 if( !pTNd->GetpSwAttrSet() || SFX_ITEM_SET != pTNd->GetpSwAttrSet()-> in ChgTextToNum() 2180 if( pTNd->GetTxt() != rTxt ) in ChgTextToNum() 2184 const String& rOrig = pTNd->GetTxt(); in ChgTextToNum() 2191 SwIndex aIdx( pTNd, n ); in ChgTextToNum() 2205 SwPaM aTemp(*pTNd, 0, *pTNd, rOrig.Len()); in ChgTextToNum() 2209 pTNd->EraseText( aIdx, n, in ChgTextToNum() 2216 SwPaM aTemp(*pTNd, 0, *pTNd, rTxt.Len()); in ChgTextToNum() 2246 String sTmp, sTxt( pTNd->GetTxt() ); in ChgNumToText() 2251 SwIndex aIdx( pTNd, sTxt.Len() ); in ChgNumToText() [all …]
|
/aoo42x/main/sw/source/core/docnode/ |
H A D | ndsect.cxx | 230 SwTxtNode* const pTNd = in InsertSwSection() local 232 if (pTNd) in InsertSwSection() 240 SwTxtNode *const pTNd = in InsertSwSection() local 242 if (pTNd && in InsertSwSection() 274 SwTxtNode* pTNd; in InsertSwSection() local 280 pSttPos->nContent.Assign( pTNd, nCntnt ); in InsertSwSection() 288 if( pTNd ) nCntnt = pTNd->GetTxt().Len(); else nCntnt = 0; in InsertSwSection() 289 pEndPos->nContent.Assign( pTNd, nCntnt ); in InsertSwSection() 899 pTNd->SetAttr( aSet ); in InsertTextSection() 902 pTNd->SetAttr( rSet ); in InsertTextSection() [all …]
|
/aoo42x/main/sw/source/core/text/ |
H A D | EnhancedPDFExportHelper.cxx | 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() 1813 if ( pTNd ) in EnhancedPDFExport() 1834 ASSERT( 0 != pTNd, "Enhanced pdf export - text node is missing" ) in EnhancedPDFExport() 1839 if ( !pTNd->IsHidden() && in EnhancedPDFExport() 1869 const SwPosition aPos( *pTNd ); in EnhancedPDFExport() 1997 if ( pTNd->IsHidden() || in EnhancedPDFExport() [all …]
|
/aoo42x/main/sw/source/core/crsr/ |
H A D | crstrvl.cxx | 714 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 D | unocrsr.cxx | 230 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 D | trvltbl.cxx | 721 const SwTableNode* pTNd = pCurCrsr->GetPoint()->nNode.GetNode().FindTableNode(); in IsTblComplexForChart() local 722 if( pTNd ) in IsTblComplexForChart() 729 bRet = pTNd->GetTable().IsTblComplexForChart( sSel ); in IsTblComplexForChart()
|
/aoo42x/main/sw/source/core/view/ |
H A D | vprint.cxx | 449 SwTableNode* pTNd = pCNd->FindTableNode(); in FillPrtDoc() local 450 if( pTNd ) in FillPrtDoc() 451 pTNd->GetTable().GetFrmFmt()->SetFmtAttr( SwFmtPageDesc( pPageDesc ) ); in FillPrtDoc()
|
/aoo42x/main/sw/source/filter/html/ |
H A D | wrthtml.cxx | 284 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()
|