Home
last modified time | relevance | path

Searched refs:rInf (Results 1 – 25 of 69) sorted by relevance

123

/trunk/main/sw/source/core/txtnode/
H A Dfntcache.cxx1010 if ( rInf.GetFrm() && rInf.SnapToGrid() && rInf.GetFont() && in DrawText()
1100 if ( rInf.GetFrm() && rInf.SnapToGrid() && rInf.GetFont() && in DrawText()
1388 rInf.GetText().GetChar( rInf.GetIdx()+rInf.GetLen()-1 ) ) ) in DrawText()
1439 if( rInf.GetKern() && rInf.GetLen() && nTmpWidth > rInf.GetKern() ) in DrawText()
1816 if (rInf.GetWrong() || rInf.GetGrammarCheck() || rInf.GetSmartTags()) in DrawText()
1919 if ( rInf.GetFrm() && nLn && rInf.SnapToGrid() && rInf.GetFont() && in GetTextSize()
1961 if ( rInf.GetFrm() && nLn && rInf.SnapToGrid() && rInf.GetFont() && in GetTextSize()
2207 if ( rInf.GetFrm() && rInf.GetLen() && rInf.SnapToGrid() && in GetCrsrOfst()
2234 if ( rInf.GetFrm() && rInf.GetLen() && rInf.SnapToGrid() && in GetCrsrOfst()
2501 if ( rInf.GetFrm() && nLn && rInf.SnapToGrid() && rInf.GetFont() && in GetTxtBreak()
[all …]
H A Dswfont.cxx751 ChgFnt( rInf.GetShell(), rInf.GetOut() ); in _GetTxtSize()
816 if (1==rInf.GetLen() && CH_TXT_ATR_FIELDSTART==rInf.GetText().GetChar(rInf.GetIdx())) in _GetTxtSize()
828 else if (1==rInf.GetLen() && CH_TXT_ATR_FIELDEND==rInf.GetText().GetChar(rInf.GetIdx())) in _GetTxtSize()
868 ChgFnt( rInf.GetShell(), rInf.GetOut() ); in _DrawText()
962 rInf.SetIdx( 0 ); in _DrawText()
983 if( !rInf.GetLen() || !rInf.GetText().Len() ) in _DrawStretchText()
997 ChgFnt( rInf.GetShell(), rInf.GetOut() ); in _DrawStretchText()
1028 rInf.GetOut().DrawStretchText( aPos, rInf.GetWidth(), in _DrawStretchText()
1029 rInf.GetText(), rInf.GetIdx(), rInf.GetLen() ); in _DrawStretchText()
1032 rInf.GetText() ), rInf.GetIdx(), rInf.GetLen() ); in _DrawStretchText()
[all …]
H A Dfntcap.cxx177 rInf.SetPos( aPos ); in GetCapitalSize()
178 rInf.SetSpace( 0 ); in GetCapitalSize()
230 *pExtraPos, rInf.GetIdx(), rInf.GetLen(), rInf.GetKern() ); in Do()
236 rInf.GetIdx(), rInf.GetLen(), rInf.GetKern() ); in Do()
314 rInf.SetWidth( sal_uInt16(rInf.GetSize().Width()) ); in Do()
364 rPos.X() = rInf.GetPos().X() + rInf.GetWidth(); in DrawSpace()
421 SwDrawTextInfo aDrawInf( rInf.GetShell(), *rInf.GetpOut(), in Do()
455 SwDoCapitalCrsrOfst aDo( rInf, rInf.GetOfst() ); in GetCapitalCrsrOfst()
520 GetOut().DrawText( aPos, rInf.GetText(), rInf.GetIdx(), in Do()
524 rInf.GetText(), rInf.GetIdx(), rInf.GetLen() ); in Do()
[all …]
/trunk/main/sw/source/core/text/
H A Dportxt.cxx407 rInf.GetLineStart() + rInf.GetLast()->GetLen() < rInf.GetIdx() && in _Format()
458 rInf.GetLast())->MayUnderFlow( rInf, rInf.GetIdx()-1, sal_True ))) in _Format()
479 const XubString aDbgTxt( rInf.GetTxt().Copy( rInf.GetIdx(), rInf.GetLen() ) ); in Format()
492 ASSERT( rInf.RealWidth() || (rInf.X() == rInf.Width()), in Format()
517 rInf.GetIdx() < rInf.GetTxt().Len() && in FormatEOL()
518 1 < rInf.GetIdx() && ' ' == rInf.GetChar( rInf.GetIdx() - 1 ) in FormatEOL()
535 rInf.X( rInf.X() - nBlankSize ); in FormatEOL()
574 … if (rInf.OnWin() && 1==rInf.GetLen() && CH_TXT_ATR_FIELDEND==rInf.GetTxt().GetChar(rInf.GetIdx())) in Paint()
580 …else if (rInf.OnWin() && 1==rInf.GetLen() && CH_TXT_ATR_FIELDSTART==rInf.GetTxt().GetChar(rInf.Get… in Paint()
733 rInf.GetChar( rInf.GetIdx() + rInf.GetLen() - 1 ) == CH_TXT_ATR_INPUTFIELDEND; in Format()
[all …]
H A Ditrform2.cxx433 rInf.GetIdx() <= rInf.GetTxt().Len(), in BuildPortions()
560 if( rInf.IsRuby() && !rInf.GetRest() ) in BuildPortions()
691 rInf.X( rInf.X() + nKernWidth_1 ); in BuildPortions()
726 rInf.GetLast()->FormatEOL( rInf ); in BuildPortions()
964 nExpect = (sal_uInt16)(rInf.GetIdx() + ((rInf.Width() - rInf.X()) / nExpect)); in NewTxtPortion()
1299 cChar = rInf.GetChar( rInf.GetIdx() ); in NewPortion()
1304 if( rInf.GetIdx() >= rInf.GetTxt().Len() ) in NewPortion()
1310 cChar = rInf.GetChar( rInf.GetIdx() ); in NewPortion()
1361 rInf.SetFull( rInf.GetLastTab()->Format( rInf ) ); in NewPortion()
1474 if( pPor->IsPostItsPortion() && rInf.X() >= rInf.Width() && rInf.GetFly() ) in NewPortion()
[all …]
H A Dguess.cxx69 if( !rInf.GetLen() || !rInf.GetTxt().Len() ) in Guess()
72 ASSERT( rInf.GetIdx() < rInf.GetTxt().Len(), in Guess()
91 SwTwips nLineWidth = rInf.Width() - rInf.X(); in Guess()
92 xub_StrLen nMaxLen = rInf.GetTxt().Len() - rInf.GetIdx(); in Guess()
130 rInf.GetTxtSize( &rSI, rInf.GetIdx(), nMaxLen, in Guess()
155 sal_Bool bHyph = rInf.IsHyphenate() && !rInf.IsHyphForbud(); in Guess()
175 rInf.GetTxtSize( &rSI, rInf.GetIdx(), nCutPos - rInf.GetIdx(), in Guess()
268 rInf.GetIdx() > rInf.GetLineStart() && in Guess()
289 rInf.SetIdx( rInf.GetIdx() + nFieldDiff ); in Guess()
412 if ( ! rInf.IsInterHyph() && rInf.GetIdx() ) in Guess()
[all …]
H A Dporfld.cxx304 long nTxtRest = rInf.GetTxt().Len() - rInf.GetIdx(); in Format()
314 …xub_StrLen nFullLen = rInf.ScanPortionEnd( rInf.GetIdx(), rInf.GetIdx() + nOldFullLen ) - rInf.Get… in Format()
324 rInf.SetUnderScorePos( rInf.GetIdx() ); in Format()
344 bFull = rInf.Width() <= rInf.GetPos().X(); in Format()
428 rInf.GetLast()->FormatEOL( rInf ); in Format()
580 rInf.SetNumDone( !rInf.GetRest() ); in Format()
603 nDiff = rInf.Left() - rInf.First() + rInf.ForcedLeftMargin(); in Format()
887 Width( rInf.Width() - (KSHORT)rInf.X() ); in Format()
901 : rInf.Left() - rInf.First() + rInf.ForcedLeftMargin(); in Format()
1350 if( rInf.GetLineStart() == rInf.GetIdx() && (!rInf.GetLast()->InFldGrp() in Format()
[all …]
H A Dporexp.cxx117 if ( rInf.GetSmartTags() || rInf.GetGrammarCheckList() ) in Paint()
118 rInf.DrawMarkedText( *this, rInf.GetLen(), sal_False, sal_False, in Paint()
119 0 != rInf.GetSmartTags(), 0 != rInf.GetGrammarCheckList() ); in Paint()
121 rInf.DrawText( *this, rInf.GetLen(), sal_False ); in Paint()
198 rInf.SetLast( FindPrevPortion( rInf.GetRoot() ) ); in FormatEOL()
199 rInf.X( rInf.X() - PrtWidth() ); in FormatEOL()
200 rInf.SetIdx( rInf.GetIdx() - GetLen() ); in FormatEOL()
205 rInf.SetUnderFlow( rInf.GetLast() ); in FormatEOL()
217 if( bFull && MayUnderFlow( rInf, rInf.GetIdx(), rInf.IsUnderFlow() ) ) in Format()
222 rInf.SetUnderFlow( rInf.GetLast() ); in Format()
[all …]
H A Dtxthyph.cxx345 if( rInf.GetTxt().GetChar( rInf.GetSoftHyphPos() ) == CHAR_SOFTHYPHEN ) in CreateHyphen()
390 ( nPorEnd == rInf.GetIdx() && rInf.GetLineStart() != rInf.GetIdx() ) ) in CreateHyphen()
456 const sal_Bool bFull = rInf.Width() <= rInf.X() + PrtWidth(); in Format()
563 rInf.SetSoftHyphPos( rInf.GetIdx() ); in Format()
570 !aGuess.AlternativeSpelling( rInf, rInf.GetIdx() - 1 ); in Format()
585 rInf.SetSoftHyphPos( rInf.GetIdx() ); in Format()
616 rInf.SetLast( FindPrevPortion( rInf.GetRoot() ) ); in FormatEOL()
621 rInf.X( rInf.X() - PrtWidth() ); in FormatEOL()
622 rInf.SetIdx( rInf.GetIdx() - GetLen() ); in FormatEOL()
630 rInf.X( nOldX ); in FormatEOL()
[all …]
H A Dtxtdrop.cxx95 pInf( ((SwTxtPaintInfo*)&rInf) ), nIdx( rInf.GetIdx() ), in SwDropSave()
96 nLen( rInf.GetLen() ), nX( rInf.X() ), nY( rInf.Y() ) in SwDropSave()
310 ((SwTxtPaintInfo&)rInf).X( rInf.X() + pCurrPart->GetWidth() ); in PaintTxt()
352 if ( rInf.OnWin() ) in PaintDrop()
360 PaintTxt( rInf ); in PaintDrop()
445 ((SwTxtSizeInfo&)rInf).SetLen( rInf.GetLen() - nIdx ); in GetTxtSize()
829 if( rInf.GetVsh() && rInf.GetVsh()->GetWin() ) in CalcFontSize()
1038 Width() + CalcSpacing( rInf.GetSpaceAdd(), rInf ) : in Format()
1045 rInf.SetIdx( rInf.GetIdx() + pCurrPart->GetLen() ); in Format()
1046 rInf.X( rInf.X() + nTmpWidth ); in Format()
[all …]
H A Dtxttab.cxx375 PostFormat( rInf ); in FormatEOL()
405 rInf.GetLast() && rInf.GetLast()->InNumberGrp() && in PreFormat()
423 rInf.Width() <= rInf.X() + PrtWidth(); in PreFormat()
446 bFull = rInf.Width() <= rInf.X() + PrtWidth(); in PreFormat()
452 rInf.GetIdx() + GetLen() == rInf.GetTxt().Len() && in PreFormat()
466 if( rInf.GetIdx() == rInf.GetLineStart() && in PreFormat()
557 rInf.X( rInf.X() + PrtWidth() - nOldWidth ); in PostFormat()
561 rInf.SetLastTab(0); in PostFormat()
565 return rInf.Width() <= rInf.X(); in PostFormat()
578 if( rInf.OnWin() && OPTDBG( rInf ) && in Paint()
[all …]
H A Dporlin.cxx321 if( rInf.X() > rInf.Width() ) in Format()
339 rInf.GetLast()->FormatEOL( rInf ); in Format()
367 SwTwips nTmp = PrtWidth() + CalcSpacing( rInf.GetSpaceAdd(), rInf ); in Move()
369 rInf.Y( rInf.Y() + ( bB2T ? -nTmp : nTmp ) ); in Move()
371 rInf.X( rInf.X() - nTmp ); in Move()
373 rInf.X( rInf.X() + nTmp ); in Move()
383 rInf.Y( rInf.Y() + ( bB2T ? -PrtWidth() : PrtWidth() ) ); in Move()
385 rInf.X( rInf.X() - PrtWidth() ); in Move()
387 rInf.X( rInf.X() + PrtWidth() ); in Move()
390 rInf.IncSpaceIdx(); in Move()
[all …]
H A Dporfly.cxx71 ((SwLinePortion*)rInf.GetLastTab())->FormatEOL( rInf ); in Format()
74 rInf.GetLast()->FormatEOL( rInf ); in Format()
84 rInf.Width( rInf.RealWidth() ); in Format()
88 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()
92 && ( !rInf.GetLast() || !rInf.GetLast()->IsBreakPortion() ) ) in Format()
117 sal_Bool bFull = rInf.Width() < rInf.X() + PrtWidth(); in Format()
134 if( nLeft == rInf.X() && ! rInf.GetFly() ) in Format()
147 rInf.GetLast()->FormatEOL( rInf ); in Format()
[all …]
H A Dporrst.cxx75 if( rInf.OnWin() && rInf.GetOpt().IsParagraph() ) in Paint()
77 SwDefFontSave aSave( rInf ); in Paint()
79 rInf.DrawText( aTmp, *this ); in Paint()
104 if( rInf.OnWin() && rInf.GetOpt().IsLineBreak() ) in Paint()
118 if ( rInf.GetIdx()+1 == rInf.GetTxt().Len() ) in Format()
119 rInf.SetNewLine( sal_True ); in Format()
164 rInf.DrawBackBrush( *this ); in Paint()
191 rInf.SetLast( FindPrevPortion( rInf.GetRoot() ) ); in FormatEOL()
196 rInf.GetLast()->FormatEOL( rInf ); in FormatEOL()
477 (void)rInf; in Paint()
[all …]
H A Dpormulti.cxx257 ((SwTxtSizeInfo &)rInf).SetIdx( rInf.GetIdx() + pPor->GetLen() ); in GetSpaceCnt()
376 rInf.X( rInf.X() + Width() - PostWidth() + in PaintBracket()
394 rInf.X( rInf.X() + PreWidth() ); in PaintBracket()
444 rInf.X( rInf.X() + aSize.Width() ); in FormatBrackets()
503 rInf.SetIdx( rInf.GetIdx() + pPor->GetLen() ); in CalcBlanks()
517 rInf.SetIdx( rInf.GetIdx() + pPor->GetLen() ); in CalcBlanks()
726 rInf.SetIdx( rInf.GetIdx() + pPor->GetLen() ); in _Adjust()
1862 sal_Bool bFirstMulti = rInf.GetIdx() != rInf.GetLineStart(); in BuildMultiPortion()
2071 bRet = ( rInf.GetPos().X() + rMulti.Width() > rInf.Width() ) && in BuildMultiPortion()
2093 if ( rInf.GetIdx() == rInf.GetLineStart() ) in BuildMultiPortion()
[all …]
H A Dtxtftn.cxx860 if( rInf.IsTest() ) in NewFtnPortion()
1000 rInf.GetTxtStart() != rInf.GetIdx() ) in NewFtnNumPortion()
1064 rInf.IsErgoDone() || rInf.GetIdx() != pFrm->GetOfst() || in NewErgoSumPortion()
1131 FeedInf( rInf ); in FormatQuoVadis()
1191 FeedInf( rInf ); in FormatQuoVadis()
1282 if( OPTDBG( rInf ) ) in FormatQuoVadis()
1460 rInf.SetFakeLineStart( rInf.GetIdx() > rInf.GetLineStart() ); in Format()
1467 rInf.SetParaFtn(); in Format()
1527 CheckScript( rInf ); in Format()
1539 Width( sal_uInt16(rInf.Width() - rInf.X()) ); in Format()
[all …]
H A Dtxtfly.cxx476 SwRect aLine( rInf.X() + nLeftMin, nTop, rInf.RealWidth() - rInf.X() in CalcFlyWidth()
533 if( bFullLine && rInf.GetIdx() == rInf.GetTxt().Len() ) in CalcFlyWidth()
585 if( rInf.GetIdx() == rInf.GetTxt().Len() ) in CalcFlyWidth()
723 rInf.SelectFont(); in NewFlyCntPortion()
920 SwRect aRect( rInf.GetPos(), rInf.GetSize() ); in DrawTextOpaque()
1016 Point aPos( rInf.GetPos().X(), rInf.GetPos().Y() + rInf.GetAscent() ); in DrawTextOpaque()
1018 rInf.SetPos( aPos ); in DrawTextOpaque()
1023 rInf.GetFont()->_DrawStretchText( rInf ); in DrawTextOpaque()
1025 rInf.GetFont()->_DrawText( rInf ); in DrawTextOpaque()
1039 rInf.GetFont()->_DrawStretchText( rInf ); in DrawTextOpaque()
[all …]
H A Dinftxt.cxx234 if ( !rInf.GetVsh() ) in ChkOutDev()
246 const xub_StrLen nInfLen = rInf.GetIdx() + rInf.GetLen(); in GetMinLen()
571 : SwTxtSizeInfo( rInf, rTxt ), in SwTxtPaintInfo()
578 aPos( rInf.GetPos() ), in SwTxtPaintInfo()
584 : SwTxtSizeInfo( rInf ), in SwTxtPaintInfo()
591 aPos( rInf.GetPos() ), in SwTxtPaintInfo()
1562 nLineStart = rInf.GetIdx(); in SwTxtFormatInfo()
1563 nLeft = rInf.nLeft; in SwTxtFormatInfo()
1564 nRight = rInf.nRight; in SwTxtFormatInfo()
1565 nFirst = rInf.nLeft; in SwTxtFormatInfo()
[all …]
H A Ditrform2.hxx57 SwLinePortion *NewPortion( SwTxtFormatInfo &rInf );
58 SwTxtPortion *NewTxtPortion( SwTxtFormatInfo &rInf );
59 SwLinePortion *NewExtraPortion( SwTxtFormatInfo &rInf );
65 SwExpandPortion *NewFldPortion( SwTxtFormatInfo &rInf,
68 SwFlyCntPortion *NewFlyCntPortion( SwTxtFormatInfo &rInf,
75 void BuildPortions( SwTxtFormatInfo &rInf );
79 void CalcFlyWidth( SwTxtFormatInfo &rInf );
88 void FeedInf( SwTxtFormatInfo &rInf ) const;
91 SwLinePortion *UnderFlow( SwTxtFormatInfo &rInf );
103 void FormatReset( SwTxtFormatInfo &rInf );
[all …]
H A Dportxt.hxx39 void BreakUnderflow( SwTxtFormatInfo &rInf );
40 sal_Bool _Format( SwTxtFormatInfo &rInf );
45 virtual void Paint( const SwTxtPaintInfo &rInf ) const;
46 virtual sal_Bool Format( SwTxtFormatInfo &rInf );
47 virtual void FormatEOL( SwTxtFormatInfo &rInf );
71 virtual sal_Bool Format( SwTxtFormatInfo &rInf );
72 virtual void Paint( const SwTxtPaintInfo &rInf ) const;
95 virtual sal_Bool Format( SwTxtFormatInfo &rInf );
96 virtual void Paint( const SwTxtPaintInfo &rInf ) const;
111 virtual sal_Bool Format( SwTxtFormatInfo &rInf );
[all …]
H A Dporglue.cxx82 if( GetLen() && rInf.OnWin() && in GetExpTxt()
83 rInf.GetOpt().IsBlank() && rInf.IsNoSymbol() ) in GetExpTxt()
100 if( rInf.GetFont()->IsPaintBlank() ) in Paint()
104 SwTxtPaintInfo aInf( rInf, aTxt ); in Paint()
108 if( rInf.OnWin() && rInf.GetOpt().IsBlank() && rInf.IsNoSymbol() ) in Paint()
111 const xub_Unicode cChar = rInf.GetChar( rInf.GetIdx() ); in Paint()
118 SwPosSize aBulletSize( rInf.GetTxtSize( aBullet ) ); in Paint()
119 Point aPos( rInf.GetPos() ); in Paint()
121 SwTxtPaintInfo aInf( rInf, aBullet ); in Paint()
131 SwTxtSlot aSlot( &rInf, this, true, false ); in Paint()
[all …]
H A Dtxtfld.cxx103 ((SwTxtFormatter*)this)->SeekAndChg( rInf ); in NewFldPortion()
112 ViewShell *pSh = rInf.GetVsh(); in NewFldPortion()
330 pFrm->GetTxtNode()->GetAttr(aSet,rInf.GetIdx(),rInf.GetIdx()+1); in NewFldPortion()
417 rInf.SetLen( 1 ); in NewExtraPortion()
425 pRet = NewFlyCntPortion( rInf, pHint ); in NewExtraPortion()
430 pRet = NewFtnPortion( rInf, pHint ); in NewExtraPortion()
436 pRet = NewFldPortion( rInf, pHint ); in NewExtraPortion()
460 rInf.SetLen( 1 ); in NewExtraPortion()
472 if( rInf.IsNumDone() || rInf.GetTxtStart() != nStart in NewNumberPortion()
473 || rInf.GetTxtStart() != rInf.GetIdx() ) in NewNumberPortion()
[all …]
H A Dporrst.hxx41 virtual void Paint( const SwTxtPaintInfo &rInf ) const;
55 virtual void Paint( const SwTxtPaintInfo &rInf ) const;
56 virtual sal_Bool Format( SwTxtFormatInfo &rInf );
90 virtual void FormatEOL( SwTxtFormatInfo &rInf );
91 virtual void Paint( const SwTxtPaintInfo &rInf ) const;
106 SwArrowPortion( const SwTxtPaintInfo &rInf );
107 virtual void Paint( const SwTxtPaintInfo &rInf ) const;
143 virtual void Paint( const SwTxtPaintInfo &rInf ) const;
144 virtual sal_Bool Format( SwTxtFormatInfo &rInf );
167 virtual void Paint( const SwTxtPaintInfo &rInf ) const;
[all …]
H A Dporfld.hxx70 void CheckScript( const SwTxtSizeInfo &rInf );
78 virtual sal_Bool Format( SwTxtFormatInfo &rInf );
79 virtual void Paint( const SwTxtPaintInfo &rInf ) const;
130 virtual void Paint( const SwTxtPaintInfo &rInf ) const;
160 virtual void Paint( const SwTxtPaintInfo &rInf ) const;
162 virtual sal_Bool Format( SwTxtFormatInfo &rInf );
166 virtual void FormatEOL( SwTxtFormatInfo &rInf );
210 virtual void Paint( const SwTxtPaintInfo &rInf ) const;
211 virtual sal_Bool Format( SwTxtFormatInfo &rInf );
253 virtual void Paint( const SwTxtPaintInfo &rInf ) const;
[all …]
/trunk/main/sw/source/filter/html/
H A Dhtmlnum.hxx45 inline void Set( const SwHTMLNumRuleInfo& rInf );
55 SwHTMLNumRuleInfo( const SwHTMLNumRuleInfo& rInf ) : in SwHTMLNumRuleInfo() argument
56 pNumRule( rInf.pNumRule ), nDeep( rInf.nDeep ), in SwHTMLNumRuleInfo()
57 bRestart( rInf.bRestart ), bNumbered( rInf.bNumbered ) in SwHTMLNumRuleInfo()
59 memcpy( &aNumStarts, &rInf.aNumStarts, sizeof( aNumStarts ) ); in SwHTMLNumRuleInfo()
88 const SwHTMLNumRuleInfo& rInf ) in operator =() argument
90 Set( rInf ); in operator =()
96 pNumRule = rInf.pNumRule; in Set()
97 nDeep = rInf.nDeep; in Set()
98 bRestart = rInf.bRestart; in Set()
[all …]

Completed in 191 milliseconds

123