Lines Matching refs:aText
121 String aText; member in FontPrevWin_Impl
179 if( aText != aScriptText ) in CheckScript()
210 aScriptText = aText; in _CheckScript()
227 sal_uInt16 nScript = xBreak->getScriptType( aText, 0 ); in _CheckScript()
231 nChg = (xub_StrLen)xBreak->endOfScript( aText, nChg, nScript ); in _CheckScript()
232 if( nChg < aText.Len() ) in _CheckScript()
233 nScript = xBreak->getScriptType( aText, nChg ); in _CheckScript()
240 nChg = (xub_StrLen)xBreak->endOfScript( aText, nChg, nScript ); in _CheckScript()
241 if (nChg < aText.Len() && nChg > 0 && in _CheckScript()
243 xBreak->getScriptType(aText, nChg - 1))) in _CheckScript()
245 int8_t nType = u_charType(aText.GetChar(nChg) ); in _CheckScript()
263 if( nChg < aText.Len() ) in _CheckScript()
264 nScript = xBreak->getScriptType( aText, nChg ); in _CheckScript()
296 nEnd = aText.Len(); in CalcTextSize()
309 sal_uIntPtr nWidth = rFnt.GetTxtSize( _pPrinter, aText, nStart, nEnd-nStart ). in CalcTextSize()
325 if( nEnd < aText.Len() && nIdx < nCnt ) in CalcTextSize()
375 nEnd = aText.Len(); in DrawPrev()
383 rFnt.DrawPrev( pWin, _pPrinter, rPt, aText, nStart, nEnd - nStart ); in DrawPrev()
386 if( nEnd < aText.Len() && nIdx < nCnt ) in DrawPrev()
559 pImpl->aText = rString; in SetPreviewText()
654 pImpl->aText = GetText(); in Paint()
661 pImpl->aText = pSh->GetSelectionText(); in Paint()
663 pImpl->bSelection = pImpl->aText.Len() != 0; in Paint()
669 pImpl->aText = rFont.GetName(); in Paint()
671 pImpl->aText += rCJKFont.GetName(); in Paint()
675 if ( !pImpl->aText.Len() ) in Paint()
676 pImpl->aText = GetText(); in Paint()
680 for ( xub_StrLen i = 0; i < pImpl->aText.Len(); ++i ) in Paint()
682 if ( 0xa == pImpl->aText.GetChar( i ) || in Paint()
683 0xd == pImpl->aText.GetChar( i ) ) in Paint()
684 pImpl->aText.SetChar( i, ' ' ); in Paint()
689 pImpl->aText = GetText(); in Paint()
691 if ( pImpl->aText.Len() > (TEXT_WIDTH-1) ) in Paint()
692 pImpl->aText.Erase( pImpl->aText.Search( sal_Unicode( ' ' ), TEXT_WIDTH ) ); in Paint()