merge the formfield patch from ooo-build
[ooovba.git] / starmath / source / math_pch.cxx
blob89d129b81c1ac740621c8fe360161b8b887e0310
1 /*************************************************************************
3 * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
4 *
5 * Copyright 2008 by Sun Microsystems, Inc.
7 * OpenOffice.org - a multi-platform office productivity suite
9 * $RCSfile: math_pch.cxx,v $
10 * $Revision: 1.17 $
12 * This file is part of OpenOffice.org.
14 * OpenOffice.org is free software: you can redistribute it and/or modify
15 * it under the terms of the GNU Lesser General Public License version 3
16 * only, as published by the Free Software Foundation.
18 * OpenOffice.org is distributed in the hope that it will be useful,
19 * but WITHOUT ANY WARRANTY; without even the implied warranty of
20 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
21 * GNU Lesser General Public License version 3 for more details
22 * (a copy is included in the LICENSE file that accompanied this code).
24 * You should have received a copy of the GNU Lesser General Public License
25 * version 3 along with OpenOffice.org. If not, see
26 * <http://www.openoffice.org/license.html>
27 * for a copy of the LGPLv3 License.
29 ************************************************************************/
31 // MARKER(update_precomp.py): autogen include statement, do not remove
32 #include "precompiled_starmath.hxx"
34 #define SMDLL 1
36 #include "starmath.hrc"
38 #define ITEMID_FONT 1
39 #define ITEMID_FONTHEIGHT 2
40 #define ITEMID_LRSPACE 3
41 #define ITEMID_WEIGHT 4
43 //--------- ab hier die "generierten"
44 #include <tools/string.hxx>
45 #include <tools/solar.h>
46 #include <tools/list.hxx>
47 #include <tools/contnr.hxx>
48 #include <tools/rtti.hxx>
49 #include <tools/ref.hxx>
50 #include <tools/link.hxx>
51 #include <svtools/brdcst.hxx>
52 #include <svtools/svarray.hxx>
53 #include <tools/debug.hxx>
54 #include <svtools/hint.hxx>
55 #include <svtools/smplhint.hxx>
56 #include <sot/sotref.hxx>
57 #include <tools/globname.hxx>
58 #include <sot/factory.hxx>
59 #include <vcl/sv.h>
60 #include <basic/sbxdef.hxx>
61 #include <tools/time.hxx>
62 #include <tools/gen.hxx>
63 #include <tools/stream.hxx>
64 #include <tools/errinf.hxx>
65 #include <tools/errcode.hxx>
66 #include <sot/object.hxx>
67 #include <sot/sotdata.hxx>
68 #include <sfx2/shell.hxx>
69 #include <sal/types.h>
70 #include <sal/config.h>
71 #include <tools/date.hxx>
72 #include <tools/ownlist.hxx>
73 #include <vcl/accel.hxx>
74 #include <tools/resid.hxx>
75 #include <tools/rc.hxx>
76 #include <tools/rc.hxx>
77 #include <i18npool/lang.h>
78 #include <tools/resmgr.hxx>
79 #include <vcl/keycod.hxx>
80 #include <vcl/keycodes.hxx>
81 #include <vcl/vclenum.hxx>
82 #include <vcl/timer.hxx>
83 #include <vcl/cmdevt.hxx>
84 #include <vcl/font.hxx>
85 #include <tools/color.hxx>
86 #include <vcl/outdev.hxx>
87 #include <vcl/region.hxx>
88 #include <vcl/mapmod.hxx>
89 #include <tools/fract.hxx>
90 #include <vcl/wall.hxx>
91 #include <vcl/settings.hxx>
92 #include <vcl/bitmap.hxx>
93 #include <vcl/pointr.hxx>
94 #include <vcl/ptrstyle.hxx>
95 #include <vcl/wintypes.hxx>
96 #include <vcl/inputctx.hxx>
97 #include <vcl/event.hxx>
98 #include <format.hxx>
99 #include <utility.hxx>
100 #include <vcl/fixed.hxx>
101 #include <vcl/image.hxx>
102 #include <vcl/ctrl.hxx>
103 #include <vcl/window.hxx>
104 #include <sfx2/minarray.hxx>
105 #include <vcl/combobox.hxx>
106 #include <vcl/combobox.h>
107 #include <vcl/edit.hxx>
108 #include <vcl/menu.hxx>
109 #include <vcl/bitmapex.hxx>
110 #include <vcl/lstbox.hxx>
111 #include <vcl/lstbox.h>
112 #include <usr/guid.hxx>
113 #include <usr/sequ.hxx>
114 #include <uno/types.h>
115 #include <uno/macros.h>
116 #include <vos/xception.hxx>
117 #include <osl/mutex.h>
118 #include <tools/shl.hxx>
119 #include <sfx2/module.hxx>
120 #include <sfx2/imgdef.hxx>
121 #include <usr/uno.hxx>
122 #include <usr/xiface.hxx>
123 #include <usr/ustring.hxx>
124 #include <vos/refernce.hxx>
125 #include <vos/types.hxx>
126 #include <osl/types.h>
127 #include <osl/interlck.h>
128 #include <vos/object.hxx>
129 #include <vos/macros.hxx>
130 #include <smdll.hxx>
131 #include <sfx2/sfxsids.hrc>
132 #include <chaos/cntids.hrc>
133 #include <svtools/cntwids.hrc>
134 #include <svtools/solar.hrc>
135 #include <svtools/lstner.hxx>
136 #include <starmath.hrc>
137 #include <basic/sbx.hxx>
138 #include <basic/sbxform.hxx>
139 #include <basic/sbxobj.hxx>
140 #include <basic/sbxvar.hxx>
141 #include <basic/sbxcore.hxx>
142 #include <basic/sbxprop.hxx>
143 #include <basic/sbxmeth.hxx>
144 #include <tools/unqid.hxx>
145 #include <tools/unqidx.hxx>
146 #include <svtools/poolitem.hxx>
147 #include <svtools/args.hxx>
148 #include <smmod.hxx>
149 #include <vos/thread.hxx>
150 #include <osl/thread.h>
151 #include <vos/runnable.hxx>
152 #include <vcl/apptypes.hxx>
153 #include <tools/dynary.hxx>
154 #include <vcl/metric.hxx>
155 #include <vcl/svapp.hxx>
156 #include <vcl/timer.hxx>
157 #include <sfx2/app.hxx>
158 #include <sfx2/sfx.hrc>
159 #include <svtools/memberid.hrc>
160 #include <vcl/syswin.hxx>
161 #include <vcl/virdev.hxx>
162 #include <tools/datetime.hxx>
163 #include <tools/wldcrd.hxx>
164 #include <parse.hxx>
165 #include <tools/stack.hxx>
166 #include <types.hxx>
167 #include <config.hxx>
168 #include <svtools/confitem.hxx>
169 #include <tools/poly.hxx>
170 #include <svx/xpoly.hxx>
171 #include <rect.hxx>
172 #include <vcl/outdev.hxx>
173 #ifndef _SMART_COM_SUN_STAR_FRAME_XDISPATCHPROVIDERINTERCEPTOR_HXX_
174 #include <smart/com/sun/star/frame/XDispatchProviderInterceptor.hxx>
175 #endif
176 #ifndef _SMART_COM_SUN_STAR_FRAME_XDISPATCH_HXX_
177 #include <smart/com/sun/star/frame/XDispatch.hxx>
178 #endif
179 #ifndef _SMART_COM_SUN_STAR_FRAME_XDISPATCHPROVIDER_HXX_
180 #include <smart/com/sun/star/frame/XDispatchProvider.hxx>
181 #endif
182 #ifndef _SMART_COM_SUN_STAR_FRAME_XSTATUSLISTENER_HXX_
183 #include <smart/com/sun/star/frame/XStatusListener.hxx>
184 #endif
185 #ifndef _SMART_COM_SUN_STAR_FRAME_FRAMESEARCHFLAG_HXX_
186 #include <smart/com/sun/star/frame/FrameSearchFlag.hxx>
187 #endif
188 #ifndef _SMART_COM_SUN_STAR_FRAME_XDISPATCHPROVIDERINTERCEPTION_HXX_
189 #include <smart/com/sun/star/frame/XDispatchProviderInterception.hxx>
190 #endif
191 #ifndef _SMART_COM_SUN_STAR_FRAME_FEATURESTATEEVENT_HXX_
192 #include <smart/com/sun/star/frame/FeatureStateEvent.hxx>
193 #endif
194 #ifndef _SMART_COM_SUN_STAR_FRAME_DISPATCHDESCRIPTOR_HXX_
195 #include <smart/com/sun/star/frame/DispatchDescriptor.hxx>
196 #endif
197 #ifndef _SMART_COM_SUN_STAR_FRAME_XFRAMEACTIONLISTENER_HXX_
198 #include <smart/com/sun/star/frame/XFrameActionListener.hxx>
199 #endif
200 #ifndef _SMART_COM_SUN_STAR_FRAME_XCOMPONENTLOADER_HXX_
201 #include <smart/com/sun/star/frame/XComponentLoader.hxx>
202 #endif
203 #ifndef _SMART_COM_SUN_STAR_FRAME_XFRAME_HXX_
204 #include <smart/com/sun/star/frame/XFrame.hxx>
205 #endif
206 #ifndef _SMART_COM_SUN_STAR_FRAME_FRAMEACTIONEVENT_HXX_
207 #include <smart/com/sun/star/frame/FrameActionEvent.hxx>
208 #endif
209 #ifndef _SMART_COM_SUN_STAR_FRAME_FRAMEACTION_HXX_
210 #include <smart/com/sun/star/frame/FrameAction.hxx>
211 #endif
212 #ifndef _SMART_COM_SUN_STAR_UTIL_XURLTRANSFORMER_HXX_
213 #include <smart/com/sun/star/util/XURLTransformer.hxx>
214 #endif
215 #ifndef _SMART_COM_SUN_STAR_TASK_XSTATUSINDICATORFACTORY_HXX_
216 #include <smart/com/sun/star/task/XStatusIndicatorFactory.hxx>
217 #endif
218 #ifndef _SMART_COM_SUN_STAR_TASK_XSTATUSINDICATORSUPPLIER_HXX_
219 #include <smart/com/sun/star/task/XStatusIndicatorSupplier.hxx>
220 #endif
221 #ifndef _SMART_COM_SUN_STAR_TASK_XSTATUSINDICATOR_HXX_
222 #include <smart/com/sun/star/task/XStatusIndicator.hxx>
223 #endif
224 #ifndef _SMART_COM_SUN_STAR_FRAME_XBROWSEHISTORYREGISTRY_HXX_
225 #include <smart/com/sun/star/frame/XBrowseHistoryRegistry.hxx>
226 #endif
227 #ifndef _SMART_COM_SUN_STAR_IO_BUFFERSIZEEXCEEDEDEXCEPTION_HXX_
228 #include <smart/com/sun/star/io/BufferSizeExceededException.hxx>
229 #endif
230 #ifndef _SMART_COM_SUN_STAR_IO_NOTCONNECTEDEXCEPTION_HXX_
231 #include <smart/com/sun/star/io/NotConnectedException.hxx>
232 #endif
233 #ifndef _SMART_COM_SUN_STAR_IO_IOEXCEPTION_HXX_
234 #include <smart/com/sun/star/io/IOException.hxx>
235 #endif
236 #ifndef _SMART_COM_SUN_STAR_IO_UNEXPECTEDEOFEXCEPTION_HXX_
237 #include <smart/com/sun/star/io/UnexpectedEOFException.hxx>
238 #endif
239 #ifndef _SMART_COM_SUN_STAR_IO_WRONGFORMATEXCEPTION_HXX_
240 #include <smart/com/sun/star/io/WrongFormatException.hxx>
241 #endif
242 #ifndef _SMART_COM_SUN_STAR_LANG_SERVICENOTREGISTEREDEXCEPTION_HXX_
243 #include <smart/com/sun/star/lang/ServiceNotRegisteredException.hxx>
244 #endif
245 #ifndef _SMART_COM_SUN_STAR_LANG_NULLPOINTEREXCEPTION_HXX_
246 #include <smart/com/sun/star/lang/NullPointerException.hxx>
247 #endif
248 #ifndef _SMART_COM_SUN_STAR_LANG_CLASSNOTFOUNDEXCEPTION_HXX_
249 #include <smart/com/sun/star/lang/ClassNotFoundException.hxx>
250 #endif
251 #ifndef _SMART_COM_SUN_STAR_LANG_NOSUCHMETHODEXCEPTION_HXX_
252 #include <smart/com/sun/star/lang/NoSuchMethodException.hxx>
253 #endif
254 #ifndef _SMART_COM_SUN_STAR_LANG_SECURITYEXCEPTION_HXX_
255 #include <smart/com/sun/star/lang/SecurityException.hxx>
256 #endif
257 #ifndef _SMART_COM_SUN_STAR_LANG_NOSUCHFIELDEXCEPTION_HXX_
258 #include <smart/com/sun/star/lang/NoSuchFieldException.hxx>
259 #endif
260 #ifndef _SMART_COM_SUN_STAR_LANG_DISPOSEDEXCEPTION_HXX_
261 #include <smart/com/sun/star/lang/DisposedException.hxx>
262 #endif
263 #ifndef _SMART_COM_SUN_STAR_LANG_ARRAYINDEXOUTOFBOUNDSEXCEPTION_HXX_
264 #include <smart/com/sun/star/lang/ArrayIndexOutOfBoundsException.hxx>
265 #endif
266 #ifndef _SMART_COM_SUN_STAR_LANG_ILLEGALACCESSEXCEPTION_HXX_
267 #include <smart/com/sun/star/lang/IllegalAccessException.hxx>
268 #endif
269 #ifndef _SMART_COM_SUN_STAR_LANG_INDEXOUTOFBOUNDSEXCEPTION_HXX_
270 #include <smart/com/sun/star/lang/IndexOutOfBoundsException.hxx>
271 #endif
272 #ifndef _SMART_COM_SUN_STAR_LANG_ILLEGALARGUMENTEXCEPTION_HXX_
273 #include <smart/com/sun/star/lang/IllegalArgumentException.hxx>
274 #endif
275 #ifndef _SMART_COM_SUN_STAR_LANG_NOSUPPORTEXCEPTION_HXX_
276 #include <smart/com/sun/star/lang/NoSupportException.hxx>
277 #endif
278 #ifndef _SMART_COM_SUN_STAR_LANG_WRAPPEDTARGETEXCEPTION_HXX_
279 #include <smart/com/sun/star/lang/WrappedTargetException.hxx>
280 #endif
281 #ifndef _SMART_COM_SUN_STAR_REFLECTION_PARAMINFO_HXX_
282 #include <smart/com/sun/star/reflection/ParamInfo.hxx>
283 #endif
284 #ifndef _SMART_COM_SUN_STAR_REFLECTION_XIDLARRAY_HXX_
285 #include <smart/com/sun/star/reflection/XIdlArray.hxx>
286 #endif
287 #ifndef _SMART_COM_SUN_STAR_REFLECTION_XIDLCLASSPROVIDER_HXX_
288 #include <smart/com/sun/star/reflection/XIdlClassProvider.hxx>
289 #endif
290 #ifndef _SMART_COM_SUN_STAR_REFLECTION_FIELDACCESSMODE_HXX_
291 #include <smart/com/sun/star/reflection/FieldAccessMode.hxx>
292 #endif
293 #ifndef _SMART_COM_SUN_STAR_REFLECTION_XIDLCLASS_HXX_
294 #include <smart/com/sun/star/reflection/XIdlClass.hxx>
295 #endif
296 #ifndef _SMART_COM_SUN_STAR_REFLECTION_XIDLFIELD_HXX_
297 #include <smart/com/sun/star/reflection/XIdlField.hxx>
298 #endif
299 #ifndef _SMART_COM_SUN_STAR_REFLECTION_PARAMMODE_HXX_
300 #include <smart/com/sun/star/reflection/ParamMode.hxx>
301 #endif
302 #ifndef _SMART_COM_SUN_STAR_REFLECTION_METHODMODE_HXX_
303 #include <smart/com/sun/star/reflection/MethodMode.hxx>
304 #endif
305 #ifndef _SMART_COM_SUN_STAR_REFLECTION_XIDLMEMBER_HXX_
306 #include <smart/com/sun/star/reflection/XIdlMember.hxx>
307 #endif
308 #ifndef _SMART_COM_SUN_STAR_REFLECTION_XIDLREFLECTION_HXX_
309 #include <smart/com/sun/star/reflection/XIdlReflection.hxx>
310 #endif
311 #ifndef _SMART_COM_SUN_STAR_REFLECTION_XIDLMETHOD_HXX_
312 #include <smart/com/sun/star/reflection/XIdlMethod.hxx>
313 #endif
314 #ifndef _SMART_COM_SUN_STAR_REFLECTION_INVOCATIONTARGETEXCEPTION_HXX_
315 #include <smart/com/sun/star/reflection/InvocationTargetException.hxx>
316 #endif
317 #ifndef _SMART_COM_SUN_STAR_BEANS_PROPERTYVALUES_HXX_
318 #include <smart/com/sun/star/beans/PropertyValues.hxx>
319 #endif
320 #ifndef _SMART_COM_SUN_STAR_BEANS_XPROPERTYSET_HXX_
321 #include <smart/com/sun/star/beans/XPropertySet.hxx>
322 #endif
323 #ifndef _SMART_COM_SUN_STAR_BEANS_PROPERTYVALUE_HXX_
324 #include <smart/com/sun/star/beans/PropertyValue.hxx>
325 #endif
326 #ifndef _SMART_COM_SUN_STAR_BEANS_PROPERTYSTATE_HXX_
327 #include <smart/com/sun/star/beans/PropertyState.hxx>
328 #endif
329 #ifndef _SMART_COM_SUN_STAR_BEANS_XPROPERTYSETINFO_HXX_
330 #include <smart/com/sun/star/beans/XPropertySetInfo.hxx>
331 #endif
332 #ifndef _SMART_COM_SUN_STAR_BEANS_XMULTIPROPERTYSET_HXX_
333 #include <smart/com/sun/star/beans/XMultiPropertySet.hxx>
334 #endif
335 #ifndef _SMART_COM_SUN_STAR_BEANS_XFASTPROPERTYSET_HXX_
336 #include <smart/com/sun/star/beans/XFastPropertySet.hxx>
337 #endif
338 #ifndef _SMART_COM_SUN_STAR_BEANS_XVETOABLECHANGELISTENER_HXX_
339 #include <smart/com/sun/star/beans/XVetoableChangeListener.hxx>
340 #endif
341 #ifndef _SMART_COM_SUN_STAR_BEANS_XPROPERTYSTATE_HXX_
342 #include <smart/com/sun/star/beans/XPropertyState.hxx>
343 #endif
344 #ifndef _SMART_COM_SUN_STAR_BEANS_XPROPERTYSTATECHANGELISTENER_HXX_
345 #include <smart/com/sun/star/beans/XPropertyStateChangeListener.hxx>
346 #endif
347 #ifndef _SMART_COM_SUN_STAR_BEANS_PROPERTYATTRIBUTE_HXX_
348 #include <smart/com/sun/star/beans/PropertyAttribute.hxx>
349 #endif
350 #ifndef _SMART_COM_SUN_STAR_BEANS_XPROPERTIESCHANGELISTENER_HXX_
351 #include <smart/com/sun/star/beans/XPropertiesChangeListener.hxx>
352 #endif
353 #ifndef _SMART_COM_SUN_STAR_BEANS_XPROPERTYCHANGELISTENER_HXX_
354 #include <smart/com/sun/star/beans/XPropertyChangeListener.hxx>
355 #endif
356 #ifndef _SMART_COM_SUN_STAR_BEANS_XPROPERTYACCESS_HXX_
357 #include <smart/com/sun/star/beans/XPropertyAccess.hxx>
358 #endif
359 #ifndef _SMART_COM_SUN_STAR_BEANS_XPROPERTYCONTAINER_HXX_
360 #include <smart/com/sun/star/beans/XPropertyContainer.hxx>
361 #endif
362 #ifndef _SMART_COM_SUN_STAR_BEANS_PROPERTYSTATECHANGEEVENT_HXX_
363 #include <smart/com/sun/star/beans/PropertyStateChangeEvent.hxx>
364 #endif
365 #ifndef _SMART_COM_SUN_STAR_BEANS_PROPERTYCHANGEEVENT_HXX_
366 #include <smart/com/sun/star/beans/PropertyChangeEvent.hxx>
367 #endif
368 #ifndef _SMART_COM_SUN_STAR_BEANS_UNKNOWNPROPERTYEXCEPTION_HXX_
369 #include <smart/com/sun/star/beans/UnknownPropertyException.hxx>
370 #endif
371 #ifndef _SMART_COM_SUN_STAR_BEANS_INTROSPECTIONEXCEPTION_HXX_
372 #include <smart/com/sun/star/beans/IntrospectionException.hxx>
373 #endif
374 #ifndef _SMART_COM_SUN_STAR_BEANS_PROPERTYEXISTEXCEPTION_HXX_
375 #include <smart/com/sun/star/beans/PropertyExistException.hxx>
376 #endif
377 #ifndef _SMART_COM_SUN_STAR_BEANS_ILLEGALTYPEEXCEPTION_HXX_
378 #include <smart/com/sun/star/beans/IllegalTypeException.hxx>
379 #endif
380 #ifndef _SMART_COM_SUN_STAR_BEANS_PROPERTYVETOEXCEPTION_HXX_
381 #include <smart/com/sun/star/beans/PropertyVetoException.hxx>
382 #endif
383 #ifndef _SMART_COM_SUN_STAR_CONTAINER_XENUMERATIONACCESS_HXX_
384 #include <smart/com/sun/star/container/XEnumerationAccess.hxx>
385 #endif
386 #ifndef _SMART_COM_SUN_STAR_CONTAINER_XHIERARCHICALNAMEACCESS_HXX_
387 #include <smart/com/sun/star/container/XHierarchicalNameAccess.hxx>
388 #endif
389 #ifndef _SMART_COM_SUN_STAR_CONTAINER_XNAMEACCESS_HXX_
390 #include <smart/com/sun/star/container/XNameAccess.hxx>
391 #endif
392 #ifndef _SMART_COM_SUN_STAR_CONTAINER_XCONTENTENUMERATIONACCESS_HXX_
393 #include <smart/com/sun/star/container/XContentEnumerationAccess.hxx>
394 #endif
395 #ifndef _SMART_COM_SUN_STAR_CONTAINER_XENUMERATION_HXX_
396 #include <smart/com/sun/star/container/XEnumeration.hxx>
397 #endif
398 #ifndef _SMART_COM_SUN_STAR_CONTAINER_XELEMENTACCESS_HXX_
399 #include <smart/com/sun/star/container/XElementAccess.hxx>
400 #endif
401 #ifndef _SMART_COM_SUN_STAR_CONTAINER_XINDEXACCESS_HXX_
402 #include <smart/com/sun/star/container/XIndexAccess.hxx>
403 #endif
404 #ifndef _SMART_COM_SUN_STAR_LANG_XEVENTLISTENER_HXX_
405 #include <smart/com/sun/star/lang/XEventListener.hxx>
406 #endif
407 #ifndef _SMART_COM_SUN_STAR_LANG_EVENTOBJECT_HXX_
408 #include <smart/com/sun/star/lang/EventObject.hxx>
409 #endif
410 #ifndef _SMART_COM_SUN_STAR_SCRIPT_XALLLISTENERADAPTERSERVICE_HXX_
411 #include <smart/com/sun/star/script/XAllListenerAdapterService.hxx>
412 #endif
413 #ifndef _SMART_COM_SUN_STAR_SCRIPT_XALLLISTENER_HXX_
414 #include <smart/com/sun/star/script/XAllListener.hxx>
415 #endif
416 #ifndef _SMART_COM_SUN_STAR_SCRIPT_ALLEVENTOBJECT_HXX_
417 #include <smart/com/sun/star/script/AllEventObject.hxx>
418 #endif
419 #ifndef _SMART_COM_SUN_STAR_CONTAINER_XCOMPONENTENUMERATION_HXX_
420 #include <smart/com/sun/star/container/XComponentEnumeration.hxx>
421 #endif
422 #ifndef _SMART_COM_SUN_STAR_LANG_XCOMPONENT_HXX_
423 #include <smart/com/sun/star/lang/XComponent.hxx>
424 #endif
425 #ifndef _SMART_COM_SUN_STAR_CONTAINER_XCOMPONENTENUMERATIONACCESS_HXX_
426 #include <smart/com/sun/star/container/XComponentEnumerationAccess.hxx>
427 #endif
428 #ifndef _SMART_COM_SUN_STAR_LANG_LISTENEREXISTEXCEPTION_HXX_
429 #include <smart/com/sun/star/lang/ListenerExistException.hxx>
430 #endif
431 #ifndef _SMART_COM_SUN_STAR_CONTAINER_ELEMENTEXISTEXCEPTION_HXX_
432 #include <smart/com/sun/star/container/ElementExistException.hxx>
433 #endif
434 #ifndef _SMART_COM_SUN_STAR_LANG_INVALIDLISTENEREXCEPTION_HXX_
435 #include <smart/com/sun/star/lang/InvalidListenerException.hxx>
436 #endif
437 #ifndef _SMART_COM_SUN_STAR_CONTAINER_NOSUCHELEMENTEXCEPTION_HXX_
438 #include <smart/com/sun/star/container/NoSuchElementException.hxx>
439 #endif
440 #ifndef _SMART_COM_SUN_STAR_AWT_XKEYLISTENER_HXX_
441 #include <smart/com/sun/star/awt/XKeyListener.hxx>
442 #endif
443 #ifndef _SMART_COM_SUN_STAR_AWT_XPAINTLISTENER_HXX_
444 #include <smart/com/sun/star/awt/XPaintListener.hxx>
445 #endif
446 #ifndef _SMART_COM_SUN_STAR_AWT_KEYEVENT_HXX_
447 #include <smart/com/sun/star/awt/KeyEvent.hxx>
448 #endif
449 #ifndef _SMART_COM_SUN_STAR_AWT_KEYMODIFIER_HXX_
450 #include <smart/com/sun/star/awt/KeyModifier.hxx>
451 #endif
452 #ifndef _SMART_COM_SUN_STAR_AWT_XMOUSEMOTIONLISTENER_HXX_
453 #include <smart/com/sun/star/awt/XMouseMotionListener.hxx>
454 #endif
455 #ifndef _SMART_COM_SUN_STAR_AWT_FOCUSEVENT_HXX_
456 #include <smart/com/sun/star/awt/FocusEvent.hxx>
457 #endif
458 #ifndef _SMART_COM_SUN_STAR_AWT_XWINDOWLISTENER_HXX_
459 #include <smart/com/sun/star/awt/XWindowListener.hxx>
460 #endif
461 #ifndef _SMART_COM_SUN_STAR_AWT_XACTIVATELISTENER_HXX_
462 #include <smart/com/sun/star/awt/XActivateListener.hxx>
463 #endif
464 #ifndef _SMART_COM_SUN_STAR_AWT_MOUSEEVENT_HXX_
465 #include <smart/com/sun/star/awt/MouseEvent.hxx>
466 #endif
467 #ifndef _SMART_COM_SUN_STAR_AWT_XTOPWINDOWLISTENER_HXX_
468 #include <smart/com/sun/star/awt/XTopWindowListener.hxx>
469 #endif
470 #ifndef _SMART_COM_SUN_STAR_AWT_PAINTEVENT_HXX_
471 #include <smart/com/sun/star/awt/PaintEvent.hxx>
472 #endif
473 #ifndef _SMART_COM_SUN_STAR_AWT_INPUTEVENT_HXX_
474 #include <smart/com/sun/star/awt/InputEvent.hxx>
475 #endif
476 #ifndef _SMART_COM_SUN_STAR_AWT_KEYGROUP_HXX_
477 #include <smart/com/sun/star/awt/KeyGroup.hxx>
478 #endif
479 #ifndef _SMART_COM_SUN_STAR_AWT_KEY_HXX_
480 #include <smart/com/sun/star/awt/Key.hxx>
481 #endif
482 #ifndef _SMART_COM_SUN_STAR_AWT_WINDOWEVENT_HXX_
483 #include <smart/com/sun/star/awt/WindowEvent.hxx>
484 #endif
485 #ifndef _SMART_COM_SUN_STAR_AWT_XMOUSELISTENER_HXX_
486 #include <smart/com/sun/star/awt/XMouseListener.hxx>
487 #endif
488 #ifndef _SMART_COM_SUN_STAR_AWT_KEYFUNCTION_HXX_
489 #include <smart/com/sun/star/awt/KeyFunction.hxx>
490 #endif
491 #ifndef _SMART_COM_SUN_STAR_AWT_FOCUSCHANGEREASON_HXX_
492 #include <smart/com/sun/star/awt/FocusChangeReason.hxx>
493 #endif
494 #ifndef _SMART_COM_SUN_STAR_AWT_MOUSEBUTTON_HXX_
495 #include <smart/com/sun/star/awt/MouseButton.hxx>
496 #endif
497 #ifndef _SMART_COM_SUN_STAR_AWT_XFOCUSLISTENER_HXX_
498 #include <smart/com/sun/star/awt/XFocusListener.hxx>
499 #endif
500 #ifndef _SMART_COM_SUN_STAR_AWT_XADJUSTMENTLISTENER_HXX_
501 #include <smart/com/sun/star/awt/XAdjustmentListener.hxx>
502 #endif
503 #ifndef _SMART_COM_SUN_STAR_AWT_XACTIONLISTENER_HXX_
504 #include <smart/com/sun/star/awt/XActionListener.hxx>
505 #endif
506 #ifndef _SMART_COM_SUN_STAR_AWT_XTEXTLISTENER_HXX_
507 #include <smart/com/sun/star/awt/XTextListener.hxx>
508 #endif
509 #ifndef _SMART_COM_SUN_STAR_AWT_XSPINLISTENER_HXX_
510 #include <smart/com/sun/star/awt/XSpinListener.hxx>
511 #endif
512 #ifndef _SMART_COM_SUN_STAR_AWT_XITEMLISTENER_HXX_
513 #include <smart/com/sun/star/awt/XItemListener.hxx>
514 #endif
515 #ifndef _SMART_COM_SUN_STAR_AWT_XVCLCONTAINERLISTENER_HXX_
516 #include <smart/com/sun/star/awt/XVclContainerListener.hxx>
517 #endif
518 #ifndef _SMART_COM_SUN_STAR_AWT_XFILEDIALOG_HXX_
519 #include <smart/com/sun/star/awt/XFileDialog.hxx>
520 #endif
521 #ifndef _SMART_COM_SUN_STAR_AWT_XTEXTCOMPONENT_HXX_
522 #include <smart/com/sun/star/awt/XTextComponent.hxx>
523 #endif
524 #ifndef _SMART_COM_SUN_STAR_AWT_XLISTBOX_HXX_
525 #include <smart/com/sun/star/awt/XListBox.hxx>
526 #endif
527 #ifndef _SMART_COM_SUN_STAR_AWT_XPROGRESSMONITOR_HXX_
528 #include <smart/com/sun/star/awt/XProgressMonitor.hxx>
529 #endif
530 #ifndef _SMART_COM_SUN_STAR_AWT_TEXTALIGN_HXX_
531 #include <smart/com/sun/star/awt/TextAlign.hxx>
532 #endif
533 #ifndef _SMART_COM_SUN_STAR_AWT_XSCROLLBAR_HXX_
534 #include <smart/com/sun/star/awt/XScrollBar.hxx>
535 #endif
536 #ifndef _SMART_COM_SUN_STAR_AWT_XVCLCONTAINERPEER_HXX_
537 #include <smart/com/sun/star/awt/XVclContainerPeer.hxx>
538 #endif
539 #ifndef _SMART_COM_SUN_STAR_AWT_XTABCONTROLLERMODEL_HXX_
540 #include <smart/com/sun/star/awt/XTabControllerModel.hxx>
541 #endif
542 #ifndef _SMART_COM_SUN_STAR_AWT_XMESSAGEBOX_HXX_
543 #include <smart/com/sun/star/awt/XMessageBox.hxx>
544 #endif
545 #ifndef _SMART_COM_SUN_STAR_AWT_XTEXTEDITFIELD_HXX_
546 #include <smart/com/sun/star/awt/XTextEditField.hxx>
547 #endif
548 #ifndef _SMART_COM_SUN_STAR_AWT_STYLE_HXX_
549 #include <smart/com/sun/star/awt/Style.hxx>
550 #endif
551 #ifndef _SMART_COM_SUN_STAR_AWT_XTIMEFIELD_HXX_
552 #include <smart/com/sun/star/awt/XTimeField.hxx>
553 #endif
554 #ifndef _SMART_COM_SUN_STAR_AWT_XVCLWINDOWPEER_HXX_
555 #include <smart/com/sun/star/awt/XVclWindowPeer.hxx>
556 #endif
557 #ifndef _SMART_COM_SUN_STAR_AWT_XCONTROLMODEL_HXX_
558 #include <smart/com/sun/star/awt/XControlModel.hxx>
559 #endif
560 #ifndef _SMART_COM_SUN_STAR_AWT_XSPINFIELD_HXX_
561 #include <smart/com/sun/star/awt/XSpinField.hxx>
562 #endif
563 #ifndef _SMART_COM_SUN_STAR_AWT_XUNOCONTROLCONTAINER_HXX_
564 #include <smart/com/sun/star/awt/XUnoControlContainer.hxx>
565 #endif
566 #ifndef _SMART_COM_SUN_STAR_AWT_XTEXTLAYOUTCONSTRAINS_HXX_
567 #include <smart/com/sun/star/awt/XTextLayoutConstrains.hxx>
568 #endif
569 #ifndef _SMART_COM_SUN_STAR_AWT_XNUMERICFIELD_HXX_
570 #include <smart/com/sun/star/awt/XNumericField.hxx>
571 #endif
572 #ifndef _SMART_COM_SUN_STAR_AWT_XBUTTON_HXX_
573 #include <smart/com/sun/star/awt/XButton.hxx>
574 #endif
575 #ifndef _SMART_COM_SUN_STAR_AWT_XTEXTAREA_HXX_
576 #include <smart/com/sun/star/awt/XTextArea.hxx>
577 #endif
578 #ifndef _SMART_COM_SUN_STAR_AWT_XIMAGEBUTTON_HXX_
579 #include <smart/com/sun/star/awt/XImageButton.hxx>
580 #endif
581 #ifndef _SMART_COM_SUN_STAR_AWT_XFIXEDTEXT_HXX_
582 #include <smart/com/sun/star/awt/XFixedText.hxx>
583 #endif
584 #ifndef _SMART_COM_SUN_STAR_AWT_XCONTROLCONTAINER_HXX_
585 #include <smart/com/sun/star/awt/XControlContainer.hxx>
586 #endif
587 #ifndef _SMART_COM_SUN_STAR_AWT_XDIALOG_HXX_
588 #include <smart/com/sun/star/awt/XDialog.hxx>
589 #endif
590 #ifndef _SMART_COM_SUN_STAR_AWT_SCROLLBARORIENTATION_HXX_
591 #include <smart/com/sun/star/awt/ScrollBarOrientation.hxx>
592 #endif
593 #ifndef _SMART_COM_SUN_STAR_AWT_XRADIOBUTTON_HXX_
594 #include <smart/com/sun/star/awt/XRadioButton.hxx>
595 #endif
596 #ifndef _SMART_COM_SUN_STAR_AWT_XCURRENCYFIELD_HXX_
597 #include <smart/com/sun/star/awt/XCurrencyField.hxx>
598 #endif
599 #ifndef _SMART_COM_SUN_STAR_AWT_XPATTERNFIELD_HXX_
600 #include <smart/com/sun/star/awt/XPatternField.hxx>
601 #endif
602 #ifndef _SMART_COM_SUN_STAR_AWT_VCLWINDOWPEERATTRIBUTE_HXX_
603 #include <smart/com/sun/star/awt/VclWindowPeerAttribute.hxx>
604 #endif
605 #ifndef _SMART_COM_SUN_STAR_AWT_XTABCONTROLLER_HXX_
606 #include <smart/com/sun/star/awt/XTabController.hxx>
607 #endif
608 #ifndef _SMART_COM_SUN_STAR_AWT_XVCLCONTAINER_HXX_
609 #include <smart/com/sun/star/awt/XVclContainer.hxx>
610 #endif
611 #ifndef _SMART_COM_SUN_STAR_AWT_XDATEFIELD_HXX_
612 #include <smart/com/sun/star/awt/XDateField.hxx>
613 #endif
614 #ifndef _SMART_COM_SUN_STAR_AWT_XCOMBOBOX_HXX_
615 #include <smart/com/sun/star/awt/XComboBox.hxx>
616 #endif
617 #ifndef _SMART_COM_SUN_STAR_AWT_XCONTROL_HXX_
618 #include <smart/com/sun/star/awt/XControl.hxx>
619 #endif
620 #ifndef _SMART_COM_SUN_STAR_AWT_XCHECKBOX_HXX_
621 #include <smart/com/sun/star/awt/XCheckBox.hxx>
622 #endif
623 #ifndef _SMART_COM_SUN_STAR_AWT_MESSAGEBOXCOMMAND_HXX_
624 #include <smart/com/sun/star/awt/MessageBoxCommand.hxx>
625 #endif
626 #ifndef _SMART_COM_SUN_STAR_AWT_XLAYOUTCONSTRAINS_HXX_
627 #include <smart/com/sun/star/awt/XLayoutConstrains.hxx>
628 #endif
629 #ifndef _SMART_COM_SUN_STAR_AWT_XPROGRESSBAR_HXX_
630 #include <smart/com/sun/star/awt/XProgressBar.hxx>
631 #endif
632 #ifndef _SMART_COM_SUN_STAR_AWT_SIMPLEFONTMETRIC_HXX_
633 #include <smart/com/sun/star/awt/SimpleFontMetric.hxx>
634 #endif
635 #ifndef _SMART_COM_SUN_STAR_AWT_FONTWEIGHT_HXX_
636 #include <smart/com/sun/star/awt/FontWeight.hxx>
637 #endif
638 #ifndef _SMART_COM_SUN_STAR_AWT_FONTSLANT_HXX_
639 #include <smart/com/sun/star/awt/FontSlant.hxx>
640 #endif
641 #ifndef _SMART_COM_SUN_STAR_AWT_CHARSET_HXX_
642 #include <smart/com/sun/star/awt/CharSet.hxx>
643 #endif
644 #ifndef _SMART_COM_SUN_STAR_AWT_FONTDESCRIPTOR_HXX_
645 #include <smart/com/sun/star/awt/FontDescriptor.hxx>
646 #endif
647 #ifndef _SMART_COM_SUN_STAR_AWT_FONTWIDTH_HXX_
648 #include <smart/com/sun/star/awt/FontWidth.hxx>
649 #endif
650 #ifndef _SMART_COM_SUN_STAR_AWT_XFONT_HXX_
651 #include <smart/com/sun/star/awt/XFont.hxx>
652 #endif
653 #ifndef _SMART_COM_SUN_STAR_AWT_FONTTYPE_HXX_
654 #include <smart/com/sun/star/awt/FontType.hxx>
655 #endif
656 #ifndef _SMART_COM_SUN_STAR_AWT_FONTUNDERLINE_HXX_
657 #include <smart/com/sun/star/awt/FontUnderline.hxx>
658 #endif
659 #ifndef _SMART_COM_SUN_STAR_AWT_FONTSTRIKEOUT_HXX_
660 #include <smart/com/sun/star/awt/FontStrikeout.hxx>
661 #endif
662 #ifndef _SMART_COM_SUN_STAR_AWT_FONTFAMILY_HXX_
663 #include <smart/com/sun/star/awt/FontFamily.hxx>
664 #endif
665 #ifndef _SMART_COM_SUN_STAR_AWT_FONTPITCH_HXX_
666 #include <smart/com/sun/star/awt/FontPitch.hxx>
667 #endif
668 #ifndef _SMART_COM_SUN_STAR_AWT_XTOPWINDOW_HXX_
669 #include <smart/com/sun/star/awt/XTopWindow.hxx>
670 #endif
671 #ifndef _SMART_COM_SUN_STAR_AWT_XWINDOW_HXX_
672 #include <smart/com/sun/star/awt/XWindow.hxx>
673 #endif
674 #ifndef _SMART_COM_SUN_STAR_AWT_POSSIZE_HXX_
675 #include <smart/com/sun/star/awt/PosSize.hxx>
676 #endif
677 #ifndef _SMART_COM_SUN_STAR_AWT_VCLCONTAINEREVENT_HXX_
678 #include <smart/com/sun/star/awt/VclContainerEvent.hxx>
679 #endif
680 #ifndef _SMART_COM_SUN_STAR_AWT_ITEMEVENT_HXX_
681 #include <smart/com/sun/star/awt/ItemEvent.hxx>
682 #endif
683 #ifndef _SMART_COM_SUN_STAR_AWT_SPINEVENT_HXX_
684 #include <smart/com/sun/star/awt/SpinEvent.hxx>
685 #endif
686 #ifndef _SMART_COM_SUN_STAR_AWT_TEXTEVENT_HXX_
687 #include <smart/com/sun/star/awt/TextEvent.hxx>
688 #endif
689 #ifndef _SMART_COM_SUN_STAR_AWT_ADJUSTMENTTYPE_HXX_
690 #include <smart/com/sun/star/awt/AdjustmentType.hxx>
691 #endif
692 #ifndef _SMART_COM_SUN_STAR_AWT_ACTIONEVENT_HXX_
693 #include <smart/com/sun/star/awt/ActionEvent.hxx>
694 #endif
695 #ifndef _SMART_COM_SUN_STAR_AWT_ADJUSTMENTEVENT_HXX_
696 #include <smart/com/sun/star/awt/AdjustmentEvent.hxx>
697 #endif
698 #ifndef _SMART_COM_SUN_STAR_AWT_RECTANGLE_HXX_
699 #include <smart/com/sun/star/awt/Rectangle.hxx>
700 #endif
701 #ifndef _SMART_COM_SUN_STAR_AWT_SELECTION_HXX_
702 #include <smart/com/sun/star/awt/Selection.hxx>
703 #endif
704 #ifndef _SMART_COM_SUN_STAR_AWT_SIZE_HXX_
705 #include <smart/com/sun/star/awt/Size.hxx>
706 #endif
707 #ifndef _SMART_COM_SUN_STAR_AWT_WINDOWDESCRIPTOR_HXX_
708 #include <smart/com/sun/star/awt/WindowDescriptor.hxx>
709 #endif
710 #ifndef _SMART_COM_SUN_STAR_AWT_INVALIDATESTYLE_HXX_
711 #include <smart/com/sun/star/awt/InvalidateStyle.hxx>
712 #endif
713 #ifndef _SMART_COM_SUN_STAR_AWT_XTOOLKIT_HXX_
714 #include <smart/com/sun/star/awt/XToolkit.hxx>
715 #endif
716 #ifndef _SMART_COM_SUN_STAR_AWT_XWINDOWPEER_HXX_
717 #include <smart/com/sun/star/awt/XWindowPeer.hxx>
718 #endif
719 #ifndef _SMART_COM_SUN_STAR_AWT_WINDOWCLASS_HXX_
720 #include <smart/com/sun/star/awt/WindowClass.hxx>
721 #endif
722 #ifndef _SMART_COM_SUN_STAR_AWT_XSYSTEMDEPENDENTWINDOWPEER_HXX_
723 #include <smart/com/sun/star/awt/XSystemDependentWindowPeer.hxx>
724 #endif
725 #ifndef _SMART_COM_SUN_STAR_AWT_WINDOWATTRIBUTE_HXX_
726 #include <smart/com/sun/star/awt/WindowAttribute.hxx>
727 #endif
728 #ifndef _SMART_COM_SUN_STAR_AWT_XPOINTER_HXX_
729 #include <smart/com/sun/star/awt/XPointer.hxx>
730 #endif
731 #ifndef _SMART_COM_SUN_STAR_AWT_SYSTEMPOINTER_HXX_
732 #include <smart/com/sun/star/awt/SystemPointer.hxx>
733 #endif
734 #ifndef _SMART_COM_SUN_STAR_AWT_XVIEW_HXX_
735 #include <smart/com/sun/star/awt/XView.hxx>
736 #endif
737 #include <usr/refl.hxx>
738 #include <sfx2/msg.hxx>
739 #include <svtools/itemset.hxx>
740 #include <sfx2/basedlgs.hxx>
741 #include <vcl/floatwin.hxx>
742 #include <vcl/dialog.hxx>
743 #include <vcl/window.hxx>
744 #include <sfx2/viewfrm.hxx>
745 #include <sfx2/frame.hxx>
746 #include <sfx2/objface.hxx>
747 #include <vcl/event.hxx>
748 #include <svtools/eitem.hxx>
749 #include <svtools/intitem.hxx>
750 #include <symbol.hxx>
751 #include <svtools/itempool.hxx>
752 #include <vcl/image.hxx>
753 #include <vcl/metric.hxx>
754 #include <sfx2/inimgr.hxx>
755 #include <node.hxx>
756 #include <tools/pstm.hxx>
757 #include <tools/table.hxx>
758 #include <sfx2/docfac.hxx>
759 #include <svtools/ownlist.hxx>
760 #include <sfx2/objsh.hxx>
761 #include <svtools/stritem.hxx>
762 #include <vcl/mapmod.hxx>
763 #include <sfx2/ipfrm.hxx>
764 #include <vcl/dialog.hxx>
765 #include <sfx2/dispatch.hxx>
766 #include <svtools/svstdarr.hxx>
767 #include <sfx2/bindings.hxx>
768 #include <dialog.hxx>
769 #include <vcl/button.hxx>
770 #include <vcl/symbol.hxx>
771 #include <sfx2/tabdlg.hxx>
772 #include <vcl/button.hxx>
773 #include <vcl/tabdlg.hxx>
774 #include <vcl/tabpage.hxx>
775 #include <vcl/tabctrl.hxx>
776 #include <vcl/group.hxx>
777 #include <svx/optgenrl.hxx>
778 #include <vcl/fixed.hxx>
779 #include <vcl/edit.hxx>
780 #include <vcl/group.hxx>
781 #include <document.hxx>
782 #include <vcl/field.hxx>
783 #include <vcl/spinfld.hxx>
784 #include <vcl/menubtn.hxx>
785 #include <vcl/scrbar.hxx>
786 #include <svtools/ctrlbox.hxx>
787 #include <vcl/lstbox.hxx>
788 #include <vcl/virdev.hxx>
789 #include <vcl/combobox.hxx>
790 #include <vcl/field.hxx>
791 #include <svtools/ctrltool.hxx>
792 #include <sfx2/interno.hxx>
793 #include <sfx2/sfxdefs.hxx>
794 #include <sfx2/childwin.hxx>
795 #include <sfx2/chalign.hxx>
796 #include <vcl/floatwin.hxx>
797 #include <sot/storage.hxx>
798 #include <rsc/rscsfx.hxx>
799 #include <vcl/msgbox.hxx>
800 #include <vcl/btndlg.hxx>
801 #include <uno/uno.h>
802 #include <uno/string.h>
803 #include <uno/sequence.h>
804 #include <uno/any.h>
805 #include <uno/exceptn.h>
806 #include <uno/intrface.h>
807 #include <uno/factory.h>
808 #include <uno/api.h>
809 #include <svx/svxids.hrc>
810 #include <view.hxx>
811 #include <sfx2/dockwin.hxx>
812 #include <vcl/dockwin.hxx>
813 #include <sfx2/viewsh.hxx>
814 #include <sfx2/clientsh.hxx>
815 #include <svtools/scrwin.hxx>
816 #include <vcl/scrbar.hxx>
817 #include <sfx2/ctrlitem.hxx>
818 #include <sfx2/viewfac.hxx>
819 #include <edit.hxx>
820 #include <svx/editdata.hxx>
821 #include <toolbox.hxx>
822 #include <vcl/toolbox.hxx>
823 #include <vcl/dockwin.hxx>
824 #include <smslots.hxx>
825 #include <svtools/undo.hxx>
826 #include <sfx2/request.hxx>
827 #include <svtools/whiter.hxx>
828 #include <vcl/prntypes.hxx>
829 #include <vcl/jobset.hxx>
830 #include <vcl/gdimtf.hxx>
831 #include <sot/exchange.hxx>
832 #include <vcl/wrkwin.hxx>
833 #include <tools/sstring.hxx>
834 #include <action.hxx>
835 #include <sfx2/filedlg.hxx>
836 #include <sfx2/iodlg.hxx>