1 /*************************************************************************
3 * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
5 * Copyright 2008 by Sun Microsystems, Inc.
7 * OpenOffice.org - a multi-platform office productivity suite
9 * $RCSfile: math_pch.cxx,v $
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"
36 #include "starmath.hrc"
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>
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>
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>
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>
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>
165 #include <tools/stack.hxx>
167 #include <config.hxx>
168 #include <svtools/confitem.hxx>
169 #include <tools/poly.hxx>
170 #include <svx/xpoly.hxx>
172 #include <vcl/outdev.hxx>
173 #ifndef _SMART_COM_SUN_STAR_FRAME_XDISPATCHPROVIDERINTERCEPTOR_HXX_
174 #include <smart/com/sun/star/frame/XDispatchProviderInterceptor.hxx>
176 #ifndef _SMART_COM_SUN_STAR_FRAME_XDISPATCH_HXX_
177 #include <smart/com/sun/star/frame/XDispatch.hxx>
179 #ifndef _SMART_COM_SUN_STAR_FRAME_XDISPATCHPROVIDER_HXX_
180 #include <smart/com/sun/star/frame/XDispatchProvider.hxx>
182 #ifndef _SMART_COM_SUN_STAR_FRAME_XSTATUSLISTENER_HXX_
183 #include <smart/com/sun/star/frame/XStatusListener.hxx>
185 #ifndef _SMART_COM_SUN_STAR_FRAME_FRAMESEARCHFLAG_HXX_
186 #include <smart/com/sun/star/frame/FrameSearchFlag.hxx>
188 #ifndef _SMART_COM_SUN_STAR_FRAME_XDISPATCHPROVIDERINTERCEPTION_HXX_
189 #include <smart/com/sun/star/frame/XDispatchProviderInterception.hxx>
191 #ifndef _SMART_COM_SUN_STAR_FRAME_FEATURESTATEEVENT_HXX_
192 #include <smart/com/sun/star/frame/FeatureStateEvent.hxx>
194 #ifndef _SMART_COM_SUN_STAR_FRAME_DISPATCHDESCRIPTOR_HXX_
195 #include <smart/com/sun/star/frame/DispatchDescriptor.hxx>
197 #ifndef _SMART_COM_SUN_STAR_FRAME_XFRAMEACTIONLISTENER_HXX_
198 #include <smart/com/sun/star/frame/XFrameActionListener.hxx>
200 #ifndef _SMART_COM_SUN_STAR_FRAME_XCOMPONENTLOADER_HXX_
201 #include <smart/com/sun/star/frame/XComponentLoader.hxx>
203 #ifndef _SMART_COM_SUN_STAR_FRAME_XFRAME_HXX_
204 #include <smart/com/sun/star/frame/XFrame.hxx>
206 #ifndef _SMART_COM_SUN_STAR_FRAME_FRAMEACTIONEVENT_HXX_
207 #include <smart/com/sun/star/frame/FrameActionEvent.hxx>
209 #ifndef _SMART_COM_SUN_STAR_FRAME_FRAMEACTION_HXX_
210 #include <smart/com/sun/star/frame/FrameAction.hxx>
212 #ifndef _SMART_COM_SUN_STAR_UTIL_XURLTRANSFORMER_HXX_
213 #include <smart/com/sun/star/util/XURLTransformer.hxx>
215 #ifndef _SMART_COM_SUN_STAR_TASK_XSTATUSINDICATORFACTORY_HXX_
216 #include <smart/com/sun/star/task/XStatusIndicatorFactory.hxx>
218 #ifndef _SMART_COM_SUN_STAR_TASK_XSTATUSINDICATORSUPPLIER_HXX_
219 #include <smart/com/sun/star/task/XStatusIndicatorSupplier.hxx>
221 #ifndef _SMART_COM_SUN_STAR_TASK_XSTATUSINDICATOR_HXX_
222 #include <smart/com/sun/star/task/XStatusIndicator.hxx>
224 #ifndef _SMART_COM_SUN_STAR_FRAME_XBROWSEHISTORYREGISTRY_HXX_
225 #include <smart/com/sun/star/frame/XBrowseHistoryRegistry.hxx>
227 #ifndef _SMART_COM_SUN_STAR_IO_BUFFERSIZEEXCEEDEDEXCEPTION_HXX_
228 #include <smart/com/sun/star/io/BufferSizeExceededException.hxx>
230 #ifndef _SMART_COM_SUN_STAR_IO_NOTCONNECTEDEXCEPTION_HXX_
231 #include <smart/com/sun/star/io/NotConnectedException.hxx>
233 #ifndef _SMART_COM_SUN_STAR_IO_IOEXCEPTION_HXX_
234 #include <smart/com/sun/star/io/IOException.hxx>
236 #ifndef _SMART_COM_SUN_STAR_IO_UNEXPECTEDEOFEXCEPTION_HXX_
237 #include <smart/com/sun/star/io/UnexpectedEOFException.hxx>
239 #ifndef _SMART_COM_SUN_STAR_IO_WRONGFORMATEXCEPTION_HXX_
240 #include <smart/com/sun/star/io/WrongFormatException.hxx>
242 #ifndef _SMART_COM_SUN_STAR_LANG_SERVICENOTREGISTEREDEXCEPTION_HXX_
243 #include <smart/com/sun/star/lang/ServiceNotRegisteredException.hxx>
245 #ifndef _SMART_COM_SUN_STAR_LANG_NULLPOINTEREXCEPTION_HXX_
246 #include <smart/com/sun/star/lang/NullPointerException.hxx>
248 #ifndef _SMART_COM_SUN_STAR_LANG_CLASSNOTFOUNDEXCEPTION_HXX_
249 #include <smart/com/sun/star/lang/ClassNotFoundException.hxx>
251 #ifndef _SMART_COM_SUN_STAR_LANG_NOSUCHMETHODEXCEPTION_HXX_
252 #include <smart/com/sun/star/lang/NoSuchMethodException.hxx>
254 #ifndef _SMART_COM_SUN_STAR_LANG_SECURITYEXCEPTION_HXX_
255 #include <smart/com/sun/star/lang/SecurityException.hxx>
257 #ifndef _SMART_COM_SUN_STAR_LANG_NOSUCHFIELDEXCEPTION_HXX_
258 #include <smart/com/sun/star/lang/NoSuchFieldException.hxx>
260 #ifndef _SMART_COM_SUN_STAR_LANG_DISPOSEDEXCEPTION_HXX_
261 #include <smart/com/sun/star/lang/DisposedException.hxx>
263 #ifndef _SMART_COM_SUN_STAR_LANG_ARRAYINDEXOUTOFBOUNDSEXCEPTION_HXX_
264 #include <smart/com/sun/star/lang/ArrayIndexOutOfBoundsException.hxx>
266 #ifndef _SMART_COM_SUN_STAR_LANG_ILLEGALACCESSEXCEPTION_HXX_
267 #include <smart/com/sun/star/lang/IllegalAccessException.hxx>
269 #ifndef _SMART_COM_SUN_STAR_LANG_INDEXOUTOFBOUNDSEXCEPTION_HXX_
270 #include <smart/com/sun/star/lang/IndexOutOfBoundsException.hxx>
272 #ifndef _SMART_COM_SUN_STAR_LANG_ILLEGALARGUMENTEXCEPTION_HXX_
273 #include <smart/com/sun/star/lang/IllegalArgumentException.hxx>
275 #ifndef _SMART_COM_SUN_STAR_LANG_NOSUPPORTEXCEPTION_HXX_
276 #include <smart/com/sun/star/lang/NoSupportException.hxx>
278 #ifndef _SMART_COM_SUN_STAR_LANG_WRAPPEDTARGETEXCEPTION_HXX_
279 #include <smart/com/sun/star/lang/WrappedTargetException.hxx>
281 #ifndef _SMART_COM_SUN_STAR_REFLECTION_PARAMINFO_HXX_
282 #include <smart/com/sun/star/reflection/ParamInfo.hxx>
284 #ifndef _SMART_COM_SUN_STAR_REFLECTION_XIDLARRAY_HXX_
285 #include <smart/com/sun/star/reflection/XIdlArray.hxx>
287 #ifndef _SMART_COM_SUN_STAR_REFLECTION_XIDLCLASSPROVIDER_HXX_
288 #include <smart/com/sun/star/reflection/XIdlClassProvider.hxx>
290 #ifndef _SMART_COM_SUN_STAR_REFLECTION_FIELDACCESSMODE_HXX_
291 #include <smart/com/sun/star/reflection/FieldAccessMode.hxx>
293 #ifndef _SMART_COM_SUN_STAR_REFLECTION_XIDLCLASS_HXX_
294 #include <smart/com/sun/star/reflection/XIdlClass.hxx>
296 #ifndef _SMART_COM_SUN_STAR_REFLECTION_XIDLFIELD_HXX_
297 #include <smart/com/sun/star/reflection/XIdlField.hxx>
299 #ifndef _SMART_COM_SUN_STAR_REFLECTION_PARAMMODE_HXX_
300 #include <smart/com/sun/star/reflection/ParamMode.hxx>
302 #ifndef _SMART_COM_SUN_STAR_REFLECTION_METHODMODE_HXX_
303 #include <smart/com/sun/star/reflection/MethodMode.hxx>
305 #ifndef _SMART_COM_SUN_STAR_REFLECTION_XIDLMEMBER_HXX_
306 #include <smart/com/sun/star/reflection/XIdlMember.hxx>
308 #ifndef _SMART_COM_SUN_STAR_REFLECTION_XIDLREFLECTION_HXX_
309 #include <smart/com/sun/star/reflection/XIdlReflection.hxx>
311 #ifndef _SMART_COM_SUN_STAR_REFLECTION_XIDLMETHOD_HXX_
312 #include <smart/com/sun/star/reflection/XIdlMethod.hxx>
314 #ifndef _SMART_COM_SUN_STAR_REFLECTION_INVOCATIONTARGETEXCEPTION_HXX_
315 #include <smart/com/sun/star/reflection/InvocationTargetException.hxx>
317 #ifndef _SMART_COM_SUN_STAR_BEANS_PROPERTYVALUES_HXX_
318 #include <smart/com/sun/star/beans/PropertyValues.hxx>
320 #ifndef _SMART_COM_SUN_STAR_BEANS_XPROPERTYSET_HXX_
321 #include <smart/com/sun/star/beans/XPropertySet.hxx>
323 #ifndef _SMART_COM_SUN_STAR_BEANS_PROPERTYVALUE_HXX_
324 #include <smart/com/sun/star/beans/PropertyValue.hxx>
326 #ifndef _SMART_COM_SUN_STAR_BEANS_PROPERTYSTATE_HXX_
327 #include <smart/com/sun/star/beans/PropertyState.hxx>
329 #ifndef _SMART_COM_SUN_STAR_BEANS_XPROPERTYSETINFO_HXX_
330 #include <smart/com/sun/star/beans/XPropertySetInfo.hxx>
332 #ifndef _SMART_COM_SUN_STAR_BEANS_XMULTIPROPERTYSET_HXX_
333 #include <smart/com/sun/star/beans/XMultiPropertySet.hxx>
335 #ifndef _SMART_COM_SUN_STAR_BEANS_XFASTPROPERTYSET_HXX_
336 #include <smart/com/sun/star/beans/XFastPropertySet.hxx>
338 #ifndef _SMART_COM_SUN_STAR_BEANS_XVETOABLECHANGELISTENER_HXX_
339 #include <smart/com/sun/star/beans/XVetoableChangeListener.hxx>
341 #ifndef _SMART_COM_SUN_STAR_BEANS_XPROPERTYSTATE_HXX_
342 #include <smart/com/sun/star/beans/XPropertyState.hxx>
344 #ifndef _SMART_COM_SUN_STAR_BEANS_XPROPERTYSTATECHANGELISTENER_HXX_
345 #include <smart/com/sun/star/beans/XPropertyStateChangeListener.hxx>
347 #ifndef _SMART_COM_SUN_STAR_BEANS_PROPERTYATTRIBUTE_HXX_
348 #include <smart/com/sun/star/beans/PropertyAttribute.hxx>
350 #ifndef _SMART_COM_SUN_STAR_BEANS_XPROPERTIESCHANGELISTENER_HXX_
351 #include <smart/com/sun/star/beans/XPropertiesChangeListener.hxx>
353 #ifndef _SMART_COM_SUN_STAR_BEANS_XPROPERTYCHANGELISTENER_HXX_
354 #include <smart/com/sun/star/beans/XPropertyChangeListener.hxx>
356 #ifndef _SMART_COM_SUN_STAR_BEANS_XPROPERTYACCESS_HXX_
357 #include <smart/com/sun/star/beans/XPropertyAccess.hxx>
359 #ifndef _SMART_COM_SUN_STAR_BEANS_XPROPERTYCONTAINER_HXX_
360 #include <smart/com/sun/star/beans/XPropertyContainer.hxx>
362 #ifndef _SMART_COM_SUN_STAR_BEANS_PROPERTYSTATECHANGEEVENT_HXX_
363 #include <smart/com/sun/star/beans/PropertyStateChangeEvent.hxx>
365 #ifndef _SMART_COM_SUN_STAR_BEANS_PROPERTYCHANGEEVENT_HXX_
366 #include <smart/com/sun/star/beans/PropertyChangeEvent.hxx>
368 #ifndef _SMART_COM_SUN_STAR_BEANS_UNKNOWNPROPERTYEXCEPTION_HXX_
369 #include <smart/com/sun/star/beans/UnknownPropertyException.hxx>
371 #ifndef _SMART_COM_SUN_STAR_BEANS_INTROSPECTIONEXCEPTION_HXX_
372 #include <smart/com/sun/star/beans/IntrospectionException.hxx>
374 #ifndef _SMART_COM_SUN_STAR_BEANS_PROPERTYEXISTEXCEPTION_HXX_
375 #include <smart/com/sun/star/beans/PropertyExistException.hxx>
377 #ifndef _SMART_COM_SUN_STAR_BEANS_ILLEGALTYPEEXCEPTION_HXX_
378 #include <smart/com/sun/star/beans/IllegalTypeException.hxx>
380 #ifndef _SMART_COM_SUN_STAR_BEANS_PROPERTYVETOEXCEPTION_HXX_
381 #include <smart/com/sun/star/beans/PropertyVetoException.hxx>
383 #ifndef _SMART_COM_SUN_STAR_CONTAINER_XENUMERATIONACCESS_HXX_
384 #include <smart/com/sun/star/container/XEnumerationAccess.hxx>
386 #ifndef _SMART_COM_SUN_STAR_CONTAINER_XHIERARCHICALNAMEACCESS_HXX_
387 #include <smart/com/sun/star/container/XHierarchicalNameAccess.hxx>
389 #ifndef _SMART_COM_SUN_STAR_CONTAINER_XNAMEACCESS_HXX_
390 #include <smart/com/sun/star/container/XNameAccess.hxx>
392 #ifndef _SMART_COM_SUN_STAR_CONTAINER_XCONTENTENUMERATIONACCESS_HXX_
393 #include <smart/com/sun/star/container/XContentEnumerationAccess.hxx>
395 #ifndef _SMART_COM_SUN_STAR_CONTAINER_XENUMERATION_HXX_
396 #include <smart/com/sun/star/container/XEnumeration.hxx>
398 #ifndef _SMART_COM_SUN_STAR_CONTAINER_XELEMENTACCESS_HXX_
399 #include <smart/com/sun/star/container/XElementAccess.hxx>
401 #ifndef _SMART_COM_SUN_STAR_CONTAINER_XINDEXACCESS_HXX_
402 #include <smart/com/sun/star/container/XIndexAccess.hxx>
404 #ifndef _SMART_COM_SUN_STAR_LANG_XEVENTLISTENER_HXX_
405 #include <smart/com/sun/star/lang/XEventListener.hxx>
407 #ifndef _SMART_COM_SUN_STAR_LANG_EVENTOBJECT_HXX_
408 #include <smart/com/sun/star/lang/EventObject.hxx>
410 #ifndef _SMART_COM_SUN_STAR_SCRIPT_XALLLISTENERADAPTERSERVICE_HXX_
411 #include <smart/com/sun/star/script/XAllListenerAdapterService.hxx>
413 #ifndef _SMART_COM_SUN_STAR_SCRIPT_XALLLISTENER_HXX_
414 #include <smart/com/sun/star/script/XAllListener.hxx>
416 #ifndef _SMART_COM_SUN_STAR_SCRIPT_ALLEVENTOBJECT_HXX_
417 #include <smart/com/sun/star/script/AllEventObject.hxx>
419 #ifndef _SMART_COM_SUN_STAR_CONTAINER_XCOMPONENTENUMERATION_HXX_
420 #include <smart/com/sun/star/container/XComponentEnumeration.hxx>
422 #ifndef _SMART_COM_SUN_STAR_LANG_XCOMPONENT_HXX_
423 #include <smart/com/sun/star/lang/XComponent.hxx>
425 #ifndef _SMART_COM_SUN_STAR_CONTAINER_XCOMPONENTENUMERATIONACCESS_HXX_
426 #include <smart/com/sun/star/container/XComponentEnumerationAccess.hxx>
428 #ifndef _SMART_COM_SUN_STAR_LANG_LISTENEREXISTEXCEPTION_HXX_
429 #include <smart/com/sun/star/lang/ListenerExistException.hxx>
431 #ifndef _SMART_COM_SUN_STAR_CONTAINER_ELEMENTEXISTEXCEPTION_HXX_
432 #include <smart/com/sun/star/container/ElementExistException.hxx>
434 #ifndef _SMART_COM_SUN_STAR_LANG_INVALIDLISTENEREXCEPTION_HXX_
435 #include <smart/com/sun/star/lang/InvalidListenerException.hxx>
437 #ifndef _SMART_COM_SUN_STAR_CONTAINER_NOSUCHELEMENTEXCEPTION_HXX_
438 #include <smart/com/sun/star/container/NoSuchElementException.hxx>
440 #ifndef _SMART_COM_SUN_STAR_AWT_XKEYLISTENER_HXX_
441 #include <smart/com/sun/star/awt/XKeyListener.hxx>
443 #ifndef _SMART_COM_SUN_STAR_AWT_XPAINTLISTENER_HXX_
444 #include <smart/com/sun/star/awt/XPaintListener.hxx>
446 #ifndef _SMART_COM_SUN_STAR_AWT_KEYEVENT_HXX_
447 #include <smart/com/sun/star/awt/KeyEvent.hxx>
449 #ifndef _SMART_COM_SUN_STAR_AWT_KEYMODIFIER_HXX_
450 #include <smart/com/sun/star/awt/KeyModifier.hxx>
452 #ifndef _SMART_COM_SUN_STAR_AWT_XMOUSEMOTIONLISTENER_HXX_
453 #include <smart/com/sun/star/awt/XMouseMotionListener.hxx>
455 #ifndef _SMART_COM_SUN_STAR_AWT_FOCUSEVENT_HXX_
456 #include <smart/com/sun/star/awt/FocusEvent.hxx>
458 #ifndef _SMART_COM_SUN_STAR_AWT_XWINDOWLISTENER_HXX_
459 #include <smart/com/sun/star/awt/XWindowListener.hxx>
461 #ifndef _SMART_COM_SUN_STAR_AWT_XACTIVATELISTENER_HXX_
462 #include <smart/com/sun/star/awt/XActivateListener.hxx>
464 #ifndef _SMART_COM_SUN_STAR_AWT_MOUSEEVENT_HXX_
465 #include <smart/com/sun/star/awt/MouseEvent.hxx>
467 #ifndef _SMART_COM_SUN_STAR_AWT_XTOPWINDOWLISTENER_HXX_
468 #include <smart/com/sun/star/awt/XTopWindowListener.hxx>
470 #ifndef _SMART_COM_SUN_STAR_AWT_PAINTEVENT_HXX_
471 #include <smart/com/sun/star/awt/PaintEvent.hxx>
473 #ifndef _SMART_COM_SUN_STAR_AWT_INPUTEVENT_HXX_
474 #include <smart/com/sun/star/awt/InputEvent.hxx>
476 #ifndef _SMART_COM_SUN_STAR_AWT_KEYGROUP_HXX_
477 #include <smart/com/sun/star/awt/KeyGroup.hxx>
479 #ifndef _SMART_COM_SUN_STAR_AWT_KEY_HXX_
480 #include <smart/com/sun/star/awt/Key.hxx>
482 #ifndef _SMART_COM_SUN_STAR_AWT_WINDOWEVENT_HXX_
483 #include <smart/com/sun/star/awt/WindowEvent.hxx>
485 #ifndef _SMART_COM_SUN_STAR_AWT_XMOUSELISTENER_HXX_
486 #include <smart/com/sun/star/awt/XMouseListener.hxx>
488 #ifndef _SMART_COM_SUN_STAR_AWT_KEYFUNCTION_HXX_
489 #include <smart/com/sun/star/awt/KeyFunction.hxx>
491 #ifndef _SMART_COM_SUN_STAR_AWT_FOCUSCHANGEREASON_HXX_
492 #include <smart/com/sun/star/awt/FocusChangeReason.hxx>
494 #ifndef _SMART_COM_SUN_STAR_AWT_MOUSEBUTTON_HXX_
495 #include <smart/com/sun/star/awt/MouseButton.hxx>
497 #ifndef _SMART_COM_SUN_STAR_AWT_XFOCUSLISTENER_HXX_
498 #include <smart/com/sun/star/awt/XFocusListener.hxx>
500 #ifndef _SMART_COM_SUN_STAR_AWT_XADJUSTMENTLISTENER_HXX_
501 #include <smart/com/sun/star/awt/XAdjustmentListener.hxx>
503 #ifndef _SMART_COM_SUN_STAR_AWT_XACTIONLISTENER_HXX_
504 #include <smart/com/sun/star/awt/XActionListener.hxx>
506 #ifndef _SMART_COM_SUN_STAR_AWT_XTEXTLISTENER_HXX_
507 #include <smart/com/sun/star/awt/XTextListener.hxx>
509 #ifndef _SMART_COM_SUN_STAR_AWT_XSPINLISTENER_HXX_
510 #include <smart/com/sun/star/awt/XSpinListener.hxx>
512 #ifndef _SMART_COM_SUN_STAR_AWT_XITEMLISTENER_HXX_
513 #include <smart/com/sun/star/awt/XItemListener.hxx>
515 #ifndef _SMART_COM_SUN_STAR_AWT_XVCLCONTAINERLISTENER_HXX_
516 #include <smart/com/sun/star/awt/XVclContainerListener.hxx>
518 #ifndef _SMART_COM_SUN_STAR_AWT_XFILEDIALOG_HXX_
519 #include <smart/com/sun/star/awt/XFileDialog.hxx>
521 #ifndef _SMART_COM_SUN_STAR_AWT_XTEXTCOMPONENT_HXX_
522 #include <smart/com/sun/star/awt/XTextComponent.hxx>
524 #ifndef _SMART_COM_SUN_STAR_AWT_XLISTBOX_HXX_
525 #include <smart/com/sun/star/awt/XListBox.hxx>
527 #ifndef _SMART_COM_SUN_STAR_AWT_XPROGRESSMONITOR_HXX_
528 #include <smart/com/sun/star/awt/XProgressMonitor.hxx>
530 #ifndef _SMART_COM_SUN_STAR_AWT_TEXTALIGN_HXX_
531 #include <smart/com/sun/star/awt/TextAlign.hxx>
533 #ifndef _SMART_COM_SUN_STAR_AWT_XSCROLLBAR_HXX_
534 #include <smart/com/sun/star/awt/XScrollBar.hxx>
536 #ifndef _SMART_COM_SUN_STAR_AWT_XVCLCONTAINERPEER_HXX_
537 #include <smart/com/sun/star/awt/XVclContainerPeer.hxx>
539 #ifndef _SMART_COM_SUN_STAR_AWT_XTABCONTROLLERMODEL_HXX_
540 #include <smart/com/sun/star/awt/XTabControllerModel.hxx>
542 #ifndef _SMART_COM_SUN_STAR_AWT_XMESSAGEBOX_HXX_
543 #include <smart/com/sun/star/awt/XMessageBox.hxx>
545 #ifndef _SMART_COM_SUN_STAR_AWT_XTEXTEDITFIELD_HXX_
546 #include <smart/com/sun/star/awt/XTextEditField.hxx>
548 #ifndef _SMART_COM_SUN_STAR_AWT_STYLE_HXX_
549 #include <smart/com/sun/star/awt/Style.hxx>
551 #ifndef _SMART_COM_SUN_STAR_AWT_XTIMEFIELD_HXX_
552 #include <smart/com/sun/star/awt/XTimeField.hxx>
554 #ifndef _SMART_COM_SUN_STAR_AWT_XVCLWINDOWPEER_HXX_
555 #include <smart/com/sun/star/awt/XVclWindowPeer.hxx>
557 #ifndef _SMART_COM_SUN_STAR_AWT_XCONTROLMODEL_HXX_
558 #include <smart/com/sun/star/awt/XControlModel.hxx>
560 #ifndef _SMART_COM_SUN_STAR_AWT_XSPINFIELD_HXX_
561 #include <smart/com/sun/star/awt/XSpinField.hxx>
563 #ifndef _SMART_COM_SUN_STAR_AWT_XUNOCONTROLCONTAINER_HXX_
564 #include <smart/com/sun/star/awt/XUnoControlContainer.hxx>
566 #ifndef _SMART_COM_SUN_STAR_AWT_XTEXTLAYOUTCONSTRAINS_HXX_
567 #include <smart/com/sun/star/awt/XTextLayoutConstrains.hxx>
569 #ifndef _SMART_COM_SUN_STAR_AWT_XNUMERICFIELD_HXX_
570 #include <smart/com/sun/star/awt/XNumericField.hxx>
572 #ifndef _SMART_COM_SUN_STAR_AWT_XBUTTON_HXX_
573 #include <smart/com/sun/star/awt/XButton.hxx>
575 #ifndef _SMART_COM_SUN_STAR_AWT_XTEXTAREA_HXX_
576 #include <smart/com/sun/star/awt/XTextArea.hxx>
578 #ifndef _SMART_COM_SUN_STAR_AWT_XIMAGEBUTTON_HXX_
579 #include <smart/com/sun/star/awt/XImageButton.hxx>
581 #ifndef _SMART_COM_SUN_STAR_AWT_XFIXEDTEXT_HXX_
582 #include <smart/com/sun/star/awt/XFixedText.hxx>
584 #ifndef _SMART_COM_SUN_STAR_AWT_XCONTROLCONTAINER_HXX_
585 #include <smart/com/sun/star/awt/XControlContainer.hxx>
587 #ifndef _SMART_COM_SUN_STAR_AWT_XDIALOG_HXX_
588 #include <smart/com/sun/star/awt/XDialog.hxx>
590 #ifndef _SMART_COM_SUN_STAR_AWT_SCROLLBARORIENTATION_HXX_
591 #include <smart/com/sun/star/awt/ScrollBarOrientation.hxx>
593 #ifndef _SMART_COM_SUN_STAR_AWT_XRADIOBUTTON_HXX_
594 #include <smart/com/sun/star/awt/XRadioButton.hxx>
596 #ifndef _SMART_COM_SUN_STAR_AWT_XCURRENCYFIELD_HXX_
597 #include <smart/com/sun/star/awt/XCurrencyField.hxx>
599 #ifndef _SMART_COM_SUN_STAR_AWT_XPATTERNFIELD_HXX_
600 #include <smart/com/sun/star/awt/XPatternField.hxx>
602 #ifndef _SMART_COM_SUN_STAR_AWT_VCLWINDOWPEERATTRIBUTE_HXX_
603 #include <smart/com/sun/star/awt/VclWindowPeerAttribute.hxx>
605 #ifndef _SMART_COM_SUN_STAR_AWT_XTABCONTROLLER_HXX_
606 #include <smart/com/sun/star/awt/XTabController.hxx>
608 #ifndef _SMART_COM_SUN_STAR_AWT_XVCLCONTAINER_HXX_
609 #include <smart/com/sun/star/awt/XVclContainer.hxx>
611 #ifndef _SMART_COM_SUN_STAR_AWT_XDATEFIELD_HXX_
612 #include <smart/com/sun/star/awt/XDateField.hxx>
614 #ifndef _SMART_COM_SUN_STAR_AWT_XCOMBOBOX_HXX_
615 #include <smart/com/sun/star/awt/XComboBox.hxx>
617 #ifndef _SMART_COM_SUN_STAR_AWT_XCONTROL_HXX_
618 #include <smart/com/sun/star/awt/XControl.hxx>
620 #ifndef _SMART_COM_SUN_STAR_AWT_XCHECKBOX_HXX_
621 #include <smart/com/sun/star/awt/XCheckBox.hxx>
623 #ifndef _SMART_COM_SUN_STAR_AWT_MESSAGEBOXCOMMAND_HXX_
624 #include <smart/com/sun/star/awt/MessageBoxCommand.hxx>
626 #ifndef _SMART_COM_SUN_STAR_AWT_XLAYOUTCONSTRAINS_HXX_
627 #include <smart/com/sun/star/awt/XLayoutConstrains.hxx>
629 #ifndef _SMART_COM_SUN_STAR_AWT_XPROGRESSBAR_HXX_
630 #include <smart/com/sun/star/awt/XProgressBar.hxx>
632 #ifndef _SMART_COM_SUN_STAR_AWT_SIMPLEFONTMETRIC_HXX_
633 #include <smart/com/sun/star/awt/SimpleFontMetric.hxx>
635 #ifndef _SMART_COM_SUN_STAR_AWT_FONTWEIGHT_HXX_
636 #include <smart/com/sun/star/awt/FontWeight.hxx>
638 #ifndef _SMART_COM_SUN_STAR_AWT_FONTSLANT_HXX_
639 #include <smart/com/sun/star/awt/FontSlant.hxx>
641 #ifndef _SMART_COM_SUN_STAR_AWT_CHARSET_HXX_
642 #include <smart/com/sun/star/awt/CharSet.hxx>
644 #ifndef _SMART_COM_SUN_STAR_AWT_FONTDESCRIPTOR_HXX_
645 #include <smart/com/sun/star/awt/FontDescriptor.hxx>
647 #ifndef _SMART_COM_SUN_STAR_AWT_FONTWIDTH_HXX_
648 #include <smart/com/sun/star/awt/FontWidth.hxx>
650 #ifndef _SMART_COM_SUN_STAR_AWT_XFONT_HXX_
651 #include <smart/com/sun/star/awt/XFont.hxx>
653 #ifndef _SMART_COM_SUN_STAR_AWT_FONTTYPE_HXX_
654 #include <smart/com/sun/star/awt/FontType.hxx>
656 #ifndef _SMART_COM_SUN_STAR_AWT_FONTUNDERLINE_HXX_
657 #include <smart/com/sun/star/awt/FontUnderline.hxx>
659 #ifndef _SMART_COM_SUN_STAR_AWT_FONTSTRIKEOUT_HXX_
660 #include <smart/com/sun/star/awt/FontStrikeout.hxx>
662 #ifndef _SMART_COM_SUN_STAR_AWT_FONTFAMILY_HXX_
663 #include <smart/com/sun/star/awt/FontFamily.hxx>
665 #ifndef _SMART_COM_SUN_STAR_AWT_FONTPITCH_HXX_
666 #include <smart/com/sun/star/awt/FontPitch.hxx>
668 #ifndef _SMART_COM_SUN_STAR_AWT_XTOPWINDOW_HXX_
669 #include <smart/com/sun/star/awt/XTopWindow.hxx>
671 #ifndef _SMART_COM_SUN_STAR_AWT_XWINDOW_HXX_
672 #include <smart/com/sun/star/awt/XWindow.hxx>
674 #ifndef _SMART_COM_SUN_STAR_AWT_POSSIZE_HXX_
675 #include <smart/com/sun/star/awt/PosSize.hxx>
677 #ifndef _SMART_COM_SUN_STAR_AWT_VCLCONTAINEREVENT_HXX_
678 #include <smart/com/sun/star/awt/VclContainerEvent.hxx>
680 #ifndef _SMART_COM_SUN_STAR_AWT_ITEMEVENT_HXX_
681 #include <smart/com/sun/star/awt/ItemEvent.hxx>
683 #ifndef _SMART_COM_SUN_STAR_AWT_SPINEVENT_HXX_
684 #include <smart/com/sun/star/awt/SpinEvent.hxx>
686 #ifndef _SMART_COM_SUN_STAR_AWT_TEXTEVENT_HXX_
687 #include <smart/com/sun/star/awt/TextEvent.hxx>
689 #ifndef _SMART_COM_SUN_STAR_AWT_ADJUSTMENTTYPE_HXX_
690 #include <smart/com/sun/star/awt/AdjustmentType.hxx>
692 #ifndef _SMART_COM_SUN_STAR_AWT_ACTIONEVENT_HXX_
693 #include <smart/com/sun/star/awt/ActionEvent.hxx>
695 #ifndef _SMART_COM_SUN_STAR_AWT_ADJUSTMENTEVENT_HXX_
696 #include <smart/com/sun/star/awt/AdjustmentEvent.hxx>
698 #ifndef _SMART_COM_SUN_STAR_AWT_RECTANGLE_HXX_
699 #include <smart/com/sun/star/awt/Rectangle.hxx>
701 #ifndef _SMART_COM_SUN_STAR_AWT_SELECTION_HXX_
702 #include <smart/com/sun/star/awt/Selection.hxx>
704 #ifndef _SMART_COM_SUN_STAR_AWT_SIZE_HXX_
705 #include <smart/com/sun/star/awt/Size.hxx>
707 #ifndef _SMART_COM_SUN_STAR_AWT_WINDOWDESCRIPTOR_HXX_
708 #include <smart/com/sun/star/awt/WindowDescriptor.hxx>
710 #ifndef _SMART_COM_SUN_STAR_AWT_INVALIDATESTYLE_HXX_
711 #include <smart/com/sun/star/awt/InvalidateStyle.hxx>
713 #ifndef _SMART_COM_SUN_STAR_AWT_XTOOLKIT_HXX_
714 #include <smart/com/sun/star/awt/XToolkit.hxx>
716 #ifndef _SMART_COM_SUN_STAR_AWT_XWINDOWPEER_HXX_
717 #include <smart/com/sun/star/awt/XWindowPeer.hxx>
719 #ifndef _SMART_COM_SUN_STAR_AWT_WINDOWCLASS_HXX_
720 #include <smart/com/sun/star/awt/WindowClass.hxx>
722 #ifndef _SMART_COM_SUN_STAR_AWT_XSYSTEMDEPENDENTWINDOWPEER_HXX_
723 #include <smart/com/sun/star/awt/XSystemDependentWindowPeer.hxx>
725 #ifndef _SMART_COM_SUN_STAR_AWT_WINDOWATTRIBUTE_HXX_
726 #include <smart/com/sun/star/awt/WindowAttribute.hxx>
728 #ifndef _SMART_COM_SUN_STAR_AWT_XPOINTER_HXX_
729 #include <smart/com/sun/star/awt/XPointer.hxx>
731 #ifndef _SMART_COM_SUN_STAR_AWT_SYSTEMPOINTER_HXX_
732 #include <smart/com/sun/star/awt/SystemPointer.hxx>
734 #ifndef _SMART_COM_SUN_STAR_AWT_XVIEW_HXX_
735 #include <smart/com/sun/star/awt/XView.hxx>
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>
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>
802 #include <uno/string.h>
803 #include <uno/sequence.h>
805 #include <uno/exceptn.h>
806 #include <uno/intrface.h>
807 #include <uno/factory.h>
809 #include <svx/svxids.hrc>
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>
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>