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