LibreOffice Module sw (master) 1
vbamailmerge.hxx
Go to the documentation of this file.
1/* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4; fill-column: 100 -*- */
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#ifndef INCLUDED_SW_SOURCE_UI_VBA_VBAMAILMERGE_HXX
10#define INCLUDED_SW_SOURCE_UI_VBA_VBAMAILMERGE_HXX
11
12#include <ooo/vba/word/XMailMerge.hpp>
13#include <rtl/ref.hxx>
15
17
18// Singleton class. Get the single instance using the get() method.
19
21{
22 sal_Int32 m_nMainDocType;
23
24 SwVbaMailMerge(const css::uno::Reference<ooo::vba::XHelperInterface>& xParent,
25 const css::uno::Reference<css::uno::XComponentContext>& xContext);
26
27public:
28 virtual ~SwVbaMailMerge() override;
29
31 get(const css::uno::Reference<ooo::vba::XHelperInterface>& xParent,
32 const css::uno::Reference<css::uno::XComponentContext>& xContext);
33
34 // XMailMerge
35 virtual sal_Int32 SAL_CALL getMainDocumentType() override;
36 virtual void SAL_CALL setMainDocumentType(sal_Int32 _maindocumenttype) override;
37
38 virtual void SAL_CALL
39 OpenDataSource(const OUString& Name, const css::uno::Any& Format,
40 const css::uno::Any& ConfirmConversions, const css::uno::Any& ReadOnly,
41 const css::uno::Any& LinkToSource, const css::uno::Any& AddToRecentFiles,
42 const css::uno::Any& PasswordDocument, const css::uno::Any& PasswordTemplate,
43 const css::uno::Any& Revert, const css::uno::Any& WritePasswordDocument,
44 const css::uno::Any& WritePasswordTemplate, const css::uno::Any& Connection,
45 const css::uno::Any& SQLStatement, const css::uno::Any& SQLStatement1,
46 const css::uno::Any& OpenExclusive, const css::uno::Any& SubType) override;
47
48 // XHelperInterface
49 virtual OUString getServiceImplName() override;
50 virtual css::uno::Sequence<OUString> getServiceNames() override;
51};
52
53#endif // INCLUDED_SW_SOURCE_UI_VBA_VBAMAILMERGE_HXX
54
55/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
sal_Int32 m_nMainDocType
virtual css::uno::Sequence< OUString > getServiceNames() override
virtual OUString getServiceImplName() override
virtual ~SwVbaMailMerge() override
virtual sal_Int32 SAL_CALL getMainDocumentType() override
virtual void SAL_CALL setMainDocumentType(sal_Int32 _maindocumenttype) override
static rtl::Reference< SwVbaMailMerge > const & get(const css::uno::Reference< ooo::vba::XHelperInterface > &xParent, const css::uno::Reference< css::uno::XComponentContext > &xContext)
virtual void SAL_CALL OpenDataSource(const OUString &Name, const css::uno::Any &Format, const css::uno::Any &ConfirmConversions, const css::uno::Any &ReadOnly, const css::uno::Any &LinkToSource, const css::uno::Any &AddToRecentFiles, const css::uno::Any &PasswordDocument, const css::uno::Any &PasswordTemplate, const css::uno::Any &Revert, const css::uno::Any &WritePasswordDocument, const css::uno::Any &WritePasswordTemplate, const css::uno::Any &Connection, const css::uno::Any &SQLStatement, const css::uno::Any &SQLStatement1, const css::uno::Any &OpenExclusive, const css::uno::Any &SubType) override
SwVbaMailMerge(const css::uno::Reference< ooo::vba::XHelperInterface > &xParent, const css::uno::Reference< css::uno::XComponentContext > &xContext)
InheritedHelperInterfaceWeakImpl< ooo::vba::word::XMailMerge > SwVbaMailMerge_BASE