LibreOffice Module extensions (master) 1
fieldmappingimpl.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 * This file incorporates work covered by the following license notice:
10 *
11 * Licensed to the Apache Software Foundation (ASF) under one or more
12 * contributor license agreements. See the NOTICE file distributed
13 * with this work for additional information regarding copyright
14 * ownership. The ASF licenses this file to you under the Apache
15 * License, Version 2.0 (the "License"); you may not use this file
16 * except in compliance with the License. You may obtain a copy of
17 * the License at http://www.apache.org/licenses/LICENSE-2.0 .
18 */
19
20#pragma once
21
22#include <rtl/ustring.hxx>
23#include "abptypes.hxx"
24#include <com/sun/star/uno/Reference.hxx>
25#include "addresssettings.hxx"
26
27namespace com::sun::star {
28 namespace lang {
29 class XMultiServiceFactory;
30 }
31 namespace uno {
32 class XComponentContext;
33 }
34 namespace beans {
35 class XPropertySet;
36 }
37}
38namespace weld { class Window; }
39
40namespace abp
41{
42
43
44 namespace fieldmapping
45 {
46
47
59 const css::uno::Reference< css::uno::XComponentContext >& _rxORB,
60 class weld::Window* _pParent,
61 const css::uno::Reference< css::beans::XPropertySet >& _rxDataSource,
62 AddressSettings& _rSettings
63 );
64
65
71 const css::uno::Reference< css::uno::XComponentContext >& _rxContext,
72 MapString2String& /* [out] */ _rFieldAssignment
73 );
74
75
79 const css::uno::Reference< css::uno::XComponentContext >& _rxContext,
80 MapString2String&& _rFieldAssignment
81 );
82
83
84 } // namespace fieldmapping
85
86
87 namespace addressconfig
88 {
89
90
95 const css::uno::Reference< css::uno::XComponentContext >& _rxContext,
96 const OUString& _rDataSourceName,
97 const OUString& _rTableName
98 );
99
103 const css::uno::Reference< css::uno::XComponentContext >& _rxContext
104 );
105
106
107 } // namespace addressconfig
108
109
110} // namespace abp
111/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
void markPilotSuccess(const Reference< XComponentContext > &_rxContext)
void writeTemplateAddressSource(const Reference< XComponentContext > &_rxContext, const OUString &_rDataSourceName, const OUString &_rTableName)
bool invokeDialog(const Reference< XComponentContext > &_rxORB, class weld::Window *_pParent, const Reference< XPropertySet > &_rxDataSource, AddressSettings &_rSettings)
void defaultMapping(const Reference< XComponentContext > &_rxContext, MapString2String &_rFieldAssignment)
void writeTemplateAddressFieldMapping(const Reference< XComponentContext > &_rxContext, MapString2String &&aFieldAssignment)
std::map< OUString, OUString > MapString2String
Definition: abptypes.hxx:36
class SAL_NO_VTABLE XPropertySet