19#ifndef INCLUDED_SW_SOURCE_UI_VBA_VBAFIELD_HXX
20#define INCLUDED_SW_SOURCE_UI_VBA_VBAFIELD_HXX
22#include <com/sun/star/lang/XMultiServiceFactory.hpp>
23#include <com/sun/star/text/XTextField.hpp>
24#include <ooo/vba/word/XField.hpp>
25#include <ooo/vba/word/XFields.hpp>
35 SwVbaField(
const css::uno::Reference< ooo::vba::XHelperInterface >& rParent,
const css::uno::Reference< css::uno::XComponentContext >& rContext,
const css::uno::Reference< css::text::XTextField >& xTextField);
47 css::uno::Reference< css::frame::XModel >
mxModel;
48 css::uno::Reference< css::lang::XMultiServiceFactory >
mxMSF;
57 SwVbaFields(
const css::uno::Reference< ov::XHelperInterface >& xParent,
const css::uno::Reference< css::uno::XComponentContext > & xContext,
const css::uno::Reference< css::frame::XModel >& xModel );
59 virtual css::uno::Reference< ::ooo::vba::word::XField > SAL_CALL
Add(
const css::uno::Reference< ::ooo::vba::word::XRange >&
Range,
const css::uno::Any&
Type,
const css::uno::Any& Text,
const css::uno::Any& PreserveFormatting )
override;
60 virtual sal_Int32 SAL_CALL
Update()
override;
63 virtual css::uno::Reference< css::container::XEnumeration > SAL_CALL
createEnumeration()
override;
css::uno::Reference< css::text::XTextField > mxTextField
SwVbaField(const css::uno::Reference< ooo::vba::XHelperInterface > &rParent, const css::uno::Reference< css::uno::XComponentContext > &rContext, const css::uno::Reference< css::text::XTextField > &xTextField)
virtual OUString getServiceImplName() override
virtual sal_Bool SAL_CALL Update() override
virtual css::uno::Sequence< OUString > getServiceNames() override
virtual OUString getServiceImplName() override
virtual css::uno::Reference< css::container::XEnumeration > SAL_CALL createEnumeration() override
css::uno::Reference< css::lang::XMultiServiceFactory > mxMSF
virtual css::uno::Type SAL_CALL getElementType() override
css::uno::Reference< css::text::XTextField > Create_Field_DocProperty(const OUString &_text)
virtual sal_Int32 SAL_CALL Update() override
virtual css::uno::Sequence< OUString > getServiceNames() override
css::uno::Reference< css::frame::XModel > mxModel
virtual css::uno::Reference< ::ooo::vba::word::XField > SAL_CALL Add(const css::uno::Reference< ::ooo::vba::word::XRange > &Range, const css::uno::Any &Type, const css::uno::Any &Text, const css::uno::Any &PreserveFormatting) override
css::uno::Reference< css::text::XTextField > Create_Field_FileName(const OUString &rText)
SwVbaFields(const css::uno::Reference< ov::XHelperInterface > &xParent, const css::uno::Reference< css::uno::XComponentContext > &xContext, const css::uno::Reference< css::frame::XModel > &xModel)
virtual css::uno::Any createCollectionObject(const css::uno::Any &aSource) override
CollTestImplHelper< ov::word::XFields > SwVbaFields_BASE
InheritedHelperInterfaceWeakImpl< ooo::vba::word::XField > SwVbaField_BASE