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/.
9 * This file incorporates work covered by the following license notice:
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 .
19 #ifndef INCLUDED_SVX_SOURCE_INC_FMSERVS_HXX
20 #define INCLUDED_SVX_SOURCE_INC_FMSERVS_HXX
22 #include <sal/config.h>
24 #include <com/sun/star/uno/Reference.hxx>
25 #include <svx/svxdllapi.h>
27 namespace com::sun::star::lang
{ class XMultiServiceFactory
; }
29 inline constexpr OUString FM_COMPONENT_EDIT
= u
"stardiv.one.form.component.Edit"_ustr
;
30 inline constexpr OUString FM_COMPONENT_TEXTFIELD
= u
"stardiv.one.form.component.TextField"_ustr
;
31 inline constexpr OUString FM_COMPONENT_LISTBOX
= u
"stardiv.one.form.component.ListBox"_ustr
;
32 inline constexpr OUString FM_COMPONENT_COMBOBOX
= u
"stardiv.one.form.component.ComboBox"_ustr
;
33 inline constexpr OUString FM_COMPONENT_RADIOBUTTON
= u
"stardiv.one.form.component.RadioButton"_ustr
;
34 inline constexpr OUString FM_COMPONENT_GROUPBOX
= u
"stardiv.one.form.component.GroupBox"_ustr
;
35 inline constexpr OUString FM_COMPONENT_FIXEDTEXT
= u
"stardiv.one.form.component.FixedText"_ustr
;
36 inline constexpr OUString FM_COMPONENT_COMMANDBUTTON
= u
"stardiv.one.form.component.CommandButton"_ustr
;
37 inline constexpr OUString FM_COMPONENT_CHECKBOX
= u
"stardiv.one.form.component.CheckBox"_ustr
;
38 inline constexpr OUString FM_COMPONENT_GRID
= u
"stardiv.one.form.component.Grid"_ustr
;
39 inline constexpr OUString FM_COMPONENT_GRIDCONTROL
= u
"stardiv.one.form.component.GridControl"_ustr
;
40 inline constexpr OUString FM_COMPONENT_IMAGEBUTTON
= u
"stardiv.one.form.component.ImageButton"_ustr
;
41 inline constexpr OUString FM_COMPONENT_FILECONTROL
= u
"stardiv.one.form.component.FileControl"_ustr
;
42 inline constexpr OUString FM_COMPONENT_TIMEFIELD
= u
"stardiv.one.form.component.TimeField"_ustr
;
43 inline constexpr OUString FM_COMPONENT_DATEFIELD
= u
"stardiv.one.form.component.DateField"_ustr
;
44 inline constexpr OUString FM_COMPONENT_NUMERICFIELD
= u
"stardiv.one.form.component.NumericField"_ustr
;
45 inline constexpr OUString FM_COMPONENT_CURRENCYFIELD
= u
"stardiv.one.form.component.CurrencyField"_ustr
;
46 inline constexpr OUString FM_COMPONENT_PATTERNFIELD
= u
"stardiv.one.form.component.PatternField"_ustr
;
47 inline constexpr OUString FM_COMPONENT_FORMATTEDFIELD
= u
"stardiv.one.form.component.FormattedField"_ustr
;
48 inline constexpr OUString FM_COMPONENT_HIDDEN
= u
"stardiv.one.form.component.Hidden"_ustr
;
49 inline constexpr OUString FM_COMPONENT_HIDDENCONTROL
= u
"stardiv.one.form.component.HiddenControl"_ustr
;
50 inline constexpr OUString FM_COMPONENT_IMAGECONTROL
= u
"stardiv.one.form.component.ImageControl"_ustr
;
51 inline constexpr OUString FM_CONTROL_GRID
= u
"stardiv.one.form.control.Grid"_ustr
;
52 inline constexpr OUString FM_CONTROL_GRIDCONTROL
= u
"stardiv.one.form.control.GridControl"_ustr
;
53 inline constexpr OUString SRV_SDB_CONNECTION
= u
"com.sun.star.sdb.Connection"_ustr
;
54 inline constexpr OUString FM_SUN_COMPONENT_FORM
= u
"com.sun.star.form.component.Form"_ustr
;
55 inline constexpr OUString FM_SUN_COMPONENT_TEXTFIELD
= u
"com.sun.star.form.component.TextField"_ustr
;
56 inline constexpr OUString FM_SUN_COMPONENT_LISTBOX
= u
"com.sun.star.form.component.ListBox"_ustr
;
57 inline constexpr OUString FM_SUN_COMPONENT_COMBOBOX
= u
"com.sun.star.form.component.ComboBox"_ustr
;
58 inline constexpr OUString FM_SUN_COMPONENT_RADIOBUTTON
= u
"com.sun.star.form.component.RadioButton"_ustr
;
59 inline constexpr OUString FM_SUN_COMPONENT_GROUPBOX
= u
"com.sun.star.form.component.GroupBox"_ustr
;
60 inline constexpr OUString FM_SUN_COMPONENT_FIXEDTEXT
= u
"com.sun.star.form.component.FixedText"_ustr
;
61 inline constexpr OUString FM_SUN_COMPONENT_COMMANDBUTTON
= u
"com.sun.star.form.component.CommandButton"_ustr
;
62 inline constexpr OUString FM_SUN_COMPONENT_CHECKBOX
= u
"com.sun.star.form.component.CheckBox"_ustr
;
63 inline constexpr OUString FM_SUN_COMPONENT_GRIDCONTROL
= u
"com.sun.star.form.component.GridControl"_ustr
;
64 inline constexpr OUString FM_SUN_COMPONENT_IMAGEBUTTON
= u
"com.sun.star.form.component.ImageButton"_ustr
;
65 inline constexpr OUString FM_SUN_COMPONENT_FILECONTROL
= u
"com.sun.star.form.component.FileControl"_ustr
;
66 inline constexpr OUString FM_SUN_COMPONENT_TIMEFIELD
= u
"com.sun.star.form.component.TimeField"_ustr
;
67 inline constexpr OUString FM_SUN_COMPONENT_DATEFIELD
= u
"com.sun.star.form.component.DateField"_ustr
;
68 inline constexpr OUString FM_SUN_COMPONENT_NUMERICFIELD
= u
"com.sun.star.form.component.NumericField"_ustr
;
69 inline constexpr OUString FM_SUN_COMPONENT_CURRENCYFIELD
= u
"com.sun.star.form.component.CurrencyField"_ustr
;
70 inline constexpr OUString FM_SUN_COMPONENT_PATTERNFIELD
= u
"com.sun.star.form.component.PatternField"_ustr
;
71 inline constexpr OUString FM_SUN_COMPONENT_HIDDENCONTROL
= u
"com.sun.star.form.component.HiddenControl"_ustr
;
72 inline constexpr OUString FM_SUN_COMPONENT_IMAGECONTROL
= u
"com.sun.star.form.component.DatabaseImageControl"_ustr
;
73 inline constexpr OUString FM_SUN_COMPONENT_FORMATTEDFIELD
= u
"com.sun.star.form.component.FormattedField"_ustr
;
74 inline constexpr OUString FM_SUN_COMPONENT_SCROLLBAR
= u
"com.sun.star.form.component.ScrollBar"_ustr
;
75 inline constexpr OUString FM_SUN_COMPONENT_SPINBUTTON
= u
"com.sun.star.form.component.SpinButton"_ustr
;
76 inline constexpr OUString FM_SUN_COMPONENT_NAVIGATIONBAR
= u
"com.sun.star.form.component.NavigationToolBar"_ustr
;
77 inline constexpr OUString FM_SUN_CONTROL_GRIDCONTROL
= u
"com.sun.star.form.control.GridControl"_ustr
;
81 SVXCORE_DLLPUBLIC
void ImplSmartRegisterUnoServices();
83 css::uno::Reference
<css::uno::XInterface
>
84 OAddConditionDialog_Create(
85 css::uno::Reference
<css::lang::XMultiServiceFactory
> const &);
87 OUString
OAddConditionDialog_GetImplementationName();
89 css::uno::Sequence
<OUString
>
90 OAddConditionDialog_GetSupportedServiceNames();
93 /// @throws css::uno::Exception
94 css::uno::Reference
<css::uno::XInterface
>
95 FmXGridControl_NewInstance_Impl(
96 css::uno::Reference
<css::lang::XMultiServiceFactory
> const &);
98 /// @throws css::uno::Exception
99 css::uno::Reference
<css::uno::XInterface
>
100 FormController_NewInstance_Impl(
101 css::uno::Reference
<css::lang::XMultiServiceFactory
> const &);
103 /// @throws css::uno::Exception
104 css::uno::Reference
<css::uno::XInterface
>
105 LegacyFormController_NewInstance_Impl(
106 css::uno::Reference
<css::lang::XMultiServiceFactory
> const &);
108 #endif // INCLUDED_SVX_SOURCE_INC_FMSERVS_HXX
110 /* vim:set shiftwidth=4 softtabstop=4 expandtab: */