LibreOffice Module basic (master) 1
Public Member Functions | Static Public Member Functions | Private Member Functions | Private Attributes | List of all members
basic::SfxDialogLibrary Class Referencefinal

#include <dlgcont.hxx>

Inheritance diagram for basic::SfxDialogLibrary:
[legend]
Collaboration diagram for basic::SfxDialogLibrary:
[legend]

Public Member Functions

 SfxDialogLibrary (ModifiableHelper &_rModifiable, OUString aName, const css::uno::Reference< css::ucb::XSimpleFileAccess3 > &xSFI, SfxDialogLibraryContainer *pParent)
 
 SfxDialogLibrary (ModifiableHelper &_rModifiable, OUString aName, const css::uno::Reference< css::ucb::XSimpleFileAccess3 > &xSFI, const OUString &aLibInfoFileURL, const OUString &aStorageURL, bool ReadOnly, SfxDialogLibraryContainer *pParent)
 
virtual css::uno::Reference< css::resource::XStringResourceResolver > SAL_CALL getStringResource () override
 
const OUString & getName () const
 
const css::uno::Reference< css::resource::XStringResourcePersistence > & getStringResourcePersistence () const
 
- Public Member Functions inherited from basic::SfxLibrary
 SfxLibrary (ModifiableHelper &_rModifiable, const css::uno::Type &aType, const css::uno::Reference< css::ucb::XSimpleFileAccess3 > &xSFI)
 
 SfxLibrary (ModifiableHelper &_rModifiable, const css::uno::Type &aType, const css::uno::Reference< css::ucb::XSimpleFileAccess3 > &xSFI, OUString aLibInfoFileURL, OUString aStorageURL, bool ReadOnly)
 
virtual css::uno::Any SAL_CALL queryInterface (const css::uno::Type &rType) override
 
virtual void SAL_CALL acquire () noexcept override
 
virtual void SAL_CALL release () noexcept override
 
virtual css::uno::Type SAL_CALL getElementType () override
 
virtual sal_Bool SAL_CALL hasElements () override
 
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 void SAL_CALL replaceByName (const OUString &aName, const css::uno::Any &aElement) override
 
virtual void SAL_CALL insertByName (const OUString &aName, const css::uno::Any &aElement) override
 
virtual void SAL_CALL removeByName (const OUString &Name) override
 
css::uno::Sequence< css::uno::Type > SAL_CALL getTypes () override
 
css::uno::Sequence< sal_Int8 > SAL_CALL getImplementationId () override
 
virtual void SAL_CALL addContainerListener (const css::uno::Reference< css::container::XContainerListener > &xListener) override
 
virtual void SAL_CALL removeContainerListener (const css::uno::Reference< css::container::XContainerListener > &xListener) override
 
virtual void SAL_CALL addChangesListener (const css::uno::Reference< css::util::XChangesListener > &xListener) override
 
virtual void SAL_CALL removeChangesListener (const css::uno::Reference< css::util::XChangesListener > &xListener) override
 
void removeElementWithoutChecks (const OUString &_rElementName, LibraryContainerAccess)
 
- Public Member Functions inherited from comphelper::WeakComponentImplHelper<>
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 ()
 
- Public Member Functions inherited from cppu::ImplHelper1< class Ifc1 >
virtual css::uno::Any SAL_CALL queryInterface (css::uno::Type const &rType) SAL_OVERRIDE
 
virtual css::uno::Sequence< css::uno::Type > SAL_CALL getTypes () SAL_OVERRIDE
 
virtual css::uno::Sequence< sal_Int8 > SAL_CALL getImplementationId () SAL_OVERRIDE
 

Static Public Member Functions

static bool containsValidDialog (const css::uno::Any &aElement)
 

Private Member Functions

virtual bool isModified () override
 
virtual void storeResources () override
 
virtual void storeResourcesAsURL (const OUString &URL, const OUString &NewName) override
 
virtual void storeResourcesToURL (const OUString &URL, const css::uno::Reference< css::task::XInteractionHandler > &xHandler) override
 
virtual void storeResourcesToStorage (const css::uno::Reference< css::embed::XStorage > &xStorage) override
 
virtual bool isLibraryElementValid (const css::uno::Any &rElement) const override
 

Private Attributes

SfxDialogLibraryContainerm_pParent
 
css::uno::Reference< css::resource::XStringResourcePersistence > m_xStringResourcePersistence
 
