Home
last modified time | relevance | path

Searched refs:pCurr (Results 1 – 25 of 40) sorted by relevance

12

/AOO42X/main/sw/source/core/text/
H A Ditrform2.cxx136 if ( pCurr ) in Insert()
138 pLay->SetNext( pCurr->GetNext() ); in Insert()
139 pCurr->SetNext( pLay ); in Insert()
142 pCurr = pLay; in Insert()
161 return pCurr->Height(); in GetFrmRstHeight()
190 rInf.SetLast( pCurr ); in UnderFlow()
199 SwLinePortion *pPor = pCurr->GetFirstPortion(); in UnderFlow()
297 if( rInf.GetLast() == pCurr ) in UnderFlow()
301 MSHORT nOldWhich = pCurr->GetWhichPor(); in UnderFlow()
302 *(SwLinePortion*)pCurr = *pPor; in UnderFlow()
[all …]
H A Ditrtxt.cxx90 pCurr = pInf->GetParaPortion(); in Init()
105 rAscent = pCurr->GetAscent() + rHeight - pCurr->Height(); in CalcAscentAndHeight()
117 if( pCurr == pLay ) in _GetPrev()
119 while( pLay->GetNext() != pCurr ) in _GetPrev()
146 pCurr = pPrev; in Prev()
147 nStart = nStart - pCurr->GetLen(); in Prev()
149 if( !pCurr->IsDummy() && !(--nLineNr) ) in Prev()
151 return pCurr; in Prev()
163 if(pCurr->GetNext()) in Next()
165 pPrev = pCurr; in Next()
[all …]
H A Ditrcrsr.cxx412 !pCurr->GetFirstPortion()->IsMarginPortion() ) in GetLineStart()
450 if( nOfst != GetStart() || !pCurr->GetLen() ) in GetEndCharRect()
466 SwLinePortion *pPor = pCurr->GetFirstPortion(); in GetEndCharRect()
541 if( !pCurr->GetLen() && !pCurr->Width() ) in _GetCharRect()
555 SwLinePortion *pPor = pCurr->GetFirstPortion(); in _GetCharRect()
558 SvUShorts* pKanaComp = pCurr->GetpKanaComp(); in _GetCharRect()
561 long nSpaceAdd = pCurr->IsSpaceAdd() ? pCurr->GetLLSpaceAdd( 0 ) : 0; in _GetCharRect()
588 if ( pCurr->IsSpaceAdd() ) in _GetCharRect()
590 if ( ++nSpaceIdx < pCurr->GetLLSpaceAddCount() ) in _GetCharRect()
591 nSpaceAdd = pCurr->GetLLSpaceAdd( nSpaceIdx ); in _GetCharRect()
[all …]
H A Dpormulti.cxx228 sal_Bool SwBidiPortion::ChgSpaceAdd( SwLineLayout* pCurr, long nSpaceAdd ) const in ChgSpaceAdd() argument
231 if( !HasTabulator() && nSpaceAdd > 0 && !pCurr->IsSpaceAdd() ) in ChgSpaceAdd()
233 pCurr->CreateSpaceAdd(); in ChgSpaceAdd()
234 pCurr->SetLLSpaceAdd( nSpaceAdd, 0 ); in ChgSpaceAdd()
539 sal_Bool SwDoubleLinePortion::ChgSpaceAdd( SwLineLayout* pCurr, in ChgSpaceAdd() argument
545 if( !pCurr->IsSpaceAdd() ) in ChgSpaceAdd()
548 pCurr->CreateSpaceAdd(); in ChgSpaceAdd()
549 pCurr->SetLLSpaceAdd( nSpaceAdd, 0 ); in ChgSpaceAdd()
556 SwTwips nMultiSpace = pCurr->GetLLSpaceAdd( 0 ) * nMyBlank + nOther * nSpaceAdd; in ChgSpaceAdd()
566 std::vector<long>* pVec = pCurr->GetpLLSpaceAdd(); in ChgSpaceAdd()
[all …]
H A Ditrtxt.hxx45 SwLineLayout *pCurr; member in SwTxtIter
69 inline const SwLineLayout *GetCurr() const { return pCurr; } // niemals 0! in GetCurr()
70 inline const SwLineLayout *GetNext() const { return pCurr->GetNext(); } in GetNext()
72 inline xub_StrLen GetLength() const { return pCurr->GetLen(); } in GetLength()
102 inline KSHORT GetLineHeight() const { return pCurr->GetRealHeight(); } in GetLineHeight()
108 !( pCurr->IsDummy() && GetNextLine() ); } in IsFirstTxtLine()
112 { return pCurr == pInf->GetParaPortion(); } in IsParaLine()
161 inline SwTwips CurrWidth() const { return pCurr->PrtWidth(); } in CurrWidth()
210 void CalcFlyAdjust( SwLineLayout *pCurr );
216 SwMarginPortion* CalcRightMargin( SwLineLayout *pCurr, SwTwips nReal = 0 );
[all …]
H A Ditrpaint.cxx116 SwLinePortion *pPor = pCurr->GetFirstPortion(); in CalcPaintOfst()
124 if( nPaintOfst && pCurr->Width() ) in CalcPaintOfst()
178 GetInfo().SetpSpaceAdd( pCurr->GetpLLSpaceAdd() ); in DrawTextLine()
180 GetInfo().SetKanaComp( pCurr->GetpKanaComp() ); in DrawTextLine()
191 SwLinePortion *pPor = bEndPor ? pCurr->GetFirstPortion() : CalcPaintOfst( rPaint ); in DrawTextLine()
206 bPaintDrop = pPor == pCurr->GetFirstPortion() in DrawTextLine()
228 rClip.ChgClip( rPaint, pFrm, pCurr->HasUnderscore() ); in DrawTextLine()
259 if( pCurr->IsClipping() ) in DrawTextLine()
293 GetInfo().Y( GetInfo().GetPos().Y() + AdjustBaseLine( *pCurr, 0, in DrawTextLine()
309 sal_Bool bRest = pCurr->IsRest(); in DrawTextLine()
[all …]
H A Ditradj.cxx60 nStart + pCurr->GetLen() >= GetInfo().GetTxt().Len(); in FormatBlock()
66 const SwLineLayout *pLay = pCurr->GetNext(); in FormatBlock()
69 const SwLinePortion *pPor = pCurr->GetFirstPortion(); in FormatBlock()
85 CalcFlyAdjust( pCurr ); in FormatBlock()
86 pCurr->FinishSpaceAdd(); in FormatBlock()
94 const SwLinePortion *pPos = pCurr->GetFirstPortion(); in FormatBlock()
111 CalcFlyAdjust( pCurr ); in FormatBlock()
112 pCurr->FinishSpaceAdd(); in FormatBlock()
120 CalcNewBlock( pCurr, pFly ); in FormatBlock()
765 const KSHORT nCurrWidth = pCurr->PrtWidth(); in CalcFlyPortion()
[all …]
H A Dtxtftn.cxx867 KSHORT nOldReal = pCurr->GetRealHeight(); in NewFtnPortion()
868 KSHORT nOldAscent = pCurr->GetAscent(); in NewFtnPortion()
869 KSHORT nOldHeight = pCurr->Height(); in NewFtnPortion()
871 nReal = pCurr->GetRealHeight(); in NewFtnPortion()
874 pCurr->SetRealHeight( nOldReal ); in NewFtnPortion()
875 pCurr->Height( nOldHeight ); in NewFtnPortion()
876 pCurr->SetAscent( nOldAscent ); in NewFtnPortion()
1133 if( GetRedln() && pCurr->HasRedline() ) in FormatQuoVadis()
1139 SwLinePortion *pPor = pCurr->GetFirstPortion(); in FormatQuoVadis()
1190 nLastLeft = nOldRealWidth - pCurr->Width(); in FormatQuoVadis()
[all …]
H A Dtxthyph.cxx168 SwLineLayout *pOldCurr = pCurr; in Hyphenate()
179 pCurr = pPara; in Hyphenate()
183 pCurr = new SwLineLayout(); in Hyphenate()
189 if( pCurr->PrtWidth() && pCurr->GetLen() ) in Hyphenate()
196 SwLinePortion *pPos = pCurr->GetPortion(); in Hyphenate()
227 delete pCurr; in Hyphenate()
228 pCurr = pOldCurr; in Hyphenate()
H A Dtxtfly.cxx134 pCurr->MaxAscentDescent( rTop, rBottom, nFlyAsc, nFlyDesc ); in CalcUnclipped()
285 SwLinePortion *pFirst = pCurr->GetFirstPortion(); in AlignFlyInCntBase()
304 pCurr->MaxAscentDescent( nTmpAscent, nTmpDescent, nFlyAsc, nFlyDesc, pPos ); in AlignFlyInCntBase()
386 rInf.SetLineNettoHeight( KSHORT( pCurr->Height() ) ); in ChkFlyUnderflow()
397 rInf.SetLineNettoHeight( KSHORT( pCurr->Height() ) ); in ChkFlyUnderflow()
412 rInf.SetLineNettoHeight( KSHORT( pCurr->Height() ) ); in ChkFlyUnderflow()
453 nAscent = pCurr->GetAscent(); in CalcFlyWidth()
463 if ( ! pCurr->GetRealHeight() ) in CalcFlyWidth()
466 if ( pCurr->GetRealHeight() > nHeight ) in CalcFlyWidth()
467 nTop += pCurr->GetRealHeight() - nHeight; in CalcFlyWidth()
[all …]
H A Dpormulti.hxx137 virtual sal_Bool ChgSpaceAdd( SwLineLayout* pCurr, long nSpaceAdd ) const;
177 static void ResetSpaceAdd( SwLineLayout* pCurr );
187 virtual sal_Bool ChgSpaceAdd( SwLineLayout* pCurr, long nSpaceAdd ) const;
232 virtual sal_Bool ChgSpaceAdd( SwLineLayout* pCurr, long nSpaceAdd ) const;
240 SwLineLayout* pCurr; member in SwTxtCursorSave
/AOO42X/main/basegfx/source/polygon/
H A Db2dpolygontriangulator.cxx148 EdgeEntry* pCurr = mpList; in handleClosingEdge() local
151 while(pCurr in handleClosingEdge()
152 && pCurr->getStart().getY() <= aNew.getStart().getY() in handleClosingEdge()
153 && *pCurr != aNew) in handleClosingEdge()
155 pPrev = pCurr; in handleClosingEdge()
156 pCurr = pCurr->getNext(); in handleClosingEdge()
159 if(pCurr && *pCurr == aNew) in handleClosingEdge()
164 pPrev->setNext(pCurr->getNext()); in handleClosingEdge()
168 mpList = pCurr->getNext(); in handleClosingEdge()
176 pCurr = mpList; in handleClosingEdge()
[all …]
H A Db2dtrapezoid.cxx520 B2DPoint* pCurr(&maPoints[nStartIndex++]); in TrapezoidSubdivider() local
522 … if(fTools::equal(pPrev->getY(), pCurr->getY(), fTools::getSmallValue())) in TrapezoidSubdivider()
525 … if(!fTools::equal(pPrev->getX(), pCurr->getX(), fTools::getSmallValue())) in TrapezoidSubdivider()
528 aTrDeSimpleEdges.push_back(TrDeSimpleEdge(pPrev, pCurr)); in TrapezoidSubdivider()
530 const double fMiddle((pPrev->getY() + pCurr->getY()) * 0.5); in TrapezoidSubdivider()
532 pCurr->setY(fMiddle); in TrapezoidSubdivider()
539 maTrDeEdgeEntries.push_back(TrDeEdgeEntry(pPrev, pCurr, 0)); in TrapezoidSubdivider()
544 pPrev = pCurr; in TrapezoidSubdivider()
/AOO42X/main/sw/source/core/table/
H A Dswnewtable.cxx569 pCurr = aNewWidthList.begin(); in CollectBoxSelection() local
570 while( pCurr != aNewWidthList.end() ) in CollectBoxSelection()
572 SwFrmFmt* pFmt = pCurr->first->ClaimFrmFmt(); in CollectBoxSelection()
573 long nNewWidth = pFmt->GetFrmSize().GetWidth() + pCurr->second; in CollectBoxSelection()
575 ++pCurr; in CollectBoxSelection()
1239 std::list< SwLineOffset >::iterator pCurr = aBoxes.begin(); in lcl_SophisticatedFillLineIndices() local
1240 aLnOfs = *pCurr; // the line end and row span of the first box in lcl_SophisticatedFillLineIndices()
1241 while( ++pCurr != aBoxes.end() ) in lcl_SophisticatedFillLineIndices()
1243 if( aLnOfs.first > pCurr->first ) in lcl_SophisticatedFillLineIndices()
1245 aLnOfs.first = pCurr->first; in lcl_SophisticatedFillLineIndices()
[all …]
H A Dswtable.cxx1156 ChangeList::iterator pCurr = rOldNew.begin(); in lcl_AdjustWidthsInLine() local
1157 if( pCurr == rOldNew.end() ) in lcl_AdjustWidthsInLine()
1170 if( pCurr != rOldNew.end() && nBorder + nColFuzzy >= pCurr->first ) in lcl_AdjustWidthsInLine()
1173 while( pCurr != rOldNew.end() && nBorder > pCurr->first ) in lcl_AdjustWidthsInLine()
1174 ++pCurr; in lcl_AdjustWidthsInLine()
1175 if( pCurr != rOldNew.end() ) in lcl_AdjustWidthsInLine()
1178 if( nBorder + nColFuzzy >= pCurr->first ) in lcl_AdjustWidthsInLine()
1180 if( pCurr->second == pCurr->first ) in lcl_AdjustWidthsInLine()
1183 nRest = pCurr->second - nBorder; in lcl_AdjustWidthsInLine()
1185 ++pCurr; in lcl_AdjustWidthsInLine()
[all …]
/AOO42X/main/cui/source/options/
H A Doptgdlg.cxx551 const OUString* pCurr = serviceNames.getConstArray(); in CanvasSettings() local
552 const OUString* const pEnd = pCurr + serviceNames.getLength(); in CanvasSettings()
553 while( pCurr != pEnd ) in CanvasSettings()
556 xHierarchicalNameAccess->getByHierarchicalName(*pCurr), in CanvasSettings()
563 … maAvailableImplementations.push_back( std::make_pair(*pCurr,preferredImplementations) ); in CanvasSettings()
566 ++pCurr; in CanvasSettings()
1312 const NfCurrencyEntry* pCurr = rCurrTab[j]; in OfaLanguagesTabPage() local
1313 String aStr_( pCurr->GetBankSymbol() ); in OfaLanguagesTabPage()
1315 aStr_ += pCurr->GetSymbol(); in OfaLanguagesTabPage()
1318 aStr_ += ApplyLreOrRleEmbedding( pLanguageTable->GetString( pCurr->GetLanguage() ) ); in OfaLanguagesTabPage()
[all …]
/AOO42X/main/canvas/source/factory/
H A Dcf_service.cxx182 const OUString* pCurr = serviceNames.getConstArray(); in CanvasFactory() local
183 const OUString* const pEnd = pCurr + serviceNames.getLength(); in CanvasFactory()
184 while( pCurr != pEnd ) in CanvasFactory()
187 xHierarchicalNameAccess->getByHierarchicalName(*pCurr), in CanvasFactory()
194 … m_aAvailableImplementations.push_back( std::make_pair(*pCurr,implementationList) ); in CanvasFactory()
196 … m_aAcceleratedImplementations.push_back( std::make_pair(*pCurr,implementationList) ); in CanvasFactory()
198 m_aAAImplementations.push_back( std::make_pair(*pCurr,implementationList) ); in CanvasFactory()
201 ++pCurr; in CanvasFactory()
/AOO42X/main/ucb/source/core/
H A Ducbprops.cxx392 const PropertyTableEntry* pCurr = &__aPropertyTable[ 0 ]; in getProperties() local
393 while ( pCurr->pName ) in getProperties()
407 rProp.Name = OUString::createFromAscii( pCurr->pName ); in getProperties()
408 rProp.Handle = pCurr->nHandle; in getProperties()
409 rProp.Type = pCurr->pGetCppuType(); in getProperties()
410 rProp.Attributes = pCurr->nAttributes; in getProperties()
413 pCurr++; in getProperties()
/AOO42X/main/svx/source/svdraw/
H A Dsvdedtv2.cxx885 ImpDistributeEntry* pCurr = aEntryList.GetObject(a); in DECLARE_LIST() local
887 sal_Int32 nDelta = (sal_Int32)(fStepStart + 0.5) - pCurr->mnPos; in DECLARE_LIST()
889 … AddUndo(GetModel()->GetSdrUndoFactory().CreateUndoGeoObject(*pCurr->mpObj)); in DECLARE_LIST()
890 pCurr->mpObj->Move(Size(nDelta, 0)); in DECLARE_LIST()
891 … fStepStart += fStepWidth + (double)((pCurr->mnLength + pNext->mnLength) / 2); in DECLARE_LIST()
905 ImpDistributeEntry* pCurr = aEntryList.GetObject(a); in DECLARE_LIST() local
906 sal_Int32 nDelta = (sal_Int32)(fStepStart + 0.5) - pCurr->mnPos; in DECLARE_LIST()
908 … AddUndo(GetModel()->GetSdrUndoFactory().CreateUndoGeoObject(*pCurr->mpObj)); in DECLARE_LIST()
909 pCurr->mpObj->Move(Size(nDelta, 0)); in DECLARE_LIST()
976 ImpDistributeEntry* pCurr = aEntryList.GetObject(a); in DECLARE_LIST() local
[all …]
/AOO42X/main/basegfx/test/
H A Dboxclipper.cxx208 for(B2DPoint* pCurr=aTmp.begin(); pCurr!=aTmp.end(); ++pCurr) in normalizePoly() local
210 if( ! pSmallest || compare(*pCurr, *pSmallest) ) in normalizePoly()
212 pSmallest=pCurr; in normalizePoly()
/AOO42X/main/sw/source/ui/utlui/
H A Dglbltree.cxx1292 const SfxObjectShell* pCurr = SfxObjectShell::GetFirst(); in OpenDoc() local
1293 while( !bFound && pCurr ) in OpenDoc()
1295 if(pCurr->GetMedium() && in OpenDoc()
1296 … String(pCurr->GetMedium()->GetURLObject().GetMainURL(INetURLObject::DECODE_TO_IURI)) == sFileName) in OpenDoc()
1299 SwGlobalTree::SetShowShell(pCurr); in OpenDoc()
1302 pCurr = 0; in OpenDoc()
1305 pCurr = SfxObjectShell::GetNext(*pCurr); in OpenDoc()
/AOO42X/main/canvas/inc/canvas/
H A Dverifyinput.hxx482 const SequenceContent* pCurr = rSequence.getConstArray(); in verifyInput() local
483 const SequenceContent* pEnd = pCurr + rSequence.getLength(); in verifyInput()
484 while( pCurr != pEnd ) in verifyInput()
485 verifyInput( *pCurr++, pStr, xIf, nArgPos ); in verifyInput()
/AOO42X/main/sw/source/filter/rtf/
H A Drtffly.cxx120 const SfxPoolItem *pItem, *pCurr = aIter.GetCurItem(); in IsEqualFly() local
123 if( SFX_ITEM_SET != aFlySet.GetItemState( pCurr->Which(), in IsEqualFly()
126 ( RES_ANCHOR == pCurr->Which() in IsEqualFly()
127 ? (ANCHOR(pCurr)->GetAnchorId() != ANCHOR(pItem)->GetAnchorId() || in IsEqualFly()
128 ANCHOR(pCurr)->GetPageNum() != ANCHOR(pItem)->GetPageNum()) in IsEqualFly()
129 : *pItem != *pCurr )) in IsEqualFly()
134 pCurr = aIter.NextItem(); in IsEqualFly()
/AOO42X/main/svl/source/numbers/
H A Dnumfmuno.cxx828 const NfCurrencyEntry* pCurr = pFormatter->GetCurrencyEntry( bBank, in getPropertyValue() local
830 if ( pCurr ) in getPropertyValue()
831 aRet <<= rtl::OUString( pCurr->GetBankSymbol() ); in getPropertyValue()
890 const NfCurrencyEntry* pCurr = pFormatter->GetCurrencyEntry( bBank, in getPropertyValues() local
892 if ( pCurr ) in getPropertyValues()
893 aAbb = pCurr->GetBankSymbol(); in getPropertyValues()
/AOO42X/main/sw/source/core/docnode/
H A Dswbaslnk.cxx307 CurrShell *pCurr = 0; in SetGrfFlySize() local
309 pCurr = new CurrShell( pSh ); in SetGrfFlySize()
381 delete pCurr; in SetGrfFlySize()

12