LibreOffice Module chart2 (master) 1
Public Member Functions | Protected Member Functions | Private Member Functions | Private Attributes | Friends | List of all members
chart::ShapeController Class Reference

This is a CommandDispatch implementation for shapes. More...

#include <ShapeController.hxx>

Inheritance diagram for chart::ShapeController:
[legend]
Collaboration diagram for chart::ShapeController:
[legend]

Public Member Functions

 ShapeController (const css::uno::Reference< css::uno::XComponentContext > &rxContext, ChartController *pController)
 
virtual ~ShapeController () override
 
- Public Member Functions inherited from chart::FeatureCommandDispatchBase
 FeatureCommandDispatchBase (const css::uno::Reference< css::uno::XComponentContext > &rxContext)
 
virtual ~FeatureCommandDispatchBase () override
 
virtual void initialize () override
 
virtual bool isFeatureSupported (const OUString &rCommandURL)
 
- Public Member Functions inherited from chart::CommandDispatch
 CommandDispatch (const css::uno::Reference< css::uno::XComponentContext > &xContext)
 
virtual ~CommandDispatch () override
 
virtual void initialize ()
 
- Public Member Functions inherited from comphelper::WeakComponentImplHelper< typename... Ifc >
virtual void SAL_CALL acquire () noexcept override
 
virtual void SAL_CALL release () noexcept override
 
virtual void SAL_CALL dispose () noexcept final override
 
virtual void SAL_CALL addEventListener (css::uno::Reference< css::lang::XEventListener > const &rxListener) final override
 
virtual void SAL_CALL removeEventListener (css::uno::Reference< css::lang::XEventListener > const &rxListener) final override
 
virtual css::uno::Any SAL_CALL queryInterface (css::uno::Type const &rType) override
 
virtual css::uno::Sequence< css::uno::Type > SAL_CALL getTypes () override
 
virtual css::uno::Sequence< sal_Int8 > SAL_CALL getImplementationId () override
 
- Public Member Functions inherited from comphelper::WeakComponentImplHelperBase
virtual ~WeakComponentImplHelperBase () override
 
virtual void SAL_CALL dispose () override
 
virtual void SAL_CALL addEventListener (css::uno::Reference< css::lang::XEventListener > const &rxListener) override
 
virtual void SAL_CALL removeEventListener (css::uno::Reference< css::lang::XEventListener > const &rxListener) override
 
virtual css::uno::Any SAL_CALL queryInterface (css::uno::Type const &rType) override
 
virtual void disposing (std::unique_lock< std::mutex > &)
 
- Public Member Functions inherited from comphelper::UnoImplBase
virtual ~UnoImplBase ()
 

Protected Member Functions

virtual void disposing (std::unique_lock< std::mutex > &rGuard) override
 is called when this is disposed More...
 
virtual void SAL_CALL disposing (const css::lang::EventObject &Source) override
 
virtual FeatureState getState (const OUString &rCommand) override
 
virtual void execute (const OUString &rCommand, const css::uno::Sequence< css::beans::PropertyValue > &rArgs) override
 
virtual void describeSupportedFeatures () override
 
- Protected Member Functions inherited from chart::FeatureCommandDispatchBase
virtual void SAL_CALL dispatch (const css::util::URL &URL, const css::uno::Sequence< css::beans::PropertyValue > &Arguments) override
 
virtual void fireStatusEvent (const OUString &rURL, const css::uno::Reference< css::frame::XStatusListener > &xSingleListener) override
 sends a status event for a specific command to all registered listeners or only the one given when set. More...
 
virtual FeatureState getState (const OUString &rCommand)=0
 
virtual void execute (const OUString &rCommand, const css::uno::Sequence< css::beans::PropertyValue > &rArgs)=0
 
virtual void describeSupportedFeatures ()=0
 
void implDescribeSupportedFeature (const char *pAsciiCommandURL, ChartCommandID nId, sal_Int16 nGroup)
 describes a feature supported by the controller More...
 
- Protected Member Functions inherited from chart::CommandDispatch
virtual void fireStatusEvent (const OUString &rURL, const css::uno::Reference< css::frame::XStatusListener > &xSingleListener)=0
 sends a status event for a specific command to all registered listeners or only the one given when set. More...
 
void fireAllStatusEvents (const css::uno::Reference< css::frame::XStatusListener > &xSingleListener)
 calls fireStatusEvent( OUString, xSingleListener ) More...
 
void fireStatusEventForURL (const OUString &rURL, const css::uno::Any &rState, bool bEnabled, const css::uno::Reference< css::frame::XStatusListener > &xSingleListener)
 sends a status event for a specific command to all registered listeners or only the one given when set. More...
 
virtual void SAL_CALL dispatch (const css::util::URL &URL, const css::uno::Sequence< css::beans::PropertyValue > &Arguments) override
 
virtual void SAL_CALL addStatusListener (const css::uno::Reference< css::frame::XStatusListener > &Control, const css::util::URL &URL) override
 
virtual void SAL_CALL removeStatusListener (const css::uno::Reference< css::frame::XStatusListener > &Control, const css::util::URL &URL) override
 
virtual void disposing (std::unique_lock< std::mutex > &rGuard) override
 is called when this is disposed More...
 