OUString m_aName
 

Additional Inherited Members

- Protected Member Functions inherited from basic::SfxLibrary
bool implIsModified () const
 
void implSetModified (bool _bIsModified)
 
virtual bool isLoadedStorable ()
 
virtual bool isLibraryElementValid (const css::uno::Any &rElement) const =0
 
- Protected Member Functions inherited from comphelper::WeakComponentImplHelperBase
void throwIfDisposed (std::unique_lock< std::mutex > &)
 
- Protected Member Functions inherited from cppu::ImplHelper1< class Ifc1 >
 ~ImplHelper1 () SAL_NOEXCEPT
 
- Protected Attributes inherited from basic::SfxLibrary
bool mbPasswordProtected
 
- 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

Definition at line 91 of file dlgcont.hxx.

Constructor & Destructor Documentation

◆ SfxDialogLibrary() [1/2]

basic::SfxDialogLibrary::SfxDialogLibrary ( ModifiableHelper _rModifiable,
OUString  aName,
const css::uno::Reference< css::ucb::XSimpleFileAccess3 > &  xSFI,
SfxDialogLibraryContainer pParent 
)

◆ SfxDialogLibrary() [2/2]

basic::SfxDialogLibrary::SfxDialogLibrary ( ModifiableHelper _rModifiable,
OUString  aName,
const css::uno::Reference< css::ucb::XSimpleFileAccess3 > &  xSFI,
const OUString &  aLibInfoFileURL,
const OUString &  aStorageURL,
bool  ReadOnly,
SfxDialogLibraryContainer pParent 
)

References DECLARE_XINTERFACE.

Member Function Documentation

◆ containsValidDialog()

bool basic::SfxDialogLibrary::containsValidDialog ( const css::uno::Any &  aElement)
static

◆ getName()

const OUString & basic::SfxDialogLibrary::getName ( ) const
inline

◆ getStringResource()

Reference< resource::XStringResourceResolver > SAL_CALL basic::SfxDialogLibrary::getStringResource ( )
overridevirtual

◆ getStringResourcePersistence()

const css::uno::Reference< css::resource::XStringResourcePersistence > & basic::SfxDialogLibrary::getStringResourcePersistence ( ) const
inline

◆ isLibraryElementValid()

bool basic::SfxDialogLibrary::isLibraryElementValid ( const css::uno::Any &  rElement) const
overrideprivatevirtual

Implements basic::SfxLibrary.

Definition at line 590 of file dlgcont.cxx.

References containsValidDialog().

◆ isModified()

bool basic::SfxDialogLibrary::isModified ( )
overrideprivatevirtual

Implements basic::SfxLibrary.

Definition at line 514 of file dlgcont.cxx.

References basic::SfxLibrary::implIsModified(), and m_xStringResourcePersistence.

◆ storeResources()

void basic::SfxDialogLibrary::storeResources ( )
overrideprivatevirtual

Implements basic::SfxLibrary.

Definition at line 525 of file dlgcont.cxx.

References m_xStringResourcePersistence.

◆ storeResourcesAsURL()

void basic::SfxDialogLibrary::storeResourcesAsURL ( const OUString &  URL,
const OUString &  NewName 
)
overrideprivatevirtual

Implements basic::SfxLibrary.

Definition at line 531 of file dlgcont.cxx.

References basic::aResourceFileCommentBase, m_aName, m_xStringResourcePersistence, and URL.

◆ storeResourcesToStorage()

void basic::SfxDialogLibrary::storeResourcesToStorage ( const css::uno::Reference< css::embed::XStorage > &  xStorage)
overrideprivatevirtual

◆ storeResourcesToURL()

void basic::SfxDialogLibrary::storeResourcesToURL ( const OUString &  URL,
const css::uno::Reference< css::task::XInteractionHandler > &  xHandler 
)
overrideprivatevirtual

Member Data Documentation

◆ m_aName

OUString basic::SfxDialogLibrary::m_aName
private

◆ m_pParent

SfxDialogLibraryContainer* basic::SfxDialogLibrary::m_pParent
private

Definition at line 94 of file dlgcont.hxx.

Referenced by getStringResource().

◆ m_xStringResourcePersistence

css::uno::Reference< css::resource::XStringResourcePersistence> basic::SfxDialogLibrary::m_xStringResourcePersistence
private

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