LibreOffice Module reportdesign (master) 1
Public Member Functions | Private Member Functions | Private Attributes | List of all members
rptui::OStatusbarController Class Reference

#include <statusbarcontroller.hxx>

Inheritance diagram for rptui::OStatusbarController:
[legend]
Collaboration diagram for rptui::OStatusbarController:
[legend]

Public Member Functions

 OStatusbarController (const css::uno::Reference< css::uno::XComponentContext > &_rxORB)
 
- 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
 
- Public Member Functions inherited from cppu::ImplHelper1< class Ifc1 >
virtual css::uno::Any SAL_CALL queryInterface (css::uno::Type const &rType) SAL_OVERRIDE
 
virtual css::uno::Sequence< css::uno::Type > SAL_CALL getTypes () SAL_OVERRIDE
 
virtual css::uno::Sequence< sal_Int8 > SAL_CALL getImplementationId () SAL_OVERRIDE
 

Private Member Functions

void SAL_CALL dispose () override
 
virtual OUString SAL_CALL getImplementationName () override
 
virtual css::uno::Sequence< OUString > SAL_CALL getSupportedServiceNames () override
 
virtual sal_Bool SAL_CALL supportsService (const OUString &ServiceName) 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 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

css::uno::Reference< css::frame::XStatusbarController > m_rController
 
sal_uInt16 m_nSlotId
 
sal_uInt16 m_nId
 

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 Member Functions inherited from cppu::ImplHelper1< class Ifc1 >
 ~ImplHelper1 () SAL_NOEXCEPT
 
- 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 31 of file statusbarcontroller.hxx.

Constructor & Destructor Documentation

◆ OStatusbarController()

rptui::OStatusbarController::OStatusbarController ( const css::uno::Reference< css::uno::XComponentContext > &  _rxORB)

Definition at line 63 of file statusbarcontroller.cxx.

Member Function Documentation

◆ click()

void SAL_CALL rptui::OStatusbarController::click ( const css::awt::Point &  aPos)
overrideprivatevirtual

Reimplemented from svt::StatusbarController.

Definition at line 182 of file statusbarcontroller.cxx.

References m_rController.

◆ command()

void SAL_CALL rptui::OStatusbarController::command ( const css::awt::Point &  aPos,
::sal_Int32  nCommand,
sal_Bool  bMouseEvent,
const css::uno::Any &  aData 
)
overrideprivatevirtual

Reimplemented from svt::StatusbarController.

Definition at line 163 of file statusbarcontroller.cxx.

References aData, and m_rController.

◆ dispose()

void SAL_CALL rptui::OStatusbarController::dispose ( void  )
overrideprivatevirtual

Reimplemented from svt::StatusbarController.

Definition at line 204 of file statusbarcontroller.cxx.

References svt::StatusbarController::dispose(), and m_rController.

◆ doubleClick()

void SAL_CALL rptui::OStatusbarController::doubleClick ( const css::awt::Point &  aPos)
overrideprivatevirtual

Reimplemented from svt::StatusbarController.

Definition at line 189 of file statusbarcontroller.cxx.

References m_rController.

◆ getImplementationName()

OUString SAL_CALL rptui::OStatusbarController::getImplementationName ( )
overrideprivatevirtual

Definition at line 46 of file statusbarcontroller.cxx.

◆ getSupportedServiceNames()

Sequence< OUString > SAL_CALL rptui::OStatusbarController::getSupportedServiceNames ( )
overrideprivatevirtual

Definition at line 56 of file statusbarcontroller.cxx.

◆ initialize()

void SAL_CALL rptui::OStatusbarController::initialize ( const css::uno::Sequence< css::uno::Any > &  aArguments)
overrideprivatevirtual

◆ mouseButtonDown()

sal_Bool SAL_CALL rptui::OStatusbarController::mouseButtonDown ( const css::awt::MouseEvent &  aMouseEvent)
overrideprivatevirtual

Reimplemented from svt::StatusbarController.

Definition at line 148 of file statusbarcontroller.cxx.

References m_rController.

◆ mouseButtonUp()

sal_Bool SAL_CALL rptui::OStatusbarController::mouseButtonUp ( const css::awt::MouseEvent &  aMouseEvent)
overrideprivatevirtual

Reimplemented from svt::StatusbarController.

Definition at line 158 of file statusbarcontroller.cxx.

References m_rController.

◆ mouseMove()

sal_Bool SAL_CALL rptui::OStatusbarController::mouseMove ( const css::awt::MouseEvent &  aMouseEvent)
overrideprivatevirtual

Reimplemented from svt::StatusbarController.

Definition at line 153 of file statusbarcontroller.cxx.

References m_rController.

◆ paint()

void SAL_CALL rptui::OStatusbarController::paint ( const css::uno::Reference< css::awt::XGraphics > &  xGraphics,
const css::awt::Rectangle &  rOutputRectangle,
::sal_Int32  nStyle 
)
overrideprivatevirtual

Reimplemented from svt::StatusbarController.

Definition at line 173 of file statusbarcontroller.cxx.

References m_rController.

◆ statusChanged()

void SAL_CALL rptui::OStatusbarController::statusChanged ( const css::frame::FeatureStateEvent &  Event)
overrideprivatevirtual

◆ supportsService()

sal_Bool SAL_CALL rptui::OStatusbarController::supportsService ( const OUString &  ServiceName)
overrideprivatevirtual

Definition at line 51 of file statusbarcontroller.cxx.

References ServiceName, and cppu::supportsService().

◆ update()

void SAL_CALL rptui::OStatusbarController::update ( )
overrideprivatevirtual

Reimplemented from svt::StatusbarController.

Definition at line 196 of file statusbarcontroller.cxx.

References m_rController, and svt::StatusbarController::update().

Referenced by initialize().

Member Data Documentation

◆ m_nId

sal_uInt16 rptui::OStatusbarController::m_nId
private

Definition at line 36 of file statusbarcontroller.hxx.

Referenced by initialize().

◆ m_nSlotId

sal_uInt16 rptui::OStatusbarController::m_nSlotId
private

Definition at line 35 of file statusbarcontroller.hxx.

Referenced by initialize(), and statusChanged().

◆ m_rController

css::uno::Reference< css::frame::XStatusbarController > rptui::OStatusbarController::m_rController
private

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