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