29#include <osl/mutex.hxx>
30#include <com/sun/star/container/XChild.hpp>
31#include <com/sun/star/container/XNameContainer.hpp>
32#include <com/sun/star/container/XContainer.hpp>
33#include <com/sun/star/container/XEnumerationAccess.hpp>
34#include <com/sun/star/container/XIndexAccess.hpp>
35#include <com/sun/star/lang/XServiceInfo.hpp>
42typedef ::cppu::WeakImplHelper<
43 css::container::XIndexAccess
44 , css::container::XNameContainer
45 , css::container::XEnumerationAccess
46 , css::container::XContainer
47 , css::lang::XServiceInfo
48 , css::container::XChild
81 virtual void SAL_CALL
acquire( ) noexcept override;
82 virtual
void SAL_CALL
release( ) noexcept override;
94 virtual css::
uno::Reference< css::container::XEnumeration > SAL_CALL
createEnumeration( ) override;
97 virtual sal_Int32 SAL_CALL
getCount( ) override;
98 virtual css::
uno::Any SAL_CALL
getByIndex( sal_Int32 _nIndex ) override;
101 virtual
void SAL_CALL
insertByName( const OUString& _rName, const css::
uno::Any& aElement ) override;
102 virtual
void SAL_CALL
removeByName( const OUString& _rName ) override;
105 virtual
void SAL_CALL
replaceByName( const OUString& _rName, const css::
uno::Any& aElement ) override;
108 virtual css::
uno::Any SAL_CALL
getByName( const OUString& aName ) override;
113 virtual
void SAL_CALL
addContainerListener( const css::
uno::Reference< css::container::XContainerListener >& xListener ) override;
114 virtual
void SAL_CALL
removeContainerListener( const css::
uno::Reference< css::container::XContainerListener >& xListener ) override;
129 const OUString& _rName,
130 const OUString& _rDocumentLocation
136 const OUString& _rName,
137 const OUString& _rNewLink);
virtual css::uno::Any SAL_CALL getByIndex(sal_Int32 _nIndex) override
virtual sal_Bool SAL_CALL supportsService(const OUString &ServiceName) override
virtual sal_Bool SAL_CALL hasByName(const OUString &aName) override
virtual void SAL_CALL replaceByName(const OUString &_rName, const css::uno::Any &aElement) override
::cppu::OWeakObject & m_rParent
bool checkExistence(const OUString &_rName)
quickly checks if there already is an element with a given name.
void implAppend(const OUString &_rName, const OUString &_rDocumentLocation)
virtual sal_Bool SAL_CALL hasElements() override
::comphelper::OInterfaceContainerHelper3< css::container::XContainerListener > m_aContainerListeners
void implReplace(const OUString &_rName, const OUString &_rNewLink)
virtual void SAL_CALL removeByName(const OUString &_rName) override
MapIteratorVector m_aBookmarksIndexed
virtual css::uno::Sequence< OUString > SAL_CALL getElementNames() override
std::vector< MapString2String::iterator > MapIteratorVector
virtual void SAL_CALL setParent(const css::uno::Reference< css::uno::XInterface > &Parent) override
virtual css::uno::Type SAL_CALL getElementType() override
std::map< OUString, OUString > MapString2String
virtual OUString SAL_CALL getImplementationName() override
MapString2String m_aBookmarks
virtual css::uno::Any SAL_CALL getByName(const OUString &aName) override
virtual void SAL_CALL release() noexcept override
virtual void SAL_CALL removeContainerListener(const css::uno::Reference< css::container::XContainerListener > &xListener) override
virtual css::uno::Reference< css::container::XEnumeration > SAL_CALL createEnumeration() override
void implRemove(const OUString &_rName)
virtual void SAL_CALL addContainerListener(const css::uno::Reference< css::container::XContainerListener > &xListener) override
virtual void SAL_CALL acquire() noexcept override
virtual sal_Int32 SAL_CALL getCount() override
virtual css::uno::Sequence< OUString > SAL_CALL getSupportedServiceNames() override
virtual void SAL_CALL insertByName(const OUString &_rName, const css::uno::Any &aElement) override
OBookmarkContainer(::cppu::OWeakObject &_rParent, ::osl::Mutex &_rMutex)
constructs the container.
virtual ~OBookmarkContainer() override
looks like the dtor ...
virtual css::uno::Reference< css::uno::XInterface > SAL_CALL getParent() override
::cppu::WeakImplHelper< css::container::XIndexAccess, css::container::XNameContainer, css::container::XEnumerationAccess, css::container::XContainer, css::lang::XServiceInfo, css::container::XChild > OBookmarkContainer_Base