| /AOO41X/main/sw/source/core/doc/ |
| H A D | docglbl.cxx | 122 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 D | docfly.cxx | 938 const SwStartNode* pSttNd = 0; in Chainable() local 940 ( !pSttNd && in Chainable() 941 0 != ( pSttNd = rSrcIdx.GetNode().FindFlyStartNode() ) && in Chainable() 942 pSttNd == rDstIdx.GetNode().FindFlyStartNode() ) || in Chainable() 943 ( !pSttNd && in Chainable() 944 0 != ( pSttNd = rSrcIdx.GetNode().FindFooterStartNode() ) && in Chainable() 945 pSttNd == rDstIdx.GetNode().FindFooterStartNode() ) || in Chainable() 946 ( !pSttNd && in Chainable() 947 0 != ( pSttNd = rSrcIdx.GetNode().FindHeaderStartNode() ) && in Chainable() 948 pSttNd == rDstIdx.GetNode().FindHeaderStartNode() ) || in Chainable() [all …]
|
| H A D | doclay.cxx | 163 SwStartNode* pSttNd = in MakeLayoutFmt() local 179 pFmt->SetFmtAttr( SwFmtCntnt( pSttNd )); in MakeLayoutFmt() 461 SwStartNode* pSttNd = GetNodes().MakeEmptySection( aIdx, SwFlyStartNode ); in CopyLayoutFmt() local 465 aIdx = *pSttNd; in CopyLayoutFmt() 501 aIdx = *pSttNd->EndOfSectionNode(); in CopyLayoutFmt() 1277 SwStartNode *pSttNd = rDoc.GetNodes()[nNdIdx]->GetStartNode(); in lcl_InsertLabel() local 1278 ASSERT( pSttNd, "Kein StartNode in InsertLabel." ); in lcl_InsertLabel() 1282 nNode = pSttNd->GetIndex(); in lcl_InsertLabel() 1288 nNode = pSttNd->EndOfSectionIndex(); in lcl_InsertLabel() 1384 SwStartNode* pSttNd = rDoc.GetNodes().MakeTextSection( in lcl_InsertLabel() local [all …]
|
| H A D | docdesc.cxx | 294 SwStartNode* pSttNd = GetNodes().MakeEmptySection( aTmp, SwHeaderStartNode ); in ChgPageDesc() local 297 aTmp = *pSttNd->EndOfSectionNode(); in ChgPageDesc() 300 pFmt->SetFmtAttr( SwFmtCntnt( pSttNd ) ); in ChgPageDesc() 356 SwStartNode* pSttNd = GetNodes().MakeEmptySection( aTmp, SwFooterStartNode ); in ChgPageDesc() local 359 aTmp = *pSttNd->EndOfSectionNode(); in ChgPageDesc() 362 pFmt->SetFmtAttr( SwFmtCntnt( pSttNd ) ); in ChgPageDesc()
|
| H A D | docfmt.cxx | 115 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() 2102 SwStartNode* pSttNd = GetNodes().MakeEmptySection( aTmpIdx, in CopyPageDescHeaderFooterImpl() local 2108 aTmpIdx = *pSttNd->EndOfSectionNode(); in CopyPageDescHeaderFooterImpl() 2110 aTmpIdx = *pSttNd; in CopyPageDescHeaderFooterImpl() 2112 pNewFmt->SetFmtAttr( SwFmtCntnt( pSttNd )); in CopyPageDescHeaderFooterImpl()
|
| /AOO41X/main/sw/source/core/docnode/ |
| H A D | nodes.cxx | 84 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 D | node.cxx | 481 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 D | ndtbl.cxx | 322 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 …]
|
| /AOO41X/main/sw/source/core/crsr/ |
| H A D | trvltbl.cxx | 805 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 D | unocrsr.cxx | 143 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 D | swcrsr.cxx | 1078 const SwNode* pSttNd = ( FND_IN_BODYONLY & eFndRngs ) in FindAll() local 1083 ? lcl_MakeSelBkwrd( rNds.GetEndOfContent(), *pSttNd,*this, sal_False ) in FindAll() 1084 : lcl_MakeSelFwrd( *pSttNd, rNds.GetEndOfContent(), *this, sal_False )) in FindAll() 2199 const SwStartNode* pSttNd; in MakeBoxSels() local 2203 pSttNd = pCur->GetPoint()->nNode.GetNode().FindTableBoxStartNode(); in MakeBoxSels() 2204 if( !pCur->HasMark() || !pSttNd || in MakeBoxSels() 2205 pSttNd != pCur->GetMark()->nNode.GetNode().FindTableBoxStartNode() ) in MakeBoxSels() 2208 else if( lcl_SeekEntry( aTmp, pSttNd, nPos )) in MakeBoxSels() 2210 SwNodeIndex aIdx( *pSttNd, 1 ); in MakeBoxSels() 2220 aIdx.Assign( *pSttNd->EndOfSectionNode(), - 1 ); in MakeBoxSels() [all …]
|
| H A D | trvlfnfl.cxx | 136 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 D | crstrvl.cxx | 466 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 …]
|
| /AOO41X/main/editeng/source/rtf/ |
| H A D | svxrtf.cxx | 948 sal_uLong nOldSttNdIdx = pOld->pSttNd->GetIdx(); in AttrGroupEnd() 990 if( ( pOld->pSttNd->GetIdx() < pInsPos->GetNodeIdx() || in AttrGroupEnd() 991 ( pOld->pSttNd->GetIdx() == pInsPos->GetNodeIdx() && in AttrGroupEnd() 1184 return !pAkt || (pAkt->pSttNd->GetIdx() == pInsPos->GetNodeIdx() && in IsAttrSttPos() 1256 pSttNd = rPos.MakeNodeIdx(); in SvxRTFItemStackType() 1258 pEndNd = pSttNd; in SvxRTFItemStackType() 1270 pSttNd = rPos.MakeNodeIdx(); in SvxRTFItemStackType() 1272 pEndNd = pSttNd; in SvxRTFItemStackType() 1284 if( pSttNd != pEndNd ) in ~SvxRTFItemStackType() 1286 delete pSttNd; in ~SvxRTFItemStackType() [all …]
|
| /AOO41X/main/sw/source/filter/rtf/ |
| H A D | rtffly.cxx | 249 SwTxtNode* pSttNd = pFlySave->nSttNd.GetNode().GetTxtNode(); in SetFlysInDoc() local 251 if( pSttNd && pEndNd && in SetFlysInDoc() 252 pSttNd->GetIndex() + 1 == pEndNd->GetIndex() in SetFlysInDoc() 253 … && pSttNd->GetTxt().Len()>0 /* #i38227# leave drop caps with no content as fly frames */ ) in SetFlysInDoc() 255 sal_uLong nPos = pSttNd->GetIndex(); in SetFlysInDoc() 256 SwDoc * pDoc1 = pSttNd->GetDoc(); in SetFlysInDoc() 260 SwPaM aTmp( *pSttNd, pSttNd->GetTxt().Len(), *pEndNd, 0 ); in SetFlysInDoc() 363 SwStartNode* pSttNd = bMakeEmptySection in SetFlysInDoc() local 388 aTmpIdx = *pSttNd->EndOfSectionNode(); in SetFlysInDoc() 394 if (pSttNd->GetIndex() + 1 == pSttNd->EndOfSectionIndex()) in SetFlysInDoc() [all …]
|
| /AOO41X/main/sw/source/core/table/ |
| H A D | swtable.cxx | 290 rSortCntBoxes[ n ]->pSttNd = 0; in DelBoxNode() 1721 pSttNd( 0 ), in SwTableBox() 1737 pSttNd = rIdx.GetNode().GetStartNode(); in SwTableBox() 1740 const SwTableNode* pTblNd = pSttNd->FindTableNode(); in SwTableBox() 1751 pSttNd( &rSttNd ), in SwTableBox() 1758 const SwTableNode* pTblNd = pSttNd->FindTableNode(); in SwTableBox() 1769 if( !GetFrmFmt()->GetDoc()->IsInDtor() && pSttNd ) in ~SwTableBox() 1772 const SwTableNode* pTblNd = pSttNd->FindTableNode(); in ~SwTableBox() 1922 if( !pSttNd ) // keine Content Box ?? in GetName() 1928 const SwTable& rTbl = pSttNd->FindTableNode()->GetTable(); in GetName() [all …]
|
| /AOO41X/main/sw/source/core/edit/ |
| H A D | edglss.cxx | 178 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()
|
| /AOO41X/main/sw/source/filter/ww8/ |
| H A D | WW8TableInfo.cxx | 604 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()
|
| /AOO41X/main/sw/source/core/undo/ |
| H A D | untbl.cxx | 637 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 …]
|
| /AOO41X/main/sw/source/core/unocore/ |
| H A D | unotbl.cxx | 852 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 …]
|
| /AOO41X/main/sw/inc/ |
| H A D | swtable.hxx | 378 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()
|
| /AOO41X/main/sw/source/core/access/ |
| H A D | acccell.cxx | 396 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()
|
| /AOO41X/main/sw/source/filter/xml/ |
| H A D | xmltbli.cxx | 220 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 …]
|
| /AOO41X/main/sw/source/filter/html/ |
| H A D | htmlfly.cxx | 1422 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()
|
| H A D | htmltabw.cxx | 288 const SwStartNode* pSttNd = pBox->GetSttNd(); in OutTableCell() local 290 if( pSttNd ) in OutTableCell() 292 sal_uLong nNdPos = pSttNd->GetIndex()+1; in OutTableCell() 463 if( pSttNd ) in OutTableCell() 465 HTMLSaveData aSaveData( rWrt, pSttNd->GetIndex()+1, in OutTableCell() 466 pSttNd->EndOfSectionIndex() ); in OutTableCell()
|