/trunk/main/sw/source/core/txtnode/ |
H A D | atrtox.cxx | 35 xub_StrLen const nStartPos, xub_StrLen const*const pEnd) in SwTxtTOXMark() argument 43 m_nEnd = *pEnd; in SwTxtTOXMark()
|
/trunk/main/sw/source/core/inc/ |
H A D | UndoDelete.hxx | 69 sal_Bool SaveCntnt( const SwPosition* pStt, const SwPosition* pEnd,
|
/trunk/main/sw/source/core/frmedt/ |
H A D | fetab.cxx | 1901 bool SwFEShell::SelTblRowCol( const Point& rPt, const Point* pEnd, bool bRowDrag ) in SelTblRowCol() argument 1905 if ( pEnd ) in SelTblRowCol() 1906 aEndPt = *pEnd; in SelTblRowCol() 1914 for ( sal_uInt16 i = 0; i < ( pEnd ? 2 : 1 ); ++i ) in SelTblRowCol() 1944 if ( 1 == i || !ppPos[0] || !pEnd ) in SelTblRowCol() 1952 const Point aProjection = lcl_ProjectOntoClosestTableFrm( *pCurrentTab, *pEnd, bRowDrag ); in SelTblRowCol()
|
H A D | fews.cxx | 615 SwPosition* pEnd = pPam->End(); in Sort() local 618 sal_uLong nOffset = pEnd->nNode.GetIndex() - pStart->nNode.GetIndex(); in Sort()
|
H A D | tblsel.cxx | 292 const SwLayoutFrm *pEnd = pCntNd ? in GetTblSel() local 294 if( pStart && pEnd ) in GetTblSel() 1540 GetTblSel( pStart, pEnd, aBoxes, 0 ); in CheckMergeSel() 1849 while ( pEnd && !pEnd->IsCellFrm() ) in MakeSelUnions() 1850 pEnd = pEnd->GetUpper(); in MakeSelUnions() 1853 if ( !pStart || !pEnd ) in MakeSelUnions() 1890 pStart = pEnd; in MakeSelUnions() 1891 pEnd = pTmp; in MakeSelUnions() 1904 if ( !pEnd ) return; in MakeSelUnions() 1909 pEndTable = pEnd->FindTabFrm(); in MakeSelUnions() [all …]
|
H A D | fecopy.cxx | 816 std::list< Insertion >::const_iterator pEnd = aCopyList.end(); in Paste() local 817 while( pCurr != pEnd ) in Paste()
|
/trunk/main/sw/source/core/fields/ |
H A D | reffld.cxx | 787 sal_uInt16* pStt, sal_uInt16* pEnd ) in FindAnchor() argument 801 if( pEnd ) in FindAnchor() 802 *pEnd = *pRef->GetTxtRefMark()->GetAnyEnd(); in FindAnchor() 822 if( pEnd ) in FindAnchor() 823 *pEnd = (*pStt) + 1; in FindAnchor() 841 if(pEnd) in FindAnchor() 845 *pEnd = *pStt; in FindAnchor() 851 *pEnd = pTxtNd->Len(); in FindAnchor() 858 *pEnd = USHRT_MAX; in FindAnchor() 883 if( pEnd ) in FindAnchor() [all …]
|
H A D | cellfml.cxx | 934 const SwLayoutFrm *pStt, *pEnd; in GetBoxes() local 937 pEnd = ( 0 != (pFrm = lcl_GetBoxFrm( rEndBox ))) ? pFrm->GetUpper() : 0; in GetBoxes() 938 if( !pStt || !pEnd ) in GetBoxes() 941 GetTblSel( pStt, pEnd, rBoxes, 0 ); in GetBoxes() 965 const SwTabFrm *pEndTable = pEnd->FindTabFrm(); in GetBoxes()
|
/trunk/main/sw/source/core/edit/ |
H A D | edsect.cxx | 203 * pEnd = PCURCRSR->End(); in SetSectionAttr() 206 * pEndSectNd = pEnd->nNode.GetNode().FindSectionNode(); in SetSectionAttr() 220 SwNodeIndex aEIdx( pEnd->nNode ); in SetSectionAttr() 272 * pEnd = PCURCRSR->End(); in GetFullSelectedSectionCount() 276 ( 0 == ( pCNd = pEnd->nNode.GetNode().GetCntntNode() )) || in GetFullSelectedSectionCount() 277 pCNd->Len() != pEnd->nContent.GetIndex() ) in GetFullSelectedSectionCount() 289 SwNodeIndex aSIdx( pStt->nNode, -1 ), aEIdx( pEnd->nNode, +1 ); in GetFullSelectedSectionCount()
|
H A D | edtox.cxx | 79 *pEnd = PCURCRSR->End(); in Insert() 85 else if( *pEnd != *pStt ) in Insert()
|
H A D | edattr.cxx | 505 *pEnd = pStt == PCURCRSR->GetMark() in GetScriptType() 508 if( pStt == pEnd || *pStt == *pEnd ) in GetScriptType() 543 sal_uLong nEndIdx = pEnd->nNode.GetIndex(); in GetScriptType() 558 ? pEnd->nContent.GetIndex() in GetScriptType() 641 const SwPosition* pEnd = pStt == pCrsr->GetPoint() in GetScalingOfSelectedText() local 644 if( pStt->nNode == pEnd->nNode ) in GetScalingOfSelectedText() 645 nEnd = pEnd->nContent.GetIndex(); in GetScalingOfSelectedText()
|
H A D | editsh.cxx | 637 const SwPosition *pStart = pPaM->Start(), *pEnd = pPaM->End(); in Calculate() local 639 String aStr = pTxtNd->GetExpandTxt( nStt, pEnd->nContent. in Calculate()
|
/trunk/main/sw/source/core/docnode/ |
H A D | nodes.cxx | 1744 if( !rPam.HasMark() || *pStt >= *pEnd ) in MoveRange() 1750 SwNodeIndex aEndIdx( pEnd->nNode ); in MoveRange() 1842 pEnd->nContent = pStt->nContent; in MoveRange() 1916 pEnd->nContent.GetIndex()); in MoveRange() 1968 *pEnd = *pStt; in MoveRange() 2357 const SwNode* pEnd ) const in FindPrvNxtFrmNode() 2379 if( pEnd ) in FindPrvNxtFrmNode() 2406 if( pEnd ) in FindPrvNxtFrmNode() 2407 aIdx = pEnd->GetIndex() + 1; in FindPrvNxtFrmNode() 2447 if( pEnd ) in FindPrvNxtFrmNode() [all …]
|
H A D | ndcopy.cxx | 643 if( *pEnd < *pREnd ) in lcl_DeleteRedlines() 706 nEnd = pEnd->nNode.GetIndex(), in CopyRange() 737 ( pStt->nNode != pEnd->nNode || in CopyRange() 883 SwPosition* pEnd = rPam.End(); in CopyImpl() local 1013 aRg.aEnd = pEnd->nNode; in CopyImpl() 1018 pEnd->nNode--; in CopyImpl() 1020 aRg.aEnd = pEnd->nNode; in CopyImpl() 1061 pEnd->nContent -= nCpyLen; in CopyImpl() 1203 pEnd->nContent.GetIndex() ); in CopyImpl() 1251 if( aInsPos == pEnd->nNode ) in CopyImpl() [all …]
|
H A D | ndsect.cxx | 176 pEnd->nNode.GetNode().GetCntntNode()->Len() == in InsertSwSection() 177 pEnd->nContent.GetIndex() ) in InsertSwSection() 182 pEnd->nNode.GetNode() ); in InsertSwSection() 398 * pEnd = rRange.End(); in IsInsRegionAvailable() local 415 sal_uLong nCmp = pEnd->nNode.GetIndex(); in IsInsRegionAvailable() 428 aIdx = pEnd->nNode.GetIndex() + 1; in IsInsRegionAvailable() 453 if( pEnd->nContent.GetIndex() == pCNd->Len() ) in IsInsRegionAvailable() 455 SwNodeIndex aIdx( pEnd->nNode, 1 ); in IsInsRegionAvailable() 1214 SwNodeIndex *pEnd = pEndIdx ? pEndIdx : in MakeFrms() local 1216 ::MakeFrms( pDoc, *pIdxBehind, *pEnd ); in MakeFrms() [all …]
|
H A D | ndtbl.cxx | 677 SwPaM aOriginal( *pStt, *pEnd ); in TextToTable() 679 pEnd = aOriginal.GetPoint(); in TextToTable() 697 ::PaMCorrAbs( aOriginal, *pEnd ); in TextToTable() 708 if( pEnd->nNode.GetNode().GetCntntNode()->Len() != pEnd->nContent.GetIndex() in TextToTable() 711 SplitNode( *pEnd, false ); in TextToTable() 712 ((SwNodeIndex&)pEnd->nNode)--; in TextToTable() 713 ((SwIndex&)pEnd->nContent).Assign( in TextToTable() 1150 ::PaMCorrAbs( aOriginal, *pEnd ); in TextToTable() 1161 if( pEnd->nNode.GetNode().GetCntntNode()->Len() != pEnd->nContent.GetIndex() in TextToTable() 4573 *pEnd = pTmp->End(); in UnProtectTbls() local [all …]
|
H A D | ndtbl1.cxx | 585 SwLayoutFrm *pStart, *pEnd; in SetTabBorders() local 586 ::lcl_GetStartEndCell( rCursor, pStart, pEnd ); in SetTabBorders() 589 ::MakeSelUnions( aUnions, pStart, pEnd ); in SetTabBorders() 833 SwLayoutFrm *pStart, *pEnd; in SetTabLineStyle() local 837 ::MakeSelUnions( aUnions, pStart, pEnd ); in SetTabLineStyle() 908 SwLayoutFrm *pStart, *pEnd; in GetTabBorders() local 912 ::MakeSelUnions( aUnions, pStart, pEnd ); in GetTabBorders() 1365 ::MakeSelUnions( aUnions, pStart, pEnd, in lcl_CalcColValues() 1452 SwLayoutFrm *pStart, *pEnd; in AdjustCellWidth() local 1485 while( !pEnd->IsCellFrm() ) in AdjustCellWidth() [all …]
|
/trunk/main/sw/source/core/doc/ |
H A D | swserv.cxx | 176 const SwPosition* pStt = rRange.Start(), *pEnd = rRange.End(); in SendDataChanged() local 183 && *pEnd > CNTNT_TYPE.pBkmk->GetMarkStart(); in SendDataChanged() 195 pEnd->nNode.GetIndex() >= pNd->GetIndex(); in SendDataChanged() 226 * pEnd = &CNTNT_TYPE.pBkmk->GetMarkEnd(); in IsLinkInServer() local 230 nEndNd = pEnd->nNode.GetIndex(); in IsLinkInServer() 231 nEnd = pEnd->nContent.GetIndex(); in IsLinkInServer()
|
H A D | tblcpy.cxx | 124 SubLine::iterator pEnd = pStartLn->end(); in insertSubBox() local 125 while( pBox != pEnd ) in insertSubBox() 243 BoxStructure::iterator pEnd = maLines[0].end(); in TableStructure() local 246 while( nIdx && pC != pEnd ) in TableStructure() 287 SubLine::iterator pEnd = pStartLn->end(); in addLine() local 288 while( pBox != pEnd ) in addLine() 396 BoxStructure::iterator pEnd = maLines[nLine].end(); in incColSpan() local 398 while( nNewCol > nCol && ++pInfo != pEnd ) in incColSpan() 400 if( pInfo != pEnd ) in incColSpan()
|
H A D | docsort.cxx | 336 const SwPosition *pStart = rPaM.Start(), *pEnd = rPaM.End(); in SortText() local 346 pStart->nNode <= pAPos->nNode && pAPos->nNode <= pEnd->nNode ) in SortText() 353 nEnd = pEnd->nNode.GetIndex(); in SortText() 372 pRedlPam = new SwPaM( pStart->nNode, pEnd->nNode, -1, 1 ); in SortText() 385 SwNodeIndex aEndIdx( pEnd->nNode, 1 ); in SortText() 392 pRedlPam->GetMark()->nNode.Assign( pEnd->nNode.GetNode(), 1 ); in SortText() 420 while( aStart <= pEnd->nNode ) in SortText()
|
H A D | list.cxx | 144 const SwPosition* pEnd = (*aNumberTreeIter).second->End(); in InsertListItem() local 148 *pStart <= aPosOfNodeNum && aPosOfNodeNum <= *pEnd) in InsertListItem()
|
H A D | docfmt.cxx | 128 pEndNd(pEnd), in ParaRstFmt() 327 ParaRstFmt aPara( pStt, pEnd, pHst ); in RstTxtAttrs() 416 ParaRstFmt aPara( pStt, pEnd, pHst ); in ResetAttrs() 447 SwNodeIndex aTmpEnd( pEnd->nNode ); in ResetAttrs() 467 if( pEnd->nContent.GetIndex() == pEnd->nNode.GetNode().GetCntntNode()->Len() ) in ResetAttrs() 917 SwIndex aCntEnd( pEnd->nContent ); in lcl_InsAttr() 922 if( pStt->nNode != pEnd->nNode ) in lcl_InsAttr() 983 if( pStt->nNode < pEnd->nNode ) in lcl_InsAttr() 1006 aEnd = pEnd->nNode; in lcl_InsAttr() 1012 aEnd = pEnd->nNode; in lcl_InsAttr() [all …]
|
H A D | docftn.cxx | 415 const SwPosition* pStt = rPam.Start(), *pEnd = rPam.End(); in SetCurFtn() local 418 const sal_uLong nEndNd = pEnd->nNode.GetIndex(); in SetCurFtn() 419 const xub_StrLen nEndCnt = pEnd->nContent.GetIndex(); in SetCurFtn()
|
H A D | docnum.cxx | 1918 const SwPosition *pStt = rPam.Start(), *pEnd = rPam.End(); in MoveParagraph() local 1921 sal_uLong nEndIdx = pEnd->nNode.GetIndex(); in MoveParagraph() 2021 SwPosition aStPos( *pStt ), aEndPos( *pEnd ); in MoveParagraph() 2023 SwCntntNode* pCNd = pEnd->nNode.GetNode().GetCntntNode(); in MoveParagraph() 2068 SwNodeIndex aIdx( nOffset > 0 ? pEnd->nNode : pStt->nNode, nOffs ); in MoveParagraph() 2069 SwNodeRange aMvRg( pStt->nNode, 0, pEnd->nNode, +1 ); in MoveParagraph() 2082 const SwCntntNode* pCEndNd = pEnd->nNode.GetNode().GetCntntNode(); in MoveParagraph() 2087 (pEnd->nNode < pREnd->nNode || in MoveParagraph() 2088 (pEnd->nNode == pREnd->nNode && in MoveParagraph()
|
H A D | docredln.cxx | 466 *pEnd = *pRStt; in AppendRedline() 1342 *pTStt <= *pEnd && *pEnd <= *pTEnd ) in SplitRedline() 1348 if( *pEnd == *pTEnd ) in SplitRedline() 1361 *pTStt = *pEnd; in SplitRedline() 1432 if( *pEnd == *pREnd ) in DeleteRedline() 1562 if( pEnd == pStt in GetRedline() 2062 pEnd->nContent.GetIndex() == pEnd->nNode.GetNode().GetCntntNode()->Len() ) in lcl_AdjustRedlineRange() 2070 *pEnd = *pREnd; in lcl_AdjustRedlineRange() 2553 if( pStt != pEnd && *pTmp->Start() > *pEnd ) in SetRedlineComment() 2674 if( aNewStt < *pEnd ) in InsertWithValidRanges() [all …]
|