| /trunk/main/sw/source/core/text/ |
| H A D | itradj.cxx | 94 const SwLinePortion *pPos = pCurr->GetFirstPortion(); in FormatBlock() local 95 while( pPos ) in FormatBlock() 98 if( pPos->IsFlyPortion() ) in FormatBlock() 99 pTmpFly = pPos; // Ein Fly wurde gefunden in FormatBlock() 100 else if ( pTmpFly && pPos->InTxtGrp() ) in FormatBlock() 105 pPos = pPos->GetPortion(); in FormatBlock() 310 SwLinePortion *pPos = pCurrent->GetPortion(); in CalcNewBlock() local 312 while( pPos ) in CalcNewBlock() 315 pPos->IsBreakPortion() && !IsLastBlock() ) in CalcNewBlock() 321 if ( pPos->InTxtGrp() ) in CalcNewBlock() [all …]
|
| H A D | porlay.cxx | 334 SwLinePortion *pPos = pLeft->GetPortion(); in CalcLeftMargin() local 335 while( pPos ) in CalcLeftMargin() 338 if( pPos->IsFlyPortion() ) in CalcLeftMargin() 341 pLeft->Join( (SwGluePortion*)pPos ); in CalcLeftMargin() 342 pPos = pLeft->GetPortion(); in CalcLeftMargin() 347 pPos = 0; in CalcLeftMargin() 439 SwLinePortion *pPos = pPortion; in CalcLine() local 446 while( pPos ) in CalcLine() 449 ASSERT( POR_LIN != pPos->GetWhichPor(), in CalcLine() 454 if( !pPos->Compress() ) in CalcLine() [all …]
|
| H A D | porlin.cxx | 189 SwLinePortion *pPos = pPortion; in _Truncate() local 191 { ASSERT( pPos != this, "SwLinePortion::Truncate: loop" ); in _Truncate() 192 SwLinePortion *pLast = pPos; in _Truncate() 193 pPos = pPos->GetPortion(); in _Truncate() 197 } while( pPos ); in _Truncate() 224 SwLinePortion *pPos = this; in FindLastPortion() local 226 while( pPos->GetPortion() ) in FindLastPortion() 229 pPos = pPos->GetPortion(); in FindLastPortion() 231 return pPos; in FindLastPortion() 240 SwLinePortion *pPos = FindLastPortion(); in Append() local [all …]
|
| H A D | porexp.cxx | 144 const SwLinePortion *pPos = rInf.GetRoot(); in MayUnderFlow() local 145 if( pPos->GetPortion() ) in MayUnderFlow() 146 pPos = pPos->GetPortion(); in MayUnderFlow() 147 while( pPos && pPos->IsBlankPortion() ) in MayUnderFlow() 148 pPos = pPos->GetPortion(); in MayUnderFlow() 149 if( !pPos || !rInf.GetIdx() || ( !pPos->GetLen() && pPos == rInf.GetRoot() ) ) in MayUnderFlow() 157 while( pPos && !pPos->IsFlyPortion() ) in MayUnderFlow() 158 pPos = pPos->GetPortion(); in MayUnderFlow() 159 if( !pPos ) in MayUnderFlow()
|
| H A D | txtfly.cxx | 155 SwLinePortion *pPos = pFirst; in UpdatePos() local 198 while( pPos ) in UpdatePos() 203 if( ( pPos->IsFlyCntPortion() || pPos->IsGrfNumPortion() ) in UpdatePos() 209 pCurrent->MaxAscentDescent( nTmpAscent, nTmpDescent, nFlyAsc, nFlyDesc, pPos ); in UpdatePos() 211 if( pPos->IsGrfNumPortion() ) in UpdatePos() 220 ((SwGrfNumPortion*)pPos)->SetBase( nTmpAscent, nTmpDescent, in UpdatePos() 229 ((SwFlyCntPortion*)pPos)->SetBase( *aTmpInf.GetTxtFrm(), in UpdatePos() 234 if( pPos->IsMultiPortion() && ((SwMultiPortion*)pPos)->HasFlyInCntnt() ) in UpdatePos() 237 ((SwTxtFormatter*)this)->pMulti = (SwMultiPortion*)pPos; in UpdatePos() 268 pPos->Move( aTmpInf ); in UpdatePos() [all …]
|
| H A D | porglue.cxx | 219 SwLinePortion *pPos = (SwLinePortion*)this; in AdjustRight() local 221 while( pPos ) in AdjustRight() 224 if( pPos->InFixMargGrp() ) in AdjustRight() 225 pLeft = (SwGluePortion*)pPos; in AdjustRight() 226 pPos = pPos->GetPortion(); in AdjustRight() 227 if( pPos == pRight) in AdjustRight() 228 pPos = 0; in AdjustRight()
|
| H A D | txthyph.cxx | 196 SwLinePortion *pPos = pCurr->GetPortion(); in Hyphenate() local 200 while( pPos ) in Hyphenate() 210 if( nWrdStart >= nPamStart && pPos->InHyphGrp() in Hyphenate() 211 && ( !pPos->IsSoftHyphPortion() in Hyphenate() 212 || ((SwSoftHyphPortion*)pPos)->IsExpand() ) ) in Hyphenate() 214 nWrdStart = nWrdStart + pPos->GetLen(); in Hyphenate() 218 nWrdStart = nWrdStart + pPos->GetLen(); in Hyphenate() 219 pPos = pPos->GetPortion(); in Hyphenate() 222 if( !pPos ) in Hyphenate()
|
| /trunk/main/tools/source/fsys/ |
| H A D | urlobj.cxx | 690 sal_Unicode const * pPos = rTheAbsURIRef.getStr(); in setAbsURIRef() local 691 sal_Unicode const * pEnd = pPos + rTheAbsURIRef.getLength(); in setAbsURIRef() 700 sal_Unicode const * p = pPos; in setAbsURIRef() 704 pPos = p; in setAbsURIRef() 766 sal_Unicode const * p1 = pPos; in setAbsURIRef() 836 sal_Unicode const * p1 = pPos; in setAbsURIRef() 841 pPos = p1; in setAbsURIRef() 845 if (bSmart && m_eScheme == INET_PROT_NOT_VALID && pPos != pEnd in setAbsURIRef() 846 && *pPos != nFragmentDelimiter) in setAbsURIRef() 883 if (pEnd - pPos < 2 || *pPos++ != '/' || *pPos++ != '/') in setAbsURIRef() [all …]
|
| /trunk/main/sal/rtl/source/ |
| H A D | uri.cxx | 387 sal_Unicode const * pPos = pBegin; in parseUriRef() local 389 if (pPos != pEnd && isAlpha(*pPos)) in parseUriRef() 390 for (sal_Unicode const * p = pPos + 1; p != pEnd; ++p) in parseUriRef() 395 pPos = p; in parseUriRef() 402 if (pEnd - pPos >= 2 && pPos[0] == '/' && pPos[1] == '/') in parseUriRef() 404 pComponents->aAuthority.pBegin = pPos; in parseUriRef() 405 pPos += 2; in parseUriRef() 406 while (pPos != pEnd && *pPos != '/' && *pPos != '?' && *pPos != '#') in parseUriRef() 407 ++pPos; in parseUriRef() 408 pComponents->aAuthority.pEnd = pPos; in parseUriRef() [all …]
|
| /trunk/main/sc/source/core/tool/ |
| H A D | chartarr.cxx | 418 const ScAddress* pPos = GetPositionMap()->GetPosition( nIndex ); in CreateMemChartMulti() local 419 if ( pPos ) in CreateMemChartMulti() 421 ScBaseCell* pCell = pDocument->GetCell( *pPos ); in CreateMemChartMulti() 430 sal_uLong nFormat = pDocument->GetNumberFormat( *pPos ); in CreateMemChartMulti() 451 const ScAddress* pPos = GetPositionMap()->GetPosition( nIndex ); in CreateMemChartMulti() local 452 if ( pPos ) in CreateMemChartMulti() 454 ScBaseCell* pCell = pDocument->GetCell( *pPos ); in CreateMemChartMulti() 463 sal_uLong nFormat = pDocument->GetNumberFormat( *pPos ); in CreateMemChartMulti() 489 … const ScAddress* pPos = GetPositionMap()->GetColHeaderPosition( static_cast<SCCOL>(nCol) ); in CreateMemChartMulti() local 490 if ( HasColHeaders() && pPos ) in CreateMemChartMulti() [all …]
|
| H A D | chartpos.cxx | 389 ScAddress* pPos; in CreatePositionMap() local 467 pPos = (ScAddress*) pCol->First(); in CreatePositionMap() 468 if ( pPos ) in CreatePositionMap() 470 delete pPos; in CreatePositionMap() 520 ScAddress* pPos; in ScChartPositionMap() local 527 pPos = (ScAddress*) pCol->First(); in ScChartPositionMap() 529 pPos = (ScAddress*) pCol->Next(); in ScChartPositionMap() 534 ppRowHeader[ nRow ] = pPos; in ScChartPositionMap() 535 pPos = (ScAddress*) pCol->Next(); in ScChartPositionMap() 542 ppRowHeader[ nRow ] = ( pPos ? new ScAddress( *pPos ) : NULL ); in ScChartPositionMap() [all …]
|
| /trunk/main/sw/source/core/edit/ |
| H A D | eddel.cxx | 161 SwPosition * pPos = 0; in Copy() local 166 if( !pPos ) in Copy() 172 pPos = (SwPosition*)PCURCRSR->GetPoint(); in Copy() 176 pPos = pDestShell->GetCrsr()->GetPoint(); in Copy() 183 SwCursor aCrsr( *pPos, 0, false); in Copy() 191 pInsertPos.reset( new SwPosition( *pPos ) ); in Copy() 194 SwPosition *pTmp = IsBlockMode() ? pInsertPos.get() : pPos; in Copy() 203 SwPosition *pPos = 0; in Copy() local 214 if( !pPos ) in Copy() 220 pPos = (SwPosition*)PCURCRSR->GetPoint(); in Copy() [all …]
|
| /trunk/main/sw/source/core/inc/ |
| H A D | drawdev.hxx | 42 const Point *pPos; member in SwDrawDev 46 :pOut(pOutDev), pPos(pPosition) { } in SwDrawDev() 68 inline const Point *GetOrigin() const {return pPos; } in GetOrigin() 78 if( !pPos ) in DrawText() 81 pOut->DrawText( rStart - *pPos, rTxt, nIdx, nLen ); in DrawText() 91 if( !pPos ) in DrawStretchText() 94 pOut->DrawStretchText( rStart - *pPos, nWidth, rTxt, nIdx, nLen ); in DrawStretchText() 104 if( !pPos ) in DrawTextArray() 107 pOut->DrawTextArray( rStart - *pPos, rTxt, pKernArray, nIdx, nLen ); in DrawTextArray() 116 if( !pPos ) in DrawLine() [all …]
|
| /trunk/main/sw/source/core/undo/ |
| H A D | untblk.cxx | 46 bSttWasTxtNd( sal_True ), nNdDiff( 0 ), pPos( 0 ), nSetPos( 0 ) in SwUndoInserts() 144 if( pPos ) // loesche noch den Bereich aus dem UndoNodes Array in ~SwUndoInserts() 147 SwNodes& rUNds = pPos->nNode.GetNodes(); in ~SwUndoInserts() 148 if( pPos->nContent.GetIndex() ) // nicht den gesamten Node loeschen in ~SwUndoInserts() 150 SwTxtNode* pTxtNd = pPos->nNode.GetNode().GetTxtNode(); in ~SwUndoInserts() 154 pTxtNd->EraseText( pPos->nContent ); in ~SwUndoInserts() 156 pPos->nNode++; in ~SwUndoInserts() 158 pPos->nContent.Assign( 0, 0 ); in ~SwUndoInserts() 159 rUNds.Delete( pPos->nNode, rUNds.GetEndOfExtras().GetIndex() - in ~SwUndoInserts() 160 pPos->nNode.GetIndex() ); in ~SwUndoInserts() [all …]
|
| H A D | undobj1.cxx | 194 const SwPosition* pPos = rAnchor.GetCntntAnchor(); in DelFly() local 199 nNdPgPos = pPos->nNode.GetIndex(); in DelFly() 200 nCntPos = pPos->nContent.GetIndex(); in DelFly() 201 SwTxtNode *const pTxtNd = pPos->nNode.GetNode().GetTxtNode(); in DelFly() 210 SwIndex aIdx( pPos->nContent ); in DelFly() 216 nNdPgPos = pPos->nNode.GetIndex(); in DelFly() 217 nCntPos = pPos->nContent.GetIndex(); in DelFly() 221 nNdPgPos = pPos->nNode.GetIndex(); in DelFly() 258 const SwPosition* pPos = rAnchor.GetCntntAnchor(); in SwUndoInsLayFmt() local 259 nCntPos = pPos->nContent.GetIndex(); in SwUndoInsLayFmt() [all …]
|
| H A D | unins.cxx | 111 : SwUndo(UNDO_TYPING), pPos( 0 ), pTxt( 0 ), pRedlData( 0 ), in SwUndoInsert() 121 : SwUndo(UNDO_SPLITNODE), pPos( 0 ), pTxt( 0 ), in SwUndoInsert() 194 if( pPos ) // loesche noch den Bereich aus dem UndoNodes Array in ~SwUndoInsert() 197 SwNodes& rUNds = pPos->nNode.GetNode().GetNodes(); in ~SwUndoInsert() 198 if( pPos->nContent.GetIndex() ) // nicht den gesamten Node loeschen in ~SwUndoInsert() 200 SwTxtNode* pTxtNd = pPos->nNode.GetNode().GetTxtNode(); in ~SwUndoInsert() 202 pTxtNd->EraseText( pPos->nContent ); in ~SwUndoInsert() 203 pPos->nNode++; in ~SwUndoInsert() 205 pPos->nContent.Assign( 0, 0 ); in ~SwUndoInsert() 206 rUNds.Delete( pPos->nNode, rUNds.GetEndOfExtras().GetIndex() - in ~SwUndoInsert() [all …]
|
| /trunk/main/sw/source/core/crsr/ |
| H A D | pam.cxx | 636 const SwPosition* pPos = bAtPoint ? m_pPoint : m_pMark; in GetPageNum() local 638 if( 0 != ( pNd = pPos->nNode.GetNode().GetCntntNode() ) && in GetPageNum() 639 …0 != ( pCFrm = pNd->getLayoutFrm( pNd->GetDoc()->GetCurrentLayout(), pLayPos, pPos, sal_False )) && in GetPageNum() 936 void GoStartDoc( SwPosition * pPos ) in GoStartDoc() argument 938 SwNodes& rNodes = pPos->nNode.GetNodes(); in GoStartDoc() 939 pPos->nNode = *rNodes.GetEndOfContent().StartOfSectionNode(); in GoStartDoc() 941 SwCntntNode* pCNd = rNodes.GoNext( &pPos->nNode ); in GoStartDoc() 943 pCNd->MakeStartIndex( &pPos->nContent ); in GoStartDoc() 947 void GoEndDoc( SwPosition * pPos ) in GoEndDoc() argument 949 SwNodes& rNodes = pPos->nNode.GetNodes(); in GoEndDoc() [all …]
|
| H A D | trvlreg.cxx | 158 SwPosition* pPos = rCurCrsr.GetPoint(); in GotoCurrRegion() local 175 pPos->nNode = *pCNd; in GotoCurrRegion() 177 pPos->nContent.Assign( pCNd, nTmpPos ); in GotoCurrRegion() 191 SwPosition* pPos = rCurCrsr.GetPoint(); in GotoCurrRegionAndSkip() local 192 xub_StrLen nCurrCnt = pPos->nContent.GetIndex(); in GotoCurrRegionAndSkip() 203 pPos->nNode = aIdx; in GotoCurrRegionAndSkip() 211 pPos->nNode = aIdx; in GotoCurrRegionAndSkip() 215 pPos->nContent.Assign( pCNd, nTmpPos ); in GotoCurrRegionAndSkip() 217 if( &pPos->nNode.GetNode() != pCurrNd || in GotoCurrRegionAndSkip() 218 pPos->nContent.GetIndex() != nCurrCnt ) in GotoCurrRegionAndSkip()
|
| H A D | trvltbl.cxx | 740 const SwPosition* pPos; in GetBoxNms() local 757 pPos = pTblCrsr->End(); in GetBoxNms() 764 pPos = GetCrsr()->GetPoint(); in GetBoxNms() 767 SwCntntNode* pCNd = pPos->nNode.GetNode().GetCntntNode(); in GetBoxNms() 797 sal_Bool SwCrsrShell::CheckTblBoxCntnt( const SwPosition* pPos ) in CheckTblBoxCntnt() argument 806 if( !pPos ) in CheckTblBoxCntnt() 816 else if( 0 != ( pSttNd = pPos->nNode.GetNode(). in CheckTblBoxCntnt() 829 if( !pPos && !pChkBox ) in CheckTblBoxCntnt() 833 if( pChkBox && !pPos && in CheckTblBoxCntnt() 866 void SwCrsrShell::SaveTblBoxCntnt( const SwPosition* pPos ) in SaveTblBoxCntnt() argument [all …]
|
| /trunk/main/sw/source/core/doc/ |
| H A D | docbm.cxx | 1183 const SwPosition* pPos = &rPam.GetBound( sal_True ); in lcl_ChkPaM() local 1184 if( pPos->nNode.GetIndex() == nNode && in lcl_ChkPaM() 1185 ( bBound1IsStart ? pPos->nContent.GetIndex() < nCntnt in lcl_ChkPaM() 1186 : pPos->nContent.GetIndex() <= nCntnt )) in lcl_ChkPaM() 1188 rSave.SetContent( pPos->nContent.GetIndex() ); in lcl_ChkPaM() 1192 pPos = &rPam.GetBound( sal_False ); in lcl_ChkPaM() 1193 if( pPos->nNode.GetIndex() == nNode && in lcl_ChkPaM() 1195 ? pPos->nContent.GetIndex() <= nCntnt in lcl_ChkPaM() 1196 : pPos->nContent.GetIndex() < nCntnt )) in lcl_ChkPaM() 1198 rSave.SetContent( pPos->nContent.GetIndex() ); in lcl_ChkPaM() [all …]
|
| H A D | docruby.cxx | 197 SwPosition* pPos = rPam.GetPoint(); in _SelectNextRubyChars() local 198 const SwTxtNode* pTNd = pPos->nNode.GetNode().GetTxtNode(); in _SelectNextRubyChars() 200 xub_StrLen nStart = pPos->nContent.GetIndex(), nEnd = pTxt->Len(); in _SelectNextRubyChars() 206 if( rPam.GetMark()->nNode == pPos->nNode ) in _SelectNextRubyChars() 234 pPos->nContent = nStart; in _SelectNextRubyChars() 252 pPos->nContent = nStart; in _SelectNextRubyChars() 263 pPos->nContent = nStart; in _SelectNextRubyChars() 267 pPos->nContent = *pAttr->GetAnyEnd(); in _SelectNextRubyChars() 268 if( pPos->nContent.GetIndex() > nEnd ) in _SelectNextRubyChars() 269 pPos->nContent = nEnd; in _SelectNextRubyChars() [all …]
|
| /trunk/main/idl/source/cmptools/ |
| H A D | hash.cxx | 143 SvStringHashEntry * pPos, *pEnd; in SvStringHashTable() local 144 pPos = pEntries; in SvStringHashTable() 146 while( pPos != pEnd ) in SvStringHashTable() 148 pPos->AddRef(); in SvStringHashTable() 149 pPos++; in SvStringHashTable() 163 SvStringHashEntry * pPos, *pEnd; in ~SvStringHashTable() local 164 pPos = pEntries; in ~SvStringHashTable() 167 while( pPos != pEnd ) in ~SvStringHashTable() 169 DBG_ASSERT( pPos->GetRefCount() == 1, "Reference count != 1" ); in ~SvStringHashTable() 170 pPos++; in ~SvStringHashTable() [all …]
|
| /trunk/main/svl/inc/svl/ |
| H A D | cntnrsrt.hxx | 89 sal_Bool Seek_Entry( const Type *pObj, sal_uLong* pPos ) const; \ 138 sal_Bool ClassName::Seek_Entry( const Type* pObj, sal_uLong* pPos ) const \ 153 if( pPos ) *pPos = nM; \ 160 if( pPos ) *pPos = nU; \ 167 if( pPos ) *pPos = nU; \
|
| /trunk/main/svl/source/misc/ |
| H A D | urihelper.cxx | 488 xub_StrLen * pPos, xub_StrLen * pEnd, bool bBackslash = false, in checkWChar() argument 491 sal_Unicode c = rStr.GetChar(*pPos); in checkWChar() 517 ++(*pPos); in checkWChar() 523 *pEnd = ++(*pPos); in checkWChar() 532 *pEnd = ++(*pPos); in checkWChar() 540 *pEnd = ++(*pPos); in checkWChar() 544 else if (rCharClass.isLetterNumeric(rStr, *pPos)) in checkWChar() 546 *pEnd = *pPos = nextChar(rStr, *pPos); in checkWChar() 553 sal_uInt32 scanDomain(UniString const & rStr, xub_StrLen * pPos, in scanDomain() argument 557 sal_Unicode const * p = pBuffer + *pPos; in scanDomain() [all …]
|
| /trunk/main/vcl/source/glyphs/ |
| H A D | gcach_layout.cxx | 479 const IcuPosition* pPos = pGlyphPositions; in operator ()() local 480 for( int i = 0; i < nRawRunGlyphCount; ++i, ++pPos ) in operator ()() 540 aNewPos = Point( (int)(pPos->fX+0.5), (int)(pPos->fY+0.5) ); in operator ()() 554 const IcuPosition* pNextPos = pPos+1; in operator ()() 559 nNewWidth = static_cast<int>(pNextPos->fX - pPos->fX); in operator ()() 572 nNewWidth = static_cast<int>(pNextPos->fX - pPos->fX); in operator ()() 637 aNewPos = Point( (int)(pPos->fX+0.5), (int)(pPos->fY+0.5) ); in operator ()()
|