Lines Matching refs:_nStartIndex
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 …tTextLayout::DrawText( const Point& _rStartPoint, const XubString& _rText, xub_StrLen _nStartIndex, 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() argument
75 return m_rTargetDevice.GetCaretPositions( _rText, _pCaretXArray, _nStartIndex, _nLength ); in GetCaretPositions()
79 …etTextBreak( const XubString& _rText, long _nMaxTextWidth, xub_StrLen _nStartIndex, xub_StrLen _nL… in GetTextBreak() argument
81 return m_rTargetDevice.GetTextBreak( _rText, _nMaxTextWidth, _nStartIndex, _nLength ); in GetTextBreak()
101 …wText( const Point& _rStartPoint, const XubString& _rText, xub_StrLen _nStartIndex, xub_StrLen _nL…
102 …itions( const XubString& _rText, sal_Int32* _pCaretXArray, xub_StrLen _nStartIndex, xub_StrLen _nL…
103 …etTextBreak( const XubString& _rText, long _nMaxTextWidth, xub_StrLen _nStartIndex, xub_StrLen _nL…
108 …GetTextArray( const XubString& _rText, sal_Int32* _pDXAry, xub_StrLen _nStartIndex, xub_StrLen _nL…
190 …bool lcl_normalizeLength( const XubString& _rText, const xub_StrLen _nStartIndex, xub_StrLen& _io_… in lcl_normalizeLength() argument
193 if ( _nStartIndex > nTextLength ) in lcl_normalizeLength()
195 if ( _nStartIndex + _io_nLength > nTextLength ) in lcl_normalizeLength()
196 _io_nLength = nTextLength - _nStartIndex; in lcl_normalizeLength()
202 …viceTextLayout::GetTextArray( const XubString& _rText, sal_Int32* _pDXAry, xub_StrLen _nStartIndex, in GetTextArray() argument
205 if ( !lcl_normalizeLength( _rText, _nStartIndex, _nLength ) ) in GetTextArray()
209 … long nTextWidth = m_rReferenceDevice.GetTextArray( _rText, _pDXAry, _nStartIndex, _nLength ); 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 …wText( const Point& _rStartPoint, const XubString& _rText, xub_StrLen _nStartIndex, xub_StrLen _nL… in DrawText() argument
241 if ( !lcl_normalizeLength( _rText, _nStartIndex, _nLength ) ) in DrawText()
247 …ReferenceDevice.GetGlyphBoundRects( _rStartPoint, _rText, _nStartIndex, _nLength, _nStartIndex, aG… 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()
265 xub_StrLen _nStartIndex, xub_StrLen _nLength ) const in GetCaretPositions() argument
267 if ( !lcl_normalizeLength( _rText, _nStartIndex, _nLength ) ) in GetCaretPositions()
271 … if ( !m_rReferenceDevice.GetCaretPositions( _rText, _pCaretXArray, _nStartIndex, _nLength ) ) in GetCaretPositions()
278 …etTextBreak( const XubString& _rText, long _nMaxTextWidth, xub_StrLen _nStartIndex, xub_StrLen _nL… in GetTextBreak() argument
280 if ( !lcl_normalizeLength( _rText, _nStartIndex, _nLength ) ) in GetTextBreak()
283 return m_rReferenceDevice.GetTextBreak( _rText, _nMaxTextWidth, _nStartIndex, _nLength ); in GetTextBreak()