Lines Matching refs:aCloser
687 DecoToolBox aCloser; member in MenuBarWindow
5236 aCloser( this ), in MenuBarWindow()
5257 aCloser.maImage = Image( aBitmap ); in MenuBarWindow()
5258 aCloser.maImageHC = Image( aBitmapHC ); in MenuBarWindow()
5260 aCloser.SetOutStyle( TOOLBOX_STYLE_FLAT ); in MenuBarWindow()
5261 aCloser.SetBackground(); in MenuBarWindow()
5262 aCloser.SetPaintTransparent( sal_True ); in MenuBarWindow()
5263 aCloser.SetParentClipMode( PARENTCLIPMODE_NOCLIP ); in MenuBarWindow()
5265 aCloser.InsertItem( IID_DOCUMENTCLOSE, in MenuBarWindow()
5266 … GetSettings().GetStyleSettings().GetHighContrastMode() ? aCloser.maImageHC : aCloser.maImage, 0 ); in MenuBarWindow()
5267 aCloser.SetSelectHdl( LINK( this, MenuBarWindow, CloserHdl ) ); in MenuBarWindow()
5268 aCloser.AddEventListener( LINK( this, MenuBarWindow, ToolboxEventHdl ) ); in MenuBarWindow()
5269 …aCloser.SetQuickHelpText( IID_DOCUMENTCLOSE, XubString( ResId( SV_HELPTEXT_CLOSEDOCUMENT, *pResMgr… in MenuBarWindow()
5287 aCloser.RemoveEventListener( LINK( this, MenuBarWindow, ToolboxEventHdl ) ); in ~MenuBarWindow()
5299 aCloser.ShowItem( IID_DOCUMENTCLOSE, pMen->HasCloser() ); in SetMenu()
5300 aCloser.Show( pMen->HasCloser() || !m_aAddButtons.empty() ); in SetMenu()
5318 aCloser.ShowItem( IID_DOCUMENTCLOSE, bClose ); in ShowButtons()
5319 aCloser.Show( bClose || ! m_aAddButtons.empty() ); in ShowButtons()
5327 return aCloser.getMinSize(); in MinCloseButtonSize()
5335 if( aCloser.GetCurItemId() == IID_DOCUMENTCLOSE ) in IMPL_LINK()
5344 … std::map<sal_uInt16,AddButtonEntry>::iterator it = m_aAddButtons.find( aCloser.GetCurItemId() ); in IMPL_LINK()
5349 aArg.bHighlight = (aCloser.GetHighlightItemId() == it->first); in IMPL_LINK()
5367 aArg.nId = aCloser.GetHighlightItemId(); in IMPL_LINK()
5371 aArg.nId = aCloser.GetItemId( nPos ); in IMPL_LINK()
5942 if ( aCloser.IsVisible() ) in Resize()
5944 aCloser.Hide(); in Resize()
5945 aCloser.SetImages( n ); in Resize()
5946 Size aTbxSize( aCloser.CalcWindowSizePixel() ); in Resize()
5949 aCloser.SetPosSizePixel( nX, nTbxY, aTbxSize.Width(), aTbxSize.Height() ); in Resize()
5951 aCloser.Show(); in Resize()
6112 aCloser.InsertItem( nId, i_rImage, 0, 0 ); in AddMenuBarButton()
6113 aCloser.calcMinSize(); in AddMenuBarButton()
6114 ShowButtons( aCloser.IsItemVisible( IID_DOCUMENTCLOSE ), in AddMenuBarButton()
6149 aRect = aCloser.GetItemRect( nId ); in GetMenuBarButtonRectPixel()
6150 Point aOffset = aCloser.OutputToScreenPixel( Point() ); in GetMenuBarButtonRectPixel()
6159 sal_uInt16 nPos = aCloser.GetItemPos( nId ); in RemoveMenuBarButton()
6160 aCloser.RemoveItem( nPos ); in RemoveMenuBarButton()
6162 aCloser.calcMinSize(); in RemoveMenuBarButton()