/aoo41x/main/sw/source/core/text/ |
H A D | itradj.cxx | 95 while( pPos ) in FormatBlock() 105 pPos = pPos->GetPortion(); in FormatBlock() 312 while( pPos ) in CalcNewBlock() 412 pPos = pPos->GetPortion(); in CalcNewBlock() 441 while( pPos ) in CalcKanaAdj() 461 else if( pPos->InGlueGrp() && pPos->InFixMargGrp() ) in CalcKanaAdj() 509 pPos = pPos->GetPortion(); in CalcKanaAdj() 537 else if( pPos->InGlueGrp() && pPos->InFixMargGrp() ) in CalcKanaAdj() 558 pPos = pPos->GetPortion(); in CalcKanaAdj() 648 while( pPos ) in CalcFlyAdjust() [all …]
|
H A D | porlay.cxx | 335 while( pPos ) in CalcLeftMargin() 347 pPos = 0; in CalcLeftMargin() 446 while( pPos ) in CalcLine() 482 pPos = pPos->GetPortion(); in CalcLine() 548 if( pPos->IsFlyCntPortion() || ( pPos->IsMultiPortion() in CalcLine() 584 ( !pPos->Width() || pPos->IsFlyPortion() ); in CalcLine() 586 pLast = pPos; in CalcLine() 587 pPos = pPos->GetPortion(); in CalcLine() 2299 while ( pPos && !pPos->GetLen() ) in FindDropPortion() 2300 pPos = pPos->GetPortion(); in FindDropPortion() [all …]
|
H A D | porlin.cxx | 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() 241 pPos->SetPortion( pIns ); in Append() 270 while( pPos->GetPortion() && pPos->GetPortion() != this ) in FindPrevPortion() 273 pPos = pPos->GetPortion(); in FindPrevPortion() 275 ASSERT( pPos->GetPortion(), in FindPrevPortion() [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 | 198 while( pPos ) in UpdatePos() 203 if( ( pPos->IsFlyCntPortion() || pPos->IsGrfNumPortion() ) in UpdatePos() 234 if( pPos->IsMultiPortion() && ((SwMultiPortion*)pPos)->HasFlyInCntnt() ) in UpdatePos() 268 pPos->Move( aTmpInf ); in UpdatePos() 269 pPos = pPos->GetPortion(); in UpdatePos() 286 SwLinePortion *pPos = pFirst; in AlignFlyInCntBase() local 297 while( pPos ) in AlignFlyInCntBase() 299 if( pPos->IsFlyCntPortion() || pPos->IsGrfNumPortion() ) in AlignFlyInCntBase() 324 pPos = pPos->GetPortion(); in AlignFlyInCntBase() 363 while( pPos ) in ChkFlyUnderflow() [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()
|
/aoo41x/main/tools/source/fsys/ |
H A D | urlobj.cxx | 883 if (pEnd - pPos < 2 || *pPos++ != '/' || *pPos++ != '/') in setAbsURIRef() 953 if (pEnd - pPos < 2 || *pPos++ != '/' || *pPos++ != '/') in setAbsURIRef() 1010 if (pEnd - pPos >= 2 && pPos[0] == '/' && pPos[1] == '/') in setAbsURIRef() 1047 if (pEnd - pPos >= 2 && pPos[0] == '/' && pPos[1] == '/') in setAbsURIRef() 1184 if (pEnd - pPos >= 2 && pPos[0] == '/' && pPos[1] == '/') in setAbsURIRef() 1197 while (pPos < pEnd && *pPos != '/' && *pPos != c in setAbsURIRef() 1407 for (++pPos; pPos < pEnd && *pPos != nFragmentDelimiter;) in setAbsURIRef() 1424 for (++pPos; pPos < pEnd;) in setAbsURIRef() 2956 if (pPos < pEnd && *pPos != '/') in parsePath() 3181 if (pEnd - pPos < 2 || *pPos++ != '/' || *pPos++ != '~') in parsePath() [all …]
|
/aoo41x/main/sal/rtl/source/ |
H A D | uri.cxx | 389 if (pPos != pEnd && isAlpha(*pPos)) in parseUriRef() 402 if (pEnd - pPos >= 2 && pPos[0] == '/' && pPos[1] == '/') in parseUriRef() 405 pPos += 2; in parseUriRef() 406 while (pPos != pEnd && *pPos != '/' && *pPos != '?' && *pPos != '#') in parseUriRef() 407 ++pPos; in parseUriRef() 412 while (pPos != pEnd && *pPos != '?' && * pPos != '#') in parseUriRef() 413 ++pPos; in parseUriRef() 416 if (pPos != pEnd && *pPos == '?') in parseUriRef() 419 while (pPos != pEnd && * pPos != '#') in parseUriRef() 420 ++pPos; in parseUriRef() [all …]
|
/aoo41x/main/sc/source/core/tool/ |
H A D | chartarr.cxx | 419 if ( pPos ) in CreateMemChartMulti() 452 if ( pPos ) in CreateMemChartMulti() 454 ScBaseCell* pCell = pDocument->GetCell( *pPos ); in CreateMemChartMulti() 490 if ( HasColHeaders() && pPos ) in CreateMemChartMulti() 492 pPos->Col(), pPos->Row(), pPos->Tab(), aString ); in CreateMemChartMulti() 497 if ( pPos ) in CreateMemChartMulti() 498 nPosCol = pPos->Col() + 1; in CreateMemChartMulti() 524 if ( HasRowHeaders() && pPos ) in CreateMemChartMulti() 527 pPos->Col(), pPos->Row(), pPos->Tab(), aString ); in CreateMemChartMulti() 533 if ( pPos ) in CreateMemChartMulti() [all …]
|
H A D | chartpos.cxx | 389 ScAddress* pPos; in CreatePositionMap() local 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() 562 ppColHeader[ nCol ] = ( pPos ? new ScAddress( *pPos ) : NULL ); in ScChartPositionMap() [all …]
|
/aoo41x/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() 104 if( !pPos ) in DrawTextArray() 116 if( !pPos ) in DrawLine() 119 pOut->DrawLine( rStart - *pPos, rEnd - *pPos ); in DrawLine() 130 if( pPos ) in DrawRect() [all …]
|
/aoo41x/main/sw/source/core/edit/ |
H A D | eddel.cxx | 161 SwPosition * pPos = 0; in Copy() local 166 if( !pPos ) in Copy() 183 SwCursor aCrsr( *pPos, 0, false); in Copy() 203 SwPosition *pPos = 0; in Copy() local 214 if( !pPos ) in Copy() 220 pPos = (SwPosition*)PCURCRSR->GetPoint(); in Copy() 224 pPos = pDestShell->GetCrsr()->GetPoint(); in Copy() 230 pPos = pNextInsert->get(); in Copy() 234 GetDoc()->SplitNode( *pPos, false ); in Copy() 245 aSttNdIdx = pPos->nNode.GetIndex()-1; in Copy() [all …]
|
/aoo41x/main/sw/source/core/undo/ |
H A D | untblk.cxx | 147 SwNodes& rUNds = pPos->nNode.GetNodes(); in ~SwUndoInserts() 154 pTxtNd->EraseText( pPos->nContent ); in ~SwUndoInserts() 156 pPos->nNode++; in ~SwUndoInserts() 158 pPos->nContent.Assign( 0, 0 ); in ~SwUndoInserts() 160 pPos->nNode.GetIndex() ); in ~SwUndoInserts() 161 delete pPos; in ~SwUndoInserts() 204 pPos = new SwPosition( *pPam->GetPoint() ); in UndoImpl() 205 MoveToUndoNds( *pPam, &pPos->nNode, &pPos->nContent ); in UndoImpl() 287 sal_uLong nMvNd = pPos->nNode.GetIndex(); in RedoImpl() 288 xub_StrLen nMvCnt = pPos->nContent.GetIndex(); in RedoImpl() [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() 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() 260 nNdPgPos = pPos->nNode.GetIndex(); in SwUndoInsLayFmt() [all …]
|
H A D | unins.cxx | 121 : SwUndo(UNDO_SPLITNODE), pPos( 0 ), pTxt( 0 ), in SwUndoInsert() 202 pTxtNd->EraseText( pPos->nContent ); in ~SwUndoInsert() 203 pPos->nNode++; in ~SwUndoInsert() 205 pPos->nContent.Assign( 0, 0 ); in ~SwUndoInsert() 207 pPos->nNode.GetIndex() ); in ~SwUndoInsert() 208 delete pPos; in ~SwUndoInsert() 273 pPos = new SwPosition( *aPaM.GetPoint() ); in UndoImpl() 274 MoveToUndoNds( aPaM, &pPos->nNode, &pPos->nContent ); in UndoImpl() 342 sal_uLong nMvNd = pPos->nNode.GetIndex(); in RedoImpl() 343 xub_StrLen nMvCnt = pPos->nContent.GetIndex(); in RedoImpl() [all …]
|
/aoo41x/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 …]
|
/aoo41x/main/sw/source/core/crsr/ |
H A D | pam.cxx | 936 void GoStartDoc( SwPosition * pPos ) in GoStartDoc() argument 938 SwNodes& rNodes = pPos->nNode.GetNodes(); in GoStartDoc() 947 void GoEndDoc( SwPosition * pPos ) in GoEndDoc() argument 949 SwNodes& rNodes = pPos->nNode.GetNodes(); in GoEndDoc() 950 pPos->nNode = rNodes.GetEndOfContent(); in GoEndDoc() 957 void GoStartSection( SwPosition * pPos ) in GoStartSection() argument 960 SwNodes& rNodes = pPos->nNode.GetNodes(); in GoStartSection() 967 pPos->nNode.GetNode().GetCntntNode()->MakeStartIndex( &pPos->nContent ); in GoStartSection() 973 void GoEndSection( SwPosition * pPos ) in GoEndSection() argument 976 SwNodes& rNodes = pPos->nNode.GetNodes(); in GoEndSection() [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() 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 871 if( !pPos ) in SaveTblBoxCntnt() [all …]
|
/aoo41x/main/sw/source/core/doc/ |
H A D | docbm.cxx | 1645 SwPosition* pPos = 0; in _RestoreCntntIdx() local 1725 if( pPos ) in _RestoreCntntIdx() 1761 if( pPos ) in _RestoreCntntIdx() 1778 if ( pPos ) in _RestoreCntntIdx() 1785 if( pPos ) in _RestoreCntntIdx() 1787 pPos->nNode = *pCNd; in _RestoreCntntIdx() 1812 SwPosition* pPos = 0; in _RestoreCntntIdx() local 1921 if( pPos ) in _RestoreCntntIdx() 1938 if ( pPos ) in _RestoreCntntIdx() 1945 if( pPos ) in _RestoreCntntIdx() [all …]
|
H A D | docruby.cxx | 197 SwPosition* pPos = rPam.GetPoint(); in _SelectNextRubyChars() local 198 const SwTxtNode* pTNd = pPos->nNode.GetNode().GetTxtNode(); 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() 345 pTNd->GoNext( &pPos->nContent, CRSR_SKIP_CHARS ); in _SelectNextRubyChars() [all …]
|
/aoo41x/main/svl/inc/svl/ |
H A D | cntnrsrt.hxx | 88 sal_Bool Seek_Entry( const Type *pObj, sal_uLong* pPos ) const; \ 137 sal_Bool ClassName::Seek_Entry( const Type* pObj, sal_uLong* pPos ) const \ 152 if( pPos ) *pPos = nM; \ 159 if( pPos ) *pPos = nU; \ 166 if( pPos ) *pPos = nU; \
|
/aoo41x/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 …]
|
/aoo41x/main/sysui/source/win32/misc/ |
H A D | resourceprovider.cxx | 166 const sal_Unicode* pPos = aResOUString.getStr( ); in getResString() local 170 while( pPos < pEnd ) in getResString() 174 if ( (*pPos != TILDE_SIGN) || in getResString() 175 ((*pPos == TILDE_SIGN) && (pNext < pEnd) && (*pNext == TILDE_SIGN)) ) in getResString() 177 aBuffer.insert( i, *pPos ); in getResString() 181 pPos++; in getResString()
|