Lines Matching refs:mpTextWindow
109 TextWindow* mpTextWindow; member in ImpSvMEdit
174 TextWindow* GetTextWindow() { return mpTextWindow; } in GetTextWindow()
188 mpTextWindow = new TextWindow( pEdt ); in ImpSvMEdit()
189 mpTextWindow->Show(); in ImpSvMEdit()
191 StartListening( *mpTextWindow->GetTextEngine() ); in ImpSvMEdit()
206 TextEngine& rEngine( *mpTextWindow->GetTextEngine() ); in ImpUpdateSrollBarVis()
210 if ( nOverallTextHeight > (sal_uLong)mpTextWindow->GetOutputSizePixel().Height() ) in ImpUpdateSrollBarVis()
267 mpTextWindow->SetAutoFocusHide( sal_False ); in InitFromStyle()
269 mpTextWindow->SetAutoFocusHide( sal_True ); in InitFromStyle()
272 mpTextWindow->GetTextView()->SetReadOnly( sal_True ); in InitFromStyle()
274 mpTextWindow->GetTextView()->SetReadOnly( sal_False ); in InitFromStyle()
278 mpTextWindow->SetIgnoreTab( sal_True ); in InitFromStyle()
282 mpTextWindow->SetIgnoreTab( sal_False ); in InitFromStyle()
284 WinBits nStyle = mpTextWindow->GetStyle(); in InitFromStyle()
286 mpTextWindow->SetStyle( nStyle ); in InitFromStyle()
292 EndListening( *mpTextWindow->GetTextEngine() ); in ~ImpSvMEdit()
293 delete mpTextWindow; in ~ImpSvMEdit()
303 sal_uLong nTextHeight = mpTextWindow->GetTextEngine()->GetTextHeight(); in ImpSetScrollBarRanges()
323 aCharBox.Width() = mpTextWindow->GetTextWidth( sampleText ); in ImpInitScrollBars()
324 aCharBox.Height() = mpTextWindow->GetTextHeight(); in ImpInitScrollBars()
325 Size aOutSz = mpTextWindow->GetOutputSizePixel(); in ImpInitScrollBars()
338 mpVScrollBar->SetThumbPos( mpTextWindow->GetTextView()->GetStartDocPos().Y() ); in ImpInitScrollBars()
345 long nX = mpTextWindow->GetTextView()->GetStartDocPos().X(); in ImpSetHScrollBarThumbPos()
346 if ( !mpTextWindow->GetTextEngine()->IsRightToLeft() ) in ImpSetHScrollBarThumbPos()
358 nDiffY = mpTextWindow->GetTextView()->GetStartDocPos().Y() - pCurScrollBar->GetThumbPos(); in IMPL_LINK()
360 nDiffX = mpTextWindow->GetTextView()->GetStartDocPos().X() - pCurScrollBar->GetThumbPos(); in IMPL_LINK()
362 mpTextWindow->GetTextView()->Scroll( nDiffX, nDiffY ); in IMPL_LINK()
378 mpTextWindow->GetTextEngine()->SetRightToLeft( bRTL ); in SetAlign()
381 mpTextWindow->GetTextEngine()->SetTextAlign( TXTALIGN_CENTER ); in SetAlign()
383 mpTextWindow->GetTextEngine()->SetTextAlign( !bRTL ? TXTALIGN_RIGHT : TXTALIGN_LEFT ); in SetAlign()
385 mpTextWindow->GetTextEngine()->SetTextAlign( !bRTL ? TXTALIGN_LEFT : TXTALIGN_RIGHT ); in SetAlign()
396 mpTextWindow->GetTextEngine()->SetModified( bMod ); in SetModified()
401 return mpTextWindow->GetTextEngine()->IsModified(); in IsModified()
406 mpTextWindow->GetTextView()->SetInsertMode( bInsert ); in SetInsertMode()
411 mpTextWindow->GetTextView()->SetReadOnly( bRdOnly ); in SetReadOnly()
417 return mpTextWindow->GetTextView()->IsReadOnly(); in IsReadOnly()
422 mpTextWindow->GetTextEngine()->SetMaxTextLen( nLen ); in SetMaxTextLen()
428 mpTextWindow->GetTextEngine()->GetMaxTextLen()); in GetMaxTextLen()
433 mpTextWindow->GetTextView()->InsertText( rStr ); in InsertText()
438 return mpTextWindow->GetTextView()->GetSelected(); in GetSelected()
443 return mpTextWindow->GetTextView()->GetSelected( aSeparator ); in GetSelected()
466 mpTextWindow->GetTextEngine()->SetMaxTextWidth( aSz.Width() ); in Resize()
493 Size aOldTextWindowSize( mpTextWindow->GetSizePixel() ); in Resize()
494 mpTextWindow->SetPosSizePixel( aTextWindowPos, aTextWindowSize ); in Resize()
510 mpTextWindow->GrabFocus(); in GetFocus()
515 if ( !mpTextWindow->GetTextView()->IsReadOnly() ) in Cut()
516 mpTextWindow->GetTextView()->Cut(); in Cut()
521 mpTextWindow->GetTextView()->Copy(); in Copy()
526 if ( !mpTextWindow->GetTextView()->IsReadOnly() ) in Paste()
527 mpTextWindow->GetTextView()->Paste(); in Paste()
532 sal_Bool bWasModified = mpTextWindow->GetTextEngine()->IsModified(); in SetText()
533 mpTextWindow->GetTextEngine()->SetText( rStr ); in SetText()
535 mpTextWindow->GetTextEngine()->SetModified( sal_False ); in SetText()
537 mpTextWindow->GetTextView()->SetSelection( TextSelection() ); in SetText()
546 return mpTextWindow->GetTextEngine()->GetText(); in GetText()
551 return mpTextWindow->GetTextEngine()->GetText( aSeparator ); in GetText()
556 return mpTextWindow->GetTextEngine()->GetTextLines(); in GetTextLines()
561 return mpTextWindow->GetTextEngine()->GetTextLines( aSeparator ); in GetTextLines()
574 mpVScrollBar->SetThumbPos( mpTextWindow->GetTextView()->GetStartDocPos().Y() ); in Notify()
578 if ( mpTextWindow->GetTextView()->GetStartDocPos().Y() ) in Notify()
580 long nOutHeight = mpTextWindow->GetOutputSizePixel().Height(); in Notify()
581 long nTextHeight = mpTextWindow->GetTextEngine()->GetTextHeight(); in Notify()
583 mpTextWindow->GetTextView()->Scroll( 0, mpTextWindow->GetTextView()->GetStartDocPos().Y() ); in Notify()
592 sal_uLong nWidth = mpTextWindow->GetTextEngine()->CalcTextWidth(); in Notify()
610 String aText = mpTextWindow->GetTextEngine()->GetText(); in SetSelection()
643 mpTextWindow->GetTextView()->SetSelection( aTextSel ); in SetSelection()
649 TextSelection aTextSel( mpTextWindow->GetTextView()->GetSelection() ); in GetSelection()
653 ExtTextEngine* pExtTextEngine = mpTextWindow->GetTextEngine(); in GetSelection()
679 Size aSz( mpTextWindow->GetTextEngine()->CalcTextWidth(), in CalcMinimumSize()
680 mpTextWindow->GetTextEngine()->GetTextHeight() ); in CalcMinimumSize()
696 aCharSz.Width() = mpTextWindow->GetTextWidth( sampleText ); in CalcSize()
697 aCharSz.Height() = mpTextWindow->GetTextHeight(); in CalcSize()
702 aSz.Height() = mpTextWindow->GetTextEngine()->GetTextHeight(); in CalcSize()
707 aSz.Width() = mpTextWindow->GetTextEngine()->CalcTextWidth(); in CalcSize()
720 Size aOutSz = mpTextWindow->GetOutputSizePixel(); in GetMaxVisColumnsAndLines()
721 Size aCharSz( mpTextWindow->GetTextWidth( sampleText ), mpTextWindow->GetTextHeight() ); in GetMaxVisColumnsAndLines()
728 mpTextWindow->Enable( bEnable ); in Enable()
742 mpTextWindow->HandleScrollCommand( rCEvt, mpHScrollBar, mpVScrollBar ); in HandleCommand()