LibreOffice Module sw (master)  1
Public Types | Public Member Functions | Private Attributes | List of all members
PrevNextScrollToolboxController Class Reference
Inheritance diagram for PrevNextScrollToolboxController:
[legend]
Collaboration diagram for PrevNextScrollToolboxController:
[legend]

Public Types

enum  Type {
  PREVIOUS,
  NEXT
}
 

Public Member Functions

 PrevNextScrollToolboxController (const css::uno::Reference< css::uno::XComponentContext > &rxContext, Type eType)
 
virtual css::uno::Any SAL_CALL queryInterface (const css::uno::Type &aType) override
 
virtual void SAL_CALL acquire () override throw ()
 
virtual void SAL_CALL release () override throw ()
 
virtual OUString SAL_CALL getImplementationName () override
 
virtual sal_Bool SAL_CALL supportsService (const OUString &ServiceName) override
 
virtual css::uno::Sequence< OUString > SAL_CALL getSupportedServiceNames () override
 
virtual void SAL_CALL dispose () override
 
virtual void SAL_CALL execute (sal_Int16) override
 
virtual void SAL_CALL click () override
 
virtual void SAL_CALL statusChanged (const css::frame::FeatureStateEvent &rEvent) override
 
- Public Member Functions inherited from svt::ToolboxController
 ToolboxController (const css::uno::Reference< css::uno::XComponentContext > &rxContext, const css::uno::Reference< css::frame::XFrame > &xFrame, const OUString &aCommandURL)
 
 ToolboxController ()
 
virtual ~ToolboxController () override
 
css::uno::Reference< css::frame::XFrame > getFrameInterface () const
 
const css::uno::Reference< css::uno::XComponentContext > & getContext () const
 
css::uno::Reference< css::frame::XLayoutManager > getLayoutManager () const
 
void updateStatus (const OUString &aCommandURL)
 
void updateStatus ()
 
virtual css::uno::Sequence< css::uno::Type > SAL_CALL getTypes () 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 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 doubleClick () override
 
virtual css::uno::Reference< css::awt::XWindow > SAL_CALL createPopupWindow () override
 
virtual css::uno::Reference< css::awt::XWindow > SAL_CALL createItemWindow (const css::uno::Reference< css::awt::XWindow > &Parent) override
 
virtual void SAL_CALL setFastPropertyValue_NoBroadcast (sal_Int32 nHandle, const css::uno::Any &rValue) override
 
virtual sal_Bool SAL_CALL convertFastPropertyValue (css::uno::Any &rConvertedValue, css::uno::Any &rOldValue, sal_Int32 nHandle, const css::uno::Any &rValue) override
 
virtual css::uno::Reference< css::beans::XPropertySetInfo > SAL_CALL getPropertySetInfo () override
 
virtual ::cppu::IPropertyArrayHelper &SAL_CALL getInfoHelper () override
 
virtual ::cppu::IPropertyArrayHelpercreateArrayHelper () const override
 
const OUString & getCommandURL () const
 
const OUString & getModuleName () const
 
void dispatchCommand (const OUString &sCommandURL, const css::uno::Sequence< css::beans::PropertyValue > &rArgs, const OUString &rTarget=OUString())
 
void enable (bool bEnable)
 

Private Attributes

Type const meType
 

Additional Inherited Members

- Protected Types inherited from svt::ToolboxController
typedef std::unordered_map< OUString, css::uno::Reference< css::frame::XDispatch > > URLToDispatchMap
 
- Protected Member Functions inherited from svt::ToolboxController
bool getToolboxId (sal_uInt16 &rItemId, ToolBox **ppToolBox)
 
 DECL_STATIC_LINK (ToolboxController, ExecuteHdl_Impl, void *, void)
 
void addStatusListener (const OUString &aCommandURL)
 
void removeStatusListener (const OUString &aCommandURL)
 
void bindListener ()
 
void unbindListener ()
 
bool isBound () const
 
const css::uno::Reference< css::util::XURLTransformer > & getURLTransformer () const
 
const css::uno::Reference< css::awt::XWindow > & getParent () const
 
- Protected Attributes inherited from svt::ToolboxController
bool m_bInitialized
 
bool m_bDisposed
 
sal_uInt16 m_nToolBoxId
 
css::uno::Reference< css::frame::XFrame > m_xFrame
 
css::uno::Reference< css::uno::XComponentContext > m_xContext
 
OUString m_aCommandURL
 
URLToDispatchMap m_aListenerMap
 
::cppu::OMultiTypeInterfaceContainerHelper m_aListenerContainer
 
css::uno::Reference< css::awt::XWindow > m_xParentWindow
 
css::uno::Reference< css::util::XURLTransformer > m_xUrlTransformer
 
OUString m_sModuleName
 

Detailed Description

Definition at line 964 of file workctrl.cxx.

Member Enumeration Documentation

Enumerator
PREVIOUS 
NEXT 

Definition at line 968 of file workctrl.cxx.

Constructor & Destructor Documentation

PrevNextScrollToolboxController::PrevNextScrollToolboxController ( const css::uno::Reference< css::uno::XComponentContext > &  rxContext,
Type  eType 
)

Member Function Documentation

void SAL_CALL PrevNextScrollToolboxController::acquire ( )
throw (
)
overridevirtual

Reimplemented from svt::ToolboxController.

Definition at line 1015 of file workctrl.cxx.

void SAL_CALL PrevNextScrollToolboxController::click ( )
overridevirtual
void SAL_CALL PrevNextScrollToolboxController::dispose ( void  )
overridevirtual

Reimplemented from svt::ToolboxController.

Definition at line 1044 of file workctrl.cxx.

References svt::ToolboxController::dispose().

void SAL_CALL PrevNextScrollToolboxController::execute ( sal_Int16  )
overridevirtual

Reimplemented from svt::ToolboxController.

Definition at line 1052 of file workctrl.cxx.

OUString SAL_CALL PrevNextScrollToolboxController::getImplementationName ( )
overridevirtual

Definition at line 1026 of file workctrl.cxx.

References meType, and PREVIOUS.

css::uno::Sequence< OUString > SAL_CALL PrevNextScrollToolboxController::getSupportedServiceNames ( )
overridevirtual

Definition at line 1038 of file workctrl.cxx.

css::uno::Any SAL_CALL PrevNextScrollToolboxController::queryInterface ( const css::uno::Type &  aType)
overridevirtual

Reimplemented from svt::ToolboxController.

Definition at line 1006 of file workctrl.cxx.

void SAL_CALL PrevNextScrollToolboxController::release ( )
throw (
)
overridevirtual

Reimplemented from svt::ToolboxController.

Definition at line 1020 of file workctrl.cxx.

void SAL_CALL PrevNextScrollToolboxController::statusChanged ( const css::frame::FeatureStateEvent &  rEvent)
overridevirtual
sal_Bool SAL_CALL PrevNextScrollToolboxController::supportsService ( const OUString &  ServiceName)
overridevirtual

Definition at line 1033 of file workctrl.cxx.

References cppu::supportsService().

Member Data Documentation

Type const PrevNextScrollToolboxController::meType
private

Definition at line 993 of file workctrl.cxx.

Referenced by getImplementationName(), and statusChanged().


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