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