nss: upgrade to release 3.73
[LibreOffice.git] / forms / source / inc / services.hxx
blob8a3312b30fae9152f8d920752a9f241324cd79a4
1 /* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
2 /*
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 .
20 #ifndef INCLUDED_FORMS_SOURCE_INC_SERVICES_HXX
21 #define INCLUDED_FORMS_SOURCE_INC_SERVICES_HXX
23 #define AWT_CONTROL_TEXTFIELD "com.sun.star.awt.TextField"
25 #define VCL_CONTROL_EDIT "stardiv.vcl.control.Edit"
26 #define VCL_CONTROL_LISTBOX "stardiv.vcl.control.ListBox"
27 #define VCL_CONTROL_COMBOBOX "stardiv.vcl.control.ComboBox"
28 #define VCL_CONTROL_RADIOBUTTON "stardiv.vcl.control.RadioButton"
29 #define VCL_CONTROL_GROUPBOX "stardiv.vcl.control.GroupBox"
30 #define VCL_CONTROL_FIXEDTEXT "stardiv.vcl.control.FixedText"
31 #define VCL_CONTROL_COMMANDBUTTON "stardiv.vcl.control.Button"
32 #define VCL_CONTROL_CHECKBOX "stardiv.vcl.control.CheckBox"
33 #define VCL_CONTROL_IMAGEBUTTON "stardiv.vcl.control.ImageButton"
34 #define VCL_CONTROL_FILECONTROL "stardiv.vcl.control.FileControl"
35 #define VCL_CONTROL_TIMEFIELD "stardiv.vcl.control.TimeField"
36 #define VCL_CONTROL_DATEFIELD "stardiv.vcl.control.DateField"
37 #define VCL_CONTROL_NUMERICFIELD "stardiv.vcl.control.NumericField"
38 #define VCL_CONTROL_CURRENCYFIELD "stardiv.vcl.control.CurrencyField"
39 #define VCL_CONTROL_PATTERNFIELD "stardiv.vcl.control.PatternField"
40 #define VCL_CONTROL_FORMATTEDFIELD "stardiv.vcl.control.FormattedField"
41 #define VCL_CONTROL_IMAGECONTROL "stardiv.vcl.control.ImageControl"
43 #define VCL_CONTROLMODEL_EDIT "stardiv.vcl.controlmodel.Edit"
44 #define VCL_CONTROLMODEL_LISTBOX "stardiv.vcl.controlmodel.ListBox"
45 #define VCL_CONTROLMODEL_COMBOBOX "stardiv.vcl.controlmodel.ComboBox"
46 #define VCL_CONTROLMODEL_RADIOBUTTON "stardiv.vcl.controlmodel.RadioButton"
47 #define VCL_CONTROLMODEL_GROUPBOX "stardiv.vcl.controlmodel.GroupBox"
48 #define VCL_CONTROLMODEL_FIXEDTEXT "stardiv.vcl.controlmodel.FixedText"
49 #define VCL_CONTROLMODEL_COMMANDBUTTON "stardiv.vcl.controlmodel.Button"
50 #define VCL_CONTROLMODEL_CHECKBOX "stardiv.vcl.controlmodel.CheckBox"
51 #define VCL_CONTROLMODEL_IMAGEBUTTON "stardiv.vcl.controlmodel.ImageButton"
52 #define VCL_CONTROLMODEL_FILECONTROL "stardiv.vcl.controlmodel.FileControl"
53 #define VCL_CONTROLMODEL_TIMEFIELD "stardiv.vcl.controlmodel.TimeField"
54 #define VCL_CONTROLMODEL_DATEFIELD "stardiv.vcl.controlmodel.DateField"
55 #define VCL_CONTROLMODEL_NUMERICFIELD "stardiv.vcl.controlmodel.NumericField"
56 #define VCL_CONTROLMODEL_CURRENCYFIELD "stardiv.vcl.controlmodel.CurrencyField"
57 #define VCL_CONTROLMODEL_PATTERNFIELD "stardiv.vcl.controlmodel.PatternField"
58 #define VCL_CONTROLMODEL_FORMATTEDFIELD "stardiv.vcl.controlmodel.FormattedField"
59 #define VCL_CONTROLMODEL_IMAGECONTROL "stardiv.vcl.controlmodel.ImageControl"
61 #define VCL_CONTROLMODEL_SCROLLBAR "com.sun.star.awt.UnoControlScrollBarModel"
62 #define VCL_CONTROL_SCROLLBAR "com.sun.star.awt.UnoControlScrollBar"
63 #define VCL_CONTROLMODEL_SPINBUTTON "com.sun.star.awt.UnoControlSpinButtonModel"
64 #define VCL_CONTROL_SPINBUTTON "com.sun.star.awt.UnoControlSpinButton"
66 // service names for compatibility
68 #define FRM_COMPONENT_FORM "stardiv.one.form.component.Form"
69 #define FRM_COMPONENT_EDIT "stardiv.one.form.component.Edit" // compatibility
70 #define FRM_COMPONENT_TEXTFIELD "stardiv.one.form.component.TextField"
71 #define FRM_COMPONENT_LISTBOX "stardiv.one.form.component.ListBox"
72 #define FRM_COMPONENT_COMBOBOX "stardiv.one.form.component.ComboBox"
73 #define FRM_COMPONENT_RADIOBUTTON "stardiv.one.form.component.RadioButton"
74 #define FRM_COMPONENT_GROUPBOX "stardiv.one.form.component.GroupBox" // compatibility
75 #define FRM_COMPONENT_FIXEDTEXT "stardiv.one.form.component.FixedText" // compatibility
76 #define FRM_COMPONENT_COMMANDBUTTON "stardiv.one.form.component.CommandButton"
77 #define FRM_COMPONENT_CHECKBOX "stardiv.one.form.component.CheckBox"
78 #define FRM_COMPONENT_GRID "stardiv.one.form.component.Grid" // compatibility
79 #define FRM_COMPONENT_GRIDCONTROL "stardiv.one.form.component.GridControl"
80 #define FRM_COMPONENT_IMAGEBUTTON "stardiv.one.form.component.ImageButton"
81 #define FRM_COMPONENT_FILECONTROL "stardiv.one.form.component.FileControl"
82 #define FRM_COMPONENT_TIMEFIELD "stardiv.one.form.component.TimeField"
83 #define FRM_COMPONENT_DATEFIELD "stardiv.one.form.component.DateField"
84 #define FRM_COMPONENT_NUMERICFIELD "stardiv.one.form.component.NumericField"
85 #define FRM_COMPONENT_CURRENCYFIELD "stardiv.one.form.component.CurrencyField"
86 #define FRM_COMPONENT_PATTERNFIELD "stardiv.one.form.component.PatternField"
87 #define FRM_COMPONENT_HIDDEN "stardiv.one.form.component.Hidden"
88 #define FRM_COMPONENT_HIDDENCONTROL "stardiv.one.form.component.HiddenControl"
89 #define FRM_COMPONENT_IMAGECONTROL "stardiv.one.form.component.ImageControl"
90 #define FRM_COMPONENT_FORMATTEDFIELD "stardiv.one.form.component.FormattedField"
92 // <compatibility_I>
93 #define STARDIV_ONE_FORM_CONTROL_COMMANDBUTTON "stardiv.one.form.control.CommandButton"
94 #define STARDIV_ONE_FORM_CONTROL_RADIOBUTTON "stardiv.one.form.control.RadioButton"
95 #define STARDIV_ONE_FORM_CONTROL_CHECKBOX "stardiv.one.form.control.CheckBox"
96 #define STARDIV_ONE_FORM_CONTROL_EDIT "stardiv.one.form.control.Edit"
97 #define STARDIV_ONE_FORM_CONTROL_LISTBOX "stardiv.one.form.control.ListBox"
98 #define STARDIV_ONE_FORM_CONTROL_COMBOBOX "stardiv.one.form.control.ComboBox"
99 #define STARDIV_ONE_FORM_CONTROL_GROUPBOX "stardiv.one.form.control.GroupBox"
100 #define STARDIV_ONE_FORM_CONTROL_TEXTFIELD "stardiv.one.form.control.TextField"
101 #define STARDIV_ONE_FORM_CONTROL_GRID "stardiv.one.form.control.Grid"
102 #define STARDIV_ONE_FORM_CONTROL_IMAGEBUTTON "stardiv.one.form.control.ImageButton"
103 #define STARDIV_ONE_FORM_CONTROL_TIMEFIELD "stardiv.one.form.control.TimeField"
104 #define STARDIV_ONE_FORM_CONTROL_DATEFIELD "stardiv.one.form.control.DateField"
105 #define STARDIV_ONE_FORM_CONTROL_NUMERICFIELD "stardiv.one.form.control.NumericField"
106 #define STARDIV_ONE_FORM_CONTROL_CURRENCYFIELD "stardiv.one.form.control.CurrencyField"
107 #define STARDIV_ONE_FORM_CONTROL_PATTERNFIELD "stardiv.one.form.control.PatternField"
108 #define STARDIV_ONE_FORM_CONTROL_IMAGECONTROL "stardiv.one.form.control.ImageControl"
109 #define STARDIV_ONE_FORM_CONTROL_FORMATTEDFIELD "stardiv.one.form.control.FormattedField"
110 // </compatibility_I>
112 // new (sun) service names
114 #define FRM_SUN_COMPONENT_FORM "com.sun.star.form.component.Form"
115 #define FRM_SUN_COMPONENT_HTMLFORM "com.sun.star.form.component.HTMLForm"
116 #define FRM_SUN_COMPONENT_DATAFORM "com.sun.star.form.component.DataForm"
117 #define FRM_SUN_COMPONENT_TEXTFIELD "com.sun.star.form.component.TextField"
118 #define FRM_SUN_COMPONENT_LISTBOX "com.sun.star.form.component.ListBox"
119 #define FRM_SUN_COMPONENT_COMBOBOX "com.sun.star.form.component.ComboBox"
120 #define FRM_SUN_COMPONENT_RADIOBUTTON "com.sun.star.form.component.RadioButton"
121 #define FRM_SUN_COMPONENT_GROUPBOX "com.sun.star.form.component.GroupBox"
122 #define FRM_SUN_COMPONENT_FIXEDTEXT "com.sun.star.form.component.FixedText"
123 #define FRM_SUN_COMPONENT_COMMANDBUTTON "com.sun.star.form.component.CommandButton"
124 #define FRM_SUN_COMPONENT_CHECKBOX "com.sun.star.form.component.CheckBox"
125 #define FRM_SUN_COMPONENT_GRIDCONTROL "com.sun.star.form.component.GridControl"
126 #define FRM_SUN_COMPONENT_IMAGEBUTTON "com.sun.star.form.component.ImageButton"
127 #define FRM_SUN_COMPONENT_FILECONTROL "com.sun.star.form.component.FileControl"
128 #define FRM_SUN_COMPONENT_TIMEFIELD "com.sun.star.form.component.TimeField"
129 #define FRM_SUN_COMPONENT_DATEFIELD "com.sun.star.form.component.DateField"
130 #define FRM_SUN_COMPONENT_NUMERICFIELD "com.sun.star.form.component.NumericField"
131 #define FRM_SUN_COMPONENT_CURRENCYFIELD "com.sun.star.form.component.CurrencyField"
132 #define FRM_SUN_COMPONENT_PATTERNFIELD "com.sun.star.form.component.PatternField"
133 #define FRM_SUN_COMPONENT_HIDDENCONTROL "com.sun.star.form.component.HiddenControl"
134 #define FRM_SUN_COMPONENT_FORMATTEDFIELD "com.sun.star.form.component.FormattedField"
135 #define FRM_SUN_COMPONENT_SCROLLBAR "com.sun.star.form.component.ScrollBar"
136 #define FRM_SUN_COMPONENT_SPINBUTTON "com.sun.star.form.component.SpinButton"
137 #define FRM_SUN_COMPONENT_RICHTEXTCONTROL "com.sun.star.form.component.RichTextControl"
138 #define FRM_SUN_COMPONENT_NAVTOOLBAR "com.sun.star.form.component.NavigationToolBar"
139 #define FRM_SUN_COMPONENT_SUBMITBUTTON "com.sun.star.form.component.SubmitButton"
141 #define FRM_SUN_COMPONENT_IMAGECONTROL "com.sun.star.form.component.DatabaseImageControl"
142 #define FRM_SUN_COMPONENT_DATABASE_RADIOBUTTON "com.sun.star.form.component.DatabaseRadioButton"
143 #define FRM_SUN_COMPONENT_DATABASE_CHECKBOX "com.sun.star.form.component.DatabaseCheckBox"
144 #define FRM_SUN_COMPONENT_DATABASE_LISTBOX "com.sun.star.form.component.DatabaseListBox"
145 #define FRM_SUN_COMPONENT_DATABASE_COMBOBOX "com.sun.star.form.component.DatabaseComboBox"
146 #define FRM_SUN_COMPONENT_DATABASE_FORMATTEDFIELD "com.sun.star.form.component.DatabaseFormattedField"
147 #define FRM_SUN_COMPONENT_DATABASE_TEXTFIELD "com.sun.star.form.component.DatabaseTextField"
148 #define FRM_SUN_COMPONENT_DATABASE_DATEFIELD "com.sun.star.form.component.DatabaseDateField"
149 #define FRM_SUN_COMPONENT_DATABASE_TIMEFIELD "com.sun.star.form.component.DatabaseTimeField"
150 #define FRM_SUN_COMPONENT_DATABASE_NUMERICFIELD "com.sun.star.form.component.DatabaseNumericField"
151 #define FRM_SUN_COMPONENT_DATABASE_CURRENCYFIELD "com.sun.star.form.component.DatabaseCurrencyField"
152 #define FRM_SUN_COMPONENT_DATABASE_PATTERNFIELD "com.sun.star.form.component.DatabasePatternField"
154 #define FRM_SUN_CONTROL_TEXTFIELD "com.sun.star.form.control.TextField"
155 #define FRM_SUN_CONTROL_LISTBOX "com.sun.star.form.control.ListBox"
156 #define FRM_SUN_CONTROL_COMBOBOX "com.sun.star.form.control.ComboBox"
157 #define FRM_SUN_CONTROL_RADIOBUTTON "com.sun.star.form.control.RadioButton"
158 #define FRM_SUN_CONTROL_GROUPBOX "com.sun.star.form.control.GroupBox"
159 #define FRM_SUN_CONTROL_FIXEDTEXT "com.sun.star.form.control.FixedText"
160 #define FRM_SUN_CONTROL_COMMANDBUTTON "com.sun.star.form.control.CommandButton"
161 #define FRM_SUN_CONTROL_CHECKBOX "com.sun.star.form.control.CheckBox"
162 #define FRM_SUN_CONTROL_GRIDCONTROL "com.sun.star.form.control.GridControl"
163 #define FRM_SUN_CONTROL_IMAGEBUTTON "com.sun.star.form.control.ImageButton"
164 #define FRM_SUN_CONTROL_TIMEFIELD "com.sun.star.form.control.TimeField"
165 #define FRM_SUN_CONTROL_DATEFIELD "com.sun.star.form.control.DateField"
166 #define FRM_SUN_CONTROL_NUMERICFIELD "com.sun.star.form.control.NumericField"
167 #define FRM_SUN_CONTROL_CURRENCYFIELD "com.sun.star.form.control.CurrencyField"
168 #define FRM_SUN_CONTROL_PATTERNFIELD "com.sun.star.form.control.PatternField"
169 #define FRM_SUN_CONTROL_IMAGECONTROL "com.sun.star.form.control.ImageControl"
170 #define FRM_SUN_CONTROL_FORMATTEDFIELD "com.sun.star.form.control.FormattedField"
171 #define FRM_SUN_CONTROL_RICHTEXTCONTROL "com.sun.star.form.control.RichTextControl"
172 #define FRM_SUN_CONTROL_SUBMITBUTTON "com.sun.star.form.control.SubmitButton"
174 #define BINDABLE_DATABASE_CHECK_BOX "com.sun.star.form.binding.BindableDatabaseCheckBox"
175 #define BINDABLE_DATABASE_COMBO_BOX "com.sun.star.form.binding.BindableDatabaseComboBox"
176 #define BINDABLE_DATABASE_FORMATTED_FIELD "com.sun.star.form.binding.BindableDatabaseFormattedField"
177 #define BINDABLE_DATABASE_LIST_BOX "com.sun.star.form.binding.BindableDatabaseListBox"
178 #define BINDABLE_DATABASE_NUMERIC_FIELD "com.sun.star.form.binding.BindableDatabaseNumericField"
179 #define BINDABLE_DATABASE_RADIO_BUTTON "com.sun.star.form.binding.BindableDatabaseRadioButton"
180 #define BINDABLE_DATABASE_TEXT_FIELD "com.sun.star.form.binding.BindableDatabaseTextField"
181 #define BINDABLE_DATABASE_DATE_FIELD "com.sun.star.form.binding.BindableDatabaseDateField"
182 #define BINDABLE_DATABASE_TIME_FIELD "com.sun.star.form.binding.BindableDatabaseTimeField"
184 #define BINDABLE_CONTROL_MODEL "com.sun.star.form.binding.BindableControlModel"
185 #define BINDABLE_INTEGER_VALUE_RANGE "com.sun.star.form.binding.BindableIntegerValueRange"
186 #define BINDABLE_DATA_AWARE_CONTROL_MODEL "com.sun.star.form.binding.BindableDataAwareControlModel"
187 #define DATA_AWARE_CONTROL_MODEL "com.sun.star.form.binding.DataAwareControlModel"
188 #define VALIDATABLE_CONTROL_MODEL "com.sun.star.form.binding.ValidatableControlModel"
189 #define VALIDATABLE_BINDABLE_CONTROL_MODEL "com.sun.star.form.binding.ValidatableBindableControlModel"
191 // common
193 #define FRM_SUN_FORMCOMPONENT "com.sun.star.form.FormComponent"
195 // misc
197 #define SRV_AWT_IMAGEPRODUCER "com.sun.star.awt.ImageProducer"
199 #define SRV_SDB_ROWSET "com.sun.star.sdb.RowSet"
200 #define SRV_SDB_CONNECTION "com.sun.star.sdb.Connection"
202 #endif // INCLUDED_FORMS_SOURCE_INC_SERVICES_HXX
204 /* vim:set shiftwidth=4 softtabstop=4 expandtab: */