xref: /AOO41X/main/xmloff/source/forms/strings.hxx (revision cdf0e10c4e3984b49a9502b011690b615761d4a3)
1*cdf0e10cSrcweir /*************************************************************************
2*cdf0e10cSrcweir  *
3*cdf0e10cSrcweir  * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
4*cdf0e10cSrcweir  *
5*cdf0e10cSrcweir  * Copyright 2000, 2010 Oracle and/or its affiliates.
6*cdf0e10cSrcweir  *
7*cdf0e10cSrcweir  * OpenOffice.org - a multi-platform office productivity suite
8*cdf0e10cSrcweir  *
9*cdf0e10cSrcweir  * This file is part of OpenOffice.org.
10*cdf0e10cSrcweir  *
11*cdf0e10cSrcweir  * OpenOffice.org is free software: you can redistribute it and/or modify
12*cdf0e10cSrcweir  * it under the terms of the GNU Lesser General Public License version 3
13*cdf0e10cSrcweir  * only, as published by the Free Software Foundation.
14*cdf0e10cSrcweir  *
15*cdf0e10cSrcweir  * OpenOffice.org is distributed in the hope that it will be useful,
16*cdf0e10cSrcweir  * but WITHOUT ANY WARRANTY; without even the implied warranty of
17*cdf0e10cSrcweir  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
18*cdf0e10cSrcweir  * GNU Lesser General Public License version 3 for more details
19*cdf0e10cSrcweir  * (a copy is included in the LICENSE file that accompanied this code).
20*cdf0e10cSrcweir  *
21*cdf0e10cSrcweir  * You should have received a copy of the GNU Lesser General Public License
22*cdf0e10cSrcweir  * version 3 along with OpenOffice.org.  If not, see
23*cdf0e10cSrcweir  * <http://www.openoffice.org/license.html>
24*cdf0e10cSrcweir  * for a copy of the LGPLv3 License.
25*cdf0e10cSrcweir  *
26*cdf0e10cSrcweir  ************************************************************************/
27*cdf0e10cSrcweir 
28*cdf0e10cSrcweir #ifndef _XMLOFF_FORMS_STRINGS_HXX_
29*cdf0e10cSrcweir #define _XMLOFF_FORMS_STRINGS_HXX_
30*cdf0e10cSrcweir 
31*cdf0e10cSrcweir #include <sal/types.h>
32*cdf0e10cSrcweir #include <rtl/ustring.hxx>
33*cdf0e10cSrcweir 
34*cdf0e10cSrcweir //.........................................................................
35*cdf0e10cSrcweir namespace xmloff
36*cdf0e10cSrcweir {
37*cdf0e10cSrcweir //.........................................................................
38*cdf0e10cSrcweir 
39*cdf0e10cSrcweir 	//============================================================
40*cdf0e10cSrcweir 	//= a helper for static ascii pseudo-unicode strings
41*cdf0e10cSrcweir 	//============================================================
42*cdf0e10cSrcweir 	struct ConstAsciiString
43*cdf0e10cSrcweir 	{
44*cdf0e10cSrcweir 		const sal_Char*	ascii;
45*cdf0e10cSrcweir 		sal_Int32		length;
46*cdf0e10cSrcweir 
47*cdf0e10cSrcweir         inline	operator const ConstAsciiString* () const { return this; }
48*cdf0e10cSrcweir 		inline const ::rtl::OUString* operator& () const;
49*cdf0e10cSrcweir 		inline	operator const ::rtl::OUString& () const { return *(&(*this)); }
50*cdf0e10cSrcweir 		inline	operator const sal_Char* () const { return ascii; }
51*cdf0e10cSrcweir 
52*cdf0e10cSrcweir 		inline ConstAsciiString(const sal_Char* _pAsciiZeroTerminated, const sal_Int32 _nLength);
53*cdf0e10cSrcweir 		inline ~ConstAsciiString();
54*cdf0e10cSrcweir 
55*cdf0e10cSrcweir 	private:
56*cdf0e10cSrcweir 		mutable ::rtl::OUString*	m_pString;
57*cdf0e10cSrcweir 
58*cdf0e10cSrcweir 	private:
59*cdf0e10cSrcweir 		ConstAsciiString();	// never implemented
60*cdf0e10cSrcweir 	};
61*cdf0e10cSrcweir 
62*cdf0e10cSrcweir 	//------------------------------------------------------------
63*cdf0e10cSrcweir 	inline ConstAsciiString::ConstAsciiString(const sal_Char* _pAsciiZeroTerminated, const sal_Int32 _nLength)
64*cdf0e10cSrcweir 		:ascii( _pAsciiZeroTerminated )
65*cdf0e10cSrcweir 		,length( _nLength )
66*cdf0e10cSrcweir 		,m_pString( NULL )
67*cdf0e10cSrcweir 	{
68*cdf0e10cSrcweir 	}
69*cdf0e10cSrcweir 
70*cdf0e10cSrcweir 	//------------------------------------------------------------
71*cdf0e10cSrcweir 	inline ConstAsciiString::~ConstAsciiString()
72*cdf0e10cSrcweir 	{
73*cdf0e10cSrcweir 		if ( m_pString )
74*cdf0e10cSrcweir 		{
75*cdf0e10cSrcweir 			delete m_pString;
76*cdf0e10cSrcweir 			m_pString = NULL;
77*cdf0e10cSrcweir 		}
78*cdf0e10cSrcweir 	}
79*cdf0e10cSrcweir 
80*cdf0e10cSrcweir 	//------------------------------------------------------------
81*cdf0e10cSrcweir 	inline const ::rtl::OUString* ConstAsciiString::operator& () const
82*cdf0e10cSrcweir 	{
83*cdf0e10cSrcweir 		if ( !m_pString )
84*cdf0e10cSrcweir 			m_pString = new ::rtl::OUString( ascii, length, RTL_TEXTENCODING_ASCII_US );
85*cdf0e10cSrcweir 		return m_pString;
86*cdf0e10cSrcweir 	}
87*cdf0e10cSrcweir 
88*cdf0e10cSrcweir #ifndef XMLFORM_IMPLEMENT_STRINGS
89*cdf0e10cSrcweir 	#define XMLFORM_CONSTASCII_STRING(ident, string) extern const ConstAsciiString ident
90*cdf0e10cSrcweir #else
91*cdf0e10cSrcweir 	#define XMLFORM_CONSTASCII_STRING(ident, string) extern const ConstAsciiString ident(string, sizeof(string)-1)
92*cdf0e10cSrcweir #endif
93*cdf0e10cSrcweir 
94*cdf0e10cSrcweir 	//============================================================
95*cdf0e10cSrcweir 	//= string constants
96*cdf0e10cSrcweir 	//============================================================
97*cdf0e10cSrcweir 
98*cdf0e10cSrcweir 	// properties
99*cdf0e10cSrcweir 	XMLFORM_CONSTASCII_STRING( PROPERTY_CLASSID,			"ClassId" );
100*cdf0e10cSrcweir 	XMLFORM_CONSTASCII_STRING( PROPERTY_ECHOCHAR,			"EchoChar" );
101*cdf0e10cSrcweir 	XMLFORM_CONSTASCII_STRING( PROPERTY_MULTILINE,			"MultiLine" );
102*cdf0e10cSrcweir 	XMLFORM_CONSTASCII_STRING( PROPERTY_NAME,				"Name" );
103*cdf0e10cSrcweir 	XMLFORM_CONSTASCII_STRING( PROPERTY_IMAGEURL,			"ImageURL" );
104*cdf0e10cSrcweir 	XMLFORM_CONSTASCII_STRING( PROPERTY_LABEL,				"Label" );
105*cdf0e10cSrcweir 	XMLFORM_CONSTASCII_STRING( PROPERTY_TARGETFRAME,		"TargetFrame" );
106*cdf0e10cSrcweir 	XMLFORM_CONSTASCII_STRING( PROPERTY_TARGETURL,			"TargetURL" );
107*cdf0e10cSrcweir 	XMLFORM_CONSTASCII_STRING( PROPERTY_TITLE,				"Tag" );
108*cdf0e10cSrcweir 	XMLFORM_CONSTASCII_STRING( PROPERTY_DROPDOWN,			"Dropdown" );
109*cdf0e10cSrcweir 	XMLFORM_CONSTASCII_STRING( PROPERTY_PRINTABLE,			"Printable" );
110*cdf0e10cSrcweir 	XMLFORM_CONSTASCII_STRING( PROPERTY_READONLY,			"ReadOnly" );
111*cdf0e10cSrcweir 	XMLFORM_CONSTASCII_STRING( PROPERTY_DEFAULT_STATE,		"DefaultState" );
112*cdf0e10cSrcweir 	XMLFORM_CONSTASCII_STRING( PROPERTY_TABSTOP,			"Tabstop" );
113*cdf0e10cSrcweir 	XMLFORM_CONSTASCII_STRING( PROPERTY_STATE,				"State" );
114*cdf0e10cSrcweir 	XMLFORM_CONSTASCII_STRING( PROPERTY_ENABLED,			"Enabled" );
115*cdf0e10cSrcweir 	XMLFORM_CONSTASCII_STRING( PROPERTY_ENABLEVISIBLE,		"EnableVisible" );
116*cdf0e10cSrcweir 	XMLFORM_CONSTASCII_STRING( PROPERTY_MAXTEXTLENGTH,		"MaxTextLen" );
117*cdf0e10cSrcweir 	XMLFORM_CONSTASCII_STRING( PROPERTY_LINECOUNT,			"LineCount" );
118*cdf0e10cSrcweir 	XMLFORM_CONSTASCII_STRING( PROPERTY_TABINDEX,			"TabIndex" );
119*cdf0e10cSrcweir 	XMLFORM_CONSTASCII_STRING( PROPERTY_COMMAND,			"Command" );
120*cdf0e10cSrcweir 	XMLFORM_CONSTASCII_STRING( PROPERTY_DATASOURCENAME,		"DataSourceName" );
121*cdf0e10cSrcweir 	XMLFORM_CONSTASCII_STRING( PROPERTY_FILTER,				"Filter" );
122*cdf0e10cSrcweir 	XMLFORM_CONSTASCII_STRING( PROPERTY_ORDER,				"Order" );
123*cdf0e10cSrcweir 	XMLFORM_CONSTASCII_STRING( PROPERTY_ALLOWDELETES,		"AllowDeletes" );
124*cdf0e10cSrcweir 	XMLFORM_CONSTASCII_STRING( PROPERTY_ALLOWINSERTS,		"AllowInserts" );
125*cdf0e10cSrcweir 	XMLFORM_CONSTASCII_STRING( PROPERTY_ALLOWUPDATES,		"AllowUpdates" );
126*cdf0e10cSrcweir 	XMLFORM_CONSTASCII_STRING( PROPERTY_APPLYFILTER,		"ApplyFilter" );
127*cdf0e10cSrcweir 	XMLFORM_CONSTASCII_STRING( PROPERTY_ESCAPEPROCESSING,	"EscapeProcessing" );
128*cdf0e10cSrcweir 	XMLFORM_CONSTASCII_STRING( PROPERTY_IGNORERESULT,		"IgnoreResult" );
129*cdf0e10cSrcweir 	XMLFORM_CONSTASCII_STRING( PROPERTY_SUBMIT_ENCODING,	"SubmitEncoding" );
130*cdf0e10cSrcweir 	XMLFORM_CONSTASCII_STRING( PROPERTY_SUBMIT_METHOD,		"SubmitMethod" );
131*cdf0e10cSrcweir 	XMLFORM_CONSTASCII_STRING( PROPERTY_COMMAND_TYPE,		"CommandType" );
132*cdf0e10cSrcweir 	XMLFORM_CONSTASCII_STRING( PROPERTY_NAVIGATION,			"NavigationBarMode" );
133*cdf0e10cSrcweir 	XMLFORM_CONSTASCII_STRING( PROPERTY_CYCLE,				"Cycle" );
134*cdf0e10cSrcweir 	XMLFORM_CONSTASCII_STRING( PROPERTY_BUTTONTYPE,			"ButtonType" );
135*cdf0e10cSrcweir 	XMLFORM_CONSTASCII_STRING( PROPERTY_DATAFIELD,			"DataField" );
136*cdf0e10cSrcweir 	XMLFORM_CONSTASCII_STRING( PROPERTY_BOUNDCOLUMN,		"BoundColumn");
137*cdf0e10cSrcweir 	XMLFORM_CONSTASCII_STRING( PROPERTY_EMPTY_IS_NULL,		"ConvertEmptyToNull");
138*cdf0e10cSrcweir     XMLFORM_CONSTASCII_STRING( PROPERTY_INPUT_REQUIRED,     "InputRequired");
139*cdf0e10cSrcweir 	XMLFORM_CONSTASCII_STRING( PROPERTY_LISTSOURCE,			"ListSource");
140*cdf0e10cSrcweir 	XMLFORM_CONSTASCII_STRING( PROPERTY_LISTSOURCETYPE,		"ListSourceType");
141*cdf0e10cSrcweir 	XMLFORM_CONSTASCII_STRING( PROPERTY_ECHO_CHAR,			"EchoChar");
142*cdf0e10cSrcweir 	XMLFORM_CONSTASCII_STRING( PROPERTY_STRICTFORMAT,		"StrictFormat");
143*cdf0e10cSrcweir 	XMLFORM_CONSTASCII_STRING( PROPERTY_AUTOCOMPLETE,		"Autocomplete");
144*cdf0e10cSrcweir 	XMLFORM_CONSTASCII_STRING( PROPERTY_MULTISELECTION,		"MultiSelection");
145*cdf0e10cSrcweir 	XMLFORM_CONSTASCII_STRING( PROPERTY_DEFAULTBUTTON,		"DefaultButton");
146*cdf0e10cSrcweir 	XMLFORM_CONSTASCII_STRING( PROPERTY_TRISTATE,			"TriState");
147*cdf0e10cSrcweir 	XMLFORM_CONSTASCII_STRING( PROPERTY_CONTROLLABEL,		"LabelControl");
148*cdf0e10cSrcweir 	XMLFORM_CONSTASCII_STRING( PROPERTY_STRING_ITEM_LIST,	"StringItemList");
149*cdf0e10cSrcweir 	XMLFORM_CONSTASCII_STRING( PROPERTY_VALUE_SEQ,			"ValueItemList");
150*cdf0e10cSrcweir 	XMLFORM_CONSTASCII_STRING( PROPERTY_DEFAULT_SELECT_SEQ, "DefaultSelection");
151*cdf0e10cSrcweir 	XMLFORM_CONSTASCII_STRING( PROPERTY_SELECT_SEQ,			"SelectedItems");
152*cdf0e10cSrcweir 	XMLFORM_CONSTASCII_STRING( PROPERTY_DATE_MIN,			"DateMin");
153*cdf0e10cSrcweir 	XMLFORM_CONSTASCII_STRING( PROPERTY_DATE_MAX,			"DateMax");
154*cdf0e10cSrcweir 	XMLFORM_CONSTASCII_STRING( PROPERTY_TIME_MIN,			"TimeMin");
155*cdf0e10cSrcweir 	XMLFORM_CONSTASCII_STRING( PROPERTY_TIME_MAX,			"TimeMax");
156*cdf0e10cSrcweir 	XMLFORM_CONSTASCII_STRING( PROPERTY_VALUE_MIN,			"ValueMin");
157*cdf0e10cSrcweir 	XMLFORM_CONSTASCII_STRING( PROPERTY_VALUE_MAX,			"ValueMax");
158*cdf0e10cSrcweir 	XMLFORM_CONSTASCII_STRING( PROPERTY_EFFECTIVE_MIN,		"EffectiveMin");
159*cdf0e10cSrcweir 	XMLFORM_CONSTASCII_STRING( PROPERTY_EFFECTIVE_MAX,		"EffectiveMax");
160*cdf0e10cSrcweir 	XMLFORM_CONSTASCII_STRING( PROPERTY_DEFAULT_DATE,		"DefaultDate");
161*cdf0e10cSrcweir 	XMLFORM_CONSTASCII_STRING( PROPERTY_DATE,				"Date");
162*cdf0e10cSrcweir 	XMLFORM_CONSTASCII_STRING( PROPERTY_DEFAULT_TIME,		"DefaultTime");
163*cdf0e10cSrcweir 	XMLFORM_CONSTASCII_STRING( PROPERTY_TIME,				"Time");
164*cdf0e10cSrcweir 	XMLFORM_CONSTASCII_STRING( PROPERTY_DEFAULT_VALUE,		"DefaultValue");
165*cdf0e10cSrcweir 	XMLFORM_CONSTASCII_STRING( PROPERTY_VALUE,				"Value");
166*cdf0e10cSrcweir 	XMLFORM_CONSTASCII_STRING( PROPERTY_HIDDEN_VALUE,		"HiddenValue");
167*cdf0e10cSrcweir 	XMLFORM_CONSTASCII_STRING( PROPERTY_DEFAULT_TEXT,		"DefaultText");
168*cdf0e10cSrcweir 	XMLFORM_CONSTASCII_STRING( PROPERTY_TEXT,				"Text");
169*cdf0e10cSrcweir 	XMLFORM_CONSTASCII_STRING( PROPERTY_EFFECTIVE_VALUE,	"EffectiveValue");
170*cdf0e10cSrcweir 	XMLFORM_CONSTASCII_STRING( PROPERTY_EFFECTIVE_DEFAULT,	"EffectiveDefault");
171*cdf0e10cSrcweir 	XMLFORM_CONSTASCII_STRING( PROPERTY_REFVALUE,			"RefValue");
172*cdf0e10cSrcweir 	XMLFORM_CONSTASCII_STRING( PROPERTY_URL,				"URL");
173*cdf0e10cSrcweir 	XMLFORM_CONSTASCII_STRING( PROPERTY_FONT,				"FontDescriptor");
174*cdf0e10cSrcweir 	XMLFORM_CONSTASCII_STRING( PROPERTY_BACKGROUNDCOLOR,	"BackgroundColor");
175*cdf0e10cSrcweir 	XMLFORM_CONSTASCII_STRING( PROPERTY_MASTERFIELDS,		"MasterFields");
176*cdf0e10cSrcweir 	XMLFORM_CONSTASCII_STRING( PROPERTY_DETAILFIELDS,		"DetailFields");
177*cdf0e10cSrcweir 	XMLFORM_CONSTASCII_STRING( PROPERTY_COLUMNSERVICENAME,	"ColumnServiceName");
178*cdf0e10cSrcweir 	XMLFORM_CONSTASCII_STRING( PROPERTY_FORMATKEY,			"FormatKey");
179*cdf0e10cSrcweir 	XMLFORM_CONSTASCII_STRING( PROPERTY_ALIGN,				"Align");
180*cdf0e10cSrcweir 	XMLFORM_CONSTASCII_STRING( PROPERTY_BORDER,				"Border");
181*cdf0e10cSrcweir 	XMLFORM_CONSTASCII_STRING( PROPERTY_AUTOCONTROLFOCUS,	"AutomaticControlFocus");
182*cdf0e10cSrcweir 	XMLFORM_CONSTASCII_STRING( PROPERTY_APPLYDESIGNMODE,	"ApplyFormDesignMode");
183*cdf0e10cSrcweir 	XMLFORM_CONSTASCII_STRING( PROPERTY_FORMATSSUPPLIER,	"FormatsSupplier");
184*cdf0e10cSrcweir 	XMLFORM_CONSTASCII_STRING( PROPERTY_LOCALE,				"Locale");
185*cdf0e10cSrcweir 	XMLFORM_CONSTASCII_STRING( PROPERTY_FORMATSTRING,		"FormatString");
186*cdf0e10cSrcweir 	XMLFORM_CONSTASCII_STRING( PROPERTY_DATEFORMAT,			"DateFormat");
187*cdf0e10cSrcweir 	XMLFORM_CONSTASCII_STRING( PROPERTY_TIMEFORMAT,			"TimeFormat");
188*cdf0e10cSrcweir 	XMLFORM_CONSTASCII_STRING( PROPERTY_PERSISTENCE_MAXTEXTLENGTH,	"PersistenceMaxTextLength");
189*cdf0e10cSrcweir     XMLFORM_CONSTASCII_STRING( PROPERTY_SCROLLVALUE_MIN,    "ScrollValueMin");
190*cdf0e10cSrcweir 	XMLFORM_CONSTASCII_STRING( PROPERTY_SCROLLVALUE_MAX,    "ScrollValueMax");
191*cdf0e10cSrcweir 	XMLFORM_CONSTASCII_STRING( PROPERTY_SCROLLVALUE,        "ScrollValue");
192*cdf0e10cSrcweir 	XMLFORM_CONSTASCII_STRING( PROPERTY_SCROLLVALUE_DEFAULT,"DefaultScrollValue");
193*cdf0e10cSrcweir     XMLFORM_CONSTASCII_STRING( PROPERTY_LINE_INCREMENT,     "LineIncrement");
194*cdf0e10cSrcweir     XMLFORM_CONSTASCII_STRING( PROPERTY_BLOCK_INCREMENT,    "BlockIncrement");
195*cdf0e10cSrcweir     XMLFORM_CONSTASCII_STRING( PROPERTY_REPEAT_DELAY,       "RepeatDelay");
196*cdf0e10cSrcweir     XMLFORM_CONSTASCII_STRING( PROPERTY_SPINVALUE,          "SpinValue");
197*cdf0e10cSrcweir     XMLFORM_CONSTASCII_STRING( PROPERTY_SPINVALUE_MIN,      "SpinValueMin");
198*cdf0e10cSrcweir     XMLFORM_CONSTASCII_STRING( PROPERTY_SPINVALUE_MAX,      "SpinValueMax");
199*cdf0e10cSrcweir     XMLFORM_CONSTASCII_STRING( PROPERTY_DEFAULT_SPINVALUE,  "DefaultSpinValue");
200*cdf0e10cSrcweir     XMLFORM_CONSTASCII_STRING( PROPERTY_SPIN_INCREMENT,     "SpinIncrement");
201*cdf0e10cSrcweir     XMLFORM_CONSTASCII_STRING( PROPERTY_ORIENTATION,        "Orientation");
202*cdf0e10cSrcweir     XMLFORM_CONSTASCII_STRING( PROPERTY_TOGGLE,             "Toggle");
203*cdf0e10cSrcweir     XMLFORM_CONSTASCII_STRING( PROPERTY_FOCUS_ON_CLICK,     "FocusOnClick");
204*cdf0e10cSrcweir     XMLFORM_CONSTASCII_STRING( PROPERTY_VISUAL_EFFECT,      "VisualEffect");
205*cdf0e10cSrcweir     XMLFORM_CONSTASCII_STRING( PROPERTY_IMAGE_POSITION,     "ImagePosition");
206*cdf0e10cSrcweir     XMLFORM_CONSTASCII_STRING( PROPERTY_IMAGE_ALIGN,        "ImageAlign");
207*cdf0e10cSrcweir     XMLFORM_CONSTASCII_STRING( PROPERTY_SCALE_IMAGE,        "ScaleImage");
208*cdf0e10cSrcweir 
209*cdf0e10cSrcweir     XMLFORM_CONSTASCII_STRING( PROPERTY_BOUND_CELL,		    "BoundCell");
210*cdf0e10cSrcweir     XMLFORM_CONSTASCII_STRING( PROPERTY_LIST_CELL_RANGE,    "CellRange");
211*cdf0e10cSrcweir     XMLFORM_CONSTASCII_STRING( PROPERTY_ADDRESS,		    "Address");
212*cdf0e10cSrcweir     XMLFORM_CONSTASCII_STRING( PROPERTY_FILE_REPRESENTATION,"PersistentRepresentation");
213*cdf0e10cSrcweir     XMLFORM_CONSTASCII_STRING( PROPERTY_RICH_TEXT,          "RichText");
214*cdf0e10cSrcweir 
215*cdf0e10cSrcweir 	// services
216*cdf0e10cSrcweir 	XMLFORM_CONSTASCII_STRING( SERVICE_FORMSCOLLECTION,			"com.sun.star.form.Forms" );
217*cdf0e10cSrcweir 	XMLFORM_CONSTASCII_STRING( SERVICE_NUMBERFORMATSSUPPLIER,	"com.sun.star.util.NumberFormatsSupplier" );
218*cdf0e10cSrcweir     XMLFORM_CONSTASCII_STRING( SERVICE_SPREADSHEET_DOCUMENT,    "com.sun.star.sheet.SpreadsheetDocument");
219*cdf0e10cSrcweir 	XMLFORM_CONSTASCII_STRING( SERVICE_CELLVALUEBINDING,	    "com.sun.star.table.CellValueBinding" );
220*cdf0e10cSrcweir 	XMLFORM_CONSTASCII_STRING( SERVICE_LISTINDEXCELLBINDING,    "com.sun.star.table.ListPositionCellBinding" );
221*cdf0e10cSrcweir 	XMLFORM_CONSTASCII_STRING( SERVICE_CELLRANGELISTSOURCE,	    "com.sun.star.table.CellRangeListSource" );
222*cdf0e10cSrcweir     XMLFORM_CONSTASCII_STRING( SERVICE_ADDRESS_CONVERSION,      "com.sun.star.table.CellAddressConversion");
223*cdf0e10cSrcweir     XMLFORM_CONSTASCII_STRING( SERVICE_RANGEADDRESS_CONVERSION, "com.sun.star.table.CellRangeAddressConversion");
224*cdf0e10cSrcweir 
225*cdf0e10cSrcweir 	// old service names (compatibility)
226*cdf0e10cSrcweir 	XMLFORM_CONSTASCII_STRING( SERVICE_PERSISTENT_COMPONENT_FORM,			"stardiv.one.form.component.Form");
227*cdf0e10cSrcweir 	XMLFORM_CONSTASCII_STRING( SERVICE_PERSISTENT_COMPONENT_EDIT,			"stardiv.one.form.component.Edit");
228*cdf0e10cSrcweir 	XMLFORM_CONSTASCII_STRING( SERVICE_PERSISTENT_COMPONENT_LISTBOX,		"stardiv.one.form.component.ListBox");
229*cdf0e10cSrcweir 	XMLFORM_CONSTASCII_STRING( SERVICE_PERSISTENT_COMPONENT_COMBOBOX,		"stardiv.one.form.component.ComboBox");
230*cdf0e10cSrcweir 	XMLFORM_CONSTASCII_STRING( SERVICE_PERSISTENT_COMPONENT_RADIOBUTTON,	"stardiv.one.form.component.RadioButton");
231*cdf0e10cSrcweir 	XMLFORM_CONSTASCII_STRING( SERVICE_PERSISTENT_COMPONENT_GROUPBOX,		"stardiv.one.form.component.GroupBox");
232*cdf0e10cSrcweir 	XMLFORM_CONSTASCII_STRING( SERVICE_PERSISTENT_COMPONENT_FIXEDTEXT,		"stardiv.one.form.component.FixedText");
233*cdf0e10cSrcweir 	XMLFORM_CONSTASCII_STRING( SERVICE_PERSISTENT_COMPONENT_COMMANDBUTTON,	"stardiv.one.form.component.CommandButton");
234*cdf0e10cSrcweir 	XMLFORM_CONSTASCII_STRING( SERVICE_PERSISTENT_COMPONENT_CHECKBOX,		"stardiv.one.form.component.CheckBox");
235*cdf0e10cSrcweir 	XMLFORM_CONSTASCII_STRING( SERVICE_PERSISTENT_COMPONENT_GRID,			"stardiv.one.form.component.Grid");
236*cdf0e10cSrcweir 	XMLFORM_CONSTASCII_STRING( SERVICE_PERSISTENT_COMPONENT_IMAGEBUTTON,	"stardiv.one.form.component.ImageButton");
237*cdf0e10cSrcweir 	XMLFORM_CONSTASCII_STRING( SERVICE_PERSISTENT_COMPONENT_FILECONTROL,	"stardiv.one.form.component.FileControl");
238*cdf0e10cSrcweir 	XMLFORM_CONSTASCII_STRING( SERVICE_PERSISTENT_COMPONENT_TIMEFIELD,		"stardiv.one.form.component.TimeField");
239*cdf0e10cSrcweir 	XMLFORM_CONSTASCII_STRING( SERVICE_PERSISTENT_COMPONENT_DATEFIELD,		"stardiv.one.form.component.DateField");
240*cdf0e10cSrcweir 	XMLFORM_CONSTASCII_STRING( SERVICE_PERSISTENT_COMPONENT_NUMERICFIELD,	"stardiv.one.form.component.NumericField");
241*cdf0e10cSrcweir 	XMLFORM_CONSTASCII_STRING( SERVICE_PERSISTENT_COMPONENT_CURRENCYFIELD,	"stardiv.one.form.component.CurrencyField");
242*cdf0e10cSrcweir 	XMLFORM_CONSTASCII_STRING( SERVICE_PERSISTENT_COMPONENT_PATTERNFIELD,	"stardiv.one.form.component.PatternField");
243*cdf0e10cSrcweir 	XMLFORM_CONSTASCII_STRING( SERVICE_PERSISTENT_COMPONENT_HIDDENCONTROL,	"stardiv.one.form.component.Hidden");
244*cdf0e10cSrcweir 	XMLFORM_CONSTASCII_STRING( SERVICE_PERSISTENT_COMPONENT_IMAGECONTROL,	"stardiv.one.form.component.ImageControl");
245*cdf0e10cSrcweir 	XMLFORM_CONSTASCII_STRING( SERVICE_PERSISTENT_COMPONENT_FORMATTEDFIELD,	"stardiv.one.form.component.FormattedField");
246*cdf0e10cSrcweir 
247*cdf0e10cSrcweir 	// new service names, the old ones are translated into this new ones
248*cdf0e10cSrcweir 	XMLFORM_CONSTASCII_STRING( SERVICE_FORM, 			"com.sun.star.form.component.Form");
249*cdf0e10cSrcweir 	XMLFORM_CONSTASCII_STRING( SERVICE_EDIT, 			"com.sun.star.form.component.TextField");
250*cdf0e10cSrcweir 	XMLFORM_CONSTASCII_STRING( SERVICE_LISTBOX, 		"com.sun.star.form.component.ListBox");
251*cdf0e10cSrcweir 	XMLFORM_CONSTASCII_STRING( SERVICE_COMBOBOX, 		"com.sun.star.form.component.ComboBox");
252*cdf0e10cSrcweir 	XMLFORM_CONSTASCII_STRING( SERVICE_RADIOBUTTON, 	"com.sun.star.form.component.RadioButton");
253*cdf0e10cSrcweir 	XMLFORM_CONSTASCII_STRING( SERVICE_GROUPBOX, 		"com.sun.star.form.component.GroupBox");
254*cdf0e10cSrcweir 	XMLFORM_CONSTASCII_STRING( SERVICE_FIXEDTEXT, 		"com.sun.star.form.component.FixedText");
255*cdf0e10cSrcweir 	XMLFORM_CONSTASCII_STRING( SERVICE_COMMANDBUTTON, 	"com.sun.star.form.component.CommandButton");
256*cdf0e10cSrcweir 	XMLFORM_CONSTASCII_STRING( SERVICE_CHECKBOX, 		"com.sun.star.form.component.CheckBox");
257*cdf0e10cSrcweir 	XMLFORM_CONSTASCII_STRING( SERVICE_GRID, 			"com.sun.star.form.component.GridControl");
258*cdf0e10cSrcweir 	XMLFORM_CONSTASCII_STRING( SERVICE_IMAGEBUTTON, 	"com.sun.star.form.component.ImageButton");
259*cdf0e10cSrcweir 	XMLFORM_CONSTASCII_STRING( SERVICE_FILECONTROL, 	"com.sun.star.form.component.FileControl");
260*cdf0e10cSrcweir 	XMLFORM_CONSTASCII_STRING( SERVICE_TIMEFIELD, 		"com.sun.star.form.component.TimeField");
261*cdf0e10cSrcweir 	XMLFORM_CONSTASCII_STRING( SERVICE_DATEFIELD, 		"com.sun.star.form.component.DateField");
262*cdf0e10cSrcweir 	XMLFORM_CONSTASCII_STRING( SERVICE_NUMERICFIELD, 	"com.sun.star.form.component.NumericField");
263*cdf0e10cSrcweir 	XMLFORM_CONSTASCII_STRING( SERVICE_CURRENCYFIELD, 	"com.sun.star.form.component.CurrencyField");
264*cdf0e10cSrcweir 	XMLFORM_CONSTASCII_STRING( SERVICE_PATTERNFIELD, 	"com.sun.star.form.component.PatternField");
265*cdf0e10cSrcweir 	XMLFORM_CONSTASCII_STRING( SERVICE_HIDDENCONTROL, 	"com.sun.star.form.component.HiddenControl");
266*cdf0e10cSrcweir 	XMLFORM_CONSTASCII_STRING( SERVICE_IMAGECONTROL, 	"com.sun.star.form.component.DatabaseImageControl");
267*cdf0e10cSrcweir 	XMLFORM_CONSTASCII_STRING( SERVICE_FORMATTEDFIELD,	"com.sun.star.form.component.FormattedField" );
268*cdf0e10cSrcweir 
269*cdf0e10cSrcweir 	// various strings
270*cdf0e10cSrcweir 	XMLFORM_CONSTASCII_STRING( EVENT_NAME_SEPARATOR, "::" );
271*cdf0e10cSrcweir 	XMLFORM_CONSTASCII_STRING( EVENT_TYPE, "EventType" );
272*cdf0e10cSrcweir 	XMLFORM_CONSTASCII_STRING( EVENT_LIBRARY, "Library" );
273*cdf0e10cSrcweir 	XMLFORM_CONSTASCII_STRING( EVENT_LOCALMACRONAME, "MacroName" );
274*cdf0e10cSrcweir 	XMLFORM_CONSTASCII_STRING( EVENT_SCRIPTURL, "Script" );
275*cdf0e10cSrcweir 	XMLFORM_CONSTASCII_STRING( EVENT_STAROFFICE, "StarOffice" );
276*cdf0e10cSrcweir 	XMLFORM_CONSTASCII_STRING( EVENT_STARBASIC, "StarBasic" );
277*cdf0e10cSrcweir 	XMLFORM_CONSTASCII_STRING( EVENT_APPLICATION, "application" );
278*cdf0e10cSrcweir 
279*cdf0e10cSrcweir //.........................................................................
280*cdf0e10cSrcweir }	// namespace xmloff
281*cdf0e10cSrcweir //.........................................................................
282*cdf0e10cSrcweir 
283*cdf0e10cSrcweir #endif // _XMLOFF_FORMS_STRINGS_HXX_
284