/trunk/main/sw/source/core/fields/ |
H A D | ddefld.cxx | 182 const SwNode* pNd = 0; in GetAnchor() local 192 pNd = pDDETbl->GetTabSortBoxes()[0]->GetSttNd(); in GetAnchor() 195 pNd = ((SwFmtFld*)pLast)->GetTxtFld()->GetpTxtNode(); in GetAnchor() 197 if( pNd && &rFldType.GetDoc()->GetNodes() == &pNd->GetNodes() ) in GetAnchor() 199 pNd = 0; in GetAnchor() 202 return pNd; in GetAnchor() 229 const SwTxtNode* pNd = pTFld->GetpTxtNode(); in IsInRange() local 230 if( pNd && pNds == &pNd->GetNodes() ) in IsInRange() 232 sal_uLong nNdPos = pNd->GetIndex(); in IsInRange()
|
/trunk/main/sw/source/core/doc/ |
H A D | docfly.cxx | 89 const SwNode* pNd = GetNodes()[ pIdx->GetIndex() + 1 ]; in GetFlyCount() local 94 if(!pNd->IsNoTxtNode()) in GetFlyCount() 99 if( pNd->IsGrfNode() ) in GetFlyCount() 104 if(pNd->IsOLENode()) in GetFlyCount() 132 const SwNode* pNd = GetNodes()[ pIdx->GetIndex() + 1 ]; in GetFlyNum() local 136 if( !pNd->IsNoTxtNode() && nIdx == nCount++) in GetFlyNum() 140 if(pNd->IsGrfNode() && nIdx == nCount++ ) in GetFlyNum() 144 if(pNd->IsOLENode() && nIdx == nCount++) in GetFlyNum() 178 const SwFrm* pOld = pNd ? pNd->getLayoutFrm( rDoc.GetCurrentLayout(), &aRet, 0, sal_False ) : 0; in lcl_FindAnchorLayPos() 285 SwTxtNode *pNd = pPos->nNode.GetNode().GetTxtNode(); in SetFlyFrmAnchor() local [all …]
|
H A D | notxtfrm.cxx | 292 String aTxt( pNd->GetTitle() ); in Paint() 293 if ( !aTxt.Len() && pNd->IsGrfNode() ) in Paint() 294 GetRealURL( *(SwGrfNode*)pNd, aTxt ); in Paint() 666 #define CLEARCACHE( pNd ) {\ argument 667 (pNd)->ReleaseGraphicFromCache();\ 705 pNd->GetDoc()->GetEditShell( &pVSh ); in Modify() 725 pNd->SwapIn(); in Modify() 761 CLEARCACHE( pNd ) in Modify() 766 pNd->GetDoc()->GetEditShell( &pVSh ); in Modify() 1218 const SwGrfNode *pNd; in IsTransparent() local [all …]
|
H A D | ftnidx.cxx | 339 const SwSectionNode* pNd = rTxtFtn.GetTxtNode().FindSectionNode(); in FindSectNdWithEndAttr() local 340 while( pNd && FTNEND_ATTXTEND_OWNNUMSEQ != ( nVal = in FindSectNdWithEndAttr() 341 ((const SwFmtFtnAtTxtEnd&)pNd->GetSection().GetFmt()-> in FindSectNdWithEndAttr() 344 pNd = pNd->StartOfSectionNode()->FindSectionNode(); in FindSectNdWithEndAttr() 346 return pNd; in FindSectNdWithEndAttr() 367 void* pNd = (void*)&rNd; in GetNumber() local 370 if( pArr->GetObject( --n ) == pNd ) in GetNumber() 378 pArr->Insert( pNd, pArr->Count() ); in GetNumber()
|
H A D | docsort.cxx | 296 if( ( pNd = pDoc->GetNodes()[ nIdx ])->IsTxtNode() ) in GetKey() 297 aRetStr += ((SwTxtNode*)pNd)->GetTxt(); in GetKey() 759 SwNode* pNd = pDoc->GetNodes().GoNext( &aRg.aStart ); in MoveCell() local 764 if( pNd->StartOfSectionNode() == pSource->GetSttNd() ) in MoveCell() 765 pNd = pDoc->GetNodes().MakeTxtNode( aRg.aStart, in MoveCell() 767 aRg.aEnd = *pNd->EndOfSectionNode(); in MoveCell() 773 pNd = pDoc->GetNodes().GoNext( &aTar ); // naechsten ContentNode in MoveCell() 774 sal_uLong nCount = pNd->EndOfSectionIndex() - pNd->StartOfSectionIndex(); in MoveCell() 779 ASSERT( pNd->GetCntntNode(), "Kein ContentNode"); in MoveCell() 780 bDelFirst = !pNd->GetCntntNode()->Len() && bMovedBefore; in MoveCell() [all …]
|
H A D | doc.cxx | 710 if( pNd->IsStartNode() && in SplitNode() 715 || ( pNd->IsEndNode() && pNd->StartOfSectionNode()->IsTableNode() ) in SplitNode() 716 || pNd->IsCntntNode() )) in SplitNode() 718 if( pNd->IsCntntNode() ) in SplitNode() 724 pNd = 0; in SplitNode() 731 pNd = 0; in SplitNode() 735 if( pNd ) in SplitNode() 1721 SwNode* pNd; in UpdateDocStat() local 2155 if( pNd->HasSwAttrSet() ) in Summary() 2168 if( !pNd->Len() && in Summary() [all …]
|
H A D | docedt.cxx | 1917 SwNode* pNd = GetNodes()[ nCurrNd ]; in Spell() local 1918 switch( pNd->GetNodeType() ) in Spell() 1927 nCurrNd = pNd->EndOfSectionIndex(); in Spell() 1966 …nEndGrammarCheck = pSpellArgs->pEndNode == pNd ? pSpellArgs->pEndIdx->GetIndex() : ((SwTxtNode*)pN… in Spell() 2027 nCurrNd = pNd->GetIndex(); in Spell() 2031 pSpellArgs->pEndNode = ((SwTxtNode*)pNd); in Spell() 2044 nCurrNd = pNd->EndOfSectionIndex(); in Spell() 2551 const SwNode* pNd = &rStt.nNode.GetNode(); in DelFullPara() local 2553 pNd->StartOfSectionIndex(); in DelFullPara() 2571 if( pTblNd && pNd->IsCntntNode() ) in DelFullPara() [all …]
|
H A D | doclay.cxx | 1529 SwTableNode *const pNd = in lcl_InsertLabel() local 1531 SwTable &rTbl = pNd->GetTable(); in lcl_InsertLabel() 2097 ? !pNd->IsNoTxtNode() in FindFlyByName() 2098 : nNdTyp == pNd->GetNodeType() ) in FindFlyByName() 2235 SwNode* pNd = &rIdx.GetNode(); in IsInHeaderFooter() local 2275 pFlyNd = pNd->FindFlyStartNode(); in IsInHeaderFooter() 2286 return 0 != pNd->FindHeaderStartNode() || in IsInHeaderFooter() 2287 0 != pNd->FindFooterStartNode(); in IsInHeaderFooter() 2298 if ( pNd ) in GetTextDirection() 2306 if( pNd ) in GetTextDirection() [all …]
|
H A D | docdde.cxx | 333 SwNode* pNd; in SelectServerObj() local 337 !( pNd = &pIdx->GetNode())->IsNoTxtNode() ) in SelectServerObj() 339 rpRange = new SwNodeRange( *pNd, 1, *pNd->EndOfSectionNode() ); in SelectServerObj() 353 SwNode* pNd = &aPos.nNode.GetNode(); in SelectServerObj() local 355 const int nLvl = pNd->GetTxtNode()->GetAttrOutlineLevel()-1;//<-end,zhaojianwei in SelectServerObj() 359 rOutlNds.Seek_Entry( pNd, &nTmpPos ); in SelectServerObj()
|
/trunk/main/sw/source/core/access/ |
H A D | accnotextframe.cxx | 57 const SwNoTxtNode *pNd = 0; in GetNoTxtNode() local 66 pNd = pSwCntntNode->GetNoTxtNode(); in GetNoTxtNode() 70 return pNd; in GetNoTxtNode() 82 const SwNoTxtNode* pNd = GetNoTxtNode(); in SwAccessibleNoTextFrame() local 85 if( pNd ) in SwAccessibleNoTextFrame() 87 msTitle = pNd->GetTitle(); in SwAccessibleNoTextFrame() 89 msDesc = pNd->GetDescription(); in SwAccessibleNoTextFrame() 115 const SwNoTxtNode *pNd = GetNoTxtNode(); in Modify() local 137 if ( pNd->GetDescription().Len() != 0 ) in Modify() 145 if ( pNd && GetFrm() ) in Modify() [all …]
|
/trunk/main/sw/source/core/docnode/ |
H A D | section.cxx | 631 const SwNode* pNd; in MakeChildLinksVisible() local 638 0 != ( pNd = ((SwBaseLink*)pBLnk)->GetAnchor() ) ) in MakeChildLinksVisible() 640 pNd = pNd->StartOfSectionNode(); // falls SectionNode ist! in MakeChildLinksVisible() 644 || pNd == &rSectNd )) in MakeChildLinksVisible() 900 const SwSectionNode* pNd = GetSectionNode(); in GetInfo() local 901 if( pNd ) in GetInfo() 902 ((SwFindNearestNode&)rInfo).CheckNode( *pNd ); in GetInfo() 1121 const SwSectionNode* pNd = GetSectionNode(); in GetGlobalDocSection() local 1122 if( pNd && in GetGlobalDocSection() 1125 pNd->GetIndex() > pNd->GetNodes().GetEndOfExtras().GetIndex() && in GetGlobalDocSection() [all …]
|
/trunk/main/sw/source/filter/html/ |
H A D | wrthtml.cxx | 755 SwNode * pNd = pCurPam->GetNode(); in Out_SwDoc() local 757 ASSERT( !(pNd->IsGrfNode() || pNd->IsOLENode()), in Out_SwDoc() 759 if( pNd->IsTxtNode() ) in Out_SwDoc() 761 SwTxtNode* pTxtNd = pNd->GetTxtNode(); in Out_SwDoc() 768 else if( pNd->IsTableNode() ) in Out_SwDoc() 773 else if( pNd->IsSectionNode() ) in Out_SwDoc() 967 SwNode *pNd = pDoc->GetNodes()[ nNodeIdx ]; in MakeHeader() local 968 if( pNd->IsCntntNode() ) in MakeHeader() 974 else if( pNd->IsTableNode() ) in MakeHeader() 1371 const SwNode *pNd = rWrt.pDoc->GetNodes()[ nStt ]; in HTMLSaveData() local [all …]
|
H A D | htmlnum.cxx | 725 const SwNode* pNd = pDoc->GetNodes()[nPos]; in FillNextNumInfo() local 726 if( pNd->IsTxtNode() ) in FillNextNumInfo() 729 pNextNumRuleInfo = new SwHTMLNumRuleInfo( *pNd->GetTxtNode() ); in FillNextNumInfo() 743 else if( pNd->IsTableNode() ) in FillNextNumInfo() 747 nPos = pNd->EndOfSectionIndex() + 1; in FillNextNumInfo() 798 const SwNode* pNd = rWrt.pDoc->GetNodes()[nPos]; in OutHTML_NumBulListStart() local 799 if( pNd->IsTxtNode() ) in OutHTML_NumBulListStart() 801 const SwTxtNode *pTxtNd = pNd->GetTxtNode(); in OutHTML_NumBulListStart() 821 else if( pNd->IsTableNode() ) in OutHTML_NumBulListStart() 824 nPos = pNd->EndOfSectionIndex() + 1; in OutHTML_NumBulListStart()
|
/trunk/main/sw/source/core/frmedt/ |
H A D | feflyole.cxx | 57 SwOLENode *pNd = ((SwNoTxtFrm*)pFly->Lower())->GetNode()->GetOLENode(); in FindFlyFrm() local 58 if ( !pNd || pNd->GetOLEObj().GetOleRef() != xObj ) in FindFlyFrm() 74 SwNode *pNd = GetNodes()[ nSttIdx+1 ]; in FindFlyFrm() local 75 if ( pNd->IsOLENode() && in FindFlyFrm() 76 ((SwOLENode*)pNd)->GetOLEObj().GetOleRef() == xObj ) in FindFlyFrm() 79 SwFrm *pFrm = ((SwOLENode*)pNd)->getLayoutFrm( GetLayout() ); in FindFlyFrm()
|
/trunk/main/sw/source/core/edit/ |
H A D | edattr.cxx | 133 SwNode* pNd = GetDoc()->GetNodes()[ n ]; in GetCurAttr() local 134 switch( pNd->GetNodeType() ) in GetCurAttr() 140 : ((SwTxtNode*)pNd)->GetTxt().Len(); in GetCurAttr() 142 ((SwTxtNode*)pNd)->GetAttr( *pSet, nStt, nEnd, in GetCurAttr() 150 ((SwCntntNode*)pNd)->GetAttr( *pSet ); in GetCurAttr() 154 pNd = 0; in GetCurAttr() 157 if( pNd ) in GetCurAttr() 201 SwNode* pNd = GetDoc()->GetNodes()[ n ]; in GetCurTxtFmtColl() local 202 if( pNd->IsTxtNode() ) in GetCurTxtFmtColl() 205 pFmt = ((SwTxtNode*)pNd)->GetTxtColl(); in GetCurTxtFmtColl() [all …]
|
H A D | acorrect.cxx | 167 SwTxtNode * const pNd = pPam->GetNode()->GetTxtNode(); in ReplaceRange() local 168 if ( !pNd ) in ReplaceRange() 178 sal_Unicode const Char = pNd->GetTxt().GetChar( n + nPos ); in ReplaceRange() 180 && pNd->GetTxtAttrForCharAt( n + nPos ) ) in ReplaceRange() 197 if( nPos == pNd->GetTxt().Len() ) // am Ende erfolgt ein Insert in ReplaceRange() 206 pPam->GetPoint()->nContent = Min( pNd->GetTxt().Len(), in ReplaceRange() 218 pPam->GetPoint()->nContent = Min( pNd->GetTxt().Len(), in ReplaceRange() 440 SwTxtNode* pNd = (( bPrevPara && pIdx ) in GetLanguage() local 444 if( pNd ) in GetLanguage() 445 eRet = pNd->GetLang( nPos, 0 ); in GetLanguage()
|
H A D | edws.cxx | 188 const SwNode *pNd; in HasOtherCnt() local 190 pNd = &rNds.GetEndOfInserts(); in HasOtherCnt() 191 if ( 1 != (pNd->GetIndex() - pNd->StartOfSectionIndex()) ) in HasOtherCnt() 194 pNd = &rNds.GetEndOfAutotext(); in HasOtherCnt() 195 if ( 1 != (pNd->GetIndex() - pNd->StartOfSectionIndex()) ) in HasOtherCnt()
|
H A D | edglbldc.cxx | 99 SwNode* pNd; in GetGlobalDocContent() local 107 if( ( pNd = pMyDoc->GetNodes()[ nSttIdx ])->IsCntntNode() in GetGlobalDocContent() 108 || pNd->IsSectionNode() || pNd->IsTableNode() ) in GetGlobalDocContent() 128 if( ( pNd = pMyDoc->GetNodes()[ nSttIdx ])->IsCntntNode() in GetGlobalDocContent() 129 || pNd->IsSectionNode() || pNd->IsTableNode() ) in GetGlobalDocContent()
|
/trunk/main/sw/source/core/crsr/ |
H A D | crstrvl.cxx | 967 SwNode* pNd = pCrsr->GetNode(); in GotoNextOutline() local 975 pNd = rNds.GetOutLineNds()[ nPos ]; in GotoNextOutline() 980 pCrsr->GetPoint()->nNode = *pNd; in GotoNextOutline() 995 SwNode* pNd = pCrsr->GetNode(); in GotoPrevOutline() local 1011 pCrsr->GetPoint()->nNode = *pNd; in GotoPrevOutline() 1029 SwNode* pNd = pCrsr->GetNode(); in GetOutlinePos() local 1690 const SwTxtNode* pNd = 0; in IsInProtectSect() local 1714 return pNd && ( pNd->IsInProtectSect() || in IsInProtectSect() 1715 ( 0 != ( pFrm = pNd->getLayoutFrm( pNd->GetDoc()->GetCurrentLayout(), 0,0,sal_False)) && in IsInProtectSect() 1722 const SwTxtNode* pNd = 0; in IsInRTLText() local [all …]
|
H A D | trvltbl.cxx | 394 SwNode* pNd = &aTmp.GetNode(); in lcl_FindNextCell() local 399 if( pNd == pTableEndNode || /*robust: */ pNd->GetIndex() > pTableEndNode->GetIndex() ) in lcl_FindNextCell() 463 SwNode* pNd = &aTmp.GetNode(); in lcl_FindPrevCell() local 465 if( pNd == pTblNd || pNd->GetIndex() < pTblNd->GetIndex() ) in lcl_FindPrevCell() 843 const SwTxtNode* pNd = GetDoc()->GetNodes()[ in CheckTblBoxCntnt() local 845 if( !pNd || in CheckTblBoxCntnt() 846 ( pNd->GetTxt() == ViewShell::GetShellRes()->aCalc_Error && in CheckTblBoxCntnt()
|
/trunk/main/sw/source/core/undo/ |
H A D | unsect.cxx | 126 SwSectionNode *const pNd = in UndoImpl() local 128 ASSERT( pNd, "wo ist mein SectionNode?" ); in UndoImpl() 131 rDoc.DeleteRedline( *pNd, true, USHRT_MAX ); in UndoImpl() 134 SwNodeIndex aIdx( *pNd ); in UndoImpl() 138 rDoc.GetNodes().Delete( aIdx, pNd->EndOfSectionIndex() - in UndoImpl() 142 rDoc.DelSectionFmt( pNd->GetSection().GetFmt() ); in UndoImpl() 385 SwSectionNode *const pNd = in RedoImpl() local 387 OSL_ENSURE(pNd, "SwUndoDelSection::RedoImpl(): no SectionNode?"); in RedoImpl() 389 rDoc.DelSectionFmt( pNd->GetSection().GetFmt() ); in RedoImpl()
|
/trunk/main/sw/source/core/attr/ |
H A D | cellatr.cxx | 143 const SwNode* pNd = GetNodeOfFormula(); in ChangeState() local 144 if( pNd && &pNd->GetNodes() == &pNd->GetDoc()->GetNodes() && in ChangeState() 145 0 != ( pTblNd = pNd->FindTableNode() )) in ChangeState() 203 pNd->FindTableBoxStartNode()->GetIndex()); in ChangeState()
|
/trunk/main/sw/source/filter/xml/ |
H A D | xmlexp.cxx | 985 SwNode *pNd = pCurPaM->GetNode(); in ExportCurPaM() local 987 aNextNumInfo.Set( *pNd ); in ExportCurPaM() 990 ASSERT( !(pNd->IsGrfNode() || pNd->IsOLENode()), in ExportCurPaM() 992 if( pNd->IsTxtNode() ) in ExportCurPaM() 994 SwTxtNode* pTxtNd = pNd->GetTxtNode(); in ExportCurPaM() 1001 else if( pNd->IsTableNode() ) in ExportCurPaM() 1003 ExportTable( *pNd->GetTableNode() ); in ExportCurPaM() 1005 else if( pNd->IsSectionNode() ) in ExportCurPaM() 1007 ExportSection( *pNd->GetSectionNode() ); in ExportCurPaM() 1009 else if( pNd == &pDoc->GetNodes().GetEndOfContent() ) in ExportCurPaM()
|
/trunk/main/sw/source/filter/ww8/ |
H A D | wrtww8gr.cxx | 909 const SwGrfNode *pNd = pNode ? pNode->GetGrfNode() : 0; in WriteGraphicNode() local 910 ASSERT(pNd, "Impossible"); in WriteGraphicNode() 911 if (pNd) in WriteGraphicNode() 912 WriteGrfFromGrfNode(rStrm, *pNd, rItem.maFly, nWidth, nHeight); in WriteGraphicNode() 930 const SwOLENode *pNd = pNode ? pNode->GetOLENode() : 0; in WriteGraphicNode() local 931 ASSERT(pNd, "Impossible"); in WriteGraphicNode() 934 SwOLENode *pOleNd = const_cast<SwOLENode*>(pNd); in WriteGraphicNode() 956 pNd->GetpSwAttrSet()); in WriteGraphicNode() 970 pNd->GetpSwAttrSet()); in WriteGraphicNode() 977 SwOLENode *pOleNd = const_cast<SwOLENode*>(pNd); in WriteGraphicNode() [all …]
|
/trunk/main/sw/source/core/layout/ |
H A D | frmtool.cxx | 899 SwOLENode *pNd; in ~SwCntntNotify() local 901 (pNd->GetOLEObj().IsOleRef() || in ~SwCntntNotify() 902 pNd->IsOLESizeInvalid()) ) in ~SwCntntNotify() 945 pNd->SetOLESizeInvalid( sal_False ); in ~SwCntntNotify() 1332 SwNode *pNd = pDoc->GetNodes()[nIndex]; in _InsertCnt() local 1333 if ( pNd->IsCntntNode() ) in _InsertCnt() 1377 else if ( pNd->IsTableNode() ) in _InsertCnt() 1431 else if ( pNd->IsSectionNode() ) in _InsertCnt() 1520 else if ( pNd->IsEndNode() && pNd->StartOfSectionNode()->IsSectionNode() ) in _InsertCnt() 1591 else if( pNd->IsStartNode() && in _InsertCnt() [all …]
|