LibreOffice Module sw (master) 1
vbacontentcontrols.hxx
Go to the documentation of this file.
1/* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
2/*
3 * This file is part of the LibreOffice project.
4 *
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/.
8 */
9#pragma once
10
11#include <com/sun/star/text/XTextDocument.hpp>
12#include <ooo/vba/word/XContentControls.hpp>
13
15
17
19{
20public:
22 SwVbaContentControls(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,
25 const OUString& rTag, const OUString& rTitle);
26
27 // XContentControls
28 //css::uno::Reference<ooo::vba::word::XContentControl> SAL_CALL Add(const css::uno::Any& Type, const css::uno::Any& Range) override;
29
30 // XEnumerationAccess
31 css::uno::Type SAL_CALL getElementType() override;
32 css::uno::Reference<css::container::XEnumeration> SAL_CALL createEnumeration() override;
33
34 // SwVbaContentControls_BASE
35 css::uno::Any createCollectionObject(const css::uno::Any& aSource) override;
36 OUString getServiceImplName() override;
37 css::uno::Sequence<OUString> getServiceNames() override;
38};
39
40/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
css::uno::Any createCollectionObject(const css::uno::Any &aSource) override
css::uno::Reference< css::container::XEnumeration > SAL_CALL createEnumeration() override
css::uno::Sequence< OUString > getServiceNames() override
OUString getServiceImplName() override
css::uno::Type SAL_CALL getElementType() override
SwVbaContentControls(const css::uno::Reference< ov::XHelperInterface > &xParent, const css::uno::Reference< css::uno::XComponentContext > &xContext, const css::uno::Reference< css::text::XTextDocument > &xTextDocument, const OUString &rTag, const OUString &rTitle)
Content Controls can be accessed and filtered in many different ways.
CollTestImplHelper< ooo::vba::word::XContentControls > SwVbaContentControls_BASE