LibreOffice Module framework (master) 1
Public Member Functions | Private Attributes | List of all members
framework::GenericStatusbarController Class Referencefinal

#include <genericstatusbarcontroller.hxx>

Inheritance diagram for framework::GenericStatusbarController:
[legend]
Collaboration diagram for framework::GenericStatusbarController:
[legend]

Public Member Functions

 GenericStatusbarController (const css::uno::Reference< css::uno::XComponentContext > &rxContext, const css::uno::Reference< css::frame::XFrame > &rFrame, const css::uno::Reference< css::ui::XStatusbarItem > &rxItem, AddonStatusbarItemData *pItemData)
 
virtual ~GenericStatusbarController () override
 
virtual void SAL_CALL dispose () override
 
virtual void SAL_CALL statusChanged (const css::frame::FeatureStateEvent &Event) override
 
virtual void SAL_CALL paint (const css::uno::Reference< css::awt::XGraphics > &xGraphics, const css::awt::Rectangle &rOutputRectangle, ::sal_Int32 nStyle) override
 
- Public Member Functions inherited from svt::StatusbarController
 StatusbarController (const css::uno::Reference< css::uno::XComponentContext > &rxContext, const css::uno::Reference< css::frame::XFrame > &xFrame, OUString aCommandURL, unsigned short nID)
 
 StatusbarController ()
 
virtual ~StatusbarController () override
 
css::uno::Reference< css::frame::XFrame > getFrameInterface () const
 
css::uno::Reference< css::util::XURLTransformer > getURLTransformer () const
 
::tools::Rectangle getControlRect () const
 
virtual css::uno::Any SAL_CALL queryInterface (const css::uno::Type &aType) override
 
virtual void SAL_CALL acquire () noexcept override
 
virtual void SAL_CALL release () noexcept override
 
virtual void SAL_CALL initialize (const css::uno::Sequence< css::uno::Any > &aArguments) override
 
virtual void SAL_CALL update () override
 
virtual void SAL_CALL dispose () override
 
virtual void SAL_CALL addEventListener (const css::uno::Reference< css::lang::XEventListener > &xListener) override
 
virtual void SAL_CALL removeEventListener (const css::uno::Reference< css::lang::XEventListener > &aListener) override
 
virtual void SAL_CALL disposing (const css::lang::EventObject &Source) override
 
virtual void SAL_CALL statusChanged (const css::frame::FeatureStateEvent &Event) override
 
virtual sal_Bool SAL_CALL mouseButtonDown (const css::awt::MouseEvent &aMouseEvent) override
 
virtual sal_Bool SAL_CALL mouseMove (const css::awt::MouseEvent &aMouseEvent) override
 
virtual sal_Bool SAL_CALL mouseButtonUp (const css::awt::MouseEvent &aMouseEvent) override
 
virtual void SAL_CALL command (const css::awt::Point &aPos, ::sal_Int32 nCommand, sal_Bool bMouseEvent, const css::uno::Any &aData) override
 
virtual void SAL_CALL paint (const css::uno::Reference< css::awt::XGraphics > &xGraphics, const css::awt::Rectangle &rOutputRectangle, ::sal_Int32 nStyle) override
 
virtual void SAL_CALL click (const css::awt::Point &aPos) override
 
virtual void SAL_CALL doubleClick (const css::awt::Point &aPos) override
 

Private Attributes

bool m_bEnabled
 
bool m_bOwnerDraw
 
AddonStatusbarItemDatam_pItemData
 
css::uno::Reference< css::graphic::XGraphic > m_xGraphic
 

Additional Inherited Members

- Protected Types inherited from svt::StatusbarController
typedef std::unordered_map< OUString, css::uno::Reference< css::frame::XDispatch > > URLToDispatchMap
 
- Protected Member Functions inherited from svt::StatusbarController
void addStatusListener (const OUString &aCommandURL)
 
void bindListener ()
 
void execute (const css::uno::Sequence< css::beans::PropertyValue > &aArgs)
 
void execute (const OUString &aCommand, const css::uno::Sequence< css::beans::PropertyValue > &aArgs)
 
- Protected Attributes inherited from svt::StatusbarController
bool m_bInitialized
 
bool m_bDisposed
 
unsigned short m_nID
 
css::uno::Reference< css::frame::XFrame > m_xFrame
 
css::uno::Reference< css::awt::XWindow > m_xParentWindow
 
css::uno::Reference< css::uno::XComponentContext > m_xContext
 
OUString m_aCommandURL
 
URLToDispatchMap m_aListenerMap
 
comphelper::OMultiTypeInterfaceContainerHelper2 m_aListenerContainer
 
css::uno::Reference< css::util::XURLTransformer > m_xURLTransformer
 
css::uno::Reference< css::ui::XStatusbarItem > m_xStatusbarItem
 

Detailed Description

Definition at line 30 of file genericstatusbarcontroller.hxx.

Constructor & Destructor Documentation

◆ GenericStatusbarController()

framework::GenericStatusbarController::GenericStatusbarController ( const css::uno::Reference< css::uno::XComponentContext > &  rxContext,
const css::uno::Reference< css::frame::XFrame > &  rFrame,
const css::uno::Reference< css::ui::XStatusbarItem > &  rxItem,
AddonStatusbarItemData pItemData 
)

◆ ~GenericStatusbarController()

framework::GenericStatusbarController::~GenericStatusbarController ( )
overridevirtual

Definition at line 64 of file genericstatusbarcontroller.cxx.

Member Function Documentation

◆ dispose()

void SAL_CALL framework::GenericStatusbarController::dispose ( void  )
overridevirtual

◆ paint()

void SAL_CALL framework::GenericStatusbarController::paint ( const css::uno::Reference< css::awt::XGraphics > &  xGraphics,
const css::awt::Rectangle &  rOutputRectangle,
::sal_Int32  nStyle 
)
overridevirtual

◆ statusChanged()

void SAL_CALL framework::GenericStatusbarController::statusChanged ( const css::frame::FeatureStateEvent &  Event)
overridevirtual

Member Data Documentation

◆ m_bEnabled

bool framework::GenericStatusbarController::m_bEnabled
private

Definition at line 49 of file genericstatusbarcontroller.hxx.

Referenced by paint(), and statusChanged().

◆ m_bOwnerDraw

bool framework::GenericStatusbarController::m_bOwnerDraw
private

Definition at line 50 of file genericstatusbarcontroller.hxx.

Referenced by GenericStatusbarController(), and statusChanged().

◆ m_pItemData

AddonStatusbarItemData* framework::GenericStatusbarController::m_pItemData
private

Definition at line 51 of file genericstatusbarcontroller.hxx.

Referenced by dispose(), and GenericStatusbarController().

◆ m_xGraphic

css::uno::Reference< css::graphic::XGraphic > framework::GenericStatusbarController::m_xGraphic
private

Definition at line 52 of file genericstatusbarcontroller.hxx.

Referenced by dispose(), paint(), and statusChanged().


The documentation for this class was generated from the following files: