19#ifndef INCLUDED_SW_SOURCE_UI_VBA_VBABOOKMARKS_HXX
20#define INCLUDED_SW_SOURCE_UI_VBA_VBABOOKMARKS_HXX
23#include <ooo/vba/word/XBookmarks.hpp>
24#include <com/sun/star/container/XIndexAccess.hpp>
25#include <com/sun/star/text/XBookmarksSupplier.hpp>
26#include <com/sun/star/text/XTextRange.hpp>
33 css::uno::Reference< css::frame::XModel >
mxModel;
41 SwVbaBookmarks(
const css::uno::Reference< ov::XHelperInterface >& xParent,
const css::uno::Reference< css::uno::XComponentContext > & xContext,
const css::uno::Reference< css::container::XIndexAccess >& xBookmarks, css::uno::Reference< css::frame::XModel > xModel );
44 static void addBookmarkByName(
const css::uno::Reference< css::frame::XModel >& xModel,
const OUString& rName,
const css::uno::Reference< css::text::XTextRange >& rTextRange );
47 virtual css::uno::Reference< css::container::XEnumeration > SAL_CALL
createEnumeration()
override;
60 virtual css::uno::Any SAL_CALL
Add(
const OUString& rName,
const css::uno::Any& rRange )
override;
61 virtual sal_Bool SAL_CALL
Exists(
const OUString& rName )
override;
SwVbaBookmarks(const css::uno::Reference< ov::XHelperInterface > &xParent, const css::uno::Reference< css::uno::XComponentContext > &xContext, const css::uno::Reference< css::container::XIndexAccess > &xBookmarks, css::uno::Reference< css::frame::XModel > xModel)
virtual css::uno::Reference< css::container::XEnumeration > SAL_CALL createEnumeration() override
virtual sal_Bool SAL_CALL getShowHidden() override
void removeBookmarkByName(const OUString &rName)
virtual sal_Int32 SAL_CALL getDefaultSorting() override
static void addBookmarkByName(const css::uno::Reference< css::frame::XModel > &xModel, const OUString &rName, const css::uno::Reference< css::text::XTextRange > &rTextRange)
virtual css::uno::Sequence< OUString > getServiceNames() override
virtual css::uno::Type SAL_CALL getElementType() override
css::uno::Reference< css::frame::XModel > mxModel
virtual css::uno::Any createCollectionObject(const css::uno::Any &aSource) override
virtual void SAL_CALL setShowHidden(sal_Bool _hidden) override
virtual css::uno::Any SAL_CALL Add(const OUString &rName, const css::uno::Any &rRange) override
virtual void SAL_CALL setDefaultSorting(sal_Int32 _type) override
virtual OUString getServiceImplName() override
css::uno::Reference< css::text::XBookmarksSupplier > mxBookmarksSupplier
virtual sal_Bool SAL_CALL Exists(const OUString &rName) override
CollTestImplHelper< ooo::vba::word::XBookmarks > SwVbaBookmarks_BASE