Home
last modified time | relevance | path

Searched refs:pSttNd (Results 1 – 25 of 56) sorted by relevance

123

/trunk/main/sw/source/core/doc/
H A Ddocglbl.cxx122 SwNodePtr pSttNd; in SplitDoc() local
208 pSttNd = 0; in SplitDoc()
216 pSttNd = pNd; in SplitDoc()
220 if( pSttNd ) in SplitDoc()
250 if( pSttNd->GetIndex() + 1 < aEndIdx.GetIndex() ) in SplitDoc()
277 sTitle += ((SwTxtNode*)pSttNd)->GetExpandTxt(); in SplitDoc()
287 SwNodeRange aRg( *pSttNd, 0, aEndIdx.GetNode() ); in SplitDoc()
339 pSttNd->GetIndex() - 1; in SplitDoc()
342 SwPaM aTmp( *pSttNd, aEndIdx.GetNode(), 1, -1 ); in SplitDoc()
384 SwTxtNode* pTNd = (SwTxtNode*)pSttNd; in SplitDoc()
[all …]
H A Ddocfly.cxx996 const SwStartNode* pSttNd = 0; in Chainable() local
998 ( !pSttNd && in Chainable()
999 0 != ( pSttNd = rSrcIdx.GetNode().FindFlyStartNode() ) && in Chainable()
1000 pSttNd == rDstIdx.GetNode().FindFlyStartNode() ) || in Chainable()
1001 ( !pSttNd && in Chainable()
1002 0 != ( pSttNd = rSrcIdx.GetNode().FindFooterStartNode() ) && in Chainable()
1003 pSttNd == rDstIdx.GetNode().FindFooterStartNode() ) || in Chainable()
1004 ( !pSttNd && in Chainable()
1005 0 != ( pSttNd = rSrcIdx.GetNode().FindHeaderStartNode() ) && in Chainable()
1006 pSttNd == rDstIdx.GetNode().FindHeaderStartNode() ) || in Chainable()
[all …]
H A Ddoclay.cxx155 SwStartNode* pSttNd = in MakeLayoutFmt() local
171 pFmt->SetFmtAttr( SwFmtCntnt( pSttNd )); in MakeLayoutFmt()
453 SwStartNode* pSttNd = GetNodes().MakeEmptySection( aIdx, SwFlyStartNode ); in CopyLayoutFmt() local
457 aIdx = *pSttNd; in CopyLayoutFmt()
493 aIdx = *pSttNd->EndOfSectionNode(); in CopyLayoutFmt()
1269 SwStartNode *pSttNd = rDoc.GetNodes()[nNdIdx]->GetStartNode(); in lcl_InsertLabel() local
1270 ASSERT( pSttNd, "Kein StartNode in InsertLabel." ); in lcl_InsertLabel()
1274 nNode = pSttNd->GetIndex(); in lcl_InsertLabel()
1280 nNode = pSttNd->EndOfSectionIndex(); in lcl_InsertLabel()
1376 SwStartNode* pSttNd = rDoc.GetNodes().MakeTextSection( in lcl_InsertLabel() local
[all …]
H A Ddocdesc.cxx325 SwStartNode* pSttNd = GetNodes().MakeEmptySection( aTmp, SwHeaderStartNode ); in ChgPageDesc() local
328 aTmp = *pSttNd->EndOfSectionNode(); in ChgPageDesc()
331 pFmt->SetFmtAttr( SwFmtCntnt( pSttNd ) ); in ChgPageDesc()
384 SwStartNode* pSttNd = GetNodes().MakeEmptySection( aTmp, SwFooterStartNode ); in ChgPageDesc() local
387 aTmp = *pSttNd->EndOfSectionNode(); in ChgPageDesc()
390 pFmt->SetFmtAttr( SwFmtCntnt( pSttNd ) ); in ChgPageDesc()
H A Ddocredln.cxx3363 SwStartNode* pSttNd; in MoveToSection() local
3374 pSttNd = rNds.MakeTextSection( SwNodeIndex( rNds.GetEndOfRedlines() ), in MoveToSection()
3376 SwTxtNode* pTxtNd = rNds[ pSttNd->GetIndex() + 1 ]->GetTxtNode(); in MoveToSection()
3392 pSttNd = rNds.MakeEmptySection( SwNodeIndex( rNds.GetEndOfRedlines() ), in MoveToSection()
3395 SwPosition aPos( *pSttNd->EndOfSectionNode() ); in MoveToSection()
3399 pCntntSect = new SwNodeIndex( *pSttNd ); in MoveToSection()
3420 SwStartNode* pSttNd; in CopyToSection() local
3442 pSttNd = rNds.MakeTextSection( SwNodeIndex( rNds.GetEndOfRedlines() ), in CopyToSection()
3445 SwNodeIndex aNdIdx( *pSttNd, 1 ); in CopyToSection()
3467 pSttNd = rNds.MakeEmptySection( SwNodeIndex( rNds.GetEndOfRedlines() ), in CopyToSection()
[all …]
H A Ddocfmt.cxx115 const SwPosition *pSttNd, *pEndNd; member
127 pSttNd(pStt), in ParaRstFmt()
141 pSttNd(0), in ParaRstFmt()
166 if( &pPara->pSttNd->nNode.GetNode() == pTxtNode && in lcl_RstTxtAttr()
167 pPara->pSttNd->nContent.GetIndex() ) in lcl_RstTxtAttr()
168 aSt = pPara->pSttNd->nContent.GetIndex(); in lcl_RstTxtAttr()
2114 SwStartNode* pSttNd = GetNodes().MakeEmptySection( aTmpIdx, in CopyPageDescHeaderFooterImpl() local
2120 aTmpIdx = *pSttNd->EndOfSectionNode(); in CopyPageDescHeaderFooterImpl()
2122 aTmpIdx = *pSttNd; in CopyPageDescHeaderFooterImpl()
2124 pNewFmt->SetFmtAttr( SwFmtCntnt( pSttNd )); in CopyPageDescHeaderFooterImpl()
/trunk/main/sw/source/core/docnode/
H A Dnodes.cxx84 SwStartNode* pSttNd = new SwStartNode( *this, nPos++ ); in SwNodes() local
85 pEndOfPostIts = new SwEndNode( *this, nPos++, *pSttNd ); in SwNodes()
91 pTmp->pStartOfSection = pSttNd; in SwNodes()
95 pTmp->pStartOfSection = pSttNd; in SwNodes()
99 pTmp->pStartOfSection = pSttNd; in SwNodes()
561 SwStartNode* pSttNd = pAktNode->pStartOfSection; in _MoveNodes() local
562 if( pSttNd->IsTableNode() ) in _MoveNodes()
564 SwTableNode* pTblNd = (SwTableNode*)pSttNd; in _MoveNodes()
568 pSttNd->GetIndex() )+1; in _MoveNodes()
701 else if( pSttNd->GetIndex() < aRg.aStart.GetIndex() ) in _MoveNodes()
[all …]
H A Dnode.cxx481 const SwStartNode* pSttNd = pNd->FindSectionNode(); in IsProtect() local
482 if( pSttNd && ((SwSectionNode*)pSttNd)->GetSection().IsProtectFlag() ) in IsProtect()
485 if( 0 != ( pSttNd = FindTableBoxStartNode() ) ) in IsProtect()
491 const SwTableBox* pBox = pSttNd->FindTableNode()->GetTable(). in IsProtect()
492 GetTblBox( pSttNd->GetIndex() ); in IsProtect()
509 if( 0 != ( pSttNd = FindFootnoteStartNode() ) ) in IsProtect()
512 SwNodeIndex( *pSttNd ) ); in IsProtect()
574 const SwStartNode* pSttNd; in FindPageDesc() local
576 0 != ( pSttNd = pNd->FindFlyStartNode() ) ) in FindPageDesc()
588 &rCntnt.GetCntntIdx()->GetNode() == (SwNode*)pSttNd ) in FindPageDesc()
[all …]
H A Dndtbl.cxx322 SwStartNode* pSttNd = new SwStartNode( aEndIdx, ND_STARTNODE, in InsBoxen() local
324 pSttNd->pStartOfSection = pTblNd; in InsBoxen()
325 new SwEndNode( aEndIdx, *pSttNd ); in InsBoxen()
327 pPrvBox = new SwTableBox( pBoxFmt, *pSttNd, pLine ); in InsBoxen()
342 new SwTxtNode( SwNodeIndex( *pSttNd->EndOfSectionNode() ), in InsBoxen()
348 SwNodeIndex( *pSttNd->EndOfSectionNode() ), in InsBoxen()
621 SwStartNode* pSttNd = new SwStartNode( aIdx, ND_STARTNODE, in InsertTable() local
623 pSttNd->pStartOfSection = pTblNd; in InsertTable()
649 new SwEndNode( aIdx, *pSttNd ); in InsertTable()
1012 SwStartNode* pSttNd; in TextToTable() local
[all …]
/trunk/main/sw/source/core/crsr/
H A Dtrvltbl.cxx805 SwStartNode* pSttNd = 0; in CheckTblBoxCntnt() local
810 0 != ( pSttNd = pBoxIdx->GetNode().GetStartNode() ) && in CheckTblBoxCntnt()
811 SwTableBoxStartNode == pSttNd->GetStartNodeType() && in CheckTblBoxCntnt()
812 pBoxPtr == pSttNd->FindTableNode()->GetTable(). in CheckTblBoxCntnt()
816 else if( 0 != ( pSttNd = pPos->nNode.GetNode(). in CheckTblBoxCntnt()
819 pChkBox = pSttNd->FindTableNode()->GetTable().GetTblBox( pSttNd->GetIndex() ); in CheckTblBoxCntnt()
824 if( pChkBox && pSttNd->GetIndex() + 2 != pSttNd->EndOfSectionIndex() ) in CheckTblBoxCntnt()
835 pSttNd->GetIndex() + 1 == pCurCrsr->GetPoint()->nNode.GetIndex() )) in CheckTblBoxCntnt()
844 pSttNd->GetIndex() + 1 ]->GetTxtNode(); in CheckTblBoxCntnt()
874 SwStartNode* pSttNd = pPos->nNode.GetNode().FindSttNodeByType( SwTableBoxStartNode ); in SaveTblBoxCntnt() local
[all …]
H A Dunocrsr.cxx143 const SwStartNode *pSttNd = pNewSttNd, *pEndNd = pOldSttNd; in IsSelOvr() local
144 if( pSttNd->EndOfSectionIndex() > in IsSelOvr()
148 pSttNd = pOldSttNd; in IsSelOvr()
151 while( pSttNd->GetIndex() > pEndNd->GetIndex() ) in IsSelOvr()
153 if( !pSttNd->IsSectionNode() ) in IsSelOvr()
154 pInvalidNode = pSttNd; in IsSelOvr()
155 pSttNd = pSttNd->StartOfSectionNode(); in IsSelOvr()
H A Dswcrsr.cxx1090 const SwNode* pSttNd = ( FND_IN_BODYONLY & eFndRngs ) in FindAll() local
1095 ? lcl_MakeSelBkwrd( rNds.GetEndOfContent(), *pSttNd,*this, sal_False ) in FindAll()
1096 : lcl_MakeSelFwrd( *pSttNd, rNds.GetEndOfContent(), *this, sal_False )) in FindAll()
2211 const SwStartNode* pSttNd; in MakeBoxSels() local
2215 pSttNd = pCur->GetPoint()->nNode.GetNode().FindTableBoxStartNode(); in MakeBoxSels()
2216 if( !pCur->HasMark() || !pSttNd || in MakeBoxSels()
2217 pSttNd != pCur->GetMark()->nNode.GetNode().FindTableBoxStartNode() ) in MakeBoxSels()
2220 else if( lcl_SeekEntry( aTmp, pSttNd, nPos )) in MakeBoxSels()
2222 SwNodeIndex aIdx( *pSttNd, 1 ); in MakeBoxSels()
2232 aIdx.Assign( *pSttNd->EndOfSectionNode(), - 1 ); in MakeBoxSels()
[all …]
H A Dtrvlfnfl.cxx136 const SwNode* pSttNd = GetNode()->FindFootnoteStartNode(); in GotoFtnAnchor() local
137 if( pSttNd ) in GotoFtnAnchor()
141 const SwFtnIdxs& rFtnArr = pSttNd->GetDoc()->GetFtnIdxs(); in GotoFtnAnchor()
144 pSttNd == &pTxtFtn->GetStartNode()->GetNode() ) in GotoFtnAnchor()
H A Dcrstrvl.cxx466 const SwNode* pSttNd = rPos.nNode.GetNode().FindTableBoxStartNode(); in GotoNxtPrvTblFormula() local
467 if( pSttNd ) in GotoNxtPrvTblFormula()
469 const SwTableBox* pTBox = pSttNd->FindTableNode()->GetTable(). in GotoNxtPrvTblFormula()
470 GetTblBox( pSttNd->GetIndex() ); in GotoNxtPrvTblFormula()
1066 SwNode* pSttNd = rOutlNds[ nSttPos ]; in MakeOutlineSel() local
1094 pCurCrsr->GetPoint()->nNode = *pSttNd; in MakeOutlineSel()
1095 pCurCrsr->GetPoint()->nContent.Assign( pSttNd->GetCntntNode(), 0 ); in MakeOutlineSel()
1494 const SwStartNode* pSttNd = pTxtNd->FindTableBoxStartNode(); in GetContentAtPos() local
1496 if( pSttNd && 0 != ( pTblNd = pTxtNd->FindTableNode()) && in GetContentAtPos()
1498 pSttNd->GetIndex() )) && in GetContentAtPos()
[all …]
/trunk/main/editeng/source/rtf/
H A Dsvxrtf.cxx947 sal_uLong nOldSttNdIdx = pOld->pSttNd->GetIdx(); in AttrGroupEnd()
989 if( ( pOld->pSttNd->GetIdx() < pInsPos->GetNodeIdx() || in AttrGroupEnd()
990 ( pOld->pSttNd->GetIdx() == pInsPos->GetNodeIdx() && in AttrGroupEnd()
1183 return !pAkt || (pAkt->pSttNd->GetIdx() == pInsPos->GetNodeIdx() && in IsAttrSttPos()
1255 pSttNd = rPos.MakeNodeIdx(); in SvxRTFItemStackType()
1257 pEndNd = pSttNd; in SvxRTFItemStackType()
1269 pSttNd = rPos.MakeNodeIdx(); in SvxRTFItemStackType()
1271 pEndNd = pSttNd; in SvxRTFItemStackType()
1283 if( pSttNd != pEndNd ) in ~SvxRTFItemStackType()
1285 delete pSttNd; in ~SvxRTFItemStackType()
[all …]
/trunk/main/sw/source/filter/rtf/
H A Drtffly.cxx243 SwTxtNode* pSttNd = pFlySave->nSttNd.GetNode().GetTxtNode(); in SetFlysInDoc() local
245 if( pSttNd && pEndNd && in SetFlysInDoc()
246 pSttNd->GetIndex() + 1 == pEndNd->GetIndex() in SetFlysInDoc()
247 … && pSttNd->GetTxt().Len()>0 /* #i38227# leave drop caps with no content as fly frames */ ) in SetFlysInDoc()
249 sal_uLong nPos = pSttNd->GetIndex(); in SetFlysInDoc()
250 SwDoc * pDoc1 = pSttNd->GetDoc(); in SetFlysInDoc()
254 SwPaM aTmp( *pSttNd, pSttNd->GetTxt().Len(), *pEndNd, 0 ); in SetFlysInDoc()
357 SwStartNode* pSttNd = bMakeEmptySection in SetFlysInDoc() local
382 aTmpIdx = *pSttNd->EndOfSectionNode(); in SetFlysInDoc()
388 if (pSttNd->GetIndex() + 1 == pSttNd->EndOfSectionIndex()) in SetFlysInDoc()
[all …]
/trunk/main/sw/source/core/table/
H A Dswtable.cxx356 rSortCntBoxes[ n ]->pSttNd = 0; in DelBoxNode()
1787 pSttNd( 0 ), in SwTableBox()
1803 pSttNd = rIdx.GetNode().GetStartNode(); in SwTableBox()
1806 const SwTableNode* pTblNd = pSttNd->FindTableNode(); in SwTableBox()
1817 pSttNd( &rSttNd ), in SwTableBox()
1824 const SwTableNode* pTblNd = pSttNd->FindTableNode(); in SwTableBox()
1835 if( !GetFrmFmt()->GetDoc()->IsInDtor() && pSttNd ) in ~SwTableBox()
1838 const SwTableNode* pTblNd = pSttNd->FindTableNode(); in ~SwTableBox()
1988 if( !pSttNd ) // keine Content Box ?? in GetName()
1994 const SwTable& rTbl = pSttNd->FindTableNode()->GetTable(); in GetName()
[all …]
/trunk/main/sw/source/core/edit/
H A Dedglss.cxx178 sal_Bool SwEditShell::_CopySelToDoc( SwDoc* pInsDoc, SwNodeIndex* pSttNd ) in _CopySelToDoc() argument
189 if( pSttNd ) in _CopySelToDoc()
191 *pSttNd = aPos.nNode; in _CopySelToDoc()
192 (*pSttNd)--; in _CopySelToDoc()
266 if( bRet && pSttNd ) in _CopySelToDoc()
267 (*pSttNd)++; in _CopySelToDoc()
/trunk/main/sw/source/core/undo/
H A Duntbl.cxx637 SwStartNode* pSttNd = new SwStartNode( aSttIdx, ND_STARTNODE, in UndoTableToText() local
639 pSttNd->pStartOfSection = pTblNd; in UndoTableToText()
640 new SwEndNode( aEndIdx, *pSttNd ); in UndoTableToText()
645 pNd->pStartOfSection = pSttNd; in UndoTableToText()
650 SwTableBox* pBox = new SwTableBox( pBoxFmt, *pSttNd, pLine ); in UndoTableToText()
873 const SwStartNode *pSttNd = rTbl.GetTabSortBoxes()[ 0 ]->GetSttNd(); in SwUndoTblHeadline() local
874 ASSERT( pSttNd, "Box ohne Inhalt" ); in SwUndoTblHeadline()
876 nTblNd = pSttNd->StartOfSectionIndex(); in SwUndoTblHeadline()
1753 void SwUndoTblNdsChg::SaveSection( SwStartNode* pSttNd ) in SaveSection() argument
1759 SwTableNode* pTblNd = pSttNd->FindTableNode(); in SaveSection()
[all …]
/trunk/main/sw/source/filter/ww8/
H A DWW8TableInfo.cxx604 const SwStartNode * pSttNd = pTableBox->GetSttNd(); in processSwTableByLayout() local
606 if (pSttNd != NULL) in processSwTableByLayout()
608 SwPaM aPam(*pSttNd, 0); in processSwTableByLayout()
622 if (pTmpSttNd == pSttNd) in processSwTableByLayout()
742 const SwStartNode * pSttNd = pBox->GetSttNd(); in processTableBoxLines() local
743 const SwEndNode * pEndNd = pSttNd->EndOfSectionNode(); in processTableBoxLines()
744 SwPaM aPaM(*pSttNd, 0); in processTableBoxLines()
784 const SwStartNode * pSttNd = pBox->GetSttNd(); in processTableBox() local
803 SwPaM aPaM(*pSttNd, 0); in processTableBox()
839 if (pTmpSttNd == pSttNd) in processTableBox()
/trunk/main/sw/source/core/unocore/
H A Dunotbl.cxx852 const SwStartNode *pSttNd = 0; in GetStartNode() local
855 pSttNd = pStartNode ? pStartNode : pBox->GetSttNd(); in GetStartNode()
857 return pSttNd; in GetStartNode()
986 const SwStartNode* pSttNd = pStartNode ? pStartNode : pBox->GetSttNd(); in createTextCursor() local
987 SwPosition aPos(*pSttNd); in createTextCursor()
1013 const SwStartNode* pSttNd = pStartNode ? pStartNode : pBox->GetSttNd(); in createTextCursorByRange() local
1019 if( p1 == pSttNd ) in createTextCursorByRange()
1149 const SwStartNode* pSttNd = pBox->GetSttNd(); in createEnumeration() local
1150 SwPosition aPos(*pSttNd); in createEnumeration()
1157 SwTable const*const pTable( & pSttNd->FindTableNode()->GetTable() ); in createEnumeration()
[all …]
/trunk/main/sw/inc/
H A Dswtable.hxx378 const SwStartNode * pSttNd; member in SwTableBox
389 SwTableBox() : pSttNd(0), pUpper(0), pImpl(0) {} in SwTableBox()
410 const SwStartNode *GetSttNd() const { return pSttNd; } in GetSttNd()
413 { return pSttNd ? pSttNd->GetIndex() : 0; } in GetSttIdx()
/trunk/main/sw/source/core/access/
H A Dacccell.cxx396 const SwStartNode *pSttNd = pCellFrm->GetTabBox()->GetSttNd(); in getCurrentValue() local
397 if( pSttNd ) in getCurrentValue()
400 SwNodeIndex aCntntIdx( *pSttNd, 0 ); in getCurrentValue()
403 0 != ( pCNd = pSttNd->GetNodes().GoNext( &aCntntIdx ) ) && in getCurrentValue()
404 aCntntIdx.GetIndex() < pSttNd->EndOfSectionIndex(); in getCurrentValue()
/trunk/main/sw/source/filter/xml/
H A Dxmltbli.cxx220 inline void SetStartNode( const SwStartNode *pSttNd );
262 inline void SwXMLTableCell_Impl::SetStartNode( const SwStartNode *pSttNd ) in SetStartNode() argument
264 pStartNode = pSttNd; in SetStartNode()
1808 const SwStartNode *pSttNd = 0; in GetPrevStartNode() local
1812 pSttNd = pPrevCell->GetStartNode(); in GetPrevStartNode()
1817 pSttNd = pPrevCell->GetSubTable()->GetLastStartNode(); in GetPrevStartNode()
1819 ASSERT( pSttNd != 0, in GetPrevStartNode()
1823 return pSttNd; in GetPrevStartNode()
1846 const SwStartNode *pSttNd = InsertTableSection( pPrevSttNd ); in ReplaceWithEmptyCell() local
1856 pRow->GetCell( j )->SetStartNode( pSttNd ); in ReplaceWithEmptyCell()
[all …]
/trunk/main/sw/source/filter/html/
H A Dhtmlfly.cxx1422 const SwStartNode* pSttNd = rWrt.pDoc->GetNodes()[nStt]->GetStartNode(); in OutHTML_FrmFmtAsMulticol() local
1423 ASSERT( pSttNd, "Wo ist der Start-Node" ); in OutHTML_FrmFmtAsMulticol()
1429 pSttNd->EndOfSectionIndex(), in OutHTML_FrmFmtAsMulticol()
1513 const SwStartNode* pSttNd = rWrt.pDoc->GetNodes()[nStt]->GetStartNode(); in OutHTML_FrmFmtAsDivOrSpan() local
1514 ASSERT( pSttNd, "Wo ist der Start-Node" ); in OutHTML_FrmFmtAsDivOrSpan()
1520 pSttNd->EndOfSectionIndex(), in OutHTML_FrmFmtAsDivOrSpan()
1704 const SwStartNode* pSttNd = rWrt.pDoc->GetNodes()[nStt]->GetStartNode(); in OutHTML_HeaderFooter() local
1705 ASSERT( pSttNd, "Wo ist der Start-Node" ); in OutHTML_HeaderFooter()
1718 pSttNd->EndOfSectionIndex() ); in OutHTML_HeaderFooter()

123