Home
last modified time | relevance | path

Searched refs:GetLen (Results 1 – 25 of 116) sorted by relevance

12345

/trunk/main/sw/source/core/txtnode/
H A Dfntcache.cxx716 xub_StrLen nWrLen = rInf.GetLen(); in lcl_DrawLineForWrongListData()
835 nWrLen = rInf.GetIdx() + rInf.GetLen() - nStart; in lcl_DrawLineForWrongListData()
1002 if ( STRING_LEN == rInf.GetLen() ) in DrawText()
1020 sal_Int32* pKernArray = new sal_Int32[rInf.GetLen()]; in DrawText()
1024 rInf.GetIdx(), rInf.GetLen() ); in DrawText()
1027 rInf.GetIdx(), rInf.GetLen() ); in DrawText()
1029 long nWidthPerChar = pKernArray[ rInf.GetLen() - 1 ] / rInf.GetLen(); in DrawText()
1061 for ( xub_StrLen j = 1; j < rInf.GetLen(); ++j ) in DrawText()
1083 pKernArray[ rInf.GetLen() - 1 ] = rInf.GetWidth() - in DrawText()
1090 pKernArray, rInf.GetIdx(), rInf.GetLen() ); in DrawText()
[all …]
H A Dswfont.cxx756 xub_StrLen nLn = ( rInf.GetLen() == STRING_LEN ? rInf.GetText().Len() in _GetTxtSize()
757 : rInf.GetLen() ); in _GetTxtSize()
775 if(bCaseMapLengthDiffers && rInf.GetLen()) in _GetTxtSize()
782 xub_StrLen nOldLen(rInf.GetLen()); in _GetTxtSize()
816 if (1==rInf.GetLen() && CH_TXT_ATR_FIELDSTART==rInf.GetText().GetChar(rInf.GetIdx())) in _GetTxtSize()
819 xub_StrLen nOldLen(rInf.GetLen()); in _GetTxtSize()
828 else if (1==rInf.GetLen() && CH_TXT_ATR_FIELDEND==rInf.GetText().GetChar(rInf.GetIdx())) in _GetTxtSize()
831 xub_StrLen nOldLen(rInf.GetLen()); in _GetTxtSize()
852 if( !rInf.GetLen() || !nLn ) in _DrawText()
854 if( STRING_LEN == rInf.GetLen() ) in _DrawText()
[all …]
H A Dfntcap.cxx230 *pExtraPos, rInf.GetIdx(), rInf.GetLen(), rInf.GetKern() ); in Do()
236 rInf.GetIdx(), rInf.GetLen(), rInf.GetKern() ); in Do()
245 if ( GetCapInf()->nLen != rInf.GetLen() ) in Do()
417 nCrsr = nCrsr + rInf.GetLen(); in Do()
425 rInf.GetLen(), 0, sal_False ); in Do()
478 nStrLen( rInfo.GetLen() ), in SwDoDrawStretchCapital()
493 if( rInf.GetLen() ) in Do()
499 nDiff *= rInf.GetLen(); in Do()
519 if( 1 >= rInf.GetLen() ) in Do()
521 rInf.GetLen() ); in Do()
[all …]
/trunk/main/sw/source/core/text/
H A Dporglue.cxx58 if( !GetLen() || nOfst > GetLen() || !Width() ) in GetCrsrOfst()
61 return nOfst / (Width() / GetLen()); in GetCrsrOfst()
70 if( 1 >= GetLen() || rInf.GetLen() > GetLen() || !Width() || !GetLen() ) in GetTxtSize()
73 return SwPosSize( (Width() / GetLen()) * rInf.GetLen(), Height() ); in GetTxtSize()
82 if( GetLen() && rInf.OnWin() && in GetExpTxt()
85 rTxt.Fill( GetLen(), CH_BULLET ); in GetExpTxt()
97 if( !GetLen() ) in Paint()
103 aTxt.Fill( GetFixWidth() / GetLen(), ' ' ); in Paint()
115 if( 1 == GetLen() ) in Paint()
132 rInf.DrawText( *this, rInf.GetLen(), sal_True ); in Paint()
[all …]
H A Dportxt.cxx83 nEnd = rInf.GetIdx() + rPor.GetLen(); in lcl_AddSpace()
189 nPos = rInf.GetIdx() + rPor.GetLen(); in lcl_AddSpace()
357 SetLen( rInf.GetLen() ); in _Format()
407 rInf.GetLineStart() + rInf.GetLast()->GetLen() < rInf.GetIdx() && in _Format()
479 const XubString aDbgTxt( rInf.GetTxt().Copy( rInf.GetIdx(), rInf.GetLen() ) ); in Format()
482 if( rInf.X() > rInf.Width() || (!GetLen() && !InExpGrp()) ) in Format()
516 !GetPortion()->GetPortion() ) ) && GetLen() && in FormatEOL()
524 while( nX && nHoleLen < GetLen() && CH_BLANK == rInf.GetChar( --nX ) ) in FormatEOL()
530 if( nHoleLen == GetLen() ) in FormatEOL()
536 SetLen( GetLen() - nHoleLen ); in FormatEOL()
[all …]
H A Dtxtdrop.cxx96 nLen( rInf.GetLen() ), nX( rInf.X() ), nY( rInf.Y() ) in SwDropSave()
292 const xub_StrLen nOldLen = GetLen(); in PaintTxt()
303 ((SwDropPortion*)this)->SetLen( pCurrPart->GetLen() ); in PaintTxt()
304 ((SwTxtPaintInfo&)rInf).SetLen( pCurrPart->GetLen() ); in PaintTxt()
309 ((SwTxtPaintInfo&)rInf).SetIdx( rInf.GetIdx() + pCurrPart->GetLen() ); in PaintTxt()
407 const xub_StrLen nOldLen = GetLen(); in FormatTxt()
408 const xub_StrLen nOldInfLen = rInf.GetLen(); in FormatTxt()
434 while ( pCurrPart && nIdx + pCurrPart->GetLen() < rInf.GetLen() ) in GetTxtSize()
437 nIdx = nIdx + pCurrPart->GetLen(); in GetTxtSize()
442 xub_StrLen nOldLen = rInf.GetLen(); in GetTxtSize()
[all …]
H A Ditrcrsr.cxx117 xub_StrLen nOldLen = pPor->GetLen(); in lcl_GetCharRectInsideField()
119 const SwTwips nX1 = pPor->GetLen() ? in lcl_GetCharRectInsideField()
450 if( nOfst != GetStart() || !pCurr->GetLen() ) in GetEndCharRect()
458 if( !GetPrev() || !GetPrev()->GetLen() || !PrevLine() ) in GetEndCharRect()
477 if( pPor->InTxtGrp() || ( pPor->GetLen() && !pPor->IsFlyPortion() in GetEndCharRect()
541 if( !pCurr->GetLen() && !pCurr->Width() ) in _GetCharRect()
570 while( pPor && !pPor->GetLen() && ! bInsideFirstField ) in _GetCharRect()
652 if ( aInf.GetIdx() + pPor->GetLen() < nOfst + nExtra ) in _GetCharRect()
700 aInf.GetIdx() + pPor->GetLen() == nOfst ) in _GetCharRect()
708 aInf.SetIdx( aInf.GetIdx() + pPor->GetLen() ); in _GetCharRect()
[all …]
H A Dpormulti.cxx149 rPH.Text( GetLen(), GetWhichPor() ); in HandlePortion()
257 ((SwTxtSizeInfo &)rInf).SetIdx( rInf.GetIdx() + pPor->GetLen() ); in GetSpaceCnt()
503 rInf.SetIdx( rInf.GetIdx() + pPor->GetLen() ); in CalcBlanks()
517 rInf.SetIdx( rInf.GetIdx() + pPor->GetLen() ); in CalcBlanks()
708 rInf.SetIdx( nOldIdx + GetRoot().GetLen() ); in _Adjust()
726 rInf.SetIdx( rInf.GetIdx() + pPor->GetLen() ); in _Adjust()
1417 xub_StrLen nOldLen = GetInfo().GetLen(); in PaintMultiPortion()
1545 GetInfo().SetLen( pPor->GetLen() ); in PaintMultiPortion()
1547 if( bRest && pPor->InFldGrp() && !pPor->GetLen() ) in PaintMultiPortion()
1602 bFirst &= !pPor->GetLen(); in PaintMultiPortion()
[all …]
H A Ditrtxt.cxx147 nStart = nStart - pCurr->GetLen(); in Prev()
167 nStart = nStart + pCurr->GetLen(); in Next()
169 if( pCurr->GetLen() || ( nLineNr>1 && !pCurr->IsDummy() ) ) in Next()
275 while( nStart + pCurr->GetLen() <= nChar && Next() ) in CharToLine()
291 sal_Bool bPrevious = bRightMargin && pCurr->GetLen() && GetPrev() && in CharCrsrToLine()
292 GetPrev()->GetLen(); in CharCrsrToLine()
420 const xub_StrLen nEnd = nStart + pCurr->GetLen(); in TruncLines()
441 nRangeEnd = nRangeEnd + pLine->GetLen(); in TruncLines()
465 !pCurr->GetLen() && in TruncLines()
H A Ditrform2.cxx282 rInf.SetLen( pPor->GetLen() ); in UnderFlow()
432 ASSERT( rInf.GetLen() < STRING_LEN && in BuildPortions()
588 rInf.GetReformatStart() <= rInf.GetIdx() + pPor->GetLen() && in BuildPortions()
599 rInf.GetReformatStart() <= rInf.GetIdx() + pPor->GetLen() ) in BuildPortions()
622 pPor->GetLen() && !pPor->InFldGrp() ) in BuildPortions()
626 xub_StrLen nTmp = rInf.GetIdx() + pPor->GetLen(); in BuildPortions()
653 xub_StrLen nTmp = rInf.GetIdx() + pPor->GetLen(); in BuildPortions()
710 if ( !pPor->GetLen() && !pPor->IsFlyPortion() in BuildPortions()
773 else if ( pPor->InTabGrp() && pPor->GetLen() == 0 && in CalcAscent()
798 if ( pPor->GetLen() || !rInf.GetIdx() in CalcAscent()
[all …]
H A Dporexp.cxx60 rPH.Special( GetLen(), aString, GetWhichPor() ); in HandlePortion()
82 const xub_StrLen nFullLen = rInf.GetLen(); in Format()
118 rInf.DrawMarkedText( *this, rInf.GetLen(), sal_False, sal_False, in Paint()
121 rInf.DrawText( *this, rInf.GetLen(), sal_False ); in Paint()
149 if( !pPos || !rInf.GetIdx() || ( !pPos->GetLen() && pPos == rInf.GetRoot() ) ) in MayUnderFlow()
200 rInf.SetIdx( rInf.GetIdx() - GetLen() ); in FormatEOL()
255 rPH.Special( GetLen(), aString, GetWhichPor() ); in HandlePortion()
H A Dporlin.cxx81 return GetLen() || Width() ? this : 0; in Compress()
171 if( GetLen() == rInf.GetLen() ) in CalcTxtSize()
176 aInf.SetLen( GetLen() ); in CalcTxtSize()
287 return GetLen(); in GetCrsrOfst()
392 rInf.SetIdx( rInf.GetIdx() + GetLen() ); in Move()
420 rPH.Special( GetLen(), aString, GetWhichPor() ); in HandlePortion()
H A Dtxthyph.cxx189 if( pCurr->PrtWidth() && pCurr->GetLen() ) in Hyphenate()
214 nWrdStart = nWrdStart + pPos->GetLen(); in Hyphenate()
218 nWrdStart = nWrdStart + pPos->GetLen(); in Hyphenate()
394 SetLen( aInf.GetLen() ); in CreateHyphen()
438 rPH.Special( GetLen(), aString, GetWhichPor() ); in HandlePortion()
481 rPH.Special( GetLen(), aExpand, GetWhichPor() ); in HandlePortion()
622 rInf.SetIdx( rInf.GetIdx() - GetLen() ); in FormatEOL()
668 rPH.Special( GetLen(), aString, nWhich ); in HandlePortion()
H A Dporfld.cxx61 { return (GetLen() || aExpand.Len() || SwLinePortion::Compress()) ? this : 0; } in Compress()
173 nLen = pInf->GetLen(); in SwFldSlot()
313 const xub_StrLen nOldFullLen = rInf.GetLen(); in Format()
363 xub_StrLen nTmpLen = GetLen(); in Format()
440 ASSERT( GetLen() <= 1, "SwFldPortion::Paint: rest-portion pollution?" ); in Paint()
470 rPH.Special( GetLen(), aExpand, GetWhichPor() ); in HandlePortion()
774 aInf.DrawText( *this, aInf.GetLen(), sal_True ); in Paint()
1098 pPor = pPor->GetLen() ? 0 : pPor->GetPortion(); in StopAnimation()
1100 pLine = pLine->GetLen() ? 0 : pLine->GetNext(); in StopAnimation()
1147 ASSERT( GetLen() <= 1, "SwFldPortion::Paint: rest-portion pollution?" ); in Paint()
[all …]
H A Dporlay.cxx256 if( GetLen() ) in Insert()
297 if( GetLen() ) in Format()
410 sal_Bool bTmpDummy = ( 0 == GetLen() ); in CalcLine()
432 SetLen( pPortion->GetLen() ); in CalcLine()
433 if( GetLen() ) in CalcLine()
471 nLineLength = nLineLength + pPos->GetLen(); in CalcLine()
479 … lcl_HasOnlyBlanks( rInf.GetTxt(), nPorSttIdx, nPorSttIdx + pPos->GetLen() ) ) ) in CalcLine()
567 else if( pPos->GetLen() ) in CalcLine()
579 pPos->GetLen() ) in CalcLine()
630 … lcl_HasOnlyBlanks( rInf.GetTxt(), rInf.GetLineStart(), rInf.GetLineStart() + GetLen() ) ) in CalcLine()
[all …]
/trunk/main/sc/source/filter/inc/
H A DXclExpChangeTrack.hxx57 virtual sal_Size GetLen() const;
93 virtual sal_Size GetLen() const;
106 virtual sal_Size GetLen() const;
119 virtual sal_Size GetLen() const;
132 virtual sal_Size GetLen() const;
145 virtual sal_Size GetLen() const;
158 virtual sal_Size GetLen() const;
174 virtual sal_Size GetLen() const;
189 virtual sal_Size GetLen() const;
208 virtual sal_Size GetLen() const;
[all …]
H A Dexcrecds.hxx73 virtual sal_Size GetLen() const = 0;
93 virtual sal_Size GetLen() const;
146 virtual sal_Size GetLen( void ) const;
176 virtual sal_Size GetLen( void ) const;
191 virtual sal_Size GetLen( void ) const;
202 virtual sal_Size GetLen( void ) const;
215 virtual sal_Size GetLen( void ) const;
258 virtual sal_Size GetLen( void ) const;
270 virtual sal_Size GetLen( void ) const;
319 virtual sal_Size GetLen() const;
[all …]
H A Dxcl97rec.hxx183 virtual sal_Size GetLen() const;
244 virtual sal_Size GetLen() const;
282 virtual sal_Size GetLen() const;
294 virtual sal_Size GetLen() const;
309 virtual sal_Size GetLen() const;
362 virtual sal_Size GetLen() const;
391 virtual sal_Size GetLen() const;
423 virtual sal_Size GetLen() const;
441 virtual sal_Size GetLen() const;
459 virtual sal_Size GetLen() const;
H A Dxcl97dum.hxx37 virtual sal_Size GetLen() const;
48 virtual sal_Size GetLen() const;
59 virtual sal_Size GetLen() const;
70 virtual sal_Size GetLen() const;
81 virtual sal_Size GetLen() const;
/trunk/main/editeng/source/editeng/
H A Dimpedit3.cxx675 nPos = nPos + pTP->GetLen(); in CreateLines()
915 if ( nTmpPortion && pPortion->GetLen() ) in CreateLines()
921 nTmpPos = nTmpPos - pPrev->GetLen(); in CreateLines()
922 pPrev->SetLen( pPrev->GetLen() + pPortion->GetLen() ); in CreateLines()
930 … DBG_ASSERT( pPortion->GetLen() || bProcessingEmptyLine, "Leere Portion in CreateLines ?!" ); in CreateLines()
1050 … DBG_ASSERT( pPortion->GetLen() || bProcessingEmptyLine, "Empty Portion - Extra Space?!" ); in CreateLines()
1057 …nt.QuickGetTextSize( GetRefDevice(), *pParaPortion->GetNode(), nTmpPos, pPortion->GetLen(), pBuf ); in CreateLines()
1060 … if ( ( aTmpFont.GetFixKerning() > 0 ) && ( ( nTmpPos + pPortion->GetLen() ) < pNode->Len() ) ) in CreateLines()
1067 sal_uInt16 nLen = pPortion->GetLen(); in CreateLines()
1075 if ( pPortion->GetLen() && GetAsianCompressionMode() ) in CreateLines()
[all …]
/trunk/main/svtools/source/edit/
H A Dtexteng.cxx1010 nCurIndex = nCurIndex + pTmpLine->GetLen(); in GetEditCursor()
1020 nCurIndex = nCurIndex - pLine->GetLen(); in GetEditCursor()
1062 if ( nIndex == ( nTextPortionStart + pPortion->GetLen() ) ) in ImpGetXPos()
1226 if( pTextPortion->GetLen() > 1 ) in GetCharPos()
1241 nCurIndex = nCurIndex + pTextPortion->GetLen(); in GetCharPos()
1364 return pLine->GetLen(); in GetLineLen()
1826 pTP->GetWidth() = (long)CalcTextWidth( nPara, nBreakPos-pTP->GetLen(), pTP->GetLen()-1 ); in ImpBreakLine()
1847 nTmpPos = nTmpPos + pTP->GetLen(); in SplitTextPortion()
1860 pTextPortion->GetLen() = pTextPortion->GetLen() - nOverlapp; in SplitTextPortion()
1863 …on->GetWidth() = (long)CalcTextWidth( nPara, nPos-pTextPortion->GetLen(), pTextPortion->GetLen() ); in SplitTextPortion()
[all …]
/trunk/main/sc/source/filter/excel/
H A Dexcrecds.cxx138 SetRecHeader( GetNum(), GetLen() ); in Save()
165 sal_Size ExcEmptyRec::GetLen() const in GetLen() function in ExcEmptyRec
193 rStrm.Write( GetData(), GetLen() ); // raw write mode in Save()
212 sal_Size ExcBoolRecord::GetLen( void ) const in GetLen() function in ExcBoolRecord
251 sal_Size ExcBof::GetLen( void ) const in GetLen() function in ExcBof
281 sal_Size ExcBofW::GetLen( void ) const in GetLen() function in ExcBofW
296 sal_Size ExcEof::GetLen( void ) const in GetLen() function in ExcEof
305 sal_Size ExcDummy_00::GetLen( void ) const in GetLen() function in ExcDummy_00
320 sal_Size ExcDummy_040::GetLen( void ) const in GetLen() function in ExcDummy_040
334 sal_Size ExcDummy_041::GetLen( void ) const in GetLen() function in ExcDummy_041
[all …]
/trunk/main/sc/source/filter/xcl97/
H A DXclExpChangeTrack.cxx107 sal_Size XclExpUserBView::GetLen() const in GetLen() function in XclExpUserBView
171 sal_Size XclExpUsersViewBegin::GetLen() const in GetLen() function in XclExpUsersViewBegin
188 sal_Size XclExpUsersViewEnd::GetLen() const in GetLen() function in XclExpUsersViewEnd
205 sal_Size XclExpChTr0x0191::GetLen() const in GetLen() function in XclExpChTr0x0191
223 sal_Size XclExpChTr0x0198::GetLen() const in GetLen() function in XclExpChTr0x0198
241 sal_Size XclExpChTr0x0192::GetLen() const in GetLen() function in XclExpChTr0x0192
258 sal_Size XclExpChTr0x0197::GetLen() const in GetLen() function in XclExpChTr0x0197
274 sal_Size XclExpChTrEmpty::GetLen() const in GetLen() function in XclExpChTrEmpty
295 sal_Size XclExpChTr0x0195::GetLen() const in GetLen() function in XclExpChTr0x0195
319 sal_Size XclExpChTr0x0194::GetLen() const in GetLen() function in XclExpChTr0x0194
[all …]
H A Dxcl97dum.cxx97 sal_Size ExcDummy8_00a::GetLen() const in GetLen() function in ExcDummy8_00a
110 sal_Size ExcDummy8_00b::GetLen() const in GetLen() function in ExcDummy8_00b
123 sal_Size ExcDummy8_040::GetLen() const in GetLen() function in ExcDummy8_040
136 sal_Size ExcDummy8_041::GetLen() const in GetLen() function in ExcDummy8_041
149 sal_Size ExcDummy8_02::GetLen() const in GetLen() function in ExcDummy8_02
/trunk/main/slideshow/source/engine/shapes/
H A Dgdimtftools.cxx306 return (pAct->GetLen() == (sal_uInt16)STRING_LEN in getNextActionOffset()
307 ? pAct->GetText().Len() - pAct->GetIndex() : pAct->GetLen()); in getNextActionOffset()
312 return (pAct->GetLen() == (sal_uInt16)STRING_LEN in getNextActionOffset()
313 ? pAct->GetText().Len() - pAct->GetIndex() : pAct->GetLen()); in getNextActionOffset()
318 return (pAct->GetLen() == (sal_uInt16)STRING_LEN in getNextActionOffset()
319 ? pAct->GetText().Len() - pAct->GetIndex() : pAct->GetLen()); in getNextActionOffset()

12345