Lines Matching refs:nWinStyle
120 void ImpUpdateSrollBarVis( WinBits nWinStyle );
127 ImpSvMEdit( MultiLineEdit* pSvMultiLineEdit, WinBits nWinStyle );
170 void SetAlign( WinBits nWinStyle );
172 void InitFromStyle( WinBits nWinStyle );
181 ImpSvMEdit::ImpSvMEdit( MultiLineEdit* pEdt, WinBits nWinStyle ) in ImpSvMEdit() argument
190 InitFromStyle( nWinStyle ); in ImpSvMEdit()
194 void ImpSvMEdit::ImpUpdateSrollBarVis( WinBits nWinStyle ) in ImpUpdateSrollBarVis() argument
200 sal_Bool bNeedVScroll = ( nWinStyle & WB_VSCROLL ) == WB_VSCROLL; in ImpUpdateSrollBarVis()
201 const sal_Bool bNeedHScroll = ( nWinStyle & WB_HSCROLL ) == WB_HSCROLL; in ImpUpdateSrollBarVis()
203 const sal_Bool bAutoVScroll = ( nWinStyle & WB_AUTOVSCROLL ) == WB_AUTOVSCROLL; in ImpUpdateSrollBarVis()
261 void ImpSvMEdit::InitFromStyle( WinBits nWinStyle ) in InitFromStyle() argument
263 ImpUpdateSrollBarVis( nWinStyle ); in InitFromStyle()
264 SetAlign( nWinStyle ); in InitFromStyle()
266 if ( nWinStyle & WB_NOHIDESELECTION ) in InitFromStyle()
271 if ( nWinStyle & WB_READONLY ) in InitFromStyle()
276 if ( nWinStyle & WB_IGNORETAB ) in InitFromStyle()
375 void ImpSvMEdit::SetAlign( WinBits nWinStyle ) in SetAlign() argument
380 if ( nWinStyle & WB_CENTER ) in SetAlign()
382 else if ( nWinStyle & WB_RIGHT ) in SetAlign()
384 else if ( nWinStyle & WB_LEFT ) in SetAlign()
451 WinBits nWinStyle( pSvMultiLineEdit->GetStyle() ); in Resize() local
452 if ( ( nWinStyle & WB_AUTOVSCROLL ) == WB_AUTOVSCROLL ) in Resize()
453 ImpUpdateSrollBarVis( nWinStyle ); in Resize()
539 WinBits nWinStyle( pSvMultiLineEdit->GetStyle() ); in SetText() local
540 if ( ( nWinStyle & WB_AUTOVSCROLL ) == WB_AUTOVSCROLL ) in SetText()
541 ImpUpdateSrollBarVis( nWinStyle ); in SetText()
992 MultiLineEdit::MultiLineEdit( Window* pParent, WinBits nWinStyle ) in MultiLineEdit() argument
993 : Edit( pParent, nWinStyle ) in MultiLineEdit()
996 pImpSvMEdit = new ImpSvMEdit( this, nWinStyle ); in MultiLineEdit()
1001 SetStyle( ImplInitStyle( nWinStyle ) ); in MultiLineEdit()
1008 WinBits nWinStyle = rResId.GetWinBits(); in MultiLineEdit() local
1009 pImpSvMEdit = new ImpSvMEdit( this, nWinStyle ); in MultiLineEdit()
1023 SetStyle( ImplInitStyle( nWinStyle ) ); in MultiLineEdit()