virtual void SAL_CALL modified (const css::lang::EventObject &aEvent) override
 
virtual void SAL_CALL disposing (const css::lang::EventObject &Source) override
 
- Protected Member Functions inherited from comphelper::WeakComponentImplHelperBase
void throwIfDisposed (std::unique_lock< std::mutex > &)
 

Private Member Functions

 DECL_LINK (CheckNameHdl, AbstractSvxObjectNameDialog &, bool)
 
void executeDispatch_FormatLine ()
 
void executeDispatch_FormatArea ()
 
void executeDispatch_TextAttributes ()
 
void executeDispatch_TransformDialog ()
 
void executeDispatch_ObjectTitleDescription ()
 
void executeDispatch_RenameObject ()
 
void executeDispatch_ChangeZOrder (ChartCommandID nId)
 
void executeDispatch_FontDialog ()
 
void executeDispatch_ParagraphDialog ()
 
SdrObjectgetFirstAdditionalShape ()
 
SdrObjectgetLastAdditionalShape ()
 
bool isBackwardPossible ()
 
bool isForwardPossible ()
 

Private Attributes

ChartControllerm_pChartController
 

Friends

class ControllerCommandDispatch
 

Additional Inherited Members

- Protected Attributes inherited from chart::FeatureCommandDispatchBase
SupportedFeatures m_aSupportedFeatures
 
ChartCommandID m_nFeatureId
 
- Protected Attributes inherited from comphelper::WeakComponentImplHelperBase
comphelper::OInterfaceContainerHelper4< css::lang::XEventListener > maEventListeners
 
- Protected Attributes inherited from comphelper::UnoImplBase
std::mutex m_aMutex
 
bool m_bDisposed
 

Detailed Description

This is a CommandDispatch implementation for shapes.

Definition at line 34 of file ShapeController.hxx.

Constructor & Destructor Documentation

◆ ShapeController()

chart::ShapeController::ShapeController ( const css::uno::Reference< css::uno::XComponentContext > &  rxContext,
ChartController pController 
)

Definition at line 50 of file ShapeController.cxx.

◆ ~ShapeController()

chart::ShapeController::~ShapeController ( )
overridevirtual

Definition at line 57 of file ShapeController.cxx.

Member Function Documentation

◆ DECL_LINK()

chart::ShapeController::DECL_LINK ( CheckNameHdl  ,
AbstractSvxObjectNameDialog ,
bool   
)
private

◆ describeSupportedFeatures()

void chart::ShapeController::describeSupportedFeatures ( )
overrideprotectedvirtual

◆ disposing() [1/2]

virtual void SAL_CALL chart::ShapeController::disposing ( const css::lang::EventObject &  Source)
overrideprotectedvirtual

Reimplemented from chart::CommandDispatch.

◆ disposing() [2/2]

void chart::ShapeController::disposing ( std::unique_lock< std::mutex > &  rGuard)
overrideprotectedvirtual

is called when this is disposed

Reimplemented from chart::CommandDispatch.

Definition at line 62 of file ShapeController.cxx.

◆ execute()

void chart::ShapeController::execute ( const OUString &  rCommand,
const css::uno::Sequence< css::beans::PropertyValue > &  rArgs 
)
overrideprotectedvirtual

◆ executeDispatch_ChangeZOrder()

void chart::ShapeController::executeDispatch_ChangeZOrder ( ChartCommandID  nId)
private

◆ executeDispatch_FontDialog()

void chart::ShapeController::executeDispatch_FontDialog ( )
private

◆ executeDispatch_FormatArea()

void chart::ShapeController::executeDispatch_FormatArea ( )
private

◆ executeDispatch_FormatLine()

void chart::ShapeController::executeDispatch_FormatLine ( )
private

◆ executeDispatch_ObjectTitleDescription()

void chart::ShapeController::executeDispatch_ObjectTitleDescription ( )
private

◆ executeDispatch_ParagraphDialog()

void chart::ShapeController::executeDispatch_ParagraphDialog ( )
private

◆ executeDispatch_RenameObject()

void chart::ShapeController::executeDispatch_RenameObject ( )
private

◆ executeDispatch_TextAttributes()

void chart::ShapeController::executeDispatch_TextAttributes ( )
private

◆ executeDispatch_TransformDialog()

void chart::ShapeController::executeDispatch_TransformDialog ( )
private

◆ getFirstAdditionalShape()

SdrObject * chart::ShapeController::getFirstAdditionalShape ( )
private

◆ getLastAdditionalShape()

SdrObject * chart::ShapeController::getLastAdditionalShape ( )
private

◆ getState()

FeatureState chart::ShapeController::getState ( const OUString &  rCommand)
overrideprotectedvirtual

◆ isBackwardPossible()

bool chart::ShapeController::isBackwardPossible ( )
private

◆ isForwardPossible()

bool chart::ShapeController::isForwardPossible ( )
private

Friends And Related Function Documentation

◆ ControllerCommandDispatch

friend class ControllerCommandDispatch
friend

Definition at line 36 of file ShapeController.hxx.

Member Data Documentation

◆ m_pChartController

ChartController* chart::ShapeController::m_pChartController
private

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