Lines Matching refs:_nLength
59 …Layout::GetTextWidth( const XubString& _rText, xub_StrLen _nStartIndex, xub_StrLen _nLength ) const in GetTextWidth()
61 return m_rTargetDevice.GetTextWidth( _rText, _nStartIndex, _nLength ); in GetTextWidth()
66 xub_StrLen _nLength, MetricVector* _pVector, String* _pDisplayText ) in DrawText() argument
68 … m_rTargetDevice.DrawText( _rStartPoint, _rText, _nStartIndex, _nLength, _pVector, _pDisplayText ); in DrawText()
73 xub_StrLen _nStartIndex, xub_StrLen _nLength ) const in GetCaretPositions()
75 return m_rTargetDevice.GetCaretPositions( _rText, _pCaretXArray, _nStartIndex, _nLength ); in GetCaretPositions()
79 … const XubString& _rText, long _nMaxTextWidth, xub_StrLen _nStartIndex, xub_StrLen _nLength ) const in GetTextBreak()
81 return m_rTargetDevice.GetTextBreak( _rText, _nMaxTextWidth, _nStartIndex, _nLength ); in GetTextBreak()
101 …tartPoint, const XubString& _rText, xub_StrLen _nStartIndex, xub_StrLen _nLength, MetricVector* _p…
102 … XubString& _rText, sal_Int32* _pCaretXArray, xub_StrLen _nStartIndex, xub_StrLen _nLength ) const;
103 …const XubString& _rText, long _nMaxTextWidth, xub_StrLen _nStartIndex, xub_StrLen _nLength ) const;
108 … const XubString& _rText, sal_Int32* _pDXAry, xub_StrLen _nStartIndex, xub_StrLen _nLength ) const;
203 xub_StrLen _nLength ) const in GetTextArray()
205 if ( !lcl_normalizeLength( _rText, _nStartIndex, _nLength ) ) in GetTextArray()
209 … long nTextWidth = m_rReferenceDevice.GetTextArray( _rText, _pDXAry, _nStartIndex, _nLength ); in GetTextArray()
219 for ( size_t i=0; i<_nLength; ) in GetTextArray()
222 if ( ++i < _nLength ) in GetTextArray()
233 …Layout::GetTextWidth( const XubString& _rText, xub_StrLen _nStartIndex, xub_StrLen _nLength ) const in GetTextWidth()
235 return GetTextArray( _rText, NULL, _nStartIndex, _nLength ); in GetTextWidth()
239 …tartPoint, const XubString& _rText, xub_StrLen _nStartIndex, xub_StrLen _nLength, MetricVector* _p… 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()
255 sal_Int32* pCharWidths = new sal_Int32[ _nLength ]; in DrawText()
256 long nTextWidth = GetTextArray( _rText, pCharWidths, _nStartIndex, _nLength ); in DrawText()
257 m_rTargetDevice.DrawTextArray( _rStartPoint, _rText, pCharWidths, _nStartIndex, _nLength ); in DrawText()
265 xub_StrLen _nStartIndex, xub_StrLen _nLength ) const in GetCaretPositions()
267 if ( !lcl_normalizeLength( _rText, _nStartIndex, _nLength ) ) in GetCaretPositions()
271 … if ( !m_rReferenceDevice.GetCaretPositions( _rText, _pCaretXArray, _nStartIndex, _nLength ) ) in GetCaretPositions()
278 … const XubString& _rText, long _nMaxTextWidth, xub_StrLen _nStartIndex, xub_StrLen _nLength ) const in GetTextBreak()
280 if ( !lcl_normalizeLength( _rText, _nStartIndex, _nLength ) ) in GetTextBreak()
283 return m_rReferenceDevice.GetTextBreak( _rText, _nMaxTextWidth, _nStartIndex, _nLength ); in GetTextBreak()