LibreOffice Module sd (master) 1
|
This module is responsible for showing the ViewTabBar above the view in the center pane. More...
#include <ViewTabBarModule.hxx>
Public Member Functions | |
ViewTabBarModule (const rtl::Reference<::sd::DrawController > &rxController, const css::uno::Reference< css::drawing::framework::XResourceId > &rxViewTabBarId) | |
Create a new module that controls the view tab bar above the view in the specified pane. More... | |
virtual | ~ViewTabBarModule () override |
virtual void | disposing (std::unique_lock< std::mutex > &) override |
virtual void SAL_CALL | notifyConfigurationChange (const css::drawing::framework::ConfigurationChangeEvent &rEvent) override |
virtual void SAL_CALL | disposing (const css::lang::EventObject &rEvent) override |
![]() | |
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 |
![]() | |
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 > &) |
![]() | |
virtual | ~UnoImplBase () |
Private Member Functions | |
void | UpdateViewTabBar (const css::uno::Reference< css::drawing::framework::XTabBar > &rxTabBar) |
This is the place where the view tab bar is filled. More... | |
Private Attributes | |
css::uno::Reference< css::drawing::framework::XConfigurationController > | mxConfigurationController |
css::uno::Reference< css::drawing::framework::XResourceId > | mxViewTabBarId |
Additional Inherited Members | |
![]() | |
void | throwIfDisposed (std::unique_lock< std::mutex > &) |
![]() | |
comphelper::OInterfaceContainerHelper4< css::lang::XEventListener > | maEventListeners |
![]() | |
std::mutex | m_aMutex |
bool | m_bDisposed |
This module is responsible for showing the ViewTabBar above the view in the center pane.
Definition at line 40 of file ViewTabBarModule.hxx.
sd::framework::ViewTabBarModule::ViewTabBarModule | ( | const rtl::Reference<::sd::DrawController > & | rxController, |
const css::uno::Reference< css::drawing::framework::XResourceId > & | rxViewTabBarId | ||
) |
Create a new module that controls the view tab bar above the view in the specified pane.
rxController | This is the access point to the drawing framework. |
rxViewTabBarId | This ResourceId specifies which tab bar is to be managed by the new module. |
Definition at line 49 of file ViewTabBarModule.cxx.
References Any, sd::framework::FrameworkHelper::msResourceActivationEvent, sd::framework::FrameworkHelper::msResourceActivationRequestEvent, sd::framework::FrameworkHelper::msResourceDeactivationRequestEvent, mxConfigurationController, and UpdateViewTabBar().
|
overridevirtual |
Definition at line 77 of file ViewTabBarModule.cxx.
|
overridevirtual |
|
overridevirtual |
Reimplemented from comphelper::WeakComponentImplHelperBase.
Definition at line 81 of file ViewTabBarModule.cxx.
References mxConfigurationController.
|
overridevirtual |
Definition at line 90 of file ViewTabBarModule.cxx.
References mxConfigurationController, mxViewTabBarId, and UpdateViewTabBar().
|
private |
This is the place where the view tab bar is filled.
Only missing buttons are added, so it is safe to call this method multiple times.
Definition at line 136 of file ViewTabBarModule.cxx.
References sd::framework::FrameworkHelper::CreateResourceId(), sd::framework::FrameworkHelper::msImpressViewURL, sd::framework::FrameworkHelper::msNotesViewURL, sd::framework::FrameworkHelper::msOutlineViewURL, mxConfigurationController, mxViewTabBarId, and SdResId().
Referenced by notifyConfigurationChange(), and ViewTabBarModule().
|
private |
Definition at line 72 of file ViewTabBarModule.hxx.
Referenced by disposing(), notifyConfigurationChange(), UpdateViewTabBar(), and ViewTabBarModule().
|
private |
Definition at line 73 of file ViewTabBarModule.hxx.
Referenced by notifyConfigurationChange(), and UpdateViewTabBar().