LibreOffice Module framework (master) 1
|
#include <uicommanddescription.hxx>
Public Types | |
typedef std::unordered_map< OUString, OUString > | ModuleToCommandFileMap |
typedef std::unordered_map< OUString, css::uno::Reference< css::container::XNameAccess > > | UICommandsHashMap |
Public Member Functions | |
UICommandDescription (const css::uno::Reference< css::uno::XComponentContext > &rxContext) | |
virtual | ~UICommandDescription () override |
virtual OUString SAL_CALL | getImplementationName () override |
virtual sal_Bool SAL_CALL | supportsService (OUString const &ServiceName) override |
virtual css::uno::Sequence< OUString > SAL_CALL | getSupportedServiceNames () override |
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 | |
UICommandDescription (const css::uno::Reference< css::uno::XComponentContext > &rxContext, bool) | |
void | impl_fillElements (const char *_pName) |
void | ensureGenericUICommandsForLanguage (const LanguageTag &rLanguage) |
Protected Member Functions inherited from comphelper::WeakComponentImplHelperBase | |
void | throwIfDisposed (std::unique_lock< std::mutex > &) |
Protected Attributes | |
OUString | m_aPrivateResourceURL |
css::uno::Reference< css::uno::XComponentContext > | m_xContext |
ModuleToCommandFileMap | m_aModuleToCommandFileMap |
std::map< LanguageTag, UICommandsHashMap > | m_aUICommandsHashMap |
std::map< LanguageTag, css::uno::Reference< css::container::XNameAccess > > | m_xGenericUICommands |
css::uno::Reference< css::frame::XModuleManager2 > | m_xModuleManager |
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 |
Private Member Functions | |
virtual css::uno::Any SAL_CALL | getByName (const OUString &aName) override |
virtual css::uno::Sequence< OUString > SAL_CALL | getElementNames () override |
virtual sal_Bool SAL_CALL | hasByName (const OUString &aName) override |
virtual css::uno::Type SAL_CALL | getElementType () override |
virtual sal_Bool SAL_CALL | hasElements () override |
Definition at line 39 of file uicommanddescription.hxx.
typedef std::unordered_map< OUString, OUString > framework::UICommandDescription::ModuleToCommandFileMap |
Definition at line 75 of file uicommanddescription.hxx.
typedef std::unordered_map< OUString, css::uno::Reference< css::container::XNameAccess > > framework::UICommandDescription::UICommandsHashMap |
Definition at line 78 of file uicommanddescription.hxx.
framework::UICommandDescription::UICommandDescription | ( | const css::uno::Reference< css::uno::XComponentContext > & | rxContext | ) |
|
overridevirtual |
Definition at line 597 of file uicommanddescription.cxx.
References m_aModuleToCommandFileMap, comphelper::UnoImplBase::m_aMutex, m_aUICommandsHashMap, and m_xGenericUICommands.
|
protected |
|
protected |
Definition at line 564 of file uicommanddescription.cxx.
References m_xContext, m_xGenericUICommands, and u.
Referenced by getByName().
|
overrideprivatevirtual |
Definition at line 639 of file uicommanddescription.cxx.
References a, aName, Any, ensureGenericUICommandsForLanguage(), SvtSysLocale::GetUILanguageTag(), impl_fillElements(), m_aModuleToCommandFileMap, comphelper::UnoImplBase::m_aMutex, m_aPrivateResourceURL, m_aUICommandsHashMap, m_xContext, and m_xGenericUICommands.
|
overrideprivatevirtual |
Definition at line 688 of file uicommanddescription.cxx.
References m_aModuleToCommandFileMap, comphelper::UnoImplBase::m_aMutex, and comphelper::mapKeysToSequence().
|
overrideprivatevirtual |
Definition at line 704 of file uicommanddescription.cxx.
References cppu::UnoType< typename T >::get().
|
inlineoverridevirtual |
Definition at line 45 of file uicommanddescription.hxx.
|
inlineoverridevirtual |
Definition at line 55 of file uicommanddescription.hxx.
References aSeq.
|
overrideprivatevirtual |
Definition at line 695 of file uicommanddescription.cxx.
References aName, m_aModuleToCommandFileMap, and comphelper::UnoImplBase::m_aMutex.
|
overrideprivatevirtual |
Definition at line 709 of file uicommanddescription.cxx.
|
protected |
Definition at line 604 of file uicommanddescription.cxx.
References aSeq, SvtSysLocale::GetUILanguageTag(), m_aModuleToCommandFileMap, m_aUICommandsHashMap, m_xContext, and m_xModuleManager.
Referenced by getByName().
|
inlineoverridevirtual |
Definition at line 50 of file uicommanddescription.hxx.
References ServiceName, and cppu::supportsService().
|
protected |
Definition at line 87 of file uicommanddescription.hxx.
Referenced by getByName(), getElementNames(), hasByName(), impl_fillElements(), and ~UICommandDescription().
|
protected |
Definition at line 85 of file uicommanddescription.hxx.
Referenced by getByName().
|
protected |
Definition at line 88 of file uicommanddescription.hxx.
Referenced by getByName(), impl_fillElements(), and ~UICommandDescription().
|
protected |
Definition at line 86 of file uicommanddescription.hxx.
Referenced by getByName(), and impl_fillElements().
|
protected |
Definition at line 89 of file uicommanddescription.hxx.
Referenced by getByName(), and ~UICommandDescription().
|
protected |
Definition at line 90 of file uicommanddescription.hxx.
Referenced by impl_fillElements().