1 /* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
3 * This file is part of the LibreOffice project.
5 * This Source Code Form is subject to the terms of the Mozilla Public
6 * License, v. 2.0. If a copy of the MPL was not distributed with this
7 * file, You can obtain one at http://mozilla.org/MPL/2.0/.
11 #include <com/sun/star/text/XTextDocument.hpp>
12 #include <ooo/vba/word/XFormFields.hpp>
14 #include <vbahelper/vbacollectionimpl.hxx>
16 typedef CollTestImplHelper
<ooo::vba::word::XFormFields
> SwVbaFormFields_BASE
;
18 class SwVbaFormFields
: public SwVbaFormFields_BASE
21 /// @throws css::uno::RuntimeException
22 SwVbaFormFields(const css::uno::Reference
<ov::XHelperInterface
>& xParent
,
23 const css::uno::Reference
<css::uno::XComponentContext
>& xContext
,
24 const css::uno::Reference
<css::text::XTextDocument
>& xTextDocument
);
27 sal_Bool SAL_CALL
getShaded() override
;
28 void SAL_CALL
setShaded(sal_Bool bSet
) override
;
29 //css::uno::Reference<ooo::vba::word::XFormField> SAL_CALL Add(const css::uno::Any& Range, sal_Int32 Type) override;
32 css::uno::Type SAL_CALL
getElementType() override
;
33 css::uno::Reference
<css::container::XEnumeration
> SAL_CALL
createEnumeration() override
;
35 // SwVbaFormFields_BASE
36 css::uno::Any
createCollectionObject(const css::uno::Any
& aSource
) override
;
37 OUString
getServiceImplName() override
;
38 css::uno::Sequence
<OUString
> getServiceNames() override
;
41 /* vim:set shiftwidth=4 softtabstop=4 expandtab: */