Lines Matching refs:_rText
59 …long DefaultTextLayout::GetTextWidth( const XubString& _rText, xub_StrLen _nStartIndex, xub_StrLen… in GetTextWidth() argument
61 return m_rTargetDevice.GetTextWidth( _rText, _nStartIndex, _nLength ); in GetTextWidth()
65 …void DefaultTextLayout::DrawText( const Point& _rStartPoint, const XubString& _rText, xub_StrLen _… in DrawText() argument
68 … m_rTargetDevice.DrawText( _rStartPoint, _rText, _nStartIndex, _nLength, _pVector, _pDisplayText ); in DrawText()
72 bool DefaultTextLayout::GetCaretPositions( const XubString& _rText, sal_Int32* _pCaretXArray, in GetCaretPositions() argument
75 return m_rTargetDevice.GetCaretPositions( _rText, _pCaretXArray, _nStartIndex, _nLength ); in GetCaretPositions()
79 …xub_StrLen DefaultTextLayout::GetTextBreak( const XubString& _rText, long _nMaxTextWidth, xub_StrL… in GetTextBreak() argument
81 return m_rTargetDevice.GetTextBreak( _rText, _nMaxTextWidth, _nStartIndex, _nLength ); in GetTextBreak()
101 …virtual void DrawText( const Point& _rStartPoint, const XubString& _rText, xub_StrLen _nSta…
102 …virtual bool GetCaretPositions( const XubString& _rText, sal_Int32* _pCaretXArray, xub_StrL…
103 …virtual xub_StrLen GetTextBreak( const XubString& _rText, long _nMaxTextWidth, xub_StrLen _nStart…
108 …long GetTextArray( const XubString& _rText, sal_Int32* _pDXAry, xub_StrLen _nStartIndex, xu…
109 …Rectangle DrawText( const Rectangle& _rRect, const XubString& _rText, sal_uInt16 _nStyle, Metric…
190 …bool lcl_normalizeLength( const XubString& _rText, const xub_StrLen _nStartIndex, xub_StrLen& _io_… in lcl_normalizeLength() argument
192 xub_StrLen nTextLength = _rText.Len(); in lcl_normalizeLength()
202 …long ReferenceDeviceTextLayout::GetTextArray( const XubString& _rText, sal_Int32* _pDXAry, xub_Str… in GetTextArray() argument
205 if ( !lcl_normalizeLength( _rText, _nStartIndex, _nLength ) ) in GetTextArray()
209 … long nTextWidth = m_rReferenceDevice.GetTextArray( _rText, _pDXAry, _nStartIndex, _nLength ); in GetTextArray()
215 aTrace.append( ::rtl::OUStringToOString( _rText, RTL_TEXTENCODING_UTF8 ) ); in GetTextArray()
233 …long ReferenceDeviceTextLayout::GetTextWidth( const XubString& _rText, xub_StrLen _nStartIndex, xu… in GetTextWidth() argument
235 return GetTextArray( _rText, NULL, _nStartIndex, _nLength ); in GetTextWidth()
239 …void ReferenceDeviceTextLayout::DrawText( const Point& _rStartPoint, const XubString& _rText, xub_… in DrawText() argument
241 if ( !lcl_normalizeLength( _rText, _nStartIndex, _nLength ) ) in DrawText()
247 …m_rReferenceDevice.GetGlyphBoundRects( _rStartPoint, _rText, _nStartIndex, _nLength, _nStartIndex,… in DrawText()
251 _pDisplayText->Append( _rText.Copy( _nStartIndex, _nLength ) ); in DrawText()
256 long nTextWidth = GetTextArray( _rText, pCharWidths, _nStartIndex, _nLength ); in DrawText()
257 m_rTargetDevice.DrawTextArray( _rStartPoint, _rText, pCharWidths, _nStartIndex, _nLength ); in DrawText()
264 …bool ReferenceDeviceTextLayout::GetCaretPositions( const XubString& _rText, sal_Int32* _pCaretXArr… in GetCaretPositions() argument
267 if ( !lcl_normalizeLength( _rText, _nStartIndex, _nLength ) ) in GetCaretPositions()
271 … if ( !m_rReferenceDevice.GetCaretPositions( _rText, _pCaretXArray, _nStartIndex, _nLength ) ) in GetCaretPositions()
278 …xub_StrLen ReferenceDeviceTextLayout::GetTextBreak( const XubString& _rText, long _nMaxTextWidth, … in GetTextBreak() argument
280 if ( !lcl_normalizeLength( _rText, _nStartIndex, _nLength ) ) in GetTextBreak()
283 return m_rReferenceDevice.GetTextBreak( _rText, _nMaxTextWidth, _nStartIndex, _nLength ); in GetTextBreak()
309 …Rectangle ReferenceDeviceTextLayout::DrawText( const Rectangle& _rRect, const XubString& _rText, s… in DrawText() argument
311 if ( !_rText.Len() ) in DrawText()
327 m_rTargetDevice.DrawText( aRect, _rText, _nStyle, _pVector, _pDisplayText, this ); in DrawText()
338 aTextRect = m_rTargetDevice.GetTextRect( aRect, _rText, _nStyle, NULL, this ); in DrawText()
375 …Rectangle ControlTextRenderer::DrawText( const Rectangle& _rRect, const XubString& _rText, sal_uIn… in DrawText() argument
378 return m_pImpl->DrawText( _rRect, _rText, _nStyle, _pVector, _pDisplayText ); in DrawText()