LibreOffice Module framework (master) 1
|
#include <generictoolbarcontroller.hxx>
Public Member Functions | |
ImageOrientationController (const css::uno::Reference< css::uno::XComponentContext > &rContext, const css::uno::Reference< css::frame::XFrame > &rFrame, const css::uno::Reference< css::awt::XWindow > &rParentWindow, const OUString &rModuleName) | |
void SAL_CALL | dispose () override |
void SAL_CALL | statusChanged (const css::frame::FeatureStateEvent &rEvent) override |
DECL_LINK (WindowEventListener, VclWindowEvent &, void) | |
Public Member Functions inherited from svt::ToolboxController | |
ToolboxController (const css::uno::Reference< css::uno::XComponentContext > &rxContext, const css::uno::Reference< css::frame::XFrame > &xFrame, 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::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 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 | 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=0 |
virtual void SAL_CALL | execute (sal_Int16 KeyModifier) override |
virtual void SAL_CALL | click () 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::IPropertyArrayHelper * | createArrayHelper () 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) |
bool | IsInSidebar () const |
Private Attributes | |
Degree10 | m_nRotationAngle |
bool | m_bMirrored |
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 (ToolBoxItemId &rItemId, ToolBox **ppToolBox) |
DECL_DLLPRIVATE_STATIC_LINK (ToolboxController, ExecuteHdl_Impl, void *, void) | |
void | addStatusListener (const OUString &aCommandURL) |
void | removeStatusListener (const OUString &aCommandURL) |
void | bindListener () |
void | unbindListener () |
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 |
bool | m_bSidebar |
ToolBoxItemId | m_nToolBoxId |
css::uno::Reference< css::frame::XFrame > | m_xFrame |
css::uno::Reference< css::uno::XComponentContext > | m_xContext |
OUString | m_aCommandURL |
URLToDispatchMap | m_aListenerMap |
comphelper::OMultiTypeInterfaceContainerHelper2 | m_aListenerContainer |
css::uno::Reference< css::awt::XWindow > | m_xParentWindow |
css::uno::Reference< css::util::XURLTransformer > | m_xUrlTransformer |
OUString | m_sModuleName |
weld::Toolbar * | m_pToolbar |
weld::Builder * | m_pBuilder |
Definition at line 70 of file generictoolbarcontroller.hxx.
framework::ImageOrientationController::ImageOrientationController | ( | const css::uno::Reference< css::uno::XComponentContext > & | rContext, |
const css::uno::Reference< css::frame::XFrame > & | rFrame, | ||
const css::uno::Reference< css::awt::XWindow > & | rParentWindow, | ||
const OUString & | rModuleName | ||
) |
Definition at line 339 of file generictoolbarcontroller.cxx.
References vcl::Window::AddEventListener(), svt::ToolboxController::getParent(), VCLUnoHelper::GetWindow(), svt::ToolboxController::initialize(), LINK, svt::ToolboxController::m_pToolbar, svt::ToolboxController::m_sModuleName, and svt::ToolboxController::m_xParentWindow.
framework::ImageOrientationController::DECL_LINK | ( | WindowEventListener | , |
VclWindowEvent & | , | ||
void | |||
) |
|
overridevirtual |
Reimplemented from svt::ToolboxController.
Definition at line 354 of file generictoolbarcontroller.cxx.
References svt::ToolboxController::getParent(), VCLUnoHelper::GetWindow(), and LINK.
|
overridevirtual |
Implements svt::ToolboxController.
Definition at line 377 of file generictoolbarcontroller.cxx.
References aCommand, weld::Toolbar::get_icon_size(), weld::Toolbar::get_item_ident(), weld::Toolbar::get_n_items(), vcl::CommandInfoProvider::GetImageForCommand(), ToolBox::GetImageSize(), ToolBox::GetItemCommand(), ToolBox::GetItemCount(), ToolBox::GetItemId(), svt::ToolboxController::getModuleName(), svt::ToolboxController::getParent(), SfxImageItem::GetRotation(), VCLUnoHelper::GetWindow(), vcl::CommandInfoProvider::GetXGraphicForCommand(), i, SfxImageItem::IsMirrored(), vcl::CommandInfoProvider::IsMirrored(), vcl::CommandInfoProvider::IsRotated(), svt::ToolboxController::m_bDisposed, m_bMirrored, m_nRotationAngle, svt::ToolboxController::m_pToolbar, svt::ToolboxController::m_xFrame, nCount, SfxImageItem::PutValue(), weld::Toolbar::set_item_image(), weld::Toolbar::set_item_image_mirrored(), ToolBox::SetItemImage(), ToolBox::SetItemImageAngle(), and ToolBox::SetItemImageMirrorMode().
|
private |
Definition at line 87 of file generictoolbarcontroller.hxx.
Referenced by statusChanged().
|
private |
Definition at line 86 of file generictoolbarcontroller.hxx.
Referenced by statusChanged().