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 OUStringLiteral FM_COMPONENT_EDIT
= u
"stardiv.one.form.component.Edit";
30 inline constexpr OUStringLiteral FM_COMPONENT_TEXTFIELD
= u
"stardiv.one.form.component.TextField";
31 inline constexpr OUStringLiteral FM_COMPONENT_LISTBOX
= u
"stardiv.one.form.component.ListBox";
32 inline constexpr OUStringLiteral FM_COMPONENT_COMBOBOX
= u
"stardiv.one.form.component.ComboBox";
33 inline constexpr OUStringLiteral FM_COMPONENT_RADIOBUTTON
= u
"stardiv.one.form.component.RadioButton";
34 inline constexpr OUStringLiteral FM_COMPONENT_GROUPBOX
= u
"stardiv.one.form.component.GroupBox";
35 inline constexpr OUStringLiteral FM_COMPONENT_FIXEDTEXT
= u
"stardiv.one.form.component.FixedText";
36 inline constexpr OUStringLiteral FM_COMPONENT_COMMANDBUTTON
= u
"stardiv.one.form.component.CommandButton";
37 inline constexpr OUStringLiteral FM_COMPONENT_CHECKBOX
= u
"stardiv.one.form.component.CheckBox";
38 inline constexpr OUStringLiteral FM_COMPONENT_GRID
= u
"stardiv.one.form.component.Grid";
39 inline constexpr OUStringLiteral FM_COMPONENT_GRIDCONTROL
= u
"stardiv.one.form.component.GridControl";
40 inline constexpr OUStringLiteral FM_COMPONENT_IMAGEBUTTON
= u
"stardiv.one.form.component.ImageButton";
41 inline constexpr OUStringLiteral FM_COMPONENT_FILECONTROL
= u
"stardiv.one.form.component.FileControl";
42 inline constexpr OUStringLiteral FM_COMPONENT_TIMEFIELD
= u
"stardiv.one.form.component.TimeField";
43 inline constexpr OUStringLiteral FM_COMPONENT_DATEFIELD
= u
"stardiv.one.form.component.DateField";
44 inline constexpr OUStringLiteral FM_COMPONENT_NUMERICFIELD
= u
"stardiv.one.form.component.NumericField";
45 inline constexpr OUStringLiteral FM_COMPONENT_CURRENCYFIELD
= u
"stardiv.one.form.component.CurrencyField";
46 inline constexpr OUStringLiteral FM_COMPONENT_PATTERNFIELD
= u
"stardiv.one.form.component.PatternField";
47 inline constexpr OUStringLiteral FM_COMPONENT_FORMATTEDFIELD
= u
"stardiv.one.form.component.FormattedField";
48 inline constexpr OUStringLiteral FM_COMPONENT_HIDDEN
= u
"stardiv.one.form.component.Hidden";
49 inline constexpr OUStringLiteral FM_COMPONENT_HIDDENCONTROL
= u
"stardiv.one.form.component.HiddenControl";
50 inline constexpr OUStringLiteral FM_COMPONENT_IMAGECONTROL
= u
"stardiv.one.form.component.ImageControl";
51 inline constexpr OUStringLiteral FM_CONTROL_GRID
= u
"stardiv.one.form.control.Grid";
52 inline constexpr OUStringLiteral FM_CONTROL_GRIDCONTROL
= u
"stardiv.one.form.control.GridControl";
53 inline constexpr OUStringLiteral SRV_SDB_CONNECTION
= u
"com.sun.star.sdb.Connection";
54 inline constexpr OUStringLiteral FM_SUN_COMPONENT_FORM
= u
"com.sun.star.form.component.Form";
55 inline constexpr OUStringLiteral FM_SUN_COMPONENT_TEXTFIELD
= u
"com.sun.star.form.component.TextField";
56 inline constexpr OUStringLiteral FM_SUN_COMPONENT_LISTBOX
= u
"com.sun.star.form.component.ListBox";
57 inline constexpr OUStringLiteral FM_SUN_COMPONENT_COMBOBOX
= u
"com.sun.star.form.component.ComboBox";
58 inline constexpr OUStringLiteral FM_SUN_COMPONENT_RADIOBUTTON
= u
"com.sun.star.form.component.RadioButton";
59 inline constexpr OUStringLiteral FM_SUN_COMPONENT_GROUPBOX
= u
"com.sun.star.form.component.GroupBox";
60 inline constexpr OUStringLiteral FM_SUN_COMPONENT_FIXEDTEXT
= u
"com.sun.star.form.component.FixedText";
61 inline constexpr OUStringLiteral FM_SUN_COMPONENT_COMMANDBUTTON
= u
"com.sun.star.form.component.CommandButton";
62 inline constexpr OUStringLiteral FM_SUN_COMPONENT_CHECKBOX
= u
"com.sun.star.form.component.CheckBox";
63 inline constexpr OUStringLiteral FM_SUN_COMPONENT_GRIDCONTROL
= u
"com.sun.star.form.component.GridControl";
64 inline constexpr OUStringLiteral FM_SUN_COMPONENT_IMAGEBUTTON
= u
"com.sun.star.form.component.ImageButton";
65 inline constexpr OUStringLiteral FM_SUN_COMPONENT_FILECONTROL
= u
"com.sun.star.form.component.FileControl";
66 inline constexpr OUStringLiteral FM_SUN_COMPONENT_TIMEFIELD
= u
"com.sun.star.form.component.TimeField";
67 inline constexpr OUStringLiteral FM_SUN_COMPONENT_DATEFIELD
= u
"com.sun.star.form.component.DateField";
68 inline constexpr OUStringLiteral FM_SUN_COMPONENT_NUMERICFIELD
= u
"com.sun.star.form.component.NumericField";
69 inline constexpr OUStringLiteral FM_SUN_COMPONENT_CURRENCYFIELD
= u
"com.sun.star.form.component.CurrencyField";
70 inline constexpr OUStringLiteral FM_SUN_COMPONENT_PATTERNFIELD
= u
"com.sun.star.form.component.PatternField";
71 inline constexpr OUStringLiteral FM_SUN_COMPONENT_HIDDENCONTROL
= u
"com.sun.star.form.component.HiddenControl";
72 inline constexpr OUStringLiteral FM_SUN_COMPONENT_IMAGECONTROL
= u
"com.sun.star.form.component.DatabaseImageControl";
73 inline constexpr OUStringLiteral FM_SUN_COMPONENT_FORMATTEDFIELD
= u
"com.sun.star.form.component.FormattedField";
74 inline constexpr OUStringLiteral FM_SUN_COMPONENT_SCROLLBAR
= u
"com.sun.star.form.component.ScrollBar";
75 inline constexpr OUStringLiteral FM_SUN_COMPONENT_SPINBUTTON
= u
"com.sun.star.form.component.SpinButton";
76 inline constexpr OUStringLiteral FM_SUN_COMPONENT_NAVIGATIONBAR
= u
"com.sun.star.form.component.NavigationToolBar";
77 inline constexpr OUStringLiteral FM_SUN_CONTROL_GRIDCONTROL
= u
"com.sun.star.form.control.GridControl";
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: */