Home
last modified time | relevance | path

Searched refs:GetIdx (Results 1 – 25 of 43) sorted by relevance

12

/aoo4110/main/sw/source/core/text/
H A Dguess.cxx66 nCutPos = rInf.GetIdx(); in Guess()
138 nCutPos = rInf.GetIdx() + nMaxLen; in Guess()
165 if ( !nHyphPos && rInf.GetIdx() ) in Guess()
166 nHyphPos = rInf.GetIdx() - 1; in Guess()
175 rInf.GetTxtSize( &rSI, rInf.GetIdx(), nCutPos - rInf.GetIdx(), in Guess()
182 if( nCutPos > rInf.GetIdx() + nMaxLen ) in Guess()
210 nBreakPos = rInf.GetIdx(); in Guess()
241 if( nBreakPos > rInf.GetIdx() ) in Guess()
425 nPorLen = nBreakPos - rInf.GetIdx(); in Guess()
441 nBreakPos = rInf.GetIdx() - 1; in Guess()
[all …]
H A Dportxt.cxx82 nPos = rInf.GetIdx(); in lcl_AddSpace()
83 nEnd = rInf.GetIdx() + rPor.GetLen(); in lcl_AddSpace()
189 nPos = rInf.GetIdx() + rPor.GetLen(); in lcl_AddSpace()
373 SetLen( aGuess.BreakPos() - rInf.GetIdx() ); in _Format()
383 && ( aGuess.BreakPos() > rInf.GetIdx() || in _Format()
517 rInf.GetIdx() < rInf.GetTxt().Len() && in FormatEOL()
518 1 < rInf.GetIdx() && ' ' == rInf.GetChar( rInf.GetIdx() - 1 ) in FormatEOL()
522 xub_StrLen nX = rInf.GetIdx() - 1; in FormatEOL()
796 xub_StrLen nIdx = rInf.GetIdx(); in GetExpTxt()
963 SwIndex aIndex( pNd, rInf.GetIdx() ); in Paint()
[all …]
H A Ditrform2.cxx433 rInf.GetIdx() <= rInf.GetTxt().Len(), in BuildPortions()
490 else if ( rInf.GetIdx() ) in BuildPortions()
798 if ( pPor->GetLen() || !rInf.GetIdx() in CalcAscent()
929 Seek( rInf.GetIdx() ); in NewTxtPortion()
971 if ( nLeftScanIdx <= rInf.GetIdx() && rInf.GetIdx() <= nRightScanIdx ) in NewTxtPortion()
979 nLeftScanIdx = rInf.GetIdx(); in NewTxtPortion()
1023 if( rInf.GetIdx() ) in WhichFirstPortion()
1040 rInf.GetIdx() == pFrm->GetOfst() ) in WhichFirstPortion()
1231 xub_StrLen nEnd = rInf.GetIdx(); in NewPortion()
1246 xub_StrLen nEnd = rInf.GetIdx(); in NewPortion()
[all …]
H A Dtxthyph.cxx389 if ( nPorEnd > rInf.GetIdx() || in CreateHyphen()
390 ( nPorEnd == rInf.GetIdx() && rInf.GetLineStart() != rInf.GetIdx() ) ) in CreateHyphen()
392 aInf.SetLen( nPorEnd - rInf.GetIdx() ); in CreateHyphen()
563 rInf.SetSoftHyphPos( rInf.GetIdx() ); in Format()
570 !aGuess.AlternativeSpelling( rInf, rInf.GetIdx() - 1 ); in Format()
585 rInf.SetSoftHyphPos( rInf.GetIdx() ); in Format()
620 const xub_StrLen nOldIdx = rInf.GetIdx(); in FormatEOL()
622 rInf.SetIdx( rInf.GetIdx() - GetLen() ); in FormatEOL()
H A Dpormulti.cxx245 xub_StrLen nTmpStart = rInf.GetIdx(); in GetSpaceCnt()
496 xub_StrLen nStart = rInf.GetIdx(); in CalcBlanks()
503 rInf.SetIdx( rInf.GetIdx() + pPor->GetLen() ); in CalcBlanks()
517 rInf.SetIdx( rInf.GetIdx() + pPor->GetLen() ); in CalcBlanks()
692 xub_StrLen nOldIdx = rInf.GetIdx(); in _Adjust()
726 rInf.SetIdx( rInf.GetIdx() + pPor->GetLen() ); in _Adjust()
1421 xub_StrLen nOldIdx = GetInfo().GetIdx(); in PaintMultiPortion()
1751 xub_StrLen nOldIdx = rInf.GetIdx(); in BuildMultiPortion()
1826 const xub_StrLen nStartIdx = rInf.GetIdx(); in BuildMultiPortion()
1851 nMultiLen = nMultiLen - rInf.GetIdx(); in BuildMultiPortion()
[all …]
H A Dporfld.cxx173 nIdx = pInf->GetIdx(); in SwFldSlot()
244 rSI.DirType( IsFollow() ? rInf.GetIdx() - 1 : rInf.GetIdx() ); in CheckScript()
305 long nTxtRest = rInf.GetTxt().Len() - rInf.GetIdx(); in Format()
315 …xub_StrLen nFullLen = rInf.ScanPortionEnd( rInf.GetIdx(), rInf.GetIdx() + nOldFullLen ) - rInf.Get… in Format()
324 rInf.GetUnderScorePos() > rInf.GetIdx() ) in Format()
325 rInf.SetUnderScorePos( rInf.GetIdx() ); in Format()
1349 if( rInf.GetLineStart() == rInf.GetIdx() && (!rInf.GetLast()->InFldGrp() in Format()
H A Dporexp.cxx149 if( !pPos || !rInf.GetIdx() || ( !pPos->GetLen() && pPos == rInf.GetRoot() ) ) in MayUnderFlow()
192 MSHORT nMay = MayUnderFlow( rInf, rInf.GetIdx() - nLineLength, sal_True ); in FormatEOL()
200 rInf.SetIdx( rInf.GetIdx() - GetLen() ); in FormatEOL()
217 if( bFull && MayUnderFlow( rInf, rInf.GetIdx(), rInf.IsUnderFlow() ) ) in Format()
H A Dtxtdrop.cxx95 pInf( ((SwTxtPaintInfo*)&rInf) ), nIdx( rInf.GetIdx() ), in SwDropSave()
309 ((SwTxtPaintInfo&)rInf).SetIdx( rInf.GetIdx() + pCurrPart->GetLen() ); in PaintTxt()
441 xub_StrLen nOldIdx = rInf.GetIdx(); in GetTxtSize()
602 ASSERT( ! rInf.GetIdx(), "Drop Portion not at 0 position!" ); in NewDropPortion()
758 xub_StrLen nIdx = rInf.GetIdx(); in CalcFontSize()
955 nIdx = rInf.GetIdx(); in CalcFontSize()
1045 rInf.SetIdx( rInf.GetIdx() + pCurrPart->GetLen() ); in Format()
H A Dtxtfld.cxx328 pFrm->GetTxtNode()->GetAttr(aSet,rInf.GetIdx(),rInf.GetIdx()+1); in NewFldPortion()
378 const xub_StrLen nIdx(rInfo.GetIdx()); in TryNewNoLengthPortion()
409 SwTxtAttr *pHint = GetAttr( rInf.GetIdx() ); in NewExtraPortion()
471 || rInf.GetTxtStart() != rInf.GetIdx() ) in NewNumberPortion()
H A Ditrtxt.hxx308 return SeekAndChgAttrIter( rInf.GetIdx(), rInf.GetOut() ); in SeekAndChg()
313 if ( rInf.GetIdx() ) in SeekAndChgBefore()
314 return SeekAndChgAttrIter( rInf.GetIdx()-1, rInf.GetOut() ); in SeekAndChgBefore()
316 return SeekAndChgAttrIter( rInf.GetIdx(), rInf.GetOut() ); in SeekAndChgBefore()
H A Dporfly.cxx88 if( rInf.GetIdx() < rInf.GetTxt().Len() && 1 < rInf.GetIdx() in Format()
90 && ' ' == rInf.GetChar( rInf.GetIdx() ) in Format()
91 && ' ' != rInf.GetChar( rInf.GetIdx() - 1 ) in Format()
H A Ditrcrsr.cxx630 while( pPor && !pPor->IsBreakPortion() && ( aInf.GetIdx() < nOfst || in _GetCharRect()
648 if ( aInf.GetIdx() + pPor->GetLen() < nOfst + nExtra ) in _GetCharRect()
696 aInf.GetIdx() + pPor->GetLen() == nOfst ) in _GetCharRect()
704 aInf.SetIdx( aInf.GetIdx() + pPor->GetLen() ); in _GetCharRect()
758 nStart = aInf.GetIdx(); in _GetCharRect()
926 pPor->SetLen( nOfst - aInf.GetIdx() ); in _GetCharRect()
1036 if( aInf.GetIdx() == nOfst && pPor && pPor->InHyphGrp() && in _GetCharRect()
1076 aInf.GetIdx() == nOfst ) in _GetCharRect()
1319 xub_StrLen nOldIdx = GetInfo().GetIdx(); in GetCrsrOfst()
1633 aSizeInf.GetIdx(), in GetCrsrOfst()
H A Ditrpaint.cxx139 GetInfo().SetIdx( GetInfo().GetIdx() + pPor->GetLen() ); in CalcPaintOfst()
151 GetInfo().SetIdx( GetInfo().GetIdx() - pPor->GetLen() ); in CalcPaintOfst()
344 xub_StrLen nOffset = GetInfo().GetIdx(); in DrawTextLine()
461 GetInfo().GetIdx() >= GetInfo().GetTxt().Len() ) in DrawTextLine()
580 xub_StrLen nIndx = GetInfo().GetIdx(); in CheckSpecialUnderline()
H A Dinftxt.cxx243 const xub_StrLen nInfLen = rInf.GetIdx() + rInf.GetLen(); in GetMinLen()
259 nIdx(rNew.GetIdx()), in SwTxtSizeInfo()
511 *pTxt, GetIdx(), nMaxLen ); in GetTxtBreak()
535 *pTxt, GetIdx(), nMaxLen ); in GetTxtBreak()
1208 SwIndex aIndex(pNd, GetIdx()); in _DrawBackBrush()
1213 bool bIsStartMark=(1==GetLen() && CH_TXT_ATR_FIELDSTART==GetTxt().GetChar(GetIdx())); in _DrawBackBrush()
1329 pNd->GetTxtAttrAt(GetIdx(), RES_TXTATR_INETFMT); in _NotifyURL()
1550 nLineStart = rInf.GetIdx(); in SwTxtFormatInfo()
1778 nIdx = pInf->GetIdx(); in SwTxtSlot()
H A Dporrst.cxx118 if ( rInf.GetIdx()+1 == rInf.GetTxt().Len() ) in Format()
499 rInf.GetTxtFrm()->HideFootnotes( rInf.GetIdx(), rInf.GetIdx() + GetLen() ); in Format()
H A DEnhancedPDFExportHelper.cxx796 const String aActualTxt( rInf.GetTxt(), rInf.GetIdx(), pPor->GetLen() ); in SetAttributes()
1393 pNd->GetTxtAttrAt(rInf.GetIdx(), RES_TXTATR_INETFMT); in BeginInlineStructureElements()
1399 pNd->GetTxtAttrsAt(rInf.GetIdx(), RES_TXTATR_CHARFMT)); in BeginInlineStructureElements()
1458 rInf.GetIdx() - 1 : in BeginInlineStructureElements()
1459 rInf.GetIdx(); in BeginInlineStructureElements()
/aoo4110/main/sw/source/core/txtnode/
H A Dfntcache.cxx715 xub_StrLen nStart = rInf.GetIdx(); in lcl_DrawLineForWrongListData()
742 nStart = nStart - rInf.GetIdx(); in lcl_DrawLineForWrongListData()
834 nStart = nEnd + rInf.GetIdx(); in lcl_DrawLineForWrongListData()
1619 if ( nCnt < rInf.GetIdx() ) in DrawText()
1622 nCnt = nCnt - rInf.GetIdx(); in DrawText()
2038 if ( nCnt < rInf.GetIdx() ) in GetTextSize()
2268 xub_StrLen nIdx = rInf.GetIdx(); in GetCrsrOfst()
2307 if ( nIdx > rInf.GetIdx() && in GetCrsrOfst()
2546 nTmpIdx = rInf.GetIdx(); in GetTxtBreak()
2600 nTxtBreak = nTxtBreak - rInf.GetIdx(); in GetTxtBreak()
[all …]
H A Dswfont.cxx781 xub_StrLen nOldIdx(rInf.GetIdx()); in _GetTxtSize()
816 if (1==rInf.GetLen() && CH_TXT_ATR_FIELDSTART==rInf.GetText().GetChar(rInf.GetIdx())) in _GetTxtSize()
818 xub_StrLen nOldIdx(rInf.GetIdx()); in _GetTxtSize()
828 else if (1==rInf.GetLen() && CH_TXT_ATR_FIELDEND==rInf.GetText().GetChar(rInf.GetIdx())) in _GetTxtSize()
830 xub_StrLen nOldIdx(rInf.GetIdx()); in _GetTxtSize()
900 xub_StrLen nOldIdx(rInf.GetIdx()); in _DrawText()
931 xub_StrLen nOldIdx = rInf.GetIdx(); in _DrawText()
1029 rInf.GetText(), rInf.GetIdx(), rInf.GetLen() ); in _DrawStretchText()
1032 rInf.GetText() ), rInf.GetIdx(), rInf.GetLen() ); in _DrawStretchText()
1040 xub_StrLen nOldIdx = rInf.GetIdx(); in _DrawStretchText()
H A Dfntcap.cxx230 *pExtraPos, rInf.GetIdx(), rInf.GetLen(), rInf.GetKern() ); in Do()
236 rInf.GetIdx(), rInf.GetLen(), rInf.GetKern() ); in Do()
424 rInf.GetIdx(), in Do()
520 GetOut().DrawText( aPos, rInf.GetText(), rInf.GetIdx(), in Do()
524 rInf.GetText(), rInf.GetIdx(), rInf.GetLen() ); in Do()
569 - rDo.GetInf().GetIdx()), rDo.GetInf().GetLen() ); in DoOnCapitals()
575 xub_StrLen nPos = rDo.GetInf().GetIdx(); in DoOnCapitals()
/aoo4110/main/sw/source/filter/ww8/dump/
H A Dww8scan.hxx144 sal_uLong GetIdx() const { return (sal_uLong)nIdx; } in GetIdx() function in WW8PLCFspecial
226 sal_uLong GetIdx() const { return (sal_uLong)nIdx; } in GetIdx() function in WW8PLCF
298 virtual sal_uLong GetIdx() const = 0;
328 virtual sal_uLong GetIdx() const;
347 virtual sal_uLong GetIdx() const;
448 virtual sal_uLong GetIdx() const;
503 virtual sal_uLong GetIdx() const;
531 virtual sal_uLong GetIdx() const;
560 virtual sal_uLong GetIdx() const;
582 virtual sal_uLong GetIdx() const;
[all …]
H A Dww8scan.cxx1084 return pPcdI->GetIdx(); in GetNoSprms()
2751 u |= pFkp->GetIdx(); in GetIdx()
2973 return pPcd ? pPcd->GetIdx() : 0; in GetPCDIdx()
3395 return ( pRef->GetIdx() << 16 | pTxt->GetIdx() ); in GetIdx()
3432 sal_uLong nNr = pRef->GetIdx(); in GetNoSprms()
3552 long n = pPLCF->GetIdx(); in EndPosIsFieldEnd()
3583 long n = pPLCF->GetIdx(); in GetSprms()
3606 p->nCp2OrIdx = pPLCF->GetIdx(); in GetSprms()
3621 long n = pPLCF->GetIdx(); in GetPara()
3821 return pBook[nIsEnd]->GetIdx(); in GetNoSprms()
[all …]
/aoo4110/main/editeng/source/rtf/
H A Dsvxrtf.cxx948 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()
1324 if (GetSttNodeIdx() == rOldNode.GetIdx()) in MoveFullNode()
1332 if (!bSameEndAsStart && GetEndNodeIdx() == rOldNode.GetIdx()) in MoveFullNode()
1361 pSttNd->GetIdx() != pTmp->pSttNd->GetIdx() || in Compress()
1376 ? (pLastNd->GetIdx()+1 != pTmp->pSttNd->GetIdx() || in Compress()
1379 pLastNd->GetIdx() != pTmp->pSttNd->GetIdx() )) in Compress()
1414 if( pEndNd->GetIdx() != pLastNd->GetIdx() || nEndCnt != nLastCnt ) in Compress()
/aoo4110/main/sw/source/filter/ww8/
H A Dww8scan.hxx222 long GetIdx() const { return nIdx; } in GetIdx() function in WW8PLCFspecial
308 sal_Int32 GetIdx() const { return nIdx; } in GetIdx() function in WW8PLCF
349 long GetIdx() const { return nIdx; } in GetIdx() function in WW8PLCFpcd_Iter
388 virtual sal_uLong GetIdx() const = 0;
423 virtual sal_uLong GetIdx() const;
448 virtual sal_uLong GetIdx() const;
581 virtual sal_uLong GetIdx() const;
645 virtual sal_uLong GetIdx() const;
675 virtual sal_uLong GetIdx() const;
706 virtual sal_uLong GetIdx() const;
[all …]
H A Dww8scan.cxx1208 return pPcdI->GetIdx(); in GetNoSprms()
3085 u |= pFkp->GetIdx(); in GetIdx()
3770 return ( pRef->GetIdx() << 16 | pTxt->GetIdx() ); in GetIdx()
3804 sal_uLong nNr = pRef->GetIdx(); in GetSprms()
3935 long n = pPLCF->GetIdx(); in EndPosIsFieldEnd()
3966 long n = pPLCF->GetIdx(); in GetSprms()
3989 p->nCp2OrIdx = pPLCF->GetIdx(); in GetSprms()
4004 long n = pPLCF->GetIdx(); in GetPara()
4239 return pBook[nIsEnd]->GetIdx(); in GetNoSprms()
4319 return pBook[1]->GetIdx(); in GetHandle()
[all …]
/aoo4110/main/editeng/inc/editeng/
H A Dsvxrtf.hxx66 virtual sal_uLong GetIdx() const = 0;
438 sal_uLong GetSttNodeIdx() const { return pSttNd->GetIdx(); } in GetSttNodeIdx()
439 sal_uLong GetEndNodeIdx() const { return pEndNd->GetIdx(); } in GetEndNodeIdx()

Completed in 289 milliseconds

12