00001
00002
00003
00004
00005
00006
00007
00008
00009
00010
00011
00012
00013
00014
00015
00016
00017
00018
00019
00020
00021
00022
00023
00024
00025
00026
00027
00028
00029
00030
00031
00032
00033
00034
00035
00036
00037 #include "precompiled_starmath.hxx"
00038
00039 #define SMDLL 1
00040
00041 #include "starmath.hrc"
00042
00043 #define ITEMID_FONT 1
00044 #define ITEMID_FONTHEIGHT 2
00045 #define ITEMID_LRSPACE 3
00046 #define ITEMID_WEIGHT 4
00047
00048
00049 #include <tools/string.hxx>
00050 #include <tools/solar.h>
00051 #include <tools/list.hxx>
00052 #include <tools/contnr.hxx>
00053 #include <tools/rtti.hxx>
00054 #include <tools/ref.hxx>
00055 #include <tools/link.hxx>
00056 #include <svtools/brdcst.hxx>
00057 #include <svtools/svarray.hxx>
00058 #include <tools/debug.hxx>
00059 #include <svtools/hint.hxx>
00060 #include <svtools/smplhint.hxx>
00061 #include <sot/sotref.hxx>
00062 #include <tools/globname.hxx>
00063 #include <sot/factory.hxx>
00064 #include <vcl/sv.h>
00065 #include <basic/sbxdef.hxx>
00066 #include <tools/time.hxx>
00067 #include <tools/gen.hxx>
00068 #include <tools/stream.hxx>
00069 #include <tools/errinf.hxx>
00070 #include <tools/errcode.hxx>
00071 #include <sot/object.hxx>
00072 #include <sot/sotdata.hxx>
00073 #include <sfx2/shell.hxx>
00074 #include <sal/types.h>
00075 #include <sal/config.h>
00076 #include <tools/date.hxx>
00077 #include <tools/ownlist.hxx>
00078 #include <vcl/accel.hxx>
00079 #include <tools/resid.hxx>
00080 #include <tools/rc.hxx>
00081 #include <tools/rc.hxx>
00082 #include <i18npool/lang.h>
00083 #include <tools/resmgr.hxx>
00084 #include <vcl/keycod.hxx>
00085 #include <vcl/keycodes.hxx>
00086 #include <vcl/vclenum.hxx>
00087 #include <vcl/timer.hxx>
00088 #include <vcl/cmdevt.hxx>
00089 #include <vcl/font.hxx>
00090 #include <tools/color.hxx>
00091 #include <vcl/outdev.hxx>
00092 #include <vcl/region.hxx>
00093 #include <vcl/mapmod.hxx>
00094 #include <tools/fract.hxx>
00095 #include <vcl/wall.hxx>
00096 #include <vcl/settings.hxx>
00097 #include <vcl/bitmap.hxx>
00098 #include <vcl/pointr.hxx>
00099 #include <vcl/ptrstyle.hxx>
00100 #include <vcl/wintypes.hxx>
00101 #include <vcl/inputctx.hxx>
00102 #include <vcl/event.hxx>
00103 #include <format.hxx>
00104 #include <utility.hxx>
00105 #include <vcl/fixed.hxx>
00106 #include <vcl/image.hxx>
00107 #include <vcl/ctrl.hxx>
00108 #include <vcl/window.hxx>
00109 #include <sfx2/minarray.hxx>
00110 #include <vcl/combobox.hxx>
00111 #include <vcl/combobox.h>
00112 #include <vcl/edit.hxx>
00113 #include <vcl/menu.hxx>
00114 #include <vcl/bitmapex.hxx>
00115 #include <vcl/lstbox.hxx>
00116 #include <vcl/lstbox.h>
00117 #include <usr/guid.hxx>
00118 #include <usr/sequ.hxx>
00119 #include <uno/types.h>
00120 #include <uno/macros.h>
00121 #include <vos/xception.hxx>
00122 #include <osl/mutex.h>
00123 #include <tools/shl.hxx>
00124 #include <sfx2/module.hxx>
00125 #include <sfx2/imgdef.hxx>
00126 #include <usr/uno.hxx>
00127 #include <usr/xiface.hxx>
00128 #include <usr/ustring.hxx>
00129 #include <vos/refernce.hxx>
00130 #include <vos/types.hxx>
00131 #include <osl/types.h>
00132 #include <osl/interlck.h>
00133 #include <vos/object.hxx>
00134 #include <vos/macros.hxx>
00135 #include <smdll.hxx>
00136 #include <sfx2/sfxsids.hrc>
00137 #include <chaos/cntids.hrc>
00138 #include <svtools/cntwids.hrc>
00139 #include <svtools/solar.hrc>
00140 #include <svtools/lstner.hxx>
00141 #include <starmath.hrc>
00142 #include <basic/sbx.hxx>
00143 #include <basic/sbxform.hxx>
00144 #include <basic/sbxobj.hxx>
00145 #include <basic/sbxvar.hxx>
00146 #include <basic/sbxcore.hxx>
00147 #include <basic/sbxprop.hxx>
00148 #include <basic/sbxmeth.hxx>
00149 #include <tools/unqid.hxx>
00150 #include <tools/unqidx.hxx>
00151 #include <svtools/poolitem.hxx>
00152 #include <svtools/args.hxx>
00153 #include <smmod.hxx>
00154 #include <vos/thread.hxx>
00155 #include <osl/thread.h>
00156 #include <vos/runnable.hxx>
00157 #include <vcl/apptypes.hxx>
00158 #include <tools/dynary.hxx>
00159 #include <vcl/metric.hxx>
00160 #include <vcl/svapp.hxx>
00161 #include <vcl/timer.hxx>
00162 #include <sfx2/app.hxx>
00163 #include <sfx2/sfx.hrc>
00164 #include <svtools/memberid.hrc>
00165 #include <vcl/syswin.hxx>
00166 #include <vcl/virdev.hxx>
00167 #include <tools/datetime.hxx>
00168 #include <tools/wldcrd.hxx>
00169 #include <parse.hxx>
00170 #include <tools/stack.hxx>
00171 #include <types.hxx>
00172 #include <config.hxx>
00173 #include <svtools/confitem.hxx>
00174 #include <tools/poly.hxx>
00175 #include <svx/xpoly.hxx>
00176 #include <rect.hxx>
00177 #include <vcl/outdev.hxx>
00178 #ifndef _SMART_COM_SUN_STAR_FRAME_XDISPATCHPROVIDERINTERCEPTOR_HXX_
00179 #include <smart/com/sun/star/frame/XDispatchProviderInterceptor.hxx>
00180 #endif
00181 #ifndef _SMART_COM_SUN_STAR_FRAME_XDISPATCH_HXX_
00182 #include <smart/com/sun/star/frame/XDispatch.hxx>
00183 #endif
00184 #ifndef _SMART_COM_SUN_STAR_FRAME_XDISPATCHPROVIDER_HXX_
00185 #include <smart/com/sun/star/frame/XDispatchProvider.hxx>
00186 #endif
00187 #ifndef _SMART_COM_SUN_STAR_FRAME_XSTATUSLISTENER_HXX_
00188 #include <smart/com/sun/star/frame/XStatusListener.hxx>
00189 #endif
00190 #ifndef _SMART_COM_SUN_STAR_FRAME_FRAMESEARCHFLAG_HXX_
00191 #include <smart/com/sun/star/frame/FrameSearchFlag.hxx>
00192 #endif
00193 #ifndef _SMART_COM_SUN_STAR_FRAME_XDISPATCHPROVIDERINTERCEPTION_HXX_
00194 #include <smart/com/sun/star/frame/XDispatchProviderInterception.hxx>
00195 #endif
00196 #ifndef _SMART_COM_SUN_STAR_FRAME_FEATURESTATEEVENT_HXX_
00197 #include <smart/com/sun/star/frame/FeatureStateEvent.hxx>
00198 #endif
00199 #ifndef _SMART_COM_SUN_STAR_FRAME_DISPATCHDESCRIPTOR_HXX_
00200 #include <smart/com/sun/star/frame/DispatchDescriptor.hxx>
00201 #endif
00202 #ifndef _SMART_COM_SUN_STAR_FRAME_XFRAMEACTIONLISTENER_HXX_
00203 #include <smart/com/sun/star/frame/XFrameActionListener.hxx>
00204 #endif
00205 #ifndef _SMART_COM_SUN_STAR_FRAME_XCOMPONENTLOADER_HXX_
00206 #include <smart/com/sun/star/frame/XComponentLoader.hxx>
00207 #endif
00208 #ifndef _SMART_COM_SUN_STAR_FRAME_XFRAME_HXX_
00209 #include <smart/com/sun/star/frame/XFrame.hxx>
00210 #endif
00211 #ifndef _SMART_COM_SUN_STAR_FRAME_FRAMEACTIONEVENT_HXX_
00212 #include <smart/com/sun/star/frame/FrameActionEvent.hxx>
00213 #endif
00214 #ifndef _SMART_COM_SUN_STAR_FRAME_FRAMEACTION_HXX_
00215 #include <smart/com/sun/star/frame/FrameAction.hxx>
00216 #endif
00217 #ifndef _SMART_COM_SUN_STAR_UTIL_XURLTRANSFORMER_HXX_
00218 #include <smart/com/sun/star/util/XURLTransformer.hxx>
00219 #endif
00220 #ifndef _SMART_COM_SUN_STAR_TASK_XSTATUSINDICATORFACTORY_HXX_
00221 #include <smart/com/sun/star/task/XStatusIndicatorFactory.hxx>
00222 #endif
00223 #ifndef _SMART_COM_SUN_STAR_TASK_XSTATUSINDICATORSUPPLIER_HXX_
00224 #include <smart/com/sun/star/task/XStatusIndicatorSupplier.hxx>
00225 #endif
00226 #ifndef _SMART_COM_SUN_STAR_TASK_XSTATUSINDICATOR_HXX_
00227 #include <smart/com/sun/star/task/XStatusIndicator.hxx>
00228 #endif
00229 #ifndef _SMART_COM_SUN_STAR_FRAME_XBROWSEHISTORYREGISTRY_HXX_
00230 #include <smart/com/sun/star/frame/XBrowseHistoryRegistry.hxx>
00231 #endif
00232 #ifndef _SMART_COM_SUN_STAR_IO_BUFFERSIZEEXCEEDEDEXCEPTION_HXX_
00233 #include <smart/com/sun/star/io/BufferSizeExceededException.hxx>
00234 #endif
00235 #ifndef _SMART_COM_SUN_STAR_IO_NOTCONNECTEDEXCEPTION_HXX_
00236 #include <smart/com/sun/star/io/NotConnectedException.hxx>
00237 #endif
00238 #ifndef _SMART_COM_SUN_STAR_IO_IOEXCEPTION_HXX_
00239 #include <smart/com/sun/star/io/IOException.hxx>
00240 #endif
00241 #ifndef _SMART_COM_SUN_STAR_IO_UNEXPECTEDEOFEXCEPTION_HXX_
00242 #include <smart/com/sun/star/io/UnexpectedEOFException.hxx>
00243 #endif
00244 #ifndef _SMART_COM_SUN_STAR_IO_WRONGFORMATEXCEPTION_HXX_
00245 #include <smart/com/sun/star/io/WrongFormatException.hxx>
00246 #endif
00247 #ifndef _SMART_COM_SUN_STAR_LANG_SERVICENOTREGISTEREDEXCEPTION_HXX_
00248 #include <smart/com/sun/star/lang/ServiceNotRegisteredException.hxx>
00249 #endif
00250 #ifndef _SMART_COM_SUN_STAR_LANG_NULLPOINTEREXCEPTION_HXX_
00251 #include <smart/com/sun/star/lang/NullPointerException.hxx>
00252 #endif
00253 #ifndef _SMART_COM_SUN_STAR_LANG_CLASSNOTFOUNDEXCEPTION_HXX_
00254 #include <smart/com/sun/star/lang/ClassNotFoundException.hxx>
00255 #endif
00256 #ifndef _SMART_COM_SUN_STAR_LANG_NOSUCHMETHODEXCEPTION_HXX_
00257 #include <smart/com/sun/star/lang/NoSuchMethodException.hxx>
00258 #endif
00259 #ifndef _SMART_COM_SUN_STAR_LANG_SECURITYEXCEPTION_HXX_
00260 #include <smart/com/sun/star/lang/SecurityException.hxx>
00261 #endif
00262 #ifndef _SMART_COM_SUN_STAR_LANG_NOSUCHFIELDEXCEPTION_HXX_
00263 #include <smart/com/sun/star/lang/NoSuchFieldException.hxx>
00264 #endif
00265 #ifndef _SMART_COM_SUN_STAR_LANG_DISPOSEDEXCEPTION_HXX_
00266 #include <smart/com/sun/star/lang/DisposedException.hxx>
00267 #endif
00268 #ifndef _SMART_COM_SUN_STAR_LANG_ARRAYINDEXOUTOFBOUNDSEXCEPTION_HXX_
00269 #include <smart/com/sun/star/lang/ArrayIndexOutOfBoundsException.hxx>
00270 #endif
00271 #ifndef _SMART_COM_SUN_STAR_LANG_ILLEGALACCESSEXCEPTION_HXX_
00272 #include <smart/com/sun/star/lang/IllegalAccessException.hxx>
00273 #endif
00274 #ifndef _SMART_COM_SUN_STAR_LANG_INDEXOUTOFBOUNDSEXCEPTION_HXX_
00275 #include <smart/com/sun/star/lang/IndexOutOfBoundsException.hxx>
00276 #endif
00277 #ifndef _SMART_COM_SUN_STAR_LANG_ILLEGALARGUMENTEXCEPTION_HXX_
00278 #include <smart/com/sun/star/lang/IllegalArgumentException.hxx>
00279 #endif
00280 #ifndef _SMART_COM_SUN_STAR_LANG_NOSUPPORTEXCEPTION_HXX_
00281 #include <smart/com/sun/star/lang/NoSupportException.hxx>
00282 #endif
00283 #ifndef _SMART_COM_SUN_STAR_LANG_WRAPPEDTARGETEXCEPTION_HXX_
00284 #include <smart/com/sun/star/lang/WrappedTargetException.hxx>
00285 #endif
00286 #ifndef _SMART_COM_SUN_STAR_REFLECTION_PARAMINFO_HXX_
00287 #include <smart/com/sun/star/reflection/ParamInfo.hxx>
00288 #endif
00289 #ifndef _SMART_COM_SUN_STAR_REFLECTION_XIDLARRAY_HXX_
00290 #include <smart/com/sun/star/reflection/XIdlArray.hxx>
00291 #endif
00292 #ifndef _SMART_COM_SUN_STAR_REFLECTION_XIDLCLASSPROVIDER_HXX_
00293 #include <smart/com/sun/star/reflection/XIdlClassProvider.hxx>
00294 #endif
00295 #ifndef _SMART_COM_SUN_STAR_REFLECTION_FIELDACCESSMODE_HXX_
00296 #include <smart/com/sun/star/reflection/FieldAccessMode.hxx>
00297 #endif
00298 #ifndef _SMART_COM_SUN_STAR_REFLECTION_XIDLCLASS_HXX_
00299 #include <smart/com/sun/star/reflection/XIdlClass.hxx>
00300 #endif
00301 #ifndef _SMART_COM_SUN_STAR_REFLECTION_XIDLFIELD_HXX_
00302 #include <smart/com/sun/star/reflection/XIdlField.hxx>
00303 #endif
00304 #ifndef _SMART_COM_SUN_STAR_REFLECTION_PARAMMODE_HXX_
00305 #include <smart/com/sun/star/reflection/ParamMode.hxx>
00306 #endif
00307 #ifndef _SMART_COM_SUN_STAR_REFLECTION_METHODMODE_HXX_
00308 #include <smart/com/sun/star/reflection/MethodMode.hxx>
00309 #endif
00310 #ifndef _SMART_COM_SUN_STAR_REFLECTION_XIDLMEMBER_HXX_
00311 #include <smart/com/sun/star/reflection/XIdlMember.hxx>
00312 #endif
00313 #ifndef _SMART_COM_SUN_STAR_REFLECTION_XIDLREFLECTION_HXX_
00314 #include <smart/com/sun/star/reflection/XIdlReflection.hxx>
00315 #endif
00316 #ifndef _SMART_COM_SUN_STAR_REFLECTION_XIDLMETHOD_HXX_
00317 #include <smart/com/sun/star/reflection/XIdlMethod.hxx>
00318 #endif
00319 #ifndef _SMART_COM_SUN_STAR_REFLECTION_INVOCATIONTARGETEXCEPTION_HXX_
00320 #include <smart/com/sun/star/reflection/InvocationTargetException.hxx>
00321 #endif
00322 #ifndef _SMART_COM_SUN_STAR_BEANS_PROPERTYVALUES_HXX_
00323 #include <smart/com/sun/star/beans/PropertyValues.hxx>
00324 #endif
00325 #ifndef _SMART_COM_SUN_STAR_BEANS_XPROPERTYSET_HXX_
00326 #include <smart/com/sun/star/beans/XPropertySet.hxx>
00327 #endif
00328 #ifndef _SMART_COM_SUN_STAR_BEANS_PROPERTYVALUE_HXX_
00329 #include <smart/com/sun/star/beans/PropertyValue.hxx>
00330 #endif
00331 #ifndef _SMART_COM_SUN_STAR_BEANS_PROPERTYSTATE_HXX_
00332 #include <smart/com/sun/star/beans/PropertyState.hxx>
00333 #endif
00334 #ifndef _SMART_COM_SUN_STAR_BEANS_XPROPERTYSETINFO_HXX_
00335 #include <smart/com/sun/star/beans/XPropertySetInfo.hxx>
00336 #endif
00337 #ifndef _SMART_COM_SUN_STAR_BEANS_XMULTIPROPERTYSET_HXX_
00338 #include <smart/com/sun/star/beans/XMultiPropertySet.hxx>
00339 #endif
00340 #ifndef _SMART_COM_SUN_STAR_BEANS_XFASTPROPERTYSET_HXX_
00341 #include <smart/com/sun/star/beans/XFastPropertySet.hxx>
00342 #endif
00343 #ifndef _SMART_COM_SUN_STAR_BEANS_XVETOABLECHANGELISTENER_HXX_
00344 #include <smart/com/sun/star/beans/XVetoableChangeListener.hxx>
00345 #endif
00346 #ifndef _SMART_COM_SUN_STAR_BEANS_XPROPERTYSTATE_HXX_
00347 #include <smart/com/sun/star/beans/XPropertyState.hxx>
00348 #endif
00349 #ifndef _SMART_COM_SUN_STAR_BEANS_XPROPERTYSTATECHANGELISTENER_HXX_
00350 #include <smart/com/sun/star/beans/XPropertyStateChangeListener.hxx>
00351 #endif
00352 #ifndef _SMART_COM_SUN_STAR_BEANS_PROPERTYATTRIBUTE_HXX_
00353 #include <smart/com/sun/star/beans/PropertyAttribute.hxx>
00354 #endif
00355 #ifndef _SMART_COM_SUN_STAR_BEANS_XPROPERTIESCHANGELISTENER_HXX_
00356 #include <smart/com/sun/star/beans/XPropertiesChangeListener.hxx>
00357 #endif
00358 #ifndef _SMART_COM_SUN_STAR_BEANS_XPROPERTYCHANGELISTENER_HXX_
00359 #include <smart/com/sun/star/beans/XPropertyChangeListener.hxx>
00360 #endif
00361 #ifndef _SMART_COM_SUN_STAR_BEANS_XPROPERTYACCESS_HXX_
00362 #include <smart/com/sun/star/beans/XPropertyAccess.hxx>
00363 #endif
00364 #ifndef _SMART_COM_SUN_STAR_BEANS_XPROPERTYCONTAINER_HXX_
00365 #include <smart/com/sun/star/beans/XPropertyContainer.hxx>
00366 #endif
00367 #ifndef _SMART_COM_SUN_STAR_BEANS_PROPERTYSTATECHANGEEVENT_HXX_
00368 #include <smart/com/sun/star/beans/PropertyStateChangeEvent.hxx>
00369 #endif
00370 #ifndef _SMART_COM_SUN_STAR_BEANS_PROPERTYCHANGEEVENT_HXX_
00371 #include <smart/com/sun/star/beans/PropertyChangeEvent.hxx>
00372 #endif
00373 #ifndef _SMART_COM_SUN_STAR_BEANS_UNKNOWNPROPERTYEXCEPTION_HXX_
00374 #include <smart/com/sun/star/beans/UnknownPropertyException.hxx>
00375 #endif
00376 #ifndef _SMART_COM_SUN_STAR_BEANS_INTROSPECTIONEXCEPTION_HXX_
00377 #include <smart/com/sun/star/beans/IntrospectionException.hxx>
00378 #endif
00379 #ifndef _SMART_COM_SUN_STAR_BEANS_PROPERTYEXISTEXCEPTION_HXX_
00380 #include <smart/com/sun/star/beans/PropertyExistException.hxx>
00381 #endif
00382 #ifndef _SMART_COM_SUN_STAR_BEANS_ILLEGALTYPEEXCEPTION_HXX_
00383 #include <smart/com/sun/star/beans/IllegalTypeException.hxx>
00384 #endif
00385 #ifndef _SMART_COM_SUN_STAR_BEANS_PROPERTYVETOEXCEPTION_HXX_
00386 #include <smart/com/sun/star/beans/PropertyVetoException.hxx>
00387 #endif
00388 #ifndef _SMART_COM_SUN_STAR_CONTAINER_XENUMERATIONACCESS_HXX_
00389 #include <smart/com/sun/star/container/XEnumerationAccess.hxx>
00390 #endif
00391 #ifndef _SMART_COM_SUN_STAR_CONTAINER_XHIERARCHICALNAMEACCESS_HXX_
00392 #include <smart/com/sun/star/container/XHierarchicalNameAccess.hxx>
00393 #endif
00394 #ifndef _SMART_COM_SUN_STAR_CONTAINER_XNAMEACCESS_HXX_
00395 #include <smart/com/sun/star/container/XNameAccess.hxx>
00396 #endif
00397 #ifndef _SMART_COM_SUN_STAR_CONTAINER_XCONTENTENUMERATIONACCESS_HXX_
00398 #include <smart/com/sun/star/container/XContentEnumerationAccess.hxx>
00399 #endif
00400 #ifndef _SMART_COM_SUN_STAR_CONTAINER_XENUMERATION_HXX_
00401 #include <smart/com/sun/star/container/XEnumeration.hxx>
00402 #endif
00403 #ifndef _SMART_COM_SUN_STAR_CONTAINER_XELEMENTACCESS_HXX_
00404 #include <smart/com/sun/star/container/XElementAccess.hxx>
00405 #endif
00406 #ifndef _SMART_COM_SUN_STAR_CONTAINER_XINDEXACCESS_HXX_
00407 #include <smart/com/sun/star/container/XIndexAccess.hxx>
00408 #endif
00409 #ifndef _SMART_COM_SUN_STAR_LANG_XEVENTLISTENER_HXX_
00410 #include <smart/com/sun/star/lang/XEventListener.hxx>
00411 #endif
00412 #ifndef _SMART_COM_SUN_STAR_LANG_EVENTOBJECT_HXX_
00413 #include <smart/com/sun/star/lang/EventObject.hxx>
00414 #endif
00415 #ifndef _SMART_COM_SUN_STAR_SCRIPT_XALLLISTENERADAPTERSERVICE_HXX_
00416 #include <smart/com/sun/star/script/XAllListenerAdapterService.hxx>
00417 #endif
00418 #ifndef _SMART_COM_SUN_STAR_SCRIPT_XALLLISTENER_HXX_
00419 #include <smart/com/sun/star/script/XAllListener.hxx>
00420 #endif
00421 #ifndef _SMART_COM_SUN_STAR_SCRIPT_ALLEVENTOBJECT_HXX_
00422 #include <smart/com/sun/star/script/AllEventObject.hxx>
00423 #endif
00424 #ifndef _SMART_COM_SUN_STAR_CONTAINER_XCOMPONENTENUMERATION_HXX_
00425 #include <smart/com/sun/star/container/XComponentEnumeration.hxx>
00426 #endif
00427 #ifndef _SMART_COM_SUN_STAR_LANG_XCOMPONENT_HXX_
00428 #include <smart/com/sun/star/lang/XComponent.hxx>
00429 #endif
00430 #ifndef _SMART_COM_SUN_STAR_CONTAINER_XCOMPONENTENUMERATIONACCESS_HXX_
00431 #include <smart/com/sun/star/container/XComponentEnumerationAccess.hxx>
00432 #endif
00433 #ifndef _SMART_COM_SUN_STAR_LANG_LISTENEREXISTEXCEPTION_HXX_
00434 #include <smart/com/sun/star/lang/ListenerExistException.hxx>
00435 #endif
00436 #ifndef _SMART_COM_SUN_STAR_CONTAINER_ELEMENTEXISTEXCEPTION_HXX_
00437 #include <smart/com/sun/star/container/ElementExistException.hxx>
00438 #endif
00439 #ifndef _SMART_COM_SUN_STAR_LANG_INVALIDLISTENEREXCEPTION_HXX_
00440 #include <smart/com/sun/star/lang/InvalidListenerException.hxx>
00441 #endif
00442 #ifndef _SMART_COM_SUN_STAR_CONTAINER_NOSUCHELEMENTEXCEPTION_HXX_
00443 #include <smart/com/sun/star/container/NoSuchElementException.hxx>
00444 #endif
00445 #ifndef _SMART_COM_SUN_STAR_AWT_XKEYLISTENER_HXX_
00446 #include <smart/com/sun/star/awt/XKeyListener.hxx>
00447 #endif
00448 #ifndef _SMART_COM_SUN_STAR_AWT_XPAINTLISTENER_HXX_
00449 #include <smart/com/sun/star/awt/XPaintListener.hxx>
00450 #endif
00451 #ifndef _SMART_COM_SUN_STAR_AWT_KEYEVENT_HXX_
00452 #include <smart/com/sun/star/awt/KeyEvent.hxx>
00453 #endif
00454 #ifndef _SMART_COM_SUN_STAR_AWT_KEYMODIFIER_HXX_
00455 #include <smart/com/sun/star/awt/KeyModifier.hxx>
00456 #endif
00457 #ifndef _SMART_COM_SUN_STAR_AWT_XMOUSEMOTIONLISTENER_HXX_
00458 #include <smart/com/sun/star/awt/XMouseMotionListener.hxx>
00459 #endif
00460 #ifndef _SMART_COM_SUN_STAR_AWT_FOCUSEVENT_HXX_
00461 #include <smart/com/sun/star/awt/FocusEvent.hxx>
00462 #endif
00463 #ifndef _SMART_COM_SUN_STAR_AWT_XWINDOWLISTENER_HXX_
00464 #include <smart/com/sun/star/awt/XWindowListener.hxx>
00465 #endif
00466 #ifndef _SMART_COM_SUN_STAR_AWT_XACTIVATELISTENER_HXX_
00467 #include <smart/com/sun/star/awt/XActivateListener.hxx>
00468 #endif
00469 #ifndef _SMART_COM_SUN_STAR_AWT_MOUSEEVENT_HXX_
00470 #include <smart/com/sun/star/awt/MouseEvent.hxx>
00471 #endif
00472 #ifndef _SMART_COM_SUN_STAR_AWT_XTOPWINDOWLISTENER_HXX_
00473 #include <smart/com/sun/star/awt/XTopWindowListener.hxx>
00474 #endif
00475 #ifndef _SMART_COM_SUN_STAR_AWT_PAINTEVENT_HXX_
00476 #include <smart/com/sun/star/awt/PaintEvent.hxx>
00477 #endif
00478 #ifndef _SMART_COM_SUN_STAR_AWT_INPUTEVENT_HXX_
00479 #include <smart/com/sun/star/awt/InputEvent.hxx>
00480 #endif
00481 #ifndef _SMART_COM_SUN_STAR_AWT_KEYGROUP_HXX_
00482 #include <smart/com/sun/star/awt/KeyGroup.hxx>
00483 #endif
00484 #ifndef _SMART_COM_SUN_STAR_AWT_KEY_HXX_
00485 #include <smart/com/sun/star/awt/Key.hxx>
00486 #endif
00487 #ifndef _SMART_COM_SUN_STAR_AWT_WINDOWEVENT_HXX_
00488 #include <smart/com/sun/star/awt/WindowEvent.hxx>
00489 #endif
00490 #ifndef _SMART_COM_SUN_STAR_AWT_XMOUSELISTENER_HXX_
00491 #include <smart/com/sun/star/awt/XMouseListener.hxx>
00492 #endif
00493 #ifndef _SMART_COM_SUN_STAR_AWT_KEYFUNCTION_HXX_
00494 #include <smart/com/sun/star/awt/KeyFunction.hxx>
00495 #endif
00496 #ifndef _SMART_COM_SUN_STAR_AWT_FOCUSCHANGEREASON_HXX_
00497 #include <smart/com/sun/star/awt/FocusChangeReason.hxx>
00498 #endif
00499 #ifndef _SMART_COM_SUN_STAR_AWT_MOUSEBUTTON_HXX_
00500 #include <smart/com/sun/star/awt/MouseButton.hxx>
00501 #endif
00502 #ifndef _SMART_COM_SUN_STAR_AWT_XFOCUSLISTENER_HXX_
00503 #include <smart/com/sun/star/awt/XFocusListener.hxx>
00504 #endif
00505 #ifndef _SMART_COM_SUN_STAR_AWT_XADJUSTMENTLISTENER_HXX_
00506 #include <smart/com/sun/star/awt/XAdjustmentListener.hxx>
00507 #endif
00508 #ifndef _SMART_COM_SUN_STAR_AWT_XACTIONLISTENER_HXX_
00509 #include <smart/com/sun/star/awt/XActionListener.hxx>
00510 #endif
00511 #ifndef _SMART_COM_SUN_STAR_AWT_XTEXTLISTENER_HXX_
00512 #include <smart/com/sun/star/awt/XTextListener.hxx>
00513 #endif
00514 #ifndef _SMART_COM_SUN_STAR_AWT_XSPINLISTENER_HXX_
00515 #include <smart/com/sun/star/awt/XSpinListener.hxx>
00516 #endif
00517 #ifndef _SMART_COM_SUN_STAR_AWT_XITEMLISTENER_HXX_
00518 #include <smart/com/sun/star/awt/XItemListener.hxx>
00519 #endif
00520 #ifndef _SMART_COM_SUN_STAR_AWT_XVCLCONTAINERLISTENER_HXX_
00521 #include <smart/com/sun/star/awt/XVclContainerListener.hxx>
00522 #endif
00523 #ifndef _SMART_COM_SUN_STAR_AWT_XFILEDIALOG_HXX_
00524 #include <smart/com/sun/star/awt/XFileDialog.hxx>
00525 #endif
00526 #ifndef _SMART_COM_SUN_STAR_AWT_XTEXTCOMPONENT_HXX_
00527 #include <smart/com/sun/star/awt/XTextComponent.hxx>
00528 #endif
00529 #ifndef _SMART_COM_SUN_STAR_AWT_XLISTBOX_HXX_
00530 #include <smart/com/sun/star/awt/XListBox.hxx>
00531 #endif
00532 #ifndef _SMART_COM_SUN_STAR_AWT_XPROGRESSMONITOR_HXX_
00533 #include <smart/com/sun/star/awt/XProgressMonitor.hxx>
00534 #endif
00535 #ifndef _SMART_COM_SUN_STAR_AWT_TEXTALIGN_HXX_
00536 #include <smart/com/sun/star/awt/TextAlign.hxx>
00537 #endif
00538 #ifndef _SMART_COM_SUN_STAR_AWT_XSCROLLBAR_HXX_
00539 #include <smart/com/sun/star/awt/XScrollBar.hxx>
00540 #endif
00541 #ifndef _SMART_COM_SUN_STAR_AWT_XVCLCONTAINERPEER_HXX_
00542 #include <smart/com/sun/star/awt/XVclContainerPeer.hxx>
00543 #endif
00544 #ifndef _SMART_COM_SUN_STAR_AWT_XTABCONTROLLERMODEL_HXX_
00545 #include <smart/com/sun/star/awt/XTabControllerModel.hxx>
00546 #endif
00547 #ifndef _SMART_COM_SUN_STAR_AWT_XMESSAGEBOX_HXX_
00548 #include <smart/com/sun/star/awt/XMessageBox.hxx>
00549 #endif
00550 #ifndef _SMART_COM_SUN_STAR_AWT_XTEXTEDITFIELD_HXX_
00551 #include <smart/com/sun/star/awt/XTextEditField.hxx>
00552 #endif
00553 #ifndef _SMART_COM_SUN_STAR_AWT_STYLE_HXX_
00554 #include <smart/com/sun/star/awt/Style.hxx>
00555 #endif
00556 #ifndef _SMART_COM_SUN_STAR_AWT_XTIMEFIELD_HXX_
00557 #include <smart/com/sun/star/awt/XTimeField.hxx>
00558 #endif
00559 #ifndef _SMART_COM_SUN_STAR_AWT_XVCLWINDOWPEER_HXX_
00560 #include <smart/com/sun/star/awt/XVclWindowPeer.hxx>
00561 #endif
00562 #ifndef _SMART_COM_SUN_STAR_AWT_XCONTROLMODEL_HXX_
00563 #include <smart/com/sun/star/awt/XControlModel.hxx>
00564 #endif
00565 #ifndef _SMART_COM_SUN_STAR_AWT_XSPINFIELD_HXX_
00566 #include <smart/com/sun/star/awt/XSpinField.hxx>
00567 #endif
00568 #ifndef _SMART_COM_SUN_STAR_AWT_XUNOCONTROLCONTAINER_HXX_
00569 #include <smart/com/sun/star/awt/XUnoControlContainer.hxx>
00570 #endif
00571 #ifndef _SMART_COM_SUN_STAR_AWT_XTEXTLAYOUTCONSTRAINS_HXX_
00572 #include <smart/com/sun/star/awt/XTextLayoutConstrains.hxx>
00573 #endif
00574 #ifndef _SMART_COM_SUN_STAR_AWT_XNUMERICFIELD_HXX_
00575 #include <smart/com/sun/star/awt/XNumericField.hxx>
00576 #endif
00577 #ifndef _SMART_COM_SUN_STAR_AWT_XBUTTON_HXX_
00578 #include <smart/com/sun/star/awt/XButton.hxx>
00579 #endif
00580 #ifndef _SMART_COM_SUN_STAR_AWT_XTEXTAREA_HXX_
00581 #include <smart/com/sun/star/awt/XTextArea.hxx>
00582 #endif
00583 #ifndef _SMART_COM_SUN_STAR_AWT_XIMAGEBUTTON_HXX_
00584 #include <smart/com/sun/star/awt/XImageButton.hxx>
00585 #endif
00586 #ifndef _SMART_COM_SUN_STAR_AWT_XFIXEDTEXT_HXX_
00587 #include <smart/com/sun/star/awt/XFixedText.hxx>
00588 #endif
00589 #ifndef _SMART_COM_SUN_STAR_AWT_XCONTROLCONTAINER_HXX_
00590 #include <smart/com/sun/star/awt/XControlContainer.hxx>
00591 #endif
00592 #ifndef _SMART_COM_SUN_STAR_AWT_XDIALOG_HXX_
00593 #include <smart/com/sun/star/awt/XDialog.hxx>
00594 #endif
00595 #ifndef _SMART_COM_SUN_STAR_AWT_SCROLLBARORIENTATION_HXX_
00596 #include <smart/com/sun/star/awt/ScrollBarOrientation.hxx>
00597 #endif
00598 #ifndef _SMART_COM_SUN_STAR_AWT_XRADIOBUTTON_HXX_
00599 #include <smart/com/sun/star/awt/XRadioButton.hxx>
00600 #endif
00601 #ifndef _SMART_COM_SUN_STAR_AWT_XCURRENCYFIELD_HXX_
00602 #include <smart/com/sun/star/awt/XCurrencyField.hxx>
00603 #endif
00604 #ifndef _SMART_COM_SUN_STAR_AWT_XPATTERNFIELD_HXX_
00605 #include <smart/com/sun/star/awt/XPatternField.hxx>
00606 #endif
00607 #ifndef _SMART_COM_SUN_STAR_AWT_VCLWINDOWPEERATTRIBUTE_HXX_
00608 #include <smart/com/sun/star/awt/VclWindowPeerAttribute.hxx>
00609 #endif
00610 #ifndef _SMART_COM_SUN_STAR_AWT_XTABCONTROLLER_HXX_
00611 #include <smart/com/sun/star/awt/XTabController.hxx>
00612 #endif
00613 #ifndef _SMART_COM_SUN_STAR_AWT_XVCLCONTAINER_HXX_
00614 #include <smart/com/sun/star/awt/XVclContainer.hxx>
00615 #endif
00616 #ifndef _SMART_COM_SUN_STAR_AWT_XDATEFIELD_HXX_
00617 #include <smart/com/sun/star/awt/XDateField.hxx>
00618 #endif
00619 #ifndef _SMART_COM_SUN_STAR_AWT_XCOMBOBOX_HXX_
00620 #include <smart/com/sun/star/awt/XComboBox.hxx>
00621 #endif
00622 #ifndef _SMART_COM_SUN_STAR_AWT_XCONTROL_HXX_
00623 #include <smart/com/sun/star/awt/XControl.hxx>
00624 #endif
00625 #ifndef _SMART_COM_SUN_STAR_AWT_XCHECKBOX_HXX_
00626 #include <smart/com/sun/star/awt/XCheckBox.hxx>
00627 #endif
00628 #ifndef _SMART_COM_SUN_STAR_AWT_MESSAGEBOXCOMMAND_HXX_
00629 #include <smart/com/sun/star/awt/MessageBoxCommand.hxx>
00630 #endif
00631 #ifndef _SMART_COM_SUN_STAR_AWT_XLAYOUTCONSTRAINS_HXX_
00632 #include <smart/com/sun/star/awt/XLayoutConstrains.hxx>
00633 #endif
00634 #ifndef _SMART_COM_SUN_STAR_AWT_XPROGRESSBAR_HXX_
00635 #include <smart/com/sun/star/awt/XProgressBar.hxx>
00636 #endif
00637 #ifndef _SMART_COM_SUN_STAR_AWT_SIMPLEFONTMETRIC_HXX_
00638 #include <smart/com/sun/star/awt/SimpleFontMetric.hxx>
00639 #endif
00640 #ifndef _SMART_COM_SUN_STAR_AWT_FONTWEIGHT_HXX_
00641 #include <smart/com/sun/star/awt/FontWeight.hxx>
00642 #endif
00643 #ifndef _SMART_COM_SUN_STAR_AWT_FONTSLANT_HXX_
00644 #include <smart/com/sun/star/awt/FontSlant.hxx>
00645 #endif
00646 #ifndef _SMART_COM_SUN_STAR_AWT_CHARSET_HXX_
00647 #include <smart/com/sun/star/awt/CharSet.hxx>
00648 #endif
00649 #ifndef _SMART_COM_SUN_STAR_AWT_FONTDESCRIPTOR_HXX_
00650 #include <smart/com/sun/star/awt/FontDescriptor.hxx>
00651 #endif
00652 #ifndef _SMART_COM_SUN_STAR_AWT_FONTWIDTH_HXX_
00653 #include <smart/com/sun/star/awt/FontWidth.hxx>
00654 #endif
00655 #ifndef _SMART_COM_SUN_STAR_AWT_XFONT_HXX_
00656 #include <smart/com/sun/star/awt/XFont.hxx>
00657 #endif
00658 #ifndef _SMART_COM_SUN_STAR_AWT_FONTTYPE_HXX_
00659 #include <smart/com/sun/star/awt/FontType.hxx>
00660 #endif
00661 #ifndef _SMART_COM_SUN_STAR_AWT_FONTUNDERLINE_HXX_
00662 #include <smart/com/sun/star/awt/FontUnderline.hxx>
00663 #endif
00664 #ifndef _SMART_COM_SUN_STAR_AWT_FONTSTRIKEOUT_HXX_
00665 #include <smart/com/sun/star/awt/FontStrikeout.hxx>
00666 #endif
00667 #ifndef _SMART_COM_SUN_STAR_AWT_FONTFAMILY_HXX_
00668 #include <smart/com/sun/star/awt/FontFamily.hxx>
00669 #endif
00670 #ifndef _SMART_COM_SUN_STAR_AWT_FONTPITCH_HXX_
00671 #include <smart/com/sun/star/awt/FontPitch.hxx>
00672 #endif
00673 #ifndef _SMART_COM_SUN_STAR_AWT_XTOPWINDOW_HXX_
00674 #include <smart/com/sun/star/awt/XTopWindow.hxx>
00675 #endif
00676 #ifndef _SMART_COM_SUN_STAR_AWT_XWINDOW_HXX_
00677 #include <smart/com/sun/star/awt/XWindow.hxx>
00678 #endif
00679 #ifndef _SMART_COM_SUN_STAR_AWT_POSSIZE_HXX_
00680 #include <smart/com/sun/star/awt/PosSize.hxx>
00681 #endif
00682 #ifndef _SMART_COM_SUN_STAR_AWT_VCLCONTAINEREVENT_HXX_
00683 #include <smart/com/sun/star/awt/VclContainerEvent.hxx>
00684 #endif
00685 #ifndef _SMART_COM_SUN_STAR_AWT_ITEMEVENT_HXX_
00686 #include <smart/com/sun/star/awt/ItemEvent.hxx>
00687 #endif
00688 #ifndef _SMART_COM_SUN_STAR_AWT_SPINEVENT_HXX_
00689 #include <smart/com/sun/star/awt/SpinEvent.hxx>
00690 #endif
00691 #ifndef _SMART_COM_SUN_STAR_AWT_TEXTEVENT_HXX_
00692 #include <smart/com/sun/star/awt/TextEvent.hxx>
00693 #endif
00694 #ifndef _SMART_COM_SUN_STAR_AWT_ADJUSTMENTTYPE_HXX_
00695 #include <smart/com/sun/star/awt/AdjustmentType.hxx>
00696 #endif
00697 #ifndef _SMART_COM_SUN_STAR_AWT_ACTIONEVENT_HXX_
00698 #include <smart/com/sun/star/awt/ActionEvent.hxx>
00699 #endif
00700 #ifndef _SMART_COM_SUN_STAR_AWT_ADJUSTMENTEVENT_HXX_
00701 #include <smart/com/sun/star/awt/AdjustmentEvent.hxx>
00702 #endif
00703 #ifndef _SMART_COM_SUN_STAR_AWT_RECTANGLE_HXX_
00704 #include <smart/com/sun/star/awt/Rectangle.hxx>
00705 #endif
00706 #ifndef _SMART_COM_SUN_STAR_AWT_SELECTION_HXX_
00707 #include <smart/com/sun/star/awt/Selection.hxx>
00708 #endif
00709 #ifndef _SMART_COM_SUN_STAR_AWT_SIZE_HXX_
00710 #include <smart/com/sun/star/awt/Size.hxx>
00711 #endif
00712 #ifndef _SMART_COM_SUN_STAR_AWT_WINDOWDESCRIPTOR_HXX_
00713 #include <smart/com/sun/star/awt/WindowDescriptor.hxx>
00714 #endif
00715 #ifndef _SMART_COM_SUN_STAR_AWT_INVALIDATESTYLE_HXX_
00716 #include <smart/com/sun/star/awt/InvalidateStyle.hxx>
00717 #endif
00718 #ifndef _SMART_COM_SUN_STAR_AWT_XTOOLKIT_HXX_
00719 #include <smart/com/sun/star/awt/XToolkit.hxx>
00720 #endif
00721 #ifndef _SMART_COM_SUN_STAR_AWT_XWINDOWPEER_HXX_
00722 #include <smart/com/sun/star/awt/XWindowPeer.hxx>
00723 #endif
00724 #ifndef _SMART_COM_SUN_STAR_AWT_WINDOWCLASS_HXX_
00725 #include <smart/com/sun/star/awt/WindowClass.hxx>
00726 #endif
00727 #ifndef _SMART_COM_SUN_STAR_AWT_XSYSTEMDEPENDENTWINDOWPEER_HXX_
00728 #include <smart/com/sun/star/awt/XSystemDependentWindowPeer.hxx>
00729 #endif
00730 #ifndef _SMART_COM_SUN_STAR_AWT_WINDOWATTRIBUTE_HXX_
00731 #include <smart/com/sun/star/awt/WindowAttribute.hxx>
00732 #endif
00733 #ifndef _SMART_COM_SUN_STAR_AWT_XPOINTER_HXX_
00734 #include <smart/com/sun/star/awt/XPointer.hxx>
00735 #endif
00736 #ifndef _SMART_COM_SUN_STAR_AWT_SYSTEMPOINTER_HXX_
00737 #include <smart/com/sun/star/awt/SystemPointer.hxx>
00738 #endif
00739 #ifndef _SMART_COM_SUN_STAR_AWT_XVIEW_HXX_
00740 #include <smart/com/sun/star/awt/XView.hxx>
00741 #endif
00742 #include <usr/refl.hxx>
00743 #include <sfx2/msg.hxx>
00744 #include <svtools/itemset.hxx>
00745 #include <sfx2/basedlgs.hxx>
00746 #include <vcl/floatwin.hxx>
00747 #include <vcl/dialog.hxx>
00748 #include <vcl/window.hxx>
00749 #include <sfx2/viewfrm.hxx>
00750 #include <sfx2/frame.hxx>
00751 #include <sfx2/objface.hxx>
00752 #include <vcl/event.hxx>
00753 #include <svtools/eitem.hxx>
00754 #include <svtools/intitem.hxx>
00755 #include <symbol.hxx>
00756 #include <svtools/itempool.hxx>
00757 #include <vcl/image.hxx>
00758 #include <vcl/metric.hxx>
00759 #include <sfx2/inimgr.hxx>
00760 #include <node.hxx>
00761 #include <tools/pstm.hxx>
00762 #include <tools/table.hxx>
00763 #include <sfx2/docfac.hxx>
00764 #include <svtools/ownlist.hxx>
00765 #include <sfx2/objsh.hxx>
00766 #include <svtools/stritem.hxx>
00767 #include <vcl/mapmod.hxx>
00768 #include <sfx2/ipfrm.hxx>
00769 #include <vcl/dialog.hxx>
00770 #include <sfx2/dispatch.hxx>
00771 #include <svtools/svstdarr.hxx>
00772 #include <sfx2/bindings.hxx>
00773 #include <dialog.hxx>
00774 #include <vcl/button.hxx>
00775 #include <vcl/symbol.hxx>
00776 #include <sfx2/tabdlg.hxx>
00777 #include <vcl/button.hxx>
00778 #include <vcl/tabdlg.hxx>
00779 #include <vcl/tabpage.hxx>
00780 #include <vcl/tabctrl.hxx>
00781 #include <vcl/group.hxx>
00782 #include <svx/optgenrl.hxx>
00783 #include <vcl/fixed.hxx>
00784 #include <vcl/edit.hxx>
00785 #include <vcl/group.hxx>
00786 #include <document.hxx>
00787 #include <vcl/field.hxx>
00788 #include <vcl/spinfld.hxx>
00789 #include <vcl/menubtn.hxx>
00790 #include <vcl/scrbar.hxx>
00791 #include <svtools/ctrlbox.hxx>
00792 #include <vcl/lstbox.hxx>
00793 #include <vcl/virdev.hxx>
00794 #include <vcl/combobox.hxx>
00795 #include <vcl/field.hxx>
00796 #include <svtools/ctrltool.hxx>
00797 #include <sfx2/interno.hxx>
00798 #include <sfx2/sfxdefs.hxx>
00799 #include <sfx2/childwin.hxx>
00800 #include <sfx2/chalign.hxx>
00801 #include <vcl/floatwin.hxx>
00802 #include <sot/storage.hxx>
00803 #include <rsc/rscsfx.hxx>
00804 #include <vcl/msgbox.hxx>
00805 #include <vcl/btndlg.hxx>
00806 #include <uno/uno.h>
00807 #include <uno/string.h>
00808 #include <uno/sequence.h>
00809 #include <uno/any.h>
00810 #include <uno/exceptn.h>
00811 #include <uno/intrface.h>
00812 #include <uno/factory.h>
00813 #include <uno/api.h>
00814 #include <svx/svxids.hrc>
00815 #include <view.hxx>
00816 #include <sfx2/dockwin.hxx>
00817 #include <vcl/dockwin.hxx>
00818 #include <sfx2/viewsh.hxx>
00819 #include <sfx2/clientsh.hxx>
00820 #include <svtools/scrwin.hxx>
00821 #include <vcl/scrbar.hxx>
00822 #include <sfx2/ctrlitem.hxx>
00823 #include <sfx2/viewfac.hxx>
00824 #include <edit.hxx>
00825 #include <svx/editdata.hxx>
00826 #include <toolbox.hxx>
00827 #include <vcl/toolbox.hxx>
00828 #include <vcl/dockwin.hxx>
00829 #include <smslots.hxx>
00830 #include <svtools/undo.hxx>
00831 #include <sfx2/request.hxx>
00832 #include <svtools/whiter.hxx>
00833 #include <vcl/prntypes.hxx>
00834 #include <vcl/jobset.hxx>
00835 #include <vcl/gdimtf.hxx>
00836 #include <sot/exchange.hxx>
00837 #include <vcl/wrkwin.hxx>
00838 #include <tools/sstring.hxx>
00839 #include <action.hxx>
00840 #include <sfx2/docinf.hxx>
00841 #include <sfx2/filedlg.hxx>
00842 #include <sfx2/iodlg.hxx>