/aoo41x/main/sw/source/core/docnode/ |
H A D | ndtbl.cxx | 415 rPos.nNode, in InsertTable() 700 SwNodeRange aRg( pStt->nNode, pEnd->nNode ); in TextToTable() 712 ((SwNodeIndex&)pEnd->nNode)--; in TextToTable() 716 if( pStt->nNode.GetIndex() >= pEnd->nNode.GetIndex() ) in TextToTable() 904 rTmp.GetPoint()->nNode = *pTblNd; in TextToTable() 1153 SwNodeRange aRg( pStt->nNode, pEnd->nNode ); in TextToTable() 1169 if( pStt->nNode.GetIndex() >= pEnd->nNode.GetIndex() ) in TextToTable() 1967 pPam->GetPoint()->nNode = aIdx; in DeleteRow() 4446 rInsPos.nNode = *pSttNd; in InsCopyOfTbl() 4657 if( pStt->nNode <= nSttNd ) in lcl_DelRedlines() [all …]
|
/aoo41x/main/sw/source/core/crsr/ |
H A D | callnk.cxx | 49 : rShell( rSh ), nNode( nAktNode ), nCntnt( nAktCntnt ), in SwCallLink() 61 SwNode& rNd = pCrsr->GetPoint()->nNode.GetNode(); in SwCallLink() 62 nNode = rNd.GetIndex(); in SwCallLink() 98 sal_uLong nAktNode = pCurCrsr->GetPoint()->nNode.GetIndex(); in ~SwCallLink() 104 if( nNdTyp != nNdWhich || nNode != nAktNode ) in ~SwCallLink() 201 if( rStNd.EndOfSectionNode()->StartOfSectionIndex() > nNode || in ~SwCallLink() 202 nNode > rStNd.EndOfSectionIndex() ) in ~SwCallLink()
|
H A D | bookmrk.cxx | 55 SwTxtNode* pTxtNode = rPos.nNode.GetNode().GetTxtNode(); in lcl_FixPosition() 80 SwTxtNode const*const pStartTxtNode = rStart.nNode.GetNode().GetTxtNode(); in lcl_AssureFieldMarksSet() 91 SwTxtNode const*const pEndTxtNode = rEnd.nNode.GetNode().GetTxtNode(); in lcl_AssureFieldMarksSet() 111 SwTxtNode const*const pStartTxtNode = rStart.nNode.GetNode().GetTxtNode(); in lcl_RemoveFieldMarks() 121 SwTxtNode const*const pEndTxtNode = rEnd.nNode.GetNode().GetTxtNode(); in lcl_RemoveFieldMarks() 175 buf.append( sal_Int32( GetMarkPos().nNode.GetIndex( ) ) ).appendAscii( ", " ); in ToString() 303 return !pDoc->IsInHeaderFooter( SwNodeIndex(GetMarkPos().nNode) ); in IsInContent() 346 buf.append( sal_Int32( GetMarkPos().nNode.GetIndex( ) ) ).appendAscii( ", " ); in ToString() 348 buf.append( sal_Int32( GetOtherMarkPos().nNode.GetIndex( ) ) ).appendAscii( ", " ); in ToString()
|
H A D | viscrs.cxx | 453 SwNode& rNode = pTmpCrsr->GetPoint()->nNode.GetNode(); in _SetPosAndShow() 648 pCrsrForInputTxtFld->GetMark()->nNode = *pTxtNode; in HighlightInputFld() 819 && GetPoint()->nNode.GetNode().IsCntntNode() in FillRects() 820 && GetPoint()->nNode.GetNode().GetCntntNode()->getLayoutFrm( GetShell()->GetLayout() ) in FillRects() 821 && ( GetMark()->nNode == GetPoint()->nNode in FillRects() 822 || ( GetMark()->nNode.GetNode().IsCntntNode() in FillRects() 823 … && GetMark()->nNode.GetNode().GetCntntNode()->getLayoutFrm( GetShell()->GetLayout() ) ) ) ) in FillRects() 1002 !GetPoint()->nNode.GetIndex() ) in FillRects() 1054 !GetPoint()->nNode.GetIndex() ) in IsInside()
|
/aoo41x/main/sw/source/core/unocore/ |
H A D | unoportenum.cxx | 146 aEndOfPara.nContent = aEndOfPara.nNode.GetNode().GetTxtNode()->Len(); in lcl_FillBookmarkArray() 154 const SwNodeIndex nOwnNode = rUnoCrsr.GetPoint()->nNode; in lcl_FillBookmarkArray() 165 if(rStartPos.nNode == nOwnNode) in lcl_FillBookmarkArray() 177 if(rEndPos.nNode == nOwnNode) in lcl_FillBookmarkArray() 254 const SwNodeIndex nOwnNode = rUnoCrsr.GetPoint()->nNode; in lcl_FillAnnotationStartArray() 268 if ( rStartPos.nNode == nOwnNode ) in lcl_FillAnnotationStartArray() 422 rUnoCrsr.GetPoint()->nNode.GetNode().GetTxtNode(); in lcl_FillFieldMarkArray() 1091 const SwNodeIndex nOwnNode = pStart->nNode; in lcl_FillRedlineArray() 1097 const SwNodeIndex nRedNode = pRedStart->nNode; in lcl_FillRedlineArray() 1114 rUnoCrsr.GetPoint()->nNode.GetNode().GetTxtNode(); in lcl_FillSoftPageBreakArray() [all …]
|
H A D | unotext.cxx | 694 pTxtNode = aBefore.nNode.GetNode().GetTxtNode(); in insertTextContentBefore() 705 pTxtNode = aBefore.nNode.GetNode().GetTxtNode(); in insertTextContentBefore() 756 pTxtNode = aTableEnd.nNode.GetNode().GetTxtNode(); in insertTextContentAfter() 766 pTxtNode = aEnd.nNode.GetNode().GetTxtNode(); in insertTextContentAfter() 1885 SwNodeRange aTmpRange(aStartCellPam.Start()->nNode, in ConvertCell() 1886 aEndCellPam.End()->nNode); in ConvertCell() 1907 if (aStartCellPam.Start()->nNode < aEndCellPam.End()->nNode) in ConvertCell() 1912 SwNodeIndex aCellIndex = aStartCellPam.Start()->nNode; in ConvertCell() 1956 aStartCellPam.Start()->nNode.GetIndex(); in ConvertCell() 2010 SwNodeRange aCellRange(aStartCellPam.Start()->nNode, in ConvertCell() [all …]
|
/aoo41x/main/sw/source/core/doc/ |
H A D | doctxm.cxx | 216 sal_uLong nNode; member in CompareNodeCntnt 223 { return nNode == rCmp.nNode && nCntnt == rCmp.nCntnt; } in operator ==() 225 { return nNode != rCmp.nNode || nCntnt != rCmp.nCntnt; } in operator !=() 227 { return nNode < rCmp.nNode || in operator <() 228 ( nNode == rCmp.nNode && nCntnt < rCmp.nCntnt); } in operator <() 230 { return nNode < rCmp.nNode || in operator <=() 231 ( nNode == rCmp.nNode && nCntnt <= rCmp.nCntnt); } in operator <=() 233 { return nNode > rCmp.nNode || in operator >() 234 ( nNode == rCmp.nNode && nCntnt > rCmp.nCntnt); } in operator >() 236 { return nNode > rCmp.nNode || in operator >=() [all …]
|
H A D | doccorr.cxx | 113 if(&((pPam)->GetBound(sal_Bool(nb)).nNode.GetNode()) == pOldNode) in lcl_PaMCorrRel1() 115 (pPam)->GetBound(sal_Bool(nb)).nNode = rNewPos.nNode; in lcl_PaMCorrRel1() 130 SwDoc *const pDoc = aStart.nNode.GetNode().GetDoc(); in PaMCorrAbs() 165 ( lcl_FindUnoCrsrSection( aNewPos.nNode.GetNode() ) != in PaMCorrAbs() 167 pUnoCursor->GetPoint()->nNode.GetNode() ) ); in PaMCorrAbs() 245 _DelBookmarks( aStart.nNode, aEnd.nNode, NULL, &aStart.nContent, &aEnd.nContent ); in CorrAbs()
|
H A D | doc.cxx | 690 SwCntntNode *pNode = rPos.nNode.GetNode().GetCntntNode(); in SplitNode() 719 sal_uLong nPrevPos = rPos.nNode.GetIndex() - 1; in SplitNode() 755 ((SwPosition&)rPos).nNode = pTblNd->GetIndex()-1; in SplitNode() 821 SwNodeIndex aIdx( rPos.nNode, 1 ); in AppendTxtNode() 828 rPos.nNode++; in AppendTxtNode() 935 SwPaM aPam( rPos.nNode, aTmp.GetCntnt(), in InsertString() 936 rPos.nNode, rPos.nContent.GetIndex()); in InsertString() 1996 || rPam.GetPoint()->nNode.GetIndex() == rPam.GetMark()->nNode.GetIndex() ) in ReRead() 2284 n = aPam.GetPoint()->nNode.GetIndex(); in RemoveInvisibleContent() 2342 &aPam.GetPoint()->nNode ); in RemoveInvisibleContent() [all …]
|
H A D | docfly.cxx | 174 const SwCntntNode* pNd = pPos->nNode.GetNode().GetCntntNode(); in lcl_FindAnchorLayPos() 185 nNode.GetNode().GetFlyFmt(); in lcl_FindAnchorLayPos() 252 SwTxtNode *pTxtNode = pPos->nNode.GetNode().GetTxtNode(); in SetFlyFrmAnchor() 282 SwTxtNode *pNd = pPos->nNode.GetNode().GetTxtNode(); in SetFlyFrmAnchor() 713 pTxtFrm = aPos.nNode.GetNode(). in ChgAnchor() 787 SwTxtNode *pNd = aPos.nNode.GetNode().GetTxtNode(); in ChgAnchor() 835 SwTxtNode* pTxtNode( pOldAsCharAnchorPos->nNode.GetNode().GetTxtNode() ); in ChgAnchor() 909 rAnchor.GetCntntAnchor()->nNode.GetIndex() ) && in Chainable() 931 rDstAnchor.GetCntntAnchor()->nNode.GetIndex() > nEndOfExtras )) in Chainable() 936 const SwNodeIndex &rSrcIdx = rSrcAnchor.GetCntntAnchor()->nNode, in Chainable() [all …]
|
H A D | doccomp.cxx | 1478 pTmp->GetPoint()->nNode++; in SetRedlinesToDoc() 1484 & pTmp->GetPoint()->nNode.GetNode()) in SetRedlinesToDoc() 1486 pTmp->GetPoint()->nNode--; in SetRedlinesToDoc() 1511 pTmp->GetPoint()->nNode++; in SetRedlinesToDoc() 1517 & pTmp->GetPoint()->nNode.GetNode()) in SetRedlinesToDoc() 1519 pTmp->GetPoint()->nNode--; in SetRedlinesToDoc() 1538 rEndStt.nNode.GetIndex() - 1 == rSttEnd.nNode.GetIndex() && in SetRedlinesToDoc() 1653 pDestRedl->GetPoint()->nNode += pEnd->nNode.GetIndex() - in _SaveMergeRedlines() 1654 pStt->nNode.GetIndex(); in _SaveMergeRedlines() 1684 pDestRedl->GetMark()->nNode = aSaveNd; in InsertRedline() [all …]
|
/aoo41x/main/sw/source/core/undo/ |
H A D | unovwr.cxx | 67 SwPaM aPam( rPos.nNode, rPos.nContent.GetIndex(), in SwUndoOverwrite() 68 rPos.nNode, rPos.nContent.GetIndex()+1 ); in SwUndoOverwrite() 74 nSttNode = rPos.nNode.GetIndex(); in SwUndoOverwrite() 77 SwTxtNode* pTxtNd = rPos.nNode.GetNode().GetTxtNode(); in SwUndoOverwrite() 122 if( rPos.nNode != nSttNode || !aInsStr.Len() || in CanGrouping() 127 SwTxtNode * pDelTxtNd = rPos.nNode.GetNode().GetTxtNode(); in CanGrouping() 143 SwPaM aPam( rPos.nNode, rPos.nContent.GetIndex(), in CanGrouping() 144 rPos.nNode, rPos.nContent.GetIndex()+1 ); in CanGrouping() 201 pAktPam->GetPoint()->nNode = nSttNode; in UndoImpl() 284 pAktPam->GetPoint()->nNode = nSttNode; in RedoImpl()
|
/aoo41x/main/sw/source/filter/html/ |
H A D | swhtml.cxx | 534 *pSttNdIdx = pPos->nNode.GetIndex()-1; in CallParser() 714 if( pPam->GetPoint()->nNode == aNxtIdx ) in Continue() 716 pPam->GetPoint()->nNode = *pSttNdIdx; in Continue() 788 ->nNode.GetIndex() == nNodeIdx ) in Continue() 802 if( pAktNd->CanJoinNext( &pPos->nNode )) in Continue() 825 SwNodeIndex aPrvIdx( pPos->nNode ); in Continue() 1686 (pPam->GetPoint()->nNode.GetIndex() > in NextToken() 4426 pAPos->nNode == rNodeIdx ) in HasCurrentParaFlys() 5077 pAPos->nNode == rNodeIdx && in InsertLineBreak() 5414 nSttPara( rPos.nNode ), in _HTMLAttr() [all …]
|
H A D | htmlsect.cxx | 204 aDelPam.GetPoint()->nNode = pStNd->EndOfSectionIndex() - 1; in NewDivision() 259 SwNodeIndex aPrvNdIdx( pPam->GetPoint()->nNode, -1 ); in NewDivision() 349 (bAppended) ? 0 : pPam->GetPoint()->nNode.GetNode().GetTxtNode(); in NewDivision() 356 MovePageDescAttrs( pOldTxtNd, pPam->GetPoint()->nNode.GetIndex(), in NewDivision() 440 nPrvNxtIdx = pOldPos->nNode.GetIndex() - 1; in FixHeaderFooterDistance() 469 nPrvNxtIdx = pOldPos->nNode.GetIndex(); in FixHeaderFooterDistance() 512 SwEndNode *pEndNd = pDoc->GetNodes()[pPam->GetPoint()->nNode.GetIndex()+1] in EndSection() 686 SwNodeIndex aPrvNdIdx( pPam->GetPoint()->nNode, -1 ); in NewMultiCol() 743 (bAppended) ? 0 : pPam->GetPoint()->nNode.GetNode().GetTxtNode(); in NewMultiCol() 750 MovePageDescAttrs( pOldTxtNd, pPam->GetPoint()->nNode.GetIndex(), in NewMultiCol()
|
/aoo41x/main/sw/source/filter/rtf/ |
H A D | swparrtf.cxx | 314 *pSttNdIdx = pPos->nNode.GetIndex()-1; in Continue() 331 sal_uLong nNd = pPos->nNode.GetIndex(); in Continue() 371 if( pPam->GetPoint()->nNode == aNxtIdx ) in Continue() 373 pPam->GetPoint()->nNode = *pSttNdIdx; in Continue() 424 pPam->GetPoint()->nNode = *pRegionEndIdx; in Continue() 505 SwNodeIndex aPrvIdx( pPos->nNode ); in Continue() 2140 SwNodeIndex aIdx( pPam->GetPoint()->nNode ); in SetEndPrevPara() 2167 aPam.GetPoint()->nNode = nSNd; in SetAttrInDoc() 2174 aPam.GetPoint()->nNode = nENd; in SetAttrInDoc() 4383 : maMkNode(rPaM.GetMark()->nNode), in BookmarkPosition() [all …]
|
H A D | rtffly.cxx | 192 aPos.nNode--; in lcl_CpyBreakAttrs() 195 *pNewIdx = aPos.nNode; in lcl_CpyBreakAttrs() 198 pDstNd = aPos.nNode.GetNode().GetCntntNode(); in lcl_CpyBreakAttrs() 844 SwNodeIndex aIdx( pPam->GetPoint()->nNode ); in ReadFly() 1099 pPam->GetPoint()->nNode.GetIndex() ) in ReadFly() 1110 pPam->GetPoint()->nNode == pFlySave->nSttNd && in ReadFly() 1123 pFlySave->nEndNd = pPam->GetPoint()->nNode; in ReadFly() 1156 pFlySave->nEndNd = pPam->GetPoint()->nNode; in ReadFly() 1259 SwNodeIndex& rIdx = pPam->GetPoint()->nNode; in InsPicture() 1291 if (pDoc->IsInHeaderFooter(pPos->nNode)) in InsPicture() [all …]
|
/aoo41x/main/sw/source/ui/envelp/ |
H A D | labelcfg.cxx | 182 for(sal_Int32 nNode = 0; nNode < aNodeNames.getLength() && !bFound; nNode++) in HasLabel() local 184 if(pNode[nNode] == rManufacturer) in HasLabel() 231 for(sal_Int32 nNode = 0; nNode < aNodeNames.getLength() && !bFound; nNode++) in SaveLabel() local 233 if(pNode[nNode] == rManufacturer) in SaveLabel()
|
/aoo41x/main/sw/source/core/txtnode/ |
H A D | atrflyin.cxx | 129 pPos->nNode = aIdx; in CopyFlyFmt() 169 !aAnchor.GetCntntAnchor()->nNode.GetNode().GetNodes().IsDocNodes() || in SetAnchor() 170 &aAnchor.GetCntntAnchor()->nNode.GetNode() != (SwNode*)pNode ) in SetAnchor() 171 aPos.nNode = *pNode; in SetAnchor() 173 aPos.nNode = aAnchor.GetCntntAnchor()->nNode; in SetAnchor()
|
/aoo41x/main/sw/source/filter/basflt/ |
H A D | shellio.cxx | 115 SwNodeIndex nNode( pDoc->GetNodes().GetEndOfContent(), -1 ); in Read() local 116 pPam = new SwPaM( nNode ); in Read() 171 const SwNodeIndex& rTmp = pPam->GetPoint()->nNode; in Read() 185 SwNodeIndex aEndPos( pPam->GetPoint()->nNode, 1 ); in Read() 203 pPam->GetPoint()->nNode = aEndPos; in Read() 215 pUndoPam->GetPoint()->nNode++; in Read() 239 && ( (pUndoPam->GetPoint()->nNode == in Read() 240 pFrameAnchor->nNode) in Read() 241 || (pUndoPam->GetMark()->nNode == in Read() 242 pFrameAnchor->nNode) in Read()
|
/aoo41x/main/sd/source/core/ |
H A D | CustomAnimationCloner.cxx | 335 sal_Int32 nNode, nNodeCount = maSourceNodeVector.size(); in getClonedNode() local 337 for( nNode = 0; nNode < nNodeCount; nNode++ ) in getClonedNode() 339 if( maSourceNodeVector[nNode] == xSource ) in getClonedNode() 340 return maCloneNodeVector[nNode]; in getClonedNode()
|
/aoo41x/main/sw/source/filter/xml/ |
H A D | xmlexp.cxx | 103 pCurPaM->GetPoint()->nNode = *pTblNd; in SetCurPaM() 106 pCurPaM->GetMark()->nNode = *pTblNd->EndOfSectionNode(); in SetCurPaM() 112 pCurPaM->GetPoint()->nNode = *pSectNd; in SetCurPaM() 982 while( pCurPaM->GetPoint()->nNode.GetIndex() < in ExportCurPaM() 983 pCurPaM->GetMark()->nNode.GetIndex() || in ExportCurPaM() 984 ( pCurPaM->GetPoint()->nNode.GetIndex() == in ExportCurPaM() 985 pCurPaM->GetMark()->nNode.GetIndex() && in ExportCurPaM() 1016 pCurPaM->GetPoint()->nNode++; // next node in ExportCurPaM() 1018 sal_uInt32 nPos = pCurPaM->GetPoint()->nNode.GetIndex(); in ExportCurPaM() 1023 nPos != pCurPaM->GetMark()->nNode.GetIndex(); in ExportCurPaM()
|
H A D | xmlimp.cxx | 744 *pSttNdIdx = pPos->nNode.GetIndex()-1; in startDocument() 830 if( pPaM && pPaM->GetPoint()->nNode == aNxtIdx ) in endDocument() 832 pPaM->GetPoint()->nNode = *pSttNdIdx; in endDocument() 840 pPaM->GetBound( sal_True ).nNode.GetIndex(), in endDocument() 843 pPaM->GetBound( sal_False ).nNode.GetIndex(), in endDocument() 855 pPaM->GetBound( sal_False ).nNode.GetIndex() ) in endDocument() 880 sal_uLong nNodeIdx = pPos->nNode.GetIndex(); in endDocument() 883 DBG_ASSERT( pPos->nNode.GetNode().IsCntntNode(), in endDocument() 907 if( pCurrNd->CanJoinNext( &pPos->nNode )) in endDocument() 917 *pSttNdIdx != pPos->nNode ) in endDocument() [all …]
|
/aoo41x/main/editeng/source/editeng/ |
H A D | editdoc.cxx | 1241 for ( sal_uInt16 nNode = Count(); nNode; ) in ImplDestroyContents() local 1242 RemoveItemsFromPool( GetObject( --nNode ) ); in ImplDestroyContents() 1335 for ( sal_uInt16 nNode = 0; nNode < Count(); nNode++ ) in CreateDefFont() local 1337 ContentNode* pNode = GetObject( nNode ); in CreateDefFont() 1378 for ( sal_uInt16 nNode = 0; nNode < nNodes; nNode++ ) in GetText() local 1380 XubString aTmp( GetParaAsString( GetObject(nNode) ) ); in GetText() 1383 if ( nSepSize && ( nNode != nLastNode ) ) in GetText() 1395 XubString EditDoc::GetParaAsString( sal_uInt16 nNode ) const in GetParaAsString() 1397 return GetParaAsString( SaveGetObject( nNode ) ); in GetParaAsString() 1447 for ( sal_uInt16 nNode = 0; nNode < Count(); nNode++ ) in GetTextLen() local [all …]
|
H A D | editundo.hxx | 47 sal_uInt16 nNode; member in EditUndoDelContent 66 sal_uInt16 nNode; member in EditUndoConnectParas 81 EditUndoConnectParas( ImpEditEngine* pImpEE, sal_uInt16 nNode, sal_uInt16 nSepPos, 96 sal_uInt16 nNode; member in EditUndoSplitPara 101 EditUndoSplitPara( ImpEditEngine* pImpEE, sal_uInt16 nNode, sal_uInt16 nSepPos );
|
/aoo41x/main/sw/source/filter/ww8/ |
H A D | wrtw8nds.cxx | 364 if( pStt->nNode == rNd ) in SearchNext() 373 if( pEnd->nNode == rNd && in SearchNext() 1243 if( pEnd->nNode == rNd ) in IsRedlineAtEnd() 1262 if( pEnd->nNode == rNd && in GetRedline() 1288 if( pStt->nNode == rNd ) in GetRedline() 1304 if( pEnd->nNode == rNd && in GetRedline() 1529 pEnd->nNode == *pTxtNode && pStt->nNode != *pTxtNode && in lcl_getFormatCollection() 1530 pStt->nNode.GetNode().IsTxtNode() ) in lcl_getFormatCollection() 1532 pTxtNode = pStt->nNode.GetNode().GetTxtNode(); in lcl_getFormatCollection() 1692 if ( pMark->GetMarkStart().nNode == nNd || in GetBookmarks() [all …]
|