LibreOffice Module sw (master) 1
|
#include <workctrl.hxx>
Public Member Functions | |
NavElementToolBoxControl (const css::uno::Reference< css::uno::XComponentContext > &rServiceManager) | |
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 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 | statusChanged (const css::frame::FeatureStateEvent &Event) override |
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 |
weld::ComboBox * | GetComboBox () |
![]() | |
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::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 | |
VclPtr< NavElementBox_Impl > | m_xVclBox |
std::unique_ptr< NavElementBox_Base > | m_xWeldBox |
NavElementBox_Base * | m_pBox |
Additional Inherited Members | |
![]() | |
typedef std::unordered_map< OUString, css::uno::Reference< css::frame::XDispatch > > | URLToDispatchMap |
![]() | |
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 |
![]() | |
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 157 of file workctrl.hxx.
|
explicit |
Definition at line 669 of file workctrl.cxx.
References Reference.
|
overridevirtualnoexcept |
Reimplemented from svt::ToolboxController.
Definition at line 687 of file workctrl.cxx.
|
overridevirtual |
Reimplemented from svt::ToolboxController.
Definition at line 755 of file workctrl.cxx.
|
overridevirtual |
Reimplemented from svt::ToolboxController.
Definition at line 768 of file workctrl.cxx.
References VclPtr< class reference_type >::Create(), VclPtr< class reference_type >::get(), VCLUnoHelper::GetInterface(), VCLUnoHelper::GetWindow(), m_pBox, svt::ToolboxController::m_pBuilder, svt::ToolboxController::m_xFrame, m_xVclBox, m_xWeldBox, and weld::Builder::weld_combo_box().
|
overridevirtual |
Reimplemented from svt::ToolboxController.
Definition at line 763 of file workctrl.cxx.
|
overridevirtual |
Reimplemented from svt::ToolboxController.
Definition at line 714 of file workctrl.cxx.
References svt::ToolboxController::dispose(), VclPtr< class reference_type >::disposeAndClear(), m_pBox, m_xVclBox, and m_xWeldBox.
|
overridevirtual |
Reimplemented from svt::ToolboxController.
Definition at line 759 of file workctrl.cxx.
|
overridevirtual |
Reimplemented from svt::ToolboxController.
Definition at line 751 of file workctrl.cxx.
|
inline |
Definition at line 186 of file workctrl.hxx.
References NavElementBox_Base::GetComboBox(), and m_pBox.
Referenced by SwNavigationPI::SwNavigationPI().
|
overridevirtual |
Definition at line 703 of file workctrl.cxx.
|
overridevirtual |
Definition at line 708 of file workctrl.cxx.
|
overridevirtual |
Reimplemented from svt::ToolboxController.
Definition at line 678 of file workctrl.cxx.
References a.
|
overridevirtualnoexcept |
Reimplemented from svt::ToolboxController.
Definition at line 692 of file workctrl.cxx.
|
overridevirtual |
Implements svt::ToolboxController.
Definition at line 725 of file workctrl.cxx.
References FN_SCROLL_NEXT, FN_SCROLL_PREV, GetActiveView(), SfxViewFrame::GetBindings(), SfxViewShell::GetViewFrame(), SfxBindings::Invalidate(), m_pBox, NavElementBox_Base::set_sensitive(), and NavElementBox_Base::UpdateBox().
|
overridevirtual |
Definition at line 698 of file workctrl.cxx.
References ServiceName, and cppu::supportsService().
|
private |
Definition at line 191 of file workctrl.hxx.
Referenced by createItemWindow(), dispose(), GetComboBox(), and statusChanged().
|
private |
Definition at line 189 of file workctrl.hxx.
Referenced by createItemWindow(), and dispose().
|
private |
Definition at line 190 of file workctrl.hxx.
Referenced by createItemWindow(), and dispose().