summaryrefslogtreecommitdiff
path: root/svx/inc
diff options
context:
space:
mode:
Diffstat (limited to 'svx/inc')
-rwxr-xr-x[-rw-r--r--]svx/inc/accessibility.hrc0
-rwxr-xr-x[-rw-r--r--]svx/inc/dgdefs_.hxx0
-rwxr-xr-x[-rw-r--r--]svx/inc/dialdll.hxx0
-rwxr-xr-x[-rw-r--r--]svx/inc/dragmt3d.hxx6
-rwxr-xr-x[-rw-r--r--]svx/inc/drawuiks.hxx0
-rwxr-xr-x[-rw-r--r--]svx/inc/extrusiondepthdialog.hxx0
-rwxr-xr-x[-rw-r--r--]svx/inc/float3d.hrc3
-rwxr-xr-x[-rw-r--r--]svx/inc/fmhelp.hrc164
-rwxr-xr-x[-rw-r--r--]svx/inc/fontworkgallery.hrc0
-rwxr-xr-x[-rw-r--r--]svx/inc/galbrws2.hxx22
-rwxr-xr-x[-rw-r--r--]svx/inc/gallery.hrc0
-rwxr-xr-x[-rw-r--r--]svx/inc/galobj.hxx30
-rwxr-xr-x[-rw-r--r--]svx/inc/galtheme.hrc0
-rw-r--r--svx/inc/globlac.hrc223
-rwxr-xr-x[-rw-r--r--]svx/inc/globlmn_tmpl.hrc201
-rwxr-xr-x[-rw-r--r--]svx/inc/helpid.hrc500
-rwxr-xr-x[-rw-r--r--]svx/inc/lightdlg.hxx0
-rw-r--r--svx/inc/makefile.mk50
-rwxr-xr-x[-rw-r--r--]svx/inc/pch/precompiled_svx.cxx0
-rwxr-xr-x[-rw-r--r--]svx/inc/pch/precompiled_svx.hxx5
-rwxr-xr-x[-rw-r--r--]svx/inc/sjctrl.hxx72
-rwxr-xr-x[-rw-r--r--]svx/inc/svdibrow.hxx20
-rwxr-xr-x[-rw-r--r--]svx/inc/svdpomv.hxx0
-rwxr-xr-x[-rw-r--r--]svx/inc/svx/AccessibleControlShape.hxx0
-rwxr-xr-x[-rw-r--r--]svx/inc/svx/AccessibleGraphicShape.hxx0
-rwxr-xr-x[-rw-r--r--]svx/inc/svx/AccessibleOLEShape.hxx0
-rwxr-xr-x[-rw-r--r--]svx/inc/svx/AccessibleShape.hxx0
-rwxr-xr-x[-rw-r--r--]svx/inc/svx/AccessibleShapeInfo.hxx0
-rwxr-xr-x[-rw-r--r--]svx/inc/svx/AccessibleShapeTreeInfo.hxx0
-rwxr-xr-x[-rw-r--r--]svx/inc/svx/AccessibleTableShape.hxx0
-rwxr-xr-x[-rw-r--r--]svx/inc/svx/AccessibleTextHelper.hxx0
-rwxr-xr-x[-rw-r--r--]svx/inc/svx/ActionDescriptionProvider.hxx (renamed from svx/inc/ActionDescriptionProvider.hxx)0
-rwxr-xr-x[-rw-r--r--]svx/inc/svx/ChildrenManager.hxx0
-rwxr-xr-x[-rw-r--r--]svx/inc/svx/DescriptionGenerator.hxx (renamed from svx/inc/DescriptionGenerator.hxx)0
-rwxr-xr-xsvx/inc/svx/EnhancedCustomShape2d.hxx223
-rwxr-xr-x[-rw-r--r--]svx/inc/svx/EnhancedCustomShapeFunctionParser.hxx0
-rwxr-xr-xsvx/inc/svx/EnhancedCustomShapeGeometry.hxx104
-rwxr-xr-x[-rw-r--r--]svx/inc/svx/EnhancedCustomShapeTypeNames.hxx (renamed from svx/inc/svx/linkwarn.hxx)33
-rwxr-xr-x[-rw-r--r--]svx/inc/svx/IAccessibleParent.hxx0
-rwxr-xr-x[-rw-r--r--]svx/inc/svx/IAccessibleViewForwarder.hxx0
-rwxr-xr-x[-rw-r--r--]svx/inc/svx/IAccessibleViewForwarderListener.hxx0
-rwxr-xr-x[-rw-r--r--]svx/inc/svx/ParseContext.hxx (renamed from svx/inc/ParseContext.hxx)0
-rwxr-xr-x[-rw-r--r--]svx/inc/svx/ShapeTypeHandler.hxx0
-rwxr-xr-x[-rw-r--r--]svx/inc/svx/SmartTagCtl.hxx4
-rwxr-xr-x[-rw-r--r--]svx/inc/svx/SmartTagItem.hxx10
-rwxr-xr-x[-rw-r--r--]svx/inc/svx/SmartTagMgr.hxx0
-rwxr-xr-x[-rw-r--r--]svx/inc/svx/SpellDialogChildWindow.hxx2
-rwxr-xr-x[-rw-r--r--]svx/inc/svx/SvxShapeTypes.hxx0
-rwxr-xr-x[-rw-r--r--]svx/inc/svx/UnoNamespaceMap.hxx (renamed from svx/inc/UnoNamespaceMap.hxx)0
-rwxr-xr-x[-rw-r--r--]svx/inc/svx/XPropertyTable.hxx (renamed from svx/inc/XPropertyTable.hxx)0
-rwxr-xr-x[-rw-r--r--]svx/inc/svx/algitem.hxx68
-rwxr-xr-x[-rw-r--r--]svx/inc/svx/anchorid.hxx (renamed from svx/inc/anchorid.hxx)0
-rwxr-xr-x[-rw-r--r--]svx/inc/svx/bmpmask.hxx25
-rwxr-xr-x[-rw-r--r--]svx/inc/svx/camera3d.hxx0
-rwxr-xr-x[-rw-r--r--]svx/inc/svx/charmap.hxx16
-rwxr-xr-x[-rw-r--r--]svx/inc/svx/checklbx.hxx24
-rwxr-xr-x[-rw-r--r--]svx/inc/svx/chrtitem.hxx (renamed from svx/inc/chrtitem.hxx)112
-rwxr-xr-x[-rw-r--r--]svx/inc/svx/clipboardctl.hxx (renamed from svx/inc/clipboardctl.hxx)8
-rwxr-xr-x[-rw-r--r--]svx/inc/svx/clipfmtitem.hxx (renamed from svx/inc/clipfmtitem.hxx)18
-rwxr-xr-x[-rw-r--r--]svx/inc/svx/colrctrl.hxx18
-rwxr-xr-x[-rw-r--r--]svx/inc/svx/connctrl.hxx (renamed from svx/inc/connctrl.hxx)2
-rwxr-xr-x[-rw-r--r--]svx/inc/svx/contdlg.hxx18
-rwxr-xr-x[-rw-r--r--]svx/inc/svx/ctredlin.hxx122
-rwxr-xr-x[-rw-r--r--]svx/inc/svx/cube3d.hxx14
-rwxr-xr-x[-rw-r--r--]svx/inc/svx/dataaccessdescriptor.hxx0
-rwxr-xr-x[-rw-r--r--]svx/inc/svx/databaselocationinput.hxx0
-rwxr-xr-x[-rw-r--r--]svx/inc/svx/databaseregistrationui.hxx (renamed from svx/inc/databaseregistrationui.hxx)5
-rwxr-xr-x[-rw-r--r--]svx/inc/svx/dbaexchange.hxx0
-rwxr-xr-x[-rw-r--r--]svx/inc/svx/dbaobjectex.hxx0
-rwxr-xr-x[-rw-r--r--]svx/inc/svx/dbcharsethelper.hxx0
-rwxr-xr-x[-rw-r--r--]svx/inc/svx/dbexch.hrc (renamed from svx/inc/dbexch.hrc)0
-rwxr-xr-x[-rw-r--r--]svx/inc/svx/dbtoolsclient.hxx2
-rwxr-xr-x[-rw-r--r--]svx/inc/svx/def3d.hxx0
-rwxr-xr-x[-rw-r--r--]svx/inc/svx/deflt3d.hxx84
-rwxr-xr-x[-rw-r--r--]svx/inc/svx/dialcontrol.hxx (renamed from svx/inc/dialcontrol.hxx)0
-rwxr-xr-x[-rw-r--r--]svx/inc/svx/dialmgr.hxx0
-rwxr-xr-xsvx/inc/svx/dialogs.hrc21
-rwxr-xr-x[-rw-r--r--]svx/inc/svx/dlgctl3d.hxx0
-rwxr-xr-x[-rw-r--r--]svx/inc/svx/dlgctrl.hxx82
-rwxr-xr-x[-rw-r--r--]svx/inc/svx/dlgutil.hxx (renamed from svx/inc/dlgutil.hxx)0
-rwxr-xr-x[-rw-r--r--]svx/inc/svx/drawitem.hxx (renamed from svx/inc/drawitem.hxx)36
-rwxr-xr-x[-rw-r--r--]svx/inc/svx/dstribut_enum.hxx0
-rwxr-xr-x[-rw-r--r--]svx/inc/svx/e3ditem.hxx14
-rwxr-xr-x[-rw-r--r--]svx/inc/svx/e3dsceneupdater.hxx0
-rwxr-xr-x[-rw-r--r--]svx/inc/svx/e3dundo.hxx8
-rwxr-xr-x[-rw-r--r--]svx/inc/svx/exthelpid.hrc17
-rwxr-xr-x[-rw-r--r--]svx/inc/svx/extrud3d.hxx4
-rwxr-xr-x[-rw-r--r--]svx/inc/svx/extrusionbar.hxx0
-rwxr-xr-x[-rw-r--r--]svx/inc/svx/extrusioncolorcontrol.hxx4
-rwxr-xr-x[-rw-r--r--]svx/inc/svx/f3dchild.hxx2
-rwxr-xr-x[-rw-r--r--]svx/inc/svx/fillctrl.hxx10
-rwxr-xr-x[-rw-r--r--]svx/inc/svx/flagsdef.hxx (renamed from svx/inc/flagsdef.hxx)12
-rwxr-xr-x[-rw-r--r--]svx/inc/svx/float3d.hxx50
-rwxr-xr-x[-rw-r--r--]svx/inc/svx/fmdmod.hxx0
-rwxr-xr-x[-rw-r--r--]svx/inc/svx/fmdpage.hxx0
-rwxr-xr-x[-rw-r--r--]svx/inc/svx/fmglob.hxx0
-rwxr-xr-x[-rw-r--r--]svx/inc/svx/fmgridcl.hxx0
-rwxr-xr-x[-rw-r--r--]svx/inc/svx/fmgridif.hxx (renamed from svx/inc/fmgridif.hxx)2
-rwxr-xr-x[-rw-r--r--]svx/inc/svx/fmmodel.hxx2
-rwxr-xr-x[-rw-r--r--]svx/inc/svx/fmobjfac.hxx (renamed from svx/inc/fmobjfac.hxx)2
-rwxr-xr-x[-rw-r--r--]svx/inc/svx/fmpage.hxx4
-rwxr-xr-xsvx/inc/svx/fmresids.hrc263
-rwxr-xr-x[-rw-r--r--]svx/inc/svx/fmsearch.hxx0
-rwxr-xr-x[-rw-r--r--]svx/inc/svx/fmshell.hxx0
-rwxr-xr-xsvx/inc/svx/fmsrccfg.hxx158
-rwxr-xr-xsvx/inc/svx/fmsrcimp.hxx403
-rwxr-xr-x[-rw-r--r--]svx/inc/svx/fmtools.hxx2
-rwxr-xr-x[-rw-r--r--]svx/inc/svx/fmview.hxx8
-rwxr-xr-x[-rw-r--r--]svx/inc/svx/fntctl.hxx4
-rwxr-xr-x[-rw-r--r--]svx/inc/svx/fntctrl.hxx10
-rwxr-xr-x[-rw-r--r--]svx/inc/svx/fntszctl.hxx4
-rwxr-xr-x[-rw-r--r--]svx/inc/svx/fontlb.hxx (renamed from svx/inc/fontlb.hxx)2
-rwxr-xr-x[-rw-r--r--]svx/inc/svx/fontwork.hxx18
-rwxr-xr-x[-rw-r--r--]svx/inc/svx/fontworkbar.hxx0
-rwxr-xr-x[-rw-r--r--]svx/inc/svx/fontworkgallery.hxx (renamed from svx/inc/fontworkgallery.hxx)6
-rwxr-xr-x[-rw-r--r--]svx/inc/svx/formatpaintbrushctrl.hxx (renamed from svx/inc/formatpaintbrushctrl.hxx)6
-rwxr-xr-x[-rw-r--r--]svx/inc/svx/framebordertype.hxx0
-rwxr-xr-x[-rw-r--r--]svx/inc/svx/framelink.hxx0
-rwxr-xr-x[-rw-r--r--]svx/inc/svx/framelinkarray.hxx0
-rwxr-xr-x[-rw-r--r--]svx/inc/svx/frmdirlbox.hxx0
-rwxr-xr-x[-rw-r--r--]svx/inc/svx/frmsel.hxx4
-rwxr-xr-x[-rw-r--r--]svx/inc/svx/galbrws.hxx (renamed from svx/inc/galbrws.hxx)10
-rwxr-xr-x[-rw-r--r--]svx/inc/svx/galctrl.hxx (renamed from svx/inc/galctrl.hxx)12
-rwxr-xr-x[-rw-r--r--]svx/inc/svx/gallery.hxx (renamed from svx/inc/gallery.hxx)58
-rwxr-xr-x[-rw-r--r--]svx/inc/svx/gallery1.hxx56
-rwxr-xr-x[-rw-r--r--]svx/inc/svx/galmisc.hxx38
-rwxr-xr-x[-rw-r--r--]svx/inc/svx/galtheme.hxx (renamed from svx/inc/galtheme.hxx)84
-rwxr-xr-x[-rw-r--r--]svx/inc/svx/globl3d.hxx (renamed from svx/inc/globl3d.hxx)28
-rwxr-xr-x[-rw-r--r--]svx/inc/svx/grafctrl.hxx (renamed from svx/inc/grafctrl.hxx)28
-rwxr-xr-x[-rw-r--r--]svx/inc/svx/graphctl.hxx20
-rwxr-xr-x[-rw-r--r--]svx/inc/svx/grfcrop.hxx12
-rwxr-xr-x[-rw-r--r--]svx/inc/svx/grfflt.hxx2
-rwxr-xr-x[-rw-r--r--]svx/inc/svx/gridctrl.hxx4
-rwxr-xr-x[-rw-r--r--]svx/inc/svx/hdft.hxx22
-rwxr-xr-x[-rw-r--r--]svx/inc/svx/helperhittest3d.hxx0
-rwxr-xr-x[-rw-r--r--]svx/inc/svx/hlnkitem.hxx (renamed from svx/inc/hlnkitem.hxx)22
-rwxr-xr-x[-rw-r--r--]svx/inc/svx/htmlmode.hxx (renamed from svx/inc/htmlmode.hxx)0
-rwxr-xr-x[-rw-r--r--]svx/inc/svx/hyperdlg.hxx (renamed from svx/inc/hyperdlg.hxx)2
-rwxr-xr-xsvx/inc/svx/hyprlink.hxx43
-rwxr-xr-x[-rw-r--r--]svx/inc/svx/ifaceids.hxx0
-rwxr-xr-x[-rw-r--r--]svx/inc/svx/imapdlg.hxx (renamed from svx/inc/imapdlg.hxx)12
-rwxr-xr-x[-rw-r--r--]svx/inc/svx/insctrl.hxx (renamed from svx/inc/insctrl.hxx)8
-rwxr-xr-x[-rw-r--r--]svx/inc/svx/ipolypolygoneditorcontroller.hxx8
-rwxr-xr-x[-rw-r--r--]svx/inc/svx/itemwin.hxx26
-rwxr-xr-x[-rw-r--r--]svx/inc/svx/langbox.hxx40
-rwxr-xr-x[-rw-r--r--]svx/inc/svx/lathe3d.hxx6
-rwxr-xr-x[-rw-r--r--]svx/inc/svx/layctrl.hxx (renamed from svx/inc/layctrl.hxx)8
-rwxr-xr-x[-rw-r--r--]svx/inc/svx/lboxctrl.hxx (renamed from svx/inc/lboxctrl.hxx)10
-rwxr-xr-x[-rw-r--r--]svx/inc/svx/linectrl.hxx (renamed from svx/inc/linectrl.hxx)34
-rwxr-xr-x[-rw-r--r--]svx/inc/svx/measctrl.hxx (renamed from svx/inc/measctrl.hxx)0
-rwxr-xr-x[-rw-r--r--]svx/inc/svx/modctrl.hxx (renamed from svx/inc/modctrl.hxx)6
-rwxr-xr-x[-rw-r--r--]svx/inc/svx/msdffdef.hxx168
-rwxr-xr-x[-rw-r--r--]svx/inc/svx/numfmtsh.hxx78
-rwxr-xr-x[-rw-r--r--]svx/inc/svx/numinf.hxx14
-rwxr-xr-x[-rw-r--r--]svx/inc/svx/numvset.hxx (renamed from svx/inc/numvset.hxx)26
-rwxr-xr-x[-rw-r--r--]svx/inc/svx/obj3d.hxx52
-rwxr-xr-x[-rw-r--r--]svx/inc/svx/objfac3d.hxx (renamed from svx/inc/objfac3d.hxx)0
-rwxr-xr-x[-rw-r--r--]svx/inc/svx/ofaitem.hxx (renamed from svx/inc/ofaitem.hxx)2
-rwxr-xr-x[-rw-r--r--]svx/inc/svx/optgenrl.hxx (renamed from svx/inc/optgenrl.hxx)32
-rwxr-xr-x[-rw-r--r--]svx/inc/svx/optgrid.hxx (renamed from svx/inc/optgrid.hxx)68
-rwxr-xr-x[-rw-r--r--]svx/inc/svx/orienthelper.hxx (renamed from svx/inc/orienthelper.hxx)0
-rwxr-xr-x[-rw-r--r--]svx/inc/svx/pagectrl.hxx40
-rwxr-xr-x[-rw-r--r--]svx/inc/svx/pageitem.hxx30
-rwxr-xr-x[-rw-r--r--]svx/inc/svx/paraprev.hxx22
-rwxr-xr-x[-rw-r--r--]svx/inc/svx/passwd.hxx (renamed from svx/inc/passwd.hxx)4
-rwxr-xr-x[-rw-r--r--]svx/inc/svx/pfiledlg.hxx (renamed from svx/inc/pfiledlg.hxx)6
-rwxr-xr-x[-rw-r--r--]svx/inc/svx/polygn3d.hxx16
-rwxr-xr-x[-rw-r--r--]svx/inc/svx/polypolygoneditor.hxx0
-rwxr-xr-x[-rw-r--r--]svx/inc/svx/polysc3d.hxx2
-rwxr-xr-x[-rw-r--r--]svx/inc/svx/postattr.hxx (renamed from svx/inc/postattr.hxx)12
-rwxr-xr-x[-rw-r--r--]svx/inc/svx/prtqry.hxx (renamed from svx/inc/prtqry.hxx)0
-rwxr-xr-x[-rw-r--r--]svx/inc/svx/pszctrl.hxx (renamed from svx/inc/pszctrl.hxx)6
-rwxr-xr-x[-rw-r--r--]svx/inc/svx/rectenum.hxx0
-rwxr-xr-x[-rw-r--r--]svx/inc/svx/relfld.hxx (renamed from svx/inc/relfld.hxx)24
-rwxr-xr-x[-rw-r--r--]svx/inc/svx/rotmodit.hxx (renamed from svx/inc/rotmodit.hxx)14
-rwxr-xr-x[-rw-r--r--]svx/inc/svx/rubydialog.hxx (renamed from svx/inc/rubydialog.hxx)10
-rwxr-xr-x[-rw-r--r--]svx/inc/svx/ruler.hxx62
-rwxr-xr-x[-rw-r--r--]svx/inc/svx/rulritem.hxx (renamed from svx/inc/rulritem.hxx)76
-rwxr-xr-x[-rw-r--r--]svx/inc/svx/scene3d.hxx24
-rwxr-xr-x[-rw-r--r--]svx/inc/svx/sdangitm.hxx6
-rwxr-xr-x[-rw-r--r--]svx/inc/svx/sdasaitm.hxx4
-rwxr-xr-x[-rw-r--r--]svx/inc/svx/sdasitm.hxx8
-rwxr-xr-x[-rw-r--r--]svx/inc/svx/sderitm.hxx0
-rwxr-xr-x[-rw-r--r--]svx/inc/svx/sdgcoitm.hxx6
-rwxr-xr-x[-rw-r--r--]svx/inc/svx/sdgcpitm.hxx6
-rwxr-xr-x[-rw-r--r--]svx/inc/svx/sdggaitm.hxx8
-rwxr-xr-x[-rw-r--r--]svx/inc/svx/sdginitm.hxx4
-rwxr-xr-x[-rw-r--r--]svx/inc/svx/sdgluitm.hxx4
-rwxr-xr-x[-rw-r--r--]svx/inc/svx/sdgmoitm.hxx8
-rwxr-xr-x[-rw-r--r--]svx/inc/svx/sdgtritm.hxx4
-rwxr-xr-x[-rw-r--r--]svx/inc/svx/sdmetitm.hxx6
-rwxr-xr-x[-rw-r--r--]svx/inc/svx/sdooitm.hxx8
-rwxr-xr-x[-rw-r--r--]svx/inc/svx/sdprcitm.hxx12
-rwxr-xr-x[-rw-r--r--]svx/inc/svx/sdr/animation/animationstate.hxx0
-rwxr-xr-x[-rw-r--r--]svx/inc/svx/sdr/animation/objectanimator.hxx0
-rwxr-xr-x[-rw-r--r--]svx/inc/svx/sdr/animation/scheduler.hxx0
-rwxr-xr-x[-rw-r--r--]svx/inc/svx/sdr/attribute/sdrfilltextattribute.hxx0
-rwxr-xr-x[-rw-r--r--]svx/inc/svx/sdr/attribute/sdrformtextattribute.hxx0
-rwxr-xr-x[-rw-r--r--]svx/inc/svx/sdr/attribute/sdrformtextoutlineattribute.hxx0
-rwxr-xr-x[-rw-r--r--]svx/inc/svx/sdr/attribute/sdrlinefillshadowtextattribute.hxx0
-rwxr-xr-x[-rw-r--r--]svx/inc/svx/sdr/attribute/sdrlineshadowtextattribute.hxx0
-rwxr-xr-x[-rw-r--r--]svx/inc/svx/sdr/attribute/sdrshadowtextattribute.hxx0
-rwxr-xr-x[-rw-r--r--]svx/inc/svx/sdr/attribute/sdrtextattribute.hxx0
-rwxr-xr-x[-rw-r--r--]svx/inc/svx/sdr/contact/displayinfo.hxx0
-rwxr-xr-x[-rw-r--r--]svx/inc/svx/sdr/contact/objectcontact.hxx0
-rwxr-xr-x[-rw-r--r--]svx/inc/svx/sdr/contact/objectcontactofobjlistpainter.hxx9
-rwxr-xr-x[-rw-r--r--]svx/inc/svx/sdr/contact/objectcontactofpageview.hxx0
-rwxr-xr-x[-rw-r--r--]svx/inc/svx/sdr/contact/objectcontacttools.hxx0
-rwxr-xr-x[-rw-r--r--]svx/inc/svx/sdr/contact/viewcontact.hxx0
-rwxr-xr-x[-rw-r--r--]svx/inc/svx/sdr/contact/viewcontactofe3d.hxx0
-rwxr-xr-x[-rw-r--r--]svx/inc/svx/sdr/contact/viewcontactofe3dcube.hxx0
-rwxr-xr-x[-rw-r--r--]svx/inc/svx/sdr/contact/viewcontactofe3dextrude.hxx0
-rwxr-xr-x[-rw-r--r--]svx/inc/svx/sdr/contact/viewcontactofe3dlathe.hxx0
-rwxr-xr-x[-rw-r--r--]svx/inc/svx/sdr/contact/viewcontactofe3dpolygon.hxx0
-rwxr-xr-x[-rw-r--r--]svx/inc/svx/sdr/contact/viewcontactofe3dscene.hxx0
-rwxr-xr-x[-rw-r--r--]svx/inc/svx/sdr/contact/viewcontactofe3dsphere.hxx0
-rwxr-xr-x[-rw-r--r--]svx/inc/svx/sdr/contact/viewcontactofgraphic.hxx0
-rwxr-xr-x[-rw-r--r--]svx/inc/svx/sdr/contact/viewcontactofgroup.hxx0
-rwxr-xr-x[-rw-r--r--]svx/inc/svx/sdr/contact/viewcontactofmasterpagedescriptor.hxx0
-rwxr-xr-x[-rw-r--r--]svx/inc/svx/sdr/contact/viewcontactofpageobj.hxx0
-rwxr-xr-x[-rw-r--r--]svx/inc/svx/sdr/contact/viewcontactofsdrcaptionobj.hxx0
-rwxr-xr-x[-rw-r--r--]svx/inc/svx/sdr/contact/viewcontactofsdrcircobj.hxx0
-rwxr-xr-x[-rw-r--r--]svx/inc/svx/sdr/contact/viewcontactofsdredgeobj.hxx0
-rwxr-xr-x[-rw-r--r--]svx/inc/svx/sdr/contact/viewcontactofsdrmeasureobj.hxx0
-rwxr-xr-x[-rw-r--r--]svx/inc/svx/sdr/contact/viewcontactofsdrmediaobj.hxx0
-rwxr-xr-x[-rw-r--r--]svx/inc/svx/sdr/contact/viewcontactofsdrobj.hxx0
-rwxr-xr-x[-rw-r--r--]svx/inc/svx/sdr/contact/viewcontactofsdrobjcustomshape.hxx0
-rwxr-xr-x[-rw-r--r--]svx/inc/svx/sdr/contact/viewcontactofsdrole2obj.hxx0
-rwxr-xr-x[-rw-r--r--]svx/inc/svx/sdr/contact/viewcontactofsdrpage.hxx0
-rwxr-xr-x[-rw-r--r--]svx/inc/svx/sdr/contact/viewcontactofsdrpathobj.hxx0
-rwxr-xr-x[-rw-r--r--]svx/inc/svx/sdr/contact/viewcontactofsdrrectobj.hxx0
-rwxr-xr-x[-rw-r--r--]svx/inc/svx/sdr/contact/viewcontactoftextobj.hxx0
-rwxr-xr-x[-rw-r--r--]svx/inc/svx/sdr/contact/viewcontactofunocontrol.hxx0
-rwxr-xr-x[-rw-r--r--]svx/inc/svx/sdr/contact/viewcontactofvirtobj.hxx0
-rwxr-xr-x[-rw-r--r--]svx/inc/svx/sdr/contact/viewobjectcontact.hxx0
-rwxr-xr-x[-rw-r--r--]svx/inc/svx/sdr/contact/viewobjectcontactofe3d.hxx0
-rwxr-xr-x[-rw-r--r--]svx/inc/svx/sdr/contact/viewobjectcontactofe3dscene.hxx0
-rwxr-xr-x[-rw-r--r--]svx/inc/svx/sdr/contact/viewobjectcontactofgraphic.hxx0
-rwxr-xr-x[-rw-r--r--]svx/inc/svx/sdr/contact/viewobjectcontactofgroup.hxx0
-rwxr-xr-x[-rw-r--r--]svx/inc/svx/sdr/contact/viewobjectcontactofmasterpagedescriptor.hxx0
-rwxr-xr-x[-rw-r--r--]svx/inc/svx/sdr/contact/viewobjectcontactofpageobj.hxx0
-rwxr-xr-x[-rw-r--r--]svx/inc/svx/sdr/contact/viewobjectcontactofsdrmediaobj.hxx0
-rwxr-xr-x[-rw-r--r--]svx/inc/svx/sdr/contact/viewobjectcontactofsdrobj.hxx0
-rwxr-xr-x[-rw-r--r--]svx/inc/svx/sdr/contact/viewobjectcontactofsdrole2obj.hxx0
-rwxr-xr-x[-rw-r--r--]svx/inc/svx/sdr/contact/viewobjectcontactofsdrpage.hxx0
-rwxr-xr-x[-rw-r--r--]svx/inc/svx/sdr/contact/viewobjectcontactofunocontrol.hxx0
-rwxr-xr-x[-rw-r--r--]svx/inc/svx/sdr/contact/viewobjectcontactredirector.hxx0
-rwxr-xr-x[-rw-r--r--]svx/inc/svx/sdr/event/eventhandler.hxx0
-rwxr-xr-x[-rw-r--r--]svx/inc/svx/sdr/overlay/overlayanimatedbitmapex.hxx0
-rwxr-xr-x[-rw-r--r--]svx/inc/svx/sdr/overlay/overlaybitmapex.hxx0
-rwxr-xr-x[-rw-r--r--]svx/inc/svx/sdr/overlay/overlaycrosshair.hxx0
-rwxr-xr-x[-rw-r--r--]svx/inc/svx/sdr/overlay/overlayhatchrect.hxx0
-rwxr-xr-x[-rw-r--r--]svx/inc/svx/sdr/overlay/overlayhelpline.hxx0
-rwxr-xr-x[-rw-r--r--]svx/inc/svx/sdr/overlay/overlayline.hxx0
-rwxr-xr-x[-rw-r--r--]svx/inc/svx/sdr/overlay/overlaymanager.hxx0
-rwxr-xr-x[-rw-r--r--]svx/inc/svx/sdr/overlay/overlaymanagerbuffered.hxx0
-rwxr-xr-x[-rw-r--r--]svx/inc/svx/sdr/overlay/overlayobject.hxx0
-rwxr-xr-x[-rw-r--r--]svx/inc/svx/sdr/overlay/overlayobjectcell.hxx0
-rwxr-xr-x[-rw-r--r--]svx/inc/svx/sdr/overlay/overlayobjectlist.hxx0
-rwxr-xr-x[-rw-r--r--]svx/inc/svx/sdr/overlay/overlaypolypolygon.hxx0
-rwxr-xr-x[-rw-r--r--]svx/inc/svx/sdr/overlay/overlayprimitive2dsequenceobject.hxx0
-rwxr-xr-x[-rw-r--r--]svx/inc/svx/sdr/overlay/overlayrollingrectangle.hxx0
-rwxr-xr-x[-rw-r--r--]svx/inc/svx/sdr/overlay/overlayselection.hxx0
-rwxr-xr-x[-rw-r--r--]svx/inc/svx/sdr/overlay/overlaytools.hxx0
-rwxr-xr-x[-rw-r--r--]svx/inc/svx/sdr/overlay/overlaytriangle.hxx0
-rwxr-xr-x[-rw-r--r--]svx/inc/svx/sdr/primitive2d/primitiveFactory2d.hxx0
-rwxr-xr-x[-rw-r--r--]svx/inc/svx/sdr/primitive2d/sdrattributecreator.hxx0
-rwxr-xr-x[-rw-r--r--]svx/inc/svx/sdr/primitive2d/sdrcaptionprimitive2d.hxx0
-rwxr-xr-x[-rw-r--r--]svx/inc/svx/sdr/primitive2d/sdrconnectorprimitive2d.hxx0
-rwxr-xr-x[-rw-r--r--]svx/inc/svx/sdr/primitive2d/sdrcustomshapeprimitive2d.hxx0
-rwxr-xr-x[-rw-r--r--]svx/inc/svx/sdr/primitive2d/sdrdecompositiontools.hxx0
-rwxr-xr-x[-rw-r--r--]svx/inc/svx/sdr/primitive2d/sdrellipseprimitive2d.hxx0
-rwxr-xr-x[-rw-r--r--]svx/inc/svx/sdr/primitive2d/sdrgrafprimitive2d.hxx0
-rwxr-xr-x[-rw-r--r--]svx/inc/svx/sdr/primitive2d/sdrmeasureprimitive2d.hxx0
-rwxr-xr-x[-rw-r--r--]svx/inc/svx/sdr/primitive2d/sdrole2primitive2d.hxx0
-rwxr-xr-x[-rw-r--r--]svx/inc/svx/sdr/primitive2d/sdrolecontentprimitive2d.hxx0
-rwxr-xr-x[-rw-r--r--]svx/inc/svx/sdr/primitive2d/sdrpathprimitive2d.hxx0
-rwxr-xr-x[-rw-r--r--]svx/inc/svx/sdr/primitive2d/sdrprimitivetools.hxx0
-rwxr-xr-x[-rw-r--r--]svx/inc/svx/sdr/primitive2d/sdrrectangleprimitive2d.hxx0
-rwxr-xr-x[-rw-r--r--]svx/inc/svx/sdr/primitive2d/sdrtextprimitive2d.hxx0
-rwxr-xr-x[-rw-r--r--]svx/inc/svx/sdr/primitive2d/svx_primitivetypes2d.hxx0
-rwxr-xr-x[-rw-r--r--]svx/inc/svx/sdr/primitive3d/sdrattributecreator3d.hxx0
-rwxr-xr-x[-rw-r--r--]svx/inc/svx/sdr/properties/attributeproperties.hxx0
-rwxr-xr-x[-rw-r--r--]svx/inc/svx/sdr/properties/captionproperties.hxx0
-rwxr-xr-x[-rw-r--r--]svx/inc/svx/sdr/properties/circleproperties.hxx0
-rwxr-xr-x[-rw-r--r--]svx/inc/svx/sdr/properties/connectorproperties.hxx0
-rwxr-xr-x[-rw-r--r--]svx/inc/svx/sdr/properties/customshapeproperties.hxx0
-rwxr-xr-x[-rw-r--r--]svx/inc/svx/sdr/properties/defaultproperties.hxx0
-rwxr-xr-x[-rw-r--r--]svx/inc/svx/sdr/properties/e3dcompoundproperties.hxx0
-rwxr-xr-x[-rw-r--r--]svx/inc/svx/sdr/properties/e3dextrudeproperties.hxx0
-rwxr-xr-x[-rw-r--r--]svx/inc/svx/sdr/properties/e3dlatheproperties.hxx0
-rwxr-xr-x[-rw-r--r--]svx/inc/svx/sdr/properties/e3dproperties.hxx0
-rwxr-xr-x[-rw-r--r--]svx/inc/svx/sdr/properties/e3dsceneproperties.hxx0
-rwxr-xr-x[-rw-r--r--]svx/inc/svx/sdr/properties/e3dsphereproperties.hxx0
-rwxr-xr-x[-rw-r--r--]svx/inc/svx/sdr/properties/emptyproperties.hxx0
-rwxr-xr-x[-rw-r--r--]svx/inc/svx/sdr/properties/graphicproperties.hxx0
-rwxr-xr-x[-rw-r--r--]svx/inc/svx/sdr/properties/groupproperties.hxx0
-rwxr-xr-x[-rw-r--r--]svx/inc/svx/sdr/properties/itemsettools.hxx0
-rwxr-xr-x[-rw-r--r--]svx/inc/svx/sdr/properties/measureproperties.hxx0
-rwxr-xr-x[-rw-r--r--]svx/inc/svx/sdr/properties/oleproperties.hxx0
-rwxr-xr-x[-rw-r--r--]svx/inc/svx/sdr/properties/pageproperties.hxx0
-rwxr-xr-x[-rw-r--r--]svx/inc/svx/sdr/properties/properties.hxx0
-rwxr-xr-x[-rw-r--r--]svx/inc/svx/sdr/properties/rectangleproperties.hxx0
-rwxr-xr-x[-rw-r--r--]svx/inc/svx/sdr/properties/textproperties.hxx0
-rwxr-xr-x[-rw-r--r--]svx/inc/svx/sdr/table/tabledesign.hxx0
-rwxr-xr-x[-rw-r--r--]svx/inc/svx/sdrcomment.hxx0
-rwxr-xr-x[-rw-r--r--]svx/inc/svx/sdrhittesthelper.hxx0
-rwxr-xr-x[-rw-r--r--]svx/inc/svx/sdrmasterpagedescriptor.hxx0
-rwxr-xr-x[-rw-r--r--]svx/inc/svx/sdrobjectfilter.hxx0
-rwxr-xr-x[-rw-r--r--]svx/inc/svx/sdrobjectuser.hxx0
-rwxr-xr-x[-rw-r--r--]svx/inc/svx/sdrpageuser.hxx0
-rwxr-xr-x[-rw-r--r--]svx/inc/svx/sdrpagewindow.hxx1
-rwxr-xr-x[-rw-r--r--]svx/inc/svx/sdrpaintwindow.hxx (renamed from svx/inc/sdrpaintwindow.hxx)0
-rwxr-xr-x[-rw-r--r--]svx/inc/svx/sdshcitm.hxx0
-rwxr-xr-x[-rw-r--r--]svx/inc/svx/sdshitm.hxx2
-rwxr-xr-x[-rw-r--r--]svx/inc/svx/sdshtitm.hxx2
-rwxr-xr-x[-rw-r--r--]svx/inc/svx/sdsxyitm.hxx0
-rwxr-xr-x[-rw-r--r--]svx/inc/svx/sdtaaitm.hxx4
-rwxr-xr-x[-rw-r--r--]svx/inc/svx/sdtacitm.hxx2
-rwxr-xr-x[-rw-r--r--]svx/inc/svx/sdtaditm.hxx12
-rwxr-xr-x[-rw-r--r--]svx/inc/svx/sdtagitm.hxx4
-rwxr-xr-x[-rw-r--r--]svx/inc/svx/sdtaiitm.hxx4
-rwxr-xr-x[-rw-r--r--]svx/inc/svx/sdtaitm.hxx24
-rwxr-xr-x[-rw-r--r--]svx/inc/svx/sdtakitm.hxx28
-rwxr-xr-x[-rw-r--r--]svx/inc/svx/sdtayitm.hxx4
-rwxr-xr-x[-rw-r--r--]svx/inc/svx/sdtcfitm.hxx2
-rwxr-xr-x[-rw-r--r--]svx/inc/svx/sdtditm.hxx0
-rwxr-xr-x[-rw-r--r--]svx/inc/svx/sdtfchim.hxx6
-rwxr-xr-x[-rw-r--r--]svx/inc/svx/sdtfsitm.hxx16
-rwxr-xr-x[-rw-r--r--]svx/inc/svx/sdtmfitm.hxx0
-rwxr-xr-x[-rw-r--r--]svx/inc/svx/sdynitm.hxx8
-rwxr-xr-x[-rw-r--r--]svx/inc/svx/selctrl.hxx (renamed from svx/inc/selctrl.hxx)8
-rwxr-xr-x[-rw-r--r--]svx/inc/svx/selectioncontroller.hxx0
-rwxr-xr-x[-rw-r--r--]svx/inc/svx/shapeproperty.hxx0
-rwxr-xr-x[-rw-r--r--]svx/inc/svx/shapepropertynotifier.hxx0
-rwxr-xr-x[-rw-r--r--]svx/inc/svx/simptabl.hxx28
-rwxr-xr-x[-rw-r--r--]svx/inc/svx/sphere3d.hxx4
-rwxr-xr-x[-rw-r--r--]svx/inc/svx/splitcelldlg.hxx2
-rwxr-xr-x[-rw-r--r--]svx/inc/svx/srchdlg.hxx (renamed from svx/inc/srchdlg.hxx)46
-rwxr-xr-x[-rw-r--r--]svx/inc/svx/stddlg.hxx0
-rwxr-xr-x[-rw-r--r--]svx/inc/svx/strarray.hxx0
-rwxr-xr-x[-rw-r--r--]svx/inc/svx/subtoolboxcontrol.hxx2
-rwxr-xr-x[-rw-r--r--]svx/inc/svx/svdattr.hxx0
-rwxr-xr-x[-rw-r--r--]svx/inc/svx/svdattrx.hxx0
-rwxr-xr-x[-rw-r--r--]svx/inc/svx/svdcrtv.hxx84
-rwxr-xr-x[-rw-r--r--]svx/inc/svx/svddef.hxx22
-rwxr-xr-x[-rw-r--r--]svx/inc/svx/svddrag.hxx20
-rwxr-xr-x[-rw-r--r--]svx/inc/svx/svddrgmt.hxx0
-rwxr-xr-x[-rw-r--r--]svx/inc/svx/svddrgv.hxx132
-rwxr-xr-x[-rw-r--r--]svx/inc/svx/svdedtv.hxx150
-rwxr-xr-x[-rw-r--r--]svx/inc/svx/svdedxv.hxx72
-rwxr-xr-x[-rw-r--r--]svx/inc/svx/svdetc.hxx100
-rwxr-xr-x[-rw-r--r--]svx/inc/svx/svdfield.hxx0
-rwxr-xr-x[-rw-r--r--]svx/inc/svx/svdglev.hxx34
-rwxr-xr-x[-rw-r--r--]svx/inc/svx/svdglob.hxx (renamed from svx/inc/svdglob.hxx)2
-rwxr-xr-x[-rw-r--r--]svx/inc/svx/svdglue.hxx52
-rwxr-xr-x[-rw-r--r--]svx/inc/svx/svdhdl.hxx78
-rwxr-xr-x[-rw-r--r--]svx/inc/svx/svdhlpln.hxx18
-rwxr-xr-x[-rw-r--r--]svx/inc/svx/svditer.hxx (renamed from svx/inc/svditer.hxx)16
-rwxr-xr-x[-rw-r--r--]svx/inc/svx/svditext.hxx (renamed from svx/inc/srchitem.hxx)11
-rwxr-xr-x[-rw-r--r--]svx/inc/svx/svdlayer.hxx28
-rwxr-xr-x[-rw-r--r--]svx/inc/svx/svdmark.hxx32
-rwxr-xr-x[-rw-r--r--]svx/inc/svx/svdmodel.hxx139
-rwxr-xr-x[-rw-r--r--]svx/inc/svx/svdmrkv.hxx228
-rwxr-xr-x[-rw-r--r--]svx/inc/svx/svdoashp.hxx8
-rwxr-xr-x[-rw-r--r--]svx/inc/svx/svdoattr.hxx4
-rwxr-xr-x[-rw-r--r--]svx/inc/svx/svdobj.hxx198
-rwxr-xr-x[-rw-r--r--]svx/inc/svx/svdocapt.hxx8
-rwxr-xr-x[-rw-r--r--]svx/inc/svx/svdocirc.hxx6
-rwxr-xr-x[-rw-r--r--]svx/inc/svx/svdoedge.hxx68
-rwxr-xr-x[-rw-r--r--]svx/inc/svx/svdograf.hxx11
-rwxr-xr-x[-rw-r--r--]svx/inc/svx/svdogrp.hxx4
-rwxr-xr-x[-rw-r--r--]svx/inc/svx/svdomeas.hxx12
-rwxr-xr-x[-rw-r--r--]svx/inc/svx/svdomedia.hxx2
-rwxr-xr-x[-rw-r--r--]svx/inc/svx/svdoole2.hxx8
-rwxr-xr-x[-rw-r--r--]svx/inc/svx/svdopage.hxx2
-rwxr-xr-x[-rw-r--r--]svx/inc/svx/svdopath.hxx4
-rwxr-xr-x[-rw-r--r--]svx/inc/svx/svdorect.hxx14
-rwxr-xr-x[-rw-r--r--]svx/inc/svx/svdotable.hxx8
-rwxr-xr-x[-rw-r--r--]svx/inc/svx/svdotext.hxx58
-rwxr-xr-x[-rw-r--r--]svx/inc/svx/svdouno.hxx8
-rwxr-xr-x[-rw-r--r--]svx/inc/svx/svdoutl.hxx4
-rwxr-xr-x[-rw-r--r--]svx/inc/svx/svdovirt.hxx4
-rwxr-xr-x[-rw-r--r--]svx/inc/svx/svdpage.hxx78
-rwxr-xr-x[-rw-r--r--]svx/inc/svx/svdpagv.hxx21
-rwxr-xr-x[-rw-r--r--]svx/inc/svx/svdpntv.hxx139
-rwxr-xr-x[-rw-r--r--]svx/inc/svx/svdpoev.hxx12
-rwxr-xr-x[-rw-r--r--]svx/inc/svx/svdpool.hxx0
-rwxr-xr-x[-rw-r--r--]svx/inc/svx/svdsnpv.hxx96
-rwxr-xr-x[-rw-r--r--]svx/inc/svx/svdsob.hxx0
-rwxr-xr-x[-rw-r--r--]svx/inc/svx/svdstr.hrc (renamed from svx/inc/svdstr.hrc)9
-rwxr-xr-x[-rw-r--r--]svx/inc/svx/svdtext.hxx2
-rwxr-xr-x[-rw-r--r--]svx/inc/svx/svdtrans.hxx18
-rwxr-xr-x[-rw-r--r--]svx/inc/svx/svdtypes.hxx12
-rwxr-xr-x[-rw-r--r--]svx/inc/svx/svdundo.hxx52
-rwxr-xr-x[-rw-r--r--]svx/inc/svx/svdview.hxx90
-rwxr-xr-x[-rw-r--r--]svx/inc/svx/svdviter.hxx (renamed from svx/inc/svdviter.hxx)0
-rwxr-xr-x[-rw-r--r--]svx/inc/svx/svdxcgv.hxx56
-rwxr-xr-x[-rw-r--r--]svx/inc/svx/svimbase.hxx (renamed from svx/inc/svimbase.hxx)100
-rwxr-xr-x[-rw-r--r--]svx/inc/svx/svx3ditems.hxx66
-rwxr-xr-xsvx/inc/svx/svxcommands.h604
-rwxr-xr-x[-rw-r--r--]svx/inc/svx/svxdlg.hxx82
-rwxr-xr-x[-rw-r--r--]svx/inc/svx/svxdllapi.h0
-rwxr-xr-x[-rw-r--r--]svx/inc/svx/svxerr.hxx (renamed from svx/inc/svxerr.hxx)0
-rwxr-xr-x[-rw-r--r--]svx/inc/svx/svxgrahicitem.hxx (renamed from svx/inc/svxgrahicitem.hxx)2
-rwxr-xr-x[-rw-r--r--]svx/inc/svx/svxitems.hrc0
-rwxr-xr-x[-rw-r--r--]svx/inc/svx/swframeexample.hxx (renamed from svx/inc/swframeexample.hxx)6
-rwxr-xr-x[-rw-r--r--]svx/inc/svx/swframeposstrings.hxx (renamed from svx/inc/swframeposstrings.hxx)0
-rwxr-xr-x[-rw-r--r--]svx/inc/svx/swframevalidation.hxx (renamed from svx/inc/swframevalidation.hxx)0
-rwxr-xr-x[-rw-r--r--]svx/inc/svx/sxallitm.hxx0
-rwxr-xr-x[-rw-r--r--]svx/inc/svx/sxcaitm.hxx6
-rwxr-xr-x[-rw-r--r--]svx/inc/svx/sxcecitm.hxx14
-rwxr-xr-x[-rw-r--r--]svx/inc/svx/sxcgitm.hxx0
-rwxr-xr-x[-rw-r--r--]svx/inc/svx/sxciaitm.hxx0
-rwxr-xr-x[-rw-r--r--]svx/inc/svx/sxcikitm.hxx12
-rwxr-xr-x[-rw-r--r--]svx/inc/svx/sxcllitm.hxx2
-rwxr-xr-x[-rw-r--r--]svx/inc/svx/sxctitm.hxx8
-rwxr-xr-x[-rw-r--r--]svx/inc/svx/sxekitm.hxx12
-rwxr-xr-x[-rw-r--r--]svx/inc/svx/sxelditm.hxx14
-rwxr-xr-x[-rw-r--r--]svx/inc/svx/sxenditm.hxx16
-rwxr-xr-x[-rw-r--r--]svx/inc/svx/sxfiitm.hxx10
-rwxr-xr-x[-rw-r--r--]svx/inc/svx/sxlayitm.hxx2
-rwxr-xr-x[-rw-r--r--]svx/inc/svx/sxlogitm.hxx0
-rwxr-xr-x[-rw-r--r--]svx/inc/svx/sxmbritm.hxx0
-rwxr-xr-x[-rw-r--r--]svx/inc/svx/sxmfsitm.hxx0
-rwxr-xr-x[-rw-r--r--]svx/inc/svx/sxmkitm.hxx12
-rwxr-xr-x[-rw-r--r--]svx/inc/svx/sxmlhitm.hxx0
-rwxr-xr-x[-rw-r--r--]svx/inc/svx/sxmoitm.hxx0
-rwxr-xr-x[-rw-r--r--]svx/inc/svx/sxmovitm.hxx0
-rwxr-xr-x[-rw-r--r--]svx/inc/svx/sxmsitm.hxx0
-rwxr-xr-x[-rw-r--r--]svx/inc/svx/sxmspitm.hxx0
-rwxr-xr-x[-rw-r--r--]svx/inc/svx/sxmsuitm.hxx0
-rwxr-xr-x[-rw-r--r--]svx/inc/svx/sxmtaitm.hxx2
-rwxr-xr-x[-rw-r--r--]svx/inc/svx/sxmtfitm.hxx2
-rwxr-xr-x[-rw-r--r--]svx/inc/svx/sxmtpitm.hxx24
-rwxr-xr-x[-rw-r--r--]svx/inc/svx/sxmtritm.hxx0
-rwxr-xr-x[-rw-r--r--]svx/inc/svx/sxmuitm.hxx12
-rwxr-xr-x[-rw-r--r--]svx/inc/svx/sxoneitm.hxx0
-rwxr-xr-x[-rw-r--r--]svx/inc/svx/sxonitm.hxx0
-rwxr-xr-x[-rw-r--r--]svx/inc/svx/sxopitm.hxx0
-rwxr-xr-x[-rw-r--r--]svx/inc/svx/sxraitm.hxx0
-rwxr-xr-x[-rw-r--r--]svx/inc/svx/sxreaitm.hxx0
-rwxr-xr-x[-rw-r--r--]svx/inc/svx/sxreoitm.hxx0
-rwxr-xr-x[-rw-r--r--]svx/inc/svx/sxroaitm.hxx0
-rwxr-xr-x[-rw-r--r--]svx/inc/svx/sxrooitm.hxx0
-rwxr-xr-x[-rw-r--r--]svx/inc/svx/sxsaitm.hxx0
-rwxr-xr-x[-rw-r--r--]svx/inc/svx/sxsalitm.hxx0
-rwxr-xr-x[-rw-r--r--]svx/inc/svx/sxsiitm.hxx8
-rwxr-xr-x[-rw-r--r--]svx/inc/svx/sxsoitm.hxx0
-rwxr-xr-x[-rw-r--r--]svx/inc/svx/sxtraitm.hxx0
-rwxr-xr-x[-rw-r--r--]svx/inc/svx/tabarea.hxx4
-rwxr-xr-x[-rw-r--r--]svx/inc/svx/tabline.hxx4
-rwxr-xr-x[-rw-r--r--]svx/inc/svx/tbcontrl.hxx58
-rwxr-xr-x[-rw-r--r--]svx/inc/svx/tbxalign.hxx (renamed from svx/inc/tbxalign.hxx)2
-rwxr-xr-x[-rw-r--r--]svx/inc/svx/tbxcolor.hxx (renamed from svx/inc/tbxcolor.hxx)2
-rwxr-xr-x[-rw-r--r--]svx/inc/svx/tbxcolorupdate.hxx14
-rwxr-xr-x[-rw-r--r--]svx/inc/svx/tbxctl.hxx (renamed from svx/inc/tbxctl.hxx)6
-rwxr-xr-x[-rw-r--r--]svx/inc/svx/tbxcustomshapes.hxx (renamed from svx/inc/tbxcustomshapes.hxx)6
-rwxr-xr-x[-rw-r--r--]svx/inc/svx/tbxdraw.hxx (renamed from svx/inc/tbxdraw.hxx)8
-rwxr-xr-x[-rw-r--r--]svx/inc/svx/txencbox.hxx (renamed from svx/inc/txencbox.hxx)14
-rwxr-xr-x[-rw-r--r--]svx/inc/svx/txenctab.hxx (renamed from svx/inc/txenctab.hxx)0
-rwxr-xr-x[-rw-r--r--]svx/inc/svx/ucsubset.hrc0
-rwxr-xr-x[-rw-r--r--]svx/inc/svx/ucsubset.hxx0
-rwxr-xr-x[-rw-r--r--]svx/inc/svx/unoapi.hxx (renamed from svx/inc/unoapi.hxx)0
-rwxr-xr-x[-rw-r--r--]svx/inc/svx/unofill.hxx (renamed from svx/inc/unofill.hxx)0
-rwxr-xr-x[-rw-r--r--]svx/inc/svx/unomaster.hxx (renamed from svx/inc/unomaster.hxx)0
-rwxr-xr-x[-rw-r--r--]svx/inc/svx/unomid.hxx0
-rwxr-xr-x[-rw-r--r--]svx/inc/svx/unomod.hxx0
-rwxr-xr-x[-rw-r--r--]svx/inc/svx/unomodel.hxx0
-rwxr-xr-x[-rw-r--r--]svx/inc/svx/unopage.hxx0
-rwxr-xr-x[-rw-r--r--]svx/inc/svx/unopool.hxx (renamed from svx/inc/unopool.hxx)0
-rwxr-xr-x[-rw-r--r--]svx/inc/svx/unoprov.hxx8
-rwxr-xr-x[-rw-r--r--]svx/inc/svx/unoshape.hxx2
-rwxr-xr-x[-rw-r--r--]svx/inc/svx/unoshcol.hxx (renamed from svx/inc/unoshcol.hxx)0
-rwxr-xr-x[-rw-r--r--]svx/inc/svx/unoshprp.hxx0
-rwxr-xr-x[-rw-r--r--]svx/inc/svx/unoshtxt.hxx4
-rwxr-xr-x[-rw-r--r--]svx/inc/svx/verttexttbxctrl.hxx (renamed from svx/inc/verttexttbxctrl.hxx)8
-rwxr-xr-x[-rw-r--r--]svx/inc/svx/view3d.hxx34
-rwxr-xr-x[-rw-r--r--]svx/inc/svx/viewlayoutitem.hxx10
-rwxr-xr-x[-rw-r--r--]svx/inc/svx/viewpt3d.hxx6
-rwxr-xr-x[-rw-r--r--]svx/inc/svx/volume3d.hxx0
-rwxr-xr-x[-rw-r--r--]svx/inc/svx/wrapfield.hxx (renamed from svx/inc/wrapfield.hxx)0
-rwxr-xr-x[-rw-r--r--]svx/inc/svx/xattr.hxx (renamed from svx/inc/xattr.hxx)0
-rwxr-xr-x[-rw-r--r--]svx/inc/svx/xbitmap.hxx20
-rwxr-xr-x[-rw-r--r--]svx/inc/svx/xbtmpit.hxx14
-rwxr-xr-x[-rw-r--r--]svx/inc/svx/xcolit.hxx14
-rwxr-xr-x[-rw-r--r--]svx/inc/svx/xdash.hxx34
-rwxr-xr-x[-rw-r--r--]svx/inc/svx/xdef.hxx3
-rwxr-xr-x[-rw-r--r--]svx/inc/svx/xenum.hxx0
-rwxr-xr-x[-rw-r--r--]svx/inc/svx/xexch.hxx (renamed from svx/inc/xexch.hxx)2
-rwxr-xr-x[-rw-r--r--]svx/inc/svx/xfillit.hxx0
-rwxr-xr-x[-rw-r--r--]svx/inc/svx/xfillit0.hxx8
-rwxr-xr-x[-rw-r--r--]svx/inc/svx/xflasit.hxx4
-rwxr-xr-x[-rw-r--r--]svx/inc/svx/xflbckit.hxx4
-rwxr-xr-x[-rw-r--r--]svx/inc/svx/xflbmpit.hxx4
-rwxr-xr-x[-rw-r--r--]svx/inc/svx/xflbmsli.hxx4
-rwxr-xr-x[-rw-r--r--]svx/inc/svx/xflbmsxy.hxx4
-rwxr-xr-x[-rw-r--r--]svx/inc/svx/xflbmtit.hxx4
-rwxr-xr-x[-rw-r--r--]svx/inc/svx/xflboxy.hxx8
-rwxr-xr-x[-rw-r--r--]svx/inc/svx/xflbstit.hxx4
-rwxr-xr-x[-rw-r--r--]svx/inc/svx/xflbtoxy.hxx8
-rwxr-xr-x[-rw-r--r--]svx/inc/svx/xflclit.hxx8
-rwxr-xr-x[-rw-r--r--]svx/inc/svx/xflftrit.hxx20
-rwxr-xr-x[-rw-r--r--]svx/inc/svx/xflgrit.hxx16
-rwxr-xr-x[-rw-r--r--]svx/inc/svx/xflhtit.hxx12
-rwxr-xr-x[-rw-r--r--]svx/inc/svx/xfltrit.hxx4
-rwxr-xr-x[-rw-r--r--]svx/inc/svx/xftadit.hxx8
-rwxr-xr-x[-rw-r--r--]svx/inc/svx/xftdiit.hxx2
-rwxr-xr-x[-rw-r--r--]svx/inc/svx/xftmrit.hxx4
-rwxr-xr-x[-rw-r--r--]svx/inc/svx/xftouit.hxx4
-rwxr-xr-x[-rw-r--r--]svx/inc/svx/xftsfit.hxx8
-rwxr-xr-x[-rw-r--r--]svx/inc/svx/xftshcit.hxx4
-rwxr-xr-x[-rw-r--r--]svx/inc/svx/xftshit.hxx8
-rwxr-xr-x[-rw-r--r--]svx/inc/svx/xftshtit.hxx4
-rwxr-xr-x[-rw-r--r--]svx/inc/svx/xftshxy.hxx4
-rwxr-xr-x[-rw-r--r--]svx/inc/svx/xftstit.hxx2
-rwxr-xr-x[-rw-r--r--]svx/inc/svx/xgrad.hxx42
-rwxr-xr-x[-rw-r--r--]svx/inc/svx/xgrscit.hxx4
-rwxr-xr-x[-rw-r--r--]svx/inc/svx/xhatch.hxx0
-rwxr-xr-x[-rw-r--r--]svx/inc/svx/xit.hxx22
-rwxr-xr-x[-rw-r--r--]svx/inc/svx/xlineit.hxx0
-rwxr-xr-x[-rw-r--r--]svx/inc/svx/xlineit0.hxx8
-rwxr-xr-x[-rw-r--r--]svx/inc/svx/xlinjoit.hxx10
-rwxr-xr-x[-rw-r--r--]svx/inc/svx/xlnasit.hxx4
-rwxr-xr-x[-rw-r--r--]svx/inc/svx/xlnclit.hxx8
-rwxr-xr-x[-rw-r--r--]svx/inc/svx/xlndsit.hxx12
-rwxr-xr-x[-rw-r--r--]svx/inc/svx/xlnedcit.hxx8
-rwxr-xr-x[-rw-r--r--]svx/inc/svx/xlnedit.hxx10
-rwxr-xr-x[-rw-r--r--]svx/inc/svx/xlnedwit.hxx6
-rwxr-xr-x[-rw-r--r--]svx/inc/svx/xlnstcit.hxx8
-rwxr-xr-x[-rw-r--r--]svx/inc/svx/xlnstit.hxx10
-rwxr-xr-x[-rw-r--r--]svx/inc/svx/xlnstwit.hxx6
-rwxr-xr-x[-rw-r--r--]svx/inc/svx/xlntrit.hxx4
-rwxr-xr-x[-rw-r--r--]svx/inc/svx/xlnwtit.hxx6
-rwxr-xr-x[-rw-r--r--]svx/inc/svx/xmleohlp.hxx (renamed from svx/inc/xmleohlp.hxx)0
-rwxr-xr-x[-rw-r--r--]svx/inc/svx/xmlexchg.hxx (renamed from svx/inc/xmlexchg.hxx)0
-rwxr-xr-x[-rw-r--r--]svx/inc/svx/xmlgrhlp.hxx (renamed from svx/inc/xmlgrhlp.hxx)10
-rwxr-xr-x[-rw-r--r--]svx/inc/svx/xmlsecctrl.hxx (renamed from svx/inc/xmlsecctrl.hxx)4
-rwxr-xr-x[-rw-r--r--]svx/inc/svx/xoutbmp.hxx (renamed from svx/inc/xoutbmp.hxx)20
-rwxr-xr-x[-rw-r--r--]svx/inc/svx/xpoly.hxx84
-rwxr-xr-x[-rw-r--r--]svx/inc/svx/xpool.hxx0
-rwxr-xr-x[-rw-r--r--]svx/inc/svx/xsetit.hxx0
-rwxr-xr-x[-rw-r--r--]svx/inc/svx/xsflclit.hxx6
-rwxr-xr-x[-rw-r--r--]svx/inc/svx/xtable.hxx210
-rwxr-xr-x[-rw-r--r--]svx/inc/svx/xtextit.hxx0
-rwxr-xr-x[-rw-r--r--]svx/inc/svx/xtextit0.hxx12
-rwxr-xr-xsvx/inc/svx/zoom_def.hxx8
-rwxr-xr-x[-rw-r--r--]svx/inc/svx/zoomctrl.hxx (renamed from svx/inc/zoomctrl.hxx)10
-rwxr-xr-x[-rw-r--r--]svx/inc/svx/zoomitem.hxx18
-rwxr-xr-x[-rw-r--r--]svx/inc/svx/zoomsliderctrl.hxx12
-rwxr-xr-x[-rw-r--r--]svx/inc/svx/zoomslideritem.hxx18
-rwxr-xr-x[-rw-r--r--]svx/inc/svxempty.hxx0
-rwxr-xr-x[-rw-r--r--]svx/inc/tbunocontroller.hxx0
-rwxr-xr-x[-rw-r--r--]svx/inc/tbunosearchcontrollers.hxx4
-rwxr-xr-x[-rw-r--r--]svx/inc/uiks.hxx0
-rwxr-xr-x[-rw-r--r--]svx/inc/unomlstr.hxx0
-rwxr-xr-x[-rw-r--r--]svx/inc/xpolyimp.hxx24
-rw-r--r--svx/inc/zoom_def.hxx11
558 files changed, 5316 insertions, 4045 deletions
diff --git a/svx/inc/accessibility.hrc b/svx/inc/accessibility.hrc
index 3e386be0daf1..3e386be0daf1 100644..100755
--- a/svx/inc/accessibility.hrc
+++ b/svx/inc/accessibility.hrc
diff --git a/svx/inc/dgdefs_.hxx b/svx/inc/dgdefs_.hxx
index 75e35ea376b8..75e35ea376b8 100644..100755
--- a/svx/inc/dgdefs_.hxx
+++ b/svx/inc/dgdefs_.hxx
diff --git a/svx/inc/dialdll.hxx b/svx/inc/dialdll.hxx
index f7c60c7ae94c..f7c60c7ae94c 100644..100755
--- a/svx/inc/dialdll.hxx
+++ b/svx/inc/dialdll.hxx
diff --git a/svx/inc/dragmt3d.hxx b/svx/inc/dragmt3d.hxx
index ff3e6aff7219..6044f7e4d14d 100644..100755
--- a/svx/inc/dragmt3d.hxx
+++ b/svx/inc/dragmt3d.hxx
@@ -88,7 +88,7 @@ public:
SdrDragView &rView,
const SdrMarkList& rMark,
E3dDragConstraint eConstr = E3DDRAG_CONSTR_XYZ,
- BOOL bFull = FALSE);
+ sal_Bool bFull = sal_False);
virtual void TakeSdrDragComment(String& rStr) const;
virtual bool BeginSdrDrag();
@@ -119,7 +119,7 @@ public:
SdrDragView &rView,
const SdrMarkList& rMark,
E3dDragConstraint eConstr = E3DDRAG_CONSTR_XYZ,
- BOOL bFull = FALSE);
+ sal_Bool bFull = sal_False);
virtual void MoveSdrDrag(const Point& rPnt);
virtual Pointer GetSdrDragPointer() const;
@@ -144,7 +144,7 @@ public:
const SdrMarkList& rMark,
SdrHdlKind eDrgHdl = HDL_MOVE,
E3dDragConstraint eConstr = E3DDRAG_CONSTR_XYZ,
- BOOL bFull = FALSE);
+ sal_Bool bFull = sal_False);
virtual void MoveSdrDrag(const Point& rPnt);
virtual Pointer GetSdrDragPointer() const;
diff --git a/svx/inc/drawuiks.hxx b/svx/inc/drawuiks.hxx
index 322c7fa0d5c4..322c7fa0d5c4 100644..100755
--- a/svx/inc/drawuiks.hxx
+++ b/svx/inc/drawuiks.hxx
diff --git a/svx/inc/extrusiondepthdialog.hxx b/svx/inc/extrusiondepthdialog.hxx
index 837b01de2dd0..837b01de2dd0 100644..100755
--- a/svx/inc/extrusiondepthdialog.hxx
+++ b/svx/inc/extrusiondepthdialog.hxx
diff --git a/svx/inc/float3d.hrc b/svx/inc/float3d.hrc
index 7f2032123d12..098344f22ec6 100644..100755
--- a/svx/inc/float3d.hrc
+++ b/svx/inc/float3d.hrc
@@ -141,3 +141,6 @@
#define FL_MAT_SPECULAR 123
#define FT_MAT_FAVORITES 124
#define LB_MAT_FAVORITES 125
+
+// IAccessibility2 implementation
+#define STR_COLOR_LIGHT_PRE 162
diff --git a/svx/inc/fmhelp.hrc b/svx/inc/fmhelp.hrc
index cd85236b9f1d..7230df0c6da6 100644..100755
--- a/svx/inc/fmhelp.hrc
+++ b/svx/inc/fmhelp.hrc
@@ -27,91 +27,87 @@
#ifndef _SVX_FMHELP_HRC
#define _SVX_FMHELP_HRC
-// include -----------------------------------------------------------
-#include <svl/solar.hrc>
-
-// in solar.hrc
-//#define HID_FORMS_START (HID_LIB_START+4000)
-//#define HID_FORMS_END (HID_LIB_START+4999)
-
// Help-Ids --------------------------------------------------------------
-#define HID_DLG_DBMSG ( HID_FORMS_START + 1)
-#define HID_FORM_NAVIGATOR ( HID_FORMS_START + 2)
-#define HID_FORM_NAVIGATOR_WIN ( HID_FORMS_START + 3)
-#define HID_FIELD_SEL ( HID_FORMS_START + 4)
-#define HID_FIELD_SEL_WIN ( HID_FORMS_START + 5)
-#define HID_FILTER_NAVIGATOR ( HID_FORMS_START + 6)
-#define HID_FILTER_NAVIGATOR_WIN ( HID_FORMS_START + 7)
-#define HID_FM_DLG_SEARCH ( HID_FORMS_START + 8)
-#define HID_SEARCH_TEXT ( HID_FORMS_START + 9)
-#define HID_SEARCH_ALLFIELDS ( HID_FORMS_START + 10)
-//#define HID_SEARCH_SINGLEFIELD ( HID_FORMS_START + 11)
-#define HID_SEARCH_FIELDSELECTION ( HID_FORMS_START + 12)
-#define HID_SEARCH_POSITION ( HID_FORMS_START + 13)
-#define HID_SEARCH_FORMATTER ( HID_FORMS_START + 14)
-#define HID_SEARCH_CASE ( HID_FORMS_START + 15)
-#define HID_SEARCH_BACKWARD ( HID_FORMS_START + 16)
-#define HID_SEARCH_STARTOVER ( HID_FORMS_START + 17)
-#define HID_SEARCH_WILDCARD ( HID_FORMS_START + 18)
-#define HID_SEARCH_REGULAR ( HID_FORMS_START + 19)
-#define HID_SEARCH_APPROX ( HID_FORMS_START + 20)
-#define HID_SEARCH_APPROXSETTINGS ( HID_FORMS_START + 21)
-#define HID_SEARCH_BTN_SEARCH ( HID_FORMS_START + 22)
-#define HID_SEARCH_BTN_CLOSE ( HID_FORMS_START + 23)
-#define HID_CONTROLS_DATE_N_TIME ( HID_FORMS_START + 24)
-#define HID_GRID_TRAVEL_FIRST ( HID_FORMS_START + 25)
-#define HID_GRID_TRAVEL_PREV ( HID_FORMS_START + 26)
-#define HID_GRID_TRAVEL_NEXT ( HID_FORMS_START + 27)
-#define HID_GRID_TRAVEL_LAST ( HID_FORMS_START + 28)
-#define HID_GRID_TRAVEL_NEW ( HID_FORMS_START + 29)
-#define HID_GRID_TRAVEL_ABSOLUTE ( HID_FORMS_START + 30)
-#define HID_GRID_NUMBEROFRECORDS ( HID_FORMS_START + 31)
-#define UID_SEARCH_RECORDSTATUS ( HID_FORMS_START + 32)
-#define UID_FORMPROPBROWSER_FRAME ( HID_FORMS_START + 33)
-#define UID_ABSOLUTE_RECORD_WINDOW ( HID_FORMS_START + 34)
-#define HID_DATA_NAVIGATOR_WIN ( HID_FORMS_START + 35)
-#define HID_XFORMS_ADDDATAITEM_DLG ( HID_FORMS_START + 36)
-#define HID_XFORMS_ADDCONDITION_DLG ( HID_FORMS_START + 37)
-#define HID_XFORMS_NAMESPACEITEM_DLG ( HID_FORMS_START + 38)
-#define HID_XFORMS_NAMESPACEITEM_LIST ( HID_FORMS_START + 39)
-#define HID_XFORMS_MANAGENAMESPACE_DLG ( HID_FORMS_START + 40)
-//#define HID_TP_XFORMS_INSTANCE ( HID_FORMS_START + 41)
-//#define HID_TP_XFORMS_SUBMISSION ( HID_FORMS_START + 42)
-//#define HID_TP_XFORMS_BINDING ( HID_FORMS_START + 43)
-#define HID_MN_XFORMS_MODELS_ADD ( HID_FORMS_START + 44)
-#define HID_MN_XFORMS_MODELS_EDIT ( HID_FORMS_START + 45)
-#define HID_MN_XFORMS_MODELS_REMOVE ( HID_FORMS_START + 46)
-#define HID_MN_XFORMS_INSTANCES_ADD ( HID_FORMS_START + 47)
-#define HID_MN_XFORMS_INSTANCES_EDIT ( HID_FORMS_START + 48)
-#define HID_MN_XFORMS_INSTANCES_REMOVE ( HID_FORMS_START + 49)
-#define HID_MN_XFORMS_SHOW_DETAILS ( HID_FORMS_START + 50)
-#define HID_XFORMS_TOOLBOX ( HID_FORMS_START + 51)
-#define HID_XFORMS_TOOLBOX_ITEM_ADD ( HID_FORMS_START + 52)
-#define HID_XFORMS_TOOLBOX_ITEM_ADD_ELEMENT ( HID_FORMS_START + 53)
-#define HID_XFORMS_TOOLBOX_ITEM_ADD_ATTRIBUTE ( HID_FORMS_START + 54)
-#define HID_XFORMS_TOOLBOX_ITEM_EDIT ( HID_FORMS_START + 55)
-#define HID_XFORMS_TOOLBOX_ITEM_REMOVE ( HID_FORMS_START + 56)
-#define HID_XFORMS_ITEMS_LIST ( HID_FORMS_START + 57)
-#define HID_XFORMS_MODELS_LIST ( HID_FORMS_START + 58)
-#define HID_XFORMS_MODELS_MENUBTN ( HID_FORMS_START + 59)
-#define HID_XFORMS_INSTANCES_MENUBTN ( HID_FORMS_START + 60)
-#define HID_XFORMS_ADDSUBMISSION_DLG ( HID_FORMS_START + 61)
-#define HID_XFORMS_ADDMODEL_DLG ( HID_FORMS_START + 62)
-#define HID_XFORMS_ADDINSTANCE_DLG ( HID_FORMS_START + 63)
-#define HID_XFORMS_MID_INSERT_CONTROL ( HID_FORMS_START + 64)
-#define HID_XFORMS_TAB_CONTROL ( HID_FORMS_START + 65)
- // if you add a new define here, please adjust the overflow check
- // at the end of the file!!
-
-// -----------------------------------------------------------------------
-// Overflow check --------------------------------------------------------
-// -----------------------------------------------------------------------
-
-#define ACT_FM_HID_END HID_XFORMS_TAB_CONTROL
-
-#if ACT_FM_HID_END > HID_FORMS_END
-#error Resource overflow in #line, #file
-#endif
+#define HID_DLG_DBMSG "SVX_HID_DLG_DBMSG"
+#define HID_FORM_NAVIGATOR "SVX_HID_FORM_NAVIGATOR"
+#define HID_FORM_NAVIGATOR_WIN "SVX_HID_FORM_NAVIGATOR_WIN"
+#define HID_FIELD_SEL "SVX_HID_FIELD_SEL"
+#define HID_FIELD_SEL_WIN "SVX_HID_FIELD_SEL_WIN"
+#define HID_FILTER_NAVIGATOR "SVX_HID_FILTER_NAVIGATOR"
+#define HID_FILTER_NAVIGATOR_WIN "SVX_HID_FILTER_NAVIGATOR_WIN"
+#define HID_FM_DLG_SEARCH "SVX_HID_FM_DLG_SEARCH"
+#define HID_SEARCH_TEXT "SVX_HID_SEARCH_TEXT"
+#define HID_SEARCH_ALLFIELDS "SVX_HID_SEARCH_ALLFIELDS"
+#define HID_SEARCH_FIELDSELECTION "SVX_HID_SEARCH_FIELDSELECTION"
+#define HID_SEARCH_POSITION "SVX_HID_SEARCH_POSITION"
+#define HID_SEARCH_FORMATTER "SVX_HID_SEARCH_FORMATTER"
+#define HID_SEARCH_CASE "SVX_HID_SEARCH_CASE"
+#define HID_SEARCH_BACKWARD "SVX_HID_SEARCH_BACKWARD"
+#define HID_SEARCH_STARTOVER "SVX_HID_SEARCH_STARTOVER"
+#define HID_SEARCH_WILDCARD "SVX_HID_SEARCH_WILDCARD"
+#define HID_SEARCH_REGULAR "SVX_HID_SEARCH_REGULAR"
+#define HID_SEARCH_APPROX "SVX_HID_SEARCH_APPROX"
+#define HID_SEARCH_APPROXSETTINGS "SVX_HID_SEARCH_APPROXSETTINGS"
+#define HID_SEARCH_BTN_SEARCH "SVX_HID_SEARCH_BTN_SEARCH"
+#define HID_SEARCH_BTN_CLOSE "SVX_HID_SEARCH_BTN_CLOSE"
+#define HID_CONTROLS_DATE_N_TIME "SVX_HID_CONTROLS_DATE_N_TIME"
+#define HID_GRID_TRAVEL_FIRST "SVX_HID_GRID_TRAVEL_FIRST"
+#define HID_GRID_TRAVEL_PREV "SVX_HID_GRID_TRAVEL_PREV"
+#define HID_GRID_TRAVEL_NEXT "SVX_HID_GRID_TRAVEL_NEXT"
+#define HID_GRID_TRAVEL_LAST "SVX_HID_GRID_TRAVEL_LAST"
+#define HID_GRID_TRAVEL_NEW "SVX_HID_GRID_TRAVEL_NEW"
+#define HID_GRID_TRAVEL_ABSOLUTE "SVX_HID_GRID_TRAVEL_ABSOLUTE"
+#define HID_GRID_NUMBEROFRECORDS "SVX_HID_GRID_NUMBEROFRECORDS"
+#define UID_SEARCH_RECORDSTATUS "SVX_UID_SEARCH_RECORDSTATUS"
+#define UID_FORMPROPBROWSER_FRAME "SVX_UID_FORMPROPBROWSER_FRAME"
+#define UID_ABSOLUTE_RECORD_WINDOW "SVX_UID_ABSOLUTE_RECORD_WINDOW"
+#define HID_DATA_NAVIGATOR_WIN "SVX_HID_DATA_NAVIGATOR_WIN"
+#define HID_XFORMS_ADDDATAITEM_DLG "SVX_HID_XFORMS_ADDDATAITEM_DLG"
+#define HID_XFORMS_ADDCONDITION_DLG "SVX_HID_XFORMS_ADDCONDITION_DLG"
+#define HID_XFORMS_NAMESPACEITEM_DLG "SVX_HID_XFORMS_NAMESPACEITEM_DLG"
+#define HID_XFORMS_NAMESPACEITEM_LIST "SVX_HID_XFORMS_NAMESPACEITEM_LIST"
+#define HID_XFORMS_MANAGENAMESPACE_DLG "SVX_HID_XFORMS_MANAGENAMESPACE_DLG"
+#define HID_MN_XFORMS_MODELS_ADD "SVX_HID_MN_XFORMS_MODELS_ADD"
+#define HID_MN_XFORMS_MODELS_EDIT "SVX_HID_MN_XFORMS_MODELS_EDIT"
+#define HID_MN_XFORMS_MODELS_REMOVE "SVX_HID_MN_XFORMS_MODELS_REMOVE"
+#define HID_MN_XFORMS_INSTANCES_ADD "SVX_HID_MN_XFORMS_INSTANCES_ADD"
+#define HID_MN_XFORMS_INSTANCES_EDIT "SVX_HID_MN_XFORMS_INSTANCES_EDIT"
+#define HID_MN_XFORMS_INSTANCES_REMOVE "SVX_HID_MN_XFORMS_INSTANCES_REMOVE"
+#define HID_MN_XFORMS_SHOW_DETAILS "SVX_HID_MN_XFORMS_SHOW_DETAILS"
+#define HID_XFORMS_TOOLBOX "SVX_HID_XFORMS_TOOLBOX"
+#define HID_XFORMS_TOOLBOX_ITEM_ADD "SVX_HID_XFORMS_TOOLBOX_ITEM_ADD"
+#define HID_XFORMS_TOOLBOX_ITEM_ADD_ELEMENT "SVX_HID_XFORMS_TOOLBOX_ITEM_ADD_ELEMENT"
+#define HID_XFORMS_TOOLBOX_ITEM_ADD_ATTRIBUTE "SVX_HID_XFORMS_TOOLBOX_ITEM_ADD_ATTRIBUTE"
+#define HID_XFORMS_TOOLBOX_ITEM_EDIT "SVX_HID_XFORMS_TOOLBOX_ITEM_EDIT"
+#define HID_XFORMS_TOOLBOX_ITEM_REMOVE "SVX_HID_XFORMS_TOOLBOX_ITEM_REMOVE"
+#define HID_XFORMS_ITEMS_LIST "SVX_HID_XFORMS_ITEMS_LIST"
+#define HID_XFORMS_MODELS_LIST "SVX_HID_XFORMS_MODELS_LIST"
+#define HID_XFORMS_MODELS_MENUBTN "SVX_HID_XFORMS_MODELS_MENUBTN"
+#define HID_XFORMS_INSTANCES_MENUBTN "SVX_HID_XFORMS_INSTANCES_MENUBTN"
+#define HID_XFORMS_ADDSUBMISSION_DLG "SVX_HID_XFORMS_ADDSUBMISSION_DLG"
+#define HID_XFORMS_ADDMODEL_DLG "SVX_HID_XFORMS_ADDMODEL_DLG"
+#define HID_XFORMS_ADDINSTANCE_DLG "SVX_HID_XFORMS_ADDINSTANCE_DLG"
+#define HID_XFORMS_MID_INSERT_CONTROL "SVX_HID_XFORMS_MID_INSERT_CONTROL"
+#define HID_XFORMS_TAB_CONTROL "SVX_HID_XFORMS_TAB_CONTROL"
+#define HID_FM_DELETEROWS "SVX_HID_FM_DELETEROWS"
+#define HID_FM_INSERTCOL "SVX_HID_FM_INSERTCOL"
+#define HID_FM_CHANGECOL "SVX_HID_FM_CHANGECOL"
+#define HID_FM_DELETECOL "SVX_HID_FM_DELETECOL"
+#define HID_FM_HIDECOL "SVX_HID_FM_HIDECOL"
+#define HID_FM_SHOWCOLS "SVX_HID_FM_SHOWCOLS"
+#define HID_FM_SHOWCOLS_MORE "SVX_HID_FM_SHOWCOLS_MORE"
+#define HID_FM_SHOWALLCOLS "SVX_HID_FM_SHOWALLCOLS"
+#define HID_FM_DELETE "SVX_HID_FM_DELETE"
+#define HID_FM_FILTER_EDIT "SVX_HID_FM_EDIT"
+#define HID_FM_FILTER_IS_NULL "SVX_HID_FM_FILTER_IS_NULL"
+#define HID_FM_FILTER_IS_NOT_NULL "SVX_HID_FM_IS_NOT_NULL"
+#define HID_FM_NEW "SVX_HID_FM_NEW"
+#define HID_FM_NEW_FORM "SVX_HID_FM_NEW_FORM"
+#define HID_FM_NEW_HIDDEN "SVX_HID_FM_NEW_HIDDEN"
+#define HID_FM_RENAME_OBJECT "SVX_HID_FM_RENAME_OBJECT"
+#define HID_MENU_FM_TEXTATTRIBUTES_STYLE "SVX_HID_MENU_FM_TEXTATTRIBUTES_STYLE"
+#define HID_MENU_FM_TEXTATTRIBUTES_ALIGNMENT "SVX_HID_MENU_FM_TEXTATTRIBUTES_ALIGNMENT"
+#define HID_MENU_FM_TEXTATTRIBUTES_SPACING "SVX_HID_MENU_FM_TEXTATTRIBUTES_SPACING"
#endif
diff --git a/svx/inc/fontworkgallery.hrc b/svx/inc/fontworkgallery.hrc
index 7b2f93647217..7b2f93647217 100644..100755
--- a/svx/inc/fontworkgallery.hrc
+++ b/svx/inc/fontworkgallery.hrc
diff --git a/svx/inc/galbrws2.hxx b/svx/inc/galbrws2.hxx
index e8c94bdbd96e..61226b4e37ac 100644..100755
--- a/svx/inc/galbrws2.hxx
+++ b/svx/inc/galbrws2.hxx
@@ -37,7 +37,7 @@
#include <svtools/transfer.hxx>
#include <svl/lstner.hxx>
#include <svtools/miscopt.hxx>
-#include "galbrws.hxx"
+#include "svx/galbrws.hxx"
// ----------------------
// - GalleryBrowserMode -
@@ -118,18 +118,18 @@ private:
FixedLine maSeparator;
FixedText maInfoBar;
Point maDragStartPos;
- ULONG mnCurActionPos;
+ sal_uIntPtr mnCurActionPos;
GalleryBrowserMode meMode;
GalleryBrowserMode meLastMode;
- BOOL mbCurActionIsLinkage;
+ sal_Bool mbCurActionIsLinkage;
void InitSettings();
- void ImplUpdateViews( USHORT nSelectionId );
+ void ImplUpdateViews( sal_uInt16 nSelectionId );
void ImplUpdateInfoBar();
- ULONG ImplGetSelectedItemId( const Point* pSelPosPixel, Point& rSelPos );
- void ImplSelectItemId( ULONG nItemId );
- void ImplExecute( USHORT nId );
+ sal_uIntPtr ImplGetSelectedItemId( const Point* pSelPosPixel, Point& rSelPos );
+ void ImplSelectItemId( sal_uIntPtr nItemId );
+ void ImplExecute( sal_uInt16 nId );
// Control
virtual void Resize();
@@ -149,7 +149,7 @@ private:
public:
- static String GetItemText( const GalleryTheme& rTheme, const SgaObject& rObj, ULONG nItemTextFlags );
+ static String GetItemText( const GalleryTheme& rTheme, const SgaObject& rObj, sal_uIntPtr nItemTextFlags );
public:
@@ -168,15 +168,15 @@ public:
INetURLObject GetURL() const;
String GetFilterName() const;
Graphic GetGraphic() const;
- BOOL GetVCDrawModel( FmFormModel& rModel ) const;
- BOOL IsLinkage() const;
+ sal_Bool GetVCDrawModel( FmFormModel& rModel ) const;
+ sal_Bool IsLinkage() const;
sal_Int8 AcceptDrop( DropTargetHelper& rTarget, const AcceptDropEvent& rEvt );
sal_Int8 ExecuteDrop( DropTargetHelper& rTarget, const ExecuteDropEvent& rEvt );
void StartDrag( Window* pWindow, const Point* pDragPoint = NULL );
void TogglePreview( Window* pWindow, const Point* pPreviewPoint = NULL );
void ShowContextMenu( Window* pWindow, const Point* pContextPoint = NULL );
- BOOL KeyInput( const KeyEvent& rEvt, Window* pWindow );
+ sal_Bool KeyInput( const KeyEvent& rEvt, Window* pWindow );
};
#endif
diff --git a/svx/inc/gallery.hrc b/svx/inc/gallery.hrc
index 8405bb2b6238..8405bb2b6238 100644..100755
--- a/svx/inc/gallery.hrc
+++ b/svx/inc/gallery.hrc
diff --git a/svx/inc/galobj.hxx b/svx/inc/galobj.hxx
index c574caa3cbd8..46f018db4f7c 100644..100755
--- a/svx/inc/galobj.hxx
+++ b/svx/inc/galobj.hxx
@@ -84,13 +84,13 @@ protected:
INetURLObject aURL;
String aUserName;
String aTitle;
- BOOL bIsValid;
- BOOL bIsThumbBmp;
+ sal_Bool bIsValid;
+ sal_Bool bIsThumbBmp;
virtual void WriteData( SvStream& rOut, const String& rDestDir ) const;
- virtual void ReadData( SvStream& rIn, UINT16& rReadVersion );
+ virtual void ReadData( SvStream& rIn, sal_uInt16& rReadVersion );
- BOOL CreateThumb( const Graphic& rGraphic );
+ sal_Bool CreateThumb( const Graphic& rGraphic );
public:
@@ -98,13 +98,13 @@ public:
virtual ~SgaObject() {};
virtual SgaObjKind GetObjKind() const = 0;
- virtual UINT16 GetVersion() const = 0;
+ virtual sal_uInt16 GetVersion() const = 0;
virtual Bitmap GetThumbBmp() const { return aThumbBmp; }
const GDIMetaFile& GetThumbMtf() const { return aThumbMtf; }
const INetURLObject& GetURL() const { return aURL; }
- BOOL IsValid() const { return bIsValid; }
- BOOL IsThumbBitmap() const { return bIsThumbBmp; }
+ sal_Bool IsValid() const { return bIsValid; }
+ sal_Bool IsThumbBitmap() const { return bIsThumbBmp; }
const String GetTitle() const;
void SetTitle( const String& rTitle );
@@ -124,9 +124,9 @@ private:
GalSoundType eSoundType;
virtual void WriteData( SvStream& rOut, const String& rDestDir ) const;
- virtual void ReadData( SvStream& rIn, UINT16& rReadVersion );
+ virtual void ReadData( SvStream& rIn, sal_uInt16& rReadVersion );
- virtual UINT16 GetVersion() const { return 6; }
+ virtual sal_uInt16 GetVersion() const { return 6; }
public:
@@ -151,12 +151,12 @@ class SgaObjectSvDraw : public SgaObject
private:
- BOOL CreateThumb( const FmFormModel& rModel );
+ sal_Bool CreateThumb( const FmFormModel& rModel );
virtual void WriteData( SvStream& rOut, const String& rDestDir ) const;
- virtual void ReadData( SvStream& rIn, UINT16& rReadVersion );
+ virtual void ReadData( SvStream& rIn, sal_uInt16& rReadVersion );
- virtual UINT16 GetVersion() const { return 5; }
+ virtual sal_uInt16 GetVersion() const { return 5; }
public:
@@ -169,7 +169,7 @@ public:
public:
- static BOOL DrawCentered( OutputDevice* pOut, const FmFormModel& rModel );
+ static sal_Bool DrawCentered( OutputDevice* pOut, const FmFormModel& rModel );
};
// ----------------
@@ -183,9 +183,9 @@ private:
void Init( const Graphic& rGraphic, const INetURLObject& rURL );
virtual void WriteData( SvStream& rOut, const String& rDestDir ) const;
- virtual void ReadData( SvStream& rIn, UINT16& rReadVersion );
+ virtual void ReadData( SvStream& rIn, sal_uInt16& rReadVersion );
- virtual UINT16 GetVersion() const { return 5; }
+ virtual sal_uInt16 GetVersion() const { return 5; }
public:
diff --git a/svx/inc/galtheme.hrc b/svx/inc/galtheme.hrc
index 90b05abffe2b..90b05abffe2b 100644..100755
--- a/svx/inc/galtheme.hrc
+++ b/svx/inc/galtheme.hrc
diff --git a/svx/inc/globlac.hrc b/svx/inc/globlac.hrc
deleted file mode 100644
index f72d4c1d31a8..000000000000
--- a/svx/inc/globlac.hrc
+++ /dev/null
@@ -1,223 +0,0 @@
-/*************************************************************************
- *
- * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
- *
- * Copyright 2000, 2010 Oracle and/or its affiliates.
- *
- * OpenOffice.org - a multi-platform office productivity suite
- *
- * This file is part of OpenOffice.org.
- *
- * OpenOffice.org is free software: you can redistribute it and/or modify
- * it under the terms of the GNU Lesser General Public License version 3
- * only, as published by the Free Software Foundation.
- *
- * OpenOffice.org is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Lesser General Public License version 3 for more details
- * (a copy is included in the LICENSE file that accompanied this code).
- *
- * You should have received a copy of the GNU Lesser General Public License
- * version 3 along with OpenOffice.org. If not, see
- * <http://www.openoffice.org/license.html>
- * for a copy of the LGPLv3 License.
- *
- ************************************************************************/
-
-#ifndef _GLOBALACC_SRC
-#define _GLOBALACC_SRC
-
-#define ACC_CODE( Id, c, bSh, bM1, bM2 ) \
- AcceleratorItem { Identifier = Id; \
- Key = KeyCode { Code = c ; \
- Shift = bSh ; Modifier1 = bM1 ; Modifier2 = bM2 ; }; };
-
-#define ACC_FUNC( Id, f ) \
- AcceleratorItem { Identifier = Id; \
- Key = KeyCode { Function = f ; }; };
-
-#define ACC_KEY( language, c, bSh, bM1, bM2 ) \
- Key[ language ] = KeyCode { Code = c ; \
- Shift = bSh ; Modifier1 = bM1 ; Modifier2 = bM2 ; };
-
-#define ACC_DEF_KEY( c, bSh, bM1, bM2 ) \
- Key = KeyCode { Code = c ; \
- Shift = bSh ; Modifier1 = bM1 ; Modifier2 = bM2 ; };
-
-
-#define AI_HELPINDEX ACC_CODE( SID_HELPINDEX, KEY_F1, FALSE, TRUE, FALSE )
-
-#define AI_ATTR_CHAR ACC_CODE( SID_ATTR_CHAR, KEY_F2, FALSE, FALSE, FALSE )
-// new shortcut F9 for starting slide-show (see #73417#)
-#define AI_PRESENTATION ACC_CODE( SID_PRESENTATION, KEY_F9, FALSE, FALSE, FALSE )
-// formerly used shortcut Ctrl-F2. Still used (in sd) for compatibility
-#define AI_PRESENTATION_COMPAT ACC_CODE( SID_PRESENTATION, KEY_F2, FALSE, TRUE, FALSE )
-#define AI_ENTER_GROUP ACC_CODE( SID_ENTER_GROUP, KEY_F3, FALSE, FALSE, FALSE )
-#define AI_COPYOBJECTS ACC_CODE( SID_COPYOBJECTS, KEY_F3, TRUE, FALSE, FALSE )
-#define AI_LEAVE_GROUP ACC_CODE( SID_LEAVE_GROUP, KEY_F3, FALSE, TRUE, FALSE )
-#define AI_ATTR_TRANSFORM ACC_CODE( SID_ATTR_TRANSFORM, KEY_F4, FALSE, FALSE, FALSE )
-#define AI_NAVIGATOR ACC_CODE( SID_NAVIGATOR, KEY_F5, FALSE, FALSE, FALSE )
-#define AI_SPELLING ACC_CODE( SID_SPELL_DIALOG, KEY_F7, FALSE, FALSE, FALSE )
-#define AI_THESAURUS ACC_CODE( SID_THESAURUS, KEY_F7, FALSE, TRUE, FALSE )
-#define AI_BEZIER_EDIT ACC_CODE( SID_BEZIER_EDIT, KEY_F8, FALSE, FALSE, FALSE )
-#define AI_ATTR_TEXT_FITTOSIZE ACC_CODE( SID_ATTR_TEXT_FITTOSIZE, KEY_F8, TRUE, TRUE, FALSE )
-#define AI_STYLE_DESIGNER ACC_CODE( SID_STYLE_DESIGNER, KEY_F11, FALSE, FALSE, FALSE )
-#define AI_OUTLINEMODE ACC_CODE( SID_OUTLINEMODE, KEY_F12, FALSE, FALSE, FALSE )
-#define AI_DRAWINGMODE ACC_CODE( SID_DRAWINGMODE, KEY_F12, FALSE, TRUE, FALSE )
-
-#define AI_ATTR_PARA_LINESPACE_10 ACC_CODE( SID_ATTR_PARA_LINESPACE_10, KEY_1, FALSE, TRUE, FALSE )
-#define AI_ATTR_PARA_LINESPACE_20 ACC_CODE( SID_ATTR_PARA_LINESPACE_20, KEY_2, FALSE, TRUE, FALSE )
-#define AI_ATTR_PARA_LINESPACE_15 ACC_CODE( SID_ATTR_PARA_LINESPACE_15, KEY_5, FALSE, TRUE, FALSE )
-#define AI_SHOW_ITEMBROWSER ACC_CODE( SID_SHOW_ITEMBROWSER, KEY_9, TRUE, TRUE, TRUE )
-
-#define AI_ATTR_PARA_ADJUST_BLOCK AcceleratorItem { Identifier = SID_ATTR_PARA_ADJUST_BLOCK;\
- ACC_DEF_KEY( KEY_J, FALSE, TRUE, FALSE ) \
- ACC_KEY( de , KEY_B, FALSE, TRUE, FALSE ) \
- ACC_KEY( en-US , KEY_J, FALSE, TRUE, FALSE ) \
- ACC_KEY( it , KEY_F, FALSE, TRUE, FALSE ) \
- ACC_KEY( es , KEY_J, FALSE, TRUE, FALSE ) \
- ACC_KEY( fr , KEY_J, FALSE, TRUE, FALSE ) \
- ACC_KEY( nl , KEY_J, FALSE, TRUE, FALSE ) \
- ACC_KEY( pl , KEY_J, FALSE, TRUE, FALSE ) \
- ACC_KEY( ru , KEY_J, FALSE, TRUE, FALSE ) };
-
-#define AI_ATTR_PARA_ADJUST_CENTER AcceleratorItem { Identifier = SID_ATTR_PARA_ADJUST_CENTER;\
- ACC_DEF_KEY( KEY_E, FALSE, TRUE, FALSE ) \
- ACC_KEY( de , KEY_E, FALSE, TRUE, FALSE ) \
- ACC_KEY( en-US , KEY_E, FALSE, TRUE, FALSE ) \
- ACC_KEY( it , KEY_E, FALSE, TRUE, FALSE ) \
- ACC_KEY( es , KEY_E, FALSE, TRUE, FALSE ) \
- ACC_KEY( fr , KEY_C, TRUE, TRUE, FALSE ) \
- ACC_KEY( nl , KEY_J, FALSE, TRUE, FALSE ) };
-
-#define AI_ATTR_CHAR_WEIGHT AcceleratorItem { Identifier = SID_ATTR_CHAR_WEIGHT;\
- ACC_DEF_KEY( KEY_B, FALSE, TRUE, FALSE ) \
- ACC_KEY( de , KEY_F, FALSE, TRUE, FALSE ) \
- ACC_KEY( en-US , KEY_B, FALSE, TRUE, FALSE ) \
- ACC_KEY( it , KEY_G, FALSE, TRUE, FALSE ) \
- ACC_KEY( es , KEY_N, FALSE, TRUE, FALSE ) \
- ACC_KEY( fr , KEY_G, FALSE, TRUE, FALSE ) \
- ACC_KEY( nl , KEY_B, FALSE, TRUE, FALSE ) \
- ACC_KEY( da , KEY_F, FALSE, TRUE, FALSE ) \
- ACC_KEY( pl , KEY_B, FALSE, TRUE, FALSE ) \
- ACC_KEY( ru, KEY_B, FALSE, TRUE, FALSE ) };
-
-#define AI_SEARCH_DLG AcceleratorItem { Identifier = SID_SEARCH_DLG;\
- ACC_DEF_KEY( KEY_F, FALSE, TRUE, FALSE ) \
- ACC_KEY( de , KEY_G, FALSE, TRUE, FALSE ) \
- ACC_KEY( en-US , KEY_F, FALSE, TRUE, FALSE ) \
- ACC_KEY( it , KEY_B, FALSE, TRUE, FALSE ) \
- ACC_KEY( es , KEY_G, FALSE, TRUE, FALSE ) \
- ACC_KEY( fr , KEY_F, FALSE, TRUE, FALSE ) \
- ACC_KEY( nl , KEY_F, FALSE, TRUE, FALSE ) };
-
-#define AI_GROUP ACC_CODE( SID_GROUP, KEY_G, TRUE, TRUE, FALSE )
-#define AI_UNGROUP ACC_CODE( SID_UNGROUP, KEY_G, TRUE, TRUE, TRUE )
-
-// Weitersuchen ...
-#define AI_SET_SUPER_SCRIPT AcceleratorItem { Identifier = SID_SET_SUPER_SCRIPT;\
- ACC_DEF_KEY( KEY_P, TRUE, TRUE, FALSE ) \
- ACC_KEY( de , KEY_H, FALSE, TRUE, FALSE ) \
- ACC_KEY( en-US , KEY_P, TRUE, TRUE, FALSE ) \
- ACC_KEY( it , KEY_H, FALSE, TRUE, FALSE ) \
- ACC_KEY( es , KEY_H, FALSE, TRUE, FALSE ) \
- ACC_KEY( fr , KEY_H, FALSE, TRUE, FALSE ) \
- ACC_KEY( nl , KEY_H, FALSE, TRUE, FALSE ) };
-
-#define AI_ATTR_CHAR_POSTURE AcceleratorItem { Identifier = SID_ATTR_CHAR_POSTURE;\
- ACC_DEF_KEY( KEY_I, FALSE, TRUE, FALSE ) \
- ACC_KEY( de , KEY_K, FALSE, TRUE, FALSE ) \
- ACC_KEY( en-US , KEY_I, FALSE, TRUE, FALSE ) \
- ACC_KEY( it , KEY_I, FALSE, TRUE, FALSE ) \
- ACC_KEY( es , KEY_K, FALSE, TRUE, FALSE ) \
- ACC_KEY( fr , KEY_I, FALSE, TRUE, FALSE ) \
- ACC_KEY( nl , KEY_I, FALSE, TRUE, FALSE ) \
- ACC_KEY( da , KEY_K, FALSE, TRUE, FALSE ) \
- ACC_KEY( pl , KEY_I, FALSE, TRUE, FALSE ) \
- ACC_KEY( ru , KEY_I, FALSE, TRUE, FALSE ) };
-
-#define AI_COMBINE ACC_CODE( SID_COMBINE, KEY_K, TRUE, TRUE, FALSE )
-#define AI_DISMANTLE ACC_CODE( SID_DISMANTLE, KEY_K, TRUE, TRUE, TRUE )
-#define AI_ATTR_PARA_ADJUST_LEFT AcceleratorItem { Identifier = SID_ATTR_PARA_ADJUST_LEFT;\
- ACC_DEF_KEY( KEY_L, FALSE, TRUE, FALSE ) \
- ACC_KEY( de , KEY_L, FALSE, TRUE, FALSE ) \
- ACC_KEY( en-US , KEY_L, FALSE, TRUE, FALSE ) \
- ACC_KEY( it , KEY_T, FALSE, TRUE, FALSE ) \
- ACC_KEY( es , KEY_I, FALSE, TRUE, FALSE ) \
- ACC_KEY( fr , KEY_G, TRUE, TRUE, FALSE ) \
- ACC_KEY( nl , KEY_L, FALSE, TRUE, FALSE ) };
-
-#define AI_ATTR_PARA_ADJUST_RIGHT AcceleratorItem { Identifier = SID_ATTR_PARA_ADJUST_RIGHT;\
- ACC_DEF_KEY( KEY_R, FALSE, TRUE, FALSE ) \
- ACC_KEY( de , KEY_R, FALSE, TRUE, FALSE ) \
- ACC_KEY( en-US , KEY_R, FALSE, TRUE, FALSE ) \
- ACC_KEY( it , KEY_R, FALSE, TRUE, FALSE ) \
- ACC_KEY( es , KEY_D, FALSE, TRUE, FALSE ) \
- ACC_KEY( fr , KEY_D, TRUE, TRUE, FALSE ) \
- ACC_KEY( nl , KEY_R, FALSE, TRUE, FALSE ) };
-
-#define AI_SET_SUB_SCRIPT AcceleratorItem { Identifier = SID_SET_SUB_SCRIPT;\
- ACC_DEF_KEY( KEY_B, TRUE, TRUE, FALSE ) \
- ACC_KEY( de , KEY_T, FALSE, TRUE, FALSE ) \
- ACC_KEY( en-US , KEY_B, TRUE, TRUE, FALSE ) \
- ACC_KEY( it , KEY_B, TRUE, TRUE, FALSE ) \
- ACC_KEY( es , KEY_T, FALSE, TRUE, FALSE ) \
- ACC_KEY( fr , KEY_T, FALSE, TRUE, FALSE ) \
- ACC_KEY( nl , KEY_P, TRUE, TRUE, FALSE ) };
-
-#define AI_ATTR_CHAR_UNDERLINE AcceleratorItem { Identifier = SID_ATTR_CHAR_UNDERLINE;\
- ACC_DEF_KEY( KEY_U, FALSE, TRUE, FALSE ) \
- ACC_KEY( de , KEY_U, FALSE, TRUE, FALSE ) \
- ACC_KEY( en-US , KEY_U, FALSE, TRUE, FALSE ) \
- ACC_KEY( it , KEY_U, FALSE, TRUE, FALSE ) \
- ACC_KEY( es , KEY_U, FALSE, TRUE, FALSE ) \
- ACC_KEY( fr , KEY_U, FALSE, TRUE, FALSE ) \
- ACC_KEY( nl , KEY_U, FALSE, TRUE, FALSE ) \
- ACC_KEY( da, KEY_U, FALSE, TRUE, FALSE ) \
- ACC_KEY( pl, KEY_U, FALSE, TRUE, FALSE ) \
- ACC_KEY( ru , KEY_U, FALSE, TRUE, FALSE ) };
-
-#define AI_STYLE_CATALOG ACC_CODE( SID_STYLE_CATALOG, KEY_F11, FALSE, TRUE, FALSE )
-#define AI_WIN_FULLSCREEN ACC_CODE( SID_WIN_FULLSCREEN, KEY_J, TRUE, TRUE, FALSE )
-
-#define AI_FOCUSURLBOX ACC_CODE( SID_FOCUSURLBOX, KEY_O, TRUE, TRUE, FALSE )
-#define AI_SELECTALL ACC_CODE( SID_SELECTALL, KEY_A, FALSE, TRUE, FALSE )
-
-// Anordnung
-#define AI_FRAME_TO_TOP ACC_CODE( SID_FRAME_TO_TOP, KEY_ADD, TRUE, TRUE, FALSE )
-#define AI_MOREFRONT ACC_CODE( SID_MOREFRONT, KEY_ADD, FALSE, TRUE, FALSE )
-#define AI_FRAME_TO_BOTTOM ACC_CODE( SID_FRAME_TO_BOTTOM, KEY_SUBTRACT, TRUE, TRUE, FALSE )
-#define AI_MOREBACK ACC_CODE( SID_MOREBACK, KEY_SUBTRACT, FALSE, TRUE, FALSE )
-
-// sonstige Acceleratoren
-#define AI_NEWDOC ACC_CODE( SID_NEWDOC, KEY_N, TRUE, TRUE, FALSE )
-#define AI_NEWDOCDIRECT ACC_CODE( SID_NEWDOCDIRECT, KEY_N, FALSE, TRUE, FALSE )
-#define AI_OPENDOC ACC_CODE( SID_OPENDOC, KEY_O, FALSE, TRUE, FALSE ) \
- ACC_CODE( SID_OPENDOC, KEY_OPEN, FALSE, FALSE, FALSE )
-#define AI_CLOSEWIN ACC_CODE( SID_CLOSEWIN, KEY_W, FALSE, TRUE, FALSE ) \
- ACC_CODE( SID_CLOSEWIN, KEY_F4, FALSE, TRUE, FALSE )
-#define AI_SAVEDOC ACC_CODE( SID_SAVEDOC, KEY_S, FALSE, TRUE, FALSE )
-#define AI_PRINTDOC ACC_CODE( SID_PRINTDOC, KEY_P, FALSE, TRUE, FALSE )
-#define AI_QUITAPP ACC_CODE( SID_QUITAPP, KEY_Q, FALSE, TRUE, FALSE )
-#define AI_CUT ACC_CODE( SID_CUT, KEY_X, FALSE, TRUE, FALSE ) \
- ACC_CODE( SID_CUT, KEY_DELETE, TRUE, FALSE, FALSE ) \
- ACC_CODE( SID_CUT, KEY_CUT, FALSE, FALSE, FALSE )
-#define AI_COPY ACC_CODE( SID_COPY, KEY_C, FALSE, TRUE, FALSE ) \
- ACC_CODE( SID_COPY, KEY_INSERT, FALSE, TRUE, FALSE ) \
- ACC_CODE( SID_COPY, KEY_COPY, FALSE, FALSE, FALSE )
-#define AI_PASTE ACC_CODE( SID_PASTE, KEY_V, FALSE, TRUE, FALSE ) \
- ACC_CODE( SID_PASTE, KEY_INSERT, TRUE, FALSE, FALSE ) \
- ACC_CODE( SID_PASTE, KEY_PASTE, FALSE, FALSE, FALSE )
-#define AI_UNDO ACC_CODE( SID_UNDO, KEY_Z, FALSE, TRUE, FALSE ) \
- ACC_CODE( SID_UNDO, KEY_BACKSPACE, FALSE, FALSE, TRUE ) \
- ACC_CODE( SID_UNDO, KEY_UNDO, FALSE, FALSE, FALSE )
-#define AI_REDO ACC_CODE( SID_REDO, KEY_Y, FALSE, TRUE, FALSE )
-#define AI_REPEAT ACC_CODE( SID_REPEAT, KEY_REPEAT, FALSE, FALSE, FALSE )
-#define AI_DELETE ACC_CODE( SID_DELETE, KEY_DELETE, FALSE, FALSE, FALSE )
-
-#endif // _GLOBLACC_SRC
-
-
-
-
diff --git a/svx/inc/globlmn_tmpl.hrc b/svx/inc/globlmn_tmpl.hrc
index 791e80172629..6aa1a752dde0 100644..100755
--- a/svx/inc/globlmn_tmpl.hrc
+++ b/svx/inc/globlmn_tmpl.hrc
@@ -38,288 +38,242 @@
#define ITEM_FORM_CONTROL_PROPERTIES\
Identifier = SID_FM_CTL_PROPERTIES ; \
Command = ".uno:ControlProperties" ; \
- HelpID = SID_FM_CTL_PROPERTIES ; \
Text [ en-US ] = "Con~trol..." ; \
#define ITEM_FORM_PROPERTIES\
Identifier = SID_FM_PROPERTIES ; \
Command = ".uno:FormProperties" ; \
- HelpID = SID_FM_PROPERTIES ; \
Text [ en-US ] = "For~m..." ; \
#define ITEM_REPLACE_CONTROL\
Identifier = SID_FM_CHANGECONTROLTYPE ;\
Command = ".uno:ChangeControlType" ; \
- HelpID = SID_FM_CHANGECONTROLTYPE ; \
Text [ en-US ] = "~Replace with"; \
#define ITEM_FORMAT_TEMPLATECATALOG \
Identifier = SID_STYLE_CATALOG ; \
Command = ".uno:StyleCatalog" ; \
- HelpID = SID_STYLE_CATALOG ; \
Text [ en-US ] = "~Catalog..." ; \
#define ITEM_FORMAT_TEMPLATE \
Identifier = SID_STYLE_DESIGNER ; \
Command = ".uno:DesignerDialog" ; \
- HelpID = SID_STYLE_DESIGNER ; \
Text [ en-US ] = "St~ylist" ; \
#define ITEM_FORMAT_AUTOFORMAT \
Identifier = SID_AUTOFORMAT ; \
Command = ".uno:AutoFormat" ; \
- HelpID = SID_AUTOFORMAT ; \
Text [ en-US ] = "Auto~Format..." ;\
#define ITEM_FORMAT_CHAR_DLG \
Identifier = SID_CHAR_DLG ; \
Command = ".uno:FontDialog" ; \
- HelpID = SID_CHAR_DLG ; \
Text [ en-US ] = "C~haracter..." ;\
#define ITEM_FORMAT_PARA_DLG \
Identifier = SID_PARA_DLG ; \
Command = ".uno:ParagraphDialog" ; \
- HelpID = SID_PARA_DLG ; \
Text [ en-US ] = "P~aragraph..." ;\
#define ITEM_FORMAT_FONTWORK \
Identifier = SID_FONTWORK ; \
Command = ".uno:FontWork" ; \
- HelpID = SID_FONTWORK ; \
Text [ en-US ] = "F~ontwork" ;\
#define ITEM_EDIT_CUT \
Identifier = SID_CUT ; \
Command = ".uno:Cut" ; \
- HelpID = SID_CUT ; \
Text [ en-US ] = "Cu~t" ;\
#define ITEM_EDIT_COPY \
Identifier = SID_COPY ; \
Command = ".uno:Copy" ; \
- HelpID = SID_COPY ; \
Text [ en-US ] = "~Copy" ;\
#define ITEM_EDIT_DELETE \
Identifier = SID_DELETE ; \
Command = ".uno:Delete" ; \
- HelpID = SID_DELETE ; \
Text [ en-US ] = "~Delete" ;\
#define ITEM_FORMAT_ATTR_CHAR_FONT \
Identifier = SID_ATTR_CHAR_FONT ; \
Command = ".uno:CharFontName" ; \
- HelpID = SID_ATTR_CHAR_FONT ; \
Text [ en-US ] = "Font" ;\
#define ITEM_FORMAT_ATTR_CHAR_FONTHEIGHT \
Identifier = SID_ATTR_CHAR_FONTHEIGHT ; \
Command = ".uno:FontHeight" ; \
- HelpID = SID_ATTR_CHAR_FONTHEIGHT ; \
Text [ en-US ] = "Size" ;\
#define ITEM_FORMAT_ATTR_CHAR_WEIGHT \
Identifier = SID_ATTR_CHAR_WEIGHT ; \
Command = ".uno:Bold" ; \
- HelpID = SID_ATTR_CHAR_WEIGHT ; \
Text [ en-US ] = "Bold" ; \
#define ITEM_FORMAT_ATTR_CHAR_POSTURE \
Identifier = SID_ATTR_CHAR_POSTURE ; \
Command = ".uno:Italic" ; \
- HelpID = SID_ATTR_CHAR_POSTURE ; \
Text [ en-US ] = "Italic" ;\
#define ITEM_FORMAT_ATTR_CHAR_UNDERLINE \
Identifier = SID_ATTR_CHAR_UNDERLINE ; \
Command = ".uno:Underline" ; \
- HelpID = SID_ATTR_CHAR_UNDERLINE ; \
Text [ en-US ] = "Underline" ;\
#define ITEM_FORMAT_ATTR_CHAR_OVERLINE \
Identifier = SID_ATTR_CHAR_OVERLINE ; \
Command = ".uno:Overline" ; \
- HelpID = SID_ATTR_CHAR_OVERLINE ; \
Text [ en-US ] = "Overline" ;\
#define ITEM_FORMAT_ATTR_CHAR_STRIKEOUT \
Identifier = SID_ATTR_CHAR_STRIKEOUT ; \
Command = ".uno:Strikeout" ; \
- HelpID = SID_ATTR_CHAR_STRIKEOUT ; \
Text [ en-US ] = "Strikethrough" ;\
#define ITEM_FORMAT_ATTR_CHAR_SHADOWED \
Identifier = SID_ATTR_CHAR_SHADOWED ; \
Command = ".uno:Shadowed" ; \
- HelpID = SID_ATTR_CHAR_SHADOWED ; \
Text [ en-US ] = "Shadow" ;\
#define ITEM_FORMAT_ATTR_CHAR_CONTOUR \
Identifier = SID_ATTR_CHAR_CONTOUR ; \
Command = ".uno:OutlineFont" ; \
- HelpID = SID_ATTR_CHAR_CONTOUR ; \
Text [ en-US ] = "Outline" ;\
#define ITEM_FORMAT_SET_SUPER_SCRIPT \
Identifier = SID_SET_SUPER_SCRIPT; \
- HelpID = SID_SET_SUPER_SCRIPT; \
+ Command = CMD_SID_SET_SUPER_SCRIPT; \
Text [ en-US ] = "Su~perscript"; \
#define ITEM_FORMAT_SET_SUB_SCRIPT \
Identifier = SID_SET_SUB_SCRIPT; \
- HelpID = SID_SET_SUB_SCRIPT; \
+ Command = CMD_SID_SET_SUB_SCRIPT; \
Text [ en-US ] = "Su~bscript"; \
#define ITEM_FORMAT_ATTR_PARA_ADJUST_LEFT \
Identifier = SID_ATTR_PARA_ADJUST_LEFT ; \
Command = ".uno:LeftPara" ; \
- HelpID = SID_ATTR_PARA_ADJUST_LEFT ; \
Text [ en-US ] = "~Left" ;\
#define ITEM_FORMAT_ATTR_PARA_ADJUST_RIGHT \
Identifier = SID_ATTR_PARA_ADJUST_RIGHT ; \
Command = ".uno:RightPara" ; \
- HelpID = SID_ATTR_PARA_ADJUST_RIGHT ; \
Text [ en-US ] = "~Right" ;\
#define ITEM_FORMAT_ATTR_PARA_ADJUST_CENTER \
Identifier = SID_ATTR_PARA_ADJUST_CENTER ; \
Command = ".uno:CenterPara" ; \
- HelpID = SID_ATTR_PARA_ADJUST_CENTER ; \
Text [ en-US ] = "~Centered" ;\
#define ITEM_FORMAT_ATTR_PARA_ADJUST_BLOCK \
Identifier = SID_ATTR_PARA_ADJUST_BLOCK ; \
Command = ".uno:JustifyPara" ; \
- HelpID = SID_ATTR_PARA_ADJUST_BLOCK ; \
Text [ en-US ] = "Justified" ;\
#define ITEM_FORMAT_PARA_LINESPACE_10 \
Identifier = SID_ATTR_PARA_LINESPACE_10 ; \
Command = ".uno:SpacePara1" ; \
- HelpID = SID_ATTR_PARA_LINESPACE_10 ; \
Text [ en-US ] = "Single" ;\
#define ITEM_FORMAT_PARA_LINESPACE_15 \
Identifier = SID_ATTR_PARA_LINESPACE_15 ; \
Command = ".uno:SpacePara15" ; \
- HelpID = SID_ATTR_PARA_LINESPACE_15 ; \
Text [ en-US ] = "1.5 lines" ;\
#define ITEM_FORMAT_PARA_LINESPACE_20 \
Identifier = SID_ATTR_PARA_LINESPACE_20 ; \
Command = ".uno:SpacePara2" ; \
- HelpID = SID_ATTR_PARA_LINESPACE_20 ; \
Text [ en-US ] = "~Double" ;\
#define ITEM_FORMAT_FRAME_TO_TOP \
Identifier = SID_FRAME_TO_TOP ; \
Command = ".uno:BringToFront" ; \
- HelpID = SID_FRAME_TO_TOP ; \
Text [ en-US ] = "~Bring to Front" ;\
#define ITEM_FORMAT_FRAME_TO_BOTTOM \
Identifier = SID_FRAME_TO_BOTTOM ; \
Command = ".uno:SendToBack" ; \
- HelpID = SID_FRAME_TO_BOTTOM ; \
Text [ en-US ] = "~Send to Back" ;\
#define ITEM_FORMAT_OBJECT_ALIGN \
Identifier = SID_OBJECT_ALIGN ; \
Command = ".uno:ObjectAlign" ; \
- HelpID = SID_OBJECT_ALIGN ; \
Text [ en-US ] = "A~lignment" ;\
#define ITEM_FORMAT_OBJECT_ALIGN_LEFT \
Identifier = SID_OBJECT_ALIGN_LEFT ; \
Command = ".uno:ObjectAlignLeft" ; \
- HelpID = SID_OBJECT_ALIGN_LEFT ; \
Text [ en-US ] = "~Left" ;\
#define ITEM_FORMAT_OBJECT_ALIGN_CENTER \
Identifier = SID_OBJECT_ALIGN_CENTER ; \
Command = ".uno:AlignCenter" ; \
- HelpID = SID_OBJECT_ALIGN_CENTER ; \
Text [ en-US ] = "~Centered" ;\
#define ITEM_FORMAT_OBJECT_ALIGN_RIGHT \
Identifier = SID_OBJECT_ALIGN_RIGHT ; \
Command = ".uno:ObjectAlignRight" ; \
- HelpID = SID_OBJECT_ALIGN_RIGHT ; \
Text [ en-US ] = "~Right" ;\
#define ITEM_FORMAT_OBJECT_ALIGN_UP \
Identifier = SID_OBJECT_ALIGN_UP ; \
Command = ".uno:AlignUp" ; \
- HelpID = SID_OBJECT_ALIGN_UP ; \
Text [ en-US ] = "~Top" ;\
#define ITEM_FORMAT_OBJECT_ALIGN_MIDDLE \
Identifier = SID_OBJECT_ALIGN_MIDDLE ; \
Command = ".uno:AlignMiddle" ; \
- HelpID = SID_OBJECT_ALIGN_MIDDLE ; \
Text [ en-US ] = "C~enter" ;\
#define ITEM_FORMAT_OBJECT_ALIGN_DOWN \
Identifier = SID_OBJECT_ALIGN_DOWN ; \
Command = ".uno:AlignDown" ; \
- HelpID = SID_OBJECT_ALIGN_DOWN ; \
Text [ en-US ] = "~Bottom" ;\
#define ITEM_FORMAT_ATTRIBUTES_LINE \
Identifier = SID_ATTRIBUTES_LINE ; \
Command = ".uno:FormatLine" ; \
- HelpID = SID_ATTRIBUTES_LINE ; \
Text [ en-US ] = "L~ine..." ;\
#define ITEM_FORMAT_ATTRIBUTES_AREA \
Identifier = SID_ATTRIBUTES_AREA ; \
Command = ".uno:FormatArea" ; \
- HelpID = SID_ATTRIBUTES_AREA ; \
Text [ en-US ] = "A~rea..." ;\
#define ITEM_FORMAT_ATTR_TRANSFORM \
Identifier = SID_ATTR_TRANSFORM ; \
Command = ".uno:TransformDialog" ; \
- HelpID = SID_ATTR_TRANSFORM ; \
Text [ en-US ] = "Position and Si~ze..." ;\
#define ITEM_FORMAT_OBJECT_HEAVEN \
Identifier = SID_OBJECT_HEAVEN ; \
Command = ".uno:SetObjectToForeground" ; \
- HelpID = SID_OBJECT_HEAVEN ; \
Text [ en-US ] = "~To Foreground" ;\
#define ITEM_FORMAT_OBJECT_HELL \
Identifier = SID_OBJECT_HELL ; \
Command = ".uno:SetObjectToBackground" ; \
- HelpID = SID_OBJECT_HELL ; \
Text [ en-US ] = "T~o Background" ;\
#define ITEM_FORMAT_BEZIER_EDIT \
Identifier = SID_BEZIER_EDIT ; \
Command = ".uno:ToggleObjectBezierMode" ; \
- HelpID = SID_BEZIER_EDIT ; \
Text [ en-US ] = "Edit ~Points" ;\
#define ITEM_FILE_PICKLIST \
Identifier = SID_PICKLIST ; \
Command = ".uno:PickList" ; \
- HelpID = SID_PICKLIST ; \
Text [ en-US ] = "~File" ; \
#define ITEM_FILE_NEWDOC \
Identifier = SID_NEWDOCDIRECT ; \
Command = ".uno:AddDirect" ; \
- HelpID = SID_NEWDOCDIRECT ; \
Text [ en-US ] = "~New" ;\
#define ITEM_FILE_OPENDOC \
Identifier = SID_OPENDOC ; \
Command = ".uno:Open" ; \
- HelpID = SID_OPENDOC ; \
Text [ en-US ] = "~Open..." ;\
@@ -328,62 +282,52 @@
{\
Identifier = SID_AUTOPILOTMENU ; \
Command = ".uno:AutoPilotMenu" ; \
- HelpID = SID_AUTOPILOTMENU ; \
Text [ en-US ] = "A~utoPilot" ; \
};
#define ITEM_FILE_CLOSEDOC \
Identifier = SID_CLOSEDOC ; \
Command = ".uno:CloseDoc" ; \
- HelpID = SID_CLOSEDOC ; \
Text [ en-US ] = "~Close" ;\
#define ITEM_FILE_SAVEDOC \
Identifier = SID_SAVEDOC ; \
Command = ".uno:Save" ; \
- HelpID = SID_SAVEDOC ; \
Text [ en-US ] = "~Save" ; \
#define ITEM_FILE_SAVEDOCS \
Identifier = SID_SAVEDOCS ; \
Command = ".uno:SaveAll" ; \
- HelpID = SID_SAVEDOCS ; \
Text [ en-US ] = "Sa~ve All" ; \
#define ITEM_FILE_SAVEASDOC \
Identifier = SID_SAVEASDOC ; \
Command = ".uno:SaveAs" ; \
- HelpID = SID_SAVEASDOC ; \
Text [ en-US ] = "Save ~As..." ; \
#define ITEM_FILE_EXPORTDOC \
Identifier = SID_EXPORTDOC ; \
Command = ".uno:ExportTo" ; \
- HelpID = SID_EXPORTDOC ; \
Text [ en-US ] = "Expor~t..." ; \
#define ITEM_FILE_EXPORTDOCASPDF \
Identifier = SID_EXPORTDOCASPDF ; \
Command = ".uno:ExportToPDF" ; \
- HelpID = SID_EXPORTDOCASPDF ; \
Text [ en-US ] = "Export as P~DF..." ; \
#define ITEM_FILE_VERSIONDIALOG \
Identifier = SID_VERSION ; \
Command = ".uno:VersionDialog" ; \
- HelpID = SID_VERSION ; \
Text [ en-US ] = "Versions..." ; \
#define ITEM_FILE_LASTVERSIONDOC \
Identifier = SID_RELOAD ; \
Command = ".uno:Reload" ; \
- HelpID = SID_RELOAD ; \
Text [ en-US ] = "Reload" ;\
#define ITEM_FILE_DOCINFO \
Identifier = SID_DOCINFO ; \
Command = ".uno:SetDocumentProperties" ; \
- HelpID = SID_DOCINFO ; \
Text [ en-US ] = "Propert~ies..." ;\
#define ITEM_FILE_DOCTEMPLATE \
@@ -398,28 +342,24 @@
{ \
Identifier = SID_ORGANIZER ; \
Command = ".uno:Organizer" ; \
- HelpId = SID_ORGANIZER ; \
Text [ en-US ] = "~Organize...";\
}; \
MenuItem \
{ \
Identifier = SID_TEMPLATE_ADDRESSBOKSOURCE; \
Command = ".uno:AddressBookSource" ; \
- HelpId = SID_TEMPLATE_ADDRESSBOKSOURCE; \
Text [ en-US ] = "~Address Book Source..."; \
}; \
MenuItem \
{ \
Identifier = SID_DOCTEMPLATE ; \
Command = ".uno:SaveAsTemplate" ; \
- HelpId = SID_DOCTEMPLATE ; \
Text [ en-US ] = "~Save...";\
}; \
MenuItem \
{ \
Identifier = SID_OPENTEMPLATE ; \
Command = ".uno:OpenTemplate" ; \
- HelpId = SID_OPENTEMPLATE ; \
Text [ en-US ] = "~Edit...";\
}; \
}; \
@@ -428,164 +368,138 @@
#define ITEM_FILE_PRINTPREVIEW \
Identifier = SID_PRINTPREVIEW ; \
Command = ".uno:PrintPreview" ; \
- HelpID = SID_PRINTPREVIEW ; \
Text [ en-US ] = "Pa~ge Preview" ;\
#define ITEM_FILE_SETUPPRINTER \
Identifier = SID_SETUPPRINTER ; \
Command = ".uno:PrinterSetup" ; \
- HelpID = SID_SETUPPRINTER ; \
Text [ en-US ] = "P~rinter Settings..." ; \
#define ITEM_FILE_PRINTDOC \
Identifier = SID_PRINTDOC ; \
Command = ".uno:Print" ; \
- HelpID = SID_PRINTDOC ; \
Text [ en-US ] = "~Print..." ; \
#define ITEM_FILE_MAIL_SENDDOC \
Identifier = SID_MAIL_SENDDOC ; \
Command = ".uno:SendMail" ; \
- HelpID = SID_MAIL_SENDDOC ; \
Text [ en-US ] = "Document as ~E-mail..." ; \
#define ITEM_FILE_MAIL_SENDDOCASPDF \
Identifier = SID_MAIL_SENDDOCASPDF ; \
Command = ".uno:SendMailDocAsPDF" ; \
- HelpID = SID_MAIL_SENDDOCASPDF ; \
Text [ en-US ] = "Document as P~DF Attachment..." ; \
#define ITEM_FILE_QUITAPP \
Identifier = SID_QUITAPP ; \
Command = ".uno:Quit" ; \
- HelpID = SID_QUITAPP ; \
Text [ en-US ] = "E~xit" ; \
#define ITEM_FILE_LOGOUT \
Identifier = SID_LOGOUT ; \
Command = ".uno:Logout" ; \
- HelpID = SID_LOGOUT ; \
Text [ en-US ] = "Logout" ; \
#define ITEM_EDIT_UNDO \
Identifier = SID_UNDO ; \
Command = ".uno:UndoAction" ; \
- HelpID = SID_UNDO ; \
Text [ en-US ] = "Undo" ; \
#define ITEM_EDIT_REDO \
Identifier = SID_REDO ; \
Command = ".uno:Redo" ; \
- HelpID = SID_REDO ; \
Text [ en-US ] = "Redo" ; \
#define ITEM_EDIT_REPEAT \
Identifier = SID_REPEAT ; \
Command = ".uno:Repeat" ; \
- HelpID = SID_REPEAT ; \
Text [ en-US ] = "~Repeat" ; \
#define ITEM_EDIT_PASTE \
Identifier = SID_PASTE ; \
Command = ".uno:Paste" ; \
- HelpID = SID_PASTE ; \
Text [ en-US ] = "~Paste" ; \
#define ITEM_EDIT_SELECTALL \
Identifier = SID_SELECTALL ; \
Command = ".uno:SelectAll" ; \
- HelpID = SID_SELECTALL ; \
Text [ en-US ] = "Select ~All" ; \
#define ITEM_EDIT_SEARCH_DLG \
Identifier = SID_SEARCH_DLG ; \
Command = ".uno:SearchDialog" ; \
- HelpID = SID_SEARCH_DLG ; \
Text [ en-US ] = "~Find & Replace..." ; \
#define ITEM_EDIT_NAVIGATOR \
Identifier = SID_NAVIGATOR ; \
Command = ".uno:Navigator" ; \
- HelpID = SID_NAVIGATOR ; \
Text [ en-US ] = "~Navigator" ; \
#define ITEM_EDIT_BIBLIOGRAPHY \
Identifier = SID_COMP_BIBLIOGRAPHY ; \
Command = ".uno:BibliographyComponent" ; \
- HelpID = SID_COMP_BIBLIOGRAPHY ; \
Text [ en-US ] = "~Bibliography Database"; \
#define ITEM_EDIT_PLUGINS_ACTIVE \
Identifier = SID_PLUGINS_ACTIVE ; \
Command = ".uno:PlugInsActive" ; \
- HelpID = SID_PLUGINS_ACTIVE ; \
Text [ en-US ] = "P~lug-in" ; \
#define ITEM_EDIT_IMAP \
Identifier = SID_IMAP ; \
Command = ".uno:ImageMapDialog" ; \
- HelpID = SID_IMAP ; \
Text [ en-US ] = "ImageMap" ; \
#define ITEM_EDIT_OBJECT \
Identifier = SID_OBJECT ; \
Command = ".uno:ObjectMenue" ; \
- HelpID = SID_OBJECT ; \
Text [ en-US ] = "~Object" ; \
#define ITEM_VIEW_ATTR_ZOOM \
Identifier = SID_ATTR_ZOOM ; \
Command = ".uno:Zoom" ; \
- HelpID = SID_ATTR_ZOOM ; \
Text [ en-US ] = "~Zoom..." ; \
#define ITEM_VIEW_TOGGLEFUNCTIONBAR \
Identifier = SID_TOGGLEFUNCTIONBAR ; \
Command = ".uno:FunctionBarVisible" ; \
- HelpID = SID_TOGGLEFUNCTIONBAR ; \
Text [ en-US ] = "~Function Bar" ; \
#define ITEM_VIEW_TOGGLEOBJECTBAR \
Identifier = SID_TOGGLEOBJECTBAR ; \
Command = ".uno:ObjectBarVisible" ; \
- HelpID = SID_TOGGLEOBJECTBAR ; \
Text [ en-US ] = "~Object Bar" ; \
#define ITEM_VIEW_TOGGLEINETBAR \
Identifier = SID_TOGGLEINETBAR ; \
- HelpID = SID_TOGGLEINETBAR ; \
+ Command = CMD_SID_TOGGLEINETBAR; \
Text [ en-US ] = "Internet Bar" ; \
#define ITEM_VIEW_TOGGLESTATUSBAR \
Identifier = SID_TOGGLESTATUSBAR ; \
Command = ".uno:StatusBarVisible" ; \
- HelpID = SID_TOGGLESTATUSBAR ; \
Text [ en-US ] = "~Status Bar" ; \
#define ITEM_VIEW_TOGGLEIMESTATUSWINDOW \
Identifier = SID_SHOW_IME_STATUS_WINDOW ; \
Command = ".uno:ShowImeStatusWindow" ; \
- HelpID = SID_SHOW_IME_STATUS_WINDOW ; \
Text [ en-US ] = "~Input Method Status"; \
#define ITEM_VIEW_TASKBAR \
Identifier = SID_TASKBAR ; \
Command = ".uno:TaskBarVisible" ; \
- HelpID = SID_TASKBAR ; \
Text [ en-US ] = "~Status Bar" ; \
#define ITEM_VIEW_COLORBAR \
Identifier = SID_COLOR_CONTROL ; \
Command = ".uno:ColorControl" ; \
- HelpID = SID_COLOR_CONTROL ; \
Text [ en-US ] = "~Color Bar" ; \
#define ITEM_VIEW_FULLSCREEN \
Identifier = SID_WIN_FULLSCREEN ; \
Command = ".uno:FullScreen" ; \
- HelpID = SID_WIN_FULLSCREEN ; \
Text [ en-US ] = "F~ull Screen" ; \
@@ -598,19 +512,16 @@
#define ITEM_VIEW_BROWSER_MODE \
Identifier = SID_BROWSER_MODE ; \
Command = ".uno:BrowseView" ; \
- HelpID = SID_BROWSER_MODE ; \
Text [ en-US ] = "~Online Layout" ; \
#define ITEM_VIEW_BROWSER \
Identifier = SID_BROWSER ; \
Command = ".uno:Beamer" ; \
- HelpID = SID_BROWSER ; \
Text [ en-US ] = "~Beamer" ; \
#define ITEM_INSERT_INSERT_GRAPHIC \
Identifier = SID_INSERT_GRAPHIC ; \
Command = ".uno:InsertGraphic" ; \
- HelpID = SID_INSERT_GRAPHIC ; \
Text [ en-US ] = "~Graphics..." ; \
#define ITEM_INSERT_TWAIN_SELECT \
@@ -618,7 +529,6 @@
{\
Identifier = SID_TWAIN_SELECT ; \
Command = ".uno:TwainSelect" ; \
- HelpID = SID_TWAIN_SELECT ; \
Text [ en-US ] = "~Select Source..." ; \
};
@@ -627,7 +537,6 @@
{\
Identifier = SID_TWAIN_TRANSFER ; \
Command = ".uno:TwainTransfer" ; \
- HelpID = SID_TWAIN_TRANSFER ; \
Text [ en-US ] = "~Request..." ; \
};
@@ -636,7 +545,6 @@
{\
Identifier = SID_SCAN ; \
Command = ".uno:Scan" ; \
- HelpID = SID_SCAN ; \
Text [ en-US ] = "Scan" ; \
SubMenu = Menu\
{\
@@ -651,19 +559,16 @@
#define ITEM_INSERT_INSERT_DIAGRAM \
Identifier = SID_INSERT_DIAGRAM ; \
Command = ".uno:InsertObjectChart" ; \
- HelpID = SID_INSERT_DIAGRAM ; \
Text [ en-US ] = "~Chart..." ; \
#define ITEM_INSERT_GALLERY \
Identifier = SID_GALLERY ; \
Command = ".uno:Gallery" ; \
- HelpID = SID_GALLERY ; \
Text [ en-US ] = "~Gallery" ; \
#define ITEM_INSERT_INSERTDOC \
Identifier = SID_INSERTDOC ; \
Command = ".uno:InsertDoc" ; \
- HelpID = SID_INSERTDOC ; \
Text [ en-US ] = "~File..." ; \
#define TMP_SID_INSERT_PLUGIN \
@@ -671,7 +576,6 @@
{\
Identifier = SID_INSERT_PLUGIN ; \
Command = ".uno:InsertPlugin" ; \
- HelpID = SID_INSERT_PLUGIN ; \
Text [ en-US ] = "~Plug-in..." ; \
};
@@ -680,7 +584,6 @@
{\
Identifier = SID_INSERT_SOUND ; \
Command = ".uno:InsertSound" ; \
- HelpID = SID_INSERT_SOUND ; \
Text [ en-US ] = "~Sound..." ; \
};
@@ -689,27 +592,13 @@
{\
Identifier = SID_INSERT_VIDEO ; \
Command = ".uno:InsertVideo" ; \
- HelpID = SID_INSERT_VIDEO ; \
Text [ en-US ] = "~Video..." ; \
};
-#ifdef SOLAR_JAVA
-#define TMP_SID_INSERT_APPLET \
- MenuItem\
- {\
- Identifier = SID_INSERT_APPLET ; \
- Command = ".uno:InsertApplet" ; \
- HelpID = SID_INSERT_APPLET ; \
- Text [ en-US ] = "~Applet..." ; \
- };
-#else
-#define TMP_SID_INSERT_APPLET
-#endif
#define ITEM_INSERT_OBJECT_MN \
MenuItem\
{\
Identifier = SID_MN_INSERT_OBJECT_DLGS ; \
- HelpID = SID_MN_INSERT_OBJECT_DLGS ; \
Command = ".uno:ObjectMenu" ; \
Text [ en-US ] = "~Object" ; \
SubMenu = Menu\
@@ -720,18 +609,15 @@
{\
Identifier = SID_INSERT_OBJECT ; \
Command = ".uno:InsertObject" ; \
- HelpID = SID_INSERT_OBJECT ; \
Text [ en-US ] = "~OLE Object..." ; \
};\
TMP_SID_INSERT_PLUGIN\
TMP_SID_INSERT_SOUND\
TMP_SID_INSERT_VIDEO\
- TMP_SID_INSERT_APPLET\
MenuItem\
{\
Identifier = SID_INSERT_MATH ; \
Command = ".uno:InsertMath" ; \
- HelpID = SID_INSERT_MATH ; \
Text [ en-US ] = "~Formula..." ; \
};\
};\
@@ -742,7 +628,6 @@
MenuItem\
{\
Identifier = SID_MN_INSERT_OBJECT_DLGS ; \
- HelpID = SID_MN_INSERT_OBJECT_DLGS ; \
Command = ".uno:ObjectMenu" ; \
Text [ en-US ] = "~Object" ; \
SubMenu = Menu\
@@ -753,14 +638,12 @@
{\
Identifier = SID_INSERT_OBJECT ; \
Command = ".uno:InsertObject" ; \
- HelpID = SID_INSERT_OBJECT ; \
Text [ en-US ] = "~OLE Object..." ; \
};\
MenuItem\
{\
Identifier = SID_INSERT_MATH ; \
Command = ".uno:InsertMath" ; \
- HelpID = SID_INSERT_MATH ; \
Text [ en-US ] = "~Formula" ; \
};\
};\
@@ -771,7 +654,6 @@
MenuItem\
{\
Identifier = DEFINE_SLOTID_FOR_NUMBER_BULLETS ; \
- HelpID = DEFINE_SLOTID_FOR_NUMBER_BULLETS ; \
Text [ en-US ] = "~Numbering/Bullets..." ; \
};
@@ -779,7 +661,6 @@
#define ITEM_FORMAT \
Identifier = SID_OBJECTMENU0 ; \
- HelpID = SID_OBJECTMENU0 ; \
Command = ".uno:FormatMenu" ; \
Text [ en-US ] = "F~ormat" ; \
@@ -787,7 +668,6 @@
#define ITEM_TOOLS_MACROS \
Identifier = SID_SCRIPTORGANIZER ; \
- HelpId = SID_SCRIPTORGANIZER ; \
Command = ".uno:ScriptOrganizer" ; \
Text [ en-US ] = "Scripts/Macros" ; \
@@ -803,13 +683,11 @@
{ \
Identifier = SID_RECORDMACRO ; \
Command = ".uno:MacroRecorder" ; \
- HelpId = SID_RECORDMACRO ; \
Text [ en-US ] = "Record Macro"; }; \
MenuItem \
{ \
Identifier = SID_BASICCHOOSER ; \
Command = ".uno:MacroDialog" ; \
- HelpID = SID_BASICCHOOSER ; \
Text [ en-US ] = "~Macro..." ; \
}; \
}; \
@@ -822,7 +700,6 @@
#define ITEM_TOOLS_CONFIG \
Identifier = SID_CONFIG ; \
Command = ".uno:ConfigureDialog"; \
- HelpID = SID_CONFIG ; \
Text [ en-US ] = "~Configure..." ; \
@@ -831,7 +708,6 @@
{\
Identifier = SID_AUTO_CORRECT_DLG ; \
Command = ".uno:AutoCorrectDlg" ; \
- HelpID = SID_AUTO_CORRECT_DLG ; \
Text [ en-US ] = "~AutoCorrect..." ; \
};
@@ -840,7 +716,6 @@
{\
Identifier = SID_SD_GRAPHIC_OPTIONS ; \
Command = ".uno:SdGraphicOptions" ; \
- HelpID = SID_SD_GRAPHIC_OPTIONS ; \
Text [ en-US ] = "~Drawing..." ; \
};
@@ -849,7 +724,6 @@
{\
Identifier = SID_OPTIONS_TREEDIALOG ; \
Command = ".uno:OptionsTreeDialog" ; \
- HelpID = SID_OPTIONS_TREEDIALOG ; \
Text [ en-US ] = "~Options..." ; \
};
@@ -860,13 +734,11 @@
#define ITEM_WINDOW_MDIWINDOWLIST \
Identifier = SID_MDIWINDOWLIST ; \
Command = ".uno:WindowList" ; \
- HelpID = SID_MDIWINDOWLIST ; \
Text [ en-US ] = "~Window" ; \
#define ITEM_WINDOW_CLONEWIN \
Identifier = SID_NEWWINDOW ; \
Command = ".uno:NewWindow" ; \
- HelpID = SID_NEWWINDOW ; \
Text [ en-US ] = "~New Window" ; \
#define ITEM_WINDOW_CASCADEWINS \
@@ -874,7 +746,6 @@
{\
Identifier = SID_CASCADEWINS ; \
Command = ".uno:Cascade" ; \
- HelpID = SID_CASCADEWINS ; \
Text [ en-US ] = "~Cascade" ; \
};
@@ -883,7 +754,6 @@
{\
Identifier = SID_TILEWINS ; \
Command = ".uno:Tile" ; \
- HelpID = SID_TILEWINS ; \
Text [ en-US ] = "~Tile" ; \
};
@@ -892,7 +762,6 @@
{\
Identifier = SID_HORIZONTALWINS ; \
Command = ".uno:ArrangeHorizontal" ; \
- HelpID = SID_HORIZONTALWINS ; \
Text [ en-US ] = "~Horizontally" ; \
};
@@ -901,14 +770,12 @@
{\
Identifier = SID_VERTICALWINS ; \
Command = ".uno:ArrangeVertical" ; \
- HelpID = SID_VERTICALWINS ; \
Text [ en-US ] = "~Vertically" ; \
};
#define ITEM_WINDOW_CLOSEWIN \
Identifier = SID_CLOSEWIN ; \
Command = ".uno:CloseWin" ; \
- HelpID = SID_CLOSEWIN ; \
Text [ en-US ] = "Close Window" ; \
#define ITEM_HYPERLINK_DIALOG \
@@ -916,7 +783,6 @@
{\
Identifier = SID_HYPERLINK_DIALOG ; \
Command = ".uno:HyperlinkDialog" ; \
- HelpID = SID_HYPERLINK_DIALOG ; \
Text [ en-US ] = "~Hyperlink" ; \
} ;
@@ -925,7 +791,6 @@
{\
Identifier = SID_POLY_MERGE ; \
Command = ".uno:Merge" ; \
- HelpID = SID_POLY_MERGE ; \
Text [ en-US ] = "~Merge" ; \
};
#define ITEM_POLY_SUBSTRACT \
@@ -933,7 +798,6 @@
{\
Identifier = SID_POLY_SUBSTRACT ; \
Command = ".uno:Substract" ; \
- HelpID = SID_POLY_SUBSTRACT ; \
Text [ en-US ] = "~Subtract" ; \
};
#define ITEM_POLY_INTERSECT \
@@ -941,7 +805,6 @@
{\
Identifier = SID_POLY_INTERSECT ; \
Command = ".uno:Intersect" ; \
- HelpID = SID_POLY_INTERSECT ; \
Text [ en-US ] = "I~ntersect" ; \
};
@@ -950,7 +813,6 @@
{ \
Identifier = SID_POLY_FORMEN ; \
Command = ".uno:PolyFormen" ; \
- HelpID = SID_POLY_FORMEN ; \
Text [ en-US ] = "~Shapes" ; \
SubMenu = Menu \
{\
@@ -1009,43 +871,36 @@
#define ITEM_HELP_HELPMENU \
Identifier = SID_HELPMENU ; \
Command = ".uno:HelpMenu" ; \
- HelpID = SID_HELPMENU ; \
Text [ en-US ] = "~Help" ; \
#define ITEM_HELP_HELPINDEX \
Identifier = SID_HELPINDEX ; \
Command = ".uno:HelpIndex" ; \
- HelpID = SID_HELPINDEX ; \
Text [ en-US ] = "~Contents" ; \
#define ITEM_HELP_HELPONHELP \
Identifier = SID_HELPONHELP ; \
Command = ".uno:HelpOnHelp" ; \
- HelpID = SID_HELPONHELP ; \
Text [ en-US ] = "Using Help" ; \
#define ITEM_HELP_HELP_PI \
Identifier = SID_HELP_PI ; \
Command = ".uno:HelperDialog" ; \
- HelpID = SID_HELP_PI ; \
Text [ en-US ] = "Help ~Agent" ; \
#define ITEM_HELP_HELPTIPS \
Identifier = SID_HELPTIPS ; \
Command = ".uno:HelpTip" ; \
- HelpID = SID_HELPTIPS ; \
Text [ en-US ] = "~Tips" ; \
#define ITEM_HELP_BALLOONHELP \
Identifier = SID_HELPBALLOONS ; \
Command = ".uno:ActiveHelp" ; \
- HelpID = SID_HELPBALLOONS ; \
Text [ en-US ] = "~Extended Tips" ; \
#define ITEM_SHOW_LICENSE \
Identifier = SID_SHOW_LICENSE ; \
Command = ".uno:ShowLicense" ; \
- HelpID = SID_SHOW_LICENSE ; \
Text [ en-US ] = "License information..." ; \
#define ITEM_SHOW_CREDITS \
@@ -1057,14 +912,12 @@
#define ITEM_HELP_ONLINE_REGISTRATION \
Identifier = SID_ONLINE_REGISTRATION ; \
Command = ".uno:OnlineRegistrationDlg" ; \
- HelpID = SID_ONLINE_REGISTRATION ; \
Text [ en-US ] = "~Registration..." ; \
#define ITEM_HELP_ABOUT \
Identifier = SID_ABOUT ; \
Command = ".uno:About" ; \
- HelpID = SID_ABOUT ; \
Text [ en-US ] = "A~bout %PRODUCTNAME..." ; \
/*------------------------------------------------------------------------
@@ -1130,39 +983,33 @@
#define ITEM_POPUP_TEMPLATE_EDIT \
Identifier = SID_STYLE_EDIT ; \
Command = ".uno:EditStyle" ; \
- HelpID = SID_STYLE_EDIT ; \
Text [ en-US ] = "Edit Paragraph Style..." ; \
// Gruppen-/Kombination-Funktionen
#define ITEM_POPUP_GROUP \
Identifier = SID_GROUP ; \
Command = ".uno:FormatGroup" ; \
- HelpID = SID_GROUP ; \
Text [ en-US ] = "~Group" ; \
#define ITEM_POPUP_UNGROUP \
Identifier = SID_UNGROUP ; \
Command = ".uno:FormatUngroup" ; \
- HelpID = SID_UNGROUP ; \
Text [ en-US ] = "~Ungroup" ; \
#define ITEM_POPUP_ENTER_GROUP \
Identifier = SID_ENTER_GROUP ; \
Command = ".uno:EnterGroup" ; \
- HelpID = SID_ENTER_GROUP ; \
Text [ en-US ] = "~Edit Group" ; \
#define ITEM_POPUP_LEAVE_GROUP \
Identifier = SID_LEAVE_GROUP ; \
Command = ".uno:LeaveGroup" ; \
- HelpID = SID_LEAVE_GROUP ; \
Text [ en-US ] = "E~xit Group" ; \
#define ITEM_GROUP_MENU \
MenuItem\
{\
Identifier = SID_MN_GROUP ; \
- HelpID = SID_MN_GROUP ; \
Command = ".uno:GroupMenu" ; \
SubMenu = Menu\
{\
@@ -1194,14 +1041,12 @@
{ \
Identifier = SID_DATASOURCE_ADMINISTRATION ; \
Command = ".uno:DatasourceAdministration" ; \
- HelpID = SID_DATASOURCE_ADMINISTRATION ; \
Text [ en-US ] = "~Data Sources..." ; \
};
#define ITEM_VIEW_DATA_SOURCE_BROWSER \
Identifier = SID_VIEW_DATA_SOURCE_BROWSER; \
Command = ".uno:ViewDataSourceBrowser" ; \
- HelpID = SID_VIEW_DATA_SOURCE_BROWSER; \
Text [ en-US ] = "~Data Sources" ; \
/*------------------------------------------------------------------------
@@ -1210,112 +1055,92 @@
#define ITEM_TOOLBAR_SET_JUSTIFY_PARA \
Identifier = SID_ATTR_PARA_ADJUST_BLOCK ; \
Command = ".uno:JustifyPara" ; \
- HelpID = SID_ATTR_PARA_ADJUST_BLOCK ;
#define ITEM_TOOLBAR_NEWDOCDIRECT \
Identifier = SID_NEWDOCDIRECT ; \
Command = ".uno:AddDirect" ; \
- HelpID = SID_NEWDOCDIRECT ;
#define ITEM_TOOLBAR_PRINTDOCDIRECT \
Identifier = SID_PRINTDOCDIRECT ; \
Command = ".uno:PrintDefault" ; \
- HelpID = SID_PRINTDOCDIRECT ;
#define ITEM_TOOLBAR_INSERT_DRAW \
Identifier = SID_INSERT_DRAW ; \
Command = ".uno:InsertDraw" ; \
- HelpID = SID_INSERT_DRAW ; \
DropDown = TRUE ;
#define ITEM_TOOLBAR_CHOOSE_CONTROLS \
Identifier = SID_CHOOSE_CONTROLS ; \
Command = ".uno:ChooseControls" ; \
- HelpID = SID_CHOOSE_CONTROLS ; \
DropDown = TRUE ;
#define ITEM_TOOLBAR_AUTOSPELL_CHECK \
Identifier = SID_AUTOSPELL_CHECK ; \
Command = ".uno:SpellOnline" ; \
- HelpID = SID_AUTOSPELL_CHECK ;
#define ITEM_TOOLBAR_TEMPLATE_APPLY \
Identifier = SID_STYLE_APPLY ; \
Command = ".uno:StyleApply" ; \
- HelpID = SID_STYLE_APPLY ;
#define ITEM_TOOLBAR_ATTR_CHAR_COLOR \
Identifier = SID_ATTR_CHAR_COLOR ; \
Command = ".uno:Color" ; \
- HelpID = SID_ATTR_CHAR_COLOR ;\
DropDown = TRUE ;
#define ITEM_TOOLBAR_BACKGROUND_PATTERN \
Identifier = SID_BACKGROUND_PATTERN ; \
Command = ".uno:BackgroundPatternController" ; \
- HelpID = SID_BACKGROUND_PATTERN ;\
DropDown = TRUE ;
#define ITEM_TOOLBAR_BACKGROUND_COLOR \
Identifier = SID_BACKGROUND_COLOR ; \
Command = ".uno:BackgroundColor" ; \
- HelpID = SID_BACKGROUND_COLOR ;\
DropDown = TRUE ;
#define ITEM_TOOLBAR_ATTR_BORDER \
Identifier = SID_ATTR_BORDER ; \
Command = ".uno:BorderStyle" ; \
- HelpID = SID_ATTR_BORDER ;
#define ITEM_TOOLBAR_FRAME_LINESTYLE \
Identifier = SID_FRAME_LINESTYLE ; \
Command = ".uno:LineStyle" ; \
- HelpID = SID_FRAME_LINESTYLE ;
#define ITEM_TOOLBAR_FRAME_LINECOLOR \
Identifier = SID_FRAME_LINECOLOR ; \
Command = ".uno:FrameLineColor" ; \
- HelpID = SID_FRAME_LINECOLOR ;
#define ITEM_TOOLBAR_SIM_START \
Identifier = SID_SIM_START ; \
Command = ".uno:LaunchStarImage" ; \
- HelpID = SID_SIM_START ;
#define ITEM_TOOLBAR_ATTR_LINEEND_STYLE \
Identifier = SID_ATTR_LINEEND_STYLE ; \
Command = ".uno:LineEndStyle" ; \
- HelpID = SID_ATTR_LINEEND_STYLE ; \
DropDown = TRUE ;
#define ITEM_TOOLBAR_ATTR_LINE_STYLE \
Identifier = SID_ATTR_LINE_STYLE ; \
Command = ".uno:XLineStyle" ; \
- HelpID = SID_ATTR_LINE_STYLE ;
#define ITEM_TOOLBAR_ATTR_LINE_WIDTH \
Identifier = SID_ATTR_LINE_WIDTH ; \
Command = ".uno:LineWidth" ; \
- HelpID = SID_ATTR_LINE_WIDTH ;
#define ITEM_TOOLBAR_ATTR_LINE_COLOR \
Identifier = SID_ATTR_LINE_COLOR ; \
Command = ".uno:XLineColor" ; \
- HelpID = SID_ATTR_LINE_COLOR ;
#define ITEM_TOOLBAR_ATTR_FILL_STYLE \
Identifier = SID_ATTR_FILL_STYLE ; \
Command = ".uno:FillStyle" ; \
- HelpID = SID_ATTR_FILL_STYLE ;
#define ITEM_TOOLBAR_OBJECT_ROTATE \
Identifier = SID_OBJECT_ROTATE ; \
Command = ".uno:ToggleObjectRotateMode" ; \
- HelpID = SID_OBJECT_ROTATE ;
#define ITEM_VIEW_OFFICEBAR \
Identifier = SID_GROUPVIEW; \
- HelpID = SID_GROUPVIEW; \
+ Command = CMD_SID_GROUPVIEW; \
Text [ en-US ] = "~Office Bar" ; \
@@ -1323,7 +1148,6 @@
MenuItem\
{\
Identifier = SID_MN_SUB_TRANSLITERATE ; \
- HelpID = SID_MN_SUB_TRANSLITERATE ; \
Command = ".uno:TransliterateMenu" ; \
SubMenu = Menu\
{\
@@ -1333,63 +1157,54 @@
{\
Identifier = SID_TRANSLITERATE_SENTENCE_CASE; \
Command = ".uno:ChangeCaseToSentenceCase" ; \
- HelpID = SID_TRANSLITERATE_SENTENCE_CASE; \
Text [ en-US ] = "~Sentence case";\
};\
MenuItem\
{\
Identifier = SID_TRANSLITERATE_LOWER; \
Command = ".uno:ChangeCaseToLower" ; \
- HelpID = SID_TRANSLITERATE_LOWER; \
Text [ en-US ] = "~lowercase";\
};\
MenuItem\
{\
Identifier = SID_TRANSLITERATE_UPPER ; \
Command = ".uno:ChangeCaseToUpper" ; \
- HelpID = SID_TRANSLITERATE_UPPER ; \
Text [ en-US ] = "~UPPERCASE";\
};\
MenuItem\
{\
Identifier = SID_TRANSLITERATE_TITLE_CASE; \
Command = ".uno:ChangeCaseToTitleCase" ; \
- HelpID = SID_TRANSLITERATE_TITLE_CASE; \
Text [ en-US ] = "~Capitalize Every Word";\
};\
MenuItem\
{\
Identifier = SID_TRANSLITERATE_TOGGLE_CASE; \
Command = ".uno:ChangeCaseToToggleCase" ; \
- HelpID = SID_TRANSLITERATE_TOGGLE_CASE; \
Text [ en-US ] = "~tOGGLE cASE";\
};\
MenuItem\
{\
Identifier = SID_TRANSLITERATE_HALFWIDTH; \
Command = ".uno:ChangeCaseToHalfWidth" ; \
- HelpID = SID_TRANSLITERATE_HALFWIDTH; \
Text [ en-US ] = "H~alf-width";\
};\
MenuItem\
{\
Identifier = SID_TRANSLITERATE_FULLWIDTH; \
Command = ".uno:ChangeCaseToFullWidth" ; \
- HelpID = SID_TRANSLITERATE_FULLWIDTH; \
Text [ en-US ] = "Full-width";\
};\
MenuItem\
{\
Identifier = SID_TRANSLITERATE_HIRAGANA; \
Command = ".uno:ChangeCaseToHiragana" ; \
- HelpID = SID_TRANSLITERATE_HIRAGANA; \
Text [ en-US ] = "~Hiragana";\
};\
MenuItem\
{\
Identifier = SID_TRANSLITERATE_KATAGANA; \
Command = ".uno:ChangeCaseToKatakana" ; \
- HelpID = SID_TRANSLITERATE_KATAGANA; \
Text [ en-US ] = "~Katakana";\
};\
};\
@@ -1399,23 +1214,23 @@
#define ITEM_OPEN_HYPERLINK \
Identifier = SID_OPEN_HYPERLINK ; \
- HelpID = SID_OPEN_HYPERLINK ; \
+ Command = CMD_SID_OPEN_HYPERLINK; \
Text [ en-US ] = "~Open Hyperlink" ; \
#define ITEM_OPEN_SMARTTAGMENU \
Identifier = SID_OPEN_SMARTTAGMENU ; \
- HelpID = SID_OPEN_SMARTTAGMENU ; \
+ Command = CMD_SID_OPEN_SMARTTAGMENU; \
Text [ en-US ] = "Open ~Smart Tag Menu" ; \
#define ITEM_OPEN_XML_FILTERSETTINGS \
Identifier = SID_OPEN_XML_FILTERSETTINGS ; \
- HelpID = SID_OPEN_XML_FILTERSETTINGS ; \
+ Command = CMD_SID_OPEN_XML_FILTERSETTINGS; \
Text [ en-US ] = "~XML Filter Settings..."; \
#define ITEM_HANGUL_HANJA_CONVERSION \
Identifier = SID_HANGUL_HANJA_CONVERSION; \
- HelpId = SID_HANGUL_HANJA_CONVERSION; \
+ Command = CMD_SID_HANGUL_HANJA_CONVERSION; \
Text [ en-US ] = "Hangul/Hanja Conversion..."; \
#endif // #ifndef _GLOBLMN_HRC
diff --git a/svx/inc/helpid.hrc b/svx/inc/helpid.hrc
index 27b12ace8e28..be75fe019f96 100644..100755
--- a/svx/inc/helpid.hrc
+++ b/svx/inc/helpid.hrc
@@ -26,270 +26,258 @@
************************************************************************/
#ifndef _SVX_HELPID_HRC
#define _SVX_HELPID_HRC
-// include ---------------------------------------------------------------
-
-#include <svl/solar.hrc>
#include <svx/exthelpid.hrc>
+#include <svx/svxcommands.h>
+#include <sfx2/sfxcommands.h>
// Help-Ids --------------------------------------------------------------
-#define HID_ALIGN_TBX (HID_SVX_START + 1)
-#define HID_BMPMASK_CTL_PIPETTE (HID_SVX_START + 4)
-#define HID_BMPMASK_CTL_QCOL_1 (HID_SVX_START + 5)
-#define HID_BMPMASK_TBI_PIPETTE (HID_SVX_START + 6)
-#define HID_COLOR_CTL_COLORS (HID_SVX_START + 7)
-#define HID_CONTDLG_APPLY (HID_SVX_START + 8)
-#define HID_CONTDLG_AUTOCONTOUR (HID_SVX_START + 9)
-#define HID_CONTDLG_CIRCLE (HID_SVX_START + 10)
-#define HID_CONTDLG_FREEPOLY (HID_SVX_START + 11)
-#define HID_CONTDLG_GRAPHWND (HID_SVX_START + 12)
-#define HID_CONTDLG_PIPETTE (HID_SVX_START + 13)
-#define HID_CONTDLG_POLY (HID_SVX_START + 14)
-#define HID_CONTDLG_POLYDELETE (HID_SVX_START + 15)
-#define HID_CONTDLG_POLYEDIT (HID_SVX_START + 16)
-#define HID_CONTDLG_POLYINSERT (HID_SVX_START + 17)
-#define HID_CONTDLG_POLYMOVE (HID_SVX_START + 18)
-#define HID_CONTDLG_RECT (HID_SVX_START + 19)
-#define HID_CONTDLG_REDO (HID_SVX_START + 20)
-#define HID_CONTDLG_SELECT (HID_SVX_START + 21)
-#define HID_CONTDLG_TOOLBOX (HID_SVX_START + 22)
-#define HID_CONTDLG_UNDO (HID_SVX_START + 23)
-#define HID_CONTDLG_WORKPLACE (HID_SVX_START + 24)
-#define HID_CTL_FONTWORK_FAVORITES (HID_SVX_START + 25)
-#define HID_CTRL3D_HSCROLL (HID_SVX_START + 26)
-#define HID_CTRL3D_SWITCHER (HID_SVX_START + 27)
-#define HID_CTRL3D_VSCROLL (HID_SVX_START + 28)
-#define HID_CTRL_COLOR (HID_SVX_START + 29)
-#define HID_DRAWTOOL_TBX (HID_SVX_START + 30)
-#define HID_EDITENG_SPELLER_ADDWORD (HID_SVX_START + 31)
-#define HID_EDITENG_SPELLER_AUTOCORRECT (HID_SVX_START + 32)
-#define HID_EDITENG_SPELLER_IGNORE (HID_SVX_START + 33)
-#define HID_EDITENG_SPELLER_PARALANGUAGE (HID_SVX_START + 34)
-#define HID_EDITENG_SPELLER_START (HID_SVX_START + 35)
-#define HID_EDITENG_SPELLER_WORDLANGUAGE (HID_SVX_START + 36)
-#define HID_FILL_ATTR_LISTBOX (HID_SVX_START + 37)
-#define HID_FILL_TYPE_LISTBOX (HID_SVX_START + 38)
-#define HID_FONTWORK_CTL_FORMS (HID_SVX_START + 39)
-#define HID_FONTWORK_TBI_ADJUST_AUTOSIZE (HID_SVX_START + 40)
-#define HID_FONTWORK_TBI_ADJUST_CENTER (HID_SVX_START + 41)
-#define HID_FONTWORK_TBI_ADJUST_LEFT (HID_SVX_START + 42)
-#define HID_FONTWORK_TBI_ADJUST_MIRROR (HID_SVX_START + 43)
-#define HID_FONTWORK_TBI_ADJUST_RIGHT (HID_SVX_START + 44)
-#define HID_FONTWORK_TBI_OUTLINE (HID_SVX_START + 45)
-#define HID_FONTWORK_TBI_SHADOW_NORMAL (HID_SVX_START + 46)
-#define HID_FONTWORK_TBI_SHADOW_OFF (HID_SVX_START + 47)
-#define HID_FONTWORK_TBI_SHADOW_SLANT (HID_SVX_START + 48)
-#define HID_FONTWORK_TBI_SHOWFORM (HID_SVX_START + 49)
-#define HID_FONTWORK_TBI_STYLE_OFF (HID_SVX_START + 50)
-#define HID_FONTWORK_TBI_STYLE_ROTATE (HID_SVX_START + 51)
-#define HID_FONTWORK_TBI_STYLE_SLANTX (HID_SVX_START + 52)
-#define HID_FONTWORK_TBI_STYLE_SLANTY (HID_SVX_START + 53)
-#define HID_FONTWORK_TBI_STYLE_UPRIGHT (HID_SVX_START + 54)
-#define HID_FORMAT_FOOTER (HID_SVX_START + 55)
-#define HID_FORMAT_HEADER (HID_SVX_START + 56)
+#define HID_ALIGN_TBX "SVX_HID_ALIGN_TBX"
+#define HID_BMPMASK_CTL_PIPETTE "SVX_HID_BMPMASK_CTL_PIPETTE"
+#define HID_BMPMASK_CTL_QCOL_1 "SVX_HID_BMPMASK_CTL_QCOL_1"
+#define HID_BMPMASK_TBI_PIPETTE "SVX_HID_BMPMASK_TBI_PIPETTE"
+#define HID_COLOR_CTL_COLORS "SVX_HID_COLOR_CTL_COLORS"
+#define HID_CONTDLG_APPLY "SVX_HID_CONTDLG_APPLY"
+#define HID_CONTDLG_AUTOCONTOUR "SVX_HID_CONTDLG_AUTOCONTOUR"
+#define HID_CONTDLG_CIRCLE "SVX_HID_CONTDLG_CIRCLE"
+#define HID_CONTDLG_FREEPOLY "SVX_HID_CONTDLG_FREEPOLY"
+#define HID_CONTDLG_GRAPHWND "SVX_HID_CONTDLG_GRAPHWND"
+#define HID_CONTDLG_PIPETTE "SVX_HID_CONTDLG_PIPETTE"
+#define HID_CONTDLG_POLY "SVX_HID_CONTDLG_POLY"
+#define HID_CONTDLG_POLYDELETE "SVX_HID_CONTDLG_POLYDELETE"
+#define HID_CONTDLG_POLYEDIT "SVX_HID_CONTDLG_POLYEDIT"
+#define HID_CONTDLG_POLYINSERT "SVX_HID_CONTDLG_POLYINSERT"
+#define HID_CONTDLG_POLYMOVE "SVX_HID_CONTDLG_POLYMOVE"
+#define HID_CONTDLG_RECT "SVX_HID_CONTDLG_RECT"
+#define HID_CONTDLG_REDO "SVX_HID_CONTDLG_REDO"
+#define HID_CONTDLG_SELECT "SVX_HID_CONTDLG_SELECT"
+#define HID_CONTDLG_TOOLBOX "SVX_HID_CONTDLG_TOOLBOX"
+#define HID_CONTDLG_UNDO "SVX_HID_CONTDLG_UNDO"
+#define HID_CONTDLG_WORKPLACE "SVX_HID_CONTDLG_WORKPLACE"
+#define HID_CTL_FONTWORK_FAVORITES "SVX_HID_CTL_FONTWORK_FAVORITES"
+#define HID_CTRL3D_HSCROLL "SVX_HID_CTRL3D_HSCROLL"
+#define HID_CTRL3D_SWITCHER "SVX_HID_CTRL3D_SWITCHER"
+#define HID_CTRL3D_VSCROLL "SVX_HID_CTRL3D_VSCROLL"
+#define HID_CTRL_COLOR "SVX_HID_CTRL_COLOR"
+#define HID_DRAWTOOL_TBX "SVX_HID_DRAWTOOL_TBX"
+#define HID_EDITENG_SPELLER_ADDWORD "SVX_HID_EDITENG_SPELLER_ADDWORD"
+#define HID_EDITENG_SPELLER_AUTOCORRECT "SVX_HID_EDITENG_SPELLER_AUTOCORRECT"
+#define HID_EDITENG_SPELLER_IGNORE "SVX_HID_EDITENG_SPELLER_IGNORE"
+#define HID_EDITENG_SPELLER_PARALANGUAGE "SVX_HID_EDITENG_SPELLER_PARALANGUAGE"
+#define HID_EDITENG_SPELLER_START "SVX_HID_EDITENG_SPELLER_START"
+#define HID_EDITENG_SPELLER_WORDLANGUAGE "SVX_HID_EDITENG_SPELLER_WORDLANGUAGE"
+#define HID_FILL_ATTR_LISTBOX "SVX_HID_FILL_ATTR_LISTBOX"
+#define HID_FILL_TYPE_LISTBOX "SVX_HID_FILL_TYPE_LISTBOX"
+#define HID_FONTWORK_CTL_FORMS "SVX_HID_FONTWORK_CTL_FORMS"
+#define HID_FONTWORK_TBI_ADJUST_AUTOSIZE "SVX_HID_FONTWORK_TBI_ADJUST_AUTOSIZE"
+#define HID_FONTWORK_TBI_ADJUST_CENTER "SVX_HID_FONTWORK_TBI_ADJUST_CENTER"
+#define HID_FONTWORK_TBI_ADJUST_LEFT "SVX_HID_FONTWORK_TBI_ADJUST_LEFT"
+#define HID_FONTWORK_TBI_ADJUST_MIRROR "SVX_HID_FONTWORK_TBI_ADJUST_MIRROR"
+#define HID_FONTWORK_TBI_ADJUST_RIGHT "SVX_HID_FONTWORK_TBI_ADJUST_RIGHT"
+#define HID_FONTWORK_TBI_OUTLINE "SVX_HID_FONTWORK_TBI_OUTLINE"
+#define HID_FONTWORK_TBI_SHADOW_NORMAL "SVX_HID_FONTWORK_TBI_SHADOW_NORMAL"
+#define HID_FONTWORK_TBI_SHADOW_OFF "SVX_HID_FONTWORK_TBI_SHADOW_OFF"
+#define HID_FONTWORK_TBI_SHADOW_SLANT "SVX_HID_FONTWORK_TBI_SHADOW_SLANT"
+#define HID_FONTWORK_TBI_SHOWFORM "SVX_HID_FONTWORK_TBI_SHOWFORM"
+#define HID_FONTWORK_TBI_STYLE_OFF "SVX_HID_FONTWORK_TBI_STYLE_OFF"
+#define HID_FONTWORK_TBI_STYLE_ROTATE "SVX_HID_FONTWORK_TBI_STYLE_ROTATE"
+#define HID_FONTWORK_TBI_STYLE_SLANTX "SVX_HID_FONTWORK_TBI_STYLE_SLANTX"
+#define HID_FONTWORK_TBI_STYLE_SLANTY "SVX_HID_FONTWORK_TBI_STYLE_SLANTY"
+#define HID_FONTWORK_TBI_STYLE_UPRIGHT "SVX_HID_FONTWORK_TBI_STYLE_UPRIGHT"
+#define HID_FORMAT_FOOTER "SVX_HID_FORMAT_FOOTER"
+#define HID_FORMAT_HEADER "SVX_HID_FORMAT_HEADER"
// free
-#define HID_GALLERY_ICONVIEW (HID_SVX_START + 58)
-#define HID_GALLERY_LISTVIEW (HID_SVX_START + 59)
-#define HID_GALLERY_MN_ADD (HID_SVX_START + 60)
-#define HID_GALLERY_MN_ADDMENU (HID_SVX_START + 61)
-#define HID_GALLERY_MN_ADD_LINK (HID_SVX_START + 62)
-#define HID_GALLERY_MN_BACKGROUND (HID_SVX_START + 63)
-#define HID_GALLERY_MN_COPYCLIPBOARD (HID_SVX_START + 64)
-#define HID_GALLERY_MN_DELETE (HID_SVX_START + 65)
-#define HID_GALLERY_MN_PASTECLIPBOARD (HID_SVX_START + 66)
-#define HID_GALLERY_MN_PREVIEW (HID_SVX_START + 67)
-#define HID_GALLERY_NEWTHEME (HID_SVX_START + 68)
-#define HID_GALLERY_PREVIEW (HID_SVX_START + 69)
-#define HID_GALLERY_PROPERTIES (HID_SVX_START + 70)
-#define HID_GALLERY_RENAME (HID_SVX_START + 71)
-#define HID_GALLERY_THEMELIST (HID_SVX_START + 72)
+#define HID_GALLERY_ICONVIEW "SVX_HID_GALLERY_ICONVIEW"
+#define HID_GALLERY_LISTVIEW "SVX_HID_GALLERY_LISTVIEW"
+#define HID_GALLERY_MN_ADD "SVX_HID_GALLERY_MN_ADD"
+#define HID_GALLERY_MN_ADDMENU "SVX_HID_GALLERY_MN_ADDMENU"
+#define HID_GALLERY_MN_ADD_LINK "SVX_HID_GALLERY_MN_ADD_LINK"
+#define HID_GALLERY_MN_BACKGROUND "SVX_HID_GALLERY_MN_BACKGROUND"
+#define HID_GALLERY_MN_COPYCLIPBOARD "SVX_HID_GALLERY_MN_COPYCLIPBOARD"
+#define HID_GALLERY_MN_DELETE "SVX_HID_GALLERY_MN_DELETE"
+#define HID_GALLERY_MN_PASTECLIPBOARD "SVX_HID_GALLERY_MN_PASTECLIPBOARD"
+#define HID_GALLERY_MN_PREVIEW "SVX_HID_GALLERY_MN_PREVIEW"
+#define HID_GALLERY_NEWTHEME "SVX_HID_GALLERY_NEWTHEME"
+#define HID_GALLERY_PREVIEW "SVX_HID_GALLERY_PREVIEW"
+#define HID_GALLERY_PROPERTIES "SVX_HID_GALLERY_PROPERTIES"
+#define HID_GALLERY_RENAME "SVX_HID_GALLERY_RENAME"
+#define HID_GALLERY_THEMELIST "SVX_HID_GALLERY_THEMELIST"
// free
-#define HID_GALLERY_WINDOW (HID_SVX_START + 74)
-#define HID_GRFFILTER (HID_SVX_START + 75)
-#define HID_GRFFILTER_EMBOSS (HID_SVX_START + 76)
-#define HID_GRFFILTER_INVERT (HID_SVX_START + 77)
-#define HID_GRFFILTER_MOSAIC (HID_SVX_START + 78)
-#define HID_GRFFILTER_POPART (HID_SVX_START + 79)
-#define HID_GRFFILTER_POSTER (HID_SVX_START + 80)
-#define HID_GRFFILTER_REMOVENOISE (HID_SVX_START + 81)
-#define HID_GRFFILTER_SEPIA (HID_SVX_START + 82)
-#define HID_GRFFILTER_SHARPEN (HID_SVX_START + 83)
-#define HID_GRFFILTER_SMOOTH (HID_SVX_START + 84)
-#define HID_GRFFILTER_SOBEL (HID_SVX_START + 85)
-#define HID_GRFFILTER_SOLARIZE (HID_SVX_START + 86)
-
-#define HID_IMAPDLG_ACTIVE (HID_SVX_START + 88)
-#define HID_IMAPDLG_APPLY (HID_SVX_START + 89)
-#define HID_IMAPDLG_CIRCLE (HID_SVX_START + 90)
-#define HID_IMAPDLG_FREEPOLY (HID_SVX_START + 91)
-#define HID_IMAPDLG_GRAPHWND (HID_SVX_START + 92)
-#define HID_IMAPDLG_MACRO (HID_SVX_START + 93)
-#define HID_IMAPDLG_OPEN (HID_SVX_START + 94)
-#define HID_IMAPDLG_POLY (HID_SVX_START + 95)
-#define HID_IMAPDLG_POLYDELETE (HID_SVX_START + 96)
-#define HID_IMAPDLG_POLYEDIT (HID_SVX_START + 97)
-#define HID_IMAPDLG_POLYINSERT (HID_SVX_START + 98)
-#define HID_IMAPDLG_POLYMOVE (HID_SVX_START + 99)
-#define HID_IMAPDLG_PROPERTY (HID_SVX_START + 100)
-#define HID_IMAPDLG_RECT (HID_SVX_START + 101)
-#define HID_IMAPDLG_REDO (HID_SVX_START + 102)
-#define HID_IMAPDLG_SAVEAS (HID_SVX_START + 103)
-#define HID_IMAPDLG_SELECT (HID_SVX_START + 104)
-#define HID_IMAPDLG_TOOLBOX (HID_SVX_START + 105)
-#define HID_IMAPDLG_UNDO (HID_SVX_START + 106)
-#define HID_MENU_EXTRUSION_DEPTH (HID_SVX_START + 107)
-#define HID_MENU_EXTRUSION_DIRECTION (HID_SVX_START + 108)
-#define HID_MENU_EXTRUSION_LIGHTING (HID_SVX_START + 109)
-#define HID_MENU_EXTRUSION_SURFACE (HID_SVX_START + 110)
-#define HID_MNU_FUNC_AVG (HID_SVX_START + 111)
-#define HID_MNU_FUNC_COUNT (HID_SVX_START + 112)
-#define HID_MNU_FUNC_COUNT2 (HID_SVX_START + 113)
-#define HID_MNU_FUNC_MAX (HID_SVX_START + 114)
-#define HID_MNU_FUNC_MIN (HID_SVX_START + 115)
-#define HID_MNU_FUNC_NONE (HID_SVX_START + 116)
-#define HID_MNU_FUNC_SUM (HID_SVX_START + 117)
-#define HID_MNU_ZOOM_100 (HID_SVX_START + 118)
-#define HID_MNU_ZOOM_150 (HID_SVX_START + 119)
-#define HID_MNU_ZOOM_200 (HID_SVX_START + 120)
-#define HID_MNU_ZOOM_50 (HID_SVX_START + 121)
-#define HID_MNU_ZOOM_75 (HID_SVX_START + 122)
-#define HID_MNU_ZOOM_OPTIMAL (HID_SVX_START + 123)
-#define HID_MNU_ZOOM_PAGE_WIDTH (HID_SVX_START + 124)
-#define HID_MNU_ZOOM_WHOLE_PAGE (HID_SVX_START + 125)
-#define HID_OPTIONS_GRID (HID_SVX_START + 126)
-#define HID_PASSWORD (HID_SVX_START + 127)
-#define HID_POPUP_COLOR (HID_SVX_START + 128)
-#define HID_POPUP_COLOR_CTRL (HID_SVX_START + 129)
-#define HID_POPUP_EXTRUSION_DEPTH (HID_SVX_START + 130)
-#define HID_POPUP_EXTRUSION_DIRECTION (HID_SVX_START + 131)
-#define HID_POPUP_EXTRUSION_LIGHTING (HID_SVX_START + 132)
-#define HID_POPUP_EXTRUSION_SURFACE (HID_SVX_START + 133)
-#define HID_POPUP_FONTWORK_ALIGN (HID_SVX_START + 134)
-#define HID_POPUP_FONTWORK_CHARSPACE (HID_SVX_START + 135)
-#define HID_POPUP_FRAME (HID_SVX_START + 136)
-#define HID_POPUP_LINE (HID_SVX_START + 137)
-#define HID_POPUP_LINEEND (HID_SVX_START + 138)
-#define HID_POPUP_LINEEND_CTRL (HID_SVX_START + 139)
-#define HID_REDLINING_FILTER_BTN_REF (HID_SVX_START + 140)
-#define HID_REDLINING_FILTER_CB_ACTION (HID_SVX_START + 141)
-#define HID_REDLINING_FILTER_CB_AUTOR (HID_SVX_START + 142)
-#define HID_REDLINING_FILTER_CB_COMMENT (HID_SVX_START + 143)
-#define HID_REDLINING_FILTER_CB_DATE (HID_SVX_START + 144)
-#define HID_REDLINING_FILTER_CB_RANGE (HID_SVX_START + 145)
-#define HID_REDLINING_FILTER_DF_DATE (HID_SVX_START + 146)
-#define HID_REDLINING_FILTER_DF_DATE2 (HID_SVX_START + 147)
-#define HID_REDLINING_FILTER_ED_COMMENT (HID_SVX_START + 148)
-#define HID_REDLINING_FILTER_ED_RANGE (HID_SVX_START + 149)
-#define HID_REDLINING_FILTER_IB_CLOCK (HID_SVX_START + 150)
-#define HID_REDLINING_FILTER_IB_CLOCK2 (HID_SVX_START + 151)
-#define HID_REDLINING_FILTER_LB_ACTION (HID_SVX_START + 152)
-#define HID_REDLINING_FILTER_LB_AUTOR (HID_SVX_START + 153)
-#define HID_REDLINING_FILTER_LB_DATE (HID_SVX_START + 154)
-#define HID_REDLINING_FILTER_PAGE (HID_SVX_START + 155)
-#define HID_REDLINING_FILTER_TF_DATE (HID_SVX_START + 156)
-#define HID_REDLINING_FILTER_TF_DATE2 (HID_SVX_START + 157)
-#define HID_REDLINING_TABCONTROL (HID_SVX_START + 158)
-#define HID_REDLINING_VIEW_DG_VIEW (HID_SVX_START + 159)
-#define HID_REDLINING_VIEW_DG_VIEW_HEADER (HID_SVX_START + 160)
-#define HID_REDLINING_VIEW_DG_VIEW_TABLE (HID_SVX_START + 161)
-#define HID_REDLINING_VIEW_PAGE (HID_SVX_START + 162)
-#define HID_REDLINING_VIEW_PB_ACCEPT (HID_SVX_START + 163)
-#define HID_REDLINING_VIEW_PB_ACCEPTALL (HID_SVX_START + 164)
-#define HID_REDLINING_VIEW_PB_REJECT (HID_SVX_START + 165)
-#define HID_REDLINING_VIEW_PB_REJECTALL (HID_SVX_START + 166)
-#define HID_REDLINING_VIEW_PB_UNDO (HID_SVX_START + 167)
-#define HID_RUBY_DIALOG (HID_SVX_START + 168)
-#define HID_STYLE_LISTBOX (HID_SVX_START + 169)
-#define HID_SVXTBX_ALIGNMENT (HID_SVX_START + 170)
-#define HID_SVXTBX_DRAW (HID_SVX_START + 171)
-#define HID_SVXTBX_UNDO_REDO_CTRL (HID_SVX_START + 172)
-#define HID_SVX_CHINESE_DICTIONARY_CB_REVERSE (HID_SVX_START + 173)
-#define HID_SVX_CHINESE_DICTIONARY_LB_HEADER (HID_SVX_START + 174)
-#define HID_SVX_CHINESE_DICTIONARY_LB_TO_SIMPLIFIED (HID_SVX_START + 175)
-#define HID_SVX_CHINESE_DICTIONARY_LB_TO_TRADITIONAL (HID_SVX_START + 176)
-#define HID_SVX_CHINESE_DICTIONARY_RB_CONVERSION_TO_SIMPLIFIED (HID_SVX_START + 177)
-#define HID_SVX_CHINESE_DICTIONARY_RB_CONVERSION_TO_TRADITIONAL (HID_SVX_START + 178)
-#define HID_SVX_CHINESE_TRANSLATION_CB_USE_VARIANTS (HID_SVX_START + 179)
-#define HID_SVX_CHINESE_TRANSLATION_RB_CONVERSION_TO_SIMPLIFIED (HID_SVX_START + 180)
-#define HID_SVX_CHINESE_TRANSLATION_RB_CONVERSION_TO_TRADITIONAL (HID_SVX_START + 181)
-#define HID_SVX_MDLG_DOCRECOVERY_BROKEN (HID_SVX_START + 182)
-#define HID_SVX_MDLG_DOCRECOVERY_PROGR (HID_SVX_START + 183)
-#define HID_SVX_MDLG_ERR_REP_OPTIONS (HID_SVX_START + 184)
-#define HID_SVX_MDLG_ERR_REP_PREVIEW (HID_SVX_START + 185)
-#define HID_SVX_TABDLG_DOCRECOVERY (HID_SVX_START + 186)
-#define HID_SVX_TP_DOCRECOVERY_RECOVER (HID_SVX_START + 187)
-#define HID_SVX_TP_DOCRECOVERY_SAVE (HID_SVX_START + 188)
-#define HID_SVX_TP_ERR_REP_SEND (HID_SVX_START + 189)
-#define HID_SVX_TP_ERR_REP_WELCOME (HID_SVX_START + 190)
-
-#define HID_VALUESET_EXTRUSION_DIRECTION (HID_SVX_START + 192)
-#define HID_VALUESET_EXTRUSION_LIGHTING (HID_SVX_START + 193)
-#define HID_WIN_FONTWORK_ALIGN (HID_SVX_START + 194)
-#define HID_WIN_FONTWORK_CHARSPACE (HID_SVX_START + 195)
-#define HID_XMLSEC_CALL (HID_SVX_START + 196)
-#define HID_OFA_HYPERLINK_DLG (HID_SVX_START + 197)
-#define HID_OFA_HYPERLINK_NAME (HID_SVX_START + 198)
-#define HID_OFA_HYPERLINK_SEARCH (HID_SVX_START + 199)
-#define HID_OFA_HYPERLINK_TARGET (HID_SVX_START + 200)
-#define HID_OFA_HYPERLINK_URL (HID_SVX_START + 201)
-#define HID_OFA_HYPERLINK_URL_TXT (HID_SVX_START + 202)
-#define HID_AUTOCORR_DLG (HID_SVX_START + 203)
-#define HID_SVXCTL_MAIL_ATTACH (HID_SVX_START + 204)
-#define HID_SVXDLG_REGISTRATION (HID_SVX_START + 205)
-#define HID_SVXDLG_TREE_BASE (HID_SVX_START + 206)
-#define HID_SVXDLG_TREE_CHART (HID_SVX_START + 207)
-#define HID_SVXDLG_TREE_FILTER (HID_SVX_START + 208)
-#define HID_SVXDLG_TREE_LANGUAGE (HID_SVX_START + 209)
-#define HID_SVXWIN_MAIL_ATTACH (HID_SVX_START + 210)
-#define HID_SVXWIN_MAIL_HEADER (HID_SVX_START + 211)
-#define HID_SVX_DLGFORMNEW (HID_SVX_START + 212)
-#define HID_SVX_DLGTABNEW (HID_SVX_START + 213)
-#define HID_SVX_HYPERLINK (HID_SVX_START + 214)
-#define HID_SVX_MAILATTACH_ASCII_CB (HID_SVX_START + 215)
-#define HID_SVX_MAILATTACH_HTML_CB (HID_SVX_START + 216)
-#define HID_SVX_MAILATTACH_OFFICE_CB (HID_SVX_START + 217)
-#define HID_SVX_MAILATTACH_PRIORITY_LB (HID_SVX_START + 218)
-#define HID_SVX_MAILATTACH_RECEIPT_CB (HID_SVX_START + 219)
-#define HID_SVX_MAILATTACH_RTF_CB (HID_SVX_START + 220)
-#define HID_SVX_MAILHEAD_HEAD_WIN (HID_SVX_START + 221)
-#define HID_SVX_MAILHEAD_PRIORITY_LB (HID_SVX_START + 222)
-#define HID_SVX_MAILHEAD_PROTOCOL_LB (HID_SVX_START + 223)
-#define HID_SVX_MAILHEAD_RCPT_CB (HID_SVX_START + 224)
-#define HID_SVX_MAILHEAD_RCPT_ED (HID_SVX_START + 225)
-#define HID_SVX_MAILHEAD_RCPT_LB (HID_SVX_START + 226)
-#define HID_SVX_MAILHEAD_RECEIPT_CB (HID_SVX_START + 227)
-#define HID_SVX_MAILHEAD_ROLE_LB (HID_SVX_START + 228)
-#define HID_SVX_MAILHEAD_SUBJECT_ED (HID_SVX_START + 229)
-#define HID_SVX_MAILMENU_ADDADDRESS (HID_SVX_START + 230)
-#define HID_SVX_MAILMENU_COPYLINK (HID_SVX_START + 231)
-#define HID_SVX_MAILMENU_DELETE (HID_SVX_START + 232)
-#define HID_SVX_MAILMENU_FILE (HID_SVX_START + 233)
-#define HID_SVX_MAILMENU_OPEN (HID_SVX_START + 234)
-#define HID_SVX_MAILMENU_RENAME (HID_SVX_START + 235)
-#define HID_SVX_MAILMENU_SAVEAS (HID_SVX_START + 236)
-#define HID_SVX_MAILMENU_SIG1 (HID_SVX_START + 237)
-#define HID_SVX_MAILMENU_SIG2 (HID_SVX_START + 238)
-#define HID_SVX_MAILMENU_SIG3 (HID_SVX_START + 239)
-#define HID_SVX_MAILMENU_SIG4 (HID_SVX_START + 240)
-#define HID_SVX_MAILTOOLBOX (HID_SVX_START + 241)
-#define HID_SVX_SENDMENU_ENCRYPT (HID_SVX_START + 242)
-#define HID_SVX_SENDMENU_PLAIN (HID_SVX_START + 243)
-#define HID_SVX_SENDMENU_SIGN (HID_SVX_START + 244)
-#define HID_SVX_SENDMENU_SIGNANDENCRYPT (HID_SVX_START + 245)
-#define HID_SVX_TP_APPEARANCE (HID_SVX_START + 246)
-#define HID_SVX_TP_DESKTOP (HID_SVX_START + 247)
-#define HID_CT_THES_ALTERNATIVES (HID_SVX_START + 248)
+#define HID_GALLERY_WINDOW "SVX_HID_GALLERY_WINDOW"
+#define HID_GRFFILTER "SVX_HID_GRFFILTER"
+#define HID_GRFFILTER_EMBOSS "SVX_HID_GRFFILTER_EMBOSS"
+#define HID_GRFFILTER_INVERT "SVX_HID_GRFFILTER_INVERT"
+#define HID_GRFFILTER_MOSAIC "SVX_HID_GRFFILTER_MOSAIC"
+#define HID_GRFFILTER_POPART "SVX_HID_GRFFILTER_POPART"
+#define HID_GRFFILTER_POSTER "SVX_HID_GRFFILTER_POSTER"
+#define HID_GRFFILTER_REMOVENOISE "SVX_HID_GRFFILTER_REMOVENOISE"
+#define HID_GRFFILTER_SEPIA "SVX_HID_GRFFILTER_SEPIA"
+#define HID_GRFFILTER_SHARPEN "SVX_HID_GRFFILTER_SHARPEN"
+#define HID_GRFFILTER_SMOOTH "SVX_HID_GRFFILTER_SMOOTH"
+#define HID_GRFFILTER_SOBEL "SVX_HID_GRFFILTER_SOBEL"
+#define HID_GRFFILTER_SOLARIZE "SVX_HID_GRFFILTER_SOLARIZE"
-// please adjust ACT_SVX_HID_END2 below if you add entries here!
+#define HID_IMAPDLG_ACTIVE "SVX_HID_IMAPDLG_ACTIVE"
+#define HID_IMAPDLG_APPLY "SVX_HID_IMAPDLG_APPLY"
+#define HID_IMAPDLG_CIRCLE "SVX_HID_IMAPDLG_CIRCLE"
+#define HID_IMAPDLG_FREEPOLY "SVX_HID_IMAPDLG_FREEPOLY"
+#define HID_IMAPDLG_GRAPHWND "SVX_HID_IMAPDLG_GRAPHWND"
+#define HID_IMAPDLG_MACRO "SVX_HID_IMAPDLG_MACRO"
+#define HID_IMAPDLG_OPEN "SVX_HID_IMAPDLG_OPEN"
+#define HID_IMAPDLG_POLY "SVX_HID_IMAPDLG_POLY"
+#define HID_IMAPDLG_POLYDELETE "SVX_HID_IMAPDLG_POLYDELETE"
+#define HID_IMAPDLG_POLYEDIT "SVX_HID_IMAPDLG_POLYEDIT"
+#define HID_IMAPDLG_POLYINSERT "SVX_HID_IMAPDLG_POLYINSERT"
+#define HID_IMAPDLG_POLYMOVE "SVX_HID_IMAPDLG_POLYMOVE"
+#define HID_IMAPDLG_PROPERTY "SVX_HID_IMAPDLG_PROPERTY"
+#define HID_IMAPDLG_RECT "SVX_HID_IMAPDLG_RECT"
+#define HID_IMAPDLG_REDO "SVX_HID_IMAPDLG_REDO"
+#define HID_IMAPDLG_SAVEAS "SVX_HID_IMAPDLG_SAVEAS"
+#define HID_IMAPDLG_SELECT "SVX_HID_IMAPDLG_SELECT"
+#define HID_IMAPDLG_TOOLBOX "SVX_HID_IMAPDLG_TOOLBOX"
+#define HID_IMAPDLG_UNDO "SVX_HID_IMAPDLG_UNDO"
+#define HID_MENU_EXTRUSION_DEPTH "SVX_HID_MENU_EXTRUSION_DEPTH"
+#define HID_MENU_EXTRUSION_DIRECTION "SVX_HID_MENU_EXTRUSION_DIRECTION"
+#define HID_MENU_EXTRUSION_LIGHTING "SVX_HID_MENU_EXTRUSION_LIGHTING"
+#define HID_MENU_EXTRUSION_SURFACE "SVX_HID_MENU_EXTRUSION_SURFACE"
+#define HID_MNU_FUNC_AVG "SVX_HID_MNU_FUNC_AVG"
+#define HID_MNU_FUNC_COUNT "SVX_HID_MNU_FUNC_COUNT"
+#define HID_MNU_FUNC_COUNT2 "SVX_HID_MNU_FUNC_COUNT2"
+#define HID_MNU_FUNC_MAX "SVX_HID_MNU_FUNC_MAX"
+#define HID_MNU_FUNC_MIN "SVX_HID_MNU_FUNC_MIN"
+#define HID_MNU_FUNC_NONE "SVX_HID_MNU_FUNC_NONE"
+#define HID_MNU_FUNC_SUM "SVX_HID_MNU_FUNC_SUM"
+#define HID_MNU_ZOOM_100 "SVX_HID_MNU_ZOOM_100"
+#define HID_MNU_ZOOM_150 "SVX_HID_MNU_ZOOM_150"
+#define HID_MNU_ZOOM_200 "SVX_HID_MNU_ZOOM_200"
+#define HID_MNU_ZOOM_50 "SVX_HID_MNU_ZOOM_50"
+#define HID_MNU_ZOOM_75 "SVX_HID_MNU_ZOOM_75"
+#define HID_MNU_ZOOM_OPTIMAL "SVX_HID_MNU_ZOOM_OPTIMAL"
+#define HID_MNU_ZOOM_PAGE_WIDTH "SVX_HID_MNU_ZOOM_PAGE_WIDTH"
+#define HID_MNU_ZOOM_WHOLE_PAGE "SVX_HID_MNU_ZOOM_WHOLE_PAGE"
+#define HID_OPTIONS_GRID "SVX_HID_OPTIONS_GRID"
+#define HID_PASSWORD "SVX_HID_PASSWORD"
+#define HID_POPUP_COLOR "SVX_HID_POPUP_COLOR"
+#define HID_POPUP_COLOR_CTRL "SVX_HID_POPUP_COLOR_CTRL"
+#define HID_POPUP_EXTRUSION_DEPTH "SVX_HID_POPUP_EXTRUSION_DEPTH"
+#define HID_POPUP_EXTRUSION_DIRECTION "SVX_HID_POPUP_EXTRUSION_DIRECTION"
+#define HID_POPUP_EXTRUSION_LIGHTING "SVX_HID_POPUP_EXTRUSION_LIGHTING"
+#define HID_POPUP_EXTRUSION_SURFACE "SVX_HID_POPUP_EXTRUSION_SURFACE"
+#define HID_POPUP_FONTWORK_ALIGN "SVX_HID_POPUP_FONTWORK_ALIGN"
+#define HID_POPUP_FONTWORK_CHARSPACE "SVX_HID_POPUP_FONTWORK_CHARSPACE"
+#define HID_POPUP_FRAME "SVX_HID_POPUP_FRAME"
+#define HID_POPUP_LINE "SVX_HID_POPUP_LINE"
+#define HID_POPUP_LINEEND "SVX_HID_POPUP_LINEEND"
+#define HID_POPUP_LINEEND_CTRL "SVX_HID_POPUP_LINEEND_CTRL"
+#define HID_REDLINING_FILTER_BTN_REF "SVX_HID_REDLINING_FILTER_BTN_REF"
+#define HID_REDLINING_FILTER_CB_ACTION "SVX_HID_REDLINING_FILTER_CB_ACTION"
+#define HID_REDLINING_FILTER_CB_AUTOR "SVX_HID_REDLINING_FILTER_CB_AUTOR"
+#define HID_REDLINING_FILTER_CB_COMMENT "SVX_HID_REDLINING_FILTER_CB_COMMENT"
+#define HID_REDLINING_FILTER_CB_DATE "SVX_HID_REDLINING_FILTER_CB_DATE"
+#define HID_REDLINING_FILTER_CB_RANGE "SVX_HID_REDLINING_FILTER_CB_RANGE"
+#define HID_REDLINING_FILTER_DF_DATE "SVX_HID_REDLINING_FILTER_DF_DATE"
+#define HID_REDLINING_FILTER_DF_DATE2 "SVX_HID_REDLINING_FILTER_DF_DATE2"
+#define HID_REDLINING_FILTER_ED_COMMENT "SVX_HID_REDLINING_FILTER_ED_COMMENT"
+#define HID_REDLINING_FILTER_ED_RANGE "SVX_HID_REDLINING_FILTER_ED_RANGE"
+#define HID_REDLINING_FILTER_IB_CLOCK "SVX_HID_REDLINING_FILTER_IB_CLOCK"
+#define HID_REDLINING_FILTER_IB_CLOCK2 "SVX_HID_REDLINING_FILTER_IB_CLOCK2"
+#define HID_REDLINING_FILTER_LB_ACTION "SVX_HID_REDLINING_FILTER_LB_ACTION"
+#define HID_REDLINING_FILTER_LB_AUTOR "SVX_HID_REDLINING_FILTER_LB_AUTOR"
+#define HID_REDLINING_FILTER_LB_DATE "SVX_HID_REDLINING_FILTER_LB_DATE"
+#define HID_REDLINING_FILTER_PAGE "SVX_HID_REDLINING_FILTER_PAGE"
+#define HID_REDLINING_FILTER_TF_DATE "SVX_HID_REDLINING_FILTER_TF_DATE"
+#define HID_REDLINING_FILTER_TF_DATE2 "SVX_HID_REDLINING_FILTER_TF_DATE2"
+#define HID_REDLINING_TABCONTROL "SVX_HID_REDLINING_TABCONTROL"
+#define HID_REDLINING_VIEW_DG_VIEW "SVX_HID_REDLINING_VIEW_DG_VIEW"
+#define HID_REDLINING_VIEW_DG_VIEW_HEADER "SVX_HID_REDLINING_VIEW_DG_VIEW_HEADER"
+#define HID_REDLINING_VIEW_DG_VIEW_TABLE "SVX_HID_REDLINING_VIEW_DG_VIEW_TABLE"
+#define HID_REDLINING_VIEW_PAGE "SVX_HID_REDLINING_VIEW_PAGE"
+#define HID_REDLINING_VIEW_PB_ACCEPT "SVX_HID_REDLINING_VIEW_PB_ACCEPT"
+#define HID_REDLINING_VIEW_PB_ACCEPTALL "SVX_HID_REDLINING_VIEW_PB_ACCEPTALL"
+#define HID_REDLINING_VIEW_PB_REJECT "SVX_HID_REDLINING_VIEW_PB_REJECT"
+#define HID_REDLINING_VIEW_PB_REJECTALL "SVX_HID_REDLINING_VIEW_PB_REJECTALL"
+#define HID_REDLINING_VIEW_PB_UNDO "SVX_HID_REDLINING_VIEW_PB_UNDO"
+#define HID_RUBY_DIALOG "SVX_HID_RUBY_DIALOG"
+#define HID_STYLE_LISTBOX "SVX_HID_STYLE_LISTBOX"
+#define HID_SVXTBX_ALIGNMENT "SVX_HID_SVXTBX_ALIGNMENT"
+#define HID_SVXTBX_DRAW "SVX_HID_SVXTBX_DRAW"
+#define HID_SVXTBX_UNDO_REDO_CTRL "SVX_HID_SVXTBX_UNDO_REDO_CTRL"
+#define HID_SVX_CHINESE_DICTIONARY_CB_REVERSE "SVX_HID_SVX_CHINESE_DICTIONARY_CB_REVERSE"
+#define HID_SVX_CHINESE_DICTIONARY_LB_HEADER "SVX_HID_SVX_CHINESE_DICTIONARY_LB_HEADER"
+#define HID_SVX_CHINESE_DICTIONARY_LB_TO_SIMPLIFIED "SVX_HID_SVX_CHINESE_DICTIONARY_LB_TO_SIMPLIFIED"
+#define HID_SVX_CHINESE_DICTIONARY_LB_TO_TRADITIONAL "SVX_HID_SVX_CHINESE_DICTIONARY_LB_TO_TRADITIONAL"
+#define HID_SVX_CHINESE_DICTIONARY_RB_CONVERSION_TO_SIMPLIFIED "SVX_HID_SVX_CHINESE_DICTIONARY_RB_CONVERSION_TO_SIMPLIFIED"
+#define HID_SVX_CHINESE_DICTIONARY_RB_CONVERSION_TO_TRADITIONAL "SVX_HID_SVX_CHINESE_DICTIONARY_RB_CONVERSION_TO_TRADITIONAL"
+#define HID_SVX_CHINESE_TRANSLATION_CB_USE_VARIANTS "SVX_HID_SVX_CHINESE_TRANSLATION_CB_USE_VARIANTS"
+#define HID_SVX_CHINESE_TRANSLATION_RB_CONVERSION_TO_SIMPLIFIED "SVX_HID_SVX_CHINESE_TRANSLATION_RB_CONVERSION_TO_SIMPLIFIED"
+#define HID_SVX_CHINESE_TRANSLATION_RB_CONVERSION_TO_TRADITIONAL "SVX_HID_SVX_CHINESE_TRANSLATION_RB_CONVERSION_TO_TRADITIONAL"
+#define HID_SVX_MDLG_DOCRECOVERY_BROKEN "SVX_HID_SVX_MDLG_DOCRECOVERY_BROKEN"
+#define HID_SVX_MDLG_DOCRECOVERY_PROGR "SVX_HID_SVX_MDLG_DOCRECOVERY_PROGR"
+#define HID_SVX_MDLG_ERR_REP_OPTIONS "SVX_HID_SVX_MDLG_ERR_REP_OPTIONS"
+#define HID_SVX_MDLG_ERR_REP_PREVIEW "SVX_HID_SVX_MDLG_ERR_REP_PREVIEW"
+#define HID_SVX_TABDLG_DOCRECOVERY "SVX_HID_SVX_TABDLG_DOCRECOVERY"
+#define HID_SVX_TP_DOCRECOVERY_RECOVER "SVX_HID_SVX_TP_DOCRECOVERY_RECOVER"
+#define HID_SVX_TP_DOCRECOVERY_SAVE "SVX_HID_SVX_TP_DOCRECOVERY_SAVE"
+#define HID_SVX_TP_ERR_REP_SEND "SVX_HID_SVX_TP_ERR_REP_SEND"
+#define HID_SVX_TP_ERR_REP_WELCOME "SVX_HID_SVX_TP_ERR_REP_WELCOME"
-// -----------------------------------------------------------------------
-// Overrun check ---------------------------------------------------------
-// -----------------------------------------------------------------------
-
-#define ACT_SVX_HID_END (HID_SVX_START+248)
-#if ACT_SVX_HID_END > HID_SVX_END
-#error Resource overflow in #line, #file
-#endif
+#define HID_VALUESET_EXTRUSION_DIRECTION "SVX_HID_VALUESET_EXTRUSION_DIRECTION"
+#define HID_VALUESET_EXTRUSION_LIGHTING "SVX_HID_VALUESET_EXTRUSION_LIGHTING"
+#define HID_WIN_FONTWORK_ALIGN "SVX_HID_WIN_FONTWORK_ALIGN"
+#define HID_WIN_FONTWORK_CHARSPACE "SVX_HID_WIN_FONTWORK_CHARSPACE"
+#define HID_XMLSEC_CALL "SVX_HID_XMLSEC_CALL"
+#define HID_OFA_HYPERLINK_DLG "SVX_HID_OFA_HYPERLINK_DLG"
+#define HID_OFA_HYPERLINK_NAME "SVX_HID_OFA_HYPERLINK_NAME"
+#define HID_OFA_HYPERLINK_SEARCH "SVX_HID_OFA_HYPERLINK_SEARCH"
+#define HID_OFA_HYPERLINK_TARGET "SVX_HID_OFA_HYPERLINK_TARGET"
+#define HID_OFA_HYPERLINK_URL "SVX_HID_OFA_HYPERLINK_URL"
+#define HID_OFA_HYPERLINK_URL_TXT "SVX_HID_OFA_HYPERLINK_URL_TXT"
+#define HID_AUTOCORR_DLG "SVX_HID_AUTOCORR_DLG"
+#define HID_SVXCTL_MAIL_ATTACH "SVX_HID_SVXCTL_MAIL_ATTACH"
+#define HID_SVXDLG_REGISTRATION "SVX_HID_SVXDLG_REGISTRATION"
+#define HID_SVXDLG_TREE_BASE "SVX_HID_SVXDLG_TREE_BASE"
+#define HID_SVXDLG_TREE_CHART "SVX_HID_SVXDLG_TREE_CHART"
+#define HID_SVXDLG_TREE_FILTER "SVX_HID_SVXDLG_TREE_FILTER"
+#define HID_SVXDLG_TREE_LANGUAGE "SVX_HID_SVXDLG_TREE_LANGUAGE"
+#define HID_SVXWIN_MAIL_ATTACH "SVX_HID_SVXWIN_MAIL_ATTACH"
+#define HID_SVXWIN_MAIL_HEADER "SVX_HID_SVXWIN_MAIL_HEADER"
+#define HID_SVX_DLGFORMNEW "SVX_HID_SVX_DLGFORMNEW"
+#define HID_SVX_DLGTABNEW "SVX_HID_SVX_DLGTABNEW"
+#define HID_SVX_HYPERLINK "SVX_HID_SVX_HYPERLINK"
+#define HID_SVX_MAILATTACH_ASCII_CB "SVX_HID_SVX_MAILATTACH_ASCII_CB"
+#define HID_SVX_MAILATTACH_HTML_CB "SVX_HID_SVX_MAILATTACH_HTML_CB"
+#define HID_SVX_MAILATTACH_OFFICE_CB "SVX_HID_SVX_MAILATTACH_OFFICE_CB"
+#define HID_SVX_MAILATTACH_PRIORITY_LB "SVX_HID_SVX_MAILATTACH_PRIORITY_LB"
+#define HID_SVX_MAILATTACH_RECEIPT_CB "SVX_HID_SVX_MAILATTACH_RECEIPT_CB"
+#define HID_SVX_MAILATTACH_RTF_CB "SVX_HID_SVX_MAILATTACH_RTF_CB"
+#define HID_SVX_MAILHEAD_HEAD_WIN "SVX_HID_SVX_MAILHEAD_HEAD_WIN"
+#define HID_SVX_MAILHEAD_PRIORITY_LB "SVX_HID_SVX_MAILHEAD_PRIORITY_LB"
+#define HID_SVX_MAILHEAD_PROTOCOL_LB "SVX_HID_SVX_MAILHEAD_PROTOCOL_LB"
+#define HID_SVX_MAILHEAD_RCPT_CB "SVX_HID_SVX_MAILHEAD_RCPT_CB"
+#define HID_SVX_MAILHEAD_RCPT_ED "SVX_HID_SVX_MAILHEAD_RCPT_ED"
+#define HID_SVX_MAILHEAD_RCPT_LB "SVX_HID_SVX_MAILHEAD_RCPT_LB"
+#define HID_SVX_MAILHEAD_RECEIPT_CB "SVX_HID_SVX_MAILHEAD_RECEIPT_CB"
+#define HID_SVX_MAILHEAD_ROLE_LB "SVX_HID_SVX_MAILHEAD_ROLE_LB"
+#define HID_SVX_MAILHEAD_SUBJECT_ED "SVX_HID_SVX_MAILHEAD_SUBJECT_ED"
+#define HID_SVX_MAILMENU_ADDADDRESS "SVX_HID_SVX_MAILMENU_ADDADDRESS"
+#define HID_SVX_MAILMENU_COPYLINK "SVX_HID_SVX_MAILMENU_COPYLINK"
+#define HID_SVX_MAILMENU_DELETE "SVX_HID_SVX_MAILMENU_DELETE"
+#define HID_SVX_MAILMENU_FILE "SVX_HID_SVX_MAILMENU_FILE"
+#define HID_SVX_MAILMENU_OPEN "SVX_HID_SVX_MAILMENU_OPEN"
+#define HID_SVX_MAILMENU_RENAME "SVX_HID_SVX_MAILMENU_RENAME"
+#define HID_SVX_MAILMENU_SAVEAS "SVX_HID_SVX_MAILMENU_SAVEAS"
+#define HID_SVX_MAILMENU_SIG1 "SVX_HID_SVX_MAILMENU_SIG1"
+#define HID_SVX_MAILMENU_SIG2 "SVX_HID_SVX_MAILMENU_SIG2"
+#define HID_SVX_MAILMENU_SIG3 "SVX_HID_SVX_MAILMENU_SIG3"
+#define HID_SVX_MAILMENU_SIG4 "SVX_HID_SVX_MAILMENU_SIG4"
+#define HID_SVX_MAILTOOLBOX "SVX_HID_SVX_MAILTOOLBOX"
+#define HID_SVX_SENDMENU_ENCRYPT "SVX_HID_SVX_SENDMENU_ENCRYPT"
+#define HID_SVX_SENDMENU_PLAIN "SVX_HID_SVX_SENDMENU_PLAIN"
+#define HID_SVX_SENDMENU_SIGN "SVX_HID_SVX_SENDMENU_SIGN"
+#define HID_SVX_SENDMENU_SIGNANDENCRYPT "SVX_HID_SVX_SENDMENU_SIGNANDENCRYPT"
+#define HID_SVX_TP_APPEARANCE "SVX_HID_SVX_TP_APPEARANCE"
+#define HID_SVX_TP_DESKTOP "SVX_HID_SVX_TP_DESKTOP"
+#define HID_CT_THES_ALTERNATIVES "SVX_HID_CT_THES_ALTERNATIVES"
#endif
diff --git a/svx/inc/lightdlg.hxx b/svx/inc/lightdlg.hxx
index e770b8adea8e..e770b8adea8e 100644..100755
--- a/svx/inc/lightdlg.hxx
+++ b/svx/inc/lightdlg.hxx
diff --git a/svx/inc/makefile.mk b/svx/inc/makefile.mk
deleted file mode 100644
index 37a079a68aa8..000000000000
--- a/svx/inc/makefile.mk
+++ /dev/null
@@ -1,50 +0,0 @@
-#*************************************************************************
-#
-# DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
-#
-# Copyright 2000, 2010 Oracle and/or its affiliates.
-#
-# OpenOffice.org - a multi-platform office productivity suite
-#
-# This file is part of OpenOffice.org.
-#
-# OpenOffice.org is free software: you can redistribute it and/or modify
-# it under the terms of the GNU Lesser General Public License version 3
-# only, as published by the Free Software Foundation.
-#
-# OpenOffice.org is distributed in the hope that it will be useful,
-# but WITHOUT ANY WARRANTY; without even the implied warranty of
-# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
-# GNU Lesser General Public License version 3 for more details
-# (a copy is included in the LICENSE file that accompanied this code).
-#
-# You should have received a copy of the GNU Lesser General Public License
-# version 3 along with OpenOffice.org. If not, see
-# <http://www.openoffice.org/license.html>
-# for a copy of the LGPLv3 License.
-#
-#*************************************************************************
-
-PRJ=..
-
-PRJNAME=svx
-TARGET=inc
-
-# --- Settings -----------------------------------------------------
-
-.INCLUDE : settings.mk
-.INCLUDE : $(PRJ)$/util$/makefile.pmk
-
-# --- Files --------------------------------------------------------
-
-LOCALIZE_ME=globlmn_tmpl.hrc
-
-.INCLUDE : target.mk
-
-.IF "$(ENABLE_PCH)"!=""
-ALLTAR : \
- $(SLO)$/precompiled.pch \
- $(SLO)$/precompiled_ex.pch
-
-.ENDIF # "$(ENABLE_PCH)"!=""
-
diff --git a/svx/inc/pch/precompiled_svx.cxx b/svx/inc/pch/precompiled_svx.cxx
index a90cff3b08b6..a90cff3b08b6 100644..100755
--- a/svx/inc/pch/precompiled_svx.cxx
+++ b/svx/inc/pch/precompiled_svx.cxx
diff --git a/svx/inc/pch/precompiled_svx.hxx b/svx/inc/pch/precompiled_svx.hxx
index f9e3f6a5bd19..787699cebc74 100644..100755
--- a/svx/inc/pch/precompiled_svx.hxx
+++ b/svx/inc/pch/precompiled_svx.hxx
@@ -808,7 +808,6 @@
#include "svtools/parhtml.hxx"
#include "svtools/parrtf.hxx"
#include "unotools/pathoptions.hxx"
-#include "svl/pickerhelper.hxx"
#include "svl/poolitem.hxx"
#include "unotools/printwarningoptions.hxx"
#include "svl/ptitem.hxx"
@@ -923,7 +922,7 @@
#include "vcl/cursor.hxx"
#include "vcl/decoview.hxx"
#include "vcl/dndhelp.hxx"
-#include "vcl/fldunit.hxx"
+#include "tools/fldunit.hxx"
#include "vcl/fntstyle.hxx"
#include "unotools/fontcvt.hxx"
#include "vcl/gdimtf.hxx"
@@ -942,7 +941,7 @@
#include "vcl/unohelp.hxx"
#include "vcl/unohelp2.hxx"
#include "vcl/wall.hxx"
-#include "vcl/wintypes.hxx"
+#include "tools/wintypes.hxx"
#include "osl/mutex.hxx"
#include "xmloff/DashStyle.hxx"
#include "xmloff/GradientStyle.hxx"
diff --git a/svx/inc/sjctrl.hxx b/svx/inc/sjctrl.hxx
index d9a75c117fca..a4e3861039ec 100644..100755
--- a/svx/inc/sjctrl.hxx
+++ b/svx/inc/sjctrl.hxx
@@ -130,10 +130,10 @@ class ImpSjJScriptCheckboxObject : public SjJScriptCheckboxObject, ImpSjJScriptC
virtual String getValue() const;
virtual String getType() const;
- virtual BOOL getChecked() const;
- virtual void setChecked( BOOL bCheck );
- virtual BOOL getDefaultChecked() const;
- virtual void setDefaultChecked( BOOL bCheck );
+ virtual sal_Bool getChecked() const;
+ virtual void setChecked( sal_Bool bCheck );
+ virtual sal_Bool getDefaultChecked() const;
+ virtual void setDefaultChecked( sal_Bool bCheck );
virtual void setValue( const String & aStrg );
// Methods of the object
@@ -159,8 +159,8 @@ class ImpSjJScriptRadioArray: public SjJSbxArrayObject
{
VCRadioManager* pMgr;
public:
- INT32 ImpSjJScriptRadioArray::getLength() const;
- SjJSbxObject* ImpSjJScriptRadioArray::getElement( INT32 nIndex ) const;
+ sal_Int32 ImpSjJScriptRadioArray::getLength() const;
+ SjJSbxObject* ImpSjJScriptRadioArray::getElement( sal_Int32 nIndex ) const;
SjJSbxObject* ImpSjJScriptRadioArray::getElement_String( const String & aName ) const;
// construktor
@@ -181,10 +181,10 @@ class ImpSjJScriptRadioObject : public SjJScriptRadioObject, ImpSjJScriptControl
virtual String getType() const;
// Properties of SjJScriptCheckboxObject
- virtual BOOL getChecked() const;
- virtual void setChecked( BOOL bCheck );
- virtual BOOL getDefaultChecked() const;
- virtual void setDefaultChecked( BOOL bCheck );
+ virtual sal_Bool getChecked() const;
+ virtual void setChecked( sal_Bool bCheck );
+ virtual sal_Bool getDefaultChecked() const;
+ virtual void setDefaultChecked( sal_Bool bCheck );
virtual void setValue( const String & aStrg );
// Methods of the object
@@ -215,9 +215,9 @@ class ImpSjJScriptSelectObject : public SjJScriptSelectObject, ImpSjJScriptContr
virtual String getValue() const;
virtual String getType() const;
- virtual INT32 getLength();
- virtual INT32 getSelectedIndex() const;
- virtual void setSelectedIndex( INT32 nNo );
+ virtual sal_Int32 getLength();
+ virtual sal_Int32 getSelectedIndex() const;
+ virtual void setSelectedIndex( sal_Int32 nNo );
// Methods of the object
virtual void focus();
@@ -243,42 +243,42 @@ class ImpSjJScriptSelectObject : public SjJScriptSelectObject, ImpSjJScriptContr
void onFocus();
// SjJSbxArrayObject methods
- virtual INT32 getLength() const;
+ virtual sal_Int32 getLength() const;
// Access through the index
- virtual SjJSbxObject * getElement( INT32 nIndex ) const;
+ virtual SjJSbxObject * getElement( sal_Int32 nIndex ) const;
// Constructor
ImpSjJScriptSelectObject( VCControl* _pControl, SjJSbxObject * p );
// for setting entries of the object (to be called from Java)
- virtual void setOption( INT32 nIndex, const String & aOptionText,
+ virtual void setOption( sal_Int32 nIndex, const String & aOptionText,
const String & aOptionValue,
- BOOL bDefaultSelected, BOOL bSelected );
+ sal_Bool bDefaultSelected, sal_Bool bSelected );
// interface for the properties of the option objects
- virtual BOOL getOptionDefaultSelected( INT32 nIndex ) const;
- virtual void setOptionDefaultSelected( BOOL bSelected, INT32 nIndex );
- virtual BOOL getOptionSelected( INT32 nIndex ) const;
- virtual void setOptionSelected( BOOL bSelected, INT32 nIndex );
- virtual String getOptionText( INT32 nIndex ) const;
- virtual void setOptionText( const String & sText, INT32 nIndex );
- virtual void setOptionValue( const String & sText, INT32 nIndex );
- virtual String getOptionValue( INT32 nIndex ) const;
+ virtual sal_Bool getOptionDefaultSelected( sal_Int32 nIndex ) const;
+ virtual void setOptionDefaultSelected( sal_Bool bSelected, sal_Int32 nIndex );
+ virtual sal_Bool getOptionSelected( sal_Int32 nIndex ) const;
+ virtual void setOptionSelected( sal_Bool bSelected, sal_Int32 nIndex );
+ virtual String getOptionText( sal_Int32 nIndex ) const;
+ virtual void setOptionText( const String & sText, sal_Int32 nIndex );
+ virtual void setOptionValue( const String & sText, sal_Int32 nIndex );
+ virtual String getOptionValue( sal_Int32 nIndex ) const;
};
//+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
class ImpSjJScriptOptionObject : public SjJScriptOptionObject, ImpSjJScriptControlBase
{
- USHORT nListBoxIndex;
+ sal_uInt16 nListBoxIndex;
public:
// Methods from Java --> C++ (for properties)
//--------------------------------------------
- virtual BOOL getdefaultSelected() const;
- virtual void setdefaultSelected( BOOL bSelected );
- virtual INT32 getIndex() const;
- virtual BOOL getSelected() const;
- virtual void setSelected( BOOL bSelected );
+ virtual sal_Bool getdefaultSelected() const;
+ virtual void setdefaultSelected( sal_Bool bSelected );
+ virtual sal_Int32 getIndex() const;
+ virtual sal_Bool getSelected() const;
+ virtual void setSelected( sal_Bool bSelected );
virtual String getText() const;
virtual void setText( const String & sText );
@@ -298,7 +298,7 @@ class ImpSjJScriptOptionObject : public SjJScriptOptionObject, ImpSjJScriptContr
// none !
// Constructor
- ImpSjJScriptOptionObject( VCControl* _pControl, SjJSbxObject * p, USHORT _nListBoxIndex );
+ ImpSjJScriptOptionObject( VCControl* _pControl, SjJSbxObject * p, sal_uInt16 _nListBoxIndex );
};
//+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
@@ -310,9 +310,9 @@ class SjJSbxFormsArray: public SfxJSArray
public:
// SjJSbxArrayObject methods
- virtual INT32 getLength() const;
+ virtual sal_Int32 getLength() const;
// access through the index
- virtual SjJSbxObject * getElement( INT32 nIndex ) const;
+ virtual SjJSbxObject * getElement( sal_Int32 nIndex ) const;
// access through the name
// cannot overload native java methods (yet)
virtual SjJSbxObject * getElement_String( const String & aName ) const;
@@ -557,8 +557,8 @@ class ImpSjJScriptFormObject : public SjJScriptFormObject
virtual void setTarget( const String & sValue );
// SjJSbxArrayObject methods
- INT32 getLength() const;
- SjJSbxObject* getElement( INT32 nIndex ) const;
+ sal_Int32 getLength() const;
+ SjJSbxObject* getElement( sal_Int32 nIndex ) const;
SjJSbxObject* getElement_String( const String & aName ) const;
// Methods of the object
diff --git a/svx/inc/svdibrow.hxx b/svx/inc/svdibrow.hxx
index bf9319ae2298..67c605fc6e31 100644..100755
--- a/svx/inc/svdibrow.hxx
+++ b/svx/inc/svdibrow.hxx
@@ -48,9 +48,9 @@ friend class ImpItemEdit;
Link aSetDirtyHdl;
ImpItemListRow* pAktChangeEntry;
long nLastWhichOfs;
- USHORT nLastWhich;
- USHORT nLastWhichOben;
- USHORT nLastWhichUnten;
+ sal_uInt16 nLastWhich;
+ sal_uInt16 nLastWhichOben;
+ sal_uInt16 nLastWhichUnten;
bool bWhichesButNames;
bool bDontHideIneffectiveItems;
bool bDontSortItems;
@@ -59,15 +59,15 @@ friend class ImpItemEdit;
private:
#if _SOLAR__PRIVATE
void ImpCtor();
- void ImpSetEntry(const ImpItemListRow& rEntry, ULONG nEntryNum);
- ImpItemListRow* ImpGetEntry(ULONG nPos) const { return (ImpItemListRow*)aList.GetObject(nPos); }
+ void ImpSetEntry(const ImpItemListRow& rEntry, sal_uIntPtr nEntryNum);
+ ImpItemListRow* ImpGetEntry(sal_uIntPtr nPos) const { return (ImpItemListRow*)aList.GetObject(nPos); }
void ImpSaveWhich();
void ImpRestoreWhich();
#endif // __PRIVATE
protected:
virtual long GetRowCount() const;
- virtual BOOL SeekRow(long nRow);
- virtual void PaintField(OutputDevice& rDev, const Rectangle& rRect, USHORT nColumnId) const;
+ virtual sal_Bool SeekRow(long nRow);
+ virtual void PaintField(OutputDevice& rDev, const Rectangle& rRect, sal_uInt16 nColumnId) const;
virtual void DoubleClick(const BrowserMouseEvent&);
virtual void KeyInput(const KeyEvent& rEvt);
virtual void Select();
@@ -79,8 +79,8 @@ public:
virtual ~_SdrItemBrowserControl();
void Clear();
void SetAttributes(const SfxItemSet* pAttr, const SfxItemSet* p2ndSet=NULL);
- ULONG GetCurrentPos() const;
- USHORT GetCurrentWhich() const;
+ sal_uIntPtr GetCurrentPos() const;
+ sal_uInt16 GetCurrentWhich() const;
virtual bool BegChangeEntry(ULONG nPos);
virtual bool EndChangeEntry();
virtual void BrkChangeEntry();
@@ -93,7 +93,7 @@ public:
@return
the text out of the cell
*/
- virtual String GetCellText(long _nRow, USHORT _nColId) const;
+ virtual String GetCellText(long _nRow, sal_uInt16 _nColId) const;
const ImpItemListRow* GetAktChangeEntry() const { return pAktChangeEntry; }
XubString GetNewEntryValue() const { return pEditControl->GetText(); }
diff --git a/svx/inc/svdpomv.hxx b/svx/inc/svdpomv.hxx
index ca417842915e..ca417842915e 100644..100755
--- a/svx/inc/svdpomv.hxx
+++ b/svx/inc/svdpomv.hxx
diff --git a/svx/inc/svx/AccessibleControlShape.hxx b/svx/inc/svx/AccessibleControlShape.hxx
index 65bf19460e11..65bf19460e11 100644..100755
--- a/svx/inc/svx/AccessibleControlShape.hxx
+++ b/svx/inc/svx/AccessibleControlShape.hxx
diff --git a/svx/inc/svx/AccessibleGraphicShape.hxx b/svx/inc/svx/AccessibleGraphicShape.hxx
index aab1ac52493a..aab1ac52493a 100644..100755
--- a/svx/inc/svx/AccessibleGraphicShape.hxx
+++ b/svx/inc/svx/AccessibleGraphicShape.hxx
diff --git a/svx/inc/svx/AccessibleOLEShape.hxx b/svx/inc/svx/AccessibleOLEShape.hxx
index 0baa9bd6d49d..0baa9bd6d49d 100644..100755
--- a/svx/inc/svx/AccessibleOLEShape.hxx
+++ b/svx/inc/svx/AccessibleOLEShape.hxx
diff --git a/svx/inc/svx/AccessibleShape.hxx b/svx/inc/svx/AccessibleShape.hxx
index ac444459ace6..ac444459ace6 100644..100755
--- a/svx/inc/svx/AccessibleShape.hxx
+++ b/svx/inc/svx/AccessibleShape.hxx
diff --git a/svx/inc/svx/AccessibleShapeInfo.hxx b/svx/inc/svx/AccessibleShapeInfo.hxx
index 377628f14479..377628f14479 100644..100755
--- a/svx/inc/svx/AccessibleShapeInfo.hxx
+++ b/svx/inc/svx/AccessibleShapeInfo.hxx
diff --git a/svx/inc/svx/AccessibleShapeTreeInfo.hxx b/svx/inc/svx/AccessibleShapeTreeInfo.hxx
index 37066a003dd5..37066a003dd5 100644..100755
--- a/svx/inc/svx/AccessibleShapeTreeInfo.hxx
+++ b/svx/inc/svx/AccessibleShapeTreeInfo.hxx
diff --git a/svx/inc/svx/AccessibleTableShape.hxx b/svx/inc/svx/AccessibleTableShape.hxx
index be6f29d59128..be6f29d59128 100644..100755
--- a/svx/inc/svx/AccessibleTableShape.hxx
+++ b/svx/inc/svx/AccessibleTableShape.hxx
diff --git a/svx/inc/svx/AccessibleTextHelper.hxx b/svx/inc/svx/AccessibleTextHelper.hxx
index 41104684c7e6..41104684c7e6 100644..100755
--- a/svx/inc/svx/AccessibleTextHelper.hxx
+++ b/svx/inc/svx/AccessibleTextHelper.hxx
diff --git a/svx/inc/ActionDescriptionProvider.hxx b/svx/inc/svx/ActionDescriptionProvider.hxx
index 6236a6572a5e..6236a6572a5e 100644..100755
--- a/svx/inc/ActionDescriptionProvider.hxx
+++ b/svx/inc/svx/ActionDescriptionProvider.hxx
diff --git a/svx/inc/svx/ChildrenManager.hxx b/svx/inc/svx/ChildrenManager.hxx
index b9caef64f4d1..b9caef64f4d1 100644..100755
--- a/svx/inc/svx/ChildrenManager.hxx
+++ b/svx/inc/svx/ChildrenManager.hxx
diff --git a/svx/inc/DescriptionGenerator.hxx b/svx/inc/svx/DescriptionGenerator.hxx
index f7236d1dc5fa..f7236d1dc5fa 100644..100755
--- a/svx/inc/DescriptionGenerator.hxx
+++ b/svx/inc/svx/DescriptionGenerator.hxx
diff --git a/svx/inc/svx/EnhancedCustomShape2d.hxx b/svx/inc/svx/EnhancedCustomShape2d.hxx
new file mode 100755
index 000000000000..867aac13fa3c
--- /dev/null
+++ b/svx/inc/svx/EnhancedCustomShape2d.hxx
@@ -0,0 +1,223 @@
+/* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
+/*************************************************************************
+ *
+ * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
+ *
+ * Copyright 2000, 2010 Oracle and/or its affiliates.
+ *
+ * OpenOffice.org - a multi-platform office productivity suite
+ *
+ * This file is part of OpenOffice.org.
+ *
+ * OpenOffice.org is free software: you can redistribute it and/or modify
+ * it under the terms of the GNU Lesser General Public License version 3
+ * only, as published by the Free Software Foundation.
+ *
+ * OpenOffice.org is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU Lesser General Public License version 3 for more details
+ * (a copy is included in the LICENSE file that accompanied this code).
+ *
+ * You should have received a copy of the GNU Lesser General Public License
+ * version 3 along with OpenOffice.org. If not, see
+ * <http://www.openoffice.org/license.html>
+ * for a copy of the LGPLv3 License.
+ *
+ ************************************************************************/
+
+#ifndef _ENHANCEDCUSTOMSHAPE2D_HXX
+#define _ENHANCEDCUSTOMSHAPE2D_HXX
+
+#include <svx/msdffdef.hxx>
+#include <svx/sdasitm.hxx>
+#include <com/sun/star/uno/Sequence.h>
+#include <com/sun/star/beans/PropertyValues.hpp>
+#include <com/sun/star/awt/Point.hpp>
+#include <svl/itemset.hxx>
+#include <com/sun/star/drawing/EnhancedCustomShapeParameterPair.hpp>
+#include <com/sun/star/drawing/EnhancedCustomShapeSegment.hpp>
+#include <com/sun/star/drawing/EnhancedCustomShapeParameter.hpp>
+#include <com/sun/star/drawing/EnhancedCustomShapeTextFrame.hpp>
+#include <com/sun/star/drawing/EnhancedCustomShapeAdjustmentValue.hpp>
+#include <svx/EnhancedCustomShapeFunctionParser.hxx>
+
+#include <boost/shared_ptr.hpp>
+#include <vector>
+
+#define DFF_CUSTOMSHAPE_FLIP_V 1
+#define DFF_CUSTOMSHAPE_FLIP_H 2
+#define DFF_CUSTOMSHAPE_EXCH 4
+
+class SdrModel;
+class SdrObject;
+class SfxItemSet;
+struct SvxMSDffVertPair;
+struct SvxMSDffCalculationData;
+struct SvxMSDffTextRectangles;
+class SvxMSDffAdjustmentHandle;
+
+#define HANDLE_FLAGS_MIRRORED_X 0x0001
+#define HANDLE_FLAGS_MIRRORED_Y 0x0002
+#define HANDLE_FLAGS_SWITCHED 0x0004
+#define HANDLE_FLAGS_POLAR 0x0008
+#define HANDLE_FLAGS_MAP 0x0010
+#define HANDLE_FLAGS_RANGE_X_MINIMUM 0x0020
+#define HANDLE_FLAGS_RANGE_X_MAXIMUM 0x0040
+#define HANDLE_FLAGS_RANGE_Y_MINIMUM 0x0080
+#define HANDLE_FLAGS_RANGE_Y_MAXIMUM 0x0100
+#define HANDLE_FLAGS_RADIUS_RANGE_MINIMUM 0x0200
+#define HANDLE_FLAGS_RADIUS_RANGE_MAXIMUM 0x0400
+#define HANDLE_FLAGS_REFX 0x0800
+#define HANDLE_FLAGS_REFY 0x1000
+#define HANDLE_FLAGS_REFANGLE 0x2000
+#define HANDLE_FLAGS_REFR 0x4000
+
+// MSDFF_HANDLE_FLAGS_RANGE_Y seems to be not defined in
+// escher, but we are using it internally in to differentiate
+// between X_RANGE and Y_RANGE
+
+class SdrPathObj;
+
+class EnhancedCustomShape2d : public SfxItemSet
+{
+ SdrObject* pCustomShapeObj;
+ MSO_SPT eSpType;
+
+ sal_Int32 nCoordLeft;
+ sal_Int32 nCoordTop;
+ sal_Int32 nCoordWidth;
+ sal_Int32 nCoordHeight;
+ Rectangle aLogicRect;
+
+ double fXScale;
+ double fYScale;
+ double fXRatio;
+ double fYRatio;
+
+ sal_Int32 nXRef;
+ sal_Int32 nYRef;
+ sal_uInt32 nFlags;
+ sal_uInt32 nColorData;
+
+ /*
+
+ */
+ com::sun::star::uno::Sequence< rtl::OUString > seqEquations;
+ std::vector< ::boost::shared_ptr< EnhancedCustomShape::ExpressionNode > > vNodesSharedPtr;
+
+
+ com::sun::star::uno::Sequence< com::sun::star::drawing::EnhancedCustomShapeSegment > seqSegments;
+ com::sun::star::uno::Sequence< com::sun::star::drawing::EnhancedCustomShapeParameterPair> seqCoordinates;
+ com::sun::star::uno::Sequence< com::sun::star::drawing::EnhancedCustomShapeTextFrame > seqTextFrames;
+ com::sun::star::uno::Sequence< com::sun::star::drawing::EnhancedCustomShapeParameterPair> seqGluePoints;
+ com::sun::star::uno::Sequence< com::sun::star::drawing::EnhancedCustomShapeAdjustmentValue > seqAdjustmentValues;
+ com::sun::star::uno::Sequence< com::sun::star::beans::PropertyValues > seqHandles;
+
+ sal_Bool bTextFlow : 1;
+ sal_Bool bFilled : 1;
+ sal_Bool bStroked : 1;
+
+ sal_Bool bFlipH;
+ sal_Bool bFlipV;
+ sal_Int32 nRotateAngle;
+
+ sal_Bool SetAdjustValueAsDouble( const double& rValue, const sal_Int32 nIndex );
+ sal_Int32 GetLuminanceChange( sal_uInt32 nIndex ) const;
+ Color GetColorData( const Color& rFillColor, sal_uInt32 nIndex ) const;
+ void AdaptObjColor(SdrPathObj& rObj, const SfxItemSet& rCustomShapeSet,
+ sal_uInt32& nColorIndex, sal_uInt32 nColorCount);
+ sal_Bool GetParameter( double& rParameterReturnValue, const com::sun::star::drawing::EnhancedCustomShapeParameter&,
+ const sal_Bool bReplaceGeoWidth, const sal_Bool bReplaceGeoHeight ) const;
+ Point GetPoint( const com::sun::star::drawing::EnhancedCustomShapeParameterPair&,
+ const sal_Bool bScale = sal_True, const sal_Bool bReplaceGeoSize = sal_False ) const;
+
+ void CreateSubPath( sal_uInt16& rSrcPt, sal_uInt16& rSegmentInd, std::vector< SdrPathObj* >& rObjectList,
+ sal_Bool bLineGeometryNeededOnly, sal_Bool bSortFilledObjectsToBack );
+ SdrObject* CreatePathObj( sal_Bool bLineGeometryNeededOnly );
+ const sal_Int32* ApplyShapeAttributes( const SdrCustomShapeGeometryItem& rItem );
+
+ public :
+
+ struct Handle
+ {
+ sal_uInt32 nFlags;
+
+ sal_Bool bMirroredX;
+ sal_Bool bMirroredY;
+ sal_Bool bSwitched;
+
+ com::sun::star::drawing::EnhancedCustomShapeParameterPair aPosition;
+ com::sun::star::drawing::EnhancedCustomShapeParameterPair aPolar;
+
+ sal_Int32 nRefX;
+ sal_Int32 nRefY;
+ sal_Int32 nRefAngle;
+ sal_Int32 nRefR;
+
+ com::sun::star::drawing::EnhancedCustomShapeParameter aRadiusRangeMinimum;
+ com::sun::star::drawing::EnhancedCustomShapeParameter aRadiusRangeMaximum;
+ com::sun::star::drawing::EnhancedCustomShapeParameter aXRangeMinimum;
+ com::sun::star::drawing::EnhancedCustomShapeParameter aXRangeMaximum;
+ com::sun::star::drawing::EnhancedCustomShapeParameter aYRangeMinimum;
+ com::sun::star::drawing::EnhancedCustomShapeParameter aYRangeMaximum;
+
+ Handle() : bMirroredX ( sal_False ), bMirroredY ( sal_False ), bSwitched( sal_False ),
+ nRefX( -1 ), nRefY( -1 ), nRefAngle( -1 ), nRefR( -1 ) {};
+ };
+
+ sal_Bool IsFlipVert() { return bFlipV; };
+ sal_Bool IsFlipHorz() { return bFlipH; };
+ sal_Int32 GetRotateAngle() { return nRotateAngle; };
+
+ SVX_DLLPUBLIC SdrObject* CreateLineGeometry();
+ SVX_DLLPUBLIC SdrObject* CreateObject( sal_Bool bLineGeometryNeededOnly );
+ SVX_DLLPUBLIC void ApplyGluePoints( SdrObject* pObj );
+ SVX_DLLPUBLIC Rectangle GetTextRect() const;
+
+ SVX_DLLPUBLIC sal_uInt32 GetHdlCount() const;
+ SVX_DLLPUBLIC sal_Bool GetHandlePosition( const sal_uInt32 nIndex, Point& rReturnPosition ) const;
+ SVX_DLLPUBLIC sal_Bool SetHandleControllerPosition( const sal_uInt32 nIndex, const com::sun::star::awt::Point& rPosition );
+
+ SVX_DLLPUBLIC EnhancedCustomShape2d( SdrObject* pSdrObjCustomShape );
+ SVX_DLLPUBLIC ~EnhancedCustomShape2d();
+
+ enum EnumFunc
+ {
+ ENUM_FUNC_PI,
+ ENUM_FUNC_LEFT,
+ ENUM_FUNC_TOP,
+ ENUM_FUNC_RIGHT,
+ ENUM_FUNC_BOTTOM,
+ ENUM_FUNC_XSTRETCH,
+ ENUM_FUNC_YSTRETCH,
+ ENUM_FUNC_HASSTROKE,
+ ENUM_FUNC_HASFILL,
+ ENUM_FUNC_WIDTH,
+ ENUM_FUNC_HEIGHT,
+ ENUM_FUNC_LOGWIDTH,
+ ENUM_FUNC_LOGHEIGHT
+ };
+ double GetEnumFunc( const EnumFunc eVal ) const;
+
+ double GetAdjustValueAsDouble( const sal_Int32 nIndex ) const;
+ double GetEquationValueAsDouble( const sal_Int32 nIndex ) const;
+ sal_Int32 GetAdjustValueAsInteger( const sal_Int32 nIndex, const sal_Int32 nDefault = 0 ) const;
+
+ SVX_DLLPUBLIC static rtl::OUString GetEquation( const sal_uInt16 nFlags, sal_Int16 nPara1, sal_Int16 nPara2, sal_Int16 nPara3 );
+
+ static void AppendEnhancedCustomShapeEquationParameter( rtl::OUString& rParameter, const sal_Int16 nPara, const sal_Bool bIsSpecialValue );
+
+ static void SetEnhancedCustomShapeEquationParameter( com::sun::star::drawing::EnhancedCustomShapeParameter&
+ rParameter, const sal_Int16 nPara, const sal_Bool bIsSpecialValue );
+ SVX_DLLPUBLIC static void SetEnhancedCustomShapeParameter( com::sun::star::drawing::EnhancedCustomShapeParameter&
+ rParameter, const sal_Int32 nValue );
+ SVX_DLLPUBLIC static void SetEnhancedCustomShapeHandleParameter( com::sun::star::drawing::EnhancedCustomShapeParameter&
+ rParameter, const sal_Int32 nPara, const sal_Bool bIsSpecialValue, sal_Bool bHorz );
+ static sal_Bool ConvertSequenceToEnhancedCustomShape2dHandle( const com::sun::star::beans::PropertyValues& rHandleProperties,
+ EnhancedCustomShape2d::Handle& rDestinationHandle );
+ static void SwapStartAndEndArrow( SdrObject* pObj );
+};
+#endif
+
+/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/svx/inc/svx/EnhancedCustomShapeFunctionParser.hxx b/svx/inc/svx/EnhancedCustomShapeFunctionParser.hxx
index 534b24a049cb..534b24a049cb 100644..100755
--- a/svx/inc/svx/EnhancedCustomShapeFunctionParser.hxx
+++ b/svx/inc/svx/EnhancedCustomShapeFunctionParser.hxx
diff --git a/svx/inc/svx/EnhancedCustomShapeGeometry.hxx b/svx/inc/svx/EnhancedCustomShapeGeometry.hxx
new file mode 100755
index 000000000000..218770bd706a
--- /dev/null
+++ b/svx/inc/svx/EnhancedCustomShapeGeometry.hxx
@@ -0,0 +1,104 @@
+/* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
+/*************************************************************************
+ *
+ * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
+ *
+ * Copyright 2000, 2010 Oracle and/or its affiliates.
+ *
+ * OpenOffice.org - a multi-platform office productivity suite
+ *
+ * This file is part of OpenOffice.org.
+ *
+ * OpenOffice.org is free software: you can redistribute it and/or modify
+ * it under the terms of the GNU Lesser General Public License version 3
+ * only, as published by the Free Software Foundation.
+ *
+ * OpenOffice.org is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU Lesser General Public License version 3 for more details
+ * (a copy is included in the LICENSE file that accompanied this code).
+ *
+ * You should have received a copy of the GNU Lesser General Public License
+ * version 3 along with OpenOffice.org. If not, see
+ * <http://www.openoffice.org/license.html>
+ * for a copy of the LGPLv3 License.
+ *
+ ************************************************************************/
+
+#ifndef _ENHANCEDCUSTOMSHAPEGEOMETRY_HXX
+#define _ENHANCEDCUSTOMSHAPEGEOMETRY_HXX
+
+#include <sal/types.h>
+#include <svx/msdffdef.hxx>
+
+struct SvxMSDffVertPair
+{
+ sal_Int32 nValA;
+ sal_Int32 nValB;
+};
+struct SvxMSDffCalculationData
+{
+ sal_uInt16 nFlags;
+ sal_Int16 nVal[ 3 ];
+};
+struct SvxMSDffTextRectangles
+{
+ SvxMSDffVertPair nPairA;
+ SvxMSDffVertPair nPairB;
+};
+
+#define MSDFF_HANDLE_FLAGS_MIRRORED_X 0x0001
+#define MSDFF_HANDLE_FLAGS_MIRRORED_Y 0x0002
+#define MSDFF_HANDLE_FLAGS_SWITCHED 0x0004
+#define MSDFF_HANDLE_FLAGS_POLAR 0x0008
+#define MSDFF_HANDLE_FLAGS_MAP 0x0010
+#define MSDFF_HANDLE_FLAGS_RANGE 0x0020
+#define MSDFF_HANDLE_FLAGS_RANGE_X_MIN_IS_SPECIAL 0x0080
+#define MSDFF_HANDLE_FLAGS_RANGE_X_MAX_IS_SPECIAL 0x0100
+#define MSDFF_HANDLE_FLAGS_RANGE_Y_MIN_IS_SPECIAL 0x0200
+#define MSDFF_HANDLE_FLAGS_RANGE_Y_MAX_IS_SPECIAL 0x0400
+#define MSDFF_HANDLE_FLAGS_CENTER_X_IS_SPECIAL 0x0800
+#define MSDFF_HANDLE_FLAGS_CENTER_Y_IS_SPECIAL 0x1000
+#define MSDFF_HANDLE_FLAGS_RADIUS_RANGE 0x2000
+
+struct SvxMSDffHandle
+{
+ sal_uInt32 nFlags;
+ sal_Int32 nPositionX, nPositionY, nCenterX, nCenterY, nRangeXMin, nRangeXMax, nRangeYMin, nRangeYMax;
+};
+struct mso_CustomShape
+{
+ SvxMSDffVertPair* pVertices;
+ sal_uInt32 nVertices;
+ sal_uInt16* pElements;
+ sal_uInt32 nElements;
+ SvxMSDffCalculationData* pCalculation;
+ sal_uInt32 nCalculation;
+ sal_Int32* pDefData;
+ SvxMSDffTextRectangles* pTextRect;
+ sal_uInt32 nTextRect;
+ sal_Int32 nCoordWidth;
+ sal_Int32 nCoordHeight;
+ sal_Int32 nXRef;
+ sal_Int32 nYRef;
+ SvxMSDffVertPair* pGluePoints;
+ sal_uInt32 nGluePoints;
+ SvxMSDffHandle* pHandles;
+ sal_uInt32 nHandles;
+};
+
+#define MSO_I | (sal_Int32)0x80000000
+
+sal_Bool SortFilledObjectsToBackByDefault( MSO_SPT eSpType );
+SVX_DLLPUBLIC sal_Bool IsCustomShapeFilledByDefault( MSO_SPT eSpType );
+SVX_DLLPUBLIC sal_Int16 GetCustomShapeConnectionTypeDefault( MSO_SPT eSpType );
+
+// #i28269#
+SVX_DLLPUBLIC sal_Bool IsCustomShapeStrokedByDefault( MSO_SPT eSpType );
+
+SVX_DLLPUBLIC const mso_CustomShape* GetCustomShapeContent( MSO_SPT eSpType );
+
+#endif
+
+/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/svx/inc/svx/linkwarn.hxx b/svx/inc/svx/EnhancedCustomShapeTypeNames.hxx
index 4be65cc75afc..982994ae6e32 100644..100755
--- a/svx/inc/svx/linkwarn.hxx
+++ b/svx/inc/svx/EnhancedCustomShapeTypeNames.hxx
@@ -4,7 +4,6 @@
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
*
* Copyright 2000, 2010 Oracle and/or its affiliates.
- * Copyright 2010 Novell, Inc.
*
* OpenOffice.org - a multi-platform office productivity suite
*
@@ -27,31 +26,17 @@
*
************************************************************************/
-#ifndef _SFX_LINKWARN_HXX
-#define _SFX_LINKWARN_HXX
+#ifndef _ENHANCED_CUSTOMSHAPE_TYPE_NAMES_HXX
+#define _ENHANCED_CUSTOMSHAPE_TYPE_NAMES_HXX
+#include <svx/msdffdef.hxx>
+#include <rtl/ustring.hxx>
-#include <vcl/button.hxx>
-#include <vcl/fixed.hxx>
-#include <sfx2/basedlgs.hxx>
-#include "svx/svxdllapi.h"
-
-class SVX_DLLPUBLIC SvxLinkWarningDialog : public SfxModalDialog
+namespace EnhancedCustomShapeTypeNames
{
-private:
- FixedImage m_aQueryImage;
- FixedText m_aInfoText;
- OKButton m_aLinkGraphicBtn;
- CancelButton m_aEmbedGraphicBtn;
- FixedLine m_aOptionLine;
- CheckBox m_aWarningOnBox;
-
- void InitSize();
-
-public:
- SvxLinkWarningDialog( Window* pParent, const String& _rFileName );
- virtual ~SvxLinkWarningDialog();
-};
+ SVX_DLLPUBLIC MSO_SPT Get( const rtl::OUString& );
+ SVX_DLLPUBLIC rtl::OUString Get( const MSO_SPT );
+}
-#endif // #ifndef _SFX_LINKWARN_HXX
+#endif
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/svx/inc/svx/IAccessibleParent.hxx b/svx/inc/svx/IAccessibleParent.hxx
index ea6c54d251cf..ea6c54d251cf 100644..100755
--- a/svx/inc/svx/IAccessibleParent.hxx
+++ b/svx/inc/svx/IAccessibleParent.hxx
diff --git a/svx/inc/svx/IAccessibleViewForwarder.hxx b/svx/inc/svx/IAccessibleViewForwarder.hxx
index 8084dd846e9f..8084dd846e9f 100644..100755
--- a/svx/inc/svx/IAccessibleViewForwarder.hxx
+++ b/svx/inc/svx/IAccessibleViewForwarder.hxx
diff --git a/svx/inc/svx/IAccessibleViewForwarderListener.hxx b/svx/inc/svx/IAccessibleViewForwarderListener.hxx
index ac8a94a6d821..ac8a94a6d821 100644..100755
--- a/svx/inc/svx/IAccessibleViewForwarderListener.hxx
+++ b/svx/inc/svx/IAccessibleViewForwarderListener.hxx
diff --git a/svx/inc/ParseContext.hxx b/svx/inc/svx/ParseContext.hxx
index b8ccaf717a63..b8ccaf717a63 100644..100755
--- a/svx/inc/ParseContext.hxx
+++ b/svx/inc/svx/ParseContext.hxx
diff --git a/svx/inc/svx/ShapeTypeHandler.hxx b/svx/inc/svx/ShapeTypeHandler.hxx
index a12351436872..a12351436872 100644..100755
--- a/svx/inc/svx/ShapeTypeHandler.hxx
+++ b/svx/inc/svx/ShapeTypeHandler.hxx
diff --git a/svx/inc/svx/SmartTagCtl.hxx b/svx/inc/svx/SmartTagCtl.hxx
index 0047165d86c1..f12dc412af3e 100644..100755
--- a/svx/inc/svx/SmartTagCtl.hxx
+++ b/svx/inc/svx/SmartTagCtl.hxx
@@ -73,11 +73,11 @@ private:
void FillMenu();
DECL_LINK( MenuSelect, PopupMenu * );
- virtual void StateChanged( USHORT nSID, SfxItemState eState,
+ virtual void StateChanged( sal_uInt16 nSID, SfxItemState eState,
const SfxPoolItem* pState );
public:
- SvxSmartTagsControl( USHORT nId, Menu&, SfxBindings& );
+ SvxSmartTagsControl( sal_uInt16 nId, Menu&, SfxBindings& );
~SvxSmartTagsControl();
virtual PopupMenu* GetPopup() const;
diff --git a/svx/inc/svx/SmartTagItem.hxx b/svx/inc/svx/SmartTagItem.hxx
index 86ed6135a9ea..1bda18a0f883 100644..100755
--- a/svx/inc/svx/SmartTagItem.hxx
+++ b/svx/inc/svx/SmartTagItem.hxx
@@ -64,7 +64,7 @@ class SVX_DLLPUBLIC SvxSmartTagItem : public SfxPoolItem
public:
TYPEINFO();
- SvxSmartTagItem( const USHORT nId,
+ SvxSmartTagItem( const sal_uInt16 nId,
const com::sun::star::uno::Sequence < com::sun::star::uno::Sequence< com::sun::star::uno::Reference< com::sun::star::smarttags::XSmartTagAction > > >& rActionComponentsSequence,
const com::sun::star::uno::Sequence < com::sun::star::uno::Sequence< sal_Int32 > >& rActionIndicesSequence,
const com::sun::star::uno::Sequence< com::sun::star::uno::Reference< com::sun::star::container::XStringKeyMap > >& rStringKeyMaps,
@@ -77,10 +77,10 @@ public:
// "pure virtual Methoden" vom SfxPoolItem
virtual int operator==( const SfxPoolItem& ) const;
virtual SfxPoolItem* Clone( SfxItemPool *pPool = 0 ) const;
- virtual SfxPoolItem* Create(SvStream &, USHORT) const; // leer
- virtual SvStream& Store(SvStream &, USHORT nItemVersion) const; // leer
- virtual bool QueryValue( com::sun::star::uno::Any& rVal, BYTE nMemberId = 0 ) const; // leer
- virtual bool PutValue( const com::sun::star::uno::Any& rVal, BYTE nMemberId = 0 ); // leer
+ virtual SfxPoolItem* Create(SvStream &, sal_uInt16) const; // leer
+ virtual SvStream& Store(SvStream &, sal_uInt16 nItemVersion) const; // leer
+ virtual bool QueryValue( com::sun::star::uno::Any& rVal, sal_uInt8 nMemberId = 0 ) const;
+ virtual bool PutValue( const com::sun::star::uno::Any& rVal, sal_uInt8 nMemberId = 0 );
const com::sun::star::uno::Sequence < com::sun::star::uno::Sequence< com::sun::star::uno::Reference< com::sun::star::smarttags::XSmartTagAction > > >& GetActionComponentsSequence() const { return maActionComponentsSequence; }
const com::sun::star::uno::Sequence < com::sun::star::uno::Sequence< sal_Int32 > >& GetActionIndicesSequence() const { return maActionIndicesSequence; }
diff --git a/svx/inc/svx/SmartTagMgr.hxx b/svx/inc/svx/SmartTagMgr.hxx
index 221e93798337..221e93798337 100644..100755
--- a/svx/inc/svx/SmartTagMgr.hxx
+++ b/svx/inc/svx/SmartTagMgr.hxx
diff --git a/svx/inc/svx/SpellDialogChildWindow.hxx b/svx/inc/svx/SpellDialogChildWindow.hxx
index 55e4734a2487..b65075807129 100644..100755
--- a/svx/inc/svx/SpellDialogChildWindow.hxx
+++ b/svx/inc/svx/SpellDialogChildWindow.hxx
@@ -59,7 +59,7 @@ class SVX_DLLPUBLIC SpellDialogChildWindow
public:
SpellDialogChildWindow (
Window*pParent,
- USHORT nId,
+ sal_uInt16 nId,
SfxBindings* pBindings,
SfxChildWinInfo* pInfo);
virtual ~SpellDialogChildWindow ();
diff --git a/svx/inc/svx/SvxShapeTypes.hxx b/svx/inc/svx/SvxShapeTypes.hxx
index 7a7407e91f49..7a7407e91f49 100644..100755
--- a/svx/inc/svx/SvxShapeTypes.hxx
+++ b/svx/inc/svx/SvxShapeTypes.hxx
diff --git a/svx/inc/UnoNamespaceMap.hxx b/svx/inc/svx/UnoNamespaceMap.hxx
index e62dfce0ad09..e62dfce0ad09 100644..100755
--- a/svx/inc/UnoNamespaceMap.hxx
+++ b/svx/inc/svx/UnoNamespaceMap.hxx
diff --git a/svx/inc/XPropertyTable.hxx b/svx/inc/svx/XPropertyTable.hxx
index 691784ad51c7..691784ad51c7 100644..100755
--- a/svx/inc/XPropertyTable.hxx
+++ b/svx/inc/svx/XPropertyTable.hxx
diff --git a/svx/inc/svx/algitem.hxx b/svx/inc/svx/algitem.hxx
index e69e444dc1a3..d1d5c4a5ae7a 100644..100755
--- a/svx/inc/svx/algitem.hxx
+++ b/svx/inc/svx/algitem.hxx
@@ -47,24 +47,24 @@ public:
SvxOrientationItem(
const SvxCellOrientation eOrientation /*= SVX_ORIENTATION_STANDARD*/,
- const USHORT nId );
+ const sal_uInt16 nId );
SvxOrientationItem(
- INT32 nRotation, BOOL bStacked,
- const USHORT nId );
+ sal_Int32 nRotation, sal_Bool bStacked,
+ const sal_uInt16 nId );
virtual SfxItemPresentation GetPresentation( SfxItemPresentation ePres,
SfxMapUnit eCoreMetric,
SfxMapUnit ePresMetric,
String &rText, const IntlWrapper * = 0 ) const;
- virtual bool QueryValue( com::sun::star::uno::Any& rVal, BYTE nMemberId = 0 ) const;
- virtual bool PutValue( const com::sun::star::uno::Any& rVal, BYTE nMemberId = 0 );
+ virtual bool QueryValue( com::sun::star::uno::Any& rVal, sal_uInt8 nMemberId = 0 ) const;
+ virtual bool PutValue( const com::sun::star::uno::Any& rVal, sal_uInt8 nMemberId = 0 );
- virtual USHORT GetValueCount() const;
- virtual String GetValueText( USHORT nVal ) const;
+ virtual sal_uInt16 GetValueCount() const;
+ virtual String GetValueText( sal_uInt16 nVal ) const;
virtual SfxPoolItem* Clone( SfxItemPool *pPool = 0 ) const;
- virtual SfxPoolItem* Create( SvStream& rStream, USHORT nVer ) const;
+ virtual SfxPoolItem* Create( SvStream& rStream, sal_uInt16 nVer ) const;
inline SvxOrientationItem& operator=(const SvxOrientationItem& rOrientation)
{
@@ -72,28 +72,28 @@ public:
return *this;
}
- /** Returns TRUE, if the item represents STACKED state. */
- BOOL IsStacked() const;
+ /** Returns sal_True, if the item represents STACKED state. */
+ sal_Bool IsStacked() const;
/** Returns the rotation this item represents (returns nStdAngle for STANDARD and STACKED state). */
- INT32 GetRotation( INT32 nStdAngle = 0 ) const;
+ sal_Int32 GetRotation( sal_Int32 nStdAngle = 0 ) const;
/** Fills this item according to passed item values. */
- void SetFromRotation( INT32 nRotation, BOOL bStacked );
+ void SetFromRotation( sal_Int32 nRotation, sal_Bool bStacked );
};
//------------------------------------------------------------------------
class SVX_DLLPUBLIC SvxMarginItem: public SfxPoolItem
{
- INT16 nLeftMargin;
- INT16 nTopMargin;
- INT16 nRightMargin;
- INT16 nBottomMargin;
+ sal_Int16 nLeftMargin;
+ sal_Int16 nTopMargin;
+ sal_Int16 nRightMargin;
+ sal_Int16 nBottomMargin;
public:
TYPEINFO();
- SvxMarginItem( const USHORT nId );
- SvxMarginItem( INT16 nLeft, INT16 nTop /*= 0*/,
- INT16 nRight /*= 0*/, INT16 nBottom /*= 0*/,
- const USHORT nId );
+ SvxMarginItem( const sal_uInt16 nId );
+ SvxMarginItem( sal_Int16 nLeft, sal_Int16 nTop /*= 0*/,
+ sal_Int16 nRight /*= 0*/, sal_Int16 nBottom /*= 0*/,
+ const sal_uInt16 nId );
SvxMarginItem( const SvxMarginItem& );
virtual SfxItemPresentation GetPresentation( SfxItemPresentation ePres,
@@ -103,20 +103,20 @@ public:
virtual int operator==( const SfxPoolItem& ) const;
virtual SfxPoolItem* Clone( SfxItemPool *pPool = 0 ) const;
- virtual SfxPoolItem* Create( SvStream& rStream, USHORT nVer ) const;
- virtual SvStream& Store( SvStream&, USHORT nItemVersion ) const;
-
- virtual bool QueryValue( com::sun::star::uno::Any& rVal, BYTE nMemberId = 0 ) const;
- virtual bool PutValue( const com::sun::star::uno::Any& rVal, BYTE nMemberId = 0 );
-
- INT16 GetLeftMargin() const {return nLeftMargin; }
- BOOL SetLeftMargin(INT16 nLeft);
- INT16 GetTopMargin() const {return nTopMargin; }
- BOOL SetTopMargin(INT16 nTop);
- INT16 GetRightMargin() const {return nRightMargin; }
- BOOL SetRightMargin(INT16 nRight);
- INT16 GetBottomMargin() const {return nBottomMargin; }
- BOOL SetBottomMargin(INT16 nBottom);
+ virtual SfxPoolItem* Create( SvStream& rStream, sal_uInt16 nVer ) const;
+ virtual SvStream& Store( SvStream&, sal_uInt16 nItemVersion ) const;
+
+ virtual bool QueryValue( com::sun::star::uno::Any& rVal, sal_uInt8 nMemberId = 0 ) const;
+ virtual bool PutValue( const com::sun::star::uno::Any& rVal, sal_uInt8 nMemberId = 0 );
+
+ sal_Int16 GetLeftMargin() const {return nLeftMargin; }
+ sal_Bool SetLeftMargin(sal_Int16 nLeft);
+ sal_Int16 GetTopMargin() const {return nTopMargin; }
+ sal_Bool SetTopMargin(sal_Int16 nTop);
+ sal_Int16 GetRightMargin() const {return nRightMargin; }
+ sal_Bool SetRightMargin(sal_Int16 nRight);
+ sal_Int16 GetBottomMargin() const {return nBottomMargin; }
+ sal_Bool SetBottomMargin(sal_Int16 nBottom);
inline SvxMarginItem& operator=(const SvxMarginItem& rMargin)
{
diff --git a/svx/inc/anchorid.hxx b/svx/inc/svx/anchorid.hxx
index ef30c6e02173..ef30c6e02173 100644..100755
--- a/svx/inc/anchorid.hxx
+++ b/svx/inc/svx/anchorid.hxx
diff --git a/svx/inc/svx/bmpmask.hxx b/svx/inc/svx/bmpmask.hxx
index f7be657b8d0b..3236078794ac 100644..100755
--- a/svx/inc/svx/bmpmask.hxx
+++ b/svx/inc/svx/bmpmask.hxx
@@ -51,11 +51,11 @@ private:
SvxBmpMask &rBmpMask;
protected:
- virtual void StateChanged( USHORT nSID, SfxItemState eState,
+ virtual void StateChanged( sal_uInt16 nSID, SfxItemState eState,
const SfxPoolItem* pState );
public:
- SvxBmpMaskSelectItem( USHORT nId, SvxBmpMask& rMask,
+ SvxBmpMaskSelectItem( sal_uInt16 nId, SvxBmpMask& rMask,
SfxBindings& rBindings );
};
@@ -69,7 +69,7 @@ class SVX_DLLPUBLIC SvxBmpMaskChildWindow : public SfxChildWindow
{
public:
SvxBmpMaskChildWindow( Window*,
- USHORT, SfxBindings*,
+ sal_uInt16, SfxBindings*,
SfxChildWinInfo* );
SFX_DECL_CHILDWINDOW(SvxBmpMaskChildWindow);
@@ -97,6 +97,9 @@ class SVX_DLLPUBLIC SvxBmpMask : public SfxDockingWindow
PushButton aBtnExec;
FixedLine aGrpQ;
+ FixedText aFt1;
+ FixedText aFt2;
+ FixedText aFt3;
CheckBox aCbx1;
MaskSet* pQSet1;
MetricField aSp1;
@@ -120,21 +123,19 @@ class SVX_DLLPUBLIC SvxBmpMask : public SfxDockingWindow
MaskData* pData;
CheckBox aCbxTrans;
ColorLB aLbColorTrans;
- FixedText aFt1;
- FixedText aFt2;
- FixedText aFt3;
+
const XColorTable* pColTab;
Color aPipetteColor;
SvxBmpMaskSelectItem aSelItem;
Image maImgPipette;
- virtual BOOL Close();
+ virtual sal_Bool Close();
#ifdef BMPMASK_PRIVATE
- USHORT InitColorArrays( Color* pSrcCols, Color* pDstCols,
- ULONG* pTols );
+ sal_uInt16 InitColorArrays( Color* pSrcCols, Color* pDstCols,
+ sal_uIntPtr* pTols );
Bitmap ImpMask( const Bitmap& rBitmap );
BitmapEx ImpMask( const BitmapEx& rBitmapEx );
@@ -163,14 +164,14 @@ public:
void SetColor( const Color& rColor );
void PipetteClicked();
- BOOL NeedsColorTable() const;
+ sal_Bool NeedsColorTable() const;
void SetColorTable( const XColorTable* pColorTable );
- void SetExecState( BOOL bEnable );
+ void SetExecState( sal_Bool bEnable );
Graphic Mask( const Graphic& rGraphic );
- BOOL IsEyedropping() const;
+ sal_Bool IsEyedropping() const;
void onSelect( MaskSet* pSet );
diff --git a/svx/inc/svx/camera3d.hxx b/svx/inc/svx/camera3d.hxx
index 3775adbc4be2..3775adbc4be2 100644..100755
--- a/svx/inc/svx/camera3d.hxx
+++ b/svx/inc/svx/camera3d.hxx
diff --git a/svx/inc/svx/charmap.hxx b/svx/inc/svx/charmap.hxx
index 95f320dddd47..db15ceff56dd 100644..100755
--- a/svx/inc/svx/charmap.hxx
+++ b/svx/inc/svx/charmap.hxx
@@ -59,7 +59,7 @@ public:
void SetFont( const Font& rFont );
- void SelectCharacter( sal_uInt32 cNew, BOOL bFocus = FALSE );
+ void SelectCharacter( sal_uInt32 cNew, sal_Bool bFocus = sal_False );
sal_UCS4 GetSelectCharacter() const;
Link GetDoubleClickHdl() const { return aDoubleClkHdl; }
@@ -77,12 +77,12 @@ public:
int FirstInView( void) const;
int LastInView( void) const;
int PixelToMapIndex( const Point&) const;
- void SelectIndex( int index, BOOL bFocus = FALSE );
+ void SelectIndex( int index, sal_Bool bFocus = sal_False );
void DeSelect();
- inline sal_Bool IsSelected(USHORT _nPos) const { return _nPos == nSelectedIndex; }
- inline USHORT GetSelectIndexId() const { return sal::static_int_cast<USHORT>(nSelectedIndex); }
- USHORT GetRowPos(USHORT _nPos) const;
- USHORT GetColumnPos(USHORT _nPos) const;
+ inline sal_Bool IsSelected(sal_uInt16 _nPos) const { return _nPos == nSelectedIndex; }
+ inline sal_uInt16 GetSelectIndexId() const { return sal::static_int_cast<sal_uInt16>(nSelectedIndex); }
+ sal_uInt16 GetRowPos(sal_uInt16 _nPos) const;
+ sal_uInt16 GetColumnPos(sal_uInt16 _nPos) const;
void ImplFireAccessibleEvent( short nEventId,
const ::com::sun::star::uno::Any& rOldValue,
@@ -120,7 +120,7 @@ private:
::com::sun::star::uno::Reference< ::com::sun::star::accessibility::XAccessible > m_xAccessible;
long nX;
long nY;
- BOOL bDrag;
+ sal_Bool bDrag;
sal_Int32 nSelectedIndex;
@@ -131,7 +131,7 @@ private:
private:
void DrawChars_Impl( int n1, int n2);
- void InitSettings( BOOL bForeground, BOOL bBackground);
+ void InitSettings( sal_Bool bForeground, sal_Bool bBackground);
// abstraction layers are: Unicode<->MapIndex<->Pixel
Point MapIndexToPixel( int) const;
DECL_LINK( VscrollHdl, ScrollBar* );
diff --git a/svx/inc/svx/checklbx.hxx b/svx/inc/svx/checklbx.hxx
index 2925fe950397..8b44b74096ce 100644..100755
--- a/svx/inc/svx/checklbx.hxx
+++ b/svx/inc/svx/checklbx.hxx
@@ -53,8 +53,8 @@ private:
using SvTreeListBox::InsertEntry;
// Avoid ambiguity with new InsertEntry:
virtual SvLBoxEntry* InsertEntry( const XubString& rText, SvLBoxEntry* pParent,
- BOOL bChildsOnDemand,
- ULONG nPos, void* pUserData,
+ sal_Bool bChildsOnDemand,
+ sal_uIntPtr nPos, void* pUserData,
SvLBoxButtonKind eButtonKind );
public:
@@ -65,23 +65,23 @@ public:
~SvxCheckListBox();
void InsertEntry ( const String& rStr,
- USHORT nPos = LISTBOX_APPEND,
+ sal_uInt16 nPos = LISTBOX_APPEND,
void* pUserData = NULL,
SvLBoxButtonKind eButtonKind =
SvLBoxButtonKind_enabledCheckbox );
- void RemoveEntry ( USHORT nPos );
+ void RemoveEntry ( sal_uInt16 nPos );
- void SelectEntryPos ( USHORT nPos, BOOL bSelect = TRUE );
- USHORT GetSelectEntryPos () const;
+ void SelectEntryPos ( sal_uInt16 nPos, sal_Bool bSelect = sal_True );
+ sal_uInt16 GetSelectEntryPos () const;
- String GetText ( USHORT nPos ) const;
- USHORT GetCheckedEntryCount() const;
- void CheckEntryPos ( USHORT nPos, BOOL bCheck = TRUE );
- BOOL IsChecked ( USHORT nPos ) const;
+ String GetText ( sal_uInt16 nPos ) const;
+ sal_uInt16 GetCheckedEntryCount() const;
+ void CheckEntryPos ( sal_uInt16 nPos, sal_Bool bCheck = sal_True );
+ sal_Bool IsChecked ( sal_uInt16 nPos ) const;
void ToggleCheckButton ( SvLBoxEntry* pEntry );
- void* SetEntryData ( USHORT nPos, void* pNewData );
- void* GetEntryData ( USHORT nPos ) const;
+ void* SetEntryData ( sal_uInt16 nPos, void* pNewData );
+ void* GetEntryData ( sal_uInt16 nPos ) const;
virtual void MouseButtonDown ( const MouseEvent& rMEvt );
virtual void KeyInput ( const KeyEvent& rKEvt );
diff --git a/svx/inc/chrtitem.hxx b/svx/inc/svx/chrtitem.hxx
index 13df1d38fdc4..71bf1dfeda90 100644..100755
--- a/svx/inc/chrtitem.hxx
+++ b/svx/inc/svx/chrtitem.hxx
@@ -115,21 +115,6 @@ enum SvxChartDataDescr
#define CHDESCR_COUNT (CHDESCR_TEXTANDVALUE + 1)
-enum SvxChartLegendPos
-{
- CHLEGEND_NONE,
- CHLEGEND_LEFT,
- CHLEGEND_TOP,
- CHLEGEND_RIGHT,
- CHLEGEND_BOTTOM,
- CHLEGEND_NONE_TOP,
- CHLEGEND_NONE_LEFT,
- CHLEGEND_NONE_RIGHT,
- CHLEGEND_NONE_BOTTOM
-};
-
-#define CHLEGEND_COUNT (CHLEGEND_BOTTOM + 1)
-
enum SvxChartTextOrder
{
CHTXTORDER_SIDEBYSIDE,
@@ -193,13 +178,13 @@ class SVX_DLLPUBLIC SvxChartStyleItem : public SfxEnumItem
public:
TYPEINFO();
SvxChartStyleItem(SvxChartStyle eStyle /*= CHSTYLE_2D_LINE*/,
- USHORT nId );
- SvxChartStyleItem(SvStream& rIn, USHORT nId );
+ sal_uInt16 nId );
+ SvxChartStyleItem(SvStream& rIn, sal_uInt16 nId );
virtual SfxPoolItem* Clone(SfxItemPool* pPool = 0) const;
- virtual SfxPoolItem* Create(SvStream& rIn, USHORT nVer) const;
+ virtual SfxPoolItem* Create(SvStream& rIn, sal_uInt16 nVer) const;
- USHORT GetValueCount() const { return CHSTYLE_COUNT; }
+ sal_uInt16 GetValueCount() const { return CHSTYLE_COUNT; }
SvxChartStyle GetValue() const
{ return (SvxChartStyle)SfxEnumItem::GetValue(); }
};
@@ -211,16 +196,16 @@ class SVX_DLLPUBLIC SvxChartRegressItem : public SfxEnumItem
public:
TYPEINFO();
SvxChartRegressItem(SvxChartRegress eRegress /*= CHREGRESS_LINEAR*/,
- USHORT nId );
- SvxChartRegressItem(SvStream& rIn, USHORT nId );
+ sal_uInt16 nId );
+ SvxChartRegressItem(SvStream& rIn, sal_uInt16 nId );
virtual SfxPoolItem* Clone(SfxItemPool* pPool = 0) const;
- virtual SfxPoolItem* Create(SvStream& rIn, USHORT nVer) const;
+ virtual SfxPoolItem* Create(SvStream& rIn, sal_uInt16 nVer) const;
- USHORT GetValueCount() const { return CHREGRESS_COUNT; }
+ sal_uInt16 GetValueCount() const { return CHREGRESS_COUNT; }
SvxChartRegress GetValue() const
{ return (SvxChartRegress)SfxEnumItem::GetValue(); }
- USHORT GetVersion (USHORT nFileFormatVersion) const;
+ sal_uInt16 GetVersion (sal_uInt16 nFileFormatVersion) const;
};
//------------------------------------------------------------------
@@ -230,55 +215,36 @@ class SVX_DLLPUBLIC SvxChartDataDescrItem : public SfxEnumItem
public:
TYPEINFO();
SvxChartDataDescrItem(SvxChartDataDescr eDataDescr /*= CHDESCR_NONE*/,
- USHORT nId );
+ sal_uInt16 nId );
SvxChartDataDescrItem(SvStream& rIn,
- USHORT nId );
+ sal_uInt16 nId );
virtual SfxPoolItem* Clone(SfxItemPool* pPool = 0) const;
- virtual SfxPoolItem* Create(SvStream& rIn, USHORT nVer) const;
+ virtual SfxPoolItem* Create(SvStream& rIn, sal_uInt16 nVer) const;
- USHORT GetValueCount() const { return CHDESCR_COUNT; }
+ sal_uInt16 GetValueCount() const { return CHDESCR_COUNT; }
SvxChartDataDescr GetValue() const
{ return (SvxChartDataDescr)SfxEnumItem::GetValue(); }
};
//------------------------------------------------------------------
-class SVX_DLLPUBLIC SvxChartLegendPosItem : public SfxEnumItem
-{
-public:
- TYPEINFO();
- SvxChartLegendPosItem(SvxChartLegendPos eLegendPos /*= CHLEGEND_NONE*/,
- USHORT nId );
- SvxChartLegendPosItem(SvStream& rIn,
- USHORT nId );
-
- virtual SfxPoolItem* Clone(SfxItemPool* pPool = 0) const;
- virtual SfxPoolItem* Create(SvStream& rIn, USHORT nVer) const;
-
- USHORT GetValueCount() const { return CHLEGEND_COUNT; }
- SvxChartLegendPos GetValue() const
- { return (SvxChartLegendPos)SfxEnumItem::GetValue(); }
-};
-
-//------------------------------------------------------------------
-
class SVX_DLLPUBLIC SvxChartTextOrderItem : public SfxEnumItem
{
public:
TYPEINFO();
SvxChartTextOrderItem(SvxChartTextOrder eOrder /*= CHTXTORDER_SIDEBYSIDE*/,
- USHORT nId );
+ sal_uInt16 nId );
SvxChartTextOrderItem(SvStream& rIn,
- USHORT nId );
+ sal_uInt16 nId );
virtual SfxPoolItem* Clone(SfxItemPool* pPool = 0) const;
- virtual SfxPoolItem* Create(SvStream& rIn, USHORT nVer) const;
+ virtual SfxPoolItem* Create(SvStream& rIn, sal_uInt16 nVer) const;
- virtual bool QueryValue( com::sun::star::uno::Any& rVal, BYTE nMemberId = 0 ) const;
- virtual bool PutValue( const com::sun::star::uno::Any& rVal, BYTE nMemberId = 0 );
+ virtual bool QueryValue( com::sun::star::uno::Any& rVal, sal_uInt8 nMemberId = 0 ) const;
+ virtual bool PutValue( const com::sun::star::uno::Any& rVal, sal_uInt8 nMemberId = 0 );
- USHORT GetValueCount() const { return CHTXTORDER_COUNT; }
+ sal_uInt16 GetValueCount() const { return CHTXTORDER_COUNT; }
SvxChartTextOrder GetValue() const
{ return (SvxChartTextOrder)SfxEnumItem::GetValue(); }
};
@@ -290,14 +256,14 @@ class SVX_DLLPUBLIC SvxChartTextOrientItem : public SfxEnumItem
public:
TYPEINFO();
SvxChartTextOrientItem(SvxChartTextOrient /*eOrient = CHTXTORIENT_STANDARD*/,
- USHORT nId );
+ sal_uInt16 nId );
SvxChartTextOrientItem(SvStream& rIn,
- USHORT nId );
+ sal_uInt16 nId );
virtual SfxPoolItem* Clone(SfxItemPool* pPool = 0) const;
- virtual SfxPoolItem* Create(SvStream& rIn, USHORT nVer) const;
+ virtual SfxPoolItem* Create(SvStream& rIn, sal_uInt16 nVer) const;
- USHORT GetValueCount() const { return CHTXTORDER_COUNT; }
+ sal_uInt16 GetValueCount() const { return CHTXTORDER_COUNT; }
SvxChartTextOrient GetValue() const
{ return (SvxChartTextOrient)SfxEnumItem::GetValue(); }
};
@@ -309,18 +275,18 @@ class SVX_DLLPUBLIC SvxChartKindErrorItem : public SfxEnumItem
public:
TYPEINFO();
SvxChartKindErrorItem(SvxChartKindError /*eOrient = CHERROR_NONE*/,
- USHORT nId );
+ sal_uInt16 nId );
SvxChartKindErrorItem(SvStream& rIn,
- USHORT nId );
+ sal_uInt16 nId );
virtual SfxPoolItem* Clone(SfxItemPool* pPool = 0) const;
- virtual SfxPoolItem* Create(SvStream& rIn, USHORT nVer) const;
+ virtual SfxPoolItem* Create(SvStream& rIn, sal_uInt16 nVer) const;
- USHORT GetValueCount() const { return CHERROR_COUNT; }
+ sal_uInt16 GetValueCount() const { return CHERROR_COUNT; }
SvxChartKindError GetValue() const
{ return (SvxChartKindError)SfxEnumItem::GetValue(); }
- USHORT GetVersion (USHORT nFileFormatVersion) const;
+ sal_uInt16 GetVersion (sal_uInt16 nFileFormatVersion) const;
};
//------------------------------------------------------------------
@@ -330,18 +296,18 @@ class SVX_DLLPUBLIC SvxChartIndicateItem : public SfxEnumItem
public:
TYPEINFO();
SvxChartIndicateItem(SvxChartIndicate eOrient /*= CHINDICATE_NONE*/,
- USHORT nId );
+ sal_uInt16 nId );
SvxChartIndicateItem(SvStream& rIn,
- USHORT nId );
+ sal_uInt16 nId );
virtual SfxPoolItem* Clone(SfxItemPool* pPool = 0) const;
- virtual SfxPoolItem* Create(SvStream& rIn, USHORT nVer) const;
+ virtual SfxPoolItem* Create(SvStream& rIn, sal_uInt16 nVer) const;
- USHORT GetValueCount() const { return CHINDICATE_COUNT; }
+ sal_uInt16 GetValueCount() const { return CHINDICATE_COUNT; }
SvxChartIndicate GetValue() const
{ return (SvxChartIndicate)SfxEnumItem::GetValue(); }
- USHORT GetVersion (USHORT nFileFormatVersion) const;
+ sal_uInt16 GetVersion (sal_uInt16 nFileFormatVersion) const;
};
//------------------------------------------------------------------
@@ -352,12 +318,12 @@ class SVX_DLLPUBLIC SvxDoubleItem : public SfxPoolItem
public:
TYPEINFO();
- SvxDoubleItem(double fValue /*= 0.0*/, USHORT nId );
- SvxDoubleItem(SvStream& rIn, USHORT nId );
+ SvxDoubleItem(double fValue /*= 0.0*/, sal_uInt16 nId );
+ SvxDoubleItem(SvStream& rIn, sal_uInt16 nId );
SvxDoubleItem(const SvxDoubleItem& rItem);
- virtual bool QueryValue( com::sun::star::uno::Any& rVal, BYTE nMemberId = 0 ) const;
- virtual bool PutValue( const com::sun::star::uno::Any& rVal, BYTE nMemberId = 0 );
+ virtual bool QueryValue( com::sun::star::uno::Any& rVal, sal_uInt8 nMemberId = 0 ) const;
+ virtual bool PutValue( const com::sun::star::uno::Any& rVal, sal_uInt8 nMemberId = 0 );
virtual String GetValueText() const;
virtual SfxItemPresentation GetPresentation(SfxItemPresentation ePres,
@@ -367,8 +333,8 @@ public:
virtual int operator == (const SfxPoolItem&) const;
virtual SfxPoolItem* Clone(SfxItemPool *pPool = NULL) const;
- virtual SfxPoolItem* Create(SvStream& rIn, USHORT nVersion) const;
- virtual SvStream& Store(SvStream& rOut, USHORT nItemVersion ) const;
+ virtual SfxPoolItem* Create(SvStream& rIn, sal_uInt16 nVersion) const;
+ virtual SvStream& Store(SvStream& rOut, sal_uInt16 nItemVersion ) const;
virtual double GetMin() const;
virtual double GetMax() const;
diff --git a/svx/inc/clipboardctl.hxx b/svx/inc/svx/clipboardctl.hxx
index b758dbcc7a80..c9a697bc9e5c 100644..100755
--- a/svx/inc/clipboardctl.hxx
+++ b/svx/inc/svx/clipboardctl.hxx
@@ -44,20 +44,20 @@ class SVX_DLLPUBLIC SvxClipBoardControl : public SfxToolBoxControl
{
SfxPoolItem* pClipboardFmtItem;
PopupMenu* pPopup;
- USHORT nItemId;
- BOOL bDisabled;
+ sal_uInt16 nItemId;
+ sal_Bool bDisabled;
void DelPopup();
public:
SFX_DECL_TOOLBOX_CONTROL();
- SvxClipBoardControl( USHORT nSlotId, USHORT nId, ToolBox& rTbx );
+ SvxClipBoardControl( sal_uInt16 nSlotId, sal_uInt16 nId, ToolBox& rTbx );
~SvxClipBoardControl();
virtual SfxPopupWindowType GetPopupWindowType() const;
virtual SfxPopupWindow* CreatePopupWindow();
- virtual void StateChanged( USHORT nSID,
+ virtual void StateChanged( sal_uInt16 nSID,
SfxItemState eState,
const SfxPoolItem* pState );
};
diff --git a/svx/inc/clipfmtitem.hxx b/svx/inc/svx/clipfmtitem.hxx
index 20fb06d3f022..acff3d8807c2 100644..100755
--- a/svx/inc/clipfmtitem.hxx
+++ b/svx/inc/svx/clipfmtitem.hxx
@@ -47,20 +47,20 @@ protected:
public:
TYPEINFO();
- SvxClipboardFmtItem( USHORT nId = 0 );
+ SvxClipboardFmtItem( sal_uInt16 nId = 0 );
SvxClipboardFmtItem( const SvxClipboardFmtItem& );
virtual ~SvxClipboardFmtItem();
- virtual bool QueryValue( com::sun::star::uno::Any& rVal, BYTE nMemberId ) const;
- virtual bool PutValue( const com::sun::star::uno::Any& rVal, BYTE nMemberId );
+ virtual bool QueryValue( com::sun::star::uno::Any& rVal, sal_uInt8 nMemberId ) const;
+ virtual bool PutValue( const com::sun::star::uno::Any& rVal, sal_uInt8 nMemberId );
- void AddClipbrdFormat( ULONG nId, USHORT nPos = USHRT_MAX );
- void AddClipbrdFormat( ULONG nId, const String& rName,
- USHORT nPos = USHRT_MAX );
- USHORT Count() const;
+ void AddClipbrdFormat( sal_uIntPtr nId, sal_uInt16 nPos = USHRT_MAX );
+ void AddClipbrdFormat( sal_uIntPtr nId, const String& rName,
+ sal_uInt16 nPos = USHRT_MAX );
+ sal_uInt16 Count() const;
- ULONG GetClipbrdFormatId( USHORT nPos ) const;
- const String& GetClipbrdFormatName( USHORT nPos ) const;
+ sal_uIntPtr GetClipbrdFormatId( sal_uInt16 nPos ) const;
+ const String& GetClipbrdFormatName( sal_uInt16 nPos ) const;
};
diff --git a/svx/inc/svx/colrctrl.hxx b/svx/inc/svx/colrctrl.hxx
index d2a3aba5e61d..9d91a424b444 100644..100755
--- a/svx/inc/svx/colrctrl.hxx
+++ b/svx/inc/svx/colrctrl.hxx
@@ -50,7 +50,7 @@ class SvxColorValueSet : public ValueSet, public DragSourceHelper
private:
- BOOL bLeft;
+ sal_Bool bLeft;
Point aDragPosPixel;
protected:
@@ -71,7 +71,7 @@ public:
SvxColorValueSet( Window* pParent, WinBits nWinStyle = WB_ITEMBORDER );
SvxColorValueSet( Window* pParent, const ResId& rResId );
- BOOL IsLeftButton() const { return bLeft; }
+ sal_Bool IsLeftButton() const { return bLeft; }
};
/*************************************************************************
@@ -83,7 +83,7 @@ public:
class SVX_DLLPUBLIC SvxColorChildWindow : public SfxChildWindow
{
public:
- SvxColorChildWindow( Window*, USHORT, SfxBindings*,
+ SvxColorChildWindow( Window*, sal_uInt16, SfxBindings*,
SfxChildWinInfo* );
SFX_DECL_CHILDWINDOW(SvxColorChildWindow);
@@ -102,10 +102,10 @@ class SvxColorDockingWindow : public SfxDockingWindow, public SfxListener
private:
XColorTable* pColorTable;
SvxColorValueSet aColorSet;
- USHORT nLeftSlot;
- USHORT nRightSlot;
- USHORT nCols;
- USHORT nLines;
+ sal_uInt16 nLeftSlot;
+ sal_uInt16 nRightSlot;
+ sal_uInt16 nCols;
+ sal_uInt16 nLines;
long nCount;
Size aColorSize;
Size aItemSize;
@@ -121,7 +121,7 @@ private:
virtual void GetFocus (void);
protected:
- virtual BOOL Close();
+ virtual sal_Bool Close();
virtual void Resize();
virtual void Resizing( Size& rSize );
@@ -134,7 +134,7 @@ public:
virtual void Notify( SfxBroadcaster& rBC, const SfxHint& rHint );
- void SetSlotIDs( USHORT nLeft, USHORT nRight )
+ void SetSlotIDs( sal_uInt16 nLeft, sal_uInt16 nRight )
{ nLeftSlot = nLeft; nRightSlot = nRight; }
virtual long Notify( NotifyEvent& rNEvt );
diff --git a/svx/inc/connctrl.hxx b/svx/inc/svx/connctrl.hxx
index 857f200d79d2..e60c93aa1578 100644..100755
--- a/svx/inc/connctrl.hxx
+++ b/svx/inc/svx/connctrl.hxx
@@ -63,7 +63,7 @@ public:
virtual void MouseButtonDown( const MouseEvent& rMEvt );
void SetAttributes( const SfxItemSet& rInAttrs );
- USHORT GetLineDeltaAnz();
+ sal_uInt16 GetLineDeltaAnz();
void Construct();
void SetView( const SdrView* pSdrView ) { pView = pSdrView; }
diff --git a/svx/inc/svx/contdlg.hxx b/svx/inc/svx/contdlg.hxx
index b33066b4658f..26e30a83ed4a 100644..100755
--- a/svx/inc/svx/contdlg.hxx
+++ b/svx/inc/svx/contdlg.hxx
@@ -46,11 +46,11 @@ class SVX_DLLPUBLIC SvxContourDlgChildWindow : public SfxChildWindow
{
public:
- SvxContourDlgChildWindow( Window*, USHORT, SfxBindings*, SfxChildWinInfo* );
+ SvxContourDlgChildWindow( Window*, sal_uInt16, SfxBindings*, SfxChildWinInfo* );
SFX_DECL_CHILDWINDOW( SvxContourDlgChildWindow );
- static void UpdateContourDlg( const Graphic& rGraphic, BOOL bGraphicLinked,
+ static void UpdateContourDlg( const Graphic& rGraphic, sal_Bool bGraphicLinked,
const PolyPolygon* pPolyPoly = NULL,
void* pEditingObj = NULL );
};
@@ -66,11 +66,11 @@ class SvxContourDlgItem : public SfxControllerItem
protected:
- virtual void StateChanged( USHORT nSID, SfxItemState eState, const SfxPoolItem* pState );
+ virtual void StateChanged( sal_uInt16 nSID, SfxItemState eState, const SfxPoolItem* pState );
public:
- SvxContourDlgItem( USHORT nId, SvxSuperContourDlg& rDlg, SfxBindings& rBindings );
+ SvxContourDlgItem( sal_uInt16 nId, SvxSuperContourDlg& rDlg, SfxBindings& rBindings );
};
class SVX_DLLPUBLIC SvxContourDlg : public SfxFloatingWindow
@@ -90,12 +90,12 @@ public:
Window* pParent, const ResId& rResId );
~SvxContourDlg();
- void SetExecState( BOOL bEnable );
+ void SetExecState( sal_Bool bEnable );
void SetGraphic( const Graphic& rGraphic );
- void SetGraphicLinked( BOOL bLinked );
+ void SetGraphicLinked( sal_Bool bLinked );
const Graphic& GetGraphic() const;
- BOOL IsGraphicChanged() const;
+ sal_Bool IsGraphicChanged() const;
void SetPolyPolygon( const PolyPolygon& rPolyPoly );
PolyPolygon GetPolyPolygon();
@@ -103,12 +103,12 @@ public:
void SetEditingObject( void* pObj );
const void* GetEditingObject() const;
- void Update( const Graphic& rGraphic, BOOL bGraphicLinked,
+ void Update( const Graphic& rGraphic, sal_Bool bGraphicLinked,
const PolyPolygon* pPolyPoly = NULL, void* pEditingObj = NULL );
static PolyPolygon CreateAutoContour( const Graphic& rGraphic,
const Rectangle* pRect = NULL,
- const ULONG nFlags = 0L );
+ const sal_uIntPtr nFlags = 0L );
static void ScaleContour( PolyPolygon& rContour, const Graphic& rGraphic,
const MapUnit eUnit, const Size& rDisplaySize );
};
diff --git a/svx/inc/svx/ctredlin.hxx b/svx/inc/svx/ctredlin.hxx
index d1bc17fd08c1..e7d5d46ed83d 100644..100755
--- a/svx/inc/svx/ctredlin.hxx
+++ b/svx/inc/svx/ctredlin.hxx
@@ -61,7 +61,7 @@ class SVX_DLLPUBLIC RedlinData
public:
RedlinData();
virtual ~RedlinData();
- BOOL bDisabled;
+ sal_Bool bDisabled;
DateTime aDateTime;
void* pData;
};
@@ -81,12 +81,12 @@ private:
Color aPrivColor;
public:
- SvLBoxColorString( SvLBoxEntry*,USHORT nFlags,const XubString& rStr,
+ SvLBoxColorString( SvLBoxEntry*,sal_uInt16 nFlags,const XubString& rStr,
const Color& rCol);
SvLBoxColorString();
~SvLBoxColorString();
- void Paint( const Point&, SvLBox& rDev, USHORT nFlags,SvLBoxEntry* );
+ void Paint( const Point&, SvLBox& rDev, sal_uInt16 nFlags,SvLBoxEntry* );
SvLBoxItem* Create() const;
};
@@ -96,12 +96,12 @@ class SVX_DLLPUBLIC SvxRedlinTable : public SvxSimpleTable
private:
- BOOL bIsCalc;
- USHORT nDatePos;
- BOOL bAuthor;
- BOOL bDate;
- BOOL bComment;
- USHORT nDaTiMode;
+ sal_Bool bIsCalc;
+ sal_uInt16 nDatePos;
+ sal_Bool bAuthor;
+ sal_Bool bDate;
+ sal_Bool bComment;
+ sal_uInt16 nDaTiMode;
DateTime aDaTiFirst;
DateTime aDaTiLast;
DateTime aDaTiFilterFirst;
@@ -126,35 +126,35 @@ public:
~SvxRedlinTable();
// For FilterPage only {
- void SetFilterDate(BOOL bFlag=TRUE);
- void SetDateTimeMode(USHORT nMode);
+ void SetFilterDate(sal_Bool bFlag=sal_True);
+ void SetDateTimeMode(sal_uInt16 nMode);
void SetFirstDate(const Date&);
void SetLastDate(const Date&);
void SetFirstTime(const Time&);
void SetLastTime(const Time&);
- void SetFilterAuthor(BOOL bFlag=TRUE);
+ void SetFilterAuthor(sal_Bool bFlag=sal_True);
void SetAuthor(const String &);
- void SetFilterComment(BOOL bFlag=TRUE);
+ void SetFilterComment(sal_Bool bFlag=sal_True);
void SetCommentParams( const utl::SearchParam* pSearchPara );
void UpdateFilterTest();
// } For FilterPage only
- void SetCalcView(BOOL bFlag=TRUE);
- BOOL IsValidCalcEntry(const String& ,RedlinData *pUserData);
- BOOL IsValidWriterEntry(const String& ,RedlinData *pUserData);
+ void SetCalcView(sal_Bool bFlag=sal_True);
+ sal_Bool IsValidCalcEntry(const String& ,RedlinData *pUserData);
+ sal_Bool IsValidWriterEntry(const String& ,RedlinData *pUserData);
// no NULL-pointer checking {
- BOOL IsValidEntry(const String* pAuthor,const DateTime *pDateTime,const String* pComment);
- BOOL IsValidEntry(const String* pAuthor,const DateTime *pDateTime);
- BOOL IsValidComment(const String* pComment);
+ sal_Bool IsValidEntry(const String* pAuthor,const DateTime *pDateTime,const String* pComment);
+ sal_Bool IsValidEntry(const String* pAuthor,const DateTime *pDateTime);
+ sal_Bool IsValidComment(const String* pComment);
// }
SvLBoxEntry* InsertEntry(const String& ,RedlinData *pUserData,
- SvLBoxEntry* pParent=NULL,ULONG nPos=LIST_APPEND);
+ SvLBoxEntry* pParent=NULL,sal_uIntPtr nPos=LIST_APPEND);
SvLBoxEntry* InsertEntry(const String& ,RedlinData *pUserData,const Color&,
- SvLBoxEntry* pParent=NULL,ULONG nPos=LIST_APPEND);
+ SvLBoxEntry* pParent=NULL,sal_uIntPtr nPos=LIST_APPEND);
virtual SvLBoxEntry* CreateEntry() const;
@@ -201,7 +201,7 @@ private:
String aActionStr;
String aRangeStr;
String aStrMyName;
- BOOL bModified;
+ sal_Bool bModified;
DECL_LINK( SelDateHdl, ListBox* );
DECL_LINK( RowEnableHdl, CheckBox* );
@@ -213,9 +213,9 @@ private:
protected:
- void ShowDateFields(USHORT nKind);
- void EnableDateLine1(BOOL bFlag);
- void EnableDateLine2(BOOL bFlag);
+ void ShowDateFields(sal_uInt16 nKind);
+ void EnableDateLine1(sal_Bool bFlag);
+ void EnableDateLine2(sal_Bool bFlag);
public:
SvxTPFilter( Window * pParent);
@@ -234,15 +234,15 @@ public:
Time GetLastTime() const;
void SetLastTime(const Time &aTime);
- void SetDateMode(USHORT nMode);
- USHORT GetDateMode();
+ void SetDateMode(sal_uInt16 nMode);
+ sal_uInt16 GetDateMode();
void ClearAuthors();
- void InsertAuthor( const String& rString, USHORT nPos = LISTBOX_APPEND );
- USHORT GetSelectedAuthorPos();
+ void InsertAuthor( const String& rString, sal_uInt16 nPos = LISTBOX_APPEND );
+ sal_uInt16 GetSelectedAuthorPos();
String GetSelectedAuthor()const;
- void SelectedAuthorPos(USHORT nPos);
- USHORT SelectAuthor(const String& aString);
+ void SelectedAuthorPos(sal_uInt16 nPos);
+ sal_uInt16 SelectAuthor(const String& aString);
void SetComment(const String &rComment);
String GetComment()const;
@@ -250,27 +250,27 @@ public:
// Methods for Calc {
void SetRange(const String& rString);
String GetRange() const;
- void HideRange(BOOL bHide=TRUE);
- void DisableRange(BOOL bFlag=TRUE);
+ void HideRange(sal_Bool bHide=sal_True);
+ void DisableRange(sal_Bool bFlag=sal_True);
void SetFocusToRange();
// } Methods for Calc
- void HideClocks(BOOL bHide=TRUE);
- void DisableRef(BOOL bFlag);
+ void HideClocks(sal_Bool bHide=sal_True);
+ void DisableRef(sal_Bool bFlag);
- BOOL IsDate();
- BOOL IsAuthor();
- BOOL IsRange();
- BOOL IsAction();
- BOOL IsComment();
+ sal_Bool IsDate();
+ sal_Bool IsAuthor();
+ sal_Bool IsRange();
+ sal_Bool IsAction();
+ sal_Bool IsComment();
- void ShowAction(BOOL bShow=TRUE);
+ void ShowAction(sal_Bool bShow=sal_True);
- void CheckDate(BOOL bFlag=TRUE);
- void CheckAuthor(BOOL bFlag=TRUE);
- void CheckRange(BOOL bFlag=TRUE);
- void CheckAction(BOOL bFlag=TRUE);
- void CheckComment(BOOL bFlag=TRUE);
+ void CheckDate(sal_Bool bFlag=sal_True);
+ void CheckAuthor(sal_Bool bFlag=sal_True);
+ void CheckRange(sal_Bool bFlag=sal_True);
+ void CheckAction(sal_Bool bFlag=sal_True);
+ void CheckComment(sal_Bool bFlag=sal_True);
ListBox* GetLbAction();
@@ -349,21 +349,21 @@ public:
void InsertCalcHeader();
SvxRedlinTable* GetTableControl();
- void EnableAccept(BOOL nFlag=TRUE);
- void EnableAcceptAll(BOOL nFlag=TRUE);
- void EnableReject(BOOL nFlag=TRUE);
- void EnableRejectAll(BOOL nFlag=TRUE);
- void EnableUndo(BOOL nFlag=TRUE);
+ void EnableAccept(sal_Bool nFlag=sal_True);
+ void EnableAcceptAll(sal_Bool nFlag=sal_True);
+ void EnableReject(sal_Bool nFlag=sal_True);
+ void EnableRejectAll(sal_Bool nFlag=sal_True);
+ void EnableUndo(sal_Bool nFlag=sal_True);
- void DisableAccept() {EnableAccept(FALSE);}
- void DisableAcceptAll() {EnableAcceptAll(FALSE);}
- void DisableReject() {EnableReject(FALSE);}
- void DisableRejectAll() {EnableRejectAll(FALSE);}
- void DisableUndo() {EnableUndo(FALSE);}
+ void DisableAccept() {EnableAccept(sal_False);}
+ void DisableAcceptAll() {EnableAcceptAll(sal_False);}
+ void DisableReject() {EnableReject(sal_False);}
+ void DisableRejectAll() {EnableRejectAll(sal_False);}
+ void DisableUndo() {EnableUndo(sal_False);}
- void ShowUndo(BOOL nFlag=TRUE);
- void HideUndo() {ShowUndo(FALSE);}
- BOOL IsUndoVisible();
+ void ShowUndo(sal_Bool nFlag=sal_True);
+ void HideUndo() {ShowUndo(sal_False);}
+ sal_Bool IsUndoVisible();
Size GetMinSizePixel();
@@ -412,8 +412,8 @@ public:
void ShowFilterPage();
void ShowViewPage();
- BOOL IsFilterPageVisible();
- BOOL IsViewPageVisible();
+ sal_Bool IsFilterPageVisible();
+ sal_Bool IsViewPageVisible();
SvxTPFilter* GetFilterPage();
SvxTPView* GetViewPage();
diff --git a/svx/inc/svx/cube3d.hxx b/svx/inc/svx/cube3d.hxx
index 26e872f0cfe5..5538aec90ec9 100644..100755
--- a/svx/inc/svx/cube3d.hxx
+++ b/svx/inc/svx/cube3d.hxx
@@ -56,7 +56,7 @@ private:
// Parameter
basegfx::B3DPoint aCubePos;
basegfx::B3DVector aCubeSize;
- UINT16 nSideFlags;
+ sal_uInt16 nSideFlags;
// BOOLeans
unsigned bPosIsCenter : 1;
@@ -70,8 +70,8 @@ public:
E3dCubeObj(E3dDefaultAttributes& rDefault, basegfx::B3DPoint aPos, const basegfx::B3DVector& r3DSize);
E3dCubeObj();
- virtual UINT16 GetObjIdentifier() const;
- virtual SdrObject* DoConvertToPolyObj(BOOL bBezier) const;
+ virtual sal_uInt16 GetObjIdentifier() const;
+ virtual SdrObject* DoConvertToPolyObj(sal_Bool bBezier) const;
virtual void operator=(const SdrObject&);
@@ -82,11 +82,11 @@ public:
void SetCubeSize(const basegfx::B3DVector& rNew);
const basegfx::B3DVector& GetCubeSize() { return aCubeSize; }
- void SetPosIsCenter(BOOL bNew);
- BOOL GetPosIsCenter() { return (BOOL)bPosIsCenter; }
+ void SetPosIsCenter(sal_Bool bNew);
+ sal_Bool GetPosIsCenter() { return (sal_Bool)bPosIsCenter; }
- void SetSideFlags(UINT16 nNew);
- UINT16 GetSideFlags() { return nSideFlags; }
+ void SetSideFlags(sal_uInt16 nNew);
+ sal_uInt16 GetSideFlags() { return nSideFlags; }
// TakeObjName...() is for the display in the UI, for example "3 frames selected".
virtual void TakeObjNameSingul(String& rName) const;
diff --git a/svx/inc/svx/dataaccessdescriptor.hxx b/svx/inc/svx/dataaccessdescriptor.hxx
index 063424661ddc..063424661ddc 100644..100755
--- a/svx/inc/svx/dataaccessdescriptor.hxx
+++ b/svx/inc/svx/dataaccessdescriptor.hxx
diff --git a/svx/inc/svx/databaselocationinput.hxx b/svx/inc/svx/databaselocationinput.hxx
index 361c48928b1a..361c48928b1a 100644..100755
--- a/svx/inc/svx/databaselocationinput.hxx
+++ b/svx/inc/svx/databaselocationinput.hxx
diff --git a/svx/inc/databaseregistrationui.hxx b/svx/inc/svx/databaseregistrationui.hxx
index cbeed6363d8d..d168ed5b036b 100644..100755
--- a/svx/inc/databaseregistrationui.hxx
+++ b/svx/inc/svx/databaseregistrationui.hxx
@@ -1,4 +1,3 @@
-/* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
/*************************************************************************
*
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
@@ -45,12 +44,10 @@ namespace svx
/** opens a dialog which allows the user to administrate the database registrations
*/
- USHORT SVX_DLLPUBLIC administrateDatabaseRegistration( Window* _parentWindow );
+ sal_uInt16 SVX_DLLPUBLIC administrateDatabaseRegistration( Window* _parentWindow );
//........................................................................
} // namespace svx
//........................................................................
#endif // SVX_DATABASE_REGISTRATION_UI_HXX
-
-/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/svx/inc/svx/dbaexchange.hxx b/svx/inc/svx/dbaexchange.hxx
index ba0a092439ea..ba0a092439ea 100644..100755
--- a/svx/inc/svx/dbaexchange.hxx
+++ b/svx/inc/svx/dbaexchange.hxx
diff --git a/svx/inc/svx/dbaobjectex.hxx b/svx/inc/svx/dbaobjectex.hxx
index cd1d78a1657b..cd1d78a1657b 100644..100755
--- a/svx/inc/svx/dbaobjectex.hxx
+++ b/svx/inc/svx/dbaobjectex.hxx
diff --git a/svx/inc/svx/dbcharsethelper.hxx b/svx/inc/svx/dbcharsethelper.hxx
index 39d76d4fe400..39d76d4fe400 100644..100755
--- a/svx/inc/svx/dbcharsethelper.hxx
+++ b/svx/inc/svx/dbcharsethelper.hxx
diff --git a/svx/inc/dbexch.hrc b/svx/inc/svx/dbexch.hrc
index faa2274987cd..faa2274987cd 100644..100755
--- a/svx/inc/dbexch.hrc
+++ b/svx/inc/svx/dbexch.hrc
diff --git a/svx/inc/svx/dbtoolsclient.hxx b/svx/inc/svx/dbtoolsclient.hxx
index 5d538aa4590b..909bd1306cd8 100644..100755
--- a/svx/inc/svx/dbtoolsclient.hxx
+++ b/svx/inc/svx/dbtoolsclient.hxx
@@ -58,7 +58,7 @@ namespace svxform
static ::connectivity::simple::createDataAccessToolsFactoryFunction
s_pFactoryCreationFunc;
- mutable BOOL m_bCreateAlready;
+ mutable sal_Bool m_bCreateAlready;
private:
mutable ::rtl::Reference< ::connectivity::simple::IDataAccessToolsFactory > m_xDataAccessFactory;
diff --git a/svx/inc/svx/def3d.hxx b/svx/inc/svx/def3d.hxx
index 408ec5ea1d00..408ec5ea1d00 100644..100755
--- a/svx/inc/svx/def3d.hxx
+++ b/svx/inc/svx/def3d.hxx
diff --git a/svx/inc/svx/deflt3d.hxx b/svx/inc/svx/deflt3d.hxx
index 74a10ebfdedd..ed735e0a71d2 100644..100755
--- a/svx/inc/svx/deflt3d.hxx
+++ b/svx/inc/svx/deflt3d.hxx
@@ -45,14 +45,14 @@ class SVX_DLLPUBLIC E3dDefaultAttributes
private:
// Compound object
Color aDefaultAmbientColor;
- BOOL bDefaultCreateNormals;
- BOOL bDefaultCreateTexture;
+ sal_Bool bDefaultCreateNormals;
+ sal_Bool bDefaultCreateTexture;
// Cube object
basegfx::B3DPoint aDefaultCubePos;
basegfx::B3DVector aDefaultCubeSize;
- UINT16 nDefaultCubeSideFlags;
- BOOL bDefaultCubePosIsCenter;
+ sal_uInt16 nDefaultCubeSideFlags;
+ sal_Bool bDefaultCubePosIsCenter;
// Sphere object
basegfx::B3DPoint aDefaultSphereCenter;
@@ -60,18 +60,18 @@ private:
// Lathe object
long nDefaultLatheEndAngle;
- BOOL bDefaultLatheSmoothed;
- BOOL bDefaultLatheSmoothFrontBack;
- BOOL bDefaultLatheCharacterMode;
- BOOL bDefaultLatheCloseFront;
- BOOL bDefaultLatheCloseBack;
+ sal_Bool bDefaultLatheSmoothed;
+ sal_Bool bDefaultLatheSmoothFrontBack;
+ sal_Bool bDefaultLatheCharacterMode;
+ sal_Bool bDefaultLatheCloseFront;
+ sal_Bool bDefaultLatheCloseBack;
// Extrude object
- BOOL bDefaultExtrudeSmoothed;
- BOOL bDefaultExtrudeSmoothFrontBack;
- BOOL bDefaultExtrudeCharacterMode;
- BOOL bDefaultExtrudeCloseFront;
- BOOL bDefaultExtrudeCloseBack;
+ sal_Bool bDefaultExtrudeSmoothed;
+ sal_Bool bDefaultExtrudeSmoothFrontBack;
+ sal_Bool bDefaultExtrudeCharacterMode;
+ sal_Bool bDefaultExtrudeCloseFront;
+ sal_Bool bDefaultExtrudeCloseBack;
public:
// Construktor
@@ -85,20 +85,20 @@ public:
const Color& GetDefaultAmbientColor() { return aDefaultAmbientColor; }
void SetDefaultAmbientColor(const Color& rNew) { aDefaultAmbientColor = rNew; }
- BOOL GetDefaultCreateNormals() const { return bDefaultCreateNormals; }
- void SetDefaultCreateNormals(const BOOL bNew) { bDefaultCreateNormals = bNew; }
- BOOL GetDefaultCreateTexture() const { return bDefaultCreateTexture; }
- void SetDefaultCreateTexture(const BOOL bNew) { bDefaultCreateTexture = bNew; }
+ sal_Bool GetDefaultCreateNormals() const { return bDefaultCreateNormals; }
+ void SetDefaultCreateNormals(const sal_Bool bNew) { bDefaultCreateNormals = bNew; }
+ sal_Bool GetDefaultCreateTexture() const { return bDefaultCreateTexture; }
+ void SetDefaultCreateTexture(const sal_Bool bNew) { bDefaultCreateTexture = bNew; }
// Cube object
const basegfx::B3DPoint& GetDefaultCubePos() { return aDefaultCubePos; }
void SetDefaultCubePos(const basegfx::B3DPoint& rNew) { aDefaultCubePos = rNew; }
const basegfx::B3DVector& GetDefaultCubeSize() { return aDefaultCubeSize; }
void SetDefaultCubeSize(const basegfx::B3DVector& rNew) { aDefaultCubeSize = rNew; }
- UINT16 GetDefaultCubeSideFlags() const { return nDefaultCubeSideFlags; }
- void SetDefaultCubeSideFlags(const UINT16 nNew) { nDefaultCubeSideFlags = nNew; }
- BOOL GetDefaultCubePosIsCenter() const { return bDefaultCubePosIsCenter; }
- void SetDefaultCubePosIsCenter(const BOOL bNew) { bDefaultCubePosIsCenter = bNew; }
+ sal_uInt16 GetDefaultCubeSideFlags() const { return nDefaultCubeSideFlags; }
+ void SetDefaultCubeSideFlags(const sal_uInt16 nNew) { nDefaultCubeSideFlags = nNew; }
+ sal_Bool GetDefaultCubePosIsCenter() const { return bDefaultCubePosIsCenter; }
+ void SetDefaultCubePosIsCenter(const sal_Bool bNew) { bDefaultCubePosIsCenter = bNew; }
// Sphere object
const basegfx::B3DPoint& GetDefaultSphereCenter() { return aDefaultSphereCenter; }
@@ -109,28 +109,28 @@ public:
// Lathe object
long GetDefaultLatheEndAngle() const { return nDefaultLatheEndAngle; }
void SetDefaultLatheEndAngle(const long nNew) { nDefaultLatheEndAngle = nNew; }
- BOOL GetDefaultLatheSmoothed() const { return bDefaultLatheSmoothed; }
- void SetDefaultLatheSmoothed(const BOOL bNew) { bDefaultLatheSmoothed = bNew; }
- BOOL GetDefaultLatheSmoothFrontBack() const { return bDefaultLatheSmoothFrontBack; }
- void SetDefaultLatheSmoothFrontBack(const BOOL bNew) { bDefaultLatheSmoothFrontBack = bNew; }
- BOOL GetDefaultLatheCharacterMode() const { return bDefaultLatheCharacterMode; }
- void SetDefaultLatheCharacterMode(const BOOL bNew) { bDefaultLatheCharacterMode = bNew; }
- BOOL GetDefaultLatheCloseFront() const { return bDefaultLatheCloseFront; }
- void SetDefaultLatheCloseFront(const BOOL bNew) { bDefaultLatheCloseFront = bNew; }
- BOOL GetDefaultLatheCloseBack() const { return bDefaultLatheCloseBack; }
- void SetDefaultLatheCloseBack(const BOOL bNew) { bDefaultLatheCloseBack = bNew; }
+ sal_Bool GetDefaultLatheSmoothed() const { return bDefaultLatheSmoothed; }
+ void SetDefaultLatheSmoothed(const sal_Bool bNew) { bDefaultLatheSmoothed = bNew; }
+ sal_Bool GetDefaultLatheSmoothFrontBack() const { return bDefaultLatheSmoothFrontBack; }
+ void SetDefaultLatheSmoothFrontBack(const sal_Bool bNew) { bDefaultLatheSmoothFrontBack = bNew; }
+ sal_Bool GetDefaultLatheCharacterMode() const { return bDefaultLatheCharacterMode; }
+ void SetDefaultLatheCharacterMode(const sal_Bool bNew) { bDefaultLatheCharacterMode = bNew; }
+ sal_Bool GetDefaultLatheCloseFront() const { return bDefaultLatheCloseFront; }
+ void SetDefaultLatheCloseFront(const sal_Bool bNew) { bDefaultLatheCloseFront = bNew; }
+ sal_Bool GetDefaultLatheCloseBack() const { return bDefaultLatheCloseBack; }
+ void SetDefaultLatheCloseBack(const sal_Bool bNew) { bDefaultLatheCloseBack = bNew; }
// Extrude object
- BOOL GetDefaultExtrudeSmoothed() const { return bDefaultExtrudeSmoothed; }
- void SetDefaultExtrudeSmoothed(const BOOL bNew) { bDefaultExtrudeSmoothed = bNew; }
- BOOL GetDefaultExtrudeSmoothFrontBack() const { return bDefaultExtrudeSmoothFrontBack; }
- void SetDefaultExtrudeSmoothFrontBack(const BOOL bNew) { bDefaultExtrudeSmoothFrontBack = bNew; }
- BOOL GetDefaultExtrudeCharacterMode() const { return bDefaultExtrudeCharacterMode; }
- void SetDefaultExtrudeCharacterMode(const BOOL bNew) { bDefaultExtrudeCharacterMode = bNew; }
- BOOL GetDefaultExtrudeCloseFront() const { return bDefaultExtrudeCloseFront; }
- void SetDefaultExtrudeCloseFront(const BOOL bNew) { bDefaultExtrudeCloseFront = bNew; }
- BOOL GetDefaultExtrudeCloseBack() const { return bDefaultExtrudeCloseBack; }
- void SetDefaultExtrudeCloseBack(const BOOL bNew) { bDefaultExtrudeCloseBack = bNew; }
+ sal_Bool GetDefaultExtrudeSmoothed() const { return bDefaultExtrudeSmoothed; }
+ void SetDefaultExtrudeSmoothed(const sal_Bool bNew) { bDefaultExtrudeSmoothed = bNew; }
+ sal_Bool GetDefaultExtrudeSmoothFrontBack() const { return bDefaultExtrudeSmoothFrontBack; }
+ void SetDefaultExtrudeSmoothFrontBack(const sal_Bool bNew) { bDefaultExtrudeSmoothFrontBack = bNew; }
+ sal_Bool GetDefaultExtrudeCharacterMode() const { return bDefaultExtrudeCharacterMode; }
+ void SetDefaultExtrudeCharacterMode(const sal_Bool bNew) { bDefaultExtrudeCharacterMode = bNew; }
+ sal_Bool GetDefaultExtrudeCloseFront() const { return bDefaultExtrudeCloseFront; }
+ void SetDefaultExtrudeCloseFront(const sal_Bool bNew) { bDefaultExtrudeCloseFront = bNew; }
+ sal_Bool GetDefaultExtrudeCloseBack() const { return bDefaultExtrudeCloseBack; }
+ void SetDefaultExtrudeCloseBack(const sal_Bool bNew) { bDefaultExtrudeCloseBack = bNew; }
};
#endif // _E3D_DEFLT3D_HXX
diff --git a/svx/inc/dialcontrol.hxx b/svx/inc/svx/dialcontrol.hxx
index ff79216b341f..ff79216b341f 100644..100755
--- a/svx/inc/dialcontrol.hxx
+++ b/svx/inc/svx/dialcontrol.hxx
diff --git a/svx/inc/svx/dialmgr.hxx b/svx/inc/svx/dialmgr.hxx
index 2dbe32f32303..2dbe32f32303 100644..100755
--- a/svx/inc/svx/dialmgr.hxx
+++ b/svx/inc/svx/dialmgr.hxx
diff --git a/svx/inc/svx/dialogs.hrc b/svx/inc/svx/dialogs.hrc
index 3f59486a633f..ed623cd2e699 100755
--- a/svx/inc/svx/dialogs.hrc
+++ b/svx/inc/svx/dialogs.hrc
@@ -52,6 +52,14 @@
#define RID_SVXSTR_LINESTYLE (RID_SVX_START + 173)
#define RID_SVXSTR_FIELDUNIT_TABLE (RID_SVX_START + 311)
#define RID_SVXSTR_COLOR_USER (RID_SVX_START + 250)
+//IAccessibility2 Implementation 2009-----
+#define RID_SVXSTR_GALLERYPROPS_GALTHEME (RID_SVX_START + 251)
+#define RID_SVXSTR_GALLERY_THEMEITEMS (RID_SVX_START + 252)
+#define RID_SVXSTR_GALLERY_THEMENAME (RID_SVX_START + 253)
+#define RID_SVXSTR_GALLERY_FILESFOUND (RID_SVX_START + 254)
+#define RID_SVXSTR_GALLERY_PREVIEW (RID_SVX_START + 255)
+//-----IAccessibility2 Implementation 2009
+
// factory IDs of tabpages implemented in CUI
#define RID_SVXPAGE_CHAR_TWOLINES (RID_SVX_START + 242)
@@ -306,10 +314,6 @@
#define RID_SVXBMP_3D_FOCAL_LENGTH_09 (RID_SVX_START + 180)
#define RID_SVXBMP_3D_FOCAL_LENGTH_10 (RID_SVX_START + 181)
-// for ToolboxControls alignment and draw objects
-#define RID_SVXTBX_DRAW (RID_SVX_START + 189)
-#define RID_SVXTBX_ALIGNMENT (RID_SVX_START + 190)
-
// Ids fuer auto correction
#define RID_SVX_AUTOCORR (RID_SVX_START + 192)
@@ -925,6 +929,9 @@
#define RID_SVXSTR_NEXTFREE (RID_SVX_START + 1191)
+//IAccessibility2 Implementation 2009-----
+#define RID_SVXSTR_TEXTCOLOR (RID_SVX_START + 1178)
+//-----IAccessibility2 Implementation 2009
// ----------------------------------------------------------------------------
// if we have _a_lot_ time, we should group the resource ids by type, instead
// of grouping them by semantics. The reason is that resource ids have to be
@@ -1000,8 +1007,10 @@
#define SID_SC_TP_MISC (RID_OFA_START + 239)
#define OFA_TP_TABPROPERTIES_TEXT (RID_OFA_START + 245)
#define OFA_TP_HELPERPROG (RID_OFA_START + 249)
-#define SID_SC_TP_FORMULA (RID_OFA_START + 257)
-#define SID_SC_TP_COMPATIBILITY (RID_OFA_START + 258)
+#define STR_COLORTABLE (RID_OFA_START + 257)
+#define STR_SWITCH (RID_OFA_START + 258)
+#define SID_SC_TP_FORMULA (RID_OFA_START + 259)
+#define SID_SC_TP_COMPATIBILITY (RID_OFA_START + 260)
// ----------------------------------------------------------------------------
// ooo-build specific resources
diff --git a/svx/inc/svx/dlgctl3d.hxx b/svx/inc/svx/dlgctl3d.hxx
index 2f910dd4d1e4..2f910dd4d1e4 100644..100755
--- a/svx/inc/svx/dlgctl3d.hxx
+++ b/svx/inc/svx/dlgctl3d.hxx
diff --git a/svx/inc/svx/dlgctrl.hxx b/svx/inc/svx/dlgctrl.hxx
index dee0b907fcb9..75303629b64a 100644..100755
--- a/svx/inc/svx/dlgctrl.hxx
+++ b/svx/inc/svx/dlgctrl.hxx
@@ -83,7 +83,7 @@ public:
|* an object
|*
\************************************************************************/
-typedef UINT16 CTL_STATE;
+typedef sal_uInt16 CTL_STATE;
#define CS_NOHORZ 1 // no horizontal input information is used
#define CS_NOVERT 2 // no vertikal input information is used
@@ -92,15 +92,15 @@ class SvxRectCtlAccessibleContext;
class SVX_DLLPUBLIC SvxRectCtl : public Control
{
private:
- SVX_DLLPRIVATE void InitSettings( BOOL bForeground, BOOL bBackground );
+ SVX_DLLPRIVATE void InitSettings( sal_Bool bForeground, sal_Bool bBackground );
SVX_DLLPRIVATE void InitRectBitmap( void );
SVX_DLLPRIVATE Bitmap& GetRectBitmap( void );
SVX_DLLPRIVATE void Resize_Impl();
protected:
SvxRectCtlAccessibleContext* pAccContext;
- USHORT nBorderWidth;
- USHORT nRadius;
+ sal_uInt16 nBorderWidth;
+ sal_uInt16 nRadius;
Size aSize;
Point aPtLT, aPtMT, aPtRT;
Point aPtLM, aPtMM, aPtRM;
@@ -124,7 +124,7 @@ protected:
Point GetApproxLogPtFromPixPt( const Point& rRoughPixelPoint ) const;
public:
SvxRectCtl( Window* pParent, const ResId& rResId, RECT_POINT eRpt = RP_MM,
- USHORT nBorder = 200, USHORT nCircle = 80, CTL_STYLE eStyle = CS_RECT );
+ sal_uInt16 nBorder = 200, sal_uInt16 nCircle = 80, CTL_STYLE eStyle = CS_RECT );
virtual ~SvxRectCtl();
virtual void Paint( const Rectangle& rRect );
@@ -140,7 +140,7 @@ public:
void SetState( CTL_STATE nState );
- UINT8 GetNumOfChilds( void ) const; // returns number of usable radio buttons
+ sal_uInt8 GetNumOfChilds( void ) const; // returns number of usable radio buttons
Rectangle CalculateFocusRectangle( void ) const;
Rectangle CalculateFocusRectangle( RECT_POINT eRectPoint ) const;
@@ -167,7 +167,7 @@ private:
protected:
Font aFont;
Size aFontSize;
- BOOL bPositive;
+ sal_Bool bPositive;
public:
SvxAngleCtl( Window* pParent, const ResId& rResId );
@@ -188,9 +188,9 @@ class SVX_DLLPUBLIC SvxBitmapCtl
{
protected:
Size aSize;
- USHORT nLines;
+ sal_uInt16 nLines;
Color aPixelColor, aBackgroundColor;
- const USHORT* pBmpArray;
+ const sal_uInt16* pBmpArray;
public:
SvxBitmapCtl( Window* pParent, const Size& rSize );
@@ -198,8 +198,8 @@ public:
XOBitmap GetXBitmap();
- void SetBmpArray( const USHORT* pPixel ) { pBmpArray = pPixel; }
- void SetLines( USHORT nLns ) { nLines = nLns; }
+ void SetBmpArray( const sal_uInt16* pPixel ) { pBmpArray = pPixel; }
+ void SetLines( sal_uInt16 nLns ) { nLines = nLns; }
void SetPixelColor( Color aColor ) { aPixelColor = aColor; }
void SetBackgroundColor( Color aColor ) { aBackgroundColor = aColor; }
};
@@ -215,19 +215,19 @@ private:
using OutputDevice::SetLineColor;
protected:
- USHORT nLines, nSquares;
+ sal_uInt16 nLines, nSquares;
Color aPixelColor;
Color aBackgroundColor;
Color aLineColor;
Size aRectSize;
- USHORT* pPixel;
- BOOL bPaintable;
+ sal_uInt16* pPixel;
+ sal_Bool bPaintable;
- void ChangePixel( USHORT nPixel );
+ void ChangePixel( sal_uInt16 nPixel );
public:
SvxPixelCtl( Window* pParent, const ResId& rResId,
- USHORT nNumber = 8 );
+ sal_uInt16 nNumber = 8 );
~SvxPixelCtl();
virtual void Paint( const Rectangle& rRect );
@@ -239,14 +239,14 @@ public:
void SetBackgroundColor( const Color& rCol ) { aBackgroundColor = rCol; }
void SetLineColor( const Color& rCol ) { aLineColor = rCol; }
- USHORT GetLineCount() const { return nLines; }
+ sal_uInt16 GetLineCount() const { return nLines; }
Color GetPixelColor() const { return aPixelColor; }
Color GetBackgroundColor() const { return aBackgroundColor; }
- USHORT GetBitmapPixel( const USHORT nPixelNumber );
- USHORT* GetBitmapPixelPtr() { return pPixel; }
+ sal_uInt16 GetBitmapPixel( const sal_uInt16 nPixelNumber );
+ sal_uInt16* GetBitmapPixelPtr() { return pPixel; }
- void SetPaintable( BOOL bTmp ) { bPaintable = bTmp; }
+ void SetPaintable( sal_Bool bTmp ) { bPaintable = bTmp; }
void Reset();
};
@@ -265,7 +265,7 @@ public:
virtual void Fill( const XColorTable* pTab );
void Append( XColorEntry* pEntry, Bitmap* pBmp = NULL );
- void Modify( XColorEntry* pEntry, USHORT nPos, Bitmap* pBmp = NULL );
+ void Modify( XColorEntry* pEntry, sal_uInt16 nPos, Bitmap* pBmp = NULL );
};
/*************************************************************************
@@ -277,20 +277,20 @@ class SVX_DLLPUBLIC HatchingLB : public ListBox
{
public:
- HatchingLB( Window* pParent, ResId Id, BOOL bUserDraw = TRUE );
- HatchingLB( Window* pParent, WinBits aWB, BOOL bUserDraw = TRUE );
+ HatchingLB( Window* pParent, ResId Id, sal_Bool bUserDraw = sal_True );
+ HatchingLB( Window* pParent, WinBits aWB, sal_Bool bUserDraw = sal_True );
virtual void Fill( const XHatchList* pList );
virtual void UserDraw( const UserDrawEvent& rUDEvt );
void Append( XHatchEntry* pEntry, Bitmap* pBmp = NULL );
- void Modify( XHatchEntry* pEntry, USHORT nPos, Bitmap* pBmp = NULL );
+ void Modify( XHatchEntry* pEntry, sal_uInt16 nPos, Bitmap* pBmp = NULL );
void SelectEntryByList( const XHatchList* pList, const String& rStr,
- const XHatch& rXHatch, USHORT nDist = 0 );
+ const XHatch& rXHatch, sal_uInt16 nDist = 0 );
private:
XHatchList* mpList;
- BOOL mbUserDraw;
+ sal_Bool mbUserDraw;
};
/*************************************************************************
@@ -301,20 +301,20 @@ private:
class SVX_DLLPUBLIC GradientLB : public ListBox
{
public:
- GradientLB( Window* pParent, ResId Id, BOOL bUserDraw = TRUE );
- GradientLB( Window* pParent, WinBits aWB, BOOL bUserDraw = TRUE );
+ GradientLB( Window* pParent, ResId Id, sal_Bool bUserDraw = sal_True );
+ GradientLB( Window* pParent, WinBits aWB, sal_Bool bUserDraw = sal_True );
virtual void Fill( const XGradientList* pList );
virtual void UserDraw( const UserDrawEvent& rUDEvt );
void Append( XGradientEntry* pEntry, Bitmap* pBmp = NULL );
- void Modify( XGradientEntry* pEntry, USHORT nPos, Bitmap* pBmp = NULL );
+ void Modify( XGradientEntry* pEntry, sal_uInt16 nPos, Bitmap* pBmp = NULL );
void SelectEntryByList( const XGradientList* pList, const String& rStr,
- const XGradient& rXGradient, USHORT nDist = 0 );
+ const XGradient& rXGradient, sal_uInt16 nDist = 0 );
private:
XGradientList* mpList;
- BOOL mbUserDraw;
+ sal_Bool mbUserDraw;
};
/*************************************************************************
@@ -325,13 +325,13 @@ private:
class SVX_DLLPUBLIC BitmapLB : public ListBox
{
public:
- BitmapLB( Window* pParent, ResId Id, BOOL bUserDraw = TRUE );
+ BitmapLB( Window* pParent, ResId Id, sal_Bool bUserDraw = sal_True );
virtual void Fill( const XBitmapList* pList );
virtual void UserDraw( const UserDrawEvent& rUDEvt );
void Append( XBitmapEntry* pEntry, Bitmap* pBmp = NULL );
- void Modify( XBitmapEntry* pEntry, USHORT nPos, Bitmap* pBmp = NULL );
+ void Modify( XBitmapEntry* pEntry, sal_uInt16 nPos, Bitmap* pBmp = NULL );
void SelectEntryByList( const XBitmapList* pList, const String& rStr,
const Bitmap& rBmp);
@@ -340,7 +340,7 @@ private:
Bitmap aBitmap;
XBitmapList* mpList;
- BOOL mbUserDraw;
+ sal_Bool mbUserDraw;
SVX_DLLPRIVATE void SetVirtualDevice();
};
@@ -401,9 +401,9 @@ public:
virtual void Fill( const XDashList* pList );
void Append( XDashEntry* pEntry, Bitmap* pBmp = NULL );
- void Modify( XDashEntry* pEntry, USHORT nPos, Bitmap* pBmp = NULL );
+ void Modify( XDashEntry* pEntry, sal_uInt16 nPos, Bitmap* pBmp = NULL );
void SelectEntryByList( const XDashList* pList, const String& rStr,
- const XDash& rDash, USHORT nDist = 0 );
+ const XDash& rDash, sal_uInt16 nDist = 0 );
void FillStyles();
};
@@ -419,12 +419,12 @@ public:
LineEndLB( Window* pParent, ResId Id ) : ListBox( pParent, Id ) {}
LineEndLB( Window* pParent, WinBits aWB ) : ListBox( pParent, aWB ) {}
- virtual void Fill( const XLineEndList* pList, BOOL bStart = TRUE );
+ virtual void Fill( const XLineEndList* pList, sal_Bool bStart = sal_True );
void Append( XLineEndEntry* pEntry, Bitmap* pBmp = NULL,
- BOOL bStart = TRUE );
- void Modify( XLineEndEntry* pEntry, USHORT nPos, Bitmap* pBmp = NULL,
- BOOL bStart = TRUE );
+ sal_Bool bStart = sal_True );
+ void Modify( XLineEndEntry* pEntry, sal_uInt16 nPos, Bitmap* pBmp = NULL,
+ sal_Bool bStart = sal_True );
};
//////////////////////////////////////////////////////////////////////////////
@@ -483,7 +483,7 @@ public:
void SetLineAttributes(const SfxItemSet& rItemSet);
- void ShowSymbol( BOOL b ) { mbWithSymbol = b; };
+ void ShowSymbol( sal_Bool b ) { mbWithSymbol = b; };
void SetSymbol( Graphic* p, const Size& s );
void ResizeSymbol( const Size& s );
diff --git a/svx/inc/dlgutil.hxx b/svx/inc/svx/dlgutil.hxx
index 2a020f5c536b..2a020f5c536b 100644..100755
--- a/svx/inc/dlgutil.hxx
+++ b/svx/inc/svx/dlgutil.hxx
diff --git a/svx/inc/drawitem.hxx b/svx/inc/svx/drawitem.hxx
index 1f18553ca863..ae864cc442af 100644..100755
--- a/svx/inc/drawitem.hxx
+++ b/svx/inc/svx/drawitem.hxx
@@ -49,7 +49,7 @@ public:
TYPEINFO();
SvxColorTableItem();
SvxColorTableItem( XColorTable* pTable,
- USHORT nWhich );
+ sal_uInt16 nWhich );
SvxColorTableItem( const SvxColorTableItem& );
virtual SfxItemPresentation GetPresentation( SfxItemPresentation ePres,
@@ -59,8 +59,8 @@ public:
virtual int operator==( const SfxPoolItem& ) const;
virtual SfxPoolItem* Clone( SfxItemPool *pPool = 0 ) const;
- virtual bool QueryValue( com::sun::star::uno::Any& rVal, BYTE nMemberId = 0 ) const;
- virtual bool PutValue( const com::sun::star::uno::Any& rVal, BYTE nMemberId );
+ virtual bool QueryValue( com::sun::star::uno::Any& rVal, sal_uInt8 nMemberId = 0 ) const;
+ virtual bool PutValue( const com::sun::star::uno::Any& rVal, sal_uInt8 nMemberId );
XColorTable* GetColorTable() const { return pColorTable; }
void SetColorTable( XColorTable* pTable ) {
@@ -83,7 +83,7 @@ public:
TYPEINFO();
SvxGradientListItem();
SvxGradientListItem( XGradientList* pList,
- USHORT nWhich );
+ sal_uInt16 nWhich );
SvxGradientListItem( const SvxGradientListItem& );
virtual SfxItemPresentation GetPresentation( SfxItemPresentation ePres,
@@ -93,8 +93,8 @@ public:
virtual int operator==( const SfxPoolItem& ) const;
virtual SfxPoolItem* Clone( SfxItemPool *pPool = 0 ) const;
- virtual bool QueryValue( com::sun::star::uno::Any& rVal, BYTE nMemberId = 0 ) const;
- virtual bool PutValue( const com::sun::star::uno::Any& rVal, BYTE nMemberId );
+ virtual bool QueryValue( com::sun::star::uno::Any& rVal, sal_uInt8 nMemberId = 0 ) const;
+ virtual bool PutValue( const com::sun::star::uno::Any& rVal, sal_uInt8 nMemberId );
XGradientList* GetGradientList() const { return pGradientList; }
void SetGradientList( XGradientList* pList ) {
@@ -118,7 +118,7 @@ public:
TYPEINFO();
SvxHatchListItem();
SvxHatchListItem( XHatchList* pList,
- USHORT nWhich );
+ sal_uInt16 nWhich );
SvxHatchListItem( const SvxHatchListItem& );
virtual SfxItemPresentation GetPresentation( SfxItemPresentation ePres,
@@ -128,8 +128,8 @@ public:
virtual int operator==( const SfxPoolItem& ) const;
virtual SfxPoolItem* Clone( SfxItemPool *pPool = 0 ) const;
- virtual bool QueryValue( com::sun::star::uno::Any& rVal, BYTE nMemberId = 0 ) const;
- virtual bool PutValue( const com::sun::star::uno::Any& rVal, BYTE nMemberId );
+ virtual bool QueryValue( com::sun::star::uno::Any& rVal, sal_uInt8 nMemberId = 0 ) const;
+ virtual bool PutValue( const com::sun::star::uno::Any& rVal, sal_uInt8 nMemberId );
XHatchList* GetHatchList() const { return pHatchList; }
void SetHatchList( XHatchList* pList ) {
@@ -153,7 +153,7 @@ public:
TYPEINFO();
SvxBitmapListItem();
SvxBitmapListItem( XBitmapList* pBL,
- USHORT nWhich );
+ sal_uInt16 nWhich );
SvxBitmapListItem( const SvxBitmapListItem& );
virtual SfxItemPresentation GetPresentation( SfxItemPresentation ePres,
@@ -163,8 +163,8 @@ public:
virtual int operator==( const SfxPoolItem& ) const;
virtual SfxPoolItem* Clone( SfxItemPool *pPool = 0 ) const;
- virtual bool QueryValue( com::sun::star::uno::Any& rVal, BYTE nMemberId = 0 ) const;
- virtual bool PutValue( const com::sun::star::uno::Any& rVal, BYTE nMemberId );
+ virtual bool QueryValue( com::sun::star::uno::Any& rVal, sal_uInt8 nMemberId = 0 ) const;
+ virtual bool PutValue( const com::sun::star::uno::Any& rVal, sal_uInt8 nMemberId );
XBitmapList* GetBitmapList() const { return pBitmapList; }
void SetBitmapList( XBitmapList* pList ) {
@@ -188,7 +188,7 @@ public:
TYPEINFO();
SvxDashListItem();
SvxDashListItem( XDashList* pList,
- USHORT nWhich );
+ sal_uInt16 nWhich );
SvxDashListItem( const SvxDashListItem& );
virtual SfxItemPresentation GetPresentation( SfxItemPresentation ePres,
@@ -198,8 +198,8 @@ public:
virtual int operator==( const SfxPoolItem& ) const;
virtual SfxPoolItem* Clone( SfxItemPool *pPool = 0 ) const;
- virtual bool QueryValue( com::sun::star::uno::Any& rVal, BYTE nMemberId = 0 ) const;
- virtual bool PutValue( const com::sun::star::uno::Any& rVal, BYTE nMemberId );
+ virtual bool QueryValue( com::sun::star::uno::Any& rVal, sal_uInt8 nMemberId = 0 ) const;
+ virtual bool PutValue( const com::sun::star::uno::Any& rVal, sal_uInt8 nMemberId );
XDashList* GetDashList() const { return pDashList; }
void SetDashList( XDashList* pList );
@@ -222,7 +222,7 @@ public:
TYPEINFO();
SvxLineEndListItem();
SvxLineEndListItem( XLineEndList* pList,
- USHORT nWhich );
+ sal_uInt16 nWhich );
SvxLineEndListItem( const SvxLineEndListItem& );
virtual SfxItemPresentation GetPresentation( SfxItemPresentation ePres,
@@ -232,8 +232,8 @@ public:
virtual int operator==( const SfxPoolItem& ) const;
virtual SfxPoolItem* Clone( SfxItemPool *pPool = 0 ) const;
- virtual bool QueryValue( com::sun::star::uno::Any& rVal, BYTE nMemberId = 0 ) const;
- virtual bool PutValue( const com::sun::star::uno::Any& rVal, BYTE nMemberId );
+ virtual bool QueryValue( com::sun::star::uno::Any& rVal, sal_uInt8 nMemberId = 0 ) const;
+ virtual bool PutValue( const com::sun::star::uno::Any& rVal, sal_uInt8 nMemberId );
XLineEndList* GetLineEndList() const { return pLineEndList; }
void SetLineEndList( XLineEndList* pList ) {
diff --git a/svx/inc/svx/dstribut_enum.hxx b/svx/inc/svx/dstribut_enum.hxx
index 0aa57f5901ff..0aa57f5901ff 100644..100755
--- a/svx/inc/svx/dstribut_enum.hxx
+++ b/svx/inc/svx/dstribut_enum.hxx
diff --git a/svx/inc/svx/e3ditem.hxx b/svx/inc/svx/e3ditem.hxx
index aa37846fba0b..c2a37462696a 100644..100755
--- a/svx/inc/svx/e3ditem.hxx
+++ b/svx/inc/svx/e3ditem.hxx
@@ -45,18 +45,18 @@ class SVX_DLLPUBLIC SvxB3DVectorItem : public SfxPoolItem
public:
TYPEINFO();
SvxB3DVectorItem();
- SvxB3DVectorItem( USHORT nWhich, const basegfx::B3DVector& rVal );
- SvxB3DVectorItem( USHORT nWhich, SvStream & );
+ SvxB3DVectorItem( sal_uInt16 nWhich, const basegfx::B3DVector& rVal );
+ SvxB3DVectorItem( sal_uInt16 nWhich, SvStream & );
SvxB3DVectorItem( const SvxB3DVectorItem& );
~SvxB3DVectorItem();
virtual int operator==( const SfxPoolItem& ) const;
virtual SfxPoolItem* Clone( SfxItemPool *pPool = 0 ) const;
- virtual SfxPoolItem* Create(SvStream &, USHORT nVersion) const;
- virtual SvStream& Store(SvStream &, USHORT nItemVersion ) const;
+ virtual SfxPoolItem* Create(SvStream &, sal_uInt16 nVersion) const;
+ virtual SvStream& Store(SvStream &, sal_uInt16 nItemVersion ) const;
- virtual bool QueryValue( com::sun::star::uno::Any& rVal, BYTE nMemberId = 0 ) const;
- virtual bool PutValue( const com::sun::star::uno::Any& rVal, BYTE nMemberId = 0 );
+ virtual bool QueryValue( com::sun::star::uno::Any& rVal, sal_uInt8 nMemberId = 0 ) const;
+ virtual bool PutValue( const com::sun::star::uno::Any& rVal, sal_uInt8 nMemberId = 0 );
const basegfx::B3DVector& GetValue() const { return aVal; }
void SetValue( const basegfx::B3DVector& rNewVal ) {
@@ -64,7 +64,7 @@ public:
aVal = rNewVal;
}
- virtual USHORT GetVersion (USHORT nFileFormatVersion) const;
+ virtual sal_uInt16 GetVersion (sal_uInt16 nFileFormatVersion) const;
};
#endif
diff --git a/svx/inc/svx/e3dsceneupdater.hxx b/svx/inc/svx/e3dsceneupdater.hxx
index 2fe52e03bae4..2fe52e03bae4 100644..100755
--- a/svx/inc/svx/e3dsceneupdater.hxx
+++ b/svx/inc/svx/e3dsceneupdater.hxx
diff --git a/svx/inc/svx/e3dundo.hxx b/svx/inc/svx/e3dundo.hxx
index c26341e474ef..e76a71cb49fb 100644..100755
--- a/svx/inc/svx/e3dundo.hxx
+++ b/svx/inc/svx/e3dundo.hxx
@@ -58,7 +58,7 @@ class E3dUndoAction : public SdrUndoAction
virtual ~E3dUndoAction ();
- virtual BOOL CanRepeat(SfxRepeatTarget&) const;
+ virtual sal_Bool CanRepeat(SfxRepeatTarget&) const;
};
/************************************************************************\
@@ -101,7 +101,7 @@ class SVX_DLLPUBLIC E3dAttributesUndoAction : public SdrUndoAction
SdrObject* pObject;
E3dView* pView;
- BOOL bUseSubObjects;
+ sal_Bool bUseSubObjects;
const SfxItemSet aNewSet;
const SfxItemSet aOldSet;
@@ -112,11 +112,11 @@ class SVX_DLLPUBLIC E3dAttributesUndoAction : public SdrUndoAction
E3dObject* pInObject,
const SfxItemSet& rNewSet,
const SfxItemSet& rOldSet,
- BOOL bUseSubObj);
+ sal_Bool bUseSubObj);
virtual ~E3dAttributesUndoAction();
- virtual BOOL CanRepeat(SfxRepeatTarget& rView) const;
+ virtual sal_Bool CanRepeat(SfxRepeatTarget& rView) const;
virtual void Undo();
virtual void Redo();
virtual void Repeat();
diff --git a/svx/inc/svx/exthelpid.hrc b/svx/inc/svx/exthelpid.hrc
index 68cd1b224650..360a4914c10e 100644..100755
--- a/svx/inc/svx/exthelpid.hrc
+++ b/svx/inc/svx/exthelpid.hrc
@@ -28,8 +28,6 @@
#define _SVX_EXTHELPID_HRC
// include ---------------------------------------------------------------
-#include <svl/solar.hrc>
-
// these HIDs are used in SVX and also in other modules, mainly CUI
// the reason is that different controls have the same help texts assigned
// but are implemented in different libraries
@@ -37,19 +35,8 @@
// are moved to this exported (delivered) hrc file
// Help-Ids --------------------------------------------------------------
-#define HID_GALLERY_ACTUALIZE (HID_SVX_EXT0_START + 0)
-#define HID_GALLERY_TITLE (HID_SVX_EXT0_START + 1)
-
-// please adjust ACT_SVX_EXT_HID_END2 below if you add entries here!
-
-// -----------------------------------------------------------------------
-// Overrun check ---------------------------------------------------------
-// -----------------------------------------------------------------------
-
-#define ACT_SVX_EXT_HID_END (HID_SVX_EXT0_START + 1)
-#if ACT_SVX_EXT_HID_END > HID_SVX_EXT0_END
-#error Resource-Ueberlauf in #line, #file
-#endif
+#define HID_GALLERY_ACTUALIZE "SVX_HID_GALLERY_ACTUALIZE"
+#define HID_GALLERY_TITLE "SVX_HID_GALLERY_TITLE"
#endif
diff --git a/svx/inc/svx/extrud3d.hxx b/svx/inc/svx/extrud3d.hxx
index 904cb6862e1d..3ff2b0a5ab20 100644..100755
--- a/svx/inc/svx/extrud3d.hxx
+++ b/svx/inc/svx/extrud3d.hxx
@@ -90,7 +90,7 @@ public:
sal_Bool GetCloseBack() const
{ return ((const Svx3DCloseBackItem&)GetObjectItemSet().Get(SDRATTR_3DOBJ_CLOSE_BACK)).GetValue(); }
- virtual UINT16 GetObjIdentifier() const;
+ virtual sal_uInt16 GetObjIdentifier() const;
virtual void operator=(const SdrObject&);
@@ -102,7 +102,7 @@ public:
void SetExtrudePolygon(const basegfx::B2DPolyPolygon &rNew);
const basegfx::B2DPolyPolygon &GetExtrudePolygon() { return maExtrudePolygon; }
- virtual BOOL IsBreakObjPossible();
+ virtual sal_Bool IsBreakObjPossible();
virtual SdrAttrObj* GetBreakObj();
};
diff --git a/svx/inc/svx/extrusionbar.hxx b/svx/inc/svx/extrusionbar.hxx
index 02a246e7f99d..02a246e7f99d 100644..100755
--- a/svx/inc/svx/extrusionbar.hxx
+++ b/svx/inc/svx/extrusionbar.hxx
diff --git a/svx/inc/svx/extrusioncolorcontrol.hxx b/svx/inc/svx/extrusioncolorcontrol.hxx
index 28b675b1208b..a7f0a3edcb5f 100644..100755
--- a/svx/inc/svx/extrusioncolorcontrol.hxx
+++ b/svx/inc/svx/extrusioncolorcontrol.hxx
@@ -43,10 +43,10 @@ private:
public:
SFX_DECL_TOOLBOX_CONTROL();
- ExtrusionColorControl( USHORT nSlotId, USHORT nId, ToolBox& rTbx );
+ ExtrusionColorControl( sal_uInt16 nSlotId, sal_uInt16 nId, ToolBox& rTbx );
~ExtrusionColorControl();
- virtual void StateChanged( USHORT nSID, SfxItemState eState,
+ virtual void StateChanged( sal_uInt16 nSID, SfxItemState eState,
const SfxPoolItem* pState );
virtual SfxPopupWindowType GetPopupWindowType() const;
virtual SfxPopupWindow* CreatePopupWindow();
diff --git a/svx/inc/svx/f3dchild.hxx b/svx/inc/svx/f3dchild.hxx
index 05d661dc28a0..b523c86752fe 100644..100755
--- a/svx/inc/svx/f3dchild.hxx
+++ b/svx/inc/svx/f3dchild.hxx
@@ -43,7 +43,7 @@
class SVX_DLLPUBLIC Svx3DChildWindow : public SfxChildWindow
{
public:
- Svx3DChildWindow( Window*, USHORT, SfxBindings*, SfxChildWinInfo* );
+ Svx3DChildWindow( Window*, sal_uInt16, SfxBindings*, SfxChildWinInfo* );
SFX_DECL_CHILDWINDOW(Svx3DChildWindow);
};
diff --git a/svx/inc/svx/fillctrl.hxx b/svx/inc/svx/fillctrl.hxx
index 7d006c8a706e..895036f7f3eb 100644..100755
--- a/svx/inc/svx/fillctrl.hxx
+++ b/svx/inc/svx/fillctrl.hxx
@@ -62,17 +62,17 @@ private:
SvxFillTypeBox* pFillTypeLB;
SvxFillAttrBox* pFillAttrLB;
- BOOL bUpdate;
- BOOL bIgnoreStatusUpdate;
- USHORT eLastXFS;
+ sal_Bool bUpdate;
+ sal_Bool bIgnoreStatusUpdate;
+ sal_uInt16 eLastXFS;
public:
SFX_DECL_TOOLBOX_CONTROL();
- SvxFillToolBoxControl( USHORT nSlotId, USHORT nId, ToolBox& rTbx );
+ SvxFillToolBoxControl( sal_uInt16 nSlotId, sal_uInt16 nId, ToolBox& rTbx );
~SvxFillToolBoxControl();
- virtual void StateChanged( USHORT nSID, SfxItemState eState,
+ virtual void StateChanged( sal_uInt16 nSID, SfxItemState eState,
const SfxPoolItem* pState );
void Update( const SfxPoolItem* pState );
virtual Window* CreateItemWindow( Window *pParent );
diff --git a/svx/inc/flagsdef.hxx b/svx/inc/svx/flagsdef.hxx
index b9708bf20dac..2b1b30dee90e 100644..100755
--- a/svx/inc/flagsdef.hxx
+++ b/svx/inc/svx/flagsdef.hxx
@@ -46,13 +46,13 @@
#define SVX_HIDESHADOWCTL 0x01
// copy from chardlg.hxx
-#define DISABLE_CASEMAP ((USHORT)0x0001)
-#define DISABLE_WORDLINE ((USHORT)0x0002)
-#define DISABLE_BLINK ((USHORT)0x0004)
-#define DISABLE_UNDERLINE_COLOR ((USHORT)0x0008)
+#define DISABLE_CASEMAP ((sal_uInt16)0x0001)
+#define DISABLE_WORDLINE ((sal_uInt16)0x0002)
+#define DISABLE_BLINK ((sal_uInt16)0x0004)
+#define DISABLE_UNDERLINE_COLOR ((sal_uInt16)0x0008)
-#define DISABLE_LANGUAGE ((USHORT)0x0010)
-#define DISABLE_HIDE_LANGUAGE ((USHORT)0x0020)
+#define DISABLE_LANGUAGE ((sal_uInt16)0x0010)
+#define DISABLE_HIDE_LANGUAGE ((sal_uInt16)0x0020)
// flags for SvxCharBasePage's child class
#define SVX_PREVIEW_CHARACTER 0x01
diff --git a/svx/inc/svx/float3d.hxx b/svx/inc/svx/float3d.hxx
index 6b294a706e04..9a2b7dacf333 100644..100755
--- a/svx/inc/svx/float3d.hxx
+++ b/svx/inc/svx/float3d.hxx
@@ -33,7 +33,7 @@
#include <vcl/fixed.hxx>
#include <vcl/field.hxx>
#include <sfx2/dockwin.hxx>
-#include <vcl/imagebtn.hxx>
+#include <vcl/button.hxx>
#include <svtools/valueset.hxx>
#include <svtools/stdctrl.hxx>
#include "svx/svxdllapi.h"
@@ -80,6 +80,7 @@ private:
ImageButton aBtnAssign;
// geometry
+ FixedLine aFLGeometrie;
FixedText aFtPercentDiagonal;
MetricField aMtrPercentDiagonal;
FixedText aFtBackscale;
@@ -88,36 +89,35 @@ private:
MetricField aMtrEndAngle;
FixedText aFtDepth;
MetricField aMtrDepth;
- FixedLine aFLGeometrie;
+ FixedLine aFLSegments;
FixedText aFtHorizontal;
NumericField aNumHorizontal;
FixedText aFtVertical;
NumericField aNumVertical;
- FixedLine aFLSegments;
+ FixedLine aFLNormals;
ImageButton aBtnNormalsObj;
ImageButton aBtnNormalsFlat;
ImageButton aBtnNormalsSphere;
ImageButton aBtnNormalsInvert;
ImageButton aBtnTwoSidedLighting;
- FixedLine aFLNormals;
ImageButton aBtnDoubleSided;
-
+ FixedLine aFLRepresentation;
// presentation
FixedText aFtShademode;
ListBox aLbShademode;
+ FixedLine aFLShadow;
ImageButton aBtnShadow3d;
FixedText aFtSlant;
MetricField aMtrSlant;
- FixedLine aFLShadow;
FixedText aFtDistance;
MetricField aMtrDistance;
FixedText aFtFocalLeng;
MetricField aMtrFocalLength;
FixedLine aFLCamera;
- FixedLine aFLRepresentation;
+ FixedLine aFLLight;
// lighting
ImageButton aBtnLight1;
@@ -128,6 +128,7 @@ private:
ImageButton aBtnLight6;
ImageButton aBtnLight7;
ImageButton aBtnLight8;
+ FixedText aFTLightsource;
ColorLB aLbLight1;
ColorLB aLbLight2;
ColorLB aLbLight3;
@@ -138,7 +139,6 @@ private:
ColorLB aLbLight8;
ImageButton aBtnLightColor;
- FixedText aFTLightsource;
// #99694# Keyboard shortcuts activate the next control, so the
// order needed to be changed here
@@ -146,7 +146,7 @@ private:
ColorLB aLbAmbientlight; // ListBox
ImageButton aBtnAmbientColor; // color button
- FixedLine aFLLight;
+ FixedLine aFLTexture;
// Textures
FixedText aFtTexKind;
@@ -166,10 +166,10 @@ private:
ImageButton aBtnTexCircleY;
FixedText aFtTexFilter;
ImageButton aBtnTexFilter;
- FixedLine aFLTexture;
// material
// material editor
+ FixedLine aFLMaterial;
FixedText aFtMatFavorites;
ListBox aLbMatFavorites;
FixedText aFtMatColor;
@@ -178,25 +178,25 @@ private:
FixedText aFtMatEmission;
ColorLB aLbMatEmission;
ImageButton aBtnEmissionColor;
+ FixedLine aFLMatSpecular;
FixedText aFtMatSpecular;
ColorLB aLbMatSpecular;
ImageButton aBtnSpecularColor;
FixedText aFtMatSpecularIntensity;
MetricField aMtrMatSpecularIntensity;
- FixedLine aFLMatSpecular;
- FixedLine aFLMaterial;
+
+ Svx3DPreviewControl aCtlPreview;
+ SvxLightCtl3D aCtlLightPreview;
// bottom part
ImageButton aBtnConvertTo3D;
ImageButton aBtnLatheObject;
ImageButton aBtnPerspective;
- Svx3DPreviewControl aCtlPreview;
- SvxLightCtl3D aCtlLightPreview;
// the rest ...
Image aImgLightOn;
Image aImgLightOff;
- BOOL bUpdate;
+ sal_Bool bUpdate;
ViewType3D eViewType;
Size aSize;
@@ -221,7 +221,7 @@ private:
// ItemSet used to remember set 2d attributes
SfxItemSet* mpRemember2DAttributes;
- BOOL bOnly3DChanged;
+ sal_Bool bOnly3DChanged;
//------------------------------------
@@ -242,8 +242,8 @@ private:
SVX_DLLPRIVATE void Construct();
SVX_DLLPRIVATE void Reset();
- SVX_DLLPRIVATE BOOL LBSelectColor( ColorLB* pLb, const Color& rColor );
- SVX_DLLPRIVATE USHORT GetLightSource( const PushButton* pBtn = NULL );
+ SVX_DLLPRIVATE sal_Bool LBSelectColor( ColorLB* pLb, const Color& rColor );
+ SVX_DLLPRIVATE sal_uInt16 GetLightSource( const PushButton* pBtn = NULL );
SVX_DLLPRIVATE ColorLB* GetLbByButton( const PushButton* pBtn = NULL );
SVX_DLLPRIVATE bool GetUILightState( ImageButton& aBtn ) const;
@@ -258,7 +258,7 @@ public:
~Svx3DWin();
void InitColorLB( const SdrModel* pDoc );
- BOOL IsUpdateMode() const { return bUpdate; }
+ sal_Bool IsUpdateMode() const { return bUpdate; }
void Update( SfxItemSet& rSet );
void GetAttr( SfxItemSet& rSet );
@@ -278,11 +278,11 @@ class Svx3DCtrlItem : public SfxControllerItem
Svx3DWin* p3DWin;
protected:
- virtual void StateChanged( USHORT nSId, SfxItemState eState,
+ virtual void StateChanged( sal_uInt16 nSId, SfxItemState eState,
const SfxPoolItem* pState );
public:
- Svx3DCtrlItem( USHORT, Svx3DWin*, SfxBindings* );
+ Svx3DCtrlItem( sal_uInt16, Svx3DWin*, SfxBindings* );
};
/*************************************************************************
@@ -294,14 +294,14 @@ class Svx3DCtrlItem : public SfxControllerItem
class SvxConvertTo3DItem : public SfxControllerItem
{
- BOOL bState;
+ sal_Bool bState;
protected:
- virtual void StateChanged(UINT16 nSId, SfxItemState eState, const SfxPoolItem* pState);
+ virtual void StateChanged(sal_uInt16 nSId, SfxItemState eState, const SfxPoolItem* pState);
public:
- SvxConvertTo3DItem(UINT16 nId, SfxBindings* pBindings);
- BOOL GetState() const { return bState; }
+ SvxConvertTo3DItem(sal_uInt16 nId, SfxBindings* pBindings);
+ sal_Bool GetState() const { return bState; }
};
#endif // _SVX_FLOAT3D_HXX
diff --git a/svx/inc/svx/fmdmod.hxx b/svx/inc/svx/fmdmod.hxx
index 6c951ec98e72..6c951ec98e72 100644..100755
--- a/svx/inc/svx/fmdmod.hxx
+++ b/svx/inc/svx/fmdmod.hxx
diff --git a/svx/inc/svx/fmdpage.hxx b/svx/inc/svx/fmdpage.hxx
index 8ee078c47f1c..8ee078c47f1c 100644..100755
--- a/svx/inc/svx/fmdpage.hxx
+++ b/svx/inc/svx/fmdpage.hxx
diff --git a/svx/inc/svx/fmglob.hxx b/svx/inc/svx/fmglob.hxx
index 1e1c09532f47..1e1c09532f47 100644..100755
--- a/svx/inc/svx/fmglob.hxx
+++ b/svx/inc/svx/fmglob.hxx
diff --git a/svx/inc/svx/fmgridcl.hxx b/svx/inc/svx/fmgridcl.hxx
index 3f5f2a5bdc6b..3f5f2a5bdc6b 100644..100755
--- a/svx/inc/svx/fmgridcl.hxx
+++ b/svx/inc/svx/fmgridcl.hxx
diff --git a/svx/inc/fmgridif.hxx b/svx/inc/svx/fmgridif.hxx
index e851f93d084b..1cf98bae02e3 100644..100755
--- a/svx/inc/fmgridif.hxx
+++ b/svx/inc/svx/fmgridif.hxx
@@ -50,7 +50,7 @@
#include <com/sun/star/util/XModifyListener.hpp>
#include <com/sun/star/util/XModifyBroadcaster.hpp>
-#include <vcl/wintypes.hxx>
+#include <tools/wintypes.hxx>
#include <toolkit/controls/unocontrol.hxx>
#include <toolkit/awt/vclxwindow.hxx>
#include <comphelper/uno3.hxx>
diff --git a/svx/inc/svx/fmmodel.hxx b/svx/inc/svx/fmmodel.hxx
index 4ea329c810ba..8f9ee82a04d6 100644..100755
--- a/svx/inc/svx/fmmodel.hxx
+++ b/svx/inc/svx/fmmodel.hxx
@@ -70,7 +70,7 @@ public:
virtual SdrPage* AllocPage(bool bMasterPage);
virtual void InsertPage(SdrPage* pPage, sal_uInt16 nPos=0xFFFF);
virtual SdrPage* RemovePage(sal_uInt16 nPgNum);
- virtual void MovePage(USHORT nPgNum, USHORT nNewPos);
+ virtual void MovePage(sal_uInt16 nPgNum, sal_uInt16 nNewPos);
virtual void InsertMasterPage(SdrPage* pPage, sal_uInt16 nPos=0xFFFF);
virtual SdrPage* RemoveMasterPage(sal_uInt16 nPgNum);
diff --git a/svx/inc/fmobjfac.hxx b/svx/inc/svx/fmobjfac.hxx
index 60edaa83120b..7d10ea2ab7b4 100644..100755
--- a/svx/inc/fmobjfac.hxx
+++ b/svx/inc/svx/fmobjfac.hxx
@@ -1,4 +1,3 @@
-/* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
/*************************************************************************
*
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
@@ -50,4 +49,3 @@ public:
#endif // _FM_FMOBJFAC_HXX
-/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/svx/inc/svx/fmpage.hxx b/svx/inc/svx/fmpage.hxx
index a1ff7a9e3541..07a6d719c163 100644..100755
--- a/svx/inc/svx/fmpage.hxx
+++ b/svx/inc/svx/fmpage.hxx
@@ -62,10 +62,10 @@ public:
virtual SdrPage* Clone() const;
using SdrPage::Clone;
- virtual void InsertObject(SdrObject* pObj, ULONG nPos = CONTAINER_APPEND,
+ virtual void InsertObject(SdrObject* pObj, sal_uLong nPos = CONTAINER_APPEND,
const SdrInsertReason* pReason=NULL);
- virtual SdrObject* RemoveObject(ULONG nObjNum);
+ virtual SdrObject* RemoveObject(sal_uLong nObjNum);
// access to all forms
const ::com::sun::star::uno::Reference< ::com::sun::star::container::XNameContainer>& GetForms( bool _bForceCreate = true ) const;
diff --git a/svx/inc/svx/fmresids.hrc b/svx/inc/svx/fmresids.hrc
new file mode 100755
index 000000000000..24637babb057
--- /dev/null
+++ b/svx/inc/svx/fmresids.hrc
@@ -0,0 +1,263 @@
+/*************************************************************************
+ *
+ * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
+ *
+ * Copyright 2000, 2010 Oracle and/or its affiliates.
+ *
+ * OpenOffice.org - a multi-platform office productivity suite
+ *
+ * This file is part of OpenOffice.org.
+ *
+ * OpenOffice.org is free software: you can redistribute it and/or modify
+ * it under the terms of the GNU Lesser General Public License version 3
+ * only, as published by the Free Software Foundation.
+ *
+ * OpenOffice.org is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU Lesser General Public License version 3 for more details
+ * (a copy is included in the LICENSE file that accompanied this code).
+ *
+ * You should have received a copy of the GNU Lesser General Public License
+ * version 3 along with OpenOffice.org. If not, see
+ * <http://www.openoffice.org/license.html>
+ * for a copy of the LGPLv3 License.
+ *
+ ************************************************************************/
+#ifndef _SVX_FMRESIDS_HRC
+#define _SVX_FMRESIDS_HRC
+
+// include -----------------------------------------------------------
+#include <svl/solar.hrc>
+
+// unnamed ressources -------------------------------------------------------
+// sub ressources .....................
+
+// ImageList-Id's -----------------------------------------------------------
+#define RID_SVXIMGLIST_FMEXPL (RID_FORMS_START + 0)
+
+// Image-Id's -----------------------------------------------------------
+//#define SID_FMSLOTS_START (SID_SVX_START + 592) -> svxids.hrc
+#define RID_SVXIMG_FORM SID_FM_CONFIG
+#define RID_SVXIMG_CONTROL SID_CHOOSE_CONTROLS
+#define RID_SVXIMG_COLLAPSEDNODE (RID_FORMS_START + 2)
+#define RID_SVXIMG_EXPANDEDNODE (RID_FORMS_START + 3)
+#define RID_SVXIMG_BUTTON SID_FM_PUSHBUTTON
+#define RID_SVXIMG_RADIOBUTTON SID_FM_RADIOBUTTON
+#define RID_SVXIMG_CHECKBOX SID_FM_CHECKBOX
+#define RID_SVXIMG_FIXEDTEXT SID_FM_FIXEDTEXT
+#define RID_SVXIMG_GROUPBOX SID_FM_GROUPBOX
+#define RID_SVXIMG_EDIT SID_FM_EDIT
+#define RID_SVXIMG_LISTBOX SID_FM_LISTBOX
+#define RID_SVXIMG_COMBOBOX SID_FM_COMBOBOX
+#define RID_SVXIMG_FORMS (RID_FORMS_START +13)
+#define RID_SVXIMG_IMAGEBUTTON SID_FM_IMAGEBUTTON
+#define RID_SVXIMG_IMAGECONTROL SID_FM_IMAGECONTROL
+#define RID_SVXIMG_FILECONTROL SID_FM_FILECONTROL
+#define RID_SVXIMG_DATEFIELD SID_FM_DATEFIELD
+#define RID_SVXIMG_TIMEFIELD SID_FM_TIMEFIELD
+#define RID_SVXIMG_NUMERICFIELD SID_FM_NUMERICFIELD
+#define RID_SVXIMG_CURRENCYFIELD SID_FM_CURRENCYFIELD
+#define RID_SVXIMG_PATTERNFIELD SID_FM_PATTERNFIELD
+#define RID_SVXIMG_HIDDEN (RID_FORMS_START +22)
+#define RID_SVXIMG_GRID SID_FM_DBGRID
+#define RID_SVXIMG_FORMATTEDFIELD SID_FM_FORMATTEDFIELD
+#define RID_SVXIMG_FILTER SID_FM_FILTERCRIT
+#define RID_SVXIMG_DATE_N_TIME_FIELDS SID_FM_TWOFIELDS_DATE_N_TIME
+#define RID_SVXIMG_FIELD (RID_FORMS_START +27)
+#define RID_SVXIMG_SCROLLBAR SID_FM_SCROLLBAR
+#define RID_SVXIMG_SPINBUTTON SID_FM_SPINBUTTON
+#define RID_SVXIMG_NAVIGATIONBAR SID_FM_NAVIGATIONBAR
+
+// Dialog-Id's -----------------------------------------------------------
+#define RID_SVXTBX_FORM (RID_FORMS_START + 1)
+#define TBX_FORM (RID_FORMS_START + 2)
+#define RID_SVXDLG_ADD_TABLE (RID_FORMS_START + 3)
+#define RID_SVXDLG_TAB_ORDER (RID_FORMS_START + 4)
+#define RID_SVXDLG_SETFORM (RID_FORMS_START + 5)
+#define RID_SVX_FMEXPLORER (RID_FORMS_START + 6)
+#define RID_SVXDLG_ADD_DATAITEM (RID_FORMS_START + 12)
+#define RID_SVXDLG_ADD_CONDITION (RID_FORMS_START + 13)
+#define RID_SVXDLG_NAMESPACE_ITEM (RID_FORMS_START + 14)
+#define RID_SVXDLG_MANAGE_NAMESPACE (RID_FORMS_START + 15)
+#define RID_SVXDLG_ADD_SUBMISSION (RID_FORMS_START + 16)
+#define RID_SVXDLG_ADD_MODEL (RID_FORMS_START + 17)
+#define RID_SVXDLG_ADD_INSTANCE (RID_FORMS_START + 18)
+#define RID_SVXWIN_DATANAVIGATOR (RID_FORMS_START + 19)
+#define RID_SVX_XFORMS_TABPAGES (RID_FORMS_START + 20)
+
+// Toolbars ------------------------------------------------------------
+#define RID_SVXTBX_FORM_NAVIGATION (RID_FORMS_START + 1)
+#define RID_SVXTBX_FORM_FILTER (RID_FORMS_START + 2)
+#define RID_SVXTBX_TEXT_CONTROL_ATTRIBUTES (RID_FORMS_START + 3)
+#define RID_SVXTBX_CONTROLS (RID_FORMS_START + 4)
+#define RID_SVXTBX_MORECONTROLS (RID_FORMS_START + 5)
+#define RID_SVXTBX_FORMDESIGN (RID_FORMS_START + 6)
+
+// Menu-Id's -----------------------------------------------------------
+#define RID_FMEXPLORER_POPUPMENU (RID_FORMS_START + 0)
+#define RID_SVXMNU_ROWS (RID_FORMS_START + 1)
+#define RID_SVXMNU_COLS (RID_FORMS_START + 2)
+#define RID_SVXMNU_CELL (RID_FORMS_START + 3)
+#define RID_FMSHELL_CONVERSIONMENU (RID_FORMS_START + 4)
+#define RID_FM_FILTER_MENU (RID_FORMS_START + 5)
+#define RID_FM_TEXTATTRIBUTE_MENU (RID_FORMS_START + 6)
+#define MENU_FM_TEXTATTRIBITES_STYLE (RID_FORMS_START + 7)
+#define MENU_FM_TEXTATTRIBITES_ALIGNMENT (RID_FORMS_START + 8)
+#define MENU_FM_TEXTATTRIBITES_SPACING (RID_FORMS_START + 9)
+#define RID_MENU_DATANAVIGATOR (RID_FORMS_START + 10)
+
+// QueryBox-Id's -----------------------------------------------------------
+#define RID_QRY_SAVEMODIFIED (RID_FORMS_START + 1)
+#define RID_QRY_REMOVE_MODEL (RID_FORMS_START + 2)
+#define RID_QRY_REMOVE_INSTANCE (RID_FORMS_START + 3)
+#define RID_QRY_REMOVE_ELEMENT (RID_FORMS_START + 4)
+#define RID_QRY_REMOVE_ATTRIBUTE (RID_FORMS_START + 5)
+#define RID_QRY_LINK_WARNING (RID_FORMS_START + 6)
+#define RID_QRY_REMOVE_SUBMISSION (RID_FORMS_START + 7)
+#define RID_QRY_REMOVE_BINDING (RID_FORMS_START + 8)
+
+// ErrorBox-Id's -----------------------------------------------------------
+#define RID_ERR_INVALID_XMLNAME (RID_FORMS_START + 1)
+#define RID_ERR_INVALID_XMLPREFIX (RID_FORMS_START + 2)
+#define RID_ERR_DOUBLE_MODELNAME (RID_FORMS_START + 3)
+#define RID_ERR_EMPTY_SUBMISSIONNAME (RID_FORMS_START + 4)
+
+// String-Id's -----------------------------------------------------------
+#define RID_STR_FORMSHELL (RID_FORMS_START + 10)
+#define RID_STR_STDFORMNAME (RID_FORMS_START + 11)
+#define RID_STR_REC_TEXT (RID_FORMS_START + 12)
+#define RID_STR_REC_FROM_TEXT (RID_FORMS_START + 13)
+#define RID_STR_UNDO_PROPERTY (RID_FORMS_START + 14)
+#define RID_STR_UNDO_CONTAINER_INSERT (RID_FORMS_START + 15)
+#define RID_STR_UNDO_CONTAINER_REMOVE (RID_FORMS_START + 16)
+#define RID_STR_UNDO_CONTAINER_REMOVE_MULTIPLE (RID_FORMS_START + 27)
+#define RID_STR_UNDO_CONTAINER_REPLACE (RID_FORMS_START + 28)
+#define RID_STR_UNDO_TABORDER (RID_FORMS_START + 29)
+#define RID_STR_UNDO_DELETE_LOGICAL (RID_FORMS_START + 30)
+#define RID_STR_UNDO_MODEL_REPLACE (RID_FORMS_START + 31)
+#define RID_STR_NAVIGATIONBAR (RID_FORMS_START + 32)
+#define RID_STR_DEFAULT_CONTROL (RID_FORMS_START + 33)
+#define RID_STR_FORM (RID_FORMS_START + 36)
+#define RID_STR_FIELDSELECTION (RID_FORMS_START + 37)
+#define RID_STR_NO_PROPERTIES (RID_FORMS_START + 38)
+#define RID_STR_PROPERTIES_CONTROL (RID_FORMS_START + 39)
+#define RID_STR_PROPERTIES_FORM (RID_FORMS_START + 40)
+#define RID_STR_FMEXPLORER (RID_FORMS_START + 41)
+#define RID_STR_FORMS (RID_FORMS_START + 42)
+#define RID_STR_WRITEERROR (RID_FORMS_START + 43)
+#define RID_STR_DELETECONFIRM_RECORD (RID_FORMS_START + 44)
+#define RID_STR_DELETECONFIRM (RID_FORMS_START + 45)
+#define RID_STR_GROUPBOX (RID_FORMS_START + 46)
+#define RID_STR_NAVIGATION (RID_FORMS_START + 47)
+#define RID_STR_COLUMN (RID_FORMS_START + 48)
+#define RID_STR_DATE (RID_FORMS_START + 49)
+#define RID_STR_TIME (RID_FORMS_START + 50)
+#define RID_STR_PROPTITLE_NAVBAR (RID_FORMS_START + 51)
+#define RID_STR_PROPTITLE_PUSHBUTTON (RID_FORMS_START + 52)
+#define RID_STR_PROPTITLE_RADIOBUTTON (RID_FORMS_START + 53)
+#define RID_STR_PROPTITLE_CHECKBOX (RID_FORMS_START + 54)
+#define RID_STR_PROPTITLE_FIXEDTEXT (RID_FORMS_START + 55)
+#define RID_STR_PROPTITLE_GROUPBOX (RID_FORMS_START + 56)
+#define RID_STR_PROPTITLE_EDIT (RID_FORMS_START + 57)
+#define RID_STR_PROPTITLE_LISTBOX (RID_FORMS_START + 58)
+#define RID_STR_PROPTITLE_COMBOBOX (RID_FORMS_START + 59)
+#define RID_STR_PROPTITLE_IMAGEBUTTON (RID_FORMS_START + 60)
+#define RID_STR_PROPTITLE_IMAGECONTROL (RID_FORMS_START + 61)
+#define RID_STR_PROPTITLE_FILECONTROL (RID_FORMS_START + 62)
+#define RID_STR_PROPTITLE_DATEFIELD (RID_FORMS_START + 63)
+#define RID_STR_PROPTITLE_TIMEFIELD (RID_FORMS_START + 64)
+#define RID_STR_PROPTITLE_NUMERICFIELD (RID_FORMS_START + 65)
+#define RID_STR_PROPTITLE_CURRENCYFIELD (RID_FORMS_START + 66)
+#define RID_STR_PROPTITLE_PATTERNFIELD (RID_FORMS_START + 67)
+#define RID_STR_PROPTITLE_DBGRID (RID_FORMS_START + 68)
+#define RID_STR_PROPTITLE_MULTISELECT (RID_FORMS_START + 69)
+#define RID_STR_DELETECONFIRM_RECORDS (RID_FORMS_START + 70)
+#define RID_STR_CONTROL (RID_FORMS_START + 71)
+#define RID_STR_POSTFIX_DATE (RID_FORMS_START + 72)
+#define RID_STR_POSTFIX_TIME (RID_FORMS_START + 73)
+#define RID_STR_NODATACONTROLS (RID_FORMS_START + 77)
+#define RID_STR_FILTER_NAVIGATOR (RID_FORMS_START + 78)
+#define RID_STR_FILTER_FILTER_FOR (RID_FORMS_START + 79)
+#define RID_STR_FILTER_FILTER_OR (RID_FORMS_START + 80)
+#define RID_STR_PROPTITLE_FORMATTED (RID_FORMS_START + 81)
+#define RID_STR_SYNTAXERROR (RID_FORMS_START + 82)
+ // FREE
+#define RID_STR_NOCONTROLS_FOR_EXTERNALDISPLAY (RID_FORMS_START + 84)
+#define RID_STR_AUTOFIELD (RID_FORMS_START + 89)
+#define RID_STR_SVT_SQL_SYNTAX_ERROR (RID_FORMS_START + 90)
+#define RID_STR_SVT_SQL_SYNTAX_VALUE_NO_LIKE (RID_FORMS_START + 91)
+#define RID_STR_SVT_SQL_SYNTAX_FIELD_NO_LIKE (RID_FORMS_START + 92)
+#define RID_STR_SVT_SQL_SYNTAX_CRIT_NO_COMPARE (RID_FORMS_START + 93)
+#define RID_STR_SVT_SQL_SYNTAX_INT_NO_VALID (RID_FORMS_START + 94)
+#define RID_STR_SVT_SQL_SYNTAX_ACCESS_DAT_NO_VALID (RID_FORMS_START + 95)
+#define RID_STR_SVT_SQL_SYNTAX_REAL_NO_VALID (RID_FORMS_START + 96)
+#define RID_STR_SVT_SQL_SYNTAX_TABLE (RID_FORMS_START + 97)
+#define RID_STR_SVT_SQL_SYNTAX_COLUMN (RID_FORMS_START + 98)
+#define RID_STR_PROPTITLE_SCROLLBAR (RID_FORMS_START + 99)
+#define RID_STR_PROPTITLE_SPINBUTTON (RID_FORMS_START + 100)
+#define RID_STR_PROPTITLE_HIDDEN (RID_FORMS_START + 101)
+ // FREE
+ // FREE
+ // FREE
+ // FREE
+ // FREE
+ // FREE
+ // FREE
+ // FREE
+ // FREE
+ // FREE
+ // FREE
+ // FREE
+ // FREE
+ // FREE
+ // FREE
+ // FREE
+ // FREE
+ // FREE
+ // FREE
+ // FREE
+ // FREE
+ // FREE
+#define RID_STR_DATANAVIGATOR (RID_FORMS_START + 124)
+#define RID_STR_DATANAV_SUBM_PARENT (RID_FORMS_START + 125)
+#define RID_STR_DATANAV_SUBM_ID (RID_FORMS_START + 126)
+#define RID_STR_DATANAV_SUBM_ACTION (RID_FORMS_START + 127)
+#define RID_STR_DATANAV_SUBM_METHOD (RID_FORMS_START + 128)
+#define RID_STR_DATANAV_SUBM_REF (RID_FORMS_START + 129)
+#define RID_STR_DATANAV_SUBM_BIND (RID_FORMS_START + 130)
+#define RID_STR_DATANAV_SUBM_REPLACE (RID_FORMS_START + 131)
+#define RID_STR_DATANAV_ADD_ELEMENT (RID_FORMS_START + 132)
+#define RID_STR_DATANAV_EDIT_ELEMENT (RID_FORMS_START + 133)
+#define RID_STR_DATANAV_REMOVE_ELEMENT (RID_FORMS_START + 134)
+#define RID_STR_DATANAV_ADD_ATTRIBUTE (RID_FORMS_START + 135)
+#define RID_STR_DATANAV_EDIT_ATTRIBUTE (RID_FORMS_START + 136)
+#define RID_STR_DATANAV_REMOVE_ATTRIBUTE (RID_FORMS_START + 137)
+#define RID_STR_DATANAV_ADD_BINDING (RID_FORMS_START + 138)
+#define RID_STR_DATANAV_EDIT_BINDING (RID_FORMS_START + 139)
+#define RID_STR_DATANAV_REMOVE_BINDING (RID_FORMS_START + 140)
+#define RID_STR_DATANAV_ADD_SUBMISSION (RID_FORMS_START + 141)
+#define RID_STR_DATANAV_EDIT_SUBMISSION (RID_FORMS_START + 142)
+#define RID_STR_DATANAV_REMOVE_SUBMISSION (RID_FORMS_START + 143)
+#define RID_STR_DATANAV_LINKWARN_BUTTON (RID_FORMS_START + 144)
+#define RID_STR_SVT_SQL_SYNTAX_TABLE_OR_QUERY (RID_FORMS_START + 145)
+#define RID_STR_SVT_SQL_SYNTAX_TABLE_EXISTS (RID_FORMS_START + 146)
+#define RID_STR_SVT_SQL_SYNTAX_QUERY_EXISTS (RID_FORMS_START + 147)
+#define RID_STR_READONLY_VIEW (RID_FORMS_START + 148)
+#define RID_STR_ALREADYEXISTOVERWRITE (RID_FORMS_START + 149)
+#define RID_STR_OBJECT_LABEL (RID_FORMS_START + 150)
+
+// Error-String-Id's -----------------------------------------------------------
+#define RID_ERR_START (RID_FORMS_START + 600)
+#define RID_ERR_CONTEXT_ADDFORM (RID_ERR_START + 0)
+#define RID_ERR_DUPLICATE_NAME (RID_ERR_START + 1)
+#define RID_ERR_FIELDREQUIRED (RID_ERR_START + 2)
+#define RID_ERR_NO_ELEMENT (RID_ERR_START + 4)
+
+// untyped resources ----------------------------------------------------------
+
+#define RID_RSC_TABWIN_PREFIX ( RID_FORMS_START + 0 )
+#define RID_RSC_SQL_INTERNATIONAL ( RID_FORMS_START + 1 )
+
+#endif // _FM_FMPAGE_HXX
+
diff --git a/svx/inc/svx/fmsearch.hxx b/svx/inc/svx/fmsearch.hxx
index c74592c18caa..c74592c18caa 100644..100755
--- a/svx/inc/svx/fmsearch.hxx
+++ b/svx/inc/svx/fmsearch.hxx
diff --git a/svx/inc/svx/fmshell.hxx b/svx/inc/svx/fmshell.hxx
index b0d94146c0a9..b0d94146c0a9 100644..100755
--- a/svx/inc/svx/fmshell.hxx
+++ b/svx/inc/svx/fmshell.hxx
diff --git a/svx/inc/svx/fmsrccfg.hxx b/svx/inc/svx/fmsrccfg.hxx
new file mode 100755
index 000000000000..89ad20bef6f9
--- /dev/null
+++ b/svx/inc/svx/fmsrccfg.hxx
@@ -0,0 +1,158 @@
+/* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
+/*************************************************************************
+ *
+ * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
+ *
+ * Copyright 2000, 2010 Oracle and/or its affiliates.
+ *
+ * OpenOffice.org - a multi-platform office productivity suite
+ *
+ * This file is part of OpenOffice.org.
+ *
+ * OpenOffice.org is free software: you can redistribute it and/or modify
+ * it under the terms of the GNU Lesser General Public License version 3
+ * only, as published by the Free Software Foundation.
+ *
+ * OpenOffice.org is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU Lesser General Public License version 3 for more details
+ * (a copy is included in the LICENSE file that accompanied this code).
+ *
+ * You should have received a copy of the GNU Lesser General Public License
+ * version 3 along with OpenOffice.org. If not, see
+ * <http://www.openoffice.org/license.html>
+ * for a copy of the LGPLv3 License.
+ *
+ ************************************************************************/
+
+#ifndef _FMSRCCF_HXX_
+#define _FMSRCCF_HXX_
+
+#include <tools/string.hxx>
+#include <unotools/configvaluecontainer.hxx>
+#include <com/sun/star/uno/Sequence.hxx>
+#include "svx/svxdllapi.h"
+
+// ===================================================================================================
+
+#define MATCHING_ANYWHERE 0
+#define MATCHING_BEGINNING 1
+#define MATCHING_END 2
+#define MATCHING_WHOLETEXT 3
+
+// diese Konstanten duerfen NICHT einfach geaendert werden, da der SearchDialog aus den Einstellungen seiner ListBox
+// keine Umrechnungen vornimmt, sondern die einfach in die entsprechenden Methoden der SearchEngine steckt
+// (wenn man also die Konstanten oder die Reihenfolge der Listbox-Eintraege im Dialog aendert, muss das jeweils andere
+// angepasst werden)
+
+
+//........................................................................
+namespace svxform
+{
+//........................................................................
+
+ // ===================================================================================================
+ // = struct FmSearchParams - Parameter einer Suche
+ // ===================================================================================================
+
+ struct SVX_DLLPUBLIC FmSearchParams
+ {
+ protected:
+ sal_Int32 nTransliterationFlags;
+ // they're way too sensitive for direct access ....
+
+ public:
+ // no bit fields at all (want to pass the addresses to the OConfigurationValueContainer)
+ ::com::sun::star::uno::Sequence< ::rtl::OUString >
+ aHistory;
+ ::rtl::OUString sSingleSearchField;
+
+ sal_Int16 nSearchForType;
+ sal_Int16 nPosition;
+ sal_Int16 nLevOther;
+ sal_Int16 nLevShorter;
+ sal_Int16 nLevLonger;
+ sal_Bool bLevRelaxed;
+
+ sal_Bool bAllFields;
+ sal_Bool bUseFormatter;
+ sal_Bool bBackwards;
+ sal_Bool bWildcard;
+ sal_Bool bRegular;
+ sal_Bool bApproxSearch;
+ // the last three are mutually exclusive
+
+ sal_Bool bSoundsLikeCJK;
+
+ // ......................................
+ FmSearchParams();
+
+ sal_Bool isIgnoreWidthCJK( ) const;
+ void setIgnoreWidthCJK( sal_Bool _bIgnore );
+
+ sal_Int32 getTransliterationFlags( ) const { return nTransliterationFlags; }
+ void setTransliterationFlags( sal_Int32 _nFlags ) { nTransliterationFlags = _nFlags; }
+
+ sal_Bool isCaseSensitive( ) const;
+ void setCaseSensitive( sal_Bool _bCase );
+ };
+
+ // ===================================================================================================
+ // = class FmSearchConfigItem - ein ConfigItem, dass sich Suchparameter merkt
+ // ===================================================================================================
+
+ class SVX_DLLPUBLIC FmSearchConfigItem
+ :protected FmSearchParams
+ ,public ::utl::OConfigurationValueContainer
+ // order matters!
+ {
+ private:
+ ::osl::Mutex m_aMutex;
+
+ // wrapper properties:
+ // some of the members of FmSearchParams are must be translated to be stored in the configuration
+ ::rtl::OUString m_sSearchForType;
+ ::rtl::OUString m_sSearchPosition;
+
+ sal_Bool m_bIsMatchCase;
+ sal_Bool m_bIsMatchFullHalfWidthForms;
+ sal_Bool m_bIsMatchHiraganaKatakana;
+ sal_Bool m_bIsMatchContractions;
+ sal_Bool m_bIsMatchMinusDashCho_on;
+ sal_Bool m_bIsMatchRepeatCharMarks;
+ sal_Bool m_bIsMatchVariantFormKanji;
+ sal_Bool m_bIsMatchOldKanaForms;
+ sal_Bool m_bIsMatch_DiZi_DuZu;
+ sal_Bool m_bIsMatch_BaVa_HaFa;
+ sal_Bool m_bIsMatch_TsiThiChi_DhiZi;
+ sal_Bool m_bIsMatch_HyuIyu_ByuVyu;
+ sal_Bool m_bIsMatch_SeShe_ZeJe;
+ sal_Bool m_bIsMatch_IaIya;
+ sal_Bool m_bIsMatch_KiKu;
+ sal_Bool m_bIsIgnorePunctuation;
+ sal_Bool m_bIsIgnoreWhitespace;
+ sal_Bool m_bIsIgnoreProlongedSoundMark;
+ sal_Bool m_bIsIgnoreMiddleDot;
+
+ public:
+ FmSearchConfigItem();
+ ~FmSearchConfigItem();
+
+ const FmSearchParams& getParams( ) const;
+ void setParams( const FmSearchParams& _rParams );
+
+ private:
+ SVX_DLLPRIVATE void implTranslateFromConfig( );
+ SVX_DLLPRIVATE void implTranslateToConfig( );
+ };
+
+//........................................................................
+} // namespace svxform
+//........................................................................
+
+// ===================================================================================================
+
+#endif // _FMSRCCF_HXX_
+
+/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/svx/inc/svx/fmsrcimp.hxx b/svx/inc/svx/fmsrcimp.hxx
new file mode 100755
index 000000000000..85983401e554
--- /dev/null
+++ b/svx/inc/svx/fmsrcimp.hxx
@@ -0,0 +1,403 @@
+/* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
+/*************************************************************************
+ *
+ * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
+ *
+ * Copyright 2000, 2010 Oracle and/or its affiliates.
+ *
+ * OpenOffice.org - a multi-platform office productivity suite
+ *
+ * This file is part of OpenOffice.org.
+ *
+ * OpenOffice.org is free software: you can redistribute it and/or modify
+ * it under the terms of the GNU Lesser General Public License version 3
+ * only, as published by the Free Software Foundation.
+ *
+ * OpenOffice.org is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU Lesser General Public License version 3 for more details
+ * (a copy is included in the LICENSE file that accompanied this code).
+ *
+ * You should have received a copy of the GNU Lesser General Public License
+ * version 3 along with OpenOffice.org. If not, see
+ * <http://www.openoffice.org/license.html>
+ * for a copy of the LGPLv3 License.
+ *
+ ************************************************************************/
+
+#ifndef _FMSRCIMP_HXX
+#define _FMSRCIMP_HXX
+
+#include <svx/fmtools.hxx>
+#include "svx/svxdllapi.h"
+
+/** === begin UNO includes === **/
+#include <com/sun/star/awt/XCheckBox.hpp>
+#include <com/sun/star/awt/XListBox.hpp>
+#include <com/sun/star/awt/XTextComponent.hpp>
+#include <com/sun/star/util/XNumberFormatsSupplier.hpp>
+#include <com/sun/star/util/XNumberFormatter.hpp>
+/** === end UNO includes === **/
+
+#include <comphelper/stl_types.hxx>
+#include <cppuhelper/implbase1.hxx>
+#include <osl/mutex.hxx>
+#include <unotools/charclass.hxx>
+#include <unotools/collatorwrapper.hxx>
+#include <osl/thread.hxx>
+
+#include <deque>
+
+// ===================================================================================================
+// = class FmSearchThread - wie der Name schon sagt
+// ===================================================================================================
+
+class FmSearchEngine;
+class FmSearchThread : public ::osl::Thread
+{
+ FmSearchEngine* m_pEngine;
+ Link m_aTerminationHdl;
+
+ virtual void SAL_CALL run();
+ virtual void SAL_CALL onTerminated();
+
+public:
+ FmSearchThread(FmSearchEngine* pEngine) : m_pEngine(pEngine) { }
+ void setTerminationHandler(Link aHdl) { m_aTerminationHdl = aHdl; }
+};
+
+// ===================================================================================================
+// = struct FmSearchProgress - diese Struktur bekommt der Owner der SearchEngine fuer Status-Updates
+// = (und am Ende der Suche)
+// ===================================================================================================
+
+struct FmSearchProgress
+{
+ enum STATE { STATE_PROGRESS, STATE_PROGRESS_COUNTING, STATE_CANCELED, STATE_SUCCESSFULL, STATE_NOTHINGFOUND, STATE_ERROR };
+ // (Bewegung auf neuen Datensatz; Fortschritt beim Zaehlen von Datensaetzen; abgebrochen; Datensatz gefunden;
+ // nichts gefunden, irgendein nicht zu handelnder Fehler)
+ STATE aSearchState;
+
+ // aktueller Datensatz - immer gueltig (ist zum Beispiel bei Abbrechen auch fuer das Weitersuchen interesant)
+ sal_uInt32 nCurrentRecord;
+ // Ueberlauf - nur gueltig bei STATE_PROGRESS
+ sal_Bool bOverflow;
+
+ // die Position des Such-Cursors - bei STATE_SUCCESSFULL, STATE_CANCELED und STATE_NOTHING_FOUND gueltig
+ ::com::sun::star::uno::Any aBookmark;
+ // das Feld, in dem der Text gefunden wurde - bei STATE_SUCCESSFULL gueltig
+ sal_Int32 nFieldIndex;
+};
+
+// ===================================================================================================
+// = class FmRecordCountListener - Hilfsklasse fuer FmSearchEngine, lauscht an einem Cursor und teilt
+// = Aenderungem im RecordCount mit
+// ===================================================================================================
+
+class FmRecordCountListener : public ::cppu::WeakImplHelper1< ::com::sun::star::beans::XPropertyChangeListener>
+{
+// Atribute
+ Link m_lnkWhoWantsToKnow;
+ ::com::sun::star::uno::Reference< ::com::sun::star::beans::XPropertySet > m_xListening;
+
+// Attribut-Zugriff
+public:
+ Link SetPropChangeHandler(const Link& lnk);
+
+// Oprationen
+public:
+ FmRecordCountListener(const ::com::sun::star::uno::Reference< ::com::sun::star::sdbc::XResultSet >& dbcCursor);
+ // the set has to support the sdb::ResultSet service
+ virtual ~FmRecordCountListener();
+
+ // DECLARE_UNO3_AGG_DEFAULTS(FmPropertyListener, UsrObject);
+ // virtual sal_Bool queryInterface(::com::sun::star::uno::Uik aUik, ::com::sun::star::uno::Reference< ::com::sun::star::uno::XInterface >& rOut);
+
+// ::com::sun::star::lang::XEventListener
+ virtual void SAL_CALL disposing(const ::com::sun::star::lang::EventObject& Source) throw(::com::sun::star::uno::RuntimeException);
+
+// ::com::sun::star::beans::XPropertyChangeListener
+ virtual void SAL_CALL propertyChange(const ::com::sun::star::beans::PropertyChangeEvent& evt) throw(::com::sun::star::uno::RuntimeException);
+
+ void DisConnect();
+
+private:
+ void NotifyCurrentCount();
+
+};
+
+// ===================================================================================================
+// = class FmSearchEngine - Impl-Klasse fuer FmSearchDialog
+// ===================================================================================================
+
+namespace svxform {
+ // We have three possible control types we may search in, determined by the supported interfaces : ::com::sun::star::awt::XTextComponent, ::com::sun::star::awt::XListBox, ::com::sun::star::awt::XCheckBox.
+ // While searching we don't want to do this distinction for every control in every round. So we need some helpers.
+ class ControlTextWrapper
+ {
+ // attributes
+ ::com::sun::star::uno::Reference< ::com::sun::star::uno::XInterface > m_xControl;
+ // attribute access
+ public:
+ ::com::sun::star::uno::Reference< ::com::sun::star::uno::XInterface > getControl() const{ return m_xControl; }
+ public:
+ ControlTextWrapper(const ::com::sun::star::uno::Reference< ::com::sun::star::uno::XInterface >& _xControl) { m_xControl = _xControl; }
+ virtual ~ControlTextWrapper() { }
+
+ virtual ::rtl::OUString getCurrentText() const = 0;
+ };
+ class SimpleTextWrapper : public ControlTextWrapper
+ {
+ ::com::sun::star::uno::Reference< ::com::sun::star::awt::XTextComponent > m_xText;
+ public:
+ SimpleTextWrapper(const ::com::sun::star::uno::Reference< ::com::sun::star::awt::XTextComponent >& _xText);
+ virtual ::rtl::OUString getCurrentText() const;
+ };
+ class ListBoxWrapper : public ControlTextWrapper
+ {
+ ::com::sun::star::uno::Reference< ::com::sun::star::awt::XListBox > m_xBox;
+ public:
+ ListBoxWrapper(const ::com::sun::star::uno::Reference< ::com::sun::star::awt::XListBox >& _xBox);
+ virtual ::rtl::OUString getCurrentText() const;
+ };
+ class CheckBoxWrapper : public ControlTextWrapper
+ {
+ ::com::sun::star::uno::Reference< ::com::sun::star::awt::XCheckBox > m_xBox;
+ public:
+ CheckBoxWrapper(const ::com::sun::star::uno::Reference< ::com::sun::star::awt::XCheckBox >& _xBox);
+ virtual ::rtl::OUString getCurrentText() const;
+ };
+}
+
+enum FMSEARCH_MODE { SM_BRUTE, SM_ALLOWSCHEDULE, SM_USETHREAD };
+
+DECLARE_STL_VECTOR( ::com::sun::star::uno::Reference< ::com::sun::star::uno::XInterface>, InterfaceArray);
+
+class SVX_DLLPUBLIC FmSearchEngine
+{
+ friend class FmSearchThread;
+
+ enum SEARCH_RESULT { SR_FOUND, SR_NOTFOUND, SR_ERROR, SR_CANCELED };
+ enum SEARCHFOR_TYPE { SEARCHFOR_STRING, SEARCHFOR_NULL, SEARCHFOR_NOTNULL };
+
+ // zugrundeliegende Daten
+ CursorWrapper m_xSearchCursor;
+ std::deque<sal_Int32> m_arrFieldMapping;
+ // da der Iterator durchaus mehr Spalten haben kann, als ich eigentlich verwalte (in meiner Feld-Listbox),
+ // muss ich mir hier ein Mapping dieser ::com::sun::star::form-Schluessel auf die Indizies der entsprechenden Spalten im Iterator halten
+
+ // der Formatter
+ ::com::sun::star::uno::Reference< ::com::sun::star::util::XNumberFormatsSupplier > m_xFormatSupplier;
+ ::com::sun::star::uno::Reference< ::com::sun::star::util::XNumberFormatter > m_xFormatter;
+
+ CharClass m_aCharacterClassficator;
+ CollatorWrapper m_aStringCompare;
+
+ // die Sammlung aller interesanten Felder (bzw. ihre ::com::sun::star::data::XDatabaseVariant-Interfaces und ihre FormatKeys)
+ struct FieldInfo
+ {
+ ::com::sun::star::uno::Reference< ::com::sun::star::sdb::XColumn > xContents;
+ sal_uInt32 nFormatKey;
+ sal_Bool bDoubleHandling;
+ };
+
+ DECLARE_STL_VECTOR(FieldInfo, FieldCollection);
+ FieldCollection m_arrUsedFields;
+ sal_Int32 m_nCurrentFieldIndex; // der letzte Parameter von RebuildUsedFields, ermoeglicht mir Checks in FormatField
+
+ DECLARE_STL_VECTOR(svxform::ControlTextWrapper*, ControlTextSuppliers);
+ ControlTextSuppliers m_aControlTexts;
+
+ sal_Bool m_bUsingTextComponents;
+ CursorWrapper m_xOriginalIterator;
+ CursorWrapper m_xClonedIterator;
+
+ // Daten fuer Entscheidung, in welchem Feld ich ein "Found" akzeptiere
+ ::com::sun::star::uno::Any m_aPreviousLocBookmark; // Position, an der ich zuletzt fuendig war
+ FieldCollectionIterator m_iterPreviousLocField; // dito Feld
+
+ // Kommunikation mit dem Thread, der die eigentliche Suche durchfuehrt
+ ::rtl::OUString m_strSearchExpression; // Hinrichtung
+ SEARCHFOR_TYPE m_eSearchForType; // dito
+ SEARCH_RESULT m_srResult; // Rueckrichtung
+
+ // der Link, dem ich Fortschritte und Ergebnisse mitteile
+ Link m_aProgressHandler;
+ sal_Bool m_bSearchingCurrently : 1; // laeuft gerade eine (asynchrone) Suche ?
+ sal_Bool m_bCancelAsynchRequest : 1; // soll abgebrochen werden ?
+ ::osl::Mutex m_aCancelAsynchAccess; // Zugriff auf m_bCancelAsynchRequest (eigentlich nur bei
+ // m_eMode == SM_USETHREAD interesant)
+ FMSEARCH_MODE m_eMode; // der aktuelle Modus
+ // der aktuelle Modus
+
+ // Parameter fuer die Suche
+ sal_Bool m_bFormatter : 1; // Feldformatierung benutzen
+ sal_Bool m_bForward : 1; // Richtung
+ sal_Bool m_bWildcard : 1; // Platzhalter-Suche ?
+ sal_Bool m_bRegular : 1; // regulaerer Ausdruck
+ sal_Bool m_bLevenshtein : 1; // Levenshtein-Suche
+ sal_Bool m_bTransliteration : 1; // Levenshtein-Suche
+
+ sal_Bool m_bLevRelaxed : 1; // Parameter fuer Levenshtein-Suche
+ sal_uInt16 m_nLevOther;
+ sal_uInt16 m_nLevShorter;
+ sal_uInt16 m_nLevLonger;
+
+ sal_uInt16 m_nPosition; // wenn nicht regulaer oder lev, dann einer der MATCHING_...-Werte
+
+ sal_Int32 m_nTransliterationFlags;
+
+// -------------
+// Memberzugriff
+private:
+ SVX_DLLPRIVATE sal_Bool CancelRequested(); // liefert eine durch m_aCancelAsynchAccess gesicherte Auswertung von m_bCancelAsynchRequest
+
+public:
+ void SetCaseSensitive(sal_Bool bSet);
+ sal_Bool GetCaseSensitive() const;
+
+ void SetFormatterUsing(sal_Bool bSet); // das ist etwas umfangreicher, deshalb kein hier inline ....
+ sal_Bool GetFormatterUsing() const { return m_bFormatter; }
+
+ void SetDirection(sal_Bool bForward) { m_bForward = bForward; }
+ sal_Bool GetDirection() const { return m_bForward; }
+
+ void SetWildcard(sal_Bool bSet) { m_bWildcard = bSet; }
+ sal_Bool GetWildcard() const { return m_bWildcard; }
+
+ void SetRegular(sal_Bool bSet) { m_bRegular = bSet; }
+ sal_Bool GetRegular() const { return m_bRegular; }
+
+ void SetLevenshtein(sal_Bool bSet) { m_bLevenshtein = bSet; }
+ sal_Bool GetLevenshtein() const { return m_bLevenshtein; }
+
+ void SetIgnoreWidthCJK(sal_Bool bSet);
+ sal_Bool GetIgnoreWidthCJK() const;
+
+ void SetTransliteration(sal_Bool bSet) { m_bTransliteration = bSet; }
+ sal_Bool GetTransliteration() const { return m_bTransliteration; }
+
+ void SetLevRelaxed(sal_Bool bSet) { m_bLevRelaxed = bSet; }
+ sal_Bool GetLevRelaxed() const { return m_bLevRelaxed; }
+ void SetLevOther(sal_uInt16 nHowMuch) { m_nLevOther = nHowMuch; }
+ sal_uInt16 GetLevOther() const { return m_nLevOther; }
+ void SetLevShorter(sal_uInt16 nHowMuch) { m_nLevShorter = nHowMuch; }
+ sal_uInt16 GetLevShorter() const { return m_nLevShorter; }
+ void SetLevLonger(sal_uInt16 nHowMuch) { m_nLevLonger = nHowMuch; }
+ sal_uInt16 GetLevLonger() const { return m_nLevLonger; }
+ // die ganzen Lev-Werte werden nur bei m_bLevenshtein==sal_True beachtet
+
+ void SetTransliterationFlags(sal_Int32 _nFlags) { m_nTransliterationFlags = _nFlags; }
+ sal_Int32 GetTransliterationFlags() const { return m_nTransliterationFlags; }
+
+ void SetPosition(sal_uInt16 nValue) { m_nPosition = nValue; }
+ sal_uInt16 GetPosition() const { return m_nPosition; }
+ // Position wird bei m_bWildCard==sal_True nicht beachtet
+
+ FMSEARCH_MODE GetSearchMode() const { return m_eMode; }
+
+public:
+ /** zwei Constructoren, beide analog zu denen des FmSearchDialog, Erklaerung siehe also dort ....
+ xCursor muss jeweils den ::com::sun::star::data::DatabaseCursor-Service implementieren.
+ wenn eMode == SM_USETHREAD, sollte ein ProgressHandler gesetzt sein, da dann die Ergebnisuebermittlung ueber diesen
+ Handler erfolgt.
+ Ist eMode != SM_USETHREAD, kehren SearchNext und StarOver nicht zurueck, bevor die Suche (erfolgreich oder nicht) beendet
+ wurde, dann kann man das Ergebnis danach abfragen. Ist zusaetzlich der ProgressHandler gesetzt, wird dieser fuer jeden neuen
+ Datensatz sowie am Ende der Suche aufgerufen.
+ */
+ FmSearchEngine(
+ const ::com::sun::star::uno::Reference< ::com::sun::star::lang::XMultiServiceFactory >& _rxORB,
+ const ::com::sun::star::uno::Reference< ::com::sun::star::sdbc::XResultSet >& xCursor,
+ const ::rtl::OUString& strVisibleFields,
+ const ::com::sun::star::uno::Reference< ::com::sun::star::util::XNumberFormatsSupplier >& xFormat,
+ FMSEARCH_MODE eMode);
+ FmSearchEngine(
+ const ::com::sun::star::uno::Reference< ::com::sun::star::lang::XMultiServiceFactory >& _rxORB,
+ const ::com::sun::star::uno::Reference< ::com::sun::star::sdbc::XResultSet >& xCursor,
+ const ::rtl::OUString& strVisibleFields,
+ const InterfaceArray& arrFields,
+ FMSEARCH_MODE eMode);
+
+ virtual ~FmSearchEngine();
+
+ /** der Link wird fuer jeden Datensatz und nach Beendigung der Suche aufgerufen, Parameter ist ein Zeiger auf
+ eine FmSearchProgress-Struktur
+ der Handler sollte auf jeden Fall Thread-sicher sein
+ */
+ void SetProgressHandler(Link aHdl) { m_aProgressHandler = aHdl; }
+
+ /// das naechste Vorkommen suchen (Werte fuer nDirection siehe DIRECTION_*-defines)
+ void SearchNext(const ::rtl::OUString& strExpression);
+ /// analogous, search for "NULL" (_bSearchForNull==sal_True) or "not NULL"
+ void SearchNextSpecial(sal_Bool _bSearchForNull);
+ /// das naechste Vorkommen suchen, abhaengig von nDirection wird dabei am Anfang oder am Ende neu begonnen
+ void StartOver(const ::rtl::OUString& strExpression);
+ /// analogous, search for "NULL" (_bSearchForNull==sal_True) or "not NULL"
+ void StartOverSpecial(sal_Bool _bSearchForNull);
+ /// die Angaben ueber letzte Fundstelle invalidieren
+ void InvalidatePreviousLoc();
+
+ /** baut m_arrUsedFields neu auf (nFieldIndex==-1 bedeutet alle Felder, ansonsten gibt es den Feldindex an)
+ wenn bForce nicht gesetzt ist, passiert bei nFieldIndex == m_nCurrentFieldIndex nichts
+ (ruft InvalidatePreviousLoc auf)
+ */
+ void RebuildUsedFields(sal_Int32 nFieldIndex, sal_Bool bForce = sal_False);
+ ::rtl::OUString FormatField(sal_Int32 nWhich);
+
+ /// kehrt sofort zurueck; nachdem wirklich abgebrochen wurde, wird der ProgressHandler mit STATE_CANCELED aufgerufen
+ void CancelSearch();
+
+ /** nur gueltig, wenn nicht gerade eine (asynchrone) Suche laeuft, die naechste Suche wird dann auf dem neuen Iterator
+ mit den neuen Parametern durchgefuehrt
+ */
+ sal_Bool SwitchToContext(const ::com::sun::star::uno::Reference< ::com::sun::star::sdbc::XResultSet >& xCursor, const ::rtl::OUString& strVisibleFields, const InterfaceArray& arrFields,
+ sal_Int32 nFieldIndex);
+
+protected:
+ void Init(const ::rtl::OUString& strVisibleFields);
+
+ void SearchNextImpl();
+ // diese Impl-Methode laeuft im SearchThread
+
+ // start a thread-search (or call SearchNextImpl directly, depending on the search mode)
+ void ImplStartNextSearch();
+
+private:
+ SVX_DLLPRIVATE void clearControlTexts();
+ SVX_DLLPRIVATE void fillControlTexts(const InterfaceArray& arrFields);
+
+ // three methods implementing a complete search loop (null/not null, wildcard, SearchText)
+ // (they all have some code in common, but with this solution we have do do a distinction only once per search (before
+ // starting the loop), not in every loop step
+ SVX_DLLPRIVATE SEARCH_RESULT SearchSpecial(sal_Bool _bSearchForNull, sal_Int32& nFieldPos, FieldCollectionIterator& iterFieldLoop,
+ const FieldCollectionIterator& iterBegin, const FieldCollectionIterator& iterEnd);
+ SVX_DLLPRIVATE SEARCH_RESULT SearchWildcard(const ::rtl::OUString& strExpression, sal_Int32& nFieldPos, FieldCollectionIterator& iterFieldLoop,
+ const FieldCollectionIterator& iterBegin, const FieldCollectionIterator& iterEnd);
+ SVX_DLLPRIVATE SEARCH_RESULT SearchRegularApprox(const ::rtl::OUString& strExpression, sal_Int32& nFieldPos, FieldCollectionIterator& iterFieldLoop,
+ const FieldCollectionIterator& iterBegin, const FieldCollectionIterator& iterEnd);
+
+ SVX_DLLPRIVATE void PropagateProgress(sal_Bool _bDontPropagateOverflow);
+ // ruft den ProgressHandler mit STATE_PROGRESS und der aktuellen Position des SearchIterators auf
+
+ // helpers, die ich mehrmals brauche
+ SVX_DLLPRIVATE sal_Bool MoveCursor();
+ // bewegt m_xSearchIterator unter Beachtung von Richtung/Ueberlauf Cursor
+ SVX_DLLPRIVATE sal_Bool MoveField(sal_Int32& nPos, FieldCollectionIterator& iter, const FieldCollectionIterator& iterBegin, const FieldCollectionIterator& iterEnd);
+ // bewegt den Iterator unter Beachtung von Richtung/Ueberlauf Iterator/Ueberlauf Cursor
+ SVX_DLLPRIVATE void BuildAndInsertFieldInfo(const ::com::sun::star::uno::Reference< ::com::sun::star::container::XIndexAccess >& xAllFields, sal_Int32 nField);
+ // baut eine FieldInfo zum Feld Nummer nField (in xAllFields) auf und fuegt sie zu m_arrUsedFields hinzu
+ // xAllFields muss den DatabaseRecord-Service unterstuetzen
+ SVX_DLLPRIVATE ::rtl::OUString FormatField(const FieldInfo& rField);
+ // formatiert das Feld mit dem NumberFormatter
+
+ SVX_DLLPRIVATE sal_Bool HasPreviousLoc() { return m_aPreviousLocBookmark.hasValue(); }
+
+ DECL_LINK(OnSearchTerminated, FmSearchThread*);
+ // wird vom SuchThread benutzt, nach Rueckkehr aus diesem Handler loescht sich der Thread selber
+ DECL_LINK(OnNewRecordCount, void*);
+};
+
+#endif // _FMSRCIMP_HXX
+
+/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/svx/inc/svx/fmtools.hxx b/svx/inc/svx/fmtools.hxx
index 000b01a3ed4a..2856e822b28e 100644..100755
--- a/svx/inc/svx/fmtools.hxx
+++ b/svx/inc/svx/fmtools.hxx
@@ -72,7 +72,7 @@
#include <com/sun/star/util/XNumberFormatter.hpp>
#include <com/sun/star/util/XNumberFormats.hpp>
-#include <vcl/wintypes.hxx>
+#include <tools/wintypes.hxx>
#include <cppuhelper/weakref.hxx>
#include <comphelper/uno3.hxx>
#include <comphelper/stl_types.hxx>
diff --git a/svx/inc/svx/fmview.hxx b/svx/inc/svx/fmview.hxx
index b8958967acbb..f9dd40edbd8e 100644..100755
--- a/svx/inc/svx/fmview.hxx
+++ b/svx/inc/svx/fmview.hxx
@@ -98,8 +98,8 @@ public:
const ::com::sun::star::uno::Reference< ::com::sun::star::util::XNumberFormats >& _rxNumberFormats,
sal_uInt16 _nControlObjectID,
const ::rtl::OUString& _rFieldPostfix,
- UINT32 _nInventor,
- UINT16 _nLabelObjectID,
+ sal_uInt32 _nInventor,
+ sal_uInt16 _nLabelObjectID,
SdrPage* _pLabelPage,
SdrPage* _pControlPage,
SdrModel* _pModel,
@@ -115,7 +115,7 @@ public:
using E3dView::Paste;
virtual sal_Bool Paste(const SdrModel& rMod, const Point& rPos, SdrObjList* pLst=NULL, sal_uInt32 nOptions=0);
- virtual BOOL MouseButtonDown( const MouseEvent& _rMEvt, Window* _pWin );
+ virtual sal_Bool MouseButtonDown( const MouseEvent& _rMEvt, Window* _pWin );
/** grab the focus to the first form control on the view
@param _bForceSync
@@ -129,7 +129,7 @@ public:
GetFormController( const ::com::sun::star::uno::Reference< ::com::sun::star::form::XForm >& _rxForm, const OutputDevice& _rDevice ) const;
// SdrView
- BOOL KeyInput(const KeyEvent& rKEvt, Window* pWin);
+ sal_Bool KeyInput(const KeyEvent& rKEvt, Window* pWin);
/// shortcut to "GetSdrPageView() ? PTR_CAST( FmFormPage, GetSdrPageView() ) : NULL"
FmFormPage* GetCurPage();
diff --git a/svx/inc/svx/fntctl.hxx b/svx/inc/svx/fntctl.hxx
index 3f0dd11fc0df..380dd33a5c32 100644..100755
--- a/svx/inc/svx/fntctl.hxx
+++ b/svx/inc/svx/fntctl.hxx
@@ -49,12 +49,12 @@ private:
SVX_DLLPRIVATE void FillMenu();
DECL_LINK( MenuSelect, FontNameMenu * );
- SVX_DLLPRIVATE virtual void StateChanged( USHORT nSID, SfxItemState eState,
+ SVX_DLLPRIVATE virtual void StateChanged( sal_uInt16 nSID, SfxItemState eState,
const SfxPoolItem* pState );
SVX_DLLPRIVATE virtual void Notify( SfxBroadcaster& rBC, const SfxHint& rHint );
public:
- SvxFontMenuControl( USHORT nId, Menu&, SfxBindings& );
+ SvxFontMenuControl( sal_uInt16 nId, Menu&, SfxBindings& );
~SvxFontMenuControl();
virtual PopupMenu* GetPopup() const;
diff --git a/svx/inc/svx/fntctrl.hxx b/svx/inc/svx/fntctrl.hxx
index 9b0e2f0a000e..215aab5e0a9d 100644..100755
--- a/svx/inc/svx/fntctrl.hxx
+++ b/svx/inc/svx/fntctrl.hxx
@@ -48,7 +48,7 @@ class SVX_DLLPUBLIC SvxFontPrevWindow : public Window
private:
FontPrevWin_Impl* pImpl;
- SVX_DLLPRIVATE void InitSettings( BOOL bForeground, BOOL bBackground );
+ SVX_DLLPRIVATE void InitSettings( sal_Bool bForeground, sal_Bool bBackground );
public:
SvxFontPrevWindow( Window* pParent, const ResId& rId );
@@ -69,15 +69,15 @@ public:
void SetColor( const Color& rColor );
void ResetColor();
void SetBackColor( const Color& rColor );
- void UseResourceText( BOOL bUse = TRUE );
+ void UseResourceText( sal_Bool bUse = sal_True );
void Paint( const Rectangle& );
- BOOL IsTwoLines() const;
- void SetTwoLines(BOOL bSet);
+ sal_Bool IsTwoLines() const;
+ void SetTwoLines(sal_Bool bSet);
void SetBrackets(sal_Unicode cStart, sal_Unicode cEnd);
- void SetFontWidthScale( UINT16 nScaleInPercent );
+ void SetFontWidthScale( sal_uInt16 nScaleInPercent );
void AutoCorrectFontColor( void );
diff --git a/svx/inc/svx/fntszctl.hxx b/svx/inc/svx/fntszctl.hxx
index dd01d2b4ad8a..9a77bb48f8fe 100644..100755
--- a/svx/inc/svx/fntszctl.hxx
+++ b/svx/inc/svx/fntszctl.hxx
@@ -50,11 +50,11 @@ private:
DECL_LINK( MenuSelect, FontSizeMenu * );
protected:
- virtual void StateChanged( USHORT nSID, SfxItemState eState,
+ virtual void StateChanged( sal_uInt16 nSID, SfxItemState eState,
const SfxPoolItem* pState );
public:
- SvxFontSizeMenuControl( USHORT nId, Menu&, SfxBindings& );
+ SvxFontSizeMenuControl( sal_uInt16 nId, Menu&, SfxBindings& );
~SvxFontSizeMenuControl();
virtual PopupMenu* GetPopup() const;
diff --git a/svx/inc/fontlb.hxx b/svx/inc/svx/fontlb.hxx
index 2326ff8e09e0..dd2ca4e867f7 100644..100755
--- a/svx/inc/fontlb.hxx
+++ b/svx/inc/svx/fontlb.hxx
@@ -95,7 +95,7 @@ public:
void SetNoSelection();
/** Returns the position of the entry currently selected or LIST_APPEND. */
- ULONG GetSelectEntryPos() const;
+ sal_uLong GetSelectEntryPos() const;
/** Returns the text of the selected entry or an empty string. */
XubString GetSelectEntry() const;
diff --git a/svx/inc/svx/fontwork.hxx b/svx/inc/svx/fontwork.hxx
index 0594e032f4cb..86d29f6184bc 100644..100755
--- a/svx/inc/svx/fontwork.hxx
+++ b/svx/inc/svx/fontwork.hxx
@@ -70,11 +70,11 @@ class SvxFontWorkControllerItem : public SfxControllerItem
SvxFontWorkDialog &rFontWorkDlg;
protected:
- virtual void StateChanged(USHORT nSID, SfxItemState eState,
+ virtual void StateChanged(sal_uInt16 nSID, SfxItemState eState,
const SfxPoolItem* pState);
public:
- SvxFontWorkControllerItem(USHORT nId, SvxFontWorkDialog&, SfxBindings&);
+ SvxFontWorkControllerItem(sal_uInt16 nId, SvxFontWorkDialog&, SfxBindings&);
};
/*************************************************************************
@@ -86,7 +86,7 @@ public:
class SVX_DLLPUBLIC SvxFontWorkChildWindow : public SfxChildWindow
{
public:
- SvxFontWorkChildWindow(Window*, USHORT, SfxBindings*, SfxChildWinInfo*);
+ SvxFontWorkChildWindow(Window*, sal_uInt16, SfxBindings*, SfxChildWinInfo*);
SFX_DECL_CHILDWINDOW(SvxFontWorkChildWindow);
};
@@ -123,11 +123,11 @@ class SVX_DLLPUBLIC SvxFontWorkDialog : public SfxDockingWindow
SfxBindings& rBindings;
Timer aInputTimer;
- BOOL bUserZoomedIn;
+ sal_Bool bUserZoomedIn;
- USHORT nLastStyleTbxId;
- USHORT nLastAdjustTbxId;
- USHORT nLastShadowTbxId;
+ sal_uInt16 nLastStyleTbxId;
+ sal_uInt16 nLastAdjustTbxId;
+ sal_uInt16 nLastShadowTbxId;
long nSaveShadowX;
long nSaveShadowY;
long nSaveShadowAngle;
@@ -160,7 +160,7 @@ class SVX_DLLPUBLIC SvxFontWorkDialog : public SfxDockingWindow
void SetShowForm_Impl(const XFormTextHideFormItem*);
void SetOutline_Impl(const XFormTextOutlineItem*);
void SetShadow_Impl(const XFormTextShadowItem*,
- BOOL bRestoreValues = FALSE);
+ sal_Bool bRestoreValues = sal_False);
void SetShadowColor_Impl(const XFormTextShadowColorItem*);
void SetShadowXVal_Impl(const XFormTextShadowXValItem*);
void SetShadowYVal_Impl(const XFormTextShadowYValItem*);
@@ -182,7 +182,7 @@ class SVX_DLLPUBLIC SvxFontWorkDialog : public SfxDockingWindow
~SvxFontWorkDialog();
void SetColorTable(const XColorTable* pTable);
- void SetActive(BOOL bActivate = TRUE);
+ void SetActive(sal_Bool bActivate = sal_True);
void CreateStdFormObj(SdrView& rView, SdrPageView& rPV,
const SfxItemSet& rAttr, SdrObject& rOldObj,
diff --git a/svx/inc/svx/fontworkbar.hxx b/svx/inc/svx/fontworkbar.hxx
index 3764b3859d84..3764b3859d84 100644..100755
--- a/svx/inc/svx/fontworkbar.hxx
+++ b/svx/inc/svx/fontworkbar.hxx
diff --git a/svx/inc/fontworkgallery.hxx b/svx/inc/svx/fontworkgallery.hxx
index 29ef21fe08e0..48b43186b4a2 100644..100755
--- a/svx/inc/fontworkgallery.hxx
+++ b/svx/inc/svx/fontworkgallery.hxx
@@ -64,10 +64,10 @@ class SVX_DLLPUBLIC FontWorkShapeTypeControl : public SfxToolBoxControl
public:
SFX_DECL_TOOLBOX_CONTROL();
- FontWorkShapeTypeControl( USHORT nSlotId, USHORT nId, ToolBox& rTbx );
+ FontWorkShapeTypeControl( sal_uInt16 nSlotId, sal_uInt16 nId, ToolBox& rTbx );
~FontWorkShapeTypeControl();
- virtual void Select( BOOL bMod1 = FALSE );
+ virtual void Select( sal_Bool bMod1 = sal_False );
virtual SfxPopupWindowType GetPopupWindowType() const;
virtual SfxPopupWindow* CreatePopupWindow();
};
@@ -92,8 +92,8 @@ public:
class SVX_DLLPUBLIC FontWorkGalleryDialog : public ModalDialog
{
- ValueSet maCtlFavorites;
FixedLine maFLFavorites;
+ ValueSet maCtlFavorites;
OKButton maOKButton;
CancelButton maCancelButton;
HelpButton maHelpButton;
diff --git a/svx/inc/formatpaintbrushctrl.hxx b/svx/inc/svx/formatpaintbrushctrl.hxx
index 62621a643801..d80c453d8d17 100644..100755
--- a/svx/inc/formatpaintbrushctrl.hxx
+++ b/svx/inc/svx/formatpaintbrushctrl.hxx
@@ -50,14 +50,14 @@ class SVX_DLLPUBLIC FormatPaintBrushToolBoxControl : public SfxToolBoxControl
public:
SFX_DECL_TOOLBOX_CONTROL();
- FormatPaintBrushToolBoxControl( USHORT nSlotId, USHORT nId, ToolBox& rTbx );
+ FormatPaintBrushToolBoxControl( sal_uInt16 nSlotId, sal_uInt16 nId, ToolBox& rTbx );
~FormatPaintBrushToolBoxControl();
virtual void DoubleClick();
virtual void Click();
- virtual void Select( BOOL bMod1 = FALSE );
+ virtual void Select( sal_Bool bMod1 = sal_False );
- virtual void StateChanged( USHORT nSID, SfxItemState eState,
+ virtual void StateChanged( sal_uInt16 nSID, SfxItemState eState,
const SfxPoolItem* pState );
private:
DECL_LINK( WaitDoubleClickHdl, void* );
diff --git a/svx/inc/svx/framebordertype.hxx b/svx/inc/svx/framebordertype.hxx
index 8d6de8f2edfc..8d6de8f2edfc 100644..100755
--- a/svx/inc/svx/framebordertype.hxx
+++ b/svx/inc/svx/framebordertype.hxx
diff --git a/svx/inc/svx/framelink.hxx b/svx/inc/svx/framelink.hxx
index 17b5fcb89d8c..17b5fcb89d8c 100644..100755
--- a/svx/inc/svx/framelink.hxx
+++ b/svx/inc/svx/framelink.hxx
diff --git a/svx/inc/svx/framelinkarray.hxx b/svx/inc/svx/framelinkarray.hxx
index 32b42e8b2cfb..32b42e8b2cfb 100644..100755
--- a/svx/inc/svx/framelinkarray.hxx
+++ b/svx/inc/svx/framelinkarray.hxx
diff --git a/svx/inc/svx/frmdirlbox.hxx b/svx/inc/svx/frmdirlbox.hxx
index b44343466d03..b44343466d03 100644..100755
--- a/svx/inc/svx/frmdirlbox.hxx
+++ b/svx/inc/svx/frmdirlbox.hxx
diff --git a/svx/inc/svx/frmsel.hxx b/svx/inc/svx/frmsel.hxx
index ef5adc35eb27..cf1eba03180f 100644..100755
--- a/svx/inc/svx/frmsel.hxx
+++ b/svx/inc/svx/frmsel.hxx
@@ -130,7 +130,7 @@ public:
/** Returns true, if all visible frame borders have equal widths.
@descr Ignores hidden and "don't care" frame borders. On success,
returns the widths in the passed parameters. */
- bool GetVisibleWidth( USHORT& rnPrim, USHORT& rnDist, USHORT& rnSec,
+ bool GetVisibleWidth( sal_uInt16& rnPrim, sal_uInt16& rnDist, sal_uInt16& rnSec,
SvxBorderStyle& rnStyle ) const;
/** Returns true, if all visible frame borders have equal color.
@descr Ignores hidden and "don't care" frame borders. On success,
@@ -162,7 +162,7 @@ public:
void SelectAllVisibleBorders( bool bSelect = true );
/** Sets the passed line widths to all selected frame borders (in twips). */
- void SetStyleToSelection( USHORT nPrim, USHORT nDist, USHORT nSec,
+ void SetStyleToSelection( sal_uInt16 nPrim, sal_uInt16 nDist, sal_uInt16 nSec,
SvxBorderStyle nStyle );
/** Sets the passed color to all selected frame borders. */
void SetColorToSelection( const Color& rColor );
diff --git a/svx/inc/galbrws.hxx b/svx/inc/svx/galbrws.hxx
index a109b153cc08..1fd7c5e5bc8f 100644..100755
--- a/svx/inc/galbrws.hxx
+++ b/svx/inc/svx/galbrws.hxx
@@ -48,7 +48,7 @@
class SVX_DLLPUBLIC GalleryChildWindow : public SfxChildWindow
{
public:
- GalleryChildWindow( Window*, USHORT, SfxBindings*, SfxChildWinInfo* );
+ GalleryChildWindow( Window*, sal_uInt16, SfxBindings*, SfxChildWinInfo* );
~GalleryChildWindow();
SFX_DECL_CHILDWINDOW( GalleryChildWindow );
@@ -89,7 +89,7 @@ private:
void InitSettings();
- virtual BOOL Close();
+ virtual sal_Bool Close();
virtual void Resize();
virtual void GetFocus();
@@ -108,10 +108,10 @@ public:
INetURLObject GetURL() const;
String GetFilterName() const;
Graphic GetGraphic() const;
- BOOL GetVCDrawModel( FmFormModel& rModel ) const;
- BOOL IsLinkage() const;
+ sal_Bool GetVCDrawModel( FmFormModel& rModel ) const;
+ sal_Bool IsLinkage() const;
- BOOL KeyInput( const KeyEvent& rKEvt, Window* pWindow );
+ sal_Bool KeyInput( const KeyEvent& rKEvt, Window* pWindow );
};
#endif // _SVX_GALBRWS_HXX_
diff --git a/svx/inc/galctrl.hxx b/svx/inc/svx/galctrl.hxx
index 025e610512cd..2d850dee4ef2 100644..100755
--- a/svx/inc/galctrl.hxx
+++ b/svx/inc/svx/galctrl.hxx
@@ -66,7 +66,7 @@ private:
Rectangle aPreviewRect;
GalleryTheme* mpTheme;
- SVX_DLLPRIVATE BOOL ImplGetGraphicCenterRect( const Graphic& rGraphic, Rectangle& rResultRect ) const;
+ SVX_DLLPRIVATE sal_Bool ImplGetGraphicCenterRect( const Graphic& rGraphic, Rectangle& rResultRect ) const;
SVX_DLLPRIVATE void InitSettings();
// Window
@@ -146,14 +146,14 @@ private:
Link maSelectHdl;
GalleryTheme* mpTheme;
- ULONG mnCurRow;
- BOOL mbInit;
+ sal_uIntPtr mnCurRow;
+ sal_Bool mbInit;
void InitSettings();
// BrowseBox
- virtual BOOL SeekRow( long nRow );
- virtual void PaintField( OutputDevice& rDev, const Rectangle& rRect, USHORT nColumnId ) const;
+ virtual sal_Bool SeekRow( long nRow );
+ virtual void PaintField( OutputDevice& rDev, const Rectangle& rRect, sal_uInt16 nColumnId ) const;
virtual void DoubleClick( const BrowserMouseEvent& rEvt );
virtual void Select();
virtual sal_Int8 AcceptDrop( const BrowserAcceptDropEvent& rEvt );
@@ -182,7 +182,7 @@ public:
@return
the text out of the cell
*/
- virtual String GetCellText(long _nRow, USHORT _nColId) const;
+ virtual String GetCellText(long _nRow, sal_uInt16 _nColId) const;
// from IAccessibleTableProvider
virtual Rectangle GetFieldCharacterBounds(sal_Int32 _nRow,sal_Int32 _nColumnPos,sal_Int32 nIndex);
diff --git a/svx/inc/gallery.hxx b/svx/inc/svx/gallery.hxx
index 8fef1579e5e5..d2e3bfcef326 100644..100755
--- a/svx/inc/gallery.hxx
+++ b/svx/inc/svx/gallery.hxx
@@ -225,57 +225,57 @@ public:
INetURLObject GetURL() const;
String GetFilterName() const;
Graphic GetGraphic() const;
- BOOL GetVCDrawModel( FmFormModel& rModel ) const;
- BOOL IsLinkage() const;
+ sal_Bool GetVCDrawModel( FmFormModel& rModel ) const;
+ sal_Bool IsLinkage() const;
static bool FillThemeList( std::vector<String>& rThemeList );
// FillObjList is filling rObjList with Strings of the internal Gallery Object URL
- static BOOL FillObjList( const String& rThemeName, List& rObjList );
- static BOOL FillObjList( ULONG nThemeId, List& rObjList );
+ static sal_Bool FillObjList( const String& rThemeName, List& rObjList );
+ static sal_Bool FillObjList( sal_uIntPtr nThemeId, List& rObjList );
// FillObjTitleList is filling the rList with the title for each gallery object
static sal_Bool FillObjListTitle( const sal_uInt32 nThemeId, std::vector< rtl::OUString >& rList );
- static BOOL InsertURL( const String& rThemeName, const String& rURL );
- static BOOL InsertURL( ULONG nThemeId, const String& rURL );
+ static sal_Bool InsertURL( const String& rThemeName, const String& rURL );
+ static sal_Bool InsertURL( sal_uIntPtr nThemeId, const String& rURL );
- static BOOL InsertURL( const String& rThemeName, const String& rURL,
- const ULONG nSgaFormat /* = SGA_FORMAT_ALL */ );
- static BOOL InsertURL( ULONG nThemeId, const String& rURL,
- const ULONG nSgaFormat /* = SGA_FORMAT_ALL */ );
+ static sal_Bool InsertURL( const String& rThemeName, const String& rURL,
+ const sal_uIntPtr nSgaFormat /* = SGA_FORMAT_ALL */ );
+ static sal_Bool InsertURL( sal_uIntPtr nThemeId, const String& rURL,
+ const sal_uIntPtr nSgaFormat /* = SGA_FORMAT_ALL */ );
- static ULONG GetObjCount( const String& rThemeName );
- static ULONG GetObjCount( ULONG nThemeId );
+ static sal_uIntPtr GetObjCount( const String& rThemeName );
+ static sal_uIntPtr GetObjCount( sal_uIntPtr nThemeId );
- static BOOL GetGraphicObj( const String& rThemeName, ULONG nPos,
+ static sal_Bool GetGraphicObj( const String& rThemeName, sal_uIntPtr nPos,
Graphic* pGraphic = NULL, Bitmap* pThumb = NULL,
- BOOL bProgess = FALSE );
- static BOOL GetGraphicObj( ULONG nThemeId, ULONG nPos,
+ sal_Bool bProgess = sal_False );
+ static sal_Bool GetGraphicObj( sal_uIntPtr nThemeId, sal_uIntPtr nPos,
Graphic* pGraphic = NULL, Bitmap* pThumb = NULL,
- BOOL bProgess = FALSE );
+ sal_Bool bProgess = sal_False );
- static BOOL InsertGraphicObj( const String& rThemeName, const Graphic& rGraphic );
- static BOOL InsertGraphicObj( ULONG nThemeId, const Graphic& rGraphic );
+ static sal_Bool InsertGraphicObj( const String& rThemeName, const Graphic& rGraphic );
+ static sal_Bool InsertGraphicObj( sal_uIntPtr nThemeId, const Graphic& rGraphic );
- static ULONG GetSdrObjCount( const String& rThemeName );
- static ULONG GetSdrObjCount( ULONG nThemeId );
+ static sal_uIntPtr GetSdrObjCount( const String& rThemeName );
+ static sal_uIntPtr GetSdrObjCount( sal_uIntPtr nThemeId );
- static BOOL GetSdrObj( const String& rThemeName, ULONG nSdrModelPos,
+ static sal_Bool GetSdrObj( const String& rThemeName, sal_uIntPtr nSdrModelPos,
SdrModel* pModel = NULL, Bitmap* pThumb = NULL );
- static BOOL GetSdrObj( ULONG nThemeId, ULONG nSdrModelPos,
+ static sal_Bool GetSdrObj( sal_uIntPtr nThemeId, sal_uIntPtr nSdrModelPos,
SdrModel* pModel = NULL, Bitmap* pThumb = NULL );
- static BOOL InsertSdrObj( const String& rThemeName, FmFormModel& rModel );
- static BOOL InsertSdrObj( ULONG nThemeId, FmFormModel& rModel );
+ static sal_Bool InsertSdrObj( const String& rThemeName, FmFormModel& rModel );
+ static sal_Bool InsertSdrObj( sal_uIntPtr nThemeId, FmFormModel& rModel );
- static BOOL BeginLocking( const String& rThemeName );
- static BOOL BeginLocking( ULONG nThemeId );
+ static sal_Bool BeginLocking( const String& rThemeName );
+ static sal_Bool BeginLocking( sal_uIntPtr nThemeId );
- static BOOL EndLocking( const String& rThemeName );
- static BOOL EndLocking( ULONG nThemeId );
+ static sal_Bool EndLocking( const String& rThemeName );
+ static sal_Bool EndLocking( sal_uIntPtr nThemeId );
- static BOOL DrawCentered( OutputDevice* pOut, const FmFormModel& rModel );
+ static sal_Bool DrawCentered( OutputDevice* pOut, const FmFormModel& rModel );
};
#endif // _GALLERY_HXX_
diff --git a/svx/inc/svx/gallery1.hxx b/svx/inc/svx/gallery1.hxx
index f946f9626b33..b858b042d0ce 100644..100755
--- a/svx/inc/svx/gallery1.hxx
+++ b/svx/inc/svx/gallery1.hxx
@@ -51,12 +51,12 @@ private:
INetURLObject aThmURL;
INetURLObject aSdgURL;
INetURLObject aSdvURL;
- UINT32 nFileNumber;
- UINT32 nId;
- BOOL bReadOnly;
- BOOL bImported;
- BOOL bModified;
- BOOL bThemeNameFromResource;
+ sal_uInt32 nFileNumber;
+ sal_uInt32 nId;
+ sal_Bool bReadOnly;
+ sal_Bool bImported;
+ sal_Bool bModified;
+ sal_Bool bThemeNameFromResource;
GalleryThemeEntry();
INetURLObject ImplGetURLIgnoreCase( const INetURLObject& rURL ) const;
@@ -64,31 +64,31 @@ private:
public:
GalleryThemeEntry( const INetURLObject& rBaseURL, const String& rName,
- UINT32 nFileNumber, BOOL bReadOnly, BOOL bImported,
- BOOL bNewFile, UINT32 nId, BOOL bThemeNameFromResource );
+ sal_uInt32 nFileNumber, sal_Bool bReadOnly, sal_Bool bImported,
+ sal_Bool bNewFile, sal_uInt32 nId, sal_Bool bThemeNameFromResource );
~GalleryThemeEntry() {};
const String& GetThemeName() const { return aName; }
- UINT32 GetFileNumber() const { return nFileNumber; }
+ sal_uInt32 GetFileNumber() const { return nFileNumber; }
const INetURLObject& GetThmURL() const { return aThmURL; }
const INetURLObject& GetSdgURL() const { return aSdgURL; }
const INetURLObject& GetSdvURL() const { return aSdvURL; }
- BOOL IsImported() const { return bImported; }
- BOOL IsReadOnly() const { return bReadOnly; }
- BOOL IsDefault() const;
+ sal_Bool IsImported() const { return bImported; }
+ sal_Bool IsReadOnly() const { return bReadOnly; }
+ sal_Bool IsDefault() const;
- BOOL IsHidden() const { return aName.SearchAscii( "private://gallery/hidden/" ) == 0; }
+ sal_Bool IsHidden() const { return aName.SearchAscii( "private://gallery/hidden/" ) == 0; }
- BOOL IsModified() const { return bModified; }
- void SetModified( BOOL bSet ) { bModified = ( bSet && !IsImported() && !IsReadOnly() ); }
+ sal_Bool IsModified() const { return bModified; }
+ void SetModified( sal_Bool bSet ) { bModified = ( bSet && !IsImported() && !IsReadOnly() ); }
void SetName( const String& rNewName );
- BOOL IsNameFromResource() const { return bThemeNameFromResource; }
+ sal_Bool IsNameFromResource() const { return bThemeNameFromResource; }
- UINT32 GetId() const { return nId; }
- void SetId( UINT32 nNewId, BOOL bResetThemeName );
+ sal_uInt32 GetId() const { return nId; }
+ void SetId( sal_uInt32 nNewId, sal_Bool bResetThemeName );
};
typedef ::std::vector< GalleryThemeEntry* > GalleryThemeList;
@@ -136,8 +136,8 @@ private:
INetURLObject aRelURL;
INetURLObject aUserURL;
rtl_TextEncoding nReadTextEncoding;
- ULONG nLastFileNumber;
- BOOL bMultiPath;
+ sal_uIntPtr nLastFileNumber;
+ sal_Bool bMultiPath;
void ImplLoad( const String& rMultiPath );
void ImplLoadSubDirs( const INetURLObject& rBaseURL, sal_Bool& rbIsReadOnly );
@@ -145,7 +145,7 @@ private:
void ImplWriteImportList();
SVX_DLLPUBLIC GalleryThemeEntry* ImplGetThemeEntry( const String& rThemeName );
- GalleryThemeEntry* ImplGetThemeEntry( ULONG nThemeId );
+ GalleryThemeEntry* ImplGetThemeEntry( sal_uIntPtr nThemeId );
GalleryImportThemeEntry* ImplGetImportThemeEntry( const String& rImportName );
GalleryTheme* ImplGetCachedTheme( const GalleryThemeEntry* pThemeEntry );
@@ -163,13 +163,13 @@ public:
{ return nPos < aThemeList.size() ? aThemeList[ nPos ] : NULL; }
const GalleryThemeEntry* GetThemeInfo( const String& rThemeName ) { return ImplGetThemeEntry( rThemeName ); }
- SVX_DLLPUBLIC BOOL HasTheme( const String& rThemeName );
- String GetThemeName( ULONG nThemeId ) const;
+ SVX_DLLPUBLIC sal_Bool HasTheme( const String& rThemeName );
+ String GetThemeName( sal_uIntPtr nThemeId ) const;
- SVX_DLLPUBLIC BOOL CreateTheme( const String& rThemeName, UINT32 nNumFrom = 0 );
- BOOL CreateImportTheme( const INetURLObject& rURL, const String& rFileName );
- BOOL RenameTheme( const String& rOldName, const String& rNewName );
- SVX_DLLPUBLIC BOOL RemoveTheme( const String& rThemeName );
+ SVX_DLLPUBLIC sal_Bool CreateTheme( const String& rThemeName, sal_uInt32 nNumFrom = 0 );
+ sal_Bool CreateImportTheme( const INetURLObject& rURL, const String& rFileName );
+ sal_Bool RenameTheme( const String& rOldName, const String& rNewName );
+ SVX_DLLPUBLIC sal_Bool RemoveTheme( const String& rThemeName );
SVX_DLLPUBLIC GalleryTheme* AcquireTheme( const String& rThemeName, SfxListener& rListener );
SVX_DLLPUBLIC void ReleaseTheme( GalleryTheme* pTheme, SfxListener& rListener );
@@ -181,7 +181,7 @@ public:
const INetURLObject& GetUserURL() const { return aUserURL; }
const INetURLObject& GetRelativeURL() const { return aRelURL; }
- BOOL IsMultiPath() const { return bMultiPath; }
+ sal_Bool IsMultiPath() const { return bMultiPath; }
};
#endif // _SVX_GALLERY1_HXX_
diff --git a/svx/inc/svx/galmisc.hxx b/svx/inc/svx/galmisc.hxx
index 5043b37738cc..e6f6c8edd23f 100644..100755
--- a/svx/inc/svx/galmisc.hxx
+++ b/svx/inc/svx/galmisc.hxx
@@ -74,7 +74,7 @@ enum SgaObjKind
// - Defines -
// -----------
-#define IV_IMAPINFO (UINT32('S')*0x00000001+UINT32('D')*0x00000100+UINT32('U')*0x00010000+UINT32('D')*0x01000000)
+#define IV_IMAPINFO (sal_uInt32('S')*0x00000001+sal_uInt32('D')*0x00000100+sal_uInt32('U')*0x00010000+sal_uInt32('D')*0x01000000)
#define ID_IMAPINFO 2
#define USERDATA_HDL() (LINK(this,SgaUserDataFactory,MakeUserData))
@@ -105,16 +105,16 @@ class ImageMap;
class Gallery;
SVX_DLLPUBLIC ResMgr* GetGalleryResMgr();
-USHORT GalleryGraphicImport( const INetURLObject& rURL, Graphic& rGraphic, String& rFilterName, BOOL bShowProgress = FALSE );
-BOOL GallerySvDrawImport( SvStream& rIStm, SdrModel& rModel );
-BOOL CreateIMapGraphic( const FmFormModel& rModel, Graphic& rGraphic, ImageMap& rImageMap );
-SVX_DLLPUBLIC String GetReducedString( const INetURLObject& rURL, ULONG nMaxLen );
+sal_uInt16 GalleryGraphicImport( const INetURLObject& rURL, Graphic& rGraphic, String& rFilterName, sal_Bool bShowProgress = sal_False );
+sal_Bool GallerySvDrawImport( SvStream& rIStm, SdrModel& rModel );
+sal_Bool CreateIMapGraphic( const FmFormModel& rModel, Graphic& rGraphic, ImageMap& rImageMap );
+SVX_DLLPUBLIC String GetReducedString( const INetURLObject& rURL, sal_uIntPtr nMaxLen );
String GetSvDrawStreamNameFromURL( const INetURLObject& rSvDrawObjURL );
-BOOL FileExists( const INetURLObject& rURL );
-BOOL CreateDir( const INetURLObject& rURL );
-BOOL CopyFile( const INetURLObject& rSrcURL, const INetURLObject& rDstURL );
-BOOL KillFile( const INetURLObject& rURL );
+sal_Bool FileExists( const INetURLObject& rURL );
+sal_Bool CreateDir( const INetURLObject& rURL );
+sal_Bool CopyFile( const INetURLObject& rSrcURL, const INetURLObject& rDstURL );
+sal_Bool KillFile( const INetURLObject& rURL );
BitmapEx GalleryResGetBitmapEx( sal_uInt32 nId );
@@ -174,7 +174,7 @@ class SVX_DLLPUBLIC GalleryProgress
GalleryProgress( GraphicFilter* pFilter = NULL );
~GalleryProgress();
- void Update( ULONG nVal, ULONG nMaxVal );
+ void Update( sal_uIntPtr nVal, sal_uIntPtr nMaxVal );
};
// -----------------------
@@ -202,7 +202,7 @@ private:
protected:
- GalleryTransferable( GalleryTheme* pTheme, ULONG nObjectPos, bool bLazy );
+ GalleryTransferable( GalleryTheme* pTheme, sal_uIntPtr nObjectPos, bool bLazy );
~GalleryTransferable();
void InitData( bool bLazy );
@@ -239,25 +239,25 @@ class GalleryHint : public SfxHint
{
private:
- ULONG mnType;
+ sal_uIntPtr mnType;
String maThemeName;
String maStringData;
- ULONG mnData1;
- ULONG mnData2;
+ sal_uIntPtr mnData1;
+ sal_uIntPtr mnData2;
public:
- GalleryHint( ULONG nType, const String& rThemeName, ULONG nData1 = 0UL, ULONG nData2 = 0UL ) :
+ GalleryHint( sal_uIntPtr nType, const String& rThemeName, sal_uIntPtr nData1 = 0UL, sal_uIntPtr nData2 = 0UL ) :
mnType( nType ), maThemeName( rThemeName ), mnData1( nData1 ), mnData2( nData2 ) {}
- GalleryHint( ULONG nType, const String& rThemeName, const String& rStringData, ULONG nData1 = 0UL, ULONG nData2 = 0UL ) :
+ GalleryHint( sal_uIntPtr nType, const String& rThemeName, const String& rStringData, sal_uIntPtr nData1 = 0UL, sal_uIntPtr nData2 = 0UL ) :
mnType( nType ), maThemeName( rThemeName ), maStringData( rStringData ), mnData1( nData1 ), mnData2( nData2 ) {}
- ULONG GetType() const { return mnType; }
+ sal_uIntPtr GetType() const { return mnType; }
const String& GetThemeName() const { return maThemeName; }
const String& GetStringData() const { return maStringData; }
- ULONG GetData1() const { return mnData1; }
- ULONG GetData2() const { return mnData2; }
+ sal_uIntPtr GetData1() const { return mnData1; }
+ sal_uIntPtr GetData2() const { return mnData2; }
};
#endif
diff --git a/svx/inc/galtheme.hxx b/svx/inc/svx/galtheme.hxx
index aad7a0136739..fc187a51c9bd 100644..100755
--- a/svx/inc/galtheme.hxx
+++ b/svx/inc/svx/galtheme.hxx
@@ -56,7 +56,7 @@ struct GalleryObject
INetURLObject aURL;
sal_uInt32 nOffset;
SgaObjKind eObjKind;
- BOOL bDummy;
+ sal_Bool bDummy;
};
typedef ::std::vector< GalleryObject* > GalleryObjectList;
@@ -73,7 +73,7 @@ class ListBox;
struct GalDragParams
{
Region aDragRegion;
- ULONG nDragObjPos;
+ sal_uIntPtr nDragObjPos;
String aThemeName;
String aFileName;
SgaObjKind eObjKind;
@@ -106,11 +106,11 @@ private:
SotStorageRef aSvDrawStorageRef;
Gallery* pParent;
GalleryThemeEntry* pThm;
- ULONG mnThemeLockCount;
- ULONG mnBroadcasterLockCount;
- ULONG nDragPos;
- BOOL bDragging;
- BOOL bAbortActualize;
+ sal_uIntPtr mnThemeLockCount;
+ sal_uIntPtr mnBroadcasterLockCount;
+ sal_uIntPtr nDragPos;
+ sal_Bool bDragging;
+ sal_Bool bAbortActualize;
void ImplCreateSvDrawStorage();
SVX_DLLPUBLIC SgaObject* ImplReadSgaObject( GalleryObject* pEntry );
@@ -129,9 +129,9 @@ private:
return size_t(-1);
}
INetURLObject ImplGetURL( const GalleryObject* pObject ) const;
- INetURLObject ImplCreateUniqueURL( SgaObjKind eObjKind, ULONG nFormat = CVT_UNKNOWN );
- void ImplSetModified( BOOL bModified );
- void ImplBroadcast( ULONG nUpdatePos );
+ INetURLObject ImplCreateUniqueURL( SgaObjKind eObjKind, sal_uIntPtr nFormat = CVT_UNKNOWN );
+ void ImplSetModified( sal_Bool bModified );
+ void ImplBroadcast( sal_uIntPtr nUpdatePos );
GalleryTheme();
GalleryTheme( Gallery* pGallery, GalleryThemeEntry* pThemeEntry );
@@ -139,14 +139,14 @@ private:
public:
- static GalleryThemeEntry* CreateThemeEntry( const INetURLObject& rURL, BOOL bReadOnly );
+ static GalleryThemeEntry* CreateThemeEntry( const INetURLObject& rURL, sal_Bool bReadOnly );
size_t GetObjectCount() const { return aObjectList.size(); }
SVX_DLLPUBLIC SgaObject* AcquireObject( size_t nPos );
SVX_DLLPUBLIC void ReleaseObject( SgaObject* pObj );
- SVX_DLLPUBLIC BOOL InsertObject( const SgaObject& rObj, ULONG nPos = LIST_APPEND );
+ SVX_DLLPUBLIC sal_Bool InsertObject( const SgaObject& rObj, sal_uIntPtr nPos = LIST_APPEND );
SVX_DLLPUBLIC BOOL RemoveObject( size_t nPos );
BOOL ChangeObjectPos( size_t nOldPos, size_t nNewPos );
@@ -162,69 +162,69 @@ public:
SVX_DLLPUBLIC const INetURLObject& GetSdgURL() const;
const INetURLObject& GetSdvURL() const;
- SVX_DLLPUBLIC UINT32 GetId() const;
- void SetId( UINT32 nNewId, BOOL bResetThemeName );
+ SVX_DLLPUBLIC sal_uInt32 GetId() const;
+ void SetId( sal_uInt32 nNewId, sal_Bool bResetThemeName );
- void SetDragging( BOOL bSet ) { bDragging = bSet; }
- BOOL IsDragging() const { return bDragging; }
+ void SetDragging( sal_Bool bSet ) { bDragging = bSet; }
+ sal_Bool IsDragging() const { return bDragging; }
void LockTheme() { ++mnThemeLockCount; }
- BOOL UnlockTheme();
+ sal_Bool UnlockTheme();
void LockBroadcaster() { mnBroadcasterLockCount++; }
- SVX_DLLPUBLIC void UnlockBroadcaster( ULONG nUpdatePos = 0 );
- BOOL IsBroadcasterLocked() const { return mnBroadcasterLockCount > 0; }
+ SVX_DLLPUBLIC void UnlockBroadcaster( sal_uIntPtr nUpdatePos = 0 );
+ sal_Bool IsBroadcasterLocked() const { return mnBroadcasterLockCount > 0; }
- void SetDragPos( ULONG nPos ) { nDragPos = nPos; }
- ULONG GetDragPos() const { return nDragPos; }
+ void SetDragPos( sal_uIntPtr nPos ) { nDragPos = nPos; }
+ sal_uIntPtr GetDragPos() const { return nDragPos; }
- BOOL IsThemeNameFromResource() const;
+ sal_Bool IsThemeNameFromResource() const;
- SVX_DLLPUBLIC BOOL IsImported() const;
- SVX_DLLPUBLIC BOOL IsReadOnly() const;
- SVX_DLLPUBLIC BOOL IsDefault() const;
- BOOL IsModified() const;
+ SVX_DLLPUBLIC sal_Bool IsImported() const;
+ SVX_DLLPUBLIC sal_Bool IsReadOnly() const;
+ SVX_DLLPUBLIC sal_Bool IsDefault() const;
+ sal_Bool IsModified() const;
SVX_DLLPUBLIC void Actualize( const Link& rActualizeLink, GalleryProgress* pProgress = NULL );
- void AbortActualize() { bAbortActualize = TRUE; }
+ void AbortActualize() { bAbortActualize = sal_True; }
Gallery* GetParent() const { return pParent; }
SotStorageRef GetSvDrawStorage() const { return aSvDrawStorageRef; }
public:
- SgaObjKind GetObjectKind( ULONG nPos ) const
+ SgaObjKind GetObjectKind( sal_uIntPtr nPos ) const
{
DBG_ASSERT( nPos < GetObjectCount(), "Position out of range" );
return ImplGetGalleryObject( nPos )->eObjKind;
}
- const INetURLObject& GetObjectURL( ULONG nPos ) const
+ const INetURLObject& GetObjectURL( sal_uIntPtr nPos ) const
{
DBG_ASSERT( nPos < GetObjectCount(), "Position out of range" );
return ImplGetGalleryObject( nPos )->aURL;
}
- BOOL GetThumb( ULONG nPos, Bitmap& rBmp, BOOL bProgress = FALSE );
+ sal_Bool GetThumb( sal_uIntPtr nPos, Bitmap& rBmp, sal_Bool bProgress = sal_False );
- SVX_DLLPUBLIC BOOL GetGraphic( ULONG nPos, Graphic& rGraphic, BOOL bProgress = FALSE );
- SVX_DLLPUBLIC BOOL InsertGraphic( const Graphic& rGraphic, ULONG nInsertPos = LIST_APPEND );
+ SVX_DLLPUBLIC sal_Bool GetGraphic( sal_uIntPtr nPos, Graphic& rGraphic, sal_Bool bProgress = sal_False );
+ SVX_DLLPUBLIC sal_Bool InsertGraphic( const Graphic& rGraphic, sal_uIntPtr nInsertPos = LIST_APPEND );
- SVX_DLLPUBLIC BOOL GetModel( ULONG nPos, SdrModel& rModel, BOOL bProgress = FALSE );
- SVX_DLLPUBLIC BOOL InsertModel( const FmFormModel& rModel, ULONG nInsertPos = LIST_APPEND );
+ SVX_DLLPUBLIC sal_Bool GetModel( sal_uIntPtr nPos, SdrModel& rModel, sal_Bool bProgress = sal_False );
+ SVX_DLLPUBLIC sal_Bool InsertModel( const FmFormModel& rModel, sal_uIntPtr nInsertPos = LIST_APPEND );
- BOOL GetModelStream( ULONG nPos, SotStorageStreamRef& rModelStreamRef, BOOL bProgress = FALSE );
- BOOL InsertModelStream( const SotStorageStreamRef& rModelStream, ULONG nInsertPos = LIST_APPEND );
+ sal_Bool GetModelStream( sal_uIntPtr nPos, SotStorageStreamRef& rModelStreamRef, sal_Bool bProgress = sal_False );
+ sal_Bool InsertModelStream( const SotStorageStreamRef& rModelStream, sal_uIntPtr nInsertPos = LIST_APPEND );
- BOOL GetURL( ULONG nPos, INetURLObject& rURL, BOOL bProgress = FALSE );
- SVX_DLLPUBLIC BOOL InsertURL( const INetURLObject& rURL, ULONG nInsertPos = LIST_APPEND );
- BOOL InsertFileOrDirURL( const INetURLObject& rFileOrDirURL, ULONG nInsertPos = LIST_APPEND );
+ sal_Bool GetURL( sal_uIntPtr nPos, INetURLObject& rURL, sal_Bool bProgress = sal_False );
+ SVX_DLLPUBLIC sal_Bool InsertURL( const INetURLObject& rURL, sal_uIntPtr nInsertPos = LIST_APPEND );
+ sal_Bool InsertFileOrDirURL( const INetURLObject& rFileOrDirURL, sal_uIntPtr nInsertPos = LIST_APPEND );
- BOOL InsertTransferable( const ::com::sun::star::uno::Reference< ::com::sun::star::datatransfer::XTransferable >& rxTransferable, ULONG nInsertPos );
+ sal_Bool InsertTransferable( const ::com::sun::star::uno::Reference< ::com::sun::star::datatransfer::XTransferable >& rxTransferable, sal_uIntPtr nInsertPos );
- void CopyToClipboard( Window* pWindow, ULONG nPos );
- void StartDrag( Window* pWindow, ULONG nPos );
+ void CopyToClipboard( Window* pWindow, sal_uIntPtr nPos );
+ void StartDrag( Window* pWindow, sal_uIntPtr nPos );
public:
diff --git a/svx/inc/globl3d.hxx b/svx/inc/svx/globl3d.hxx
index 3636eb1ab89e..d45adc1bc991 100644..100755
--- a/svx/inc/globl3d.hxx
+++ b/svx/inc/svx/globl3d.hxx
@@ -35,20 +35,20 @@
const double PrecisionLimit = 1.0e-14;
-const UINT32 E3dInventor = UINT32('E')*0x00000001+
- UINT32('3')*0x00000100+
- UINT32('D')*0x00010000+
- UINT32('1')*0x01000000;
-
-const UINT16 E3D_SCENE_ID = 1;
-const UINT16 E3D_POLYSCENE_ID = 2;
-const UINT16 E3D_OBJECT_ID = 3; // should not be used, it's only a helper class for E3DScene and E3DCompoundObject
-const UINT16 E3D_CUBEOBJ_ID = 4;
-const UINT16 E3D_SPHEREOBJ_ID = 5;
-const UINT16 E3D_EXTRUDEOBJ_ID = 6;
-const UINT16 E3D_LATHEOBJ_ID = 7;
-const UINT16 E3D_COMPOUNDOBJ_ID = 8;
-const UINT16 E3D_POLYGONOBJ_ID = 9;
+const sal_uInt32 E3dInventor = sal_uInt32('E')*0x00000001+
+ sal_uInt32('3')*0x00000100+
+ sal_uInt32('D')*0x00010000+
+ sal_uInt32('1')*0x01000000;
+
+const sal_uInt16 E3D_SCENE_ID = 1;
+const sal_uInt16 E3D_POLYSCENE_ID = 2;
+const sal_uInt16 E3D_OBJECT_ID = 3; // should not be used, it's only a helper class for E3DScene and E3DCompoundObject
+const sal_uInt16 E3D_CUBEOBJ_ID = 4;
+const sal_uInt16 E3D_SPHEREOBJ_ID = 5;
+const sal_uInt16 E3D_EXTRUDEOBJ_ID = 6;
+const sal_uInt16 E3D_LATHEOBJ_ID = 7;
+const sal_uInt16 E3D_COMPOUNDOBJ_ID = 8;
+const sal_uInt16 E3D_POLYGONOBJ_ID = 9;
#endif // _E3D_GLOBL3D_HXX
diff --git a/svx/inc/grafctrl.hxx b/svx/inc/svx/grafctrl.hxx
index 7be11c6dd095..ee5ffa0c2b54 100644..100755
--- a/svx/inc/grafctrl.hxx
+++ b/svx/inc/svx/grafctrl.hxx
@@ -42,7 +42,7 @@ class SVX_DLLPUBLIC TbxImageItem : public SfxUInt16Item
{
public:
TYPEINFO();
- TbxImageItem( USHORT nWhich = 0, UINT16 nImage = 0 );
+ TbxImageItem( sal_uInt16 nWhich = 0, sal_uInt16 nImage = 0 );
virtual SfxPoolItem* Clone( SfxItemPool* pPool = 0 ) const;
virtual int operator==( const SfxPoolItem& ) const;
@@ -58,10 +58,10 @@ public:
SFX_DECL_TOOLBOX_CONTROL();
- SvxGrafFilterToolBoxControl( USHORT nSlotId, USHORT nId, ToolBox& rTbx );
+ SvxGrafFilterToolBoxControl( sal_uInt16 nSlotId, sal_uInt16 nId, ToolBox& rTbx );
~SvxGrafFilterToolBoxControl();
- virtual void StateChanged( USHORT nSID, SfxItemState eState, const SfxPoolItem* pState );
+ virtual void StateChanged( sal_uInt16 nSID, SfxItemState eState, const SfxPoolItem* pState );
virtual SfxPopupWindowType GetPopupWindowType() const;
virtual SfxPopupWindow* CreatePopupWindow();
};
@@ -75,10 +75,10 @@ class SvxGrafToolBoxControl : public SfxToolBoxControl
public:
SFX_DECL_TOOLBOX_CONTROL();
- SvxGrafToolBoxControl( USHORT nSlotId, USHORT nId, ToolBox& rTbx );
+ SvxGrafToolBoxControl( sal_uInt16 nSlotId, sal_uInt16 nId, ToolBox& rTbx );
~SvxGrafToolBoxControl();
- virtual void StateChanged( USHORT nSID, SfxItemState eState, const SfxPoolItem* pState );
+ virtual void StateChanged( sal_uInt16 nSID, SfxItemState eState, const SfxPoolItem* pState );
virtual Window* CreateItemWindow( Window *pParent );
};
@@ -90,7 +90,7 @@ class SVX_DLLPUBLIC SvxGrafRedToolBoxControl : public SvxGrafToolBoxControl
{
public:
SFX_DECL_TOOLBOX_CONTROL();
- SvxGrafRedToolBoxControl( USHORT nSlotId, USHORT nId, ToolBox& rTbx );
+ SvxGrafRedToolBoxControl( sal_uInt16 nSlotId, sal_uInt16 nId, ToolBox& rTbx );
};
// ------------------------------
@@ -101,7 +101,7 @@ class SVX_DLLPUBLIC SvxGrafGreenToolBoxControl : public SvxGrafToolBoxControl
{
public:
SFX_DECL_TOOLBOX_CONTROL();
- SvxGrafGreenToolBoxControl( USHORT nSlotId, USHORT nId, ToolBox& rTbx );
+ SvxGrafGreenToolBoxControl( sal_uInt16 nSlotId, sal_uInt16 nId, ToolBox& rTbx );
};
// -----------------------------
@@ -112,7 +112,7 @@ class SVX_DLLPUBLIC SvxGrafBlueToolBoxControl : public SvxGrafToolBoxControl
{
public:
SFX_DECL_TOOLBOX_CONTROL();
- SvxGrafBlueToolBoxControl( USHORT nSlotId, USHORT nId, ToolBox& rTbx );
+ SvxGrafBlueToolBoxControl( sal_uInt16 nSlotId, sal_uInt16 nId, ToolBox& rTbx );
};
// ----------------------------------
@@ -123,7 +123,7 @@ class SVX_DLLPUBLIC SvxGrafLuminanceToolBoxControl : public SvxGrafToolBoxContro
{
public:
SFX_DECL_TOOLBOX_CONTROL();
- SvxGrafLuminanceToolBoxControl( USHORT nSlotId, USHORT nId, ToolBox& rTbx );
+ SvxGrafLuminanceToolBoxControl( sal_uInt16 nSlotId, sal_uInt16 nId, ToolBox& rTbx );
};
// ---------------------------------
@@ -134,7 +134,7 @@ class SVX_DLLPUBLIC SvxGrafContrastToolBoxControl : public SvxGrafToolBoxControl
{
public:
SFX_DECL_TOOLBOX_CONTROL();
- SvxGrafContrastToolBoxControl( USHORT nSlotId, USHORT nId, ToolBox& rTbx );
+ SvxGrafContrastToolBoxControl( sal_uInt16 nSlotId, sal_uInt16 nId, ToolBox& rTbx );
};
// ------------------------------
@@ -145,7 +145,7 @@ class SVX_DLLPUBLIC SvxGrafGammaToolBoxControl : public SvxGrafToolBoxControl
{
public:
SFX_DECL_TOOLBOX_CONTROL();
- SvxGrafGammaToolBoxControl( USHORT nSlotId, USHORT nId, ToolBox& rTbx );
+ SvxGrafGammaToolBoxControl( sal_uInt16 nSlotId, sal_uInt16 nId, ToolBox& rTbx );
};
// -------------------------------------
@@ -156,7 +156,7 @@ class SVX_DLLPUBLIC SvxGrafTransparenceToolBoxControl : public SvxGrafToolBoxCon
{
public:
SFX_DECL_TOOLBOX_CONTROL();
- SvxGrafTransparenceToolBoxControl( USHORT nSlotId, USHORT nId, ToolBox& rTbx );
+ SvxGrafTransparenceToolBoxControl( sal_uInt16 nSlotId, sal_uInt16 nId, ToolBox& rTbx );
};
// -----------------------------
@@ -167,10 +167,10 @@ class SVX_DLLPUBLIC SvxGrafModeToolBoxControl : public SfxToolBoxControl, public
{
public:
SFX_DECL_TOOLBOX_CONTROL();
- SvxGrafModeToolBoxControl( USHORT nSlotId, USHORT nId, ToolBox& rTbx );
+ SvxGrafModeToolBoxControl( sal_uInt16 nSlotId, sal_uInt16 nId, ToolBox& rTbx );
~SvxGrafModeToolBoxControl();
- virtual void StateChanged( USHORT nSID, SfxItemState eState, const SfxPoolItem* pState );
+ virtual void StateChanged( sal_uInt16 nSID, SfxItemState eState, const SfxPoolItem* pState );
virtual Window* CreateItemWindow( Window *pParent );
};
diff --git a/svx/inc/svx/graphctl.hxx b/svx/inc/svx/graphctl.hxx
index 819f61b4ab45..3c3f7cb626e3 100644..100755
--- a/svx/inc/svx/graphctl.hxx
+++ b/svx/inc/svx/graphctl.hxx
@@ -60,10 +60,10 @@ class SVX_DLLPUBLIC GraphCtrl : public Control
GraphCtrlUserCall* pUserCall;
WinBits nWinStyle;
SdrObjKind eObjKind;
- USHORT nPolyEdit;
- BOOL bEditMode;
- BOOL bSdrMode;
- BOOL bAnim;
+ sal_uInt16 nPolyEdit;
+ sal_Bool bEditMode;
+ sal_Bool bSdrMode;
+ sal_Bool bAnim;
DECL_LINK( UpdateHdl, Timer* );
@@ -98,17 +98,17 @@ public:
void SetWinStyle( WinBits nWinBits );
WinBits GetWinStyle() const { return nWinStyle; }
- void SetGraphic( const Graphic& rGraphic, BOOL bNewModel = TRUE );
+ void SetGraphic( const Graphic& rGraphic, sal_Bool bNewModel = sal_True );
const Graphic& GetGraphic() const { return aGraphic; }
const Size& GetGraphicSize() const { return aGraphSize; }
const Point& GetMousePos() const { return aMousePos; }
- void SetEditMode( const BOOL bEditMode );
- BOOL IsEditMode() const { return bEditMode; }
+ void SetEditMode( const sal_Bool bEditMode );
+ sal_Bool IsEditMode() const { return bEditMode; }
- void SetPolyEditMode( const USHORT nPolyEdit );
- USHORT GetPolyEditMode() const { return nPolyEdit; }
+ void SetPolyEditMode( const sal_uInt16 nPolyEdit );
+ sal_uInt16 GetPolyEditMode() const { return nPolyEdit; }
void SetObjKind( const SdrObjKind eObjKind );
SdrObjKind GetObjKind() const { return eObjKind; }
@@ -116,7 +116,7 @@ public:
SdrModel* GetSdrModel() const { return pModel; }
SdrView* GetSdrView() const { return pView; }
SdrObject* GetSelectedSdrObject() const;
- BOOL IsChanged() const { return bSdrMode ? pModel->IsChanged() : FALSE; }
+ sal_Bool IsChanged() const { return bSdrMode ? pModel->IsChanged() : sal_False; }
void SetMousePosLink( const Link& rLink ) { aMousePosLink = rLink; }
const Link& GetMousePosLink() const { return aMousePosLink; }
diff --git a/svx/inc/svx/grfcrop.hxx b/svx/inc/svx/grfcrop.hxx
index 1bc5cadb4e6b..bd7bd7164c59 100644..100755
--- a/svx/inc/svx/grfcrop.hxx
+++ b/svx/inc/svx/grfcrop.hxx
@@ -39,25 +39,25 @@ class SVX_DLLPUBLIC SvxGrfCrop : public SfxPoolItem
{
sal_Int32 nLeft, nRight, nTop, nBottom;
public:
- SvxGrfCrop( USHORT );
+ SvxGrfCrop( sal_uInt16 );
SvxGrfCrop( sal_Int32 nLeft, sal_Int32 nRight,
sal_Int32 nTop, sal_Int32 nBottom,
- USHORT );
+ sal_uInt16 );
virtual ~SvxGrfCrop();
// "pure virtual methods" from SfxPoolItem
virtual int operator==( const SfxPoolItem& ) const;
- virtual SfxPoolItem* Create(SvStream &, USHORT nVer) const;
- virtual SvStream& Store(SvStream &, USHORT nIVer) const;
+ virtual SfxPoolItem* Create(SvStream &, sal_uInt16 nVer) const;
+ virtual SvStream& Store(SvStream &, sal_uInt16 nIVer) const;
virtual SfxItemPresentation GetPresentation( SfxItemPresentation ePres,
SfxMapUnit eCoreMetric,
SfxMapUnit ePresMetric,
String &rText,
const IntlWrapper* pIntl = 0 ) const;
virtual bool QueryValue( com::sun::star::uno::Any& rVal,
- BYTE nMemberId = 0 ) const;
+ sal_uInt8 nMemberId = 0 ) const;
virtual bool PutValue( const com::sun::star::uno::Any& rVal,
- BYTE nMemberId = 0 );
+ sal_uInt8 nMemberId = 0 );
void SetLeft( sal_Int32 nVal ) { nLeft = nVal; }
void SetRight( sal_Int32 nVal ) { nRight = nVal; }
diff --git a/svx/inc/svx/grfflt.hxx b/svx/inc/svx/grfflt.hxx
index 697d6f2233fa..1ac4ac16b435 100644..100755
--- a/svx/inc/svx/grfflt.hxx
+++ b/svx/inc/svx/grfflt.hxx
@@ -61,7 +61,7 @@ class SVX_DLLPUBLIC SvxGraphicFilter
{
public:
- static ULONG ExecuteGrfFilterSlot( SfxRequest& rReq, GraphicObject& rFilterObject );
+ static sal_uLong ExecuteGrfFilterSlot( SfxRequest& rReq, GraphicObject& rFilterObject );
static void DisableGraphicFilterSlots( SfxItemSet& rSet );
};
diff --git a/svx/inc/svx/gridctrl.hxx b/svx/inc/svx/gridctrl.hxx
index 3e8ab8e132d3..1a2917b89734 100644..100755
--- a/svx/inc/svx/gridctrl.hxx
+++ b/svx/inc/svx/gridctrl.hxx
@@ -285,7 +285,7 @@ private:
sal_uInt16 m_nOptionMask; // the mask of options to be enabled in setDataSource
// (with respect to the data source capabilities)
// defaults to (insert | update | delete)
- USHORT m_nLastColId;
+ sal_uInt16 m_nLastColId;
long m_nLastRowId;
sal_Bool m_bDesignMode : 1; // default = sal_False
@@ -390,7 +390,7 @@ public:
@return
the text out of the cell
*/
- virtual String GetCellText(long _nRow, USHORT _nColId) const;
+ virtual String GetCellText(long _nRow, sal_uInt16 _nColId) const;
void RemoveRows(sal_Bool bNewCursor);
diff --git a/svx/inc/svx/hdft.hxx b/svx/inc/svx/hdft.hxx
index d4341ae0a6fd..b1dd6b82e58c 100644..100755
--- a/svx/inc/svx/hdft.hxx
+++ b/svx/inc/svx/hdft.hxx
@@ -49,22 +49,23 @@ class SVX_DLLPUBLIC SvxHFPage: public SfxTabPage
public:
- virtual BOOL FillItemSet( SfxItemSet& rOutSet );
+ virtual sal_Bool FillItemSet( SfxItemSet& rOutSet );
virtual void Reset( const SfxItemSet& rSet );
virtual ~SvxHFPage();
- void DisableDeleteQueryBox() { bDisableQueryBox = TRUE; }
- void EnableBackgroundSelector( BOOL bNew ) { bEnableBackgroundSelector = bNew; }
+ void DisableDeleteQueryBox() { bDisableQueryBox = sal_True; }
+ void EnableBackgroundSelector( sal_Bool bNew ) { bEnableBackgroundSelector = bNew; }
void EnableDynamicSpacing();
protected:
virtual void ActivatePage( const SfxItemSet& rSet );
virtual int DeactivatePage( SfxItemSet* pSet = 0 );
- SvxHFPage( Window* pParent, USHORT nResId, const SfxItemSet& rSet,
- USHORT nSetId );
+ SvxHFPage( Window* pParent, sal_uInt16 nResId, const SfxItemSet& rSet,
+ sal_uInt16 nSetId );
+ FixedLine aFrm;
CheckBox aTurnOnBox;
CheckBox aCntSharedBox;
FixedText aLMLbl;
@@ -77,14 +78,13 @@ protected:
FixedText aHeightFT;
MetricField aHeightEdit;
CheckBox aHeightDynBtn;
- FixedLine aFrm;
SvxPageWindow aBspWin;
PushButton aBackgroundBtn;
- USHORT nId;
+ sal_uInt16 nId;
SfxItemSet* pBBSet;
- BOOL bDisableQueryBox;
- BOOL bEnableBackgroundSelector;
+ sal_Bool bDisableQueryBox;
+ sal_Bool bEnableBackgroundSelector;
bool bInReset;
void InitHandler();
@@ -109,7 +109,7 @@ class SVX_DLLPUBLIC SvxHeaderPage : public SvxHFPage
{
public:
static SfxTabPage* Create( Window* pParent, const SfxItemSet& rSet );
- static USHORT* GetRanges();
+ static sal_uInt16* GetRanges();
private:
SvxHeaderPage( Window* pParent, const SfxItemSet& rSet );
@@ -121,7 +121,7 @@ class SVX_DLLPUBLIC SvxFooterPage : public SvxHFPage
{
public:
static SfxTabPage* Create( Window* pParent, const SfxItemSet& rSet );
- static USHORT* GetRanges();
+ static sal_uInt16* GetRanges();
private:
SVX_DLLPRIVATE SvxFooterPage( Window* pParent, const SfxItemSet& rSet );
diff --git a/svx/inc/svx/helperhittest3d.hxx b/svx/inc/svx/helperhittest3d.hxx
index fb7e353836a2..fb7e353836a2 100644..100755
--- a/svx/inc/svx/helperhittest3d.hxx
+++ b/svx/inc/svx/helperhittest3d.hxx
diff --git a/svx/inc/hlnkitem.hxx b/svx/inc/svx/hlnkitem.hxx
index 2710de6bbcca..57b33bb576c1 100644..100755
--- a/svx/inc/hlnkitem.hxx
+++ b/svx/inc/svx/hlnkitem.hxx
@@ -56,18 +56,18 @@ class SVX_DLLPUBLIC SvxHyperlinkItem : public SfxPoolItem
String sIntName;
SvxMacroTableDtor* pMacroTable;
- USHORT nMacroEvents;
+ sal_uInt16 nMacroEvents;
public:
TYPEINFO();
- SvxHyperlinkItem( USHORT _nWhich = SID_HYPERLINK_GETLINK ):
+ SvxHyperlinkItem( sal_uInt16 _nWhich = SID_HYPERLINK_GETLINK ):
SfxPoolItem(_nWhich), pMacroTable(NULL) { eType = HLINK_DEFAULT; nMacroEvents=0; };
SvxHyperlinkItem( const SvxHyperlinkItem& rHyperlinkItem );
- SvxHyperlinkItem( USHORT nWhich, String& rName, String& rURL,
+ SvxHyperlinkItem( sal_uInt16 nWhich, String& rName, String& rURL,
String& rTarget, String& rIntName,
SvxLinkInsertMode eTyp = HLINK_FIELD,
- USHORT nEvents = 0,
+ sal_uInt16 nEvents = 0,
SvxMacroTableDtor *pMacroTbl =NULL );
virtual ~SvxHyperlinkItem () { delete pMacroTable; }
@@ -75,8 +75,8 @@ public:
virtual int operator==( const SfxPoolItem& ) const;
virtual SfxPoolItem* Clone( SfxItemPool *pPool = 0 ) const;
- virtual bool QueryValue( com::sun::star::uno::Any& rVal, BYTE nMemberId = 0 ) const;
- virtual bool PutValue( const com::sun::star::uno::Any& rVal, BYTE nMemberId = 0 );
+ virtual bool QueryValue( com::sun::star::uno::Any& rVal, sal_uInt8 nMemberId = 0 ) const;
+ virtual bool PutValue( const com::sun::star::uno::Any& rVal, sal_uInt8 nMemberId = 0 );
const String& GetName() const { return sName; }
void SetName(const String& rName) { sName = rName; }
@@ -93,16 +93,16 @@ public:
SvxLinkInsertMode GetInsertMode() const { return eType; }
void SetInsertMode( SvxLinkInsertMode eNew ) { eType = eNew; }
- void SetMacro( USHORT nEvent, const SvxMacro& rMacro );
+ void SetMacro( sal_uInt16 nEvent, const SvxMacro& rMacro );
void SetMacroTable( const SvxMacroTableDtor& rTbl );
const SvxMacroTableDtor* GetMacroTbl() const { return pMacroTable; }
- void SetMacroEvents (const USHORT nEvents) { nMacroEvents = nEvents; }
- USHORT GetMacroEvents() const { return nMacroEvents; }
+ void SetMacroEvents (const sal_uInt16 nEvents) { nMacroEvents = nEvents; }
+ sal_uInt16 GetMacroEvents() const { return nMacroEvents; }
- virtual SvStream& Store( SvStream &, USHORT nItemVersion ) const;
- virtual SfxPoolItem* Create( SvStream &, USHORT nVer ) const;
+ virtual SvStream& Store( SvStream &, sal_uInt16 nItemVersion ) const;
+ virtual SfxPoolItem* Create( SvStream &, sal_uInt16 nVer ) const;
};
diff --git a/svx/inc/htmlmode.hxx b/svx/inc/svx/htmlmode.hxx
index 20430e972321..20430e972321 100644..100755
--- a/svx/inc/htmlmode.hxx
+++ b/svx/inc/svx/htmlmode.hxx
diff --git a/svx/inc/hyperdlg.hxx b/svx/inc/svx/hyperdlg.hxx
index 1ec7a299cb92..88b828c662cc 100644..100755
--- a/svx/inc/hyperdlg.hxx
+++ b/svx/inc/svx/hyperdlg.hxx
@@ -48,7 +48,7 @@ private:
AbstractSvxHpLinkDlg* mpDlg;
public:
- SvxHlinkDlgWrapper( Window*pParent, USHORT nId,
+ SvxHlinkDlgWrapper( Window*pParent, sal_uInt16 nId,
SfxBindings* pBindings, SfxChildWinInfo* pInfo );
SFX_DECL_CHILDWINDOW(SvxHlinkDlgWrapper);
diff --git a/svx/inc/svx/hyprlink.hxx b/svx/inc/svx/hyprlink.hxx
new file mode 100755
index 000000000000..bb869f5e5cb5
--- /dev/null
+++ b/svx/inc/svx/hyprlink.hxx
@@ -0,0 +1,43 @@
+/*************************************************************************
+ *
+ * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
+ *
+ * Copyright 2000, 2010 Oracle and/or its affiliates.
+ *
+ * OpenOffice.org - a multi-platform office productivity suite
+ *
+ * This file is part of OpenOffice.org.
+ *
+ * OpenOffice.org is free software: you can redistribute it and/or modify
+ * it under the terms of the GNU Lesser General Public License version 3
+ * only, as published by the Free Software Foundation.
+ *
+ * OpenOffice.org is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU Lesser General Public License version 3 for more details
+ * (a copy is included in the LICENSE file that accompanied this code).
+ *
+ * You should have received a copy of the GNU Lesser General Public License
+ * version 3 along with OpenOffice.org. If not, see
+ * <http://www.openoffice.org/license.html>
+ * for a copy of the LGPLv3 License.
+ *
+ ************************************************************************/
+#ifndef _SVX_DLG_HYPERLINK_HXX
+#define _SVX_DLG_HYPERLINK_HXX
+
+#include <sfx2/childwin.hxx>
+#include "svx/svxdllapi.h"
+
+// class SvxHyperlinkDialogWrapper ---------------------------------------
+class SVX_DLLPUBLIC SvxHyperlinkDlgWrapper : public SfxChildWindow
+{
+public:
+ SvxHyperlinkDlgWrapper( Window*pParent, sal_uInt16 nId,
+ SfxBindings* pBindings, SfxChildWinInfo* pInfo );
+ SFX_DECL_CHILDWINDOW(SvxHyperlinkDlgWrapper);
+};
+#endif // _SVX_DLG_HYPERLINK_HXX
+
+
diff --git a/svx/inc/svx/ifaceids.hxx b/svx/inc/svx/ifaceids.hxx
index 23ef1c1094fd..23ef1c1094fd 100644..100755
--- a/svx/inc/svx/ifaceids.hxx
+++ b/svx/inc/svx/ifaceids.hxx
diff --git a/svx/inc/imapdlg.hxx b/svx/inc/svx/imapdlg.hxx
index 7975de4917db..0c3ea0489153 100644..100755
--- a/svx/inc/imapdlg.hxx
+++ b/svx/inc/svx/imapdlg.hxx
@@ -66,7 +66,7 @@ class SVX_DLLPUBLIC SvxIMapDlgChildWindow : public SfxChildWindow
{
public:
- SvxIMapDlgChildWindow( Window*, USHORT, SfxBindings*, SfxChildWinInfo* );
+ SvxIMapDlgChildWindow( Window*, sal_uInt16, SfxBindings*, SfxChildWinInfo* );
SFX_DECL_CHILDWINDOW( SvxIMapDlgChildWindow );
@@ -93,13 +93,13 @@ class SvxIMapDlgItem : public SfxControllerItem
protected:
- virtual void StateChanged( USHORT nSID, SfxItemState eState,
+ virtual void StateChanged( sal_uInt16 nSID, SfxItemState eState,
const SfxPoolItem* pState );
public:
- SvxIMapDlgItem( USHORT nId, SvxIMapDlg& rIMapDlg, SfxBindings& rBindings );
+ SvxIMapDlgItem( sal_uInt16 nId, SvxIMapDlg& rIMapDlg, SfxBindings& rBindings );
};
@@ -135,7 +135,7 @@ class SVX_DLLPUBLIC SvxIMapDlg : public SfxModelessDialog // SfxFloatingWindow
SvxIMapDlgItem aIMapItem;
virtual void Resize();
- virtual BOOL Close();
+ virtual sal_Bool Close();
#ifdef _IMAPDLG_PRIVATE
@@ -151,7 +151,7 @@ class SVX_DLLPUBLIC SvxIMapDlg : public SfxModelessDialog // SfxFloatingWindow
DECL_LINK( MiscHdl, void* );
void DoOpen();
- BOOL DoSave();
+ sal_Bool DoSave();
#endif
@@ -162,7 +162,7 @@ public:
Window* pParent, const ResId& rResId );
~SvxIMapDlg();
- void SetExecState( BOOL bEnable );
+ void SetExecState( sal_Bool bEnable );
void SetGraphic( const Graphic& rGraphic );
diff --git a/svx/inc/insctrl.hxx b/svx/inc/svx/insctrl.hxx
index 820d5c050f65..45fef75641b5 100644..100755
--- a/svx/inc/insctrl.hxx
+++ b/svx/inc/svx/insctrl.hxx
@@ -38,20 +38,20 @@
class SVX_DLLPUBLIC SvxInsertStatusBarControl : public SfxStatusBarControl
{
public:
- virtual void StateChanged( USHORT nSID, SfxItemState eState,
+ virtual void StateChanged( sal_uInt16 nSID, SfxItemState eState,
const SfxPoolItem* pState );
virtual void Click();
virtual void Paint( const UserDrawEvent& rEvt );
SFX_DECL_STATUSBAR_CONTROL();
- SvxInsertStatusBarControl( USHORT nSlotId, USHORT nId, StatusBar& rStb );
+ SvxInsertStatusBarControl( sal_uInt16 nSlotId, sal_uInt16 nId, StatusBar& rStb );
~SvxInsertStatusBarControl();
- static ULONG GetDefItemWidth(const StatusBar& rStb);
+ static sal_uIntPtr GetDefItemWidth(const StatusBar& rStb);
private:
- BOOL bInsert;
+ sal_Bool bInsert;
#ifdef _SVX_INSCTRL_CXX
SVX_DLLPRIVATE void DrawItemText_Impl();
diff --git a/svx/inc/svx/ipolypolygoneditorcontroller.hxx b/svx/inc/svx/ipolypolygoneditorcontroller.hxx
index a66de50e76c6..8df1c2ae05e6 100644..100755
--- a/svx/inc/svx/ipolypolygoneditorcontroller.hxx
+++ b/svx/inc/svx/ipolypolygoneditorcontroller.hxx
@@ -55,20 +55,20 @@ class IPolyPolygonEditorController
{
public:
virtual void DeleteMarkedPoints() = 0;
- virtual BOOL IsDeleteMarkedPointsPossible() const = 0;
+ virtual sal_Bool IsDeleteMarkedPointsPossible() const = 0;
virtual void RipUpAtMarkedPoints() = 0;
virtual bool IsRipUpAtMarkedPointsPossible() const = 0;
- virtual BOOL IsSetMarkedSegmentsKindPossible() const = 0;
+ virtual sal_Bool IsSetMarkedSegmentsKindPossible() const = 0;
virtual SdrPathSegmentKind GetMarkedSegmentsKind() const = 0;
virtual void SetMarkedSegmentsKind(SdrPathSegmentKind eKind) = 0;
- virtual BOOL IsSetMarkedPointsSmoothPossible() const = 0;
+ virtual sal_Bool IsSetMarkedPointsSmoothPossible() const = 0;
virtual SdrPathSmoothKind GetMarkedPointsSmooth() const = 0;
virtual void SetMarkedPointsSmooth(SdrPathSmoothKind eKind) = 0;
- virtual void CloseMarkedObjects(BOOL bToggle, BOOL bOpen ) = 0;
+ virtual void CloseMarkedObjects(sal_Bool bToggle, sal_Bool bOpen ) = 0;
virtual bool IsOpenCloseMarkedObjectsPossible() const = 0;
virtual SdrObjClosedKind GetMarkedObjectsClosedState() const = 0;
};
diff --git a/svx/inc/svx/itemwin.hxx b/svx/inc/svx/itemwin.hxx
index f87d7f4e8538..11f370f03e82 100644..100755
--- a/svx/inc/svx/itemwin.hxx
+++ b/svx/inc/svx/itemwin.hxx
@@ -43,10 +43,10 @@ class SfxObjectShell;
class SvxLineBox : public LineLB
{
- USHORT nCurPos;
+ sal_uInt16 nCurPos;
Timer aDelayTimer;
Size aLogicalSize;
- BOOL bRelease;
+ sal_Bool bRelease;
SfxObjectShell* mpSh;
::com::sun::star::uno::Reference< ::com::sun::star::frame::XFrame > mxFrame;
@@ -77,11 +77,11 @@ class SvxColorBox : public ColorLB
{
using Window::Update;
- USHORT nCurPos;
- USHORT nId;
+ sal_uInt16 nCurPos;
+ sal_uInt16 nId;
Timer aDelayTimer;
Size aLogicalSize;
- BOOL bRelease;
+ sal_Bool bRelease;
::rtl::OUString maCommand;
::com::sun::star::uno::Reference< ::com::sun::star::frame::XFrame > mxFrame;
@@ -152,17 +152,17 @@ public:
SvxFillTypeBox( Window* pParent, WinBits nBits = WB_BORDER | WB_DROPDOWN | WB_AUTOHSCROLL );
~SvxFillTypeBox();
- void Selected() { bSelect = TRUE; }
- BOOL IsRelease() { return bRelease;}
+ void Selected() { bSelect = sal_True; }
+ sal_Bool IsRelease() { return bRelease;}
protected:
virtual long PreNotify( NotifyEvent& rNEvt );
virtual long Notify( NotifyEvent& rNEvt );
private:
- USHORT nCurPos;
- BOOL bSelect;
- BOOL bRelease;
+ sal_uInt16 nCurPos;
+ sal_Bool bSelect;
+ sal_Bool bRelease;
#ifdef _SVX_ITEMWIN_CXX
void ReleaseFocus_Impl();
@@ -177,7 +177,7 @@ public:
SvxFillAttrBox( Window* pParent, WinBits nBits = WB_BORDER | WB_DROPDOWN | WB_AUTOHSCROLL );
~SvxFillAttrBox();
- BOOL IsRelease() { return bRelease;}
+ sal_Bool IsRelease() { return bRelease;}
protected:
virtual long PreNotify( NotifyEvent& rNEvt );
@@ -185,8 +185,8 @@ protected:
virtual void Select();
private:
- USHORT nCurPos;
- BOOL bRelease;
+ sal_uInt16 nCurPos;
+ sal_Bool bRelease;
#ifdef _SVX_ITEMWIN_CXX
void ReleaseFocus_Impl();
diff --git a/svx/inc/svx/langbox.hxx b/svx/inc/svx/langbox.hxx
index 50ae2c66f160..3fad0c4f7979 100644..100755
--- a/svx/inc/svx/langbox.hxx
+++ b/svx/inc/svx/langbox.hxx
@@ -59,7 +59,7 @@ class SvtLanguageTable;
// load language strings from resource
-SVX_DLLPUBLIC String GetDicInfoStr( const String& rName, const USHORT nLang, BOOL bNeg );
+SVX_DLLPUBLIC String GetDicInfoStr( const String& rName, const sal_uInt16 nLang, sal_Bool bNeg );
class SVX_DLLPUBLIC SvxLanguageBox : public ListBox
{
@@ -69,34 +69,34 @@ private:
Image m_aNotCheckedImage;
Image m_aCheckedImage;
String m_aAllString;
- com::sun::star::uno::Sequence< INT16 > *m_pSpellUsedLang;
+ com::sun::star::uno::Sequence< sal_Int16 > *m_pSpellUsedLang;
SvtLanguageTable* m_pLangTable;
- INT16 m_nLangList;
- BOOL m_bHasLangNone;
- BOOL m_bLangNoneIsLangAll;
- BOOL m_bWithCheckmark;
+ sal_Int16 m_nLangList;
+ sal_Bool m_bHasLangNone;
+ sal_Bool m_bLangNoneIsLangAll;
+ sal_Bool m_bWithCheckmark;
SVX_DLLPRIVATE void Init();
- SVX_DLLPRIVATE USHORT ImplInsertImgEntry( const String& rEntry, USHORT nPos, bool bChecked );
- SVX_DLLPRIVATE USHORT ImplInsertLanguage(LanguageType, USHORT, sal_Int16 );
+ SVX_DLLPRIVATE sal_uInt16 ImplInsertImgEntry( const String& rEntry, sal_uInt16 nPos, bool bChecked );
+ SVX_DLLPRIVATE sal_uInt16 ImplInsertLanguage(LanguageType, sal_uInt16, sal_Int16 );
public:
- SvxLanguageBox( Window* pParent, WinBits nWinStyle, BOOL bCheck = FALSE);
- SvxLanguageBox( Window* pParent, const ResId& rResId, BOOL bCheck = FALSE);
+ SvxLanguageBox( Window* pParent, WinBits nWinStyle, sal_Bool bCheck = sal_False);
+ SvxLanguageBox( Window* pParent, const ResId& rResId, sal_Bool bCheck = sal_False);
~SvxLanguageBox();
- void SetLanguageList( INT16 nLangList,
- BOOL bHasLangNone, BOOL bLangNoneIsLangAll = FALSE,
- BOOL bCheckSpellAvail = FALSE );
+ void SetLanguageList( sal_Int16 nLangList,
+ sal_Bool bHasLangNone, sal_Bool bLangNoneIsLangAll = sal_False,
+ sal_Bool bCheckSpellAvail = sal_False );
- USHORT InsertLanguage( const LanguageType eLangType, USHORT nPos = LISTBOX_APPEND );
- USHORT InsertDefaultLanguage( sal_Int16 nType, USHORT nPos = LISTBOX_APPEND );
- USHORT InsertLanguage( const LanguageType eLangType,
- BOOL bCheckEntry, USHORT nPos = LISTBOX_APPEND );
+ sal_uInt16 InsertLanguage( const LanguageType eLangType, sal_uInt16 nPos = LISTBOX_APPEND );
+ sal_uInt16 InsertDefaultLanguage( sal_Int16 nType, sal_uInt16 nPos = LISTBOX_APPEND );
+ sal_uInt16 InsertLanguage( const LanguageType eLangType,
+ sal_Bool bCheckEntry, sal_uInt16 nPos = LISTBOX_APPEND );
void RemoveLanguage( const LanguageType eLangType );
- void SelectLanguage( const LanguageType eLangType, BOOL bSelect = TRUE );
+ void SelectLanguage( const LanguageType eLangType, sal_Bool bSelect = sal_True );
LanguageType GetSelectLanguage() const;
- BOOL IsLanguageSelected( const LanguageType eLangType ) const;
+ sal_Bool IsLanguageSelected( const LanguageType eLangType ) const;
};
#if ENABLE_LAYOUT
@@ -106,7 +106,7 @@ class SvxLanguageBoxImpl;
class SVX_DLLPUBLIC SvxLanguageBox : public ListBox
{
public:
- SvxLanguageBox( Context*, const char*, BOOL bCheck = FALSE );
+ SvxLanguageBox( Context*, const char*, sal_Bool bCheck = sal_False );
~SvxLanguageBox ();
void SetLanguageList (sal_Int16 list, bool hasLangNone, bool langNoneIsLangAll=false, bool checkSpellAvailable=false);
diff --git a/svx/inc/svx/lathe3d.hxx b/svx/inc/svx/lathe3d.hxx
index bcfd91640c0d..3a6ed2561127 100644..100755
--- a/svx/inc/svx/lathe3d.hxx
+++ b/svx/inc/svx/lathe3d.hxx
@@ -99,12 +99,12 @@ private:
sal_Bool GetCloseBack() const
{ return ((const Svx3DCloseBackItem&)GetObjectItemSet().Get(SDRATTR_3DOBJ_CLOSE_BACK)).GetValue(); }
- virtual UINT16 GetObjIdentifier() const;
+ virtual sal_uInt16 GetObjIdentifier() const;
void ReSegment(sal_uInt32 nHSegs, sal_uInt32 nVSegs);
virtual void operator=(const SdrObject&);
- virtual SdrObject* DoConvertToPolyObj(BOOL bBezier) const;
+ virtual SdrObject* DoConvertToPolyObj(sal_Bool bBezier) const;
// TakeObjName...() is for the display in the UI, for example "3 frames selected".
virtual void TakeObjNameSingul(String& rName) const;
@@ -115,7 +115,7 @@ private:
const basegfx::B2DPolyPolygon& GetPolyPoly2D() { return maPolyPoly2D; }
// break up
- virtual BOOL IsBreakObjPossible();
+ virtual sal_Bool IsBreakObjPossible();
virtual SdrAttrObj* GetBreakObj();
};
diff --git a/svx/inc/layctrl.hxx b/svx/inc/svx/layctrl.hxx
index 4d6cdc8d3cc5..c95db517c1dd 100644..100755
--- a/svx/inc/layctrl.hxx
+++ b/svx/inc/svx/layctrl.hxx
@@ -45,13 +45,13 @@ public:
virtual SfxPopupWindowType GetPopupWindowType() const;
virtual SfxPopupWindow* CreatePopupWindow();
virtual SfxPopupWindow* CreatePopupWindowCascading();
- virtual void StateChanged( USHORT nSID,
+ virtual void StateChanged( sal_uInt16 nSID,
SfxItemState eState,
const SfxPoolItem* pState );
SFX_DECL_TOOLBOX_CONTROL();
- SvxTableToolBoxControl( USHORT nSlotId, USHORT nId, ToolBox& rTbx );
+ SvxTableToolBoxControl( sal_uInt16 nSlotId, sal_uInt16 nId, ToolBox& rTbx );
~SvxTableToolBoxControl();
};
@@ -67,10 +67,10 @@ public:
SFX_DECL_TOOLBOX_CONTROL();
- SvxColumnsToolBoxControl( USHORT nSlotId, USHORT nId, ToolBox& rTbx );
+ SvxColumnsToolBoxControl( sal_uInt16 nSlotId, sal_uInt16 nId, ToolBox& rTbx );
~SvxColumnsToolBoxControl();
- virtual void StateChanged( USHORT nSID,
+ virtual void StateChanged( sal_uInt16 nSID,
SfxItemState eState,
const SfxPoolItem* pState );
};
diff --git a/svx/inc/lboxctrl.hxx b/svx/inc/svx/lboxctrl.hxx
index 471b561f957e..1e5058854bd0 100644..100755
--- a/svx/inc/lboxctrl.hxx
+++ b/svx/inc/svx/lboxctrl.hxx
@@ -45,7 +45,7 @@ protected:
String aActionStr;
SvxPopupWindowListBox * pPopupWin;
- void Impl_SetInfo( USHORT nCount );
+ void Impl_SetInfo( sal_uInt16 nCount );
DECL_LINK( PopupModeEndHdl, void * );
DECL_LINK( SelectHdl, void * );
@@ -53,12 +53,12 @@ protected:
public:
SFX_DECL_TOOLBOX_CONTROL();
- SvxListBoxControl( USHORT nSlotId, USHORT nId, ToolBox& rTbx );
+ SvxListBoxControl( sal_uInt16 nSlotId, sal_uInt16 nId, ToolBox& rTbx );
virtual ~SvxListBoxControl();
virtual SfxPopupWindowType GetPopupWindowType() const;
virtual SfxPopupWindow* CreatePopupWindow();
- virtual void StateChanged( USHORT nSID,
+ virtual void StateChanged( sal_uInt16 nSID,
SfxItemState eState,
const SfxPoolItem* pState );
};
@@ -73,10 +73,10 @@ class SVX_DLLPUBLIC SvxUndoRedoControl : public SvxListBoxControl
public:
SFX_DECL_TOOLBOX_CONTROL();
- SvxUndoRedoControl( USHORT nSlotId, USHORT nId, ToolBox& rTbx );
+ SvxUndoRedoControl( sal_uInt16 nSlotId, sal_uInt16 nId, ToolBox& rTbx );
virtual ~SvxUndoRedoControl();
- virtual void StateChanged( USHORT nSID,
+ virtual void StateChanged( sal_uInt16 nSID,
SfxItemState eState,
const SfxPoolItem* pState );
diff --git a/svx/inc/linectrl.hxx b/svx/inc/svx/linectrl.hxx
index 87d0433788db..c5a3ca384bb9 100644..100755
--- a/svx/inc/linectrl.hxx
+++ b/svx/inc/svx/linectrl.hxx
@@ -51,15 +51,15 @@ private:
XLineStyleItem* pStyleItem;
XLineDashItem* pDashItem;
- BOOL bUpdate;
+ sal_Bool bUpdate;
public:
SFX_DECL_TOOLBOX_CONTROL();
- SvxLineStyleToolBoxControl( USHORT nSlotId, USHORT nId, ToolBox& rTbx );
+ SvxLineStyleToolBoxControl( sal_uInt16 nSlotId, sal_uInt16 nId, ToolBox& rTbx );
~SvxLineStyleToolBoxControl();
- virtual void StateChanged( USHORT nSID, SfxItemState eState,
+ virtual void StateChanged( sal_uInt16 nSID, SfxItemState eState,
const SfxPoolItem* pState );
void Update( const SfxPoolItem* pState );
virtual Window* CreateItemWindow( Window *pParent );
@@ -74,10 +74,10 @@ class SVX_DLLPUBLIC SvxLineWidthToolBoxControl : public SfxToolBoxControl
public:
SFX_DECL_TOOLBOX_CONTROL();
- SvxLineWidthToolBoxControl( USHORT nSlotId, USHORT nId, ToolBox& rTbx );
+ SvxLineWidthToolBoxControl( sal_uInt16 nSlotId, sal_uInt16 nId, ToolBox& rTbx );
~SvxLineWidthToolBoxControl();
- virtual void StateChanged( USHORT nSID, SfxItemState eState,
+ virtual void StateChanged( sal_uInt16 nSID, SfxItemState eState,
const SfxPoolItem* pState );
virtual Window* CreateItemWindow( Window *pParent );
};
@@ -91,10 +91,10 @@ class SVX_DLLPUBLIC SvxLineColorToolBoxControl : public SfxToolBoxControl
public:
SFX_DECL_TOOLBOX_CONTROL();
- SvxLineColorToolBoxControl( USHORT nSlotId, USHORT nId, ToolBox& rTbx );
+ SvxLineColorToolBoxControl( sal_uInt16 nSlotId, sal_uInt16 nId, ToolBox& rTbx );
~SvxLineColorToolBoxControl();
- virtual void StateChanged( USHORT nSID, SfxItemState eState,
+ virtual void StateChanged( sal_uInt16 nSID, SfxItemState eState,
const SfxPoolItem* pState );
void Update( const SfxPoolItem* pState );
virtual Window* CreateItemWindow( Window *pParent );
@@ -110,11 +110,11 @@ class SvxLineEndWindow : public SfxPopupWindow
private:
XLineEndList* pLineEndList;
ValueSet aLineEndSet;
- USHORT nCols;
- USHORT nLines;
- ULONG nLineEndWidth;
+ sal_uInt16 nCols;
+ sal_uInt16 nLines;
+ sal_uIntPtr nLineEndWidth;
Size aBmpSize;
- BOOL bPopupMode;
+ sal_Bool bPopupMode;
bool mbInResize;
::com::sun::star::uno::Reference< ::com::sun::star::frame::XFrame > mxFrame;
@@ -127,7 +127,7 @@ private:
protected:
virtual void Resizing( Size& rSize );
virtual void Resize();
- virtual BOOL Close();
+ virtual sal_Bool Close();
virtual void PopupModeEnd();
/** This function is called when the window gets the focus. It grabs
@@ -137,10 +137,10 @@ protected:
virtual void GetFocus (void);
public:
- SvxLineEndWindow( USHORT nId,
+ SvxLineEndWindow( sal_uInt16 nId,
const ::com::sun::star::uno::Reference< ::com::sun::star::frame::XFrame >& rFrame,
const String& rWndTitle );
- SvxLineEndWindow( USHORT nId,
+ SvxLineEndWindow( sal_uInt16 nId,
const ::com::sun::star::uno::Reference< ::com::sun::star::frame::XFrame >& rFrame,
Window* pParentWindow,
const String& rWndTitle );
@@ -148,7 +148,7 @@ public:
void StartSelection();
- virtual void StateChanged( USHORT nSID, SfxItemState eState,
+ virtual void StateChanged( sal_uInt16 nSID, SfxItemState eState,
const SfxPoolItem* pState );
virtual SfxPopupWindow* Clone() const;
};
@@ -161,10 +161,10 @@ class SVX_DLLPUBLIC SvxLineEndToolBoxControl : public SfxToolBoxControl
{
public:
SFX_DECL_TOOLBOX_CONTROL();
- SvxLineEndToolBoxControl( USHORT nSlotId, USHORT nId, ToolBox& rTbx );
+ SvxLineEndToolBoxControl( sal_uInt16 nSlotId, sal_uInt16 nId, ToolBox& rTbx );
~SvxLineEndToolBoxControl();
- virtual void StateChanged( USHORT nSID, SfxItemState eState,
+ virtual void StateChanged( sal_uInt16 nSID, SfxItemState eState,
const SfxPoolItem* pState );
virtual SfxPopupWindowType GetPopupWindowType() const;
virtual SfxPopupWindow* CreatePopupWindow();
diff --git a/svx/inc/measctrl.hxx b/svx/inc/svx/measctrl.hxx
index 35839b69d51d..35839b69d51d 100644..100755
--- a/svx/inc/measctrl.hxx
+++ b/svx/inc/svx/measctrl.hxx
diff --git a/svx/inc/modctrl.hxx b/svx/inc/svx/modctrl.hxx
index e3376eb7abff..ef2859e4b60c 100644..100755
--- a/svx/inc/modctrl.hxx
+++ b/svx/inc/svx/modctrl.hxx
@@ -40,16 +40,16 @@
class SVX_DLLPUBLIC SvxModifyControl : public SfxStatusBarControl
{
public:
- virtual void StateChanged( USHORT nSID, SfxItemState eState,
+ virtual void StateChanged( sal_uInt16 nSID, SfxItemState eState,
const SfxPoolItem* pState );
virtual void Paint( const UserDrawEvent& rUsrEvt );
virtual void DoubleClick();
SFX_DECL_STATUSBAR_CONTROL();
- SvxModifyControl( USHORT nSlotId, USHORT nId, StatusBar& rStb );
+ SvxModifyControl( sal_uInt16 nSlotId, sal_uInt16 nId, StatusBar& rStb );
- static ULONG GetDefItemWidth(const StatusBar& rStb);
+ static sal_uIntPtr GetDefItemWidth(const StatusBar& rStb);
private:
struct ImplData;
diff --git a/svx/inc/svx/msdffdef.hxx b/svx/inc/svx/msdffdef.hxx
index 9a3725a33f5e..112d662c0bf7 100644..100755
--- a/svx/inc/svx/msdffdef.hxx
+++ b/svx/inc/svx/msdffdef.hxx
@@ -272,15 +272,15 @@ enum DFF_TextHeader {
// Transform
#define DFF_Prop_Rotation 4 // Fixed Point 16.16 degrees
// Protection
-#define DFF_Prop_LockRotation 119 // BOOL No rotation
-#define DFF_Prop_LockAspectRatio 120 // BOOL Don't allow changes in aspect ratio
-#define DFF_Prop_LockPosition 121 // BOOL Don't allow the shape to be moved
-#define DFF_Prop_LockAgainstSelect 122 // BOOL Shape may not be selected
-#define DFF_Prop_LockCropping 123 // BOOL No cropping this shape
-#define DFF_Prop_LockVertices 124 // BOOL Edit Points not allowed
-#define DFF_Prop_LockText 125 // BOOL Do not edit text
-#define DFF_Prop_LockAdjustHandles 126 // BOOL Do not adjust
-#define DFF_Prop_LockAgainstGrouping 127 // BOOL Do not group this shape
+#define DFF_Prop_LockRotation 119 // sal_Bool No rotation
+#define DFF_Prop_LockAspectRatio 120 // sal_Bool Don't allow changes in aspect ratio
+#define DFF_Prop_LockPosition 121 // sal_Bool Don't allow the shape to be moved
+#define DFF_Prop_LockAgainstSelect 122 // sal_Bool Shape may not be selected
+#define DFF_Prop_LockCropping 123 // sal_Bool No cropping this shape
+#define DFF_Prop_LockVertices 124 // sal_Bool Edit Points not allowed
+#define DFF_Prop_LockText 125 // sal_Bool Do not edit text
+#define DFF_Prop_LockAdjustHandles 126 // sal_Bool Do not adjust
+#define DFF_Prop_LockAgainstGrouping 127 // sal_Bool Do not group this shape
// Text
#define DFF_Prop_lTxid 128 // LONG id for the text, value determined by the host
#define DFF_Prop_dxTextLeft 129 // LONG margins relative to shape's inscribed text rectangle (in EMUs)
@@ -294,11 +294,11 @@ enum DFF_TextHeader {
#define DFF_Prop_cdirFont 137 // MSO_CDIR Font rotation
#define DFF_Prop_hspNext 138 // MSO_HSP ID of the next shape (used by Word for linked textboxes)
#define DFF_Prop_txdir 139 // MSO_TXDIR Bi-Di Text direction
-#define DFF_Prop_SelectText 187 // BOOL TRUE if single click selects text, FALSE if two clicks
-#define DFF_Prop_AutoTextMargin 188 // BOOL use host's margin calculations
-#define DFF_Prop_RotateText 189 // BOOL Rotate text with shape
-#define DFF_Prop_FitShapeToText 190 // BOOL Size shape to fit text size
-#define DFF_Prop_FitTextToShape 191 // BOOL Size text to fit shape size
+#define DFF_Prop_SelectText 187 // sal_Bool sal_True if single click selects text, sal_False if two clicks
+#define DFF_Prop_AutoTextMargin 188 // sal_Bool use host's margin calculations
+#define DFF_Prop_RotateText 189 // sal_Bool Rotate text with shape
+#define DFF_Prop_FitShapeToText 190 // sal_Bool Size shape to fit text size
+#define DFF_Prop_FitTextToShape 191 // sal_Bool Size text to fit shape size
// GeoText
#define DFF_Prop_gtextUNICODE 192 // WCHAR* UNICODE text string
#define DFF_Prop_gtextRTF 193 // char* RTF text string
@@ -306,22 +306,22 @@ enum DFF_TextHeader {
#define DFF_Prop_gtextSize 195 // LONG default point size
#define DFF_Prop_gtextSpacing 196 // LONG fixed point 16.16
#define DFF_Prop_gtextFont 197 // WCHAR* font family name
-#define DFF_Prop_gtextFReverseRows 240 // BOOL 8000 Reverse row order
-#define DFF_Prop_fGtext 241 // BOOL 4000 Has text effect
-#define DFF_Prop_gtextFVertical 242 // BOOL 2000 Rotate characters
-#define DFF_Prop_gtextFKern 243 // BOOL 1000 Kern characters
-#define DFF_Prop_gtextFTight 244 // BOOL 800 Tightening or tracking
-#define DFF_Prop_gtextFStretch 245 // BOOL 400 Stretch to fit shape
-#define DFF_Prop_gtextFShrinkFit 246 // BOOL 200 Char bounding box
-#define DFF_Prop_gtextFBestFit 247 // BOOL 100 Scale text-on-path
-#define DFF_Prop_gtextFNormalize 248 // BOOL 80 Stretch char height
-#define DFF_Prop_gtextFDxMeasure 249 // BOOL 40 Do not measure along path
-#define DFF_Prop_gtextFBold 250 // BOOL 20 Bold font
-#define DFF_Prop_gtextFItalic 251 // BOOL 10 Italic font
-#define DFF_Prop_gtextFUnderline 252 // BOOL 8 Underline font
-#define DFF_Prop_gtextFShadow 253 // BOOL 4 Shadow font
-#define DFF_Prop_gtextFSmallcaps 254 // BOOL 2 Small caps font
-#define DFF_Prop_gtextFStrikethrough 255 // BOOL 1 Strike through font
+#define DFF_Prop_gtextFReverseRows 240 // sal_Bool 8000 Reverse row order
+#define DFF_Prop_fGtext 241 // sal_Bool 4000 Has text effect
+#define DFF_Prop_gtextFVertical 242 // sal_Bool 2000 Rotate characters
+#define DFF_Prop_gtextFKern 243 // sal_Bool 1000 Kern characters
+#define DFF_Prop_gtextFTight 244 // sal_Bool 800 Tightening or tracking
+#define DFF_Prop_gtextFStretch 245 // sal_Bool 400 Stretch to fit shape
+#define DFF_Prop_gtextFShrinkFit 246 // sal_Bool 200 Char bounding box
+#define DFF_Prop_gtextFBestFit 247 // sal_Bool 100 Scale text-on-path
+#define DFF_Prop_gtextFNormalize 248 // sal_Bool 80 Stretch char height
+#define DFF_Prop_gtextFDxMeasure 249 // sal_Bool 40 Do not measure along path
+#define DFF_Prop_gtextFBold 250 // sal_Bool 20 Bold font
+#define DFF_Prop_gtextFItalic 251 // sal_Bool 10 Italic font
+#define DFF_Prop_gtextFUnderline 252 // sal_Bool 8 Underline font
+#define DFF_Prop_gtextFShadow 253 // sal_Bool 4 Shadow font
+#define DFF_Prop_gtextFSmallcaps 254 // sal_Bool 2 Small caps font
+#define DFF_Prop_gtextFStrikethrough 255 // sal_Bool 1 Strike through font
// Blip
#define DFF_Prop_cropFromTop 256 // LONG 16.16 fraction times total image width or height, as appropriate.
#define DFF_Prop_cropFromBottom 257 // LONG
@@ -341,10 +341,10 @@ enum DFF_TextHeader {
#define DFF_Prop_pibPrint 271 // IMsoBlip* Blip to display when printing
#define DFF_Prop_pibPrintName 272 // WCHAR* Blip file name
#define DFF_Prop_pibPrintFlags 273 // MSO_BLIPFLAGS Blip flags
-#define DFF_Prop_fNoHitTestPicture 316 // BOOL Do not hit test the picture
-#define DFF_Prop_pictureGray 317 // BOOL grayscale display
-#define DFF_Prop_pictureBiLevel 318 // BOOL bi-level display
-#define DFF_Prop_pictureActive 319 // BOOL Server is active (OLE objects only)
+#define DFF_Prop_fNoHitTestPicture 316 // sal_Bool Do not hit test the picture
+#define DFF_Prop_pictureGray 317 // sal_Bool grayscale display
+#define DFF_Prop_pictureBiLevel 318 // sal_Bool bi-level display
+#define DFF_Prop_pictureActive 319 // sal_Bool Server is active (OLE objects only)
// Geometry
#define DFF_Prop_geoLeft 320 // LONG Defines the G (geometry) coordinate space.
#define DFF_Prop_geoTop 321 // LONG
@@ -370,12 +370,12 @@ enum DFF_TextHeader {
#define DFF_Prop_pFormulas 342 // LONG
#define DFF_Prop_textRectangles 343 // LONG
#define DFF_Prop_connectorType 344 // LONG ->0=none, 1=segments, 2=custom, 3=rect
-#define DFF_Prop_fShadowOK 378 // BOOL Shadow may be set
-#define DFF_Prop_f3DOK 379 // BOOL 3D may be set
-#define DFF_Prop_fLineOK 380 // BOOL Line style may be set
-#define DFF_Prop_fGtextOK 381 // BOOL Text effect (FontWork) supported
+#define DFF_Prop_fShadowOK 378 // sal_Bool Shadow may be set
+#define DFF_Prop_f3DOK 379 // sal_Bool 3D may be set
+#define DFF_Prop_fLineOK 380 // sal_Bool Line style may be set
+#define DFF_Prop_fGtextOK 381 // sal_Bool Text effect (FontWork) supported
#define DFF_Prop_fFillShadeShapeOK 382 // BOOL
-#define DFF_Prop_fFillOK 383 // BOOL OK to fill the shape through the UI or VBA?
+#define DFF_Prop_fFillOK 383 // sal_Bool OK to fill the shape through the UI or VBA?
// FillStyle
#define DFF_Prop_fillType 384 // MSO_FILLTYPE Type of fill
#define DFF_Prop_fillColor 385 // MSO_CLR Foreground color
@@ -406,11 +406,11 @@ enum DFF_TextHeader {
#define DFF_Prop_fillShapeOriginX 410 // LONG
#define DFF_Prop_fillShapeOriginY 411 // LONG
#define DFF_Prop_fillShadeType 412 // MSO_SHADETYPE Type of shading, if a shaded (gradient) fill.
-#define DFF_Prop_fFilled 443 // BOOL Is shape filled?
-#define DFF_Prop_fHitTestFill 444 // BOOL Should we hit test fill?
-#define DFF_Prop_fillShape 445 // BOOL Register pattern on shape
-#define DFF_Prop_fillUseRect 446 // BOOL Use the large rect?
-#define DFF_Prop_fNoFillHitTest 447 // BOOL Hit test a shape as though filled
+#define DFF_Prop_fFilled 443 // sal_Bool Is shape filled?
+#define DFF_Prop_fHitTestFill 444 // sal_Bool Should we hit test fill?
+#define DFF_Prop_fillShape 445 // sal_Bool Register pattern on shape
+#define DFF_Prop_fillUseRect 446 // sal_Bool Use the large rect?
+#define DFF_Prop_fNoFillHitTest 447 // sal_Bool Hit test a shape as though filled
// LineStyle
#define DFF_Prop_lineColor 448 // MSO_CLR Color of line
#define DFF_Prop_lineOpacity 449 // LONG Not implemented
@@ -436,11 +436,11 @@ enum DFF_TextHeader {
#define DFF_Prop_lineEndArrowLength 469 // MSO_LINEENDLENGTH Arrow at end
#define DFF_Prop_lineJoinStyle 470 // MSO_LINEJOIN How to join lines
#define DFF_Prop_lineEndCapStyle 471 // MSO_LINECAP How to end lines
-#define DFF_Prop_fArrowheadsOK 507 // BOOL Allow arrowheads if prop. is set
-#define DFF_Prop_fLine 508 // BOOL Any line?
-#define DFF_Prop_fHitTestLine 509 // BOOL Should we hit test lines?
-#define DFF_Prop_lineFillShape 510 // BOOL Register pattern on shape
-#define DFF_Prop_fNoLineDrawDash 511 // BOOL Draw a dashed line if no line
+#define DFF_Prop_fArrowheadsOK 507 // sal_Bool Allow arrowheads if prop. is set
+#define DFF_Prop_fLine 508 // sal_Bool Any line?
+#define DFF_Prop_fHitTestLine 509 // sal_Bool Should we hit test lines?
+#define DFF_Prop_lineFillShape 510 // sal_Bool Register pattern on shape
+#define DFF_Prop_fNoLineDrawDash 511 // sal_Bool Draw a dashed line if no line
// ShadowStyle
#define DFF_Prop_shadowType 512 // MSO_SHADOWTYPE Type of effect
#define DFF_Prop_shadowColor 513 // MSO_CLR Foreground color
@@ -460,8 +460,8 @@ enum DFF_TextHeader {
#define DFF_Prop_shadowWeight 527 // LONG scaling factor
#define DFF_Prop_shadowOriginX 528 // LONG
#define DFF_Prop_shadowOriginY 529 // LONG
-#define DFF_Prop_fShadow 574 // BOOL Any shadow?
-#define DFF_Prop_fshadowObscured 575 // BOOL Excel5-style shadow
+#define DFF_Prop_fShadow 574 // sal_Bool Any shadow?
+#define DFF_Prop_fshadowObscured 575 // sal_Bool Excel5-style shadow
// PerspectiveStyle
#define DFF_Prop_perspectiveType 576 // MSO_XFORMTYPE Where transform applies
#define DFF_Prop_perspectiveOffsetX 577 // LONG The LONG values define a transformation matrix, effectively, each value is scaled by the perspectiveWeight parameter.
@@ -475,7 +475,7 @@ enum DFF_TextHeader {
#define DFF_Prop_perspectiveWeight 585 // LONG Scaling factor
#define DFF_Prop_perspectiveOriginX 586 // LONG
#define DFF_Prop_perspectiveOriginY 587 // LONG
-#define DFF_Prop_fPerspective 639 // BOOL On/off
+#define DFF_Prop_fPerspective 639 // sal_Bool On/off
// 3D Object
#define DFF_Prop_c3DSpecularAmt 640 // LONG Fixed-point 16.16
#define DFF_Prop_c3DDiffuseAmt 641 // LONG Fixed-point 16.16
@@ -486,8 +486,8 @@ enum DFF_TextHeader {
#define DFF_Prop_c3DExtrudePlane 646 // LONG Extrusion direction
#define DFF_Prop_c3DExtrusionColor 647 // MSO_CLR Basic color of extruded part of shape; the lighting model used will determine the exact shades used when rendering.
#define DFF_Prop_c3DCrMod 648 // MSO_CLR Modification for BW views
-#define DFF_Prop_f3D 700 // BOOL Does this shape have a 3D effect?
-#define DFF_Prop_fc3DMetallic 701 // BOOL Use metallic specularity?
+#define DFF_Prop_f3D 700 // sal_Bool Does this shape have a 3D effect?
+#define DFF_Prop_fc3DMetallic 701 // sal_Bool Use metallic specularity?
#define DFF_Prop_fc3DUseExtrusionColor 702 // BOOL
#define DFF_Prop_fc3DLightFace 703 // BOOL
// 3D Style
@@ -520,20 +520,20 @@ enum DFF_TextHeader {
#define DFF_Prop_c3DFillIntensity 730 // LONG Fixed point intensity
#define DFF_Prop_fc3DConstrainRotation 763 // BOOL
#define DFF_Prop_fc3DRotationCenterAuto 764 // BOOL
-#define DFF_Prop_fc3DParallel 765 // BOOL Parallel projection?
-#define DFF_Prop_fc3DKeyHarsh 766 // BOOL Is key lighting harsh?
-#define DFF_Prop_fc3DFillHarsh 767 // BOOL Is fill lighting harsh?
+#define DFF_Prop_fc3DParallel 765 // sal_Bool Parallel projection?
+#define DFF_Prop_fc3DKeyHarsh 766 // sal_Bool Is key lighting harsh?
+#define DFF_Prop_fc3DFillHarsh 767 // sal_Bool Is fill lighting harsh?
// Shape
#define DFF_Prop_hspMaster 769 // MSO_HSP master shape
#define DFF_Prop_cxstyle 771 // MSO_CXSTYLE Type of connector
#define DFF_Prop_bWMode 772 // MSO_BWMODE Settings for modifications to be made when in different forms of black-and-white mode.
#define DFF_Prop_bWModePureBW 773 // MSO_BWMODE
#define DFF_Prop_bWModeBW 774 // MSO_BWMODE
-#define DFF_Prop_fOleIcon 826 // BOOL For OLE objects, whether the object is in icon form
-#define DFF_Prop_fPreferRelativeResize 827 // BOOL For UI only. Prefer relative resizing.
-#define DFF_Prop_fLockShapeType 828 // BOOL Lock the shape type (don't allow Change Shape)
+#define DFF_Prop_fOleIcon 826 // sal_Bool For OLE objects, whether the object is in icon form
+#define DFF_Prop_fPreferRelativeResize 827 // sal_Bool For UI only. Prefer relative resizing.
+#define DFF_Prop_fLockShapeType 828 // sal_Bool Lock the shape type (don't allow Change Shape)
#define DFF_Prop_fDeleteAttachedObject 830 // BOOL
-#define DFF_Prop_fBackground 831 // BOOL If TRUE, this is the background shape.
+#define DFF_Prop_fBackground 831 // sal_Bool If sal_True, this is the background shape.
// Callout
#define DFF_Prop_spcot 832 // MSO_SPCOT Callout type
@@ -542,13 +542,13 @@ enum DFF_TextHeader {
#define DFF_Prop_spcod 835 // MSO_SPCOD Callout drop type
#define DFF_Prop_dxyCalloutDropSpecified 836 // LONG if mso_spcodSpecified, the actual drop distance
#define DFF_Prop_dxyCalloutLengthSpecified 837 // LONG if fCalloutLengthSpecified, the actual distance
-#define DFF_Prop_fCallout 889 // BOOL Is the shape a callout?
-#define DFF_Prop_fCalloutAccentBar 890 // BOOL does callout have accent bar
-#define DFF_Prop_fCalloutTextBorder 891 // BOOL does callout have a text border
+#define DFF_Prop_fCallout 889 // sal_Bool Is the shape a callout?
+#define DFF_Prop_fCalloutAccentBar 890 // sal_Bool does callout have accent bar
+#define DFF_Prop_fCalloutTextBorder 891 // sal_Bool does callout have a text border
#define DFF_Prop_fCalloutMinusX 892 // BOOL
#define DFF_Prop_fCalloutMinusY 893 // BOOL
-#define DFF_Prop_fCalloutDropAuto 894 // BOOL If true, then we occasionally invert the drop distance
-#define DFF_Prop_fCalloutLengthSpecified 895 // BOOL if true, we look at dxyCalloutLengthSpecified
+#define DFF_Prop_fCalloutDropAuto 894 // sal_Bool If true, then we occasionally invert the drop distance
+#define DFF_Prop_fCalloutLengthSpecified 895 // sal_Bool if true, we look at dxyCalloutLengthSpecified
// GroupShape
#define DFF_Prop_wzName 896 // WCHAR* Shape Name (present only if explicitly set)
@@ -562,13 +562,13 @@ enum DFF_TextHeader {
#define DFF_Prop_lidRegroup 904 // LONG Regroup ID
#define DFF_Prop_tableProperties 927 // LONG
#define DFF_Prop_tableRowProperties 928 // LONG*
-#define DFF_Prop_fEditedWrap 953 // BOOL Has the wrap polygon been edited?
-#define DFF_Prop_fBehindDocument 954 // BOOL Word-only (shape is behind text)
-#define DFF_Prop_fOnDblClickNotify 955 // BOOL Notify client on a double click
-#define DFF_Prop_fIsButton 956 // BOOL A button shape (i.e., clicking performs an action). Set for shapes with attached hyperlinks or macros.
-#define DFF_Prop_fOneD 957 // BOOL 1D adjustment
-#define DFF_Prop_fHidden 958 // BOOL Do not display
-#define DFF_Prop_fPrint 959 // BOOL Print this shape
+#define DFF_Prop_fEditedWrap 953 // sal_Bool Has the wrap polygon been edited?
+#define DFF_Prop_fBehindDocument 954 // sal_Bool Word-only (shape is behind text)
+#define DFF_Prop_fOnDblClickNotify 955 // sal_Bool Notify client on a double click
+#define DFF_Prop_fIsButton 956 // sal_Bool A button shape (i.e., clicking performs an action). Set for shapes with attached hyperlinks or macros.
+#define DFF_Prop_fOneD 957 // sal_Bool 1D adjustment
+#define DFF_Prop_fHidden 958 // sal_Bool Do not display
+#define DFF_Prop_fPrint 959 // sal_Bool Print this shape
// entsprechende BitFlags
#define DFF_PBit_EditedWrap 0x00000040
#define DFF_PBit_BehindDocument 0x00000020
@@ -1077,17 +1077,17 @@ enum MSO_LineCap {
// BStore-Container
// FBSE - File Blip Store Entry
typedef struct _MSOF_BSE {
- BYTE btWin32; // Required type on Win32
- BYTE btMacOS; // Required type on Mac
- BYTE rgbUid[16]; // Identifier of blip
- USHORT tag; // currently unused
- ULONG size; // Blip size in stream
- ULONG cRef; // Reference count on the blip
- ULONG /*MSOFO*/ foDelay; // File offset in the delay stream
- BYTE usage; // How this blip is used (MSOBLIPUSAGE)
- BYTE cbName; // length of the blip name
- BYTE unused2; // for the future
- BYTE unused3; // for the future
+ sal_uInt8 btWin32; // Required type on Win32
+ sal_uInt8 btMacOS; // Required type on Mac
+ sal_uInt8 rgbUid[16]; // Identifier of blip
+ sal_uInt16 tag; // currently unused
+ sal_uIntPtr size; // Blip size in stream
+ sal_uIntPtr cRef; // Reference count on the blip
+ sal_uIntPtr /*MSOFO*/ foDelay; // File offset in the delay stream
+ sal_uInt8 usage; // How this blip is used (MSOBLIPUSAGE)
+ sal_uInt8 cbName; // length of the blip name
+ sal_uInt8 unused2; // for the future
+ sal_uInt8 unused3; // for the future
} MSO_FBSE;
typedef enum {
diff --git a/svx/inc/svx/numfmtsh.hxx b/svx/inc/svx/numfmtsh.hxx
index 316b64f1b71c..a9253c04858d 100644..100755
--- a/svx/inc/svx/numfmtsh.hxx
+++ b/svx/inc/svx/numfmtsh.hxx
@@ -125,14 +125,14 @@ public:
const String* pNumStr = NULL );
- void GetInitSettings( USHORT& nCatLbPos,
+ void GetInitSettings( sal_uInt16& nCatLbPos,
LanguageType& rLangType,
- USHORT& nFmtLbSelPos,
+ sal_uInt16& nFmtLbSelPos,
SvStrings& rFmtEntries,
String& rPrevString,
Color*& rpPrevColor );
- void CategoryChanged( USHORT nCatLbPos,
+ void CategoryChanged( sal_uInt16 nCatLbPos,
short& rFmtSelPos,
SvStrings& rFmtEntries );
@@ -140,34 +140,34 @@ public:
short& rFmtSelPos,
SvStrings& rFmtEntries );
- void FormatChanged( USHORT nFmtLbPos,
+ void FormatChanged( sal_uInt16 nFmtLbPos,
String& rPreviewStr,
Color*& rpFontColor );
- BOOL AddFormat( String& rFormat,
+ sal_Bool AddFormat( String& rFormat,
xub_StrLen& rErrPos,
- USHORT& rCatLbSelPos,
+ sal_uInt16& rCatLbSelPos,
short& rFmtSelPos,
SvStrings& rFmtEntries );
- BOOL RemoveFormat( const String& rFormat,
- USHORT& rCatLbSelPos,
+ sal_Bool RemoveFormat( const String& rFormat,
+ sal_uInt16& rCatLbSelPos,
short& rFmtSelPos,
SvStrings& rFmtEntries );
void MakeFormat( String& rFormat,
- BOOL bThousand,
- BOOL bNegRed,
- USHORT nPrecision,
- USHORT nLeadingZeroes,
- USHORT nCurrencyEntryPos);
+ sal_Bool bThousand,
+ sal_Bool bNegRed,
+ sal_uInt16 nPrecision,
+ sal_uInt16 nLeadingZeroes,
+ sal_uInt16 nCurrencyEntryPos);
void GetOptions( const String& rFormat,
- BOOL& rThousand,
- BOOL& rNegRed,
- USHORT& rPrecision,
- USHORT& rLeadingZeroes,
- USHORT& rCatLbPos );
+ sal_Bool& rThousand,
+ sal_Bool& rNegRed,
+ sal_uInt16& rPrecision,
+ sal_uInt16& rLeadingZeroes,
+ sal_uInt16& rCatLbPos );
void MakePreviewString( const String& rFormatStr,
String& rPreviewStr,
@@ -178,11 +178,11 @@ public:
Color*& rpFontColor,
double nValue);
- BOOL IsUserDefined( const String& rFmtString );
- BOOL IsTmpCurrencyFormat( const String& rFmtString );
- BOOL FindEntry( const String& rFmtString, sal_uInt32* pAt = NULL );
+ sal_Bool IsUserDefined( const String& rFmtString );
+ sal_Bool IsTmpCurrencyFormat( const String& rFmtString );
+ sal_Bool FindEntry( const String& rFmtString, sal_uInt32* pAt = NULL );
- void ValidateNewEntries( BOOL bValidate = TRUE ) { bUndoAddList = !bValidate; }
+ void ValidateNewEntries( sal_Bool bValidate = sal_True ) { bUndoAddList = !bValidate; }
sal_uInt32 GetUpdateDataCount() const;
void GetUpdateData( sal_uInt32* pDelArray, const sal_uInt32 nSize );
@@ -197,25 +197,25 @@ public:
String GetComment4Entry(short nEntry);
short GetCategory4Entry(short nEntry);
- BOOL GetUserDefined4Entry(short nEntry);
+ sal_Bool GetUserDefined4Entry(short nEntry);
String GetFormat4Entry(short nEntry);
void SetComment4Entry(short nEntry,String aCommentString);
- BOOL IsBankingSymbol(USHORT nPos);
- void SetCurrencySymbol(USHORT nPos);
+ sal_Bool IsBankingSymbol(sal_uInt16 nPos);
+ void SetCurrencySymbol(sal_uInt16 nPos);
sal_uInt32 GetCurrencySymbol();
- USHORT FindCurrencyFormat( const String& rFmtString );
- USHORT FindCurrencyFormat(const NfCurrencyEntry* pTmpCurrencyEntry,BOOL bTmpBanking);
+ sal_uInt16 FindCurrencyFormat( const String& rFmtString );
+ sal_uInt16 FindCurrencyFormat(const NfCurrencyEntry* pTmpCurrencyEntry,sal_Bool bTmpBanking);
NfCurrencyEntry* GetCurCurrencyEntry();
void SetCurCurrencyEntry(NfCurrencyEntry*);
short GetListPos4Entry(sal_uInt32 nIdx);
short GetListPos4Entry( const String& rFmtString );
- void GetCurrencySymbols( SvStringsDtor& rList, USHORT* pPos );
- void GetCurrencySymbols( SvStringsDtor& rList, BOOL bFlag );
+ void GetCurrencySymbols( SvStringsDtor& rList, sal_uInt16* pPos );
+ void GetCurrencySymbols( SvStringsDtor& rList, sal_Bool bFlag );
- USHORT FindCurrencyTableEntry( const String& rFmtString, BOOL &bTestBanking );
- BOOL IsInTable(USHORT nPos,BOOL bTmpBanking,const String &rFmtString);
+ sal_uInt16 FindCurrencyTableEntry( const String& rFmtString, sal_Bool &bTestBanking );
+ sal_Bool IsInTable(sal_uInt16 nPos,sal_Bool bTmpBanking,const String &rFmtString);
void GetCurrencyFormats(SvStrings& rList);
@@ -227,7 +227,7 @@ private:
SvxNumberValueType eValType;
String aValStr;
double nValNum;
- BOOL bUndoAddList;
+ sal_Bool bUndoAddList;
SvULongs aAddList;
SvULongs aDelList;
SvULongs aCurEntryList;
@@ -237,13 +237,13 @@ private:
LanguageType eCurLanguage;
SvUShorts aCurCurrencyList;
NfCurrencyEntry* pCurCurrencyEntry;
- BOOL bBankingSymbol;
- USHORT nCurCurrencyEntryPos;
+ sal_Bool bBankingSymbol;
+ sal_uInt16 nCurCurrencyEntryPos;
SvStrings aCurrencyFormatList;
#ifdef _SVX_NUMFMTSH_CXX
SVX_DLLPRIVATE short FillEntryList_Impl( SvStrings& rList );
- SVX_DLLPRIVATE void FillEListWithStd_Impl( SvStrings& rList,USHORT aPrivCat, short &Pos);
+ SVX_DLLPRIVATE void FillEListWithStd_Impl( SvStrings& rList,sal_uInt16 aPrivCat, short &Pos);
SVX_DLLPRIVATE short FillEListWithFormats_Impl( SvStrings& rList,short nSelPos,
NfIndexTableOffset eOffsetStart,
NfIndexTableOffset eOffsetEnd);
@@ -255,12 +255,12 @@ private:
SVX_DLLPRIVATE short FillEListWithUserCurrencys( SvStrings& rList,short nSelPos);
SVX_DLLPRIVATE short FillEListWithUsD_Impl( SvStrings& rList, sal_uInt16 nPrivCat, short Pos );
- SVX_DLLPRIVATE BOOL IsRemoved_Impl( sal_uInt32 nKey );
- SVX_DLLPRIVATE BOOL IsAdded_Impl( sal_uInt32 nKey );
+ SVX_DLLPRIVATE sal_Bool IsRemoved_Impl( sal_uInt32 nKey );
+ SVX_DLLPRIVATE sal_Bool IsAdded_Impl( sal_uInt32 nKey );
SVX_DLLPRIVATE void GetPreviewString_Impl( String& rString,
Color*& rpColor );
- SVX_DLLPRIVATE void PosToCategory_Impl( USHORT nPos, short& rCategory );
- SVX_DLLPRIVATE void CategoryToPos_Impl( short nCategory, USHORT& rPos );
+ SVX_DLLPRIVATE void PosToCategory_Impl( sal_uInt16 nPos, short& rCategory );
+ SVX_DLLPRIVATE void CategoryToPos_Impl( short nCategory, sal_uInt16& rPos );
#endif
};
diff --git a/svx/inc/svx/numinf.hxx b/svx/inc/svx/numinf.hxx
index a9e2c701e934..32b021f079b5 100644..100755
--- a/svx/inc/svx/numinf.hxx
+++ b/svx/inc/svx/numinf.hxx
@@ -47,23 +47,23 @@ class SVX_DLLPUBLIC SvxNumberInfoItem : public SfxPoolItem
public:
TYPEINFO();
- SvxNumberInfoItem( const USHORT nId );
+ SvxNumberInfoItem( const sal_uInt16 nId );
SvxNumberInfoItem( SvNumberFormatter* pNumFormatter,
- const USHORT nId );
+ const sal_uInt16 nId );
SvxNumberInfoItem( SvNumberFormatter* pNumFormatter, const String& rVal,
- const USHORT nId );
+ const sal_uInt16 nId );
SvxNumberInfoItem( SvNumberFormatter* pNumFormatter, const double& rVal,
- const USHORT nId );
+ const sal_uInt16 nId );
// if both double and String are supplied, String is used for text formats
SvxNumberInfoItem( SvNumberFormatter* pNumFormatter, const double& rVal,
- const String& rValueStr, const USHORT nId );
+ const String& rValueStr, const sal_uInt16 nId );
SvxNumberInfoItem( const SvxNumberInfoItem& );
~SvxNumberInfoItem();
virtual int operator==( const SfxPoolItem& ) const;
virtual SfxPoolItem* Clone( SfxItemPool *pPool = 0 ) const;
- virtual SfxPoolItem* Create( SvStream& rStream, USHORT nVer ) const;
- virtual SvStream& Store( SvStream& , USHORT nItemVersion ) const;
+ virtual SfxPoolItem* Create( SvStream& rStream, sal_uInt16 nVer ) const;
+ virtual SvStream& Store( SvStream& , sal_uInt16 nItemVersion ) const;
virtual SfxItemPresentation GetPresentation( SfxItemPresentation ePres,
SfxMapUnit eCoreMetric,
diff --git a/svx/inc/numvset.hxx b/svx/inc/svx/numvset.hxx
index 9b99ad44f547..0bf764bf5847 100644..100755
--- a/svx/inc/numvset.hxx
+++ b/svx/inc/svx/numvset.hxx
@@ -56,14 +56,14 @@ class SvxNumRule;
struct SvxBmpItemInfo
{
SvxBrushItem* pBrushItem;
- USHORT nItemId;
+ sal_uInt16 nItemId;
};
class SVX_DLLPUBLIC SvxNumValueSet : public ValueSet
{
Color aLineColor;
- USHORT nPageType;
- BOOL bHTMLMode;
+ sal_uInt16 nPageType;
+ sal_Bool bHTMLMode;
Rectangle aOrgRect;
VirtualDevice* pVDev;
@@ -78,12 +78,12 @@ class SVX_DLLPUBLIC SvxNumValueSet : public ValueSet
com::sun::star::uno::Reference<
com::sun::star::container::XIndexAccess> > aOutlineSettings;
public:
- SvxNumValueSet( Window* pParent, const ResId& rResId, USHORT nType );
+ SvxNumValueSet( Window* pParent, const ResId& rResId, sal_uInt16 nType );
~SvxNumValueSet();
virtual void UserDraw( const UserDrawEvent& rUDEvt );
- void SetHTMLMode(BOOL bSet) {bHTMLMode = bSet;}
+ void SetHTMLMode(sal_Bool bSet) {bHTMLMode = bSet;}
void SetNumberingSettings(
const com::sun::star::uno::Sequence<
com::sun::star::uno::Sequence<
@@ -103,13 +103,13 @@ class SVX_DLLPUBLIC SvxBmpNumValueSet : public SvxNumValueSet
{
String sBullets;
Timer aFormatTimer;
- BOOL bGrfNotFound;
+ sal_Bool bGrfNotFound;
protected:
DECL_LINK(FormatHdl_Impl, Timer*);
- void SetGrfNotFound(BOOL bSet) {bGrfNotFound = bSet;}
- BOOL IsGrfNotFound()const {return bGrfNotFound;}
+ void SetGrfNotFound(sal_Bool bSet) {bGrfNotFound = bSet;}
+ sal_Bool IsGrfNotFound()const {return bGrfNotFound;}
Timer& GetFormatTimer() {return aFormatTimer;}
@@ -127,8 +127,8 @@ class SvxNumberingPreview : public Window
Font aStdFont;
long nPageWidth;
const String* pOutlineNames;
- BOOL bPosition;
- UINT16 nActLevel;
+ sal_Bool bPosition;
+ sal_uInt16 nActLevel;
protected:
virtual void Paint( const Rectangle& rRect );
@@ -136,7 +136,7 @@ class SvxNumberingPreview : public Window
public:
SvxNumberingPreview(Window* pParent, const ResId& rResId ) :
Window(pParent, rResId),
- pActNum(0),nPageWidth(0), pOutlineNames(0), bPosition(FALSE), nActLevel(USHRT_MAX)
+ pActNum(0),nPageWidth(0), pOutlineNames(0), bPosition(sal_False), nActLevel(USHRT_MAX)
{ SetBorderStyle( WINDOW_BORDER_MONO ); }
void SetNumRule(const SvxNumRule* pNum)
@@ -146,8 +146,8 @@ class SvxNumberingPreview : public Window
void SetOutlineNames(const String* pNames)
{pOutlineNames = pNames;}
void SetPositionMode()
- { bPosition = TRUE;}
- void SetLevel(USHORT nSet) {nActLevel = nSet;}
+ { bPosition = sal_True;}
+ void SetLevel(sal_uInt16 nSet) {nActLevel = nSet;}
};
diff --git a/svx/inc/svx/obj3d.hxx b/svx/inc/svx/obj3d.hxx
index 37e31278d94d..9aca65c5da52 100644..100755
--- a/svx/inc/svx/obj3d.hxx
+++ b/svx/inc/svx/obj3d.hxx
@@ -93,10 +93,10 @@ public:
SVX_DLLPUBLIC E3dObjList(const E3dObjList& rSrcList);
SVX_DLLPUBLIC virtual ~E3dObjList();
- virtual void NbcInsertObject(SdrObject* pObj, ULONG nPos=CONTAINER_APPEND, const SdrInsertReason* pReason=NULL);
- virtual void InsertObject(SdrObject* pObj, ULONG nPos=CONTAINER_APPEND, const SdrInsertReason* pReason=NULL);
- virtual SdrObject* NbcRemoveObject(ULONG nObjNum);
- virtual SdrObject* RemoveObject(ULONG nObjNum);
+ virtual void NbcInsertObject(SdrObject* pObj, sal_uIntPtr nPos=CONTAINER_APPEND, const SdrInsertReason* pReason=NULL);
+ virtual void InsertObject(SdrObject* pObj, sal_uIntPtr nPos=CONTAINER_APPEND, const SdrInsertReason* pReason=NULL);
+ virtual SdrObject* NbcRemoveObject(sal_uIntPtr nObjNum);
+ virtual SdrObject* RemoveObject(sal_uIntPtr nObjNum);
};
/*************************************************************************
@@ -142,7 +142,7 @@ protected:
// and no instances should be created from anyone, so i move the constructors
// to protected area
E3dObject();
- E3dObject(BOOL bIsFromChart);
+ E3dObject(sal_Bool bIsFromChart);
public:
TYPEINFO();
@@ -151,8 +151,8 @@ public:
virtual ~E3dObject();
- virtual UINT32 GetObjInventor() const;
- virtual UINT16 GetObjIdentifier() const;
+ virtual sal_uInt32 GetObjInventor() const;
+ virtual sal_uInt16 GetObjIdentifier() const;
virtual void TakeObjInfo(SdrObjTransformInfoRec& rInfo) const;
@@ -195,7 +195,7 @@ public:
// TakeObjName...() is for the display in the UI, for example "3 frames selected".
virtual void TakeObjNameSingul(String& rName) const;
virtual void TakeObjNamePlural(String& rName) const;
- USHORT GetLogicalGroup() { return 0; }
+ sal_uInt16 GetLogicalGroup() { return 0; }
virtual void operator=(const SdrObject&);
virtual SdrObjGeoData *NewGeoData() const;
@@ -207,7 +207,7 @@ public:
void SetSelected(bool bNew);
// break up
- virtual BOOL IsBreakObjPossible();
+ virtual sal_Bool IsBreakObjPossible();
virtual SdrAttrObj* GetBreakObj();
};
@@ -257,28 +257,28 @@ public :
virtual sal_uInt32 GetHdlCount() const;
virtual void AddToHdlList(SdrHdlList& rHdlList) const;
- // DoubleSided: TRUE/FALSE
- BOOL GetDoubleSided() const
+ // DoubleSided: sal_True/FALSE
+ sal_Bool GetDoubleSided() const
{ return ((const Svx3DDoubleSidedItem&)GetObjectItemSet().Get(SDRATTR_3DOBJ_DOUBLE_SIDED)).GetValue(); }
- // NormalsKind: 0 == FALSE/FALSE, 1 == TRUE/FALSE, else == TRUE/TRUE
+ // NormalsKind: 0 == sal_False/sal_False, 1 == sal_True/sal_False, else == sal_True/TRUE
sal_uInt16 GetNormalsKind() const
{ return ((const Svx3DNormalsKindItem&)GetObjectItemSet().Get(SDRATTR_3DOBJ_NORMALS_KIND)).GetValue(); }
- // NormalsInvert: TRUE/FALSE
- BOOL GetNormalsInvert() const
+ // NormalsInvert: sal_True/FALSE
+ sal_Bool GetNormalsInvert() const
{ return ((const Svx3DNormalsInvertItem&)GetObjectItemSet().Get(SDRATTR_3DOBJ_NORMALS_INVERT)).GetValue(); }
- // TextureProjX: 0 == FALSE/FALSE, 1 == TRUE/FALSE, else == TRUE/TRUE
+ // TextureProjX: 0 == sal_False/sal_False, 1 == sal_True/sal_False, else == sal_True/TRUE
sal_uInt16 GetTextureProjectionX() const
{ return ((const Svx3DTextureProjectionXItem&)GetObjectItemSet().Get(SDRATTR_3DOBJ_TEXTURE_PROJ_X)).GetValue(); }
- // TextureProjY: 0 == FALSE/FALSE, 1 == TRUE/FALSE, else == TRUE/TRUE
+ // TextureProjY: 0 == sal_False/sal_False, 1 == sal_True/sal_False, else == sal_True/TRUE
sal_uInt16 GetTextureProjectionY() const
{ return ((const Svx3DTextureProjectionYItem&)GetObjectItemSet().Get(SDRATTR_3DOBJ_TEXTURE_PROJ_Y)).GetValue(); }
- // Shadow3D: TRUE/FALSE
- BOOL GetShadow3D() const
+ // Shadow3D: sal_True/FALSE
+ sal_Bool GetShadow3D() const
{ return ((const Svx3DShadow3DItem&)GetObjectItemSet().Get(SDRATTR_3DOBJ_SHADOW_3D)).GetValue(); }
// MaterialColor: Color
@@ -297,24 +297,24 @@ public :
sal_uInt16 GetMaterialSpecularIntensity() const
{ return ((const Svx3DMaterialSpecularIntensityItem&)GetObjectItemSet().Get(SDRATTR_3DOBJ_MAT_SPECULAR_INTENSITY)).GetValue(); }
- // TextureFilter: TRUE/FALSE
- BOOL GetTextureFilter() const
+ // TextureFilter: sal_True/FALSE
+ sal_Bool GetTextureFilter() const
{ return ((const Svx3DTextureFilterItem&)GetObjectItemSet().Get(SDRATTR_3DOBJ_TEXTURE_FILTER)).GetValue(); }
// #i28528#
// Added extra Item (Bool) for chart2 to be able to show reduced line geometry
- BOOL GetReducedLineGeometry() const
+ sal_Bool GetReducedLineGeometry() const
{ return ((const Svx3DReducedLineGeometryItem&)GetObjectItemSet().Get(SDRATTR_3DOBJ_REDUCED_LINE_GEOMETRY)).GetValue(); }
- virtual UINT16 GetObjIdentifier() const;
+ virtual sal_uInt16 GetObjIdentifier() const;
virtual void RecalcSnapRect();
// set/get parameters for geometry creation
- BOOL GetCreateNormals() const { return bCreateNormals; }
- void SetCreateNormals(BOOL bNew);
+ sal_Bool GetCreateNormals() const { return bCreateNormals; }
+ void SetCreateNormals(sal_Bool bNew);
- BOOL GetCreateTexture() const { return bCreateTexture; }
- void SetCreateTexture(BOOL bNew);
+ sal_Bool GetCreateTexture() const { return bCreateTexture; }
+ void SetCreateTexture(sal_Bool bNew);
// copy operator
virtual void operator=(const SdrObject&);
diff --git a/svx/inc/objfac3d.hxx b/svx/inc/svx/objfac3d.hxx
index 0b17197b4404..0b17197b4404 100644..100755
--- a/svx/inc/objfac3d.hxx
+++ b/svx/inc/svx/objfac3d.hxx
diff --git a/svx/inc/ofaitem.hxx b/svx/inc/svx/ofaitem.hxx
index 3301a772e7aa..9f9610cbf7ad 100644..100755
--- a/svx/inc/ofaitem.hxx
+++ b/svx/inc/svx/ofaitem.hxx
@@ -41,7 +41,7 @@ private:
void* pPtr;
public:
- OfaPtrItem( USHORT nWhich, void *pPtr );
+ OfaPtrItem( sal_uInt16 nWhich, void *pPtr );
OfaPtrItem( const OfaPtrItem& );
virtual int operator==( const SfxPoolItem& ) const;
diff --git a/svx/inc/optgenrl.hxx b/svx/inc/svx/optgenrl.hxx
index e0205000b1a8..ba4876eed3a3 100644..100755
--- a/svx/inc/optgenrl.hxx
+++ b/svx/inc/svx/optgenrl.hxx
@@ -29,22 +29,22 @@
#define _SVX_OPTGENRL_HXX
// Defines for setting the focus of a Edit via a slot from external.
-#define UNKNOWN_EDIT ((USHORT)0)
-#define COMPANY_EDIT ((USHORT)1)
-#define FIRSTNAME_EDIT ((USHORT)2)
-#define LASTNAME_EDIT ((USHORT)3)
-#define STREET_EDIT ((USHORT)4)
-#define COUNTRY_EDIT ((USHORT)5)
-#define PLZ_EDIT ((USHORT)6)
-#define CITY_EDIT ((USHORT)7)
-#define STATE_EDIT ((USHORT)8)
-#define TITLE_EDIT ((USHORT)9)
-#define POSITION_EDIT ((USHORT)10)
-#define SHORTNAME_EDIT ((USHORT)11)
-#define TELPRIV_EDIT ((USHORT)12)
-#define TELCOMPANY_EDIT ((USHORT)13)
-#define FAX_EDIT ((USHORT)14)
-#define EMAIL_EDIT ((USHORT)15)
+#define UNKNOWN_EDIT ((sal_uInt16)0)
+#define COMPANY_EDIT ((sal_uInt16)1)
+#define FIRSTNAME_EDIT ((sal_uInt16)2)
+#define LASTNAME_EDIT ((sal_uInt16)3)
+#define STREET_EDIT ((sal_uInt16)4)
+#define COUNTRY_EDIT ((sal_uInt16)5)
+#define PLZ_EDIT ((sal_uInt16)6)
+#define CITY_EDIT ((sal_uInt16)7)
+#define STATE_EDIT ((sal_uInt16)8)
+#define TITLE_EDIT ((sal_uInt16)9)
+#define POSITION_EDIT ((sal_uInt16)10)
+#define SHORTNAME_EDIT ((sal_uInt16)11)
+#define TELPRIV_EDIT ((sal_uInt16)12)
+#define TELCOMPANY_EDIT ((sal_uInt16)13)
+#define FAX_EDIT ((sal_uInt16)14)
+#define EMAIL_EDIT ((sal_uInt16)15)
#endif // #ifndef _SVX_OPTGENRL_HXX
diff --git a/svx/inc/optgrid.hxx b/svx/inc/svx/optgrid.hxx
index df1e881bf550..5877be34af07 100644..100755
--- a/svx/inc/optgrid.hxx
+++ b/svx/inc/svx/optgrid.hxx
@@ -44,42 +44,42 @@ class SvxGridTabPage;
class SVX_DLLPUBLIC SvxOptionsGrid
{
protected:
- UINT32 nFldDrawX;
- UINT32 nFldDivisionX;
- UINT32 nFldDrawY;
- UINT32 nFldDivisionY;
- UINT32 nFldSnapX;
- UINT32 nFldSnapY;
- BOOL bUseGridsnap:1;
- BOOL bSynchronize:1;
- BOOL bGridVisible:1;
- BOOL bEqualGrid: 1;
+ sal_uInt32 nFldDrawX;
+ sal_uInt32 nFldDivisionX;
+ sal_uInt32 nFldDrawY;
+ sal_uInt32 nFldDivisionY;
+ sal_uInt32 nFldSnapX;
+ sal_uInt32 nFldSnapY;
+ sal_Bool bUseGridsnap:1;
+ sal_Bool bSynchronize:1;
+ sal_Bool bGridVisible:1;
+ sal_Bool bEqualGrid: 1;
public:
SvxOptionsGrid();
~SvxOptionsGrid();
- void SetFldDrawX( UINT32 nSet){nFldDrawX = nSet;}
- void SetFldDivisionX(UINT32 nSet){nFldDivisionX = nSet;}
- void SetFldDrawY ( UINT32 nSet){nFldDrawY = nSet;}
- void SetFldDivisionY(UINT32 nSet){nFldDivisionY = nSet;}
- void SetFldSnapX( UINT32 nSet){nFldSnapX = nSet;}
- void SetFldSnapY ( UINT32 nSet){nFldSnapY = nSet;}
- void SetUseGridSnap( BOOL bSet ) {bUseGridsnap = bSet;}
- void SetSynchronize( BOOL bSet ) {bSynchronize = bSet;}
- void SetGridVisible( BOOL bSet ) {bGridVisible = bSet;}
- void SetEqualGrid( BOOL bSet ) {bEqualGrid = bSet;}
-
- UINT32 GetFldDrawX( ) const { return nFldDrawX; }
- UINT32 GetFldDivisionX() const { return nFldDivisionX;}
- UINT32 GetFldDrawY ( ) const { return nFldDrawY; }
- UINT32 GetFldDivisionY() const { return nFldDivisionY;}
- UINT32 GetFldSnapX( ) const { return nFldSnapX; }
- UINT32 GetFldSnapY ( ) const { return nFldSnapY; }
- BOOL GetUseGridSnap( ) const { return bUseGridsnap; }
- BOOL GetSynchronize( ) const { return bSynchronize; }
- BOOL GetGridVisible( ) const { return bGridVisible; }
- BOOL GetEqualGrid() const { return bEqualGrid; }
+ void SetFldDrawX( sal_uInt32 nSet){nFldDrawX = nSet;}
+ void SetFldDivisionX(sal_uInt32 nSet){nFldDivisionX = nSet;}
+ void SetFldDrawY ( sal_uInt32 nSet){nFldDrawY = nSet;}
+ void SetFldDivisionY(sal_uInt32 nSet){nFldDivisionY = nSet;}
+ void SetFldSnapX( sal_uInt32 nSet){nFldSnapX = nSet;}
+ void SetFldSnapY ( sal_uInt32 nSet){nFldSnapY = nSet;}
+ void SetUseGridSnap( sal_Bool bSet ) {bUseGridsnap = bSet;}
+ void SetSynchronize( sal_Bool bSet ) {bSynchronize = bSet;}
+ void SetGridVisible( sal_Bool bSet ) {bGridVisible = bSet;}
+ void SetEqualGrid( sal_Bool bSet ) {bEqualGrid = bSet;}
+
+ sal_uInt32 GetFldDrawX( ) const { return nFldDrawX; }
+ sal_uInt32 GetFldDivisionX() const { return nFldDivisionX;}
+ sal_uInt32 GetFldDrawY ( ) const { return nFldDrawY; }
+ sal_uInt32 GetFldDivisionY() const { return nFldDivisionY;}
+ sal_uInt32 GetFldSnapX( ) const { return nFldSnapX; }
+ sal_uInt32 GetFldSnapY ( ) const { return nFldSnapY; }
+ sal_Bool GetUseGridSnap( ) const { return bUseGridsnap; }
+ sal_Bool GetSynchronize( ) const { return bSynchronize; }
+ sal_Bool GetGridVisible( ) const { return bGridVisible; }
+ sal_Bool GetEqualGrid() const { return bEqualGrid; }
};
// class SvxGridItem -----------------------------------------------------
@@ -90,7 +90,7 @@ class SVX_DLLPUBLIC SvxGridItem : public SvxOptionsGrid, public SfxPoolItem
friend class SvxGridTabPage;
public:
- SvxGridItem( USHORT _nWhich) : SfxPoolItem(_nWhich){};
+ SvxGridItem( sal_uInt16 _nWhich) : SfxPoolItem(_nWhich){};
SvxGridItem( const SvxGridItem& pTestItem );
virtual SfxPoolItem* Clone( SfxItemPool *pPool = 0 ) const;
@@ -115,7 +115,7 @@ public:
static SfxTabPage* Create( Window* pParent, const SfxItemSet& rAttrSet );
- virtual BOOL FillItemSet( SfxItemSet& rSet );
+ virtual sal_Bool FillItemSet( SfxItemSet& rSet );
virtual void Reset( const SfxItemSet& rSet );
virtual void ActivatePage( const SfxItemSet& rSet );
@@ -164,7 +164,7 @@ protected:
MetricField aMtrFldBezAngle;
private:
- BOOL bAttrModified;
+ sal_Bool bAttrModified;
#ifdef _SVX_OPTGRID_CXX
DECL_LINK( ClickRotateHdl_Impl, void * );
diff --git a/svx/inc/orienthelper.hxx b/svx/inc/svx/orienthelper.hxx
index 752821e870f8..752821e870f8 100644..100755
--- a/svx/inc/orienthelper.hxx
+++ b/svx/inc/svx/orienthelper.hxx
diff --git a/svx/inc/svx/pagectrl.hxx b/svx/inc/svx/pagectrl.hxx
index c843bbc24c35..14054b20c2df 100644..100755
--- a/svx/inc/svx/pagectrl.hxx
+++ b/svx/inc/svx/pagectrl.hxx
@@ -70,13 +70,13 @@ private:
Color aFtColor;
SvxBoxItem* pFtBorder;
- BOOL bFooter :1;
- BOOL bHeader :1;
- BOOL bTable :1;
- BOOL bHorz :1;
- BOOL bVert :1;
+ sal_Bool bFooter :1;
+ sal_Bool bHeader :1;
+ sal_Bool bTable :1;
+ sal_Bool bHorz :1;
+ sal_Bool bVert :1;
- USHORT eUsage;
+ sal_uInt16 eUsage;
String aLeftText;
String aRightText;
@@ -85,8 +85,8 @@ protected:
virtual void Paint( const Rectangle& rRect );
virtual void DrawPage( const Point& rPoint,
- const BOOL bSecond,
- const BOOL bEnabled );
+ const sal_Bool bSecond,
+ const sal_Bool bEnabled );
public:
SvxPageWindow( Window* pParent, const ResId& rId );
@@ -144,20 +144,20 @@ public:
const Color& GetFtColor() const { return aFtColor; }
const SvxBoxItem& GetFtBorder() const { return *pFtBorder; }
- void SetUsage( USHORT eU ) { eUsage = eU; }
- USHORT GetUsage() const { return eUsage;}
+ void SetUsage( sal_uInt16 eU ) { eUsage = eU; }
+ sal_uInt16 GetUsage() const { return eUsage;}
- void SetHeader( BOOL bNew ) { bHeader = bNew; }
- BOOL GetHeader() const { return bHeader;}
- void SetFooter( BOOL bNew ) { bFooter = bNew; }
- BOOL GetFooter() const { return bFooter;}
+ void SetHeader( sal_Bool bNew ) { bHeader = bNew; }
+ sal_Bool GetHeader() const { return bHeader;}
+ void SetFooter( sal_Bool bNew ) { bFooter = bNew; }
+ sal_Bool GetFooter() const { return bFooter;}
- void SetTable( BOOL bNew ) { bTable = bNew; }
- BOOL GetTable() const { return bTable;}
- void SetHorz( BOOL bNew ) { bHorz = bNew; }
- BOOL GetHorz() const { return bHorz;}
- void SetVert( BOOL bNew ) { bVert = bNew; }
- BOOL GetVert() const { return bVert;}
+ void SetTable( sal_Bool bNew ) { bTable = bNew; }
+ sal_Bool GetTable() const { return bTable;}
+ void SetHorz( sal_Bool bNew ) { bHorz = bNew; }
+ sal_Bool GetHorz() const { return bHorz;}
+ void SetVert( sal_Bool bNew ) { bVert = bNew; }
+ sal_Bool GetVert() const { return bVert;}
void EnableFrameDirection(sal_Bool bEnable);
//uses enum SvxFrameDirection
diff --git a/svx/inc/svx/pageitem.hxx b/svx/inc/svx/pageitem.hxx
index ed03f9020845..ee4054cd030c 100644..100755
--- a/svx/inc/svx/pageitem.hxx
+++ b/svx/inc/svx/pageitem.hxx
@@ -75,13 +75,13 @@ class SVX_DLLPUBLIC SvxPageItem: public SfxPoolItem
private:
String aDescName; // name of the template
SvxNumType eNumType; // enumeration
- BOOL bLandscape; // portrait / landscape
- USHORT eUse; // layout
+ sal_Bool bLandscape; // Portrait / Landscape
+ sal_uInt16 eUse; // Layout
public:
TYPEINFO();
- SvxPageItem( const USHORT nId );
+ SvxPageItem( const sal_uInt16 nId );
SvxPageItem( const SvxPageItem& rItem );
virtual SfxPoolItem* Clone( SfxItemPool *pPool = 0 ) const;
@@ -92,17 +92,17 @@ public:
SfxMapUnit ePresMetric,
String &rText, const IntlWrapper * = 0 ) const;
- virtual bool QueryValue( com::sun::star::uno::Any& rVal, BYTE nMemberId = 0 ) const;
- virtual bool PutValue( const com::sun::star::uno::Any& rVal, BYTE nMemberId = 0 );
- virtual SfxPoolItem* Create( SvStream&, USHORT ) const;
- virtual SvStream& Store( SvStream& , USHORT nItemVersion ) const;
+ virtual bool QueryValue( com::sun::star::uno::Any& rVal, sal_uInt8 nMemberId = 0 ) const;
+ virtual bool PutValue( const com::sun::star::uno::Any& rVal, sal_uInt8 nMemberId = 0 );
+ virtual SfxPoolItem* Create( SvStream&, sal_uInt16 ) const;
+ virtual SvStream& Store( SvStream& , sal_uInt16 nItemVersion ) const;
// orientation
- USHORT GetPageUsage() const { return eUse; }
- void SetPageUsage(USHORT eU) { eUse= eU; }
+ sal_uInt16 GetPageUsage() const { return eUse; }
+ void SetPageUsage(sal_uInt16 eU) { eUse= eU; }
- BOOL IsLandscape() const { return bLandscape; }
- void SetLandscape(BOOL bL) { bLandscape = bL; }
+ sal_Bool IsLandscape() const { return bLandscape; }
+ void SetLandscape(sal_Bool bL) { bLandscape = bL; }
// enumeration
SvxNumType GetNumType() const { return eNumType; }
@@ -122,9 +122,9 @@ public:
class SVX_DLLPUBLIC SvxSetItem: public SfxSetItem
{
public:
- SvxSetItem( const USHORT nId, const SfxItemSet& rSet );
+ SvxSetItem( const sal_uInt16 nId, const SfxItemSet& rSet );
SvxSetItem( const SvxSetItem& rItem );
- SvxSetItem( const USHORT nId, SfxItemSet* pSet );
+ SvxSetItem( const sal_uInt16 nId, SfxItemSet* pSet );
virtual SfxPoolItem* Clone( SfxItemPool *pPool = 0 ) const;
@@ -133,8 +133,8 @@ public:
SfxMapUnit ePresMetric,
String &rText, const IntlWrapper * = 0 ) const;
- virtual SfxPoolItem* Create( SvStream&, USHORT nVersion ) const;
- virtual SvStream& Store( SvStream&, USHORT nItemVersion ) const;
+ virtual SfxPoolItem* Create( SvStream&, sal_uInt16 nVersion ) const;
+ virtual SvStream& Store( SvStream&, sal_uInt16 nItemVersion ) const;
};
diff --git a/svx/inc/svx/paraprev.hxx b/svx/inc/svx/paraprev.hxx
index e8f4c0130f10..8dc7c61e2bee 100644..100755
--- a/svx/inc/svx/paraprev.hxx
+++ b/svx/inc/svx/paraprev.hxx
@@ -60,15 +60,15 @@ private:
long nRightMargin;
short nFirstLineOfst;
// distances
- USHORT nUpper;
- USHORT nLower;
+ sal_uInt16 nUpper;
+ sal_uInt16 nLower;
// adjustment
SvxAdjust eAdjust;
// last line in justification
SvxAdjust eLastLine;
// line distance
SvxPrevLineSpace eLine;
- USHORT nLineVal;
+ sal_uInt16 nLineVal;
String aText;
Rectangle Lines[9];
@@ -76,7 +76,7 @@ private:
protected:
virtual void Paint( const Rectangle& rRect );
- void DrawParagraph( BOOL bAll );
+ void DrawParagraph( sal_Bool bAll );
public:
SvxParaPrevWindow( Window* pParent, const ResId& rId );
@@ -84,11 +84,11 @@ public:
void SetFirstLineOfst( short nNew ) { nFirstLineOfst = nNew; }
void SetLeftMargin( long nNew ) { nLeftMargin = nNew; }
void SetRightMargin( long nNew ) { nRightMargin = nNew; }
- void SetUpper( USHORT nNew ) { nUpper = nNew; }
- void SetLower( USHORT nNew ) { nLower = nNew; }
+ void SetUpper( sal_uInt16 nNew ) { nUpper = nNew; }
+ void SetLower( sal_uInt16 nNew ) { nLower = nNew; }
void SetAdjust( SvxAdjust eNew ) { eAdjust = eNew; }
void SetLastLine( SvxAdjust eNew ) { eLastLine = eNew; }
- void SetLineSpace( SvxPrevLineSpace eNew, USHORT nNew = 0 )
+ void SetLineSpace( SvxPrevLineSpace eNew, sal_uInt16 nNew = 0 )
{ eLine = eNew; nLineVal = nNew; }
void SetText( const String& rStr ) { aText = rStr; }
void SetSize( Size aNew ) { aSize = aNew; }
@@ -96,18 +96,18 @@ public:
short GetFirstLineOfst() const { return nFirstLineOfst; }
long GetLeftMargin() const { return nLeftMargin; }
long GetRightMargin() const { return nRightMargin; }
- USHORT GetUpper() const { return nUpper; }
- USHORT GetLower() const { return nLower; }
+ sal_uInt16 GetUpper() const { return nUpper; }
+ sal_uInt16 GetLower() const { return nLower; }
SvxAdjust GetAdjust() const { return eAdjust; }
SvxPrevLineSpace GetLineEnum() const { return eLine; }
- USHORT GetLineValue() const { return nLineVal; }
+ sal_uInt16 GetLineValue() const { return nLineVal; }
String GetText() const { return aText; }
Size GetSize() const { return aSize; }
void OutputSizeChanged();
- void Draw( BOOL bAll ) { DrawParagraph( bAll ); }
+ void Draw( sal_Bool bAll ) { DrawParagraph( bAll ); }
};
#endif
diff --git a/svx/inc/passwd.hxx b/svx/inc/svx/passwd.hxx
index 919bf8d39cad..a412807c80cd 100644..100755
--- a/svx/inc/passwd.hxx
+++ b/svx/inc/svx/passwd.hxx
@@ -61,13 +61,13 @@ private:
Link aCheckPasswordHdl;
- BOOL bEmpty;
+ sal_Bool bEmpty;
DECL_LINK( ButtonHdl, OKButton * );
DECL_LINK( EditModifyHdl, Edit * );
public:
- SvxPasswordDialog( Window* pParent, BOOL bAllowEmptyPasswords = FALSE, BOOL bDisableOldPassword = FALSE );
+ SvxPasswordDialog( Window* pParent, sal_Bool bAllowEmptyPasswords = sal_False, sal_Bool bDisableOldPassword = sal_False );
~SvxPasswordDialog();
String GetOldPassword() const { return aOldPasswdED.GetText(); }
diff --git a/svx/inc/pfiledlg.hxx b/svx/inc/svx/pfiledlg.hxx
index fac722f00ddf..6c62149ea4eb 100644..100755
--- a/svx/inc/pfiledlg.hxx
+++ b/svx/inc/svx/pfiledlg.hxx
@@ -47,16 +47,14 @@ private:
public:
// with nKind = SID_INSERT_SOUND or
// nKind = SID_INSERT_VIDEO
- SvxPluginFileDlg (Window *pParent, USHORT nKind );
+ SvxPluginFileDlg (Window *pParent, sal_uInt16 nKind );
~SvxPluginFileDlg ();
ErrCode Execute();
String GetPath() const;
- static bool IsAvailable (USHORT nKind);
+ static bool IsAvailable (sal_uInt16 nKind);
- // setting HelpId and/or context of FileDialogHelper
- void SetDialogHelpId( const sal_Int32 nHelpId );
void SetContext( sfx2::FileDialogHelper::Context eNewContext );
};
diff --git a/svx/inc/svx/polygn3d.hxx b/svx/inc/svx/polygn3d.hxx
index 4d754a8ae266..d3943c4c046b 100644..100755
--- a/svx/inc/svx/polygn3d.hxx
+++ b/svx/inc/svx/polygn3d.hxx
@@ -39,7 +39,7 @@ private:
basegfx::B3DPolyPolygon aPolyPoly3D;
basegfx::B3DPolyPolygon aPolyNormals3D;
basegfx::B2DPolyPolygon aPolyTexture2D;
- BOOL bLineOnly;
+ sal_Bool bLineOnly;
SVX_DLLPRIVATE void CreateDefaultNormals();
SVX_DLLPRIVATE void CreateDefaultTexture();
@@ -57,18 +57,18 @@ public:
E3dPolygonObj(
E3dDefaultAttributes& rDefault,
const basegfx::B3DPolyPolygon& rPolyPoly3D,
- BOOL bLinOnly=FALSE);
+ sal_Bool bLinOnly=sal_False);
E3dPolygonObj(
E3dDefaultAttributes& rDefault,
const basegfx::B3DPolyPolygon& rPolyPoly3D,
const basegfx::B3DPolyPolygon& rPolyNormals3D,
- BOOL bLinOnly=FALSE);
+ sal_Bool bLinOnly=sal_False);
E3dPolygonObj(
E3dDefaultAttributes& rDefault,
const basegfx::B3DPolyPolygon& rPolyPoly3D,
const basegfx::B3DPolyPolygon& rPolyNormals3D,
const basegfx::B2DPolyPolygon& rPolyTexture2D,
- BOOL bLinOnly=FALSE);
+ sal_Bool bLinOnly=sal_False);
E3dPolygonObj();
virtual ~E3dPolygonObj();
@@ -77,14 +77,14 @@ public:
const basegfx::B3DPolyPolygon& GetPolyNormals3D() const { return aPolyNormals3D; }
const basegfx::B2DPolyPolygon& GetPolyTexture2D() const { return aPolyTexture2D; }
- virtual UINT16 GetObjIdentifier() const;
- virtual SdrObject* DoConvertToPolyObj(BOOL bBezier) const;
+ virtual sal_uInt16 GetObjIdentifier() const;
+ virtual SdrObject* DoConvertToPolyObj(sal_Bool bBezier) const;
virtual void operator=(const SdrObject&);
// LineOnly?
- BOOL GetLineOnly() { return bLineOnly; }
- void SetLineOnly(BOOL bNew);
+ sal_Bool GetLineOnly() { return bLineOnly; }
+ void SetLineOnly(sal_Bool bNew);
};
#endif // _E3D_POLYGON3D_HXX
diff --git a/svx/inc/svx/polypolygoneditor.hxx b/svx/inc/svx/polypolygoneditor.hxx
index 67cd3d3acfbb..67cd3d3acfbb 100644..100755
--- a/svx/inc/svx/polypolygoneditor.hxx
+++ b/svx/inc/svx/polypolygoneditor.hxx
diff --git a/svx/inc/svx/polysc3d.hxx b/svx/inc/svx/polysc3d.hxx
index 2bab8ce42051..6560237d906b 100644..100755
--- a/svx/inc/svx/polysc3d.hxx
+++ b/svx/inc/svx/polysc3d.hxx
@@ -45,7 +45,7 @@ public:
E3dPolyScene();
E3dPolyScene(E3dDefaultAttributes& rDefault);
- virtual UINT16 GetObjIdentifier() const;
+ virtual sal_uInt16 GetObjIdentifier() const;
};
#endif // _E3D_POLYSC3D_HXX
diff --git a/svx/inc/postattr.hxx b/svx/inc/svx/postattr.hxx
index 5ef25c649450..4d2e66400408 100644..100755
--- a/svx/inc/postattr.hxx
+++ b/svx/inc/svx/postattr.hxx
@@ -46,9 +46,9 @@ class SVX_DLLPUBLIC SvxPostItAuthorItem: public SfxStringItem
public:
TYPEINFO();
- SvxPostItAuthorItem( USHORT nWhich );
+ SvxPostItAuthorItem( sal_uInt16 nWhich );
- SvxPostItAuthorItem( const String& rAuthor, USHORT nWhich );
+ SvxPostItAuthorItem( const String& rAuthor, sal_uInt16 nWhich );
virtual SfxItemPresentation GetPresentation( SfxItemPresentation ePres,
SfxMapUnit eCoreMetric,
SfxMapUnit ePresMetric,
@@ -77,9 +77,9 @@ class SVX_DLLPUBLIC SvxPostItDateItem: public SfxStringItem
public:
TYPEINFO();
- SvxPostItDateItem( USHORT nWhich );
+ SvxPostItDateItem( sal_uInt16 nWhich );
- SvxPostItDateItem( const String& rDate, USHORT nWhich );
+ SvxPostItDateItem( const String& rDate, sal_uInt16 nWhich );
virtual SfxItemPresentation GetPresentation( SfxItemPresentation ePres,
SfxMapUnit eCoreMetric,
SfxMapUnit ePresMetric,
@@ -107,9 +107,9 @@ class SVX_DLLPUBLIC SvxPostItTextItem: public SfxStringItem
public:
TYPEINFO();
- SvxPostItTextItem( USHORT nWhich );
+ SvxPostItTextItem( sal_uInt16 nWhich );
- SvxPostItTextItem( const String& rText, USHORT nWhich );
+ SvxPostItTextItem( const String& rText, sal_uInt16 nWhich );
// "pure virtual methods" vom SfxPoolItem
virtual SfxItemPresentation GetPresentation( SfxItemPresentation ePres,
SfxMapUnit eCoreMetric,
diff --git a/svx/inc/prtqry.hxx b/svx/inc/svx/prtqry.hxx
index 12413b0f1357..12413b0f1357 100644..100755
--- a/svx/inc/prtqry.hxx
+++ b/svx/inc/svx/prtqry.hxx
diff --git a/svx/inc/pszctrl.hxx b/svx/inc/svx/pszctrl.hxx
index e2a1d75ccc3f..918cf8878357 100644..100755
--- a/svx/inc/pszctrl.hxx
+++ b/svx/inc/svx/pszctrl.hxx
@@ -48,14 +48,14 @@ private:
public:
SFX_DECL_STATUSBAR_CONTROL();
- SvxPosSizeStatusBarControl( USHORT nSlotId, USHORT nId, StatusBar& rStb );
+ SvxPosSizeStatusBarControl( sal_uInt16 nSlotId, sal_uInt16 nId, StatusBar& rStb );
~SvxPosSizeStatusBarControl();
- virtual void StateChanged( USHORT nSID, SfxItemState eState, const SfxPoolItem* pState );
+ virtual void StateChanged( sal_uInt16 nSID, SfxItemState eState, const SfxPoolItem* pState );
virtual void Paint( const UserDrawEvent& rEvt );
virtual void Command( const CommandEvent& rCEvt );
- static ULONG GetDefItemWidth( const StatusBar& rStb );
+ static sal_uIntPtr GetDefItemWidth( const StatusBar& rStb );
};
diff --git a/svx/inc/svx/rectenum.hxx b/svx/inc/svx/rectenum.hxx
index b19d9814e3c9..b19d9814e3c9 100644..100755
--- a/svx/inc/svx/rectenum.hxx
+++ b/svx/inc/svx/rectenum.hxx
diff --git a/svx/inc/relfld.hxx b/svx/inc/svx/relfld.hxx
index 4b01fdbd1e1e..2dd554cbbbab 100644..100755
--- a/svx/inc/relfld.hxx
+++ b/svx/inc/svx/relfld.hxx
@@ -39,12 +39,12 @@
class SVX_DLLPUBLIC SvxRelativeField : public MetricField
{
private:
- USHORT nRelMin;
- USHORT nRelMax;
- USHORT nRelStep;
- BOOL bRelativeMode;
- BOOL bRelative;
- BOOL bNegativeEnabled;
+ sal_uInt16 nRelMin;
+ sal_uInt16 nRelMax;
+ sal_uInt16 nRelStep;
+ sal_Bool bRelativeMode;
+ sal_Bool bRelative;
+ sal_Bool bNegativeEnabled;
protected:
void Modify();
@@ -53,12 +53,12 @@ public:
SvxRelativeField( Window* pParent, WinBits nWinStyle = 0 );
SvxRelativeField( Window* pParent, const ResId& rResId );
- void EnableRelativeMode( USHORT nMin = 50, USHORT nMax = 150,
- USHORT nStep = 5 );
- BOOL IsRelativeMode() const { return bRelativeMode; }
- void SetRelative( BOOL bRelative = FALSE );
- BOOL IsRelative() const { return bRelative; }
- void EnableNegativeMode() {bNegativeEnabled = TRUE;}
+ void EnableRelativeMode( sal_uInt16 nMin = 50, sal_uInt16 nMax = 150,
+ sal_uInt16 nStep = 5 );
+ sal_Bool IsRelativeMode() const { return bRelativeMode; }
+ void SetRelative( sal_Bool bRelative = sal_False );
+ sal_Bool IsRelative() const { return bRelative; }
+ void EnableNegativeMode() {bNegativeEnabled = sal_True;}
};
diff --git a/svx/inc/rotmodit.hxx b/svx/inc/svx/rotmodit.hxx
index 891cfd275514..d0fb4169fd97 100644..100755
--- a/svx/inc/rotmodit.hxx
+++ b/svx/inc/svx/rotmodit.hxx
@@ -48,21 +48,21 @@ class SVX_DLLPUBLIC SvxRotateModeItem: public SfxEnumItem
public:
TYPEINFO();
- SvxRotateModeItem( SvxRotateMode eMode=SVX_ROTATE_MODE_STANDARD, USHORT nWhich=0);
+ SvxRotateModeItem( SvxRotateMode eMode=SVX_ROTATE_MODE_STANDARD, sal_uInt16 nWhich=0);
SvxRotateModeItem( const SvxRotateModeItem& rItem );
~SvxRotateModeItem();
- virtual USHORT GetValueCount() const;
- virtual String GetValueText( USHORT nVal ) const;
+ virtual sal_uInt16 GetValueCount() const;
+ virtual String GetValueText( sal_uInt16 nVal ) const;
virtual SfxPoolItem* Clone( SfxItemPool *pPool = 0 ) const;
- virtual SfxPoolItem* Create(SvStream &, USHORT) const;
- virtual USHORT GetVersion( USHORT nFileVersion ) const;
+ virtual SfxPoolItem* Create(SvStream &, sal_uInt16) const;
+ virtual sal_uInt16 GetVersion( sal_uInt16 nFileVersion ) const;
virtual SfxItemPresentation GetPresentation( SfxItemPresentation ePres,
SfxMapUnit eCoreMetric,
SfxMapUnit ePresMetric,
String& rText, const IntlWrapper * = 0 ) const;
- virtual bool QueryValue( com::sun::star::uno::Any& rVal, BYTE nMemberId = 0 ) const;
- virtual bool PutValue( const com::sun::star::uno::Any& rVal, BYTE nMemberId = 0 );
+ virtual bool QueryValue( com::sun::star::uno::Any& rVal, sal_uInt8 nMemberId = 0 ) const;
+ virtual bool PutValue( const com::sun::star::uno::Any& rVal, sal_uInt8 nMemberId = 0 );
};
diff --git a/svx/inc/rubydialog.hxx b/svx/inc/svx/rubydialog.hxx
index bcb8e248e1c8..1c74ad3224a3 100644..100755
--- a/svx/inc/rubydialog.hxx
+++ b/svx/inc/svx/rubydialog.hxx
@@ -62,7 +62,7 @@ class SVX_DLLPUBLIC SvxRubyChildWindow : public SfxChildWindow
{
public:
- SvxRubyChildWindow( Window*, USHORT, SfxBindings*, SfxChildWinInfo* );
+ SvxRubyChildWindow( Window*, sal_uInt16, SfxBindings*, SfxChildWinInfo* );
SFX_DECL_CHILDWINDOW( SvxRubyChildWindow );
@@ -125,7 +125,7 @@ class SvxRubyDialog : public SfxModelessDialog
long nLastPos;
long nCurrentEdit;
- BOOL bModified;
+ sal_Bool bModified;
com::sun::star::uno::Reference<com::sun::star::view::XSelectionChangeListener> xImpl;
SfxBindings* pBindings;
@@ -149,13 +149,13 @@ class SvxRubyDialog : public SfxModelessDialog
void AssertOneEntry();
void Update();
- virtual BOOL Close();
+ virtual sal_Bool Close();
long GetLastPos() const {return nLastPos;}
void SetLastPos(long nSet) {nLastPos = nSet;}
- BOOL IsModified() const {return bModified;}
- void SetModified(BOOL bSet) {bModified = bSet;}
+ sal_Bool IsModified() const {return bModified;}
+ void SetModified(sal_Bool bSet) {bModified = bSet;}
void EnableControls(sal_Bool bEnable)
{
diff --git a/svx/inc/svx/ruler.hxx b/svx/inc/svx/ruler.hxx
index 83664813ca95..e1a17dc8d388 100644..100755
--- a/svx/inc/svx/ruler.hxx
+++ b/svx/inc/svx/ruler.hxx
@@ -64,13 +64,13 @@ class SVX_DLLPUBLIC SvxRuler: public Ruler, public SfxListener
SvxObjectItem *pObjectItem; // object
Window *pEditWin;
SvxRuler_Impl *pRuler_Imp;
- BOOL bAppSetNullOffset :1;
- BOOL bHorz :1;
+ sal_Bool bAppSetNullOffset :1;
+ sal_Bool bHorz :1;
long lLogicNullOffset; // in logic coordinates
long lAppNullOffset; // in logic coordinates
long lMinFrame; // minimal frame width in pixels
long lInitialDragPos;
- USHORT nFlags;
+ sal_uInt16 nFlags;
enum {
NONE = 0x0000,
DRAG_OBJECT = 0x0001,
@@ -83,27 +83,27 @@ class SVX_DLLPUBLIC SvxRuler: public Ruler, public SfxListener
DRAG_OBJECT_LEFT_INDENT_ONLY = DRAG_OBJECT_SIZE_PROPORTIONAL
}
nDragType;
- USHORT nDefTabType;
- USHORT nTabCount;
- USHORT nTabBufSize;
+ sal_uInt16 nDefTabType;
+ sal_uInt16 nTabCount;
+ sal_uInt16 nTabBufSize;
long lDefTabDist;
long lTabPos;
RulerTab *pTabs; // tab positions in pixel
RulerIndent *pIndents; // paragraph margins in pixel
RulerBorder *pBorders;
- USHORT nBorderCount;
+ sal_uInt16 nBorderCount;
RulerBorder *pObjectBorders;
SfxBindings *pBindings;
long nDragOffset;
long nMaxLeft;
long nMaxRight;
- BOOL bValid;
- BOOL bListening;
- BOOL bActive;
+ sal_Bool bValid;
+ sal_Bool bListening;
+ sal_Bool bActive;
void StartListening_Impl();
- long GetCorrectedDragPos( BOOL bLeft = TRUE, BOOL bRight = TRUE );
- void DrawLine_Impl(long &lTabPos, int, BOOL Hori=TRUE);
- USHORT GetObjectBordersOff(USHORT nIdx) const;
+ long GetCorrectedDragPos( sal_Bool bLeft = sal_True, sal_Bool bRight = sal_True );
+ void DrawLine_Impl(long &lTabPos, int, sal_Bool Hori=sal_True);
+ sal_uInt16 GetObjectBordersOff(sal_uInt16 nIdx) const;
// page borders or surrounding frame
void UpdateFrame(const SvxLongLRSpaceItem *);
@@ -118,7 +118,7 @@ class SVX_DLLPUBLIC SvxRuler: public Ruler, public SfxListener
// page position and width
void Update(const SvxPagePosSizeItem *);
// columns
- void Update(const SvxColumnItem *, USHORT nSID);
+ void Update(const SvxColumnItem *, sal_uInt16 nSID);
// object selection
void Update(const SvxObjectItem *);
// protect
@@ -190,8 +190,8 @@ class SVX_DLLPUBLIC SvxRuler: public Ruler, public SfxListener
DECL_LINK( MenuSelect, Menu * );
void PrepareProportional_Impl(RulerType);
- USHORT GetNextVisible(USHORT nColumn);
- USHORT GetPrevVisible(USHORT nColumn);
+ sal_uInt16 GetNextVisible(sal_uInt16 nColumn);
+ sal_uInt16 GetPrevVisible(sal_uInt16 nColumn);
void Update();
@@ -214,16 +214,16 @@ protected:
// calculation of boundary values for object borders
// values refer to the page
- virtual BOOL CalcLimits(long &nMax1, long &nMax2, BOOL bFirst) const;
- BOOL IsActLastColumn(
- BOOL bForceDontConsiderHidden = FALSE, USHORT nAct=USHRT_MAX) const ;
- BOOL IsActFirstColumn(
- BOOL bForceDontConsiderHidden = FALSE, USHORT nAct=USHRT_MAX) const;
- USHORT GetActLeftColumn(
- BOOL bForceDontConsiderHidden = FALSE, USHORT nAct=USHRT_MAX ) const;
- USHORT GetActRightColumn (
- BOOL bForceDontConsiderHidden = FALSE, USHORT nAct=USHRT_MAX ) const;
- long CalcPropMaxRight(USHORT nCol=USHRT_MAX) const;
+ virtual sal_Bool CalcLimits(long &nMax1, long &nMax2, sal_Bool bFirst) const;
+ sal_Bool IsActLastColumn(
+ sal_Bool bForceDontConsiderHidden = sal_False, sal_uInt16 nAct=USHRT_MAX) const ;
+ sal_Bool IsActFirstColumn(
+ sal_Bool bForceDontConsiderHidden = sal_False, sal_uInt16 nAct=USHRT_MAX) const;
+ sal_uInt16 GetActLeftColumn(
+ sal_Bool bForceDontConsiderHidden = sal_False, sal_uInt16 nAct=USHRT_MAX ) const;
+ sal_uInt16 GetActRightColumn (
+ sal_Bool bForceDontConsiderHidden = sal_False, sal_uInt16 nAct=USHRT_MAX ) const;
+ long CalcPropMaxRight(sal_uInt16 nCol=USHRT_MAX) const;
public:
#define SVXRULER_SUPPORT_TABS 0x0001
@@ -237,7 +237,7 @@ public:
SvxRuler(Window* pParent,
Window *pEditWin,
- USHORT nRulerFlags,
+ sal_uInt16 nRulerFlags,
SfxBindings &rBindings,
WinBits nWinStyle = WB_STDRULER);
~SvxRuler();
@@ -245,7 +245,7 @@ public:
void SetMinFrameSize(long lSize);
long GetMinFrameSize() const ;
- USHORT GetRulerFlags() const { return nFlags; }
+ sal_uInt16 GetRulerFlags() const { return nFlags; }
void SetDefTabDist(long);
long GetDefTabDist() const;
@@ -254,13 +254,13 @@ public:
void SetNullOffsetLogic(long lOff = 0);
long GetNullOffsetLogic() const { return lAppNullOffset; }
- void SetActive(BOOL bOn = TRUE);
- BOOL IsActive() const { return bActive; }
+ void SetActive(sal_Bool bOn = sal_True);
+ sal_Bool IsActive() const { return bActive; }
void ForceUpdate() { Update(); }
//#i24363# tab stops relative to indent
- void SetTabsRelativeToIndent( BOOL bRel = TRUE );
+ void SetTabsRelativeToIndent( sal_Bool bRel = sal_True );
};
#endif
diff --git a/svx/inc/rulritem.hxx b/svx/inc/svx/rulritem.hxx
index fef111253452..4689665a82a8 100644..100755
--- a/svx/inc/rulritem.hxx
+++ b/svx/inc/svx/rulritem.hxx
@@ -45,8 +45,8 @@ class SVX_DLLPUBLIC SvxLongLRSpaceItem : public SfxPoolItem
protected:
virtual int operator==( const SfxPoolItem& ) const;
- virtual bool QueryValue( com::sun::star::uno::Any& rVal, BYTE nMemberId = 0 ) const;
- virtual bool PutValue( const com::sun::star::uno::Any& rVal, BYTE nMemberId = 0 );
+ virtual bool QueryValue( com::sun::star::uno::Any& rVal, sal_uInt8 nMemberId = 0 ) const;
+ virtual bool PutValue( const com::sun::star::uno::Any& rVal, sal_uInt8 nMemberId = 0 );
virtual String GetValueText() const;
virtual SfxItemPresentation GetPresentation( SfxItemPresentation ePres,
@@ -61,7 +61,7 @@ private:
public:
TYPEINFO();
- SvxLongLRSpaceItem(long lLeft, long lRight, USHORT nId);
+ SvxLongLRSpaceItem(long lLeft, long lRight, sal_uInt16 nId);
SvxLongLRSpaceItem(const SvxLongLRSpaceItem &);
SvxLongLRSpaceItem();
@@ -81,8 +81,8 @@ class SVX_DLLPUBLIC SvxLongULSpaceItem : public SfxPoolItem
protected:
virtual int operator==( const SfxPoolItem& ) const;
- virtual bool QueryValue( com::sun::star::uno::Any& rVal, BYTE nMemberId = 0 ) const;
- virtual bool PutValue( const com::sun::star::uno::Any& rVal, BYTE nMemberId = 0 );
+ virtual bool QueryValue( com::sun::star::uno::Any& rVal, sal_uInt8 nMemberId = 0 ) const;
+ virtual bool PutValue( const com::sun::star::uno::Any& rVal, sal_uInt8 nMemberId = 0 );
virtual String GetValueText() const;
virtual SfxItemPresentation GetPresentation( SfxItemPresentation ePres,
@@ -97,7 +97,7 @@ private:
public:
TYPEINFO();
- SvxLongULSpaceItem(long lUpper, long lLower, USHORT nId);
+ SvxLongULSpaceItem(long lUpper, long lLower, sal_uInt16 nId);
SvxLongULSpaceItem(const SvxLongULSpaceItem &);
SvxLongULSpaceItem();
@@ -116,8 +116,8 @@ class SVX_DLLPUBLIC SvxPagePosSizeItem : public SfxPoolItem
long lHeight;
protected:
virtual int operator==( const SfxPoolItem& ) const;
- virtual bool QueryValue( com::sun::star::uno::Any& rVal, BYTE nMemberId = 0 ) const;
- virtual bool PutValue( const com::sun::star::uno::Any& rVal, BYTE nMemberId = 0 );
+ virtual bool QueryValue( com::sun::star::uno::Any& rVal, sal_uInt8 nMemberId = 0 ) const;
+ virtual bool PutValue( const com::sun::star::uno::Any& rVal, sal_uInt8 nMemberId = 0 );
virtual String GetValueText() const;
virtual SfxItemPresentation GetPresentation( SfxItemPresentation ePres,
@@ -146,13 +146,13 @@ struct SvxColumnDescription
{
long nStart; /* Start of the column */
long nEnd; /* End of the column */
- BOOL bVisible; /* Visibility */
+ sal_Bool bVisible; /* Visibility */
long nEndMin; //min. possible position of end
long nEndMax; //max. possible position of end
SvxColumnDescription():
- nStart(0), nEnd(0), bVisible(TRUE), nEndMin(0), nEndMax(0) {}
+ nStart(0), nEnd(0), bVisible(sal_True), nEndMin(0), nEndMax(0) {}
SvxColumnDescription(const SvxColumnDescription &rCopy) :
nStart(rCopy.nStart), nEnd(rCopy.nEnd),
@@ -160,13 +160,13 @@ struct SvxColumnDescription
nEndMin(rCopy.nEndMin), nEndMax(rCopy.nEndMax)
{}
- SvxColumnDescription(long start, long end, BOOL bVis = TRUE):
+ SvxColumnDescription(long start, long end, sal_Bool bVis = sal_True):
nStart(start), nEnd(end),
bVisible(bVis),
nEndMin(0), nEndMax(0) {}
SvxColumnDescription(long start, long end,
- long endMin, long endMax, BOOL bVis = TRUE):
+ long endMin, long endMax, sal_Bool bVis = sal_True):
nStart(start), nEnd(end),
bVisible(bVis),
nEndMin(endMin), nEndMax(endMax)
@@ -195,9 +195,9 @@ class SVX_DLLPUBLIC SvxColumnItem : public SfxPoolItem
long nLeft, // Left edge for the table
nRight; // Right edge for the table; for columns always
// equal to the surrounding frame
- USHORT nActColumn; // the current column
- BOOL bTable; // table?
- BOOL bOrtho; // evenly spread columns
+ sal_uInt16 nActColumn; // the current column
+ sal_uInt8 bTable; // table?
+ sal_uInt8 bOrtho; // evenly spread columns
void DeleteAndDestroyColumns();
@@ -211,47 +211,47 @@ protected:
String &rText, const IntlWrapper * = 0 ) const;
virtual SfxPoolItem* Clone( SfxItemPool *pPool = 0 ) const;
- virtual bool QueryValue( com::sun::star::uno::Any& rVal, BYTE nMemberId = 0 ) const;
- virtual bool PutValue( const com::sun::star::uno::Any& rVal, BYTE nMemberId = 0 );
+ virtual bool QueryValue( com::sun::star::uno::Any& rVal, sal_uInt8 nMemberId = 0 ) const;
+ virtual bool PutValue( const com::sun::star::uno::Any& rVal, sal_uInt8 nMemberId = 0 );
public:
TYPEINFO();
// right edge of the surrounding frame
// nLeft, nRight each the distance to the surrounding frame
- SvxColumnItem(USHORT nAct = 0); // columns
- SvxColumnItem(USHORT nActCol,
- USHORT nLeft, USHORT nRight = 0); // table with borders
+ SvxColumnItem(sal_uInt16 nAct = 0); // columns
+ SvxColumnItem(sal_uInt16 nActCol,
+ sal_uInt16 nLeft, sal_uInt16 nRight = 0); // Table with borders
SvxColumnItem(const SvxColumnItem &);
~SvxColumnItem();
const SvxColumnItem &operator=(const SvxColumnItem &);
- USHORT Count() const { return aColumns.Count(); }
- SvxColumnDescription &operator[](USHORT i)
+ sal_uInt16 Count() const { return aColumns.Count(); }
+ SvxColumnDescription &operator[](sal_uInt16 i)
{ return *(SvxColumnDescription*)aColumns[i]; }
- const SvxColumnDescription &operator[](USHORT i) const
+ const SvxColumnDescription &operator[](sal_uInt16 i) const
{ return *(SvxColumnDescription*)aColumns[i]; }
- void Insert(const SvxColumnDescription &rDesc, USHORT nPos) {
+ void Insert(const SvxColumnDescription &rDesc, sal_uInt16 nPos) {
SvxColumnDescription* pDesc = new SvxColumnDescription(rDesc);
aColumns.Insert(pDesc, nPos);
}
void Append(const SvxColumnDescription &rDesc) { Insert(rDesc, Count()); }
void SetLeft(long left) { nLeft = left; }
void SetRight(long right) { nRight = right; }
- void SetActColumn(USHORT nCol) { nActColumn = nCol; }
+ void SetActColumn(sal_uInt16 nCol) { nActColumn = nCol; }
- USHORT GetActColumn() const { return nActColumn; }
- BOOL IsFirstAct() const { return nActColumn == 0; }
- BOOL IsLastAct() const { return nActColumn == Count()-1; }
+ sal_uInt16 GetActColumn() const { return nActColumn; }
+ sal_Bool IsFirstAct() const { return nActColumn == 0; }
+ sal_Bool IsLastAct() const { return nActColumn == Count()-1; }
long GetLeft() { return nLeft; }
long GetRight() { return nRight; }
- BOOL IsTable() const { return bTable; }
+ sal_Bool IsTable() const { return bTable; }
- BOOL CalcOrtho() const;
- void SetOrtho(BOOL bVal) { bOrtho = bVal; }
- BOOL IsOrtho () const { return FALSE ; }
+ sal_Bool CalcOrtho() const;
+ void SetOrtho(sal_Bool bVal) { bOrtho = bVal; }
+ sal_Bool IsOrtho () const { return sal_False ; }
- BOOL IsConsistent() const { return nActColumn < aColumns.Count(); }
+ sal_Bool IsConsistent() const { return nActColumn < aColumns.Count(); }
long GetVisibleRight() const;// right visible edge of the current column
};
@@ -264,7 +264,7 @@ private:
long nEndX; /* End in x direction */
long nStartY; /* Start in y direction */
long nEndY; /* Ende in y direction */
- BOOL bLimits; /* boundary limit control by the application */
+ sal_Bool bLimits; /* boundary limit control by the application */
protected:
virtual int operator==( const SfxPoolItem& ) const;
@@ -275,18 +275,18 @@ protected:
String &rText, const IntlWrapper * = 0 ) const;
virtual SfxPoolItem* Clone( SfxItemPool *pPool = 0 ) const;
- virtual bool QueryValue( com::sun::star::uno::Any& rVal, BYTE nMemberId = 0 ) const;
- virtual bool PutValue( const com::sun::star::uno::Any& rVal, BYTE nMemberId = 0 );
+ virtual bool QueryValue( com::sun::star::uno::Any& rVal, sal_uInt8 nMemberId = 0 ) const;
+ virtual bool PutValue( const com::sun::star::uno::Any& rVal, sal_uInt8 nMemberId = 0 );
private:
SVX_DLLPRIVATE const SvxObjectItem &operator=(const SvxObjectItem &); // n.i.
public:
TYPEINFO();
SvxObjectItem(long nStartX, long nEndX,
long nStartY, long nEndY,
- BOOL bLimits = FALSE);
+ sal_Bool bLimits = sal_False);
SvxObjectItem(const SvxObjectItem &);
- BOOL HasLimits() const { return bLimits; }
+ sal_Bool HasLimits() const { return bLimits; }
long GetStartX() const { return nStartX; }
long GetEndX() const { return nEndX; }
diff --git a/svx/inc/svx/scene3d.hxx b/svx/inc/svx/scene3d.hxx
index 016cee9ce762..6557d9a12990 100644..100755
--- a/svx/inc/svx/scene3d.hxx
+++ b/svx/inc/svx/scene3d.hxx
@@ -125,7 +125,7 @@ public:
{ return ((const Svx3DFocalLengthItem&)GetObjectItemSet().Get(SDRATTR_3DSCENE_FOCAL_LENGTH)).GetValue(); }
// Two sided lighting:
- BOOL GetTwoSidedLighting() const
+ sal_Bool GetTwoSidedLighting() const
{ return ((const Svx3DTwoSidedLightingItem&)GetObjectItemSet().Get(SDRATTR_3DSCENE_TWO_SIDED_LIGHTING)).GetValue(); }
// Lightcolor:
@@ -151,21 +151,21 @@ public:
{ return ((const Svx3DAmbientcolorItem&)GetObjectItemSet().Get(SDRATTR_3DSCENE_AMBIENTCOLOR)).GetValue(); }
// Light on/off:
- BOOL GetLightOnOff1() const
+ sal_Bool GetLightOnOff1() const
{ return ((const Svx3DLightOnOff1Item&)GetObjectItemSet().Get(SDRATTR_3DSCENE_LIGHTON_1)).GetValue(); }
- BOOL GetLightOnOff2() const
+ sal_Bool GetLightOnOff2() const
{ return ((const Svx3DLightOnOff2Item&)GetObjectItemSet().Get(SDRATTR_3DSCENE_LIGHTON_2)).GetValue(); }
- BOOL GetLightOnOff3() const
+ sal_Bool GetLightOnOff3() const
{ return ((const Svx3DLightOnOff3Item&)GetObjectItemSet().Get(SDRATTR_3DSCENE_LIGHTON_3)).GetValue(); }
- BOOL GetLightOnOff4() const
+ sal_Bool GetLightOnOff4() const
{ return ((const Svx3DLightOnOff4Item&)GetObjectItemSet().Get(SDRATTR_3DSCENE_LIGHTON_4)).GetValue(); }
- BOOL GetLightOnOff5() const
+ sal_Bool GetLightOnOff5() const
{ return ((const Svx3DLightOnOff5Item&)GetObjectItemSet().Get(SDRATTR_3DSCENE_LIGHTON_5)).GetValue(); }
- BOOL GetLightOnOff6() const
+ sal_Bool GetLightOnOff6() const
{ return ((const Svx3DLightOnOff6Item&)GetObjectItemSet().Get(SDRATTR_3DSCENE_LIGHTON_6)).GetValue(); }
- BOOL GetLightOnOff7() const
+ sal_Bool GetLightOnOff7() const
{ return ((const Svx3DLightOnOff7Item&)GetObjectItemSet().Get(SDRATTR_3DSCENE_LIGHTON_7)).GetValue(); }
- BOOL GetLightOnOff8() const
+ sal_Bool GetLightOnOff8() const
{ return ((const Svx3DLightOnOff8Item&)GetObjectItemSet().Get(SDRATTR_3DSCENE_LIGHTON_8)).GetValue(); }
// Light direction:
@@ -195,9 +195,9 @@ public:
{ return ((const Svx3DShadeModeItem&)GetObjectItemSet().Get(SDRATTR_3DSCENE_SHADE_MODE)).GetValue(); }
// set flag to draw only selected
- void SetDrawOnlySelected(BOOL bNew) { bDrawOnlySelected = bNew; }
+ void SetDrawOnlySelected(sal_Bool bNew) { bDrawOnlySelected = bNew; }
bool GetDrawOnlySelected() const { return bDrawOnlySelected; }
- virtual UINT16 GetObjIdentifier() const;
+ virtual sal_uInt16 GetObjIdentifier() const;
virtual void NbcSetSnapRect(const Rectangle& rRect);
virtual void NbcMove(const Size& rSize);
@@ -230,7 +230,7 @@ public:
B3dCamera& GetCameraSet() { return aCameraSet; }
// break up
- virtual BOOL IsBreakObjPossible();
+ virtual sal_Bool IsBreakObjPossible();
basegfx::B3DVector GetShadowPlaneDirection() const;
void SetShadowPlaneDirection(const basegfx::B3DVector& rVec);
diff --git a/svx/inc/svx/sdangitm.hxx b/svx/inc/svx/sdangitm.hxx
index f29d0d48b412..d24b6174fdee 100644..100755
--- a/svx/inc/svx/sdangitm.hxx
+++ b/svx/inc/svx/sdangitm.hxx
@@ -39,10 +39,10 @@ class SVX_DLLPUBLIC SdrAngleItem: public SfxInt32Item {
public:
TYPEINFO();
SdrAngleItem(): SfxInt32Item() {}
- SdrAngleItem(USHORT nId, INT32 nAngle=0): SfxInt32Item(nId,nAngle) {}
- SdrAngleItem(USHORT nId, SvStream& rIn): SfxInt32Item(nId,rIn) {}
+ SdrAngleItem(sal_uInt16 nId, sal_Int32 nAngle=0): SfxInt32Item(nId,nAngle) {}
+ SdrAngleItem(sal_uInt16 nId, SvStream& rIn): SfxInt32Item(nId,rIn) {}
virtual SfxPoolItem* Clone(SfxItemPool* pPool=NULL) const;
- virtual SfxPoolItem* Create(SvStream& rIn, USHORT nVer) const;
+ virtual SfxPoolItem* Create(SvStream& rIn, sal_uInt16 nVer) const;
virtual SfxItemPresentation GetPresentation(SfxItemPresentation ePres,
SfxMapUnit eCoreMetric,
diff --git a/svx/inc/svx/sdasaitm.hxx b/svx/inc/svx/sdasaitm.hxx
index 1f71ed1a4216..2967e7fa5a27 100644..100755
--- a/svx/inc/svx/sdasaitm.hxx
+++ b/svx/inc/svx/sdasaitm.hxx
@@ -66,8 +66,8 @@ class SdrCustomShapeAdjustmentItem : public SfxPoolItem
virtual SfxPoolItem* Clone( SfxItemPool* pPool = NULL ) const;
virtual sal_uInt16 GetVersion( sal_uInt16 nFileFormatVersion ) const;
- virtual bool QueryValue( com::sun::star::uno::Any& rVal, BYTE nMemberId = 0 ) const;
- virtual bool PutValue( const com::sun::star::uno::Any& rVal, BYTE nMemberId = 0 );
+ virtual bool QueryValue( com::sun::star::uno::Any& rVal, sal_uInt8 nMemberId = 0 ) const;
+ virtual bool PutValue( const com::sun::star::uno::Any& rVal, sal_uInt8 nMemberId = 0 );
sal_uInt32 GetCount() const { return aAdjustmentValueList.size(); };
SVX_DLLPUBLIC const SdrCustomShapeAdjustmentValue& GetValue( sal_uInt32 nIndex ) const;
diff --git a/svx/inc/svx/sdasitm.hxx b/svx/inc/svx/sdasitm.hxx
index 260a03f7a989..caa88b2f9f14 100644..100755
--- a/svx/inc/svx/sdasitm.hxx
+++ b/svx/inc/svx/sdasitm.hxx
@@ -100,8 +100,8 @@ private:
virtual SfxPoolItem* Clone( SfxItemPool* pPool = NULL ) const;
virtual sal_uInt16 GetVersion( sal_uInt16 nFileFormatVersion ) const;
- virtual bool QueryValue( com::sun::star::uno::Any& rVal, BYTE nMemberId = 0 ) const;
- virtual bool PutValue( const com::sun::star::uno::Any& rVal, BYTE nMemberId = 0 );
+ virtual bool QueryValue( com::sun::star::uno::Any& rVal, sal_uInt8 nMemberId = 0 ) const;
+ virtual bool PutValue( const com::sun::star::uno::Any& rVal, sal_uInt8 nMemberId = 0 );
const com::sun::star::uno::Sequence< com::sun::star::beans::PropertyValue >& GetGeometry() const;
@@ -127,7 +127,7 @@ class SdrCustomShapeReplacementURLItem : public SfxStringItem
//---------------------------
class SdrTextWordWrapItem : public SdrOnOffItem {
public:
- SdrTextWordWrapItem( BOOL bAuto = FALSE ): SdrOnOffItem( SDRATTR_TEXT_WORDWRAP, bAuto ) {}
+ SdrTextWordWrapItem( sal_Bool bAuto = sal_False ): SdrOnOffItem( SDRATTR_TEXT_WORDWRAP, bAuto ) {}
SdrTextWordWrapItem( SvStream& rIn ) : SdrOnOffItem( SDRATTR_TEXT_WORDWRAP, rIn ) {}
};
@@ -136,7 +136,7 @@ public:
//-------------------------------
class SdrTextAutoGrowSizeItem : public SdrOnOffItem {
public:
- SdrTextAutoGrowSizeItem( BOOL bAuto = FALSE ): SdrOnOffItem( SDRATTR_TEXT_AUTOGROWSIZE, bAuto ) {}
+ SdrTextAutoGrowSizeItem( sal_Bool bAuto = sal_False ): SdrOnOffItem( SDRATTR_TEXT_AUTOGROWSIZE, bAuto ) {}
SdrTextAutoGrowSizeItem( SvStream& rIn ) : SdrOnOffItem( SDRATTR_TEXT_AUTOGROWSIZE, rIn ) {}
};
diff --git a/svx/inc/svx/sderitm.hxx b/svx/inc/svx/sderitm.hxx
index 89d5af671f8d..89d5af671f8d 100644..100755
--- a/svx/inc/svx/sderitm.hxx
+++ b/svx/inc/svx/sderitm.hxx
diff --git a/svx/inc/svx/sdgcoitm.hxx b/svx/inc/svx/sdgcoitm.hxx
index d01a77b7515b..98da8b675d14 100644..100755
--- a/svx/inc/svx/sdgcoitm.hxx
+++ b/svx/inc/svx/sdgcoitm.hxx
@@ -47,7 +47,7 @@ public:
SdrGrafRedItem( SvStream& rIn ) : SdrSignedPercentItem( SDRATTR_GRAFRED, rIn ) {}
virtual SfxPoolItem* Clone( SfxItemPool* pPool = NULL ) const;
- virtual SfxPoolItem* Create( SvStream& rIn, USHORT nVer ) const;
+ virtual SfxPoolItem* Create( SvStream& rIn, sal_uInt16 nVer ) const;
};
//-------------------
@@ -64,7 +64,7 @@ public:
SdrGrafGreenItem( SvStream& rIn ) : SdrSignedPercentItem( SDRATTR_GRAFGREEN, rIn ) {}
virtual SfxPoolItem* Clone( SfxItemPool* pPool = NULL ) const;
- virtual SfxPoolItem* Create( SvStream& rIn, USHORT nVer ) const;
+ virtual SfxPoolItem* Create( SvStream& rIn, sal_uInt16 nVer ) const;
};
//-------------------
@@ -81,7 +81,7 @@ public:
SdrGrafBlueItem( SvStream& rIn ) : SdrSignedPercentItem( SDRATTR_GRAFBLUE, rIn ) {}
virtual SfxPoolItem* Clone( SfxItemPool* pPool = NULL ) const;
- virtual SfxPoolItem* Create( SvStream& rIn, USHORT nVer ) const;
+ virtual SfxPoolItem* Create( SvStream& rIn, sal_uInt16 nVer ) const;
};
#endif // _SDGCOITM_HXX
diff --git a/svx/inc/svx/sdgcpitm.hxx b/svx/inc/svx/sdgcpitm.hxx
index c765867ac2ff..7b15df1954ef 100644..100755
--- a/svx/inc/svx/sdgcpitm.hxx
+++ b/svx/inc/svx/sdgcpitm.hxx
@@ -44,12 +44,12 @@ public:
SdrGrafCropItem( sal_Int32 nLeftCrop = 0, sal_Int32 nTopCrop = 0,
sal_Int32 nRightCrop = 0, sal_Int32 nBottomCrop = 0,
- USHORT nWhichId = SDRATTR_GRAFCROP ) :
+ sal_uInt16 nWhichId = SDRATTR_GRAFCROP ) :
SvxGrfCrop( nLeftCrop, nRightCrop, nTopCrop, nBottomCrop, nWhichId ) {}
virtual SfxPoolItem* Clone( SfxItemPool* pPool = NULL ) const;
- virtual SfxPoolItem* Create( SvStream& rIn, USHORT nVer ) const;
- virtual USHORT GetVersion( USHORT nFileVersion ) const;
+ virtual SfxPoolItem* Create( SvStream& rIn, sal_uInt16 nVer ) const;
+ virtual sal_uInt16 GetVersion( sal_uInt16 nFileVersion ) const;
};
#endif // _SDGCPITM_HXX
diff --git a/svx/inc/svx/sdggaitm.hxx b/svx/inc/svx/sdggaitm.hxx
index 643fa0abd53e..f7e679c42615 100644..100755
--- a/svx/inc/svx/sdggaitm.hxx
+++ b/svx/inc/svx/sdggaitm.hxx
@@ -43,14 +43,14 @@ public:
TYPEINFO();
- SdrGrafGamma100Item( ULONG nGamma100 = 100 ) : SfxUInt32Item( SDRATTR_GRAFGAMMA, nGamma100 ) {}
+ SdrGrafGamma100Item( sal_uIntPtr nGamma100 = 100 ) : SfxUInt32Item( SDRATTR_GRAFGAMMA, nGamma100 ) {}
SdrGrafGamma100Item( SvStream& rIn ) : SfxUInt32Item( SDRATTR_GRAFGAMMA, rIn ) {}
virtual SfxPoolItem* Clone( SfxItemPool* pPool = NULL ) const;
- virtual SfxPoolItem* Create( SvStream& rIn, USHORT nVer ) const;
+ virtual SfxPoolItem* Create( SvStream& rIn, sal_uInt16 nVer ) const;
- virtual bool QueryValue( com::sun::star::uno::Any& rVal, BYTE nMemberId = 0 ) const;
- virtual bool PutValue( const com::sun::star::uno::Any& rVal, BYTE nMemberId = 0 );
+ virtual bool QueryValue( com::sun::star::uno::Any& rVal, sal_uInt8 nMemberId = 0 ) const;
+ virtual bool PutValue( const com::sun::star::uno::Any& rVal, sal_uInt8 nMemberId = 0 );
};
#endif // _SDGGAITM_HXX
diff --git a/svx/inc/svx/sdginitm.hxx b/svx/inc/svx/sdginitm.hxx
index 2671d6c34cd5..5363e17edf47 100644..100755
--- a/svx/inc/svx/sdginitm.hxx
+++ b/svx/inc/svx/sdginitm.hxx
@@ -43,11 +43,11 @@ public:
TYPEINFO();
- SdrGrafInvertItem( BOOL bInvert = FALSE ) : SdrOnOffItem( SDRATTR_GRAFINVERT, bInvert ) {}
+ SdrGrafInvertItem( sal_Bool bInvert = sal_False ) : SdrOnOffItem( SDRATTR_GRAFINVERT, bInvert ) {}
SdrGrafInvertItem( SvStream& rIn ) : SdrOnOffItem( SDRATTR_GRAFINVERT, rIn ) {}
virtual SfxPoolItem* Clone( SfxItemPool* pPool = NULL ) const;
- virtual SfxPoolItem* Create( SvStream& rIn, USHORT nVer ) const;
+ virtual SfxPoolItem* Create( SvStream& rIn, sal_uInt16 nVer ) const;
};
#endif // _SDGINITM_HXX
diff --git a/svx/inc/svx/sdgluitm.hxx b/svx/inc/svx/sdgluitm.hxx
index 4293407996e8..08e2b8df3e08 100644..100755
--- a/svx/inc/svx/sdgluitm.hxx
+++ b/svx/inc/svx/sdgluitm.hxx
@@ -47,7 +47,7 @@ public:
SdrGrafLuminanceItem( SvStream& rIn ) : SdrSignedPercentItem( SDRATTR_GRAFLUMINANCE, rIn ) {}
virtual SfxPoolItem* Clone( SfxItemPool* pPool = NULL ) const;
- virtual SfxPoolItem* Create( SvStream& rIn, USHORT nVer ) const;
+ virtual SfxPoolItem* Create( SvStream& rIn, sal_uInt16 nVer ) const;
};
//----------------------
@@ -64,7 +64,7 @@ public:
SdrGrafContrastItem( SvStream& rIn ) : SdrSignedPercentItem( SDRATTR_GRAFCONTRAST, rIn ) {}
virtual SfxPoolItem* Clone( SfxItemPool* pPool = NULL ) const;
- virtual SfxPoolItem* Create( SvStream& rIn, USHORT nVer ) const;
+ virtual SfxPoolItem* Create( SvStream& rIn, sal_uInt16 nVer ) const;
};
#endif // _SDGLUITM_HXX
diff --git a/svx/inc/svx/sdgmoitm.hxx b/svx/inc/svx/sdgmoitm.hxx
index 9fcbdda3e4c0..eeb2834125f8 100644..100755
--- a/svx/inc/svx/sdgmoitm.hxx
+++ b/svx/inc/svx/sdgmoitm.hxx
@@ -44,15 +44,15 @@ public:
TYPEINFO();
- SdrGrafModeItem( GraphicDrawMode eMode = GRAPHICDRAWMODE_STANDARD ) : SfxEnumItem( SDRATTR_GRAFMODE, (USHORT)eMode ) {}
+ SdrGrafModeItem( GraphicDrawMode eMode = GRAPHICDRAWMODE_STANDARD ) : SfxEnumItem( SDRATTR_GRAFMODE, (sal_uInt16)eMode ) {}
SdrGrafModeItem( SvStream& rIn ) : SfxEnumItem( SDRATTR_GRAFMODE, rIn ) {}
virtual SfxPoolItem* Clone( SfxItemPool* pPool = NULL ) const;
- virtual SfxPoolItem* Create( SvStream& rIn, USHORT nVer ) const;
- virtual USHORT GetValueCount() const;
+ virtual SfxPoolItem* Create( SvStream& rIn, sal_uInt16 nVer ) const;
+ virtual sal_uInt16 GetValueCount() const;
GraphicDrawMode GetValue() const { return (GraphicDrawMode) SfxEnumItem::GetValue(); }
- virtual String GetValueTextByPos( USHORT nPos ) const;
+ virtual String GetValueTextByPos( sal_uInt16 nPos ) const;
virtual SfxItemPresentation GetPresentation( SfxItemPresentation ePres,
SfxMapUnit eCoreMetric,
SfxMapUnit ePresMetric,
diff --git a/svx/inc/svx/sdgtritm.hxx b/svx/inc/svx/sdgtritm.hxx
index 0cf720e6414c..fc3452dabbf8 100644..100755
--- a/svx/inc/svx/sdgtritm.hxx
+++ b/svx/inc/svx/sdgtritm.hxx
@@ -42,11 +42,11 @@ class SVX_DLLPUBLIC SdrGrafTransparenceItem : public SdrPercentItem
public:
TYPEINFO();
- SdrGrafTransparenceItem( USHORT nTransparencePercent = 0 ) : SdrPercentItem( SDRATTR_GRAFTRANSPARENCE, nTransparencePercent ) {}
+ SdrGrafTransparenceItem( sal_uInt16 nTransparencePercent = 0 ) : SdrPercentItem( SDRATTR_GRAFTRANSPARENCE, nTransparencePercent ) {}
SdrGrafTransparenceItem( SvStream& rIn ) : SdrPercentItem( SDRATTR_GRAFTRANSPARENCE, rIn ) {}
virtual SfxPoolItem* Clone( SfxItemPool* pPool = NULL ) const;
- virtual SfxPoolItem* Create( SvStream& rIn, USHORT nVer ) const;
+ virtual SfxPoolItem* Create( SvStream& rIn, sal_uInt16 nVer ) const;
};
#endif // _SDGTRITM_HXX
diff --git a/svx/inc/svx/sdmetitm.hxx b/svx/inc/svx/sdmetitm.hxx
index e98aba94976d..6dde4fbfd75f 100644..100755
--- a/svx/inc/svx/sdmetitm.hxx
+++ b/svx/inc/svx/sdmetitm.hxx
@@ -41,10 +41,10 @@ class SVX_DLLPUBLIC SdrMetricItem: public SfxInt32Item {
public:
TYPEINFO();
SdrMetricItem(): SfxInt32Item() {}
- SdrMetricItem(USHORT nId, INT32 nVal=0): SfxInt32Item(nId,nVal) {}
- SdrMetricItem(USHORT nId, SvStream& rIn): SfxInt32Item(nId,rIn) {}
+ SdrMetricItem(sal_uInt16 nId, sal_Int32 nVal=0): SfxInt32Item(nId,nVal) {}
+ SdrMetricItem(sal_uInt16 nId, SvStream& rIn): SfxInt32Item(nId,rIn) {}
virtual SfxPoolItem* Clone(SfxItemPool* pPool=NULL) const;
- virtual SfxPoolItem* Create(SvStream& rIn, USHORT nVer) const;
+ virtual SfxPoolItem* Create(SvStream& rIn, sal_uInt16 nVer) const;
virtual bool HasMetrics() const;
virtual bool ScaleMetrics(long nMul, long nDiv);
diff --git a/svx/inc/svx/sdooitm.hxx b/svx/inc/svx/sdooitm.hxx
index 0e795cdf6032..1bb3977df997 100644..100755
--- a/svx/inc/svx/sdooitm.hxx
+++ b/svx/inc/svx/sdooitm.hxx
@@ -41,12 +41,12 @@ class SVX_DLLPUBLIC SdrOnOffItem: public SfxBoolItem {
public:
TYPEINFO();
SdrOnOffItem(): SfxBoolItem() {}
- SdrOnOffItem(USHORT nId, BOOL bOn=FALSE): SfxBoolItem(nId,bOn) {}
- SdrOnOffItem(USHORT nId, SvStream& rIn): SfxBoolItem(nId,rIn) {}
+ SdrOnOffItem(sal_uInt16 nId, sal_Bool bOn=sal_False): SfxBoolItem(nId,bOn) {}
+ SdrOnOffItem(sal_uInt16 nId, SvStream& rIn): SfxBoolItem(nId,rIn) {}
virtual SfxPoolItem* Clone(SfxItemPool* pPool=NULL) const;
- virtual SfxPoolItem* Create(SvStream& rIn, USHORT nVer) const;
+ virtual SfxPoolItem* Create(SvStream& rIn, sal_uInt16 nVer) const;
- virtual String GetValueTextByVal(BOOL bVal) const;
+ virtual String GetValueTextByVal(sal_Bool bVal) const;
virtual SfxItemPresentation GetPresentation(SfxItemPresentation ePres, SfxMapUnit eCoreMetric, SfxMapUnit ePresMetric, String& rText, const IntlWrapper * = 0) const;
};
diff --git a/svx/inc/svx/sdprcitm.hxx b/svx/inc/svx/sdprcitm.hxx
index 9089c69f547d..fd93052370e7 100644..100755
--- a/svx/inc/svx/sdprcitm.hxx
+++ b/svx/inc/svx/sdprcitm.hxx
@@ -42,10 +42,10 @@ class SVX_DLLPUBLIC SdrPercentItem : public SfxUInt16Item
public:
TYPEINFO();
SdrPercentItem(): SfxUInt16Item() {}
- SdrPercentItem(USHORT nId, UINT16 nVal=0): SfxUInt16Item(nId,nVal) {}
- SdrPercentItem(USHORT nId, SvStream& rIn): SfxUInt16Item(nId,rIn) {}
+ SdrPercentItem(sal_uInt16 nId, sal_uInt16 nVal=0): SfxUInt16Item(nId,nVal) {}
+ SdrPercentItem(sal_uInt16 nId, SvStream& rIn): SfxUInt16Item(nId,rIn) {}
virtual SfxPoolItem* Clone(SfxItemPool* pPool=NULL) const;
- virtual SfxPoolItem* Create(SvStream& rIn, USHORT nVer) const;
+ virtual SfxPoolItem* Create(SvStream& rIn, sal_uInt16 nVer) const;
virtual SfxItemPresentation GetPresentation(SfxItemPresentation ePres, SfxMapUnit eCoreMetric, SfxMapUnit ePresMetric, String& rText, const IntlWrapper * = 0) const;
};
@@ -60,10 +60,10 @@ class SVX_DLLPUBLIC SdrSignedPercentItem : public SfxInt16Item
public:
TYPEINFO();
SdrSignedPercentItem(): SfxInt16Item() {}
- SdrSignedPercentItem( USHORT nId, INT16 nVal = 0 ) : SfxInt16Item( nId,nVal ) {}
- SdrSignedPercentItem( USHORT nId, SvStream& rIn ) : SfxInt16Item( nId,rIn ) {}
+ SdrSignedPercentItem( sal_uInt16 nId, sal_Int16 nVal = 0 ) : SfxInt16Item( nId,nVal ) {}
+ SdrSignedPercentItem( sal_uInt16 nId, SvStream& rIn ) : SfxInt16Item( nId,rIn ) {}
virtual SfxPoolItem* Clone( SfxItemPool* pPool = NULL ) const;
- virtual SfxPoolItem* Create( SvStream& rIn, USHORT nVer ) const;
+ virtual SfxPoolItem* Create( SvStream& rIn, sal_uInt16 nVer ) const;
virtual SfxItemPresentation GetPresentation( SfxItemPresentation ePres, SfxMapUnit eCoreMetric, SfxMapUnit ePresMetric, String& rText, const IntlWrapper * = 0 ) const;
};
diff --git a/svx/inc/svx/sdr/animation/animationstate.hxx b/svx/inc/svx/sdr/animation/animationstate.hxx
index 831085abdae8..831085abdae8 100644..100755
--- a/svx/inc/svx/sdr/animation/animationstate.hxx
+++ b/svx/inc/svx/sdr/animation/animationstate.hxx
diff --git a/svx/inc/svx/sdr/animation/objectanimator.hxx b/svx/inc/svx/sdr/animation/objectanimator.hxx
index 60496ab5b1b5..60496ab5b1b5 100644..100755
--- a/svx/inc/svx/sdr/animation/objectanimator.hxx
+++ b/svx/inc/svx/sdr/animation/objectanimator.hxx
diff --git a/svx/inc/svx/sdr/animation/scheduler.hxx b/svx/inc/svx/sdr/animation/scheduler.hxx
index 61bcaf647372..61bcaf647372 100644..100755
--- a/svx/inc/svx/sdr/animation/scheduler.hxx
+++ b/svx/inc/svx/sdr/animation/scheduler.hxx
diff --git a/svx/inc/svx/sdr/attribute/sdrfilltextattribute.hxx b/svx/inc/svx/sdr/attribute/sdrfilltextattribute.hxx
index 30fad2d951ee..30fad2d951ee 100644..100755
--- a/svx/inc/svx/sdr/attribute/sdrfilltextattribute.hxx
+++ b/svx/inc/svx/sdr/attribute/sdrfilltextattribute.hxx
diff --git a/svx/inc/svx/sdr/attribute/sdrformtextattribute.hxx b/svx/inc/svx/sdr/attribute/sdrformtextattribute.hxx
index af9536285788..af9536285788 100644..100755
--- a/svx/inc/svx/sdr/attribute/sdrformtextattribute.hxx
+++ b/svx/inc/svx/sdr/attribute/sdrformtextattribute.hxx
diff --git a/svx/inc/svx/sdr/attribute/sdrformtextoutlineattribute.hxx b/svx/inc/svx/sdr/attribute/sdrformtextoutlineattribute.hxx
index 9bafe2a5f832..9bafe2a5f832 100644..100755
--- a/svx/inc/svx/sdr/attribute/sdrformtextoutlineattribute.hxx
+++ b/svx/inc/svx/sdr/attribute/sdrformtextoutlineattribute.hxx
diff --git a/svx/inc/svx/sdr/attribute/sdrlinefillshadowtextattribute.hxx b/svx/inc/svx/sdr/attribute/sdrlinefillshadowtextattribute.hxx
index 4ded352a8f1d..4ded352a8f1d 100644..100755
--- a/svx/inc/svx/sdr/attribute/sdrlinefillshadowtextattribute.hxx
+++ b/svx/inc/svx/sdr/attribute/sdrlinefillshadowtextattribute.hxx
diff --git a/svx/inc/svx/sdr/attribute/sdrlineshadowtextattribute.hxx b/svx/inc/svx/sdr/attribute/sdrlineshadowtextattribute.hxx
index 40321dcd5196..40321dcd5196 100644..100755
--- a/svx/inc/svx/sdr/attribute/sdrlineshadowtextattribute.hxx
+++ b/svx/inc/svx/sdr/attribute/sdrlineshadowtextattribute.hxx
diff --git a/svx/inc/svx/sdr/attribute/sdrshadowtextattribute.hxx b/svx/inc/svx/sdr/attribute/sdrshadowtextattribute.hxx
index 003b0eacf0e4..003b0eacf0e4 100644..100755
--- a/svx/inc/svx/sdr/attribute/sdrshadowtextattribute.hxx
+++ b/svx/inc/svx/sdr/attribute/sdrshadowtextattribute.hxx
diff --git a/svx/inc/svx/sdr/attribute/sdrtextattribute.hxx b/svx/inc/svx/sdr/attribute/sdrtextattribute.hxx
index bf8f14b401e8..bf8f14b401e8 100644..100755
--- a/svx/inc/svx/sdr/attribute/sdrtextattribute.hxx
+++ b/svx/inc/svx/sdr/attribute/sdrtextattribute.hxx
diff --git a/svx/inc/svx/sdr/contact/displayinfo.hxx b/svx/inc/svx/sdr/contact/displayinfo.hxx
index 319bd8972d13..319bd8972d13 100644..100755
--- a/svx/inc/svx/sdr/contact/displayinfo.hxx
+++ b/svx/inc/svx/sdr/contact/displayinfo.hxx
diff --git a/svx/inc/svx/sdr/contact/objectcontact.hxx b/svx/inc/svx/sdr/contact/objectcontact.hxx
index eb1246cfef27..eb1246cfef27 100644..100755
--- a/svx/inc/svx/sdr/contact/objectcontact.hxx
+++ b/svx/inc/svx/sdr/contact/objectcontact.hxx
diff --git a/svx/inc/svx/sdr/contact/objectcontactofobjlistpainter.hxx b/svx/inc/svx/sdr/contact/objectcontactofobjlistpainter.hxx
index 1ffd817dd376..8ba4668ebd98 100644..100755
--- a/svx/inc/svx/sdr/contact/objectcontactofobjlistpainter.hxx
+++ b/svx/inc/svx/sdr/contact/objectcontactofobjlistpainter.hxx
@@ -96,6 +96,15 @@ namespace sdr
// Process the whole displaying
virtual void ProcessDisplay(DisplayInfo& rDisplayInfo);
+ // VirtualDevice? Default is false
+ virtual bool isOutputToVirtualDevice() const;
+
+ // recording MetaFile? Default is false
+ virtual bool isOutputToRecordingMetaFile() const;
+
+ // pdf export? Default is false
+ virtual bool isOutputToPDFFile() const;
+
// access to OutputDevice. May return 0L like the default implementations do. Needs to be overloaded as needed.
virtual OutputDevice* TryToGetOutputDevice() const;
};
diff --git a/svx/inc/svx/sdr/contact/objectcontactofpageview.hxx b/svx/inc/svx/sdr/contact/objectcontactofpageview.hxx
index 189e6ac94233..189e6ac94233 100644..100755
--- a/svx/inc/svx/sdr/contact/objectcontactofpageview.hxx
+++ b/svx/inc/svx/sdr/contact/objectcontactofpageview.hxx
diff --git a/svx/inc/svx/sdr/contact/objectcontacttools.hxx b/svx/inc/svx/sdr/contact/objectcontacttools.hxx
index efa8c1911869..efa8c1911869 100644..100755
--- a/svx/inc/svx/sdr/contact/objectcontacttools.hxx
+++ b/svx/inc/svx/sdr/contact/objectcontacttools.hxx
diff --git a/svx/inc/svx/sdr/contact/viewcontact.hxx b/svx/inc/svx/sdr/contact/viewcontact.hxx
index 1271ebf09f20..1271ebf09f20 100644..100755
--- a/svx/inc/svx/sdr/contact/viewcontact.hxx
+++ b/svx/inc/svx/sdr/contact/viewcontact.hxx
diff --git a/svx/inc/svx/sdr/contact/viewcontactofe3d.hxx b/svx/inc/svx/sdr/contact/viewcontactofe3d.hxx
index 950ef0639c89..950ef0639c89 100644..100755
--- a/svx/inc/svx/sdr/contact/viewcontactofe3d.hxx
+++ b/svx/inc/svx/sdr/contact/viewcontactofe3d.hxx
diff --git a/svx/inc/svx/sdr/contact/viewcontactofe3dcube.hxx b/svx/inc/svx/sdr/contact/viewcontactofe3dcube.hxx
index 6e7b11018ca3..6e7b11018ca3 100644..100755
--- a/svx/inc/svx/sdr/contact/viewcontactofe3dcube.hxx
+++ b/svx/inc/svx/sdr/contact/viewcontactofe3dcube.hxx
diff --git a/svx/inc/svx/sdr/contact/viewcontactofe3dextrude.hxx b/svx/inc/svx/sdr/contact/viewcontactofe3dextrude.hxx
index 3c04d6440a15..3c04d6440a15 100644..100755
--- a/svx/inc/svx/sdr/contact/viewcontactofe3dextrude.hxx
+++ b/svx/inc/svx/sdr/contact/viewcontactofe3dextrude.hxx
diff --git a/svx/inc/svx/sdr/contact/viewcontactofe3dlathe.hxx b/svx/inc/svx/sdr/contact/viewcontactofe3dlathe.hxx
index 660c2ddda270..660c2ddda270 100644..100755
--- a/svx/inc/svx/sdr/contact/viewcontactofe3dlathe.hxx
+++ b/svx/inc/svx/sdr/contact/viewcontactofe3dlathe.hxx
diff --git a/svx/inc/svx/sdr/contact/viewcontactofe3dpolygon.hxx b/svx/inc/svx/sdr/contact/viewcontactofe3dpolygon.hxx
index e8d958ef0244..e8d958ef0244 100644..100755
--- a/svx/inc/svx/sdr/contact/viewcontactofe3dpolygon.hxx
+++ b/svx/inc/svx/sdr/contact/viewcontactofe3dpolygon.hxx
diff --git a/svx/inc/svx/sdr/contact/viewcontactofe3dscene.hxx b/svx/inc/svx/sdr/contact/viewcontactofe3dscene.hxx
index 539734864145..539734864145 100644..100755
--- a/svx/inc/svx/sdr/contact/viewcontactofe3dscene.hxx
+++ b/svx/inc/svx/sdr/contact/viewcontactofe3dscene.hxx
diff --git a/svx/inc/svx/sdr/contact/viewcontactofe3dsphere.hxx b/svx/inc/svx/sdr/contact/viewcontactofe3dsphere.hxx
index d4dc0ab51d74..d4dc0ab51d74 100644..100755
--- a/svx/inc/svx/sdr/contact/viewcontactofe3dsphere.hxx
+++ b/svx/inc/svx/sdr/contact/viewcontactofe3dsphere.hxx
diff --git a/svx/inc/svx/sdr/contact/viewcontactofgraphic.hxx b/svx/inc/svx/sdr/contact/viewcontactofgraphic.hxx
index 6122df208400..6122df208400 100644..100755
--- a/svx/inc/svx/sdr/contact/viewcontactofgraphic.hxx
+++ b/svx/inc/svx/sdr/contact/viewcontactofgraphic.hxx
diff --git a/svx/inc/svx/sdr/contact/viewcontactofgroup.hxx b/svx/inc/svx/sdr/contact/viewcontactofgroup.hxx
index 6f3dec253792..6f3dec253792 100644..100755
--- a/svx/inc/svx/sdr/contact/viewcontactofgroup.hxx
+++ b/svx/inc/svx/sdr/contact/viewcontactofgroup.hxx
diff --git a/svx/inc/svx/sdr/contact/viewcontactofmasterpagedescriptor.hxx b/svx/inc/svx/sdr/contact/viewcontactofmasterpagedescriptor.hxx
index 767242b9608c..767242b9608c 100644..100755
--- a/svx/inc/svx/sdr/contact/viewcontactofmasterpagedescriptor.hxx
+++ b/svx/inc/svx/sdr/contact/viewcontactofmasterpagedescriptor.hxx
diff --git a/svx/inc/svx/sdr/contact/viewcontactofpageobj.hxx b/svx/inc/svx/sdr/contact/viewcontactofpageobj.hxx
index ba7f940bcbae..ba7f940bcbae 100644..100755
--- a/svx/inc/svx/sdr/contact/viewcontactofpageobj.hxx
+++ b/svx/inc/svx/sdr/contact/viewcontactofpageobj.hxx
diff --git a/svx/inc/svx/sdr/contact/viewcontactofsdrcaptionobj.hxx b/svx/inc/svx/sdr/contact/viewcontactofsdrcaptionobj.hxx
index b3ecfa45e878..b3ecfa45e878 100644..100755
--- a/svx/inc/svx/sdr/contact/viewcontactofsdrcaptionobj.hxx
+++ b/svx/inc/svx/sdr/contact/viewcontactofsdrcaptionobj.hxx
diff --git a/svx/inc/svx/sdr/contact/viewcontactofsdrcircobj.hxx b/svx/inc/svx/sdr/contact/viewcontactofsdrcircobj.hxx
index ca1459d45544..ca1459d45544 100644..100755
--- a/svx/inc/svx/sdr/contact/viewcontactofsdrcircobj.hxx
+++ b/svx/inc/svx/sdr/contact/viewcontactofsdrcircobj.hxx
diff --git a/svx/inc/svx/sdr/contact/viewcontactofsdredgeobj.hxx b/svx/inc/svx/sdr/contact/viewcontactofsdredgeobj.hxx
index fcf8360696ac..fcf8360696ac 100644..100755
--- a/svx/inc/svx/sdr/contact/viewcontactofsdredgeobj.hxx
+++ b/svx/inc/svx/sdr/contact/viewcontactofsdredgeobj.hxx
diff --git a/svx/inc/svx/sdr/contact/viewcontactofsdrmeasureobj.hxx b/svx/inc/svx/sdr/contact/viewcontactofsdrmeasureobj.hxx
index ebe9dbc09cc6..ebe9dbc09cc6 100644..100755
--- a/svx/inc/svx/sdr/contact/viewcontactofsdrmeasureobj.hxx
+++ b/svx/inc/svx/sdr/contact/viewcontactofsdrmeasureobj.hxx
diff --git a/svx/inc/svx/sdr/contact/viewcontactofsdrmediaobj.hxx b/svx/inc/svx/sdr/contact/viewcontactofsdrmediaobj.hxx
index 5a3de115110a..5a3de115110a 100644..100755
--- a/svx/inc/svx/sdr/contact/viewcontactofsdrmediaobj.hxx
+++ b/svx/inc/svx/sdr/contact/viewcontactofsdrmediaobj.hxx
diff --git a/svx/inc/svx/sdr/contact/viewcontactofsdrobj.hxx b/svx/inc/svx/sdr/contact/viewcontactofsdrobj.hxx
index 9ae4bbcea0c6..9ae4bbcea0c6 100644..100755
--- a/svx/inc/svx/sdr/contact/viewcontactofsdrobj.hxx
+++ b/svx/inc/svx/sdr/contact/viewcontactofsdrobj.hxx
diff --git a/svx/inc/svx/sdr/contact/viewcontactofsdrobjcustomshape.hxx b/svx/inc/svx/sdr/contact/viewcontactofsdrobjcustomshape.hxx
index 76584727336f..76584727336f 100644..100755
--- a/svx/inc/svx/sdr/contact/viewcontactofsdrobjcustomshape.hxx
+++ b/svx/inc/svx/sdr/contact/viewcontactofsdrobjcustomshape.hxx
diff --git a/svx/inc/svx/sdr/contact/viewcontactofsdrole2obj.hxx b/svx/inc/svx/sdr/contact/viewcontactofsdrole2obj.hxx
index c67fae1e9173..c67fae1e9173 100644..100755
--- a/svx/inc/svx/sdr/contact/viewcontactofsdrole2obj.hxx
+++ b/svx/inc/svx/sdr/contact/viewcontactofsdrole2obj.hxx
diff --git a/svx/inc/svx/sdr/contact/viewcontactofsdrpage.hxx b/svx/inc/svx/sdr/contact/viewcontactofsdrpage.hxx
index 8a2748488e2f..8a2748488e2f 100644..100755
--- a/svx/inc/svx/sdr/contact/viewcontactofsdrpage.hxx
+++ b/svx/inc/svx/sdr/contact/viewcontactofsdrpage.hxx
diff --git a/svx/inc/svx/sdr/contact/viewcontactofsdrpathobj.hxx b/svx/inc/svx/sdr/contact/viewcontactofsdrpathobj.hxx
index cc9d113d9117..cc9d113d9117 100644..100755
--- a/svx/inc/svx/sdr/contact/viewcontactofsdrpathobj.hxx
+++ b/svx/inc/svx/sdr/contact/viewcontactofsdrpathobj.hxx
diff --git a/svx/inc/svx/sdr/contact/viewcontactofsdrrectobj.hxx b/svx/inc/svx/sdr/contact/viewcontactofsdrrectobj.hxx
index 7a59cf5b8a4b..7a59cf5b8a4b 100644..100755
--- a/svx/inc/svx/sdr/contact/viewcontactofsdrrectobj.hxx
+++ b/svx/inc/svx/sdr/contact/viewcontactofsdrrectobj.hxx
diff --git a/svx/inc/svx/sdr/contact/viewcontactoftextobj.hxx b/svx/inc/svx/sdr/contact/viewcontactoftextobj.hxx
index 6382edafd227..6382edafd227 100644..100755
--- a/svx/inc/svx/sdr/contact/viewcontactoftextobj.hxx
+++ b/svx/inc/svx/sdr/contact/viewcontactoftextobj.hxx
diff --git a/svx/inc/svx/sdr/contact/viewcontactofunocontrol.hxx b/svx/inc/svx/sdr/contact/viewcontactofunocontrol.hxx
index 1abc0e6f3c37..1abc0e6f3c37 100644..100755
--- a/svx/inc/svx/sdr/contact/viewcontactofunocontrol.hxx
+++ b/svx/inc/svx/sdr/contact/viewcontactofunocontrol.hxx
diff --git a/svx/inc/svx/sdr/contact/viewcontactofvirtobj.hxx b/svx/inc/svx/sdr/contact/viewcontactofvirtobj.hxx
index 0b88193dc410..0b88193dc410 100644..100755
--- a/svx/inc/svx/sdr/contact/viewcontactofvirtobj.hxx
+++ b/svx/inc/svx/sdr/contact/viewcontactofvirtobj.hxx
diff --git a/svx/inc/svx/sdr/contact/viewobjectcontact.hxx b/svx/inc/svx/sdr/contact/viewobjectcontact.hxx
index 49fec4091d54..49fec4091d54 100644..100755
--- a/svx/inc/svx/sdr/contact/viewobjectcontact.hxx
+++ b/svx/inc/svx/sdr/contact/viewobjectcontact.hxx
diff --git a/svx/inc/svx/sdr/contact/viewobjectcontactofe3d.hxx b/svx/inc/svx/sdr/contact/viewobjectcontactofe3d.hxx
index 1589a5d7be7d..1589a5d7be7d 100644..100755
--- a/svx/inc/svx/sdr/contact/viewobjectcontactofe3d.hxx
+++ b/svx/inc/svx/sdr/contact/viewobjectcontactofe3d.hxx
diff --git a/svx/inc/svx/sdr/contact/viewobjectcontactofe3dscene.hxx b/svx/inc/svx/sdr/contact/viewobjectcontactofe3dscene.hxx
index 101263f0f9cf..101263f0f9cf 100644..100755
--- a/svx/inc/svx/sdr/contact/viewobjectcontactofe3dscene.hxx
+++ b/svx/inc/svx/sdr/contact/viewobjectcontactofe3dscene.hxx
diff --git a/svx/inc/svx/sdr/contact/viewobjectcontactofgraphic.hxx b/svx/inc/svx/sdr/contact/viewobjectcontactofgraphic.hxx
index 486ae55fb03e..486ae55fb03e 100644..100755
--- a/svx/inc/svx/sdr/contact/viewobjectcontactofgraphic.hxx
+++ b/svx/inc/svx/sdr/contact/viewobjectcontactofgraphic.hxx
diff --git a/svx/inc/svx/sdr/contact/viewobjectcontactofgroup.hxx b/svx/inc/svx/sdr/contact/viewobjectcontactofgroup.hxx
index e189a63f1a73..e189a63f1a73 100644..100755
--- a/svx/inc/svx/sdr/contact/viewobjectcontactofgroup.hxx
+++ b/svx/inc/svx/sdr/contact/viewobjectcontactofgroup.hxx
diff --git a/svx/inc/svx/sdr/contact/viewobjectcontactofmasterpagedescriptor.hxx b/svx/inc/svx/sdr/contact/viewobjectcontactofmasterpagedescriptor.hxx
index 1a4e8840a8e3..1a4e8840a8e3 100644..100755
--- a/svx/inc/svx/sdr/contact/viewobjectcontactofmasterpagedescriptor.hxx
+++ b/svx/inc/svx/sdr/contact/viewobjectcontactofmasterpagedescriptor.hxx
diff --git a/svx/inc/svx/sdr/contact/viewobjectcontactofpageobj.hxx b/svx/inc/svx/sdr/contact/viewobjectcontactofpageobj.hxx
index 7efde1c888d5..7efde1c888d5 100644..100755
--- a/svx/inc/svx/sdr/contact/viewobjectcontactofpageobj.hxx
+++ b/svx/inc/svx/sdr/contact/viewobjectcontactofpageobj.hxx
diff --git a/svx/inc/svx/sdr/contact/viewobjectcontactofsdrmediaobj.hxx b/svx/inc/svx/sdr/contact/viewobjectcontactofsdrmediaobj.hxx
index 86a96caef404..86a96caef404 100644..100755
--- a/svx/inc/svx/sdr/contact/viewobjectcontactofsdrmediaobj.hxx
+++ b/svx/inc/svx/sdr/contact/viewobjectcontactofsdrmediaobj.hxx
diff --git a/svx/inc/svx/sdr/contact/viewobjectcontactofsdrobj.hxx b/svx/inc/svx/sdr/contact/viewobjectcontactofsdrobj.hxx
index e366bbda02f3..e366bbda02f3 100644..100755
--- a/svx/inc/svx/sdr/contact/viewobjectcontactofsdrobj.hxx
+++ b/svx/inc/svx/sdr/contact/viewobjectcontactofsdrobj.hxx
diff --git a/svx/inc/svx/sdr/contact/viewobjectcontactofsdrole2obj.hxx b/svx/inc/svx/sdr/contact/viewobjectcontactofsdrole2obj.hxx
index bec0c9c309a6..bec0c9c309a6 100644..100755
--- a/svx/inc/svx/sdr/contact/viewobjectcontactofsdrole2obj.hxx
+++ b/svx/inc/svx/sdr/contact/viewobjectcontactofsdrole2obj.hxx
diff --git a/svx/inc/svx/sdr/contact/viewobjectcontactofsdrpage.hxx b/svx/inc/svx/sdr/contact/viewobjectcontactofsdrpage.hxx
index ebfa29247233..ebfa29247233 100644..100755
--- a/svx/inc/svx/sdr/contact/viewobjectcontactofsdrpage.hxx
+++ b/svx/inc/svx/sdr/contact/viewobjectcontactofsdrpage.hxx
diff --git a/svx/inc/svx/sdr/contact/viewobjectcontactofunocontrol.hxx b/svx/inc/svx/sdr/contact/viewobjectcontactofunocontrol.hxx
index b52fa263c9c4..b52fa263c9c4 100644..100755
--- a/svx/inc/svx/sdr/contact/viewobjectcontactofunocontrol.hxx
+++ b/svx/inc/svx/sdr/contact/viewobjectcontactofunocontrol.hxx
diff --git a/svx/inc/svx/sdr/contact/viewobjectcontactredirector.hxx b/svx/inc/svx/sdr/contact/viewobjectcontactredirector.hxx
index 697782219133..697782219133 100644..100755
--- a/svx/inc/svx/sdr/contact/viewobjectcontactredirector.hxx
+++ b/svx/inc/svx/sdr/contact/viewobjectcontactredirector.hxx
diff --git a/svx/inc/svx/sdr/event/eventhandler.hxx b/svx/inc/svx/sdr/event/eventhandler.hxx
index a5c3b0df4ec4..a5c3b0df4ec4 100644..100755
--- a/svx/inc/svx/sdr/event/eventhandler.hxx
+++ b/svx/inc/svx/sdr/event/eventhandler.hxx
diff --git a/svx/inc/svx/sdr/overlay/overlayanimatedbitmapex.hxx b/svx/inc/svx/sdr/overlay/overlayanimatedbitmapex.hxx
index 6a839100ada0..6a839100ada0 100644..100755
--- a/svx/inc/svx/sdr/overlay/overlayanimatedbitmapex.hxx
+++ b/svx/inc/svx/sdr/overlay/overlayanimatedbitmapex.hxx
diff --git a/svx/inc/svx/sdr/overlay/overlaybitmapex.hxx b/svx/inc/svx/sdr/overlay/overlaybitmapex.hxx
index 1892ff2632ec..1892ff2632ec 100644..100755
--- a/svx/inc/svx/sdr/overlay/overlaybitmapex.hxx
+++ b/svx/inc/svx/sdr/overlay/overlaybitmapex.hxx
diff --git a/svx/inc/svx/sdr/overlay/overlaycrosshair.hxx b/svx/inc/svx/sdr/overlay/overlaycrosshair.hxx
index c95f6a069f89..c95f6a069f89 100644..100755
--- a/svx/inc/svx/sdr/overlay/overlaycrosshair.hxx
+++ b/svx/inc/svx/sdr/overlay/overlaycrosshair.hxx
diff --git a/svx/inc/svx/sdr/overlay/overlayhatchrect.hxx b/svx/inc/svx/sdr/overlay/overlayhatchrect.hxx
index cd1bcb4da127..cd1bcb4da127 100644..100755
--- a/svx/inc/svx/sdr/overlay/overlayhatchrect.hxx
+++ b/svx/inc/svx/sdr/overlay/overlayhatchrect.hxx
diff --git a/svx/inc/svx/sdr/overlay/overlayhelpline.hxx b/svx/inc/svx/sdr/overlay/overlayhelpline.hxx
index 7622a46e36c2..7622a46e36c2 100644..100755
--- a/svx/inc/svx/sdr/overlay/overlayhelpline.hxx
+++ b/svx/inc/svx/sdr/overlay/overlayhelpline.hxx
diff --git a/svx/inc/svx/sdr/overlay/overlayline.hxx b/svx/inc/svx/sdr/overlay/overlayline.hxx
index fc235b70b241..fc235b70b241 100644..100755
--- a/svx/inc/svx/sdr/overlay/overlayline.hxx
+++ b/svx/inc/svx/sdr/overlay/overlayline.hxx
diff --git a/svx/inc/svx/sdr/overlay/overlaymanager.hxx b/svx/inc/svx/sdr/overlay/overlaymanager.hxx
index 532b481e81f9..532b481e81f9 100644..100755
--- a/svx/inc/svx/sdr/overlay/overlaymanager.hxx
+++ b/svx/inc/svx/sdr/overlay/overlaymanager.hxx
diff --git a/svx/inc/svx/sdr/overlay/overlaymanagerbuffered.hxx b/svx/inc/svx/sdr/overlay/overlaymanagerbuffered.hxx
index 0d0a1a5d8d26..0d0a1a5d8d26 100644..100755
--- a/svx/inc/svx/sdr/overlay/overlaymanagerbuffered.hxx
+++ b/svx/inc/svx/sdr/overlay/overlaymanagerbuffered.hxx
diff --git a/svx/inc/svx/sdr/overlay/overlayobject.hxx b/svx/inc/svx/sdr/overlay/overlayobject.hxx
index 321190931a58..321190931a58 100644..100755
--- a/svx/inc/svx/sdr/overlay/overlayobject.hxx
+++ b/svx/inc/svx/sdr/overlay/overlayobject.hxx
diff --git a/svx/inc/svx/sdr/overlay/overlayobjectcell.hxx b/svx/inc/svx/sdr/overlay/overlayobjectcell.hxx
index 4357d298c0b0..4357d298c0b0 100644..100755
--- a/svx/inc/svx/sdr/overlay/overlayobjectcell.hxx
+++ b/svx/inc/svx/sdr/overlay/overlayobjectcell.hxx
diff --git a/svx/inc/svx/sdr/overlay/overlayobjectlist.hxx b/svx/inc/svx/sdr/overlay/overlayobjectlist.hxx
index 43374b9ac359..43374b9ac359 100644..100755
--- a/svx/inc/svx/sdr/overlay/overlayobjectlist.hxx
+++ b/svx/inc/svx/sdr/overlay/overlayobjectlist.hxx
diff --git a/svx/inc/svx/sdr/overlay/overlaypolypolygon.hxx b/svx/inc/svx/sdr/overlay/overlaypolypolygon.hxx
index 3622e7322df5..3622e7322df5 100644..100755
--- a/svx/inc/svx/sdr/overlay/overlaypolypolygon.hxx
+++ b/svx/inc/svx/sdr/overlay/overlaypolypolygon.hxx
diff --git a/svx/inc/svx/sdr/overlay/overlayprimitive2dsequenceobject.hxx b/svx/inc/svx/sdr/overlay/overlayprimitive2dsequenceobject.hxx
index 165968176e5b..165968176e5b 100644..100755
--- a/svx/inc/svx/sdr/overlay/overlayprimitive2dsequenceobject.hxx
+++ b/svx/inc/svx/sdr/overlay/overlayprimitive2dsequenceobject.hxx
diff --git a/svx/inc/svx/sdr/overlay/overlayrollingrectangle.hxx b/svx/inc/svx/sdr/overlay/overlayrollingrectangle.hxx
index 5a0b7adb1921..5a0b7adb1921 100644..100755
--- a/svx/inc/svx/sdr/overlay/overlayrollingrectangle.hxx
+++ b/svx/inc/svx/sdr/overlay/overlayrollingrectangle.hxx
diff --git a/svx/inc/svx/sdr/overlay/overlayselection.hxx b/svx/inc/svx/sdr/overlay/overlayselection.hxx
index 153073dceaa2..153073dceaa2 100644..100755
--- a/svx/inc/svx/sdr/overlay/overlayselection.hxx
+++ b/svx/inc/svx/sdr/overlay/overlayselection.hxx
diff --git a/svx/inc/svx/sdr/overlay/overlaytools.hxx b/svx/inc/svx/sdr/overlay/overlaytools.hxx
index bf32a4934702..bf32a4934702 100644..100755
--- a/svx/inc/svx/sdr/overlay/overlaytools.hxx
+++ b/svx/inc/svx/sdr/overlay/overlaytools.hxx
diff --git a/svx/inc/svx/sdr/overlay/overlaytriangle.hxx b/svx/inc/svx/sdr/overlay/overlaytriangle.hxx
index 25e942908075..25e942908075 100644..100755
--- a/svx/inc/svx/sdr/overlay/overlaytriangle.hxx
+++ b/svx/inc/svx/sdr/overlay/overlaytriangle.hxx
diff --git a/svx/inc/svx/sdr/primitive2d/primitiveFactory2d.hxx b/svx/inc/svx/sdr/primitive2d/primitiveFactory2d.hxx
index 1e944e89cedc..1e944e89cedc 100644..100755
--- a/svx/inc/svx/sdr/primitive2d/primitiveFactory2d.hxx
+++ b/svx/inc/svx/sdr/primitive2d/primitiveFactory2d.hxx
diff --git a/svx/inc/svx/sdr/primitive2d/sdrattributecreator.hxx b/svx/inc/svx/sdr/primitive2d/sdrattributecreator.hxx
index c50ec38dc5c7..c50ec38dc5c7 100644..100755
--- a/svx/inc/svx/sdr/primitive2d/sdrattributecreator.hxx
+++ b/svx/inc/svx/sdr/primitive2d/sdrattributecreator.hxx
diff --git a/svx/inc/svx/sdr/primitive2d/sdrcaptionprimitive2d.hxx b/svx/inc/svx/sdr/primitive2d/sdrcaptionprimitive2d.hxx
index d078b90c4546..d078b90c4546 100644..100755
--- a/svx/inc/svx/sdr/primitive2d/sdrcaptionprimitive2d.hxx
+++ b/svx/inc/svx/sdr/primitive2d/sdrcaptionprimitive2d.hxx
diff --git a/svx/inc/svx/sdr/primitive2d/sdrconnectorprimitive2d.hxx b/svx/inc/svx/sdr/primitive2d/sdrconnectorprimitive2d.hxx
index 1e94f2bc8a99..1e94f2bc8a99 100644..100755
--- a/svx/inc/svx/sdr/primitive2d/sdrconnectorprimitive2d.hxx
+++ b/svx/inc/svx/sdr/primitive2d/sdrconnectorprimitive2d.hxx
diff --git a/svx/inc/svx/sdr/primitive2d/sdrcustomshapeprimitive2d.hxx b/svx/inc/svx/sdr/primitive2d/sdrcustomshapeprimitive2d.hxx
index 9e55c0601bb7..9e55c0601bb7 100644..100755
--- a/svx/inc/svx/sdr/primitive2d/sdrcustomshapeprimitive2d.hxx
+++ b/svx/inc/svx/sdr/primitive2d/sdrcustomshapeprimitive2d.hxx
diff --git a/svx/inc/svx/sdr/primitive2d/sdrdecompositiontools.hxx b/svx/inc/svx/sdr/primitive2d/sdrdecompositiontools.hxx
index c959da50220f..c959da50220f 100644..100755
--- a/svx/inc/svx/sdr/primitive2d/sdrdecompositiontools.hxx
+++ b/svx/inc/svx/sdr/primitive2d/sdrdecompositiontools.hxx
diff --git a/svx/inc/svx/sdr/primitive2d/sdrellipseprimitive2d.hxx b/svx/inc/svx/sdr/primitive2d/sdrellipseprimitive2d.hxx
index c8d6b3c6ced1..c8d6b3c6ced1 100644..100755
--- a/svx/inc/svx/sdr/primitive2d/sdrellipseprimitive2d.hxx
+++ b/svx/inc/svx/sdr/primitive2d/sdrellipseprimitive2d.hxx
diff --git a/svx/inc/svx/sdr/primitive2d/sdrgrafprimitive2d.hxx b/svx/inc/svx/sdr/primitive2d/sdrgrafprimitive2d.hxx
index 1b07fb228c8b..1b07fb228c8b 100644..100755
--- a/svx/inc/svx/sdr/primitive2d/sdrgrafprimitive2d.hxx
+++ b/svx/inc/svx/sdr/primitive2d/sdrgrafprimitive2d.hxx
diff --git a/svx/inc/svx/sdr/primitive2d/sdrmeasureprimitive2d.hxx b/svx/inc/svx/sdr/primitive2d/sdrmeasureprimitive2d.hxx
index 275e93e3cedd..275e93e3cedd 100644..100755
--- a/svx/inc/svx/sdr/primitive2d/sdrmeasureprimitive2d.hxx
+++ b/svx/inc/svx/sdr/primitive2d/sdrmeasureprimitive2d.hxx
diff --git a/svx/inc/svx/sdr/primitive2d/sdrole2primitive2d.hxx b/svx/inc/svx/sdr/primitive2d/sdrole2primitive2d.hxx
index 5667aed11dda..5667aed11dda 100644..100755
--- a/svx/inc/svx/sdr/primitive2d/sdrole2primitive2d.hxx
+++ b/svx/inc/svx/sdr/primitive2d/sdrole2primitive2d.hxx
diff --git a/svx/inc/svx/sdr/primitive2d/sdrolecontentprimitive2d.hxx b/svx/inc/svx/sdr/primitive2d/sdrolecontentprimitive2d.hxx
index 314c15436b0a..314c15436b0a 100644..100755
--- a/svx/inc/svx/sdr/primitive2d/sdrolecontentprimitive2d.hxx
+++ b/svx/inc/svx/sdr/primitive2d/sdrolecontentprimitive2d.hxx
diff --git a/svx/inc/svx/sdr/primitive2d/sdrpathprimitive2d.hxx b/svx/inc/svx/sdr/primitive2d/sdrpathprimitive2d.hxx
index b3476bbeee7f..b3476bbeee7f 100644..100755
--- a/svx/inc/svx/sdr/primitive2d/sdrpathprimitive2d.hxx
+++ b/svx/inc/svx/sdr/primitive2d/sdrpathprimitive2d.hxx
diff --git a/svx/inc/svx/sdr/primitive2d/sdrprimitivetools.hxx b/svx/inc/svx/sdr/primitive2d/sdrprimitivetools.hxx
index 8bd35f2d5233..8bd35f2d5233 100644..100755
--- a/svx/inc/svx/sdr/primitive2d/sdrprimitivetools.hxx
+++ b/svx/inc/svx/sdr/primitive2d/sdrprimitivetools.hxx
diff --git a/svx/inc/svx/sdr/primitive2d/sdrrectangleprimitive2d.hxx b/svx/inc/svx/sdr/primitive2d/sdrrectangleprimitive2d.hxx
index 86fd6b453ea4..86fd6b453ea4 100644..100755
--- a/svx/inc/svx/sdr/primitive2d/sdrrectangleprimitive2d.hxx
+++ b/svx/inc/svx/sdr/primitive2d/sdrrectangleprimitive2d.hxx
diff --git a/svx/inc/svx/sdr/primitive2d/sdrtextprimitive2d.hxx b/svx/inc/svx/sdr/primitive2d/sdrtextprimitive2d.hxx
index 46e1a683f9c9..46e1a683f9c9 100644..100755
--- a/svx/inc/svx/sdr/primitive2d/sdrtextprimitive2d.hxx
+++ b/svx/inc/svx/sdr/primitive2d/sdrtextprimitive2d.hxx
diff --git a/svx/inc/svx/sdr/primitive2d/svx_primitivetypes2d.hxx b/svx/inc/svx/sdr/primitive2d/svx_primitivetypes2d.hxx
index 225fb2302b62..225fb2302b62 100644..100755
--- a/svx/inc/svx/sdr/primitive2d/svx_primitivetypes2d.hxx
+++ b/svx/inc/svx/sdr/primitive2d/svx_primitivetypes2d.hxx
diff --git a/svx/inc/svx/sdr/primitive3d/sdrattributecreator3d.hxx b/svx/inc/svx/sdr/primitive3d/sdrattributecreator3d.hxx
index 193ec4d0a1cb..193ec4d0a1cb 100644..100755
--- a/svx/inc/svx/sdr/primitive3d/sdrattributecreator3d.hxx
+++ b/svx/inc/svx/sdr/primitive3d/sdrattributecreator3d.hxx
diff --git a/svx/inc/svx/sdr/properties/attributeproperties.hxx b/svx/inc/svx/sdr/properties/attributeproperties.hxx
index 0646373e5289..0646373e5289 100644..100755
--- a/svx/inc/svx/sdr/properties/attributeproperties.hxx
+++ b/svx/inc/svx/sdr/properties/attributeproperties.hxx
diff --git a/svx/inc/svx/sdr/properties/captionproperties.hxx b/svx/inc/svx/sdr/properties/captionproperties.hxx
index 3ce2a5ac1def..3ce2a5ac1def 100644..100755
--- a/svx/inc/svx/sdr/properties/captionproperties.hxx
+++ b/svx/inc/svx/sdr/properties/captionproperties.hxx
diff --git a/svx/inc/svx/sdr/properties/circleproperties.hxx b/svx/inc/svx/sdr/properties/circleproperties.hxx
index 17d85e975479..17d85e975479 100644..100755
--- a/svx/inc/svx/sdr/properties/circleproperties.hxx
+++ b/svx/inc/svx/sdr/properties/circleproperties.hxx
diff --git a/svx/inc/svx/sdr/properties/connectorproperties.hxx b/svx/inc/svx/sdr/properties/connectorproperties.hxx
index e95f99f05215..e95f99f05215 100644..100755
--- a/svx/inc/svx/sdr/properties/connectorproperties.hxx
+++ b/svx/inc/svx/sdr/properties/connectorproperties.hxx
diff --git a/svx/inc/svx/sdr/properties/customshapeproperties.hxx b/svx/inc/svx/sdr/properties/customshapeproperties.hxx
index dd779e5711b9..dd779e5711b9 100644..100755
--- a/svx/inc/svx/sdr/properties/customshapeproperties.hxx
+++ b/svx/inc/svx/sdr/properties/customshapeproperties.hxx
diff --git a/svx/inc/svx/sdr/properties/defaultproperties.hxx b/svx/inc/svx/sdr/properties/defaultproperties.hxx
index dab2804ad15b..dab2804ad15b 100644..100755
--- a/svx/inc/svx/sdr/properties/defaultproperties.hxx
+++ b/svx/inc/svx/sdr/properties/defaultproperties.hxx
diff --git a/svx/inc/svx/sdr/properties/e3dcompoundproperties.hxx b/svx/inc/svx/sdr/properties/e3dcompoundproperties.hxx
index 9d5fcdfe230b..9d5fcdfe230b 100644..100755
--- a/svx/inc/svx/sdr/properties/e3dcompoundproperties.hxx
+++ b/svx/inc/svx/sdr/properties/e3dcompoundproperties.hxx
diff --git a/svx/inc/svx/sdr/properties/e3dextrudeproperties.hxx b/svx/inc/svx/sdr/properties/e3dextrudeproperties.hxx
index 3d4ab5f7fd8e..3d4ab5f7fd8e 100644..100755
--- a/svx/inc/svx/sdr/properties/e3dextrudeproperties.hxx
+++ b/svx/inc/svx/sdr/properties/e3dextrudeproperties.hxx
diff --git a/svx/inc/svx/sdr/properties/e3dlatheproperties.hxx b/svx/inc/svx/sdr/properties/e3dlatheproperties.hxx
index d338fcdeba3d..d338fcdeba3d 100644..100755
--- a/svx/inc/svx/sdr/properties/e3dlatheproperties.hxx
+++ b/svx/inc/svx/sdr/properties/e3dlatheproperties.hxx
diff --git a/svx/inc/svx/sdr/properties/e3dproperties.hxx b/svx/inc/svx/sdr/properties/e3dproperties.hxx
index a94b27aa2503..a94b27aa2503 100644..100755
--- a/svx/inc/svx/sdr/properties/e3dproperties.hxx
+++ b/svx/inc/svx/sdr/properties/e3dproperties.hxx
diff --git a/svx/inc/svx/sdr/properties/e3dsceneproperties.hxx b/svx/inc/svx/sdr/properties/e3dsceneproperties.hxx
index cb38bc5aed65..cb38bc5aed65 100644..100755
--- a/svx/inc/svx/sdr/properties/e3dsceneproperties.hxx
+++ b/svx/inc/svx/sdr/properties/e3dsceneproperties.hxx
diff --git a/svx/inc/svx/sdr/properties/e3dsphereproperties.hxx b/svx/inc/svx/sdr/properties/e3dsphereproperties.hxx
index c97681619e7a..c97681619e7a 100644..100755
--- a/svx/inc/svx/sdr/properties/e3dsphereproperties.hxx
+++ b/svx/inc/svx/sdr/properties/e3dsphereproperties.hxx
diff --git a/svx/inc/svx/sdr/properties/emptyproperties.hxx b/svx/inc/svx/sdr/properties/emptyproperties.hxx
index c4aea4dcf8f7..c4aea4dcf8f7 100644..100755
--- a/svx/inc/svx/sdr/properties/emptyproperties.hxx
+++ b/svx/inc/svx/sdr/properties/emptyproperties.hxx
diff --git a/svx/inc/svx/sdr/properties/graphicproperties.hxx b/svx/inc/svx/sdr/properties/graphicproperties.hxx
index 1f76f8c4c1c9..1f76f8c4c1c9 100644..100755
--- a/svx/inc/svx/sdr/properties/graphicproperties.hxx
+++ b/svx/inc/svx/sdr/properties/graphicproperties.hxx
diff --git a/svx/inc/svx/sdr/properties/groupproperties.hxx b/svx/inc/svx/sdr/properties/groupproperties.hxx
index 27d31fd2d8ac..27d31fd2d8ac 100644..100755
--- a/svx/inc/svx/sdr/properties/groupproperties.hxx
+++ b/svx/inc/svx/sdr/properties/groupproperties.hxx
diff --git a/svx/inc/svx/sdr/properties/itemsettools.hxx b/svx/inc/svx/sdr/properties/itemsettools.hxx
index d5368b0ec3c9..d5368b0ec3c9 100644..100755
--- a/svx/inc/svx/sdr/properties/itemsettools.hxx
+++ b/svx/inc/svx/sdr/properties/itemsettools.hxx
diff --git a/svx/inc/svx/sdr/properties/measureproperties.hxx b/svx/inc/svx/sdr/properties/measureproperties.hxx
index 7ca66b83686f..7ca66b83686f 100644..100755
--- a/svx/inc/svx/sdr/properties/measureproperties.hxx
+++ b/svx/inc/svx/sdr/properties/measureproperties.hxx
diff --git a/svx/inc/svx/sdr/properties/oleproperties.hxx b/svx/inc/svx/sdr/properties/oleproperties.hxx
index 6e1b0c88ae83..6e1b0c88ae83 100644..100755
--- a/svx/inc/svx/sdr/properties/oleproperties.hxx
+++ b/svx/inc/svx/sdr/properties/oleproperties.hxx
diff --git a/svx/inc/svx/sdr/properties/pageproperties.hxx b/svx/inc/svx/sdr/properties/pageproperties.hxx
index 592bc38612f5..592bc38612f5 100644..100755
--- a/svx/inc/svx/sdr/properties/pageproperties.hxx
+++ b/svx/inc/svx/sdr/properties/pageproperties.hxx
diff --git a/svx/inc/svx/sdr/properties/properties.hxx b/svx/inc/svx/sdr/properties/properties.hxx
index eb4cb69fb33a..eb4cb69fb33a 100644..100755
--- a/svx/inc/svx/sdr/properties/properties.hxx
+++ b/svx/inc/svx/sdr/properties/properties.hxx
diff --git a/svx/inc/svx/sdr/properties/rectangleproperties.hxx b/svx/inc/svx/sdr/properties/rectangleproperties.hxx
index 2fd717b16e0e..2fd717b16e0e 100644..100755
--- a/svx/inc/svx/sdr/properties/rectangleproperties.hxx
+++ b/svx/inc/svx/sdr/properties/rectangleproperties.hxx
diff --git a/svx/inc/svx/sdr/properties/textproperties.hxx b/svx/inc/svx/sdr/properties/textproperties.hxx
index 243ef156ed31..243ef156ed31 100644..100755
--- a/svx/inc/svx/sdr/properties/textproperties.hxx
+++ b/svx/inc/svx/sdr/properties/textproperties.hxx
diff --git a/svx/inc/svx/sdr/table/tabledesign.hxx b/svx/inc/svx/sdr/table/tabledesign.hxx
index 8488b425ddc8..8488b425ddc8 100644..100755
--- a/svx/inc/svx/sdr/table/tabledesign.hxx
+++ b/svx/inc/svx/sdr/table/tabledesign.hxx
diff --git a/svx/inc/svx/sdrcomment.hxx b/svx/inc/svx/sdrcomment.hxx
index f89e9ac9196b..f89e9ac9196b 100644..100755
--- a/svx/inc/svx/sdrcomment.hxx
+++ b/svx/inc/svx/sdrcomment.hxx
diff --git a/svx/inc/svx/sdrhittesthelper.hxx b/svx/inc/svx/sdrhittesthelper.hxx
index 88e08a49a362..88e08a49a362 100644..100755
--- a/svx/inc/svx/sdrhittesthelper.hxx
+++ b/svx/inc/svx/sdrhittesthelper.hxx
diff --git a/svx/inc/svx/sdrmasterpagedescriptor.hxx b/svx/inc/svx/sdrmasterpagedescriptor.hxx
index db41ca8390cd..db41ca8390cd 100644..100755
--- a/svx/inc/svx/sdrmasterpagedescriptor.hxx
+++ b/svx/inc/svx/sdrmasterpagedescriptor.hxx
diff --git a/svx/inc/svx/sdrobjectfilter.hxx b/svx/inc/svx/sdrobjectfilter.hxx
index 442970fab754..442970fab754 100644..100755
--- a/svx/inc/svx/sdrobjectfilter.hxx
+++ b/svx/inc/svx/sdrobjectfilter.hxx
diff --git a/svx/inc/svx/sdrobjectuser.hxx b/svx/inc/svx/sdrobjectuser.hxx
index 73499ab2aaa5..73499ab2aaa5 100644..100755
--- a/svx/inc/svx/sdrobjectuser.hxx
+++ b/svx/inc/svx/sdrobjectuser.hxx
diff --git a/svx/inc/svx/sdrpageuser.hxx b/svx/inc/svx/sdrpageuser.hxx
index 42d9b4b34993..42d9b4b34993 100644..100755
--- a/svx/inc/svx/sdrpageuser.hxx
+++ b/svx/inc/svx/sdrpageuser.hxx
diff --git a/svx/inc/svx/sdrpagewindow.hxx b/svx/inc/svx/sdrpagewindow.hxx
index 7498c3278652..c073a91fd77f 100644..100755
--- a/svx/inc/svx/sdrpagewindow.hxx
+++ b/svx/inc/svx/sdrpagewindow.hxx
@@ -117,6 +117,7 @@ public:
void PrepareRedraw(const Region& rReg);
void RedrawAll(sdr::contact::ViewObjectContactRedirector* pRedirector) const;
void RedrawLayer(const SdrLayerID* pId, sdr::contact::ViewObjectContactRedirector* pRedirector) const;
+ void PostPaint();
// Invalidate call, used from ObjectContact(OfPageView) in InvalidatePartOfView(...)
void InvalidatePageWindow(const basegfx::B2DRange& rRange);
diff --git a/svx/inc/sdrpaintwindow.hxx b/svx/inc/svx/sdrpaintwindow.hxx
index f16fd5a6ef96..f16fd5a6ef96 100644..100755
--- a/svx/inc/sdrpaintwindow.hxx
+++ b/svx/inc/svx/sdrpaintwindow.hxx
diff --git a/svx/inc/svx/sdshcitm.hxx b/svx/inc/svx/sdshcitm.hxx
index 570cbb51dfe6..570cbb51dfe6 100644..100755
--- a/svx/inc/svx/sdshcitm.hxx
+++ b/svx/inc/svx/sdshcitm.hxx
diff --git a/svx/inc/svx/sdshitm.hxx b/svx/inc/svx/sdshitm.hxx
index f4baf5ba977c..0b75c81acf14 100644..100755
--- a/svx/inc/svx/sdshitm.hxx
+++ b/svx/inc/svx/sdshitm.hxx
@@ -36,7 +36,7 @@
//------------------------------
class SdrShadowItem: public SdrOnOffItem {
public:
- SdrShadowItem(BOOL bShadow=FALSE): SdrOnOffItem(SDRATTR_SHADOW, bShadow) {}
+ SdrShadowItem(sal_Bool bShadow=sal_False): SdrOnOffItem(SDRATTR_SHADOW, bShadow) {}
SdrShadowItem(SvStream& rIn): SdrOnOffItem(SDRATTR_SHADOW, rIn) {}
};
diff --git a/svx/inc/svx/sdshtitm.hxx b/svx/inc/svx/sdshtitm.hxx
index 0e363eef8a61..245f586bb299 100644..100755
--- a/svx/inc/svx/sdshtitm.hxx
+++ b/svx/inc/svx/sdshtitm.hxx
@@ -36,7 +36,7 @@
//---------------------
class SdrShadowTransparenceItem: public SdrPercentItem {
public:
- SdrShadowTransparenceItem(USHORT nTransp=0): SdrPercentItem(SDRATTR_SHADOWTRANSPARENCE,nTransp) {}
+ SdrShadowTransparenceItem(sal_uInt16 nTransp=0): SdrPercentItem(SDRATTR_SHADOWTRANSPARENCE,nTransp) {}
SdrShadowTransparenceItem(SvStream& rIn) : SdrPercentItem(SDRATTR_SHADOWTRANSPARENCE,rIn) {}
};
diff --git a/svx/inc/svx/sdsxyitm.hxx b/svx/inc/svx/sdsxyitm.hxx
index 2745400c1911..2745400c1911 100644..100755
--- a/svx/inc/svx/sdsxyitm.hxx
+++ b/svx/inc/svx/sdsxyitm.hxx
diff --git a/svx/inc/svx/sdtaaitm.hxx b/svx/inc/svx/sdtaaitm.hxx
index f056fda7a2ce..891f7442de98 100644..100755
--- a/svx/inc/svx/sdtaaitm.hxx
+++ b/svx/inc/svx/sdtaaitm.hxx
@@ -35,10 +35,10 @@
class SVX_DLLPUBLIC SdrTextAniAmountItem: public SfxInt16Item {
public:
TYPEINFO();
- SdrTextAniAmountItem(INT16 nVal=0): SfxInt16Item(SDRATTR_TEXT_ANIAMOUNT,nVal) {}
+ SdrTextAniAmountItem(sal_Int16 nVal=0): SfxInt16Item(SDRATTR_TEXT_ANIAMOUNT,nVal) {}
SdrTextAniAmountItem(SvStream& rIn): SfxInt16Item(SDRATTR_TEXT_ANIAMOUNT,rIn) {}
virtual SfxPoolItem* Clone(SfxItemPool* pPool=NULL) const;
- virtual SfxPoolItem* Create(SvStream& rIn, USHORT nVer) const;
+ virtual SfxPoolItem* Create(SvStream& rIn, sal_uInt16 nVer) const;
virtual bool HasMetrics() const;
virtual bool ScaleMetrics(long nMul, long nDiv);
diff --git a/svx/inc/svx/sdtacitm.hxx b/svx/inc/svx/sdtacitm.hxx
index a330670dd930..a1ab05e71efb 100644..100755
--- a/svx/inc/svx/sdtacitm.hxx
+++ b/svx/inc/svx/sdtacitm.hxx
@@ -34,7 +34,7 @@
// Number of loops. 0=infinite.
class SdrTextAniCountItem: public SfxUInt16Item {
public:
- SdrTextAniCountItem(UINT16 nVal=0): SfxUInt16Item(SDRATTR_TEXT_ANICOUNT,nVal) {}
+ SdrTextAniCountItem(sal_uInt16 nVal=0): SfxUInt16Item(SDRATTR_TEXT_ANICOUNT,nVal) {}
SdrTextAniCountItem(SvStream& rIn): SfxUInt16Item(SDRATTR_TEXT_ANICOUNT,rIn) {}
};
diff --git a/svx/inc/svx/sdtaditm.hxx b/svx/inc/svx/sdtaditm.hxx
index 2f3d4f36d75c..1fa7e5b452c3 100644..100755
--- a/svx/inc/svx/sdtaditm.hxx
+++ b/svx/inc/svx/sdtaditm.hxx
@@ -44,17 +44,17 @@ enum SdrTextAniDirection {SDRTEXTANI_LEFT,
class SVX_DLLPUBLIC SdrTextAniDirectionItem: public SfxEnumItem {
public:
TYPEINFO();
- SdrTextAniDirectionItem(SdrTextAniDirection eDir=SDRTEXTANI_LEFT): SfxEnumItem(SDRATTR_TEXT_ANIDIRECTION,(USHORT)eDir) {}
+ SdrTextAniDirectionItem(SdrTextAniDirection eDir=SDRTEXTANI_LEFT): SfxEnumItem(SDRATTR_TEXT_ANIDIRECTION,(sal_uInt16)eDir) {}
SdrTextAniDirectionItem(SvStream& rIn) : SfxEnumItem(SDRATTR_TEXT_ANIDIRECTION,rIn) {}
virtual SfxPoolItem* Clone(SfxItemPool* pPool=NULL) const;
- virtual SfxPoolItem* Create(SvStream& rIn, USHORT nVer) const;
- virtual USHORT GetValueCount() const;
+ virtual SfxPoolItem* Create(SvStream& rIn, sal_uInt16 nVer) const;
+ virtual sal_uInt16 GetValueCount() const;
SdrTextAniDirection GetValue() const { return (SdrTextAniDirection)SfxEnumItem::GetValue(); }
- virtual bool QueryValue( com::sun::star::uno::Any& rVal, BYTE nMemberId = 0 ) const;
- virtual bool PutValue( const com::sun::star::uno::Any& rVal, BYTE nMemberId = 0 );
+ virtual bool QueryValue( com::sun::star::uno::Any& rVal, sal_uInt8 nMemberId = 0 ) const;
+ virtual bool PutValue( const com::sun::star::uno::Any& rVal, sal_uInt8 nMemberId = 0 );
- virtual String GetValueTextByPos(USHORT nPos) const;
+ virtual String GetValueTextByPos(sal_uInt16 nPos) const;
virtual SfxItemPresentation GetPresentation(SfxItemPresentation ePres, SfxMapUnit eCoreMetric, SfxMapUnit ePresMetric, String& rText, const IntlWrapper * = 0) const;
};
diff --git a/svx/inc/svx/sdtagitm.hxx b/svx/inc/svx/sdtagitm.hxx
index 473fe6236f01..ed6253b71e26 100644..100755
--- a/svx/inc/svx/sdtagitm.hxx
+++ b/svx/inc/svx/sdtagitm.hxx
@@ -36,7 +36,7 @@
//------------------------------------
class SdrTextAutoGrowHeightItem: public SdrOnOffItem {
public:
- SdrTextAutoGrowHeightItem(BOOL bAuto=TRUE): SdrOnOffItem(SDRATTR_TEXT_AUTOGROWHEIGHT,bAuto) {}
+ SdrTextAutoGrowHeightItem(sal_Bool bAuto=sal_True): SdrOnOffItem(SDRATTR_TEXT_AUTOGROWHEIGHT,bAuto) {}
SdrTextAutoGrowHeightItem(SvStream& rIn) : SdrOnOffItem(SDRATTR_TEXT_AUTOGROWHEIGHT,rIn) {}
};
@@ -45,7 +45,7 @@ public:
//------------------------------------
class SdrTextAutoGrowWidthItem: public SdrOnOffItem {
public:
- SdrTextAutoGrowWidthItem(BOOL bAuto=FALSE): SdrOnOffItem(SDRATTR_TEXT_AUTOGROWWIDTH,bAuto) {}
+ SdrTextAutoGrowWidthItem(sal_Bool bAuto=sal_False): SdrOnOffItem(SDRATTR_TEXT_AUTOGROWWIDTH,bAuto) {}
SdrTextAutoGrowWidthItem(SvStream& rIn) : SdrOnOffItem(SDRATTR_TEXT_AUTOGROWWIDTH,rIn) {}
};
diff --git a/svx/inc/svx/sdtaiitm.hxx b/svx/inc/svx/sdtaiitm.hxx
index 1c46816c2553..99f2094adab2 100644..100755
--- a/svx/inc/svx/sdtaiitm.hxx
+++ b/svx/inc/svx/sdtaiitm.hxx
@@ -33,13 +33,13 @@
class SdrTextAniStartInsideItem: public SdrYesNoItem {
public:
- SdrTextAniStartInsideItem(BOOL bOn=FALSE): SdrYesNoItem(SDRATTR_TEXT_ANISTARTINSIDE,bOn) {}
+ SdrTextAniStartInsideItem(sal_Bool bOn=sal_False): SdrYesNoItem(SDRATTR_TEXT_ANISTARTINSIDE,bOn) {}
SdrTextAniStartInsideItem(SvStream& rIn) : SdrYesNoItem(SDRATTR_TEXT_ANISTARTINSIDE,rIn) {}
};
class SdrTextAniStopInsideItem: public SdrYesNoItem {
public:
- SdrTextAniStopInsideItem(BOOL bOn=FALSE): SdrYesNoItem(SDRATTR_TEXT_ANISTOPINSIDE,bOn) {}
+ SdrTextAniStopInsideItem(sal_Bool bOn=sal_False): SdrYesNoItem(SDRATTR_TEXT_ANISTOPINSIDE,bOn) {}
SdrTextAniStopInsideItem(SvStream& rIn) : SdrYesNoItem(SDRATTR_TEXT_ANISTOPINSIDE,rIn) {}
};
diff --git a/svx/inc/svx/sdtaitm.hxx b/svx/inc/svx/sdtaitm.hxx
index 2c45d4c56415..a0b9dc388d96 100644..100755
--- a/svx/inc/svx/sdtaitm.hxx
+++ b/svx/inc/svx/sdtaitm.hxx
@@ -45,17 +45,17 @@ enum SdrTextVertAdjust {SDRTEXTVERTADJUST_TOP, // aligned to top (normally
class SVX_DLLPUBLIC SdrTextVertAdjustItem: public SfxEnumItem {
public:
TYPEINFO();
- SdrTextVertAdjustItem(SdrTextVertAdjust eAdj=SDRTEXTVERTADJUST_TOP): SfxEnumItem(SDRATTR_TEXT_VERTADJUST,(USHORT)eAdj) {}
+ SdrTextVertAdjustItem(SdrTextVertAdjust eAdj=SDRTEXTVERTADJUST_TOP): SfxEnumItem(SDRATTR_TEXT_VERTADJUST,(sal_uInt16)eAdj) {}
SdrTextVertAdjustItem(SvStream& rIn) : SfxEnumItem(SDRATTR_TEXT_VERTADJUST,rIn) {}
virtual SfxPoolItem* Clone(SfxItemPool* pPool=NULL) const;
- virtual SfxPoolItem* Create(SvStream& rIn, USHORT nVer) const;
- virtual USHORT GetValueCount() const; // { return 5; }
+ virtual SfxPoolItem* Create(SvStream& rIn, sal_uInt16 nVer) const;
+ virtual sal_uInt16 GetValueCount() const; // { return 5; }
SdrTextVertAdjust GetValue() const { return (SdrTextVertAdjust)SfxEnumItem::GetValue(); }
- virtual bool QueryValue( com::sun::star::uno::Any& rVal, BYTE nMemberId = 0 ) const;
- virtual bool PutValue( const com::sun::star::uno::Any& rVal, BYTE nMemberId = 0 );
+ virtual bool QueryValue( com::sun::star::uno::Any& rVal, sal_uInt8 nMemberId = 0 ) const;
+ virtual bool PutValue( const com::sun::star::uno::Any& rVal, sal_uInt8 nMemberId = 0 );
- virtual String GetValueTextByPos(USHORT nPos) const;
+ virtual String GetValueTextByPos(sal_uInt16 nPos) const;
virtual SfxItemPresentation GetPresentation(SfxItemPresentation ePres, SfxMapUnit eCoreMetric, SfxMapUnit ePresMetric, String& rText, const IntlWrapper * = 0) const;
};
@@ -72,17 +72,17 @@ enum SdrTextHorzAdjust {SDRTEXTHORZADJUST_LEFT, // left adjusted
class SVX_DLLPUBLIC SdrTextHorzAdjustItem: public SfxEnumItem {
public:
TYPEINFO();
- SdrTextHorzAdjustItem(SdrTextHorzAdjust eAdj=SDRTEXTHORZADJUST_BLOCK): SfxEnumItem(SDRATTR_TEXT_HORZADJUST,(USHORT)eAdj) {}
+ SdrTextHorzAdjustItem(SdrTextHorzAdjust eAdj=SDRTEXTHORZADJUST_BLOCK): SfxEnumItem(SDRATTR_TEXT_HORZADJUST,(sal_uInt16)eAdj) {}
SdrTextHorzAdjustItem(SvStream& rIn) : SfxEnumItem(SDRATTR_TEXT_HORZADJUST,rIn) {}
virtual SfxPoolItem* Clone(SfxItemPool* pPool=NULL) const;
- virtual SfxPoolItem* Create(SvStream& rIn, USHORT nVer) const;
- virtual USHORT GetValueCount() const;
+ virtual SfxPoolItem* Create(SvStream& rIn, sal_uInt16 nVer) const;
+ virtual sal_uInt16 GetValueCount() const;
SdrTextHorzAdjust GetValue() const { return (SdrTextHorzAdjust)SfxEnumItem::GetValue(); }
- virtual bool QueryValue( com::sun::star::uno::Any& rVal, BYTE nMemberId = 0 ) const;
- virtual bool PutValue( const com::sun::star::uno::Any& rVal, BYTE nMemberId = 0 );
+ virtual bool QueryValue( com::sun::star::uno::Any& rVal, sal_uInt8 nMemberId = 0 ) const;
+ virtual bool PutValue( const com::sun::star::uno::Any& rVal, sal_uInt8 nMemberId = 0 );
- virtual String GetValueTextByPos(USHORT nPos) const;
+ virtual String GetValueTextByPos(sal_uInt16 nPos) const;
virtual SfxItemPresentation GetPresentation(SfxItemPresentation ePres, SfxMapUnit eCoreMetric, SfxMapUnit ePresMetric, String& rText, const IntlWrapper * = 0) const;
};
diff --git a/svx/inc/svx/sdtakitm.hxx b/svx/inc/svx/sdtakitm.hxx
index 3a3ec49ebf31..a8690039805d 100644..100755
--- a/svx/inc/svx/sdtakitm.hxx
+++ b/svx/inc/svx/sdtakitm.hxx
@@ -46,8 +46,8 @@ enum SdrTextAniKind {SDRTEXTANI_NONE,
// Einfach nur Blinken. Direction und Amount ohne Wirkung.
// Frequenz siehe Delay, 0=0.5Hz (Delay=250).
// Count=Anzahl der blinker. 0=Endlos.
-// StartInside: FALSE=beginnend mit Pause, TRUE=Beginnend mit Puls
-// StopInside: FALSE=Nach Count blinkern nicht sichtbar, TRUE=sichtbar
+// StartInside: sal_False=beginnend mit Pause, sal_True=Beginnend mit Puls
+// StopInside: sal_False=Nach Count blinkern nicht sichtbar, sal_True=sichtbar
// (nur wenn Count!=0)
// - SDRTEXTANI_SCROLL:
// Schrift laeuft rein, laeuft vollstaendig durch. Wenn ganz verschwunden
@@ -55,12 +55,12 @@ enum SdrTextAniKind {SDRTEXTANI_NONE,
// Delay in ms, Sonderfall Delay=0 wird auf 50ms defaulted (20Hz)
// Count=Durchlaufanzahl (0=Endlos)
// Direction: ist eben die Richtung in die gescrollt wird.
-// StartInside: FALSE=Schrift wird auch beim ersten Durchlauf reingescrollt
-// TRUE=Der linke Teil der Schrift steht beim ersten Durchlauf
+// StartInside: sal_False=Schrift wird auch beim ersten Durchlauf reingescrollt
+// sal_True=Der linke Teil der Schrift steht beim ersten Durchlauf
// bereits da (im sichtbaren "Scrollbereich")
-// StopInside: FALSE=Schrift wird auch beim letzten Durchlauf vollstaendig
+// StopInside: sal_False=Schrift wird auch beim letzten Durchlauf vollstaendig
// rausgescrollt
-// TRUE=Schrift wird beim letzten Durchlauf nicht rausgescrollt
+// sal_True=Schrift wird beim letzten Durchlauf nicht rausgescrollt
// (nur wenn Count!=0)
// Amount: Schrittweite in logischen Einheiten. Negative Werte bedeuten
// Pixel statt log. Einheiten. Wenn Amount=0, dann wird auf
@@ -75,31 +75,31 @@ enum SdrTextAniKind {SDRTEXTANI_NONE,
// Alle andern Parameter wie SDRTEXTANI_SCROLL
// - SDRTEXTANI_SLIDE:
// Schrift wird nur reingeschoben bis zur Originalposition.
-// -> also wie SCROLL mit StartInside=FALSE, StopInside=TRUE
+// -> also wie SCROLL mit StartInside=sal_False, StopInside=TRUE
// und Count=1. Count=0 wird als Count=1 interpretiert.
// Fuer jeden Count>1 wird der Text jedoch ruekwaerts wieder vollstaendig
// rausgeschoben (aehnlich wie ALTERNATE) und dann wieder reingeschoben.
// StopInside wird nicht ausgewertet, weil immer Inside gestoppt wird.
// StartInside wird nicht ausgewertet, weil immer Outside gestartet wird.
// Alle andern Parameter wie SDRTEXTANI_SCROLL
-// StartInside,StopInside: Bei TRUE ist die anfaengliche/entgueltige
+// StartInside,StopInside: Bei sal_True ist die anfaengliche/entgueltige
// Textposition abhaengig von der Textverankerung am Zeichenobjekt. Sie
// entspricht der Textposition bei normalem Paint (ohne Laufschrift).
class SVX_DLLPUBLIC SdrTextAniKindItem: public SfxEnumItem {
public:
TYPEINFO();
- SdrTextAniKindItem(SdrTextAniKind eKind=SDRTEXTANI_NONE): SfxEnumItem(SDRATTR_TEXT_ANIKIND,(USHORT)eKind) {}
+ SdrTextAniKindItem(SdrTextAniKind eKind=SDRTEXTANI_NONE): SfxEnumItem(SDRATTR_TEXT_ANIKIND,(sal_uInt16)eKind) {}
SdrTextAniKindItem(SvStream& rIn) : SfxEnumItem(SDRATTR_TEXT_ANIKIND,rIn) {}
virtual SfxPoolItem* Clone(SfxItemPool* pPool=NULL) const;
- virtual SfxPoolItem* Create(SvStream& rIn, USHORT nVer) const;
- virtual USHORT GetValueCount() const; // { return 5; }
+ virtual SfxPoolItem* Create(SvStream& rIn, sal_uInt16 nVer) const;
+ virtual sal_uInt16 GetValueCount() const; // { return 5; }
SdrTextAniKind GetValue() const { return (SdrTextAniKind)SfxEnumItem::GetValue(); }
- virtual bool QueryValue( com::sun::star::uno::Any& rVal, BYTE nMemberId = 0 ) const;
- virtual bool PutValue( const com::sun::star::uno::Any& rVal, BYTE nMemberId = 0 );
+ virtual bool QueryValue( com::sun::star::uno::Any& rVal, sal_uInt8 nMemberId = 0 ) const;
+ virtual bool PutValue( const com::sun::star::uno::Any& rVal, sal_uInt8 nMemberId = 0 );
- virtual String GetValueTextByPos(USHORT nPos) const;
+ virtual String GetValueTextByPos(sal_uInt16 nPos) const;
virtual SfxItemPresentation GetPresentation(SfxItemPresentation ePres, SfxMapUnit eCoreMetric, SfxMapUnit ePresMetric, String& rText, const IntlWrapper * = 0) const;
};
diff --git a/svx/inc/svx/sdtayitm.hxx b/svx/inc/svx/sdtayitm.hxx
index b4f029aa38a5..5089d62c6b05 100644..100755
--- a/svx/inc/svx/sdtayitm.hxx
+++ b/svx/inc/svx/sdtayitm.hxx
@@ -35,10 +35,10 @@
class SVX_DLLPUBLIC SdrTextAniDelayItem: public SfxUInt16Item {
public:
TYPEINFO();
- SdrTextAniDelayItem(UINT16 nVal=0): SfxUInt16Item(SDRATTR_TEXT_ANIDELAY,nVal) {}
+ SdrTextAniDelayItem(sal_uInt16 nVal=0): SfxUInt16Item(SDRATTR_TEXT_ANIDELAY,nVal) {}
SdrTextAniDelayItem(SvStream& rIn): SfxUInt16Item(SDRATTR_TEXT_ANIDELAY,rIn) {}
virtual SfxPoolItem* Clone(SfxItemPool* pPool=NULL) const;
- virtual SfxPoolItem* Create(SvStream& rIn, USHORT nVer) const;
+ virtual SfxPoolItem* Create(SvStream& rIn, sal_uInt16 nVer) const;
virtual SfxItemPresentation GetPresentation(SfxItemPresentation ePres, SfxMapUnit eCoreMetric, SfxMapUnit ePresMetric, String& rText, const IntlWrapper * = 0) const;
};
diff --git a/svx/inc/svx/sdtcfitm.hxx b/svx/inc/svx/sdtcfitm.hxx
index fe76ecf97cd2..d0dd89c01d94 100644..100755
--- a/svx/inc/svx/sdtcfitm.hxx
+++ b/svx/inc/svx/sdtcfitm.hxx
@@ -36,7 +36,7 @@
//------------------------------------
class SdrTextContourFrameItem: public SdrOnOffItem {
public:
- SdrTextContourFrameItem(BOOL bOn=FALSE): SdrOnOffItem(SDRATTR_TEXT_CONTOURFRAME,bOn) {}
+ SdrTextContourFrameItem(sal_Bool bOn=sal_False): SdrOnOffItem(SDRATTR_TEXT_CONTOURFRAME,bOn) {}
SdrTextContourFrameItem(SvStream& rIn) : SdrOnOffItem(SDRATTR_TEXT_CONTOURFRAME,rIn) {}
};
diff --git a/svx/inc/svx/sdtditm.hxx b/svx/inc/svx/sdtditm.hxx
index 5b43059b66a9..5b43059b66a9 100644..100755
--- a/svx/inc/svx/sdtditm.hxx
+++ b/svx/inc/svx/sdtditm.hxx
diff --git a/svx/inc/svx/sdtfchim.hxx b/svx/inc/svx/sdtfchim.hxx
index a29c2bfa37fc..ca5c8f41975c 100644..100755
--- a/svx/inc/svx/sdtfchim.hxx
+++ b/svx/inc/svx/sdtfchim.hxx
@@ -35,7 +35,7 @@ class SVX_DLLPUBLIC SdrTextFixedCellHeightItem : public SfxBoolItem
public:
TYPEINFO();
- SdrTextFixedCellHeightItem( BOOL bUseFixedCellHeight = FALSE );
+ SdrTextFixedCellHeightItem( sal_Bool bUseFixedCellHeight = sal_False );
SVX_DLLPRIVATE SdrTextFixedCellHeightItem( SvStream & rStream, sal_uInt16 nVersion );
SVX_DLLPRIVATE virtual SfxItemPresentation GetPresentation(SfxItemPresentation ePresentation,
@@ -47,8 +47,8 @@ public:
SVX_DLLPRIVATE virtual SfxPoolItem* Clone( SfxItemPool* pPool = NULL ) const;
SVX_DLLPRIVATE virtual sal_uInt16 GetVersion( sal_uInt16 nFileFormatVersion ) const;
- SVX_DLLPRIVATE virtual bool QueryValue( com::sun::star::uno::Any& rVal, BYTE nMemberId = 0 ) const;
- SVX_DLLPRIVATE virtual bool PutValue( const com::sun::star::uno::Any& rVal, BYTE nMemberId = 0 );
+ SVX_DLLPRIVATE virtual bool QueryValue( com::sun::star::uno::Any& rVal, sal_uInt8 nMemberId = 0 ) const;
+ SVX_DLLPRIVATE virtual bool PutValue( const com::sun::star::uno::Any& rVal, sal_uInt8 nMemberId = 0 );
};
#endif
diff --git a/svx/inc/svx/sdtfsitm.hxx b/svx/inc/svx/sdtfsitm.hxx
index 8515605c79ef..9af3cf6197dc 100644..100755
--- a/svx/inc/svx/sdtfsitm.hxx
+++ b/svx/inc/svx/sdtfsitm.hxx
@@ -54,21 +54,21 @@ enum SdrFitToSizeType {
class SVX_DLLPUBLIC SdrTextFitToSizeTypeItem: public SfxEnumItem {
public:
TYPEINFO();
- SdrTextFitToSizeTypeItem(SdrFitToSizeType eFit=SDRTEXTFIT_NONE): SfxEnumItem(SDRATTR_TEXT_FITTOSIZE,(USHORT)eFit) {}
+ SdrTextFitToSizeTypeItem(SdrFitToSizeType eFit=SDRTEXTFIT_NONE): SfxEnumItem(SDRATTR_TEXT_FITTOSIZE,(sal_uInt16)eFit) {}
SdrTextFitToSizeTypeItem(SvStream& rIn) : SfxEnumItem(SDRATTR_TEXT_FITTOSIZE,rIn) {}
virtual SfxPoolItem* Clone(SfxItemPool* pPool=NULL) const;
- virtual SfxPoolItem* Create(SvStream& rIn, USHORT nVer) const;
- virtual USHORT GetValueCount() const; // { return 4; }
+ virtual SfxPoolItem* Create(SvStream& rIn, sal_uInt16 nVer) const;
+ virtual sal_uInt16 GetValueCount() const; // { return 4; }
SdrFitToSizeType GetValue() const { return (SdrFitToSizeType)SfxEnumItem::GetValue(); }
- virtual bool QueryValue( com::sun::star::uno::Any& rVal, BYTE nMemberId = 0 ) const;
- virtual bool PutValue( const com::sun::star::uno::Any& rVal, BYTE nMemberId = 0 );
+ virtual bool QueryValue( com::sun::star::uno::Any& rVal, sal_uInt8 nMemberId = 0 ) const;
+ virtual bool PutValue( const com::sun::star::uno::Any& rVal, sal_uInt8 nMemberId = 0 );
- virtual String GetValueTextByPos(USHORT nPos) const;
+ virtual String GetValueTextByPos(sal_uInt16 nPos) const;
virtual SfxItemPresentation GetPresentation(SfxItemPresentation ePres, SfxMapUnit eCoreMetric, SfxMapUnit ePresMetric, String& rText, const IntlWrapper * = 0) const;
virtual int HasBoolValue() const;
- virtual BOOL GetBoolValue() const;
- virtual void SetBoolValue(BOOL bVal);
+ virtual sal_Bool GetBoolValue() const;
+ virtual void SetBoolValue(sal_Bool bVal);
};
#endif
diff --git a/svx/inc/svx/sdtmfitm.hxx b/svx/inc/svx/sdtmfitm.hxx
index a7ae8a3b3a6a..a7ae8a3b3a6a 100644..100755
--- a/svx/inc/svx/sdtmfitm.hxx
+++ b/svx/inc/svx/sdtmfitm.hxx
diff --git a/svx/inc/svx/sdynitm.hxx b/svx/inc/svx/sdynitm.hxx
index c83c4dca5f88..860f9e09ea17 100644..100755
--- a/svx/inc/svx/sdynitm.hxx
+++ b/svx/inc/svx/sdynitm.hxx
@@ -41,11 +41,11 @@ class SVX_DLLPUBLIC SdrYesNoItem: public SfxBoolItem {
public:
TYPEINFO();
SdrYesNoItem(): SfxBoolItem() {}
- SdrYesNoItem(USHORT nId, BOOL bOn=FALSE): SfxBoolItem(nId,bOn) {}
- SdrYesNoItem(USHORT nId, SvStream& rIn): SfxBoolItem(nId,rIn) {}
+ SdrYesNoItem(sal_uInt16 nId, sal_Bool bOn=sal_False): SfxBoolItem(nId,bOn) {}
+ SdrYesNoItem(sal_uInt16 nId, SvStream& rIn): SfxBoolItem(nId,rIn) {}
virtual SfxPoolItem* Clone(SfxItemPool* pPool=NULL) const;
- virtual SfxPoolItem* Create(SvStream& rIn, USHORT nVer) const;
- virtual String GetValueTextByVal(BOOL bVal) const;
+ virtual SfxPoolItem* Create(SvStream& rIn, sal_uInt16 nVer) const;
+ virtual String GetValueTextByVal(sal_Bool bVal) const;
virtual SfxItemPresentation GetPresentation(SfxItemPresentation ePres, SfxMapUnit eCoreMetric, SfxMapUnit ePresMetric, String& rText, const IntlWrapper * = 0) const;
};
diff --git a/svx/inc/selctrl.hxx b/svx/inc/svx/selctrl.hxx
index 2b5c6671ee08..7ba8e19bd71d 100644..100755
--- a/svx/inc/selctrl.hxx
+++ b/svx/inc/svx/selctrl.hxx
@@ -38,19 +38,19 @@
class SVX_DLLPUBLIC SvxSelectionModeControl : public SfxStatusBarControl
{
public:
- virtual void StateChanged( USHORT nSID, SfxItemState eState,
+ virtual void StateChanged( sal_uInt16 nSID, SfxItemState eState,
const SfxPoolItem* pState );
virtual void Click();
virtual void Paint( const UserDrawEvent& rEvt );
SFX_DECL_STATUSBAR_CONTROL();
- SvxSelectionModeControl( USHORT nSlotId, USHORT nId, StatusBar& rStb );
+ SvxSelectionModeControl( sal_uInt16 nSlotId, sal_uInt16 nId, StatusBar& rStb );
- static ULONG GetDefItemWidth(const StatusBar& rStb);
+ static sal_uIntPtr GetDefItemWidth(const StatusBar& rStb);
private:
- USHORT nState;
+ sal_uInt16 nState;
#ifdef _SVX_SELCTRL_CXX
SVX_DLLPRIVATE void DrawItemText_Impl();
diff --git a/svx/inc/svx/selectioncontroller.hxx b/svx/inc/svx/selectioncontroller.hxx
index cb682e95f21c..cb682e95f21c 100644..100755
--- a/svx/inc/svx/selectioncontroller.hxx
+++ b/svx/inc/svx/selectioncontroller.hxx
diff --git a/svx/inc/svx/shapeproperty.hxx b/svx/inc/svx/shapeproperty.hxx
index ef2d97d7a5fd..ef2d97d7a5fd 100644..100755
--- a/svx/inc/svx/shapeproperty.hxx
+++ b/svx/inc/svx/shapeproperty.hxx
diff --git a/svx/inc/svx/shapepropertynotifier.hxx b/svx/inc/svx/shapepropertynotifier.hxx
index 684588be0fcd..684588be0fcd 100644..100755
--- a/svx/inc/svx/shapepropertynotifier.hxx
+++ b/svx/inc/svx/shapepropertynotifier.hxx
diff --git a/svx/inc/svx/simptabl.hxx b/svx/inc/svx/simptabl.hxx
index 6e984249b098..98020a97fcc4 100644..100755
--- a/svx/inc/svx/simptabl.hxx
+++ b/svx/inc/svx/simptabl.hxx
@@ -67,11 +67,11 @@ private:
SvxSimpTblContainer aPrivContainer;
HeaderBar aHeaderBar;
long nOldPos;
- USHORT nHeaderItemId;
- BOOL bResizeFlag;
- BOOL bPaintFlag;
- BOOL bSortDirection;
- USHORT nSortCol;
+ sal_uInt16 nHeaderItemId;
+ sal_Bool bResizeFlag;
+ sal_Bool bPaintFlag;
+ sal_Bool bSortDirection;
+ sal_uInt16 nSortCol;
Window* pMyParentWin;
DECL_LINK( StartDragHdl, HeaderBar* );
@@ -107,7 +107,7 @@ public:
~SvxSimpleTable();
void InsertHeaderEntry(const XubString& rText,
- USHORT nCol=HEADERBAR_APPEND,
+ sal_uInt16 nCol=HEADERBAR_APPEND,
HeaderBarItemBits nBits = HIB_STDSTYLE);
void SetTabs( long* pTabs, MapUnit = MAP_APPFONT );
@@ -132,11 +132,11 @@ public:
void ShowTable();
void HideTable();
- BOOL IsVisible() const;
+ sal_Bool IsVisible() const;
void EnableTable();
void DisableTable();
- BOOL IsEnabled() const;
+ sal_Bool IsEnabled() const;
void TableToTop();
void SetPosPixel( const Point& rNewPos );
@@ -149,11 +149,11 @@ public:
Size GetSizePixel() const;
Size GetOutputSizePixel() const;
- USHORT GetSelectedCol();
- void SortByCol(USHORT,BOOL bDir=TRUE);
- BOOL GetSortDirection(){ return bSortDirection;}
- USHORT GetSortedCol(){ return nSortCol;}
- SvLBoxItem* GetEntryAtPos( SvLBoxEntry* pEntry, USHORT nPos ) const;
+ sal_uInt16 GetSelectedCol();
+ void SortByCol(sal_uInt16,sal_Bool bDir=sal_True);
+ sal_Bool GetSortDirection(){ return bSortDirection;}
+ sal_uInt16 GetSortedCol(){ return nSortCol;}
+ SvLBoxItem* GetEntryAtPos( SvLBoxEntry* pEntry, sal_uInt16 nPos ) const;
CommandEvent GetCommandEvent()const;
inline sal_Bool IsFocusOnCellEnabled() const { return IsCellFocusEnabled(); }
@@ -167,7 +167,7 @@ public:
void SetHeaderBarDblClickHdl( const Link& rLink ) { aHeaderBarDblClickLink = rLink; }
const Link& GetHeaderBarDblClickHdl() const { return aHeaderBarDblClickLink; }
- void SetHeaderBarHelpId(ULONG nHelpId) {aHeaderBar.SetHelpId(nHelpId);}
+ void SetHeaderBarHelpId(const rtl::OString& rHelpId) {aHeaderBar.SetHelpId(rHelpId);}
};
diff --git a/svx/inc/svx/sphere3d.hxx b/svx/inc/svx/sphere3d.hxx
index f3727f66b626..d2a51d288186 100644..100755
--- a/svx/inc/svx/sphere3d.hxx
+++ b/svx/inc/svx/sphere3d.hxx
@@ -68,8 +68,8 @@ public:
sal_uInt32 GetVerticalSegments() const
{ return ((const Svx3DVerticalSegmentsItem&)GetObjectItemSet().Get(SDRATTR_3DOBJ_VERT_SEGS)).GetValue(); }
- virtual UINT16 GetObjIdentifier() const;
- virtual SdrObject* DoConvertToPolyObj(BOOL bBezier) const;
+ virtual sal_uInt16 GetObjIdentifier() const;
+ virtual SdrObject* DoConvertToPolyObj(sal_Bool bBezier) const;
virtual void operator=(const SdrObject&);
diff --git a/svx/inc/svx/splitcelldlg.hxx b/svx/inc/svx/splitcelldlg.hxx
index 917058f0301a..4d3e4b1ebdeb 100644..100755
--- a/svx/inc/svx/splitcelldlg.hxx
+++ b/svx/inc/svx/splitcelldlg.hxx
@@ -30,7 +30,7 @@
#include <vcl/fixed.hxx>
#include <vcl/field.hxx>
-#include <vcl/imagebtn.hxx>
+#include <vcl/button.hxx>
#include <vcl/button.hxx>
#include <svx/stddlg.hxx>
diff --git a/svx/inc/srchdlg.hxx b/svx/inc/svx/srchdlg.hxx
index b8975bca4a51..fc42ce81c067 100644..100755
--- a/svx/inc/srchdlg.hxx
+++ b/svx/inc/svx/srchdlg.hxx
@@ -65,7 +65,7 @@ struct SearchDlg_Impl;
struct SearchAttrItem
{
- USHORT nSlot;
+ sal_uInt16 nSlot;
SfxPoolItem* pItem;
};
@@ -83,17 +83,17 @@ public:
void Put( const SfxItemSet& rSet );
SfxItemSet& Get( SfxItemSet& rSet );
void Clear();
- USHORT Count() const { return SrchAttrItemList::Count(); }
- SearchAttrItem& operator[](USHORT nPos) const
+ sal_uInt16 Count() const { return SrchAttrItemList::Count(); }
+ SearchAttrItem& operator[](sal_uInt16 nPos) const
{ return SrchAttrItemList::operator[]( nPos ); }
- SearchAttrItem& GetObject( USHORT nPos ) const
+ SearchAttrItem& GetObject( sal_uInt16 nPos ) const
{ return SrchAttrItemList::GetObject( nPos ); }
// the pointer to the item is not being copierd, so don't delete
void Insert( const SearchAttrItem& rItem )
{ SrchAttrItemList::Insert( rItem, SrchAttrItemList::Count() ); }
// deletes the pointer to the items
- void Remove( USHORT nPos, USHORT nLen = 1 );
+ void Remove( sal_uInt16 nPos, sal_uInt16 nLen = 1 );
};
#ifndef SV_NODIALOG
@@ -108,7 +108,7 @@ class SVX_DLLPUBLIC SvxSearchDialogWrapper : public SfxChildWindow
{
SvxSearchDialog *dialog;
public:
- SvxSearchDialogWrapper( Window*pParent, USHORT nId,
+ SvxSearchDialogWrapper( Window*pParent, sal_uInt16 nId,
SfxBindings* pBindings, SfxChildWinInfo* pInfo );
~SvxSearchDialogWrapper ();
@@ -119,7 +119,7 @@ public:
// class SvxSearchDialog -------------------------------------------------
/*
- {k:\svx\prototyp\dialog\srchdlg.hxx}
+ {k:\svx\prototyp\dialog\svx/srchdlg.hxx}
[Description]
In this modeless dialog the attributes for a search are configured
@@ -141,7 +141,7 @@ public:
SvxSearchDialog( Window* pParent, SfxChildWindow* pChildWin, SfxBindings& rBind );
~SvxSearchDialog();
- virtual BOOL Close();
+ virtual sal_Bool Close();
// Window
virtual void Activate();
@@ -154,12 +154,12 @@ public:
const SearchAttrItemList* GetReplaceItemList() const
{ return pReplaceList; }
- inline BOOL HasSearchAttributes() const;
- inline BOOL HasReplaceAttributes() const;
+ inline sal_Bool HasSearchAttributes() const;
+ inline sal_Bool HasReplaceAttributes() const;
PushButton& GetReplaceBtn() { return aReplaceBtn; }
- INT32 GetTransliterationFlags() const;
+ sal_Int32 GetTransliterationFlags() const;
void SetSaveToModule(bool b);
@@ -217,14 +217,14 @@ private:
CheckBox aAllSheetsCB;
SfxBindings& rBindings;
- BOOL bWriter;
- BOOL bSearch;
- BOOL bFormat;
- USHORT nOptions;
+ sal_Bool bWriter;
+ sal_Bool bSearch;
+ sal_Bool bFormat;
+ sal_uInt16 nOptions;
bool bSet;
bool bReadOnly;
bool bConstruct;
- ULONG nModifyFlag;
+ sal_uIntPtr nModifyFlag;
String aStylesStr;
String aLayoutStr;
LocalizedString aCalcStr;
@@ -243,7 +243,7 @@ private:
SvxSearchController* pSearchSetController;
SvxSearchController* pReplaceSetController;
- mutable INT32 nTransliterationFlags;
+ mutable sal_Int32 nTransliterationFlags;
#ifdef _SVX_SRCHDLG_CXX
DECL_LINK( ModifyHdl_Impl, ComboBox* pEdit );
@@ -263,31 +263,31 @@ private:
void Init_Impl( int bHasItemSet );
void InitAttrList_Impl( const SfxItemSet* pSSet,
const SfxItemSet* pRSet );
- void Remember_Impl( const String &rStr,BOOL bSearch );
+ void Remember_Impl( const String &rStr,sal_Bool bSearch );
void PaintAttrText_Impl();
- String& BuildAttrText_Impl( String& rStr, BOOL bSrchFlag ) const;
+ String& BuildAttrText_Impl( String& rStr, sal_Bool bSrchFlag ) const;
void TemplatesChanged_Impl( SfxStyleSheetBasePool& rPool );
- void EnableControls_Impl( const USHORT nFlags );
+ void EnableControls_Impl( const sal_uInt16 nFlags );
void EnableControl_Impl( Control* pCtrl );
void SetItem_Impl( const SvxSearchItem* pItem );
void SetModifyFlag_Impl( const Control* pCtrl );
void SaveToModule_Impl();
- void ApplyTransliterationFlags_Impl( INT32 nSettings );
+ void ApplyTransliterationFlags_Impl( sal_Int32 nSettings );
#endif
};
#include <sfx2/layout-post.hxx>
-inline BOOL SvxSearchDialog::HasSearchAttributes() const
+inline sal_Bool SvxSearchDialog::HasSearchAttributes() const
{
int bLen = aSearchAttrText.GetText().Len();
return ( aSearchAttrText.IsEnabled() && bLen );
}
-inline BOOL SvxSearchDialog::HasReplaceAttributes() const
+inline sal_Bool SvxSearchDialog::HasReplaceAttributes() const
{
int bLen = aReplaceAttrText.GetText().Len();
return ( aReplaceAttrText.IsEnabled() && bLen );
diff --git a/svx/inc/svx/stddlg.hxx b/svx/inc/svx/stddlg.hxx
index a4c5b674755d..a4c5b674755d 100644..100755
--- a/svx/inc/svx/stddlg.hxx
+++ b/svx/inc/svx/stddlg.hxx
diff --git a/svx/inc/svx/strarray.hxx b/svx/inc/svx/strarray.hxx
index ba2d62e53bd2..ba2d62e53bd2 100644..100755
--- a/svx/inc/svx/strarray.hxx
+++ b/svx/inc/svx/strarray.hxx
diff --git a/svx/inc/svx/subtoolboxcontrol.hxx b/svx/inc/svx/subtoolboxcontrol.hxx
index 20b88d3ddf0c..754476650eb7 100644..100755
--- a/svx/inc/svx/subtoolboxcontrol.hxx
+++ b/svx/inc/svx/subtoolboxcontrol.hxx
@@ -41,7 +41,7 @@ class SVX_DLLPUBLIC SvxSubToolBoxControl : public SfxToolBoxControl
public:
SFX_DECL_TOOLBOX_CONTROL();
- SvxSubToolBoxControl( USHORT nSlotId, USHORT nId, ToolBox& rTbx );
+ SvxSubToolBoxControl( sal_uInt16 nSlotId, sal_uInt16 nId, ToolBox& rTbx );
~SvxSubToolBoxControl();
virtual SfxPopupWindowType GetPopupWindowType() const;
diff --git a/svx/inc/svx/svdattr.hxx b/svx/inc/svx/svdattr.hxx
index 43ccab00621d..43ccab00621d 100644..100755
--- a/svx/inc/svx/svdattr.hxx
+++ b/svx/inc/svx/svdattr.hxx
diff --git a/svx/inc/svx/svdattrx.hxx b/svx/inc/svx/svdattrx.hxx
index 1fd7fed05b23..1fd7fed05b23 100644..100755
--- a/svx/inc/svx/svdattrx.hxx
+++ b/svx/inc/svx/svdattrx.hxx
diff --git a/svx/inc/svx/svdcrtv.hxx b/svx/inc/svx/svdcrtv.hxx
index 237834ea7b49..3e2993bdfe76 100644..100755
--- a/svx/inc/svx/svdcrtv.hxx
+++ b/svx/inc/svx/svdcrtv.hxx
@@ -72,10 +72,10 @@ protected:
Pointer aAktCreatePointer;
- INT32 nAutoCloseDistPix;
- INT32 nFreeHandMinDistPix;
- UINT32 nAktInvent; // Aktuell eingestelltes
- UINT16 nAktIdent; // Obj fuer Neuerzeugung
+ sal_Int32 nAutoCloseDistPix;
+ sal_Int32 nFreeHandMinDistPix;
+ sal_uInt32 nAktInvent; // Aktuell eingestelltes
+ sal_uInt16 nAktIdent; // Obj fuer Neuerzeugung
unsigned bAutoTextEdit : 1; // Textedit nach dem erzeugen eines Textrahmens starten
unsigned b1stPointAsCenter : 1;
@@ -93,9 +93,9 @@ protected:
sal_Bool ImpBegCreateObj(sal_uInt32 nInvent, sal_uInt16 nIdent, const Point& rPnt, OutputDevice* pOut,
sal_Int16 nMinMov, SdrPageView* pPV, const Rectangle& rLogRect, SdrObject* pPreparedFactoryObject);
- void ShowCreateObj(/*OutputDevice* pOut, BOOL bFull*/);
- void HideCreateObj(/*OutputDevice* pOut, BOOL bFull*/);
- BOOL CheckEdgeMode();
+ void ShowCreateObj(/*OutputDevice* pOut, sal_Bool bFull*/);
+ void HideCreateObj(/*OutputDevice* pOut, sal_Bool bFull*/);
+ sal_Bool CheckEdgeMode();
protected:
// #i71538# make constructors of SdrView sub-components protected to avoid incomplete incarnations which may get casted to SdrView
@@ -103,14 +103,14 @@ protected:
virtual ~SdrCreateView();
public:
- virtual BOOL IsAction() const;
+ virtual sal_Bool IsAction() const;
virtual void MovAction(const Point& rPnt);
virtual void EndAction();
virtual void BckAction();
virtual void BrkAction();
virtual void TakeActionRect(Rectangle& rRect) const;
- virtual BOOL MouseMove(const MouseEvent& rMEvt, Window* pWin);
+ virtual sal_Bool MouseMove(const MouseEvent& rMEvt, Window* pWin);
void SetActiveLayer(const String& rName) { aAktLayer=rName; }
const String& GetActiveLayer() const { return aAktLayer; }
@@ -120,70 +120,70 @@ public:
// Ist der MeasureLayer nicht gesetzt (Leerstring), so
// wird der ActiveLayer auch fuer Bemassung verwendet.
void SetEditMode(SdrViewEditMode eMode) { SdrDragView::SetEditMode(eMode); CheckEdgeMode(); }
- void SetEditMode(BOOL bOn=TRUE) { SdrDragView::SetEditMode(bOn); CheckEdgeMode(); }
- void SetCreateMode(BOOL bOn=TRUE) { SdrDragView::SetCreateMode(bOn); CheckEdgeMode(); }
- void SetGluePointEditMode(BOOL bOn=TRUE) { SdrDragView::SetGluePointEditMode(bOn); CheckEdgeMode(); }
+ void SetEditMode(sal_Bool bOn=sal_True) { SdrDragView::SetEditMode(bOn); CheckEdgeMode(); }
+ void SetCreateMode(sal_Bool bOn=sal_True) { SdrDragView::SetCreateMode(bOn); CheckEdgeMode(); }
+ void SetGluePointEditMode(sal_Bool bOn=sal_True) { SdrDragView::SetGluePointEditMode(bOn); CheckEdgeMode(); }
// Feststellen, ob Textwerkzeug aktiviert
- BOOL IsTextTool() const;
+ sal_Bool IsTextTool() const;
// Feststellen, ob Objektverbinderwerkzeug aktiviert
- BOOL IsEdgeTool() const;
+ sal_Bool IsEdgeTool() const;
// Feststellen, ob Bemassungswerkzeug aktiviert
- BOOL IsMeasureTool() const;
+ sal_Bool IsMeasureTool() const;
- void SetCurrentObj(UINT16 nIdent, UINT32 nInvent=SdrInventor);
- void TakeCurrentObj(UINT16& nIdent, UINT32& nInvent) const { nInvent=nAktInvent; nIdent=nAktIdent; }
- UINT32 GetCurrentObjInventor() const { return nAktInvent; }
- UINT16 GetCurrentObjIdentifier() const { return nAktIdent; }
+ void SetCurrentObj(sal_uInt16 nIdent, sal_uInt32 nInvent=SdrInventor);
+ void TakeCurrentObj(sal_uInt16& nIdent, sal_uInt32& nInvent) const { nInvent=nAktInvent; nIdent=nAktIdent; }
+ sal_uInt32 GetCurrentObjInventor() const { return nAktInvent; }
+ sal_uInt16 GetCurrentObjIdentifier() const { return nAktIdent; }
// Starten des normalen Create
- BOOL BegCreateObj(const Point& rPnt, OutputDevice* pOut=NULL, short nMinMov=-3, SdrPageView* pPV=NULL);
+ sal_Bool BegCreateObj(const Point& rPnt, OutputDevice* pOut=NULL, short nMinMov=-3, SdrPageView* pPV=NULL);
sal_Bool BegCreatePreparedObject(const Point& rPnt, sal_Int16 nMinMov, SdrObject* pPreparedFactoryObject);
void MovCreateObj(const Point& rPnt);
- BOOL EndCreateObj(SdrCreateCmd eCmd);
+ sal_Bool EndCreateObj(SdrCreateCmd eCmd);
void BckCreateObj(); // z.B. wieder 1 Polygonpunkt zurueck.
void BrkCreateObj();
- BOOL IsCreateObj() const { return pAktCreate!=NULL; }
+ sal_Bool IsCreateObj() const { return pAktCreate!=NULL; }
SdrObject* GetCreateObj() const { return pAktCreate; }
// BegCreateCaptionObj() erzeugt ein SdrCaptionObj (Legendenobjekt).
// rObjSiz ist die anfaengliche Groesse des Legenden-Textrahmens.
// gedraggd wird lediglich die Laenge des Zipfel.
- BOOL BegCreateCaptionObj(const Point& rPnt, const Size& rObjSiz, OutputDevice* pOut=NULL, short nMinMov=-3, SdrPageView* pPV=NULL);
+ sal_Bool BegCreateCaptionObj(const Point& rPnt, const Size& rObjSiz, OutputDevice* pOut=NULL, short nMinMov=-3, SdrPageView* pPV=NULL);
- // Wenn TextEditAfterCreate auf TRUE steht (das ist der Default),
+ // Wenn TextEditAfterCreate auf sal_True steht (das ist der Default),
// dann wird nach dem erzeugen eines Textrahmenobjekts (OBJ_TEXT,
// OBJ_TEXTEXT, OBJ_OUTLINERTEXT, OBJ_TITLETEXT, OBJ_CAPTION)
// automatisch ein TextEdit (SdrObjEditView::SdrBeginTextEdit) gestartet.
- BOOL IsTextEditAfterCreate() const { return bAutoTextEdit; }
- void SetTextEditAfterCreate(BOOL bOn) { bAutoTextEdit = bOn; }
+ sal_Bool IsTextEditAfterCreate() const { return bAutoTextEdit; }
+ void SetTextEditAfterCreate(sal_Bool bOn) { bAutoTextEdit = bOn; }
// Erzeugen eines Kreises/Rechtecks/Textrahmens wobei der 1. Punkt
// nicht die linke obere Ecke, sondern das Zentrum des Objekts vorgibt.
// Persistentes Flag. Default=FALSE.
- BOOL IsCreate1stPointAsCenter() const { return b1stPointAsCenter; }
- void SetCreate1stPointAsCenter(BOOL bOn) { b1stPointAsCenter = bOn; }
+ sal_Bool IsCreate1stPointAsCenter() const { return b1stPointAsCenter; }
+ void SetCreate1stPointAsCenter(sal_Bool bOn) { b1stPointAsCenter = bOn; }
// Fuer Polylines (OBJ_PLIN) und Freihandlinien (OBJ_FREELINE). Ist dieses
- // Flag TRUE, werden diese beiden Objekttypen implizit geschlossen und in
+ // Flag sal_True, werden diese beiden Objekttypen implizit geschlossen und in
// Polygon (OBJ_POLY) bzw. Freihandflaeche (OBJ_FREEFILL) gewandelt falls
// zum Ende des Create die Distanz zwischen Startpunkt und Endpunkt des
// Objekts <=n Pixel ist, wobei SetAutoCloseDistPix vorgegeben wird.
// Default=TRUE.
- BOOL IsAutoClosePolys() const { return bAutoClosePolys; }
- void SetAutoClosePolys(BOOL bOn) { bAutoClosePolys=bOn; }
+ sal_Bool IsAutoClosePolys() const { return bAutoClosePolys; }
+ void SetAutoClosePolys(sal_Bool bOn) { bAutoClosePolys=bOn; }
// Default=5 Pixel.
- USHORT GetAutoCloseDistPix() const { return USHORT(nAutoCloseDistPix); }
- void SetAutoCloseDistPix(USHORT nVal) { nAutoCloseDistPix=nVal; }
+ sal_uInt16 GetAutoCloseDistPix() const { return sal_uInt16(nAutoCloseDistPix); }
+ void SetAutoCloseDistPix(sal_uInt16 nVal) { nAutoCloseDistPix=nVal; }
// Vorgabe des minimalen Pixelabstands zwischen 2 Bezierpunkten bei der
// Erzeugung einer Freihandlinie.
// Default=10 Pixel.
- USHORT GetFreeHandMinDistPix() const { return USHORT(nFreeHandMinDistPix); }
- void SetFreeHandMinDistPix(USHORT nVal) { nFreeHandMinDistPix=nVal; }
+ sal_uInt16 GetFreeHandMinDistPix() const { return sal_uInt16(nFreeHandMinDistPix); }
+ void SetFreeHandMinDistPix(sal_uInt16 nVal) { nFreeHandMinDistPix=nVal; }
// Wer das (zur restlichen Create-Funktionalitaet von SvDraw) inkompatible
// Create-Interface am PathObj beibehalten moechte muss das nachfolgende
@@ -191,19 +191,19 @@ public:
// OBJ_POLY, OBJ_PLIN, OBJ_PATHLINE, OBJ_PATHFILL
// Dieses Flag hat nur voruebergehenden Character. Die betroffenen
// Applikationen sollten alsbald umgestellt werden.
- // Default=FALSE;
- BOOL IsUseIncompatiblePathCreateInterface() const { return bUseIncompatiblePathCreateInterface; }
- void SetUseIncompatiblePathCreateInterface(BOOL bOn) { bUseIncompatiblePathCreateInterface = bOn; }
+ // Default=sal_False;
+ sal_Bool IsUseIncompatiblePathCreateInterface() const { return bUseIncompatiblePathCreateInterface; }
+ void SetUseIncompatiblePathCreateInterface(sal_Bool bOn) { bUseIncompatiblePathCreateInterface = bOn; }
void SetConnectMarker(const SdrObjConnection& rCon, const SdrPageView& rPV);
void HideConnectMarker();
// Attribute des ggf. gerade in der Erzeugung befindlichen Objekts
/* new interface src537 */
- BOOL GetAttributes(SfxItemSet& rTargetSet, BOOL bOnlyHardAttr=FALSE) const;
+ sal_Bool GetAttributes(SfxItemSet& rTargetSet, sal_Bool bOnlyHardAttr=sal_False) const;
- BOOL SetAttributes(const SfxItemSet& rSet, BOOL bReplaceAll);
- SfxStyleSheet* GetStyleSheet() const; // SfxStyleSheet* GetStyleSheet(BOOL& rOk) const;
- BOOL SetStyleSheet(SfxStyleSheet* pStyleSheet, BOOL bDontRemoveHardAttr);
+ sal_Bool SetAttributes(const SfxItemSet& rSet, sal_Bool bReplaceAll);
+ SfxStyleSheet* GetStyleSheet() const; // SfxStyleSheet* GetStyleSheet(sal_Bool& rOk) const;
+ sal_Bool SetStyleSheet(SfxStyleSheet* pStyleSheet, sal_Bool bDontRemoveHardAttr);
};
#endif //_SVDCRTV_HXX
diff --git a/svx/inc/svx/svddef.hxx b/svx/inc/svx/svddef.hxx
index 93933bef4ead..9310817af71f 100644..100755
--- a/svx/inc/svx/svddef.hxx
+++ b/svx/inc/svx/svddef.hxx
@@ -96,7 +96,7 @@
#define SDRATTR_MISC_FIRST (SDRATTR_CAPTION_LAST + 1) /* 1097 */ /* 1097 */ /* 1080 */ /* Pool V1: 1053 */
#define SDRATTR_ECKENRADIUS (SDRATTR_MISC_FIRST + 0) /* 1097 */ /* 1097 */ /* 1080 long, def=0 */
#define SDRATTR_TEXT_MINFRAMEHEIGHT (SDRATTR_MISC_FIRST + 1) /* 1098 */ /* 1098 */ /* 1081 long, def=0 */
-#define SDRATTR_TEXT_AUTOGROWHEIGHT (SDRATTR_MISC_FIRST + 2) /* 1099 */ /* 1099 */ /* 1082 BOOL, def=TRUE */
+#define SDRATTR_TEXT_AUTOGROWHEIGHT (SDRATTR_MISC_FIRST + 2) /* 1099 */ /* 1099 */ /* 1082 sal_Bool, def=sal_True */
#define SDRATTR_TEXT_FITTOSIZE (SDRATTR_MISC_FIRST + 3) /* 1100 */ /* 1100 */ /* 1083 enum, def=SDRTEXTFIT_NONE */
#define SDRATTR_TEXT_LEFTDIST (SDRATTR_MISC_FIRST + 4) /* 1101 */ /* 1101 */ /* 1084 long, def=0 */ /* Pool V2 */
#define SDRATTR_TEXT_RIGHTDIST (SDRATTR_MISC_FIRST + 5) /* 1102 */ /* 1102 */ /* 1085 long, def=0 */ /* Pool V2 */
@@ -106,15 +106,15 @@
#define SDRATTR_TEXT_MAXFRAMEHEIGHT (SDRATTR_MISC_FIRST + 9) /* 1106 */ /* 1106 */ /* 1089 long, def=0 - Pool V2 */
#define SDRATTR_TEXT_MINFRAMEWIDTH (SDRATTR_MISC_FIRST +10) /* 1107 */ /* 1107 */ /* 1090 long, def=0 - Pool V2 */
#define SDRATTR_TEXT_MAXFRAMEWIDTH (SDRATTR_MISC_FIRST +11) /* 1108 */ /* 1108 */ /* 1091 long, def=0 - Pool V2 */
-#define SDRATTR_TEXT_AUTOGROWWIDTH (SDRATTR_MISC_FIRST +12) /* 1109 */ /* 1109 */ /* 1092 BOOL, def=FALSE - Pool V2 */
+#define SDRATTR_TEXT_AUTOGROWWIDTH (SDRATTR_MISC_FIRST +12) /* 1109 */ /* 1109 */ /* 1092 sal_Bool, def=sal_False - Pool V2 */
#define SDRATTR_TEXT_HORZADJUST (SDRATTR_MISC_FIRST +13) /* 1110 */ /* 1110 */ /* 1093 enum, def=SDRTEXTHORZADJUST_LEFT */ /* Pool V2+ (04-12-1995) */
#define SDRATTR_TEXT_ANIKIND (SDRATTR_MISC_FIRST +14) /* 1111 */ /* 1111 */ /* 1094 enum, def=SDRTEXTANI_NONE - Pool V2/V4 */
#define SDRATTR_TEXT_ANIDIRECTION (SDRATTR_MISC_FIRST +15) /* 1112 */ /* 1112 */ /* 1095 enum, def=SDRTEXTANI_LEFT - Pool V2/V4 */
-#define SDRATTR_TEXT_ANISTARTINSIDE (SDRATTR_MISC_FIRST +16) /* 1113 */ /* 1113 */ /* 1096 BOOL, def=FALSE - Pool V2/V4 */
-#define SDRATTR_TEXT_ANISTOPINSIDE (SDRATTR_MISC_FIRST +17) /* 1114 */ /* 1114 */ /* 1097 BOOL, def=FALSE - Pool V2/V4 */
-#define SDRATTR_TEXT_ANICOUNT (SDRATTR_MISC_FIRST +18) /* 1115 */ /* 1115 */ /* 1098 USHORT, def=0 - Pool V2/V4 */
-#define SDRATTR_TEXT_ANIDELAY (SDRATTR_MISC_FIRST +19) /* 1116 */ /* 1116 */ /* 1099 USHORT, def=0 - Pool V2/V4 */
-#define SDRATTR_TEXT_ANIAMOUNT (SDRATTR_MISC_FIRST +20) /* 1117 */ /* 1117 */ /* 1100 USHORT, def=0 - Pool V2/V4 */
+#define SDRATTR_TEXT_ANISTARTINSIDE (SDRATTR_MISC_FIRST +16) /* 1113 */ /* 1113 */ /* 1096 sal_Bool, def=sal_False - Pool V2/V4 */
+#define SDRATTR_TEXT_ANISTOPINSIDE (SDRATTR_MISC_FIRST +17) /* 1114 */ /* 1114 */ /* 1097 sal_Bool, def=sal_False - Pool V2/V4 */
+#define SDRATTR_TEXT_ANICOUNT (SDRATTR_MISC_FIRST +18) /* 1115 */ /* 1115 */ /* 1098 sal_uInt16, def=0 - Pool V2/V4 */
+#define SDRATTR_TEXT_ANIDELAY (SDRATTR_MISC_FIRST +19) /* 1116 */ /* 1116 */ /* 1099 sal_uInt16, def=0 - Pool V2/V4 */
+#define SDRATTR_TEXT_ANIAMOUNT (SDRATTR_MISC_FIRST +20) /* 1117 */ /* 1117 */ /* 1100 sal_uInt16, def=0 - Pool V2/V4 */
#define SDRATTR_TEXT_CONTOURFRAME (SDRATTR_MISC_FIRST +21) /* 1118 */ /* 1118 */ /* 1101 */ /* Pool V2 */
#define SDRATTR_CUSTOMSHAPE_ADJUSTMENT (SDRATTR_MISC_FIRST +22) /* 1119 */ /* 1119 */ /* 1102 */ /* Pool V2 */
#define SDRATTR_XMLATTRIBUTES (SDRATTR_MISC_FIRST +23) /* 1120 */ /* 1120 */ /* 1103 */ /* Pool V2 */
@@ -169,10 +169,10 @@
// Nur fuer Interfaceing, not implemented yet. /* V4+ */
#define SDRATTR_NOTPERSIST_FIRST (SDRATTR_CIRC_LAST + 1) /* 1180 */ /* 1172 */ /* 1127 */ /* 1110 */ /* Pool V1: 1058 */
-#define SDRATTR_OBJMOVEPROTECT (SDRATTR_NOTPERSIST_FIRST+ 0) /* 1180 BOOL, def=FALSE */
-#define SDRATTR_OBJSIZEPROTECT (SDRATTR_NOTPERSIST_FIRST+ 1) /* 1181 BOOL, def=FALSE */
-#define SDRATTR_OBJPRINTABLE (SDRATTR_NOTPERSIST_FIRST+ 2) /* 1182 BOOL, def=TRUE */
-#define SDRATTR_LAYERID (SDRATTR_NOTPERSIST_FIRST+ 3) /* 1183 USHORT, def=0 */
+#define SDRATTR_OBJMOVEPROTECT (SDRATTR_NOTPERSIST_FIRST+ 0) /* 1180 sal_Bool, def=sal_False */
+#define SDRATTR_OBJSIZEPROTECT (SDRATTR_NOTPERSIST_FIRST+ 1) /* 1181 sal_Bool, def=sal_False */
+#define SDRATTR_OBJPRINTABLE (SDRATTR_NOTPERSIST_FIRST+ 2) /* 1182 sal_Bool, def=sal_True */
+#define SDRATTR_LAYERID (SDRATTR_NOTPERSIST_FIRST+ 3) /* 1183 sal_uInt16, def=0 */
#define SDRATTR_LAYERNAME (SDRATTR_NOTPERSIST_FIRST+ 4) /* 1184 String, def="" */
#define SDRATTR_OBJECTNAME (SDRATTR_NOTPERSIST_FIRST+ 5) /* 1185 String, def="" */
#define SDRATTR_ALLPOSITIONX (SDRATTR_NOTPERSIST_FIRST+ 6) /* 1186 long, def=0 */
diff --git a/svx/inc/svx/svddrag.hxx b/svx/inc/svx/svddrag.hxx
index d5636122c772..8ce675e08a95 100644..100755
--- a/svx/inc/svx/svddrag.hxx
+++ b/svx/inc/svx/svddrag.hxx
@@ -85,7 +85,7 @@ protected:
void* aReservePtr4;
bool bShown; // Xor sichrbar?
- USHORT nMinMov; // Soviel muss erstmal minimal bewegt werden
+ sal_uInt16 nMinMov; // Soviel muss erstmal minimal bewegt werden
bool bMinMoved; // MinMove durchbrochen?
bool bHorFixed; // nur Vertikal draggen
@@ -99,19 +99,19 @@ protected:
protected:
void Clear(bool bLeaveOne);
- Point& Pnt(ULONG nNum) { return *((Point*)aPnts.GetObject(nNum)); }
+ Point& Pnt(sal_uIntPtr nNum) { return *((Point*)aPnts.GetObject(nNum)); }
//public:
SdrDragStatUserData* pUser; // Userdata
public:
SdrDragStat(): aPnts(1024,16,16) { pUser=NULL; Reset(); }
- ~SdrDragStat() { Clear(FALSE); }
+ ~SdrDragStat() { Clear(sal_False); }
void Reset();
SdrView* GetView() const { return pView; }
void SetView(SdrView* pV) { pView=pV; }
SdrPageView* GetPageView() const { return pPageView; }
void SetPageView(SdrPageView* pPV) { pPageView=pPV; }
- const Point& GetPoint(ULONG nNum) const { return *((Point*)aPnts.GetObject(nNum)); }
- ULONG GetPointAnz() const { return aPnts.Count(); }
+ const Point& GetPoint(sal_uIntPtr nNum) const { return *((Point*)aPnts.GetObject(nNum)); }
+ sal_uIntPtr GetPointAnz() const { return aPnts.Count(); }
const Point& GetStart() const { return GetPoint(0); }
Point& Start() { return Pnt(0); }
const Point& GetPrev() const { return GetPoint(GetPointAnz()-(GetPointAnz()>=2 ? 2:1)); }
@@ -134,10 +134,10 @@ public:
void SetShown(bool bOn) { bShown=bOn; }
bool IsMinMoved() const { return bMinMoved; }
- void SetMinMoved() { bMinMoved=TRUE; }
- void ResetMinMoved() { bMinMoved=FALSE; }
- void SetMinMove(USHORT nDist) { nMinMov=nDist; if (nMinMov<1) nMinMov=1; }
- USHORT GetMinMove() const { return nMinMov; }
+ void SetMinMoved() { bMinMoved=sal_True; }
+ void ResetMinMoved() { bMinMoved=sal_False; }
+ void SetMinMove(sal_uInt16 nDist) { nMinMov=nDist; if (nMinMov<1) nMinMov=1; }
+ sal_uInt16 GetMinMove() const { return nMinMov; }
bool IsHorFixed() const { return bHorFixed; }
void SetHorFixed(bool bOn) { bHorFixed=bOn; }
@@ -171,7 +171,7 @@ public:
Point KorregPos(const Point& rNow, const Point& rPrev) const;
void Reset(const Point& rPnt);
void NextMove(const Point& rPnt);
- void NextPoint(bool bSaveReal=FALSE);
+ void NextPoint(bool bSaveReal=sal_False);
void PrevPoint();
bool CheckMinMoved(const Point& rPnt);
long GetDX() const { return GetNow().X()-GetPrev().X(); }
diff --git a/svx/inc/svx/svddrgmt.hxx b/svx/inc/svx/svddrgmt.hxx
index d1e9d682c10e..d1e9d682c10e 100644..100755
--- a/svx/inc/svx/svddrgmt.hxx
+++ b/svx/inc/svx/svddrgmt.hxx
diff --git a/svx/inc/svx/svddrgv.hxx b/svx/inc/svx/svddrgv.hxx
index b68cae5f2011..6c980399e9e1 100644..100755
--- a/svx/inc/svx/svddrgv.hxx
+++ b/svx/inc/svx/svddrgv.hxx
@@ -68,10 +68,10 @@ protected:
SdrMarkList aFollowingEdges; // Wenn Knoten gedraggd werden, sollen alle Kanten als Xor folgen
SdrHdlKind eDragHdl;
- ULONG nDragXorPolyLimit;
- ULONG nDragXorPointLimit;
- USHORT nRubberEdgeDraggingLimit;
- USHORT nDetailedEdgeDraggingLimit;
+ sal_uIntPtr nDragXorPolyLimit;
+ sal_uIntPtr nDragXorPointLimit;
+ sal_uInt16 nRubberEdgeDraggingLimit;
+ sal_uInt16 nDetailedEdgeDraggingLimit;
unsigned bFramDrag : 1; // z.Zt. FrameDrag
unsigned bDragSpecial : 1; // z.Zt. Special Obj-Dragging
@@ -111,7 +111,7 @@ protected:
virtual ~SdrDragView();
public:
- virtual BOOL IsAction() const;
+ virtual sal_Bool IsAction() const;
virtual void MovAction(const Point& rPnt);
virtual void EndAction();
virtual void BckAction();
@@ -125,72 +125,72 @@ public:
// In der Regel ist das die linke obere Ecke des zu erwartenden neuen
// SnapRects. Ausnahme: CaptionObj. Dort ist es die Position des
// "Schwanzendes".
- // Bei Returncode FALSE konnte ich die Position nicht bestimmen
+ // Bei Returncode sal_False konnte ich die Position nicht bestimmen
// (z.B. Punktverschiebung, Mehrfachselektion, Schieben der
// Spiegelschse, ...)
- BOOL TakeDragObjAnchorPos(Point& rPos, BOOL bTopRight = FALSE ) const;
+ sal_Bool TakeDragObjAnchorPos(Point& rPos, sal_Bool bTopRight = sal_False ) const;
// Wird pForcedMeth uebergeben, so wird pHdl, ... nicht ausgewerten, sondern diese
// Drag-Methode verwendet. Die Instanz geht dabei ins Eigentum der View ueber und
// wird zum Ende des Draggings destruiert.
- virtual BOOL BegDragObj(const Point& rPnt, OutputDevice* pOut=NULL, SdrHdl* pHdl=NULL, short nMinMov=-3, SdrDragMethod* pForcedMeth=NULL);
+ virtual sal_Bool BegDragObj(const Point& rPnt, OutputDevice* pOut=NULL, SdrHdl* pHdl=NULL, short nMinMov=-3, SdrDragMethod* pForcedMeth=NULL);
void MovDragObj(const Point& rPnt);
- BOOL EndDragObj(BOOL bCopy=FALSE);
+ sal_Bool EndDragObj(sal_Bool bCopy=sal_False);
void BrkDragObj();
- BOOL IsDragObj() const { return mpCurrentSdrDragMethod && !bInsPolyPoint && !bInsGluePoint; }
+ sal_Bool IsDragObj() const { return mpCurrentSdrDragMethod && !bInsPolyPoint && !bInsGluePoint; }
SdrHdl* GetDragHdl() const { return pDragHdl; }
SdrDragMethod* GetDragMethod() const { return mpCurrentSdrDragMethod; }
- BOOL IsDraggingPoints() const { return eDragHdl==HDL_POLY; }
- BOOL IsDraggingGluePoints() const { return eDragHdl==HDL_GLUE; }
+ sal_Bool IsDraggingPoints() const { return eDragHdl==HDL_POLY; }
+ sal_Bool IsDraggingGluePoints() const { return eDragHdl==HDL_GLUE; }
// Wer das beim BegDrag oder mittendrin schon festlegen will.
- // (Wird bei jedem BegDrag auf FALSE zurueckgesetzt, also nach
+ // (Wird bei jedem BegDrag auf sal_False zurueckgesetzt, also nach
// BegDrag setzen.)
- void SetDragWithCopy(BOOL bOn) { bDragWithCopy = bOn; }
- BOOL IsDragWithCopy() const { return bDragWithCopy; }
+ void SetDragWithCopy(sal_Bool bOn) { bDragWithCopy = bOn; }
+ sal_Bool IsDragWithCopy() const { return bDragWithCopy; }
- void SetInsertGluePoint(BOOL bOn) { bInsGluePoint = bOn; }
- BOOL IsInsertGluePoint() const { return bInsGluePoint; }
+ void SetInsertGluePoint(sal_Bool bOn) { bInsGluePoint = bOn; }
+ sal_Bool IsInsertGluePoint() const { return bInsGluePoint; }
// Interaktives einfuegen eines neuen Punktes. nIdx=0 => vor dem ersten Punkt.
- BOOL IsInsObjPointPossible() const;
- BOOL IsInsPointPossible() const { return IsInsObjPointPossible(); }
+ sal_Bool IsInsObjPointPossible() const;
+ sal_Bool IsInsPointPossible() const { return IsInsObjPointPossible(); }
sal_Bool BegInsObjPoint(const Point& rPnt, sal_Bool bNewObj) { return ImpBegInsObjPoint(sal_False, 0L, rPnt, bNewObj, 0L); }
void MovInsObjPoint(const Point& rPnt) { MovDragObj(rPnt); }
- BOOL EndInsObjPoint(SdrCreateCmd eCmd);
+ sal_Bool EndInsObjPoint(SdrCreateCmd eCmd);
void BrkInsObjPoint() { BrkDragObj(); }
- BOOL IsInsObjPoint() const { return mpCurrentSdrDragMethod && bInsPolyPoint; }
+ sal_Bool IsInsObjPoint() const { return mpCurrentSdrDragMethod && bInsPolyPoint; }
// Fuer die App zum Verwalten des Status. GetPreferedPointer() wird
// spaeter vielleicht einen passenden Pointer dafuer liefern
- void SetInsObjPointMode(BOOL bOn) { bInsObjPointMode = bOn; }
- BOOL IsInsObjPointMode() const { return bInsObjPointMode; }
+ void SetInsObjPointMode(sal_Bool bOn) { bInsObjPointMode = bOn; }
+ sal_Bool IsInsObjPointMode() const { return bInsObjPointMode; }
- BOOL IsInsGluePointPossible() const;
- BOOL BegInsGluePoint(const Point& rPnt);
+ sal_Bool IsInsGluePointPossible() const;
+ sal_Bool BegInsGluePoint(const Point& rPnt);
void MovInsGluePoint(const Point& rPnt) { MovDragObj(rPnt); }
- BOOL EndInsGluePoint() { return EndDragObj(); }
+ sal_Bool EndInsGluePoint() { return EndDragObj(); }
void BrkInsGluePoint() { BrkDragObj(); }
- BOOL IsInsGluePoint() const { return mpCurrentSdrDragMethod && bInsGluePoint; }
+ sal_Bool IsInsGluePoint() const { return mpCurrentSdrDragMethod && bInsGluePoint; }
// Fuer die App zum Verwalten des Status. GetPreferedPointer() wird
// spaeter vielleicht einen passenden Pointer dafuer liefern
- void SetInsGluePointMode(BOOL bOn) { bInsGluePointMode = bOn; }
- BOOL IsInsGluePointMode() const { return bInsGluePointMode; }
+ void SetInsGluePointMode(sal_Bool bOn) { bInsGluePointMode = bOn; }
+ sal_Bool IsInsGluePointMode() const { return bInsGluePointMode; }
// Begrenzungslinien ueber's gesamte Win waehrend des Draggens
// Persistent. Default=FALSE.
- void SetDragStripes(BOOL bOn);
- BOOL IsDragStripes() const { return bDragStripes; }
+ void SetDragStripes(sal_Bool bOn);
+ sal_Bool IsDragStripes() const { return bDragStripes; }
// Handles waehrend des Draggens verstecken
- //HMHvoid SetDragHdlHide(BOOL bOn);
+ //HMHvoid SetDragHdlHide(sal_Bool bOn);
//HMHBOOL IsDragHdlHide() const { return bNoDragHdl; }
// Beim Draggen von Polygonpunkten und Klebepunkten
// die Maus verstecken. Default=FALSE
- void SetMouseHideWhileDraggingPoints(BOOL bOn) { bMouseHideWhileDraggingPoints = bOn; }
- BOOL IsMouseHideWhileDraggingPoints() const { return bMouseHideWhileDraggingPoints; }
+ void SetMouseHideWhileDraggingPoints(sal_Bool bOn) { bMouseHideWhileDraggingPoints = bOn; }
+ sal_Bool IsMouseHideWhileDraggingPoints() const { return bMouseHideWhileDraggingPoints; }
// Beim Draggen werden i.d.R. die Konturen der markierten Objekte
// als Xor-Polygone dargestellt. Wird dieses Flag hier gesetzt,
@@ -199,22 +199,22 @@ public:
// hat diese Einstellung keine Auswirkung.
// Auch waerend des Draggens umschaltbar.
// Default=Off
- void SetNoDragXorPolys(BOOL bOn);
- BOOL IsNoDragXorPolys() const { return bNoDragXorPolys; }
+ void SetNoDragXorPolys(sal_Bool bOn);
+ sal_Bool IsNoDragXorPolys() const { return bNoDragXorPolys; }
// Uebersteigt die Anzahl der markierten Objekte den hier eingestellten
// Wert, wird implizit (temporaer) auf NoDragPolys geschaltet.
// PolyPolygone etc werden entsprechend als mehrere Objekte gewertet.
// Default=100
- void SetDragXorPolyLimit(ULONG nObjAnz) { nDragXorPolyLimit=nObjAnz; }
- ULONG GetDragXorPolyLimit() const { return nDragXorPolyLimit; }
+ void SetDragXorPolyLimit(sal_uIntPtr nObjAnz) { nDragXorPolyLimit=nObjAnz; }
+ sal_uIntPtr GetDragXorPolyLimit() const { return nDragXorPolyLimit; }
// Wie DragXorPolyLimit, jedoch bezogen auf die Gesamtpunktanzahl
// aller Polygone. Default=500.
// Auf NoDragPolys wird (temporaer) geschaltet, wenn eins der Limits
// ueberstiegen wird.
- void SetDragXorPointLimit(ULONG nPntAnz) { nDragXorPointLimit=nPntAnz; }
- ULONG GetDragXorPointLimit() const { return nDragXorPointLimit; }
+ void SetDragXorPointLimit(sal_uIntPtr nPntAnz) { nDragXorPointLimit=nPntAnz; }
+ sal_uIntPtr GetDragXorPointLimit() const { return nDragXorPointLimit; }
void SetSolidDragging(bool bOn);
bool IsSolidDragging() const;
@@ -222,14 +222,14 @@ public:
// Dragging/Creating von Verbindern:
// ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
// Verbinder an Objektscheitelpunkte ankleben
- // Default=TRUE=Ja
- void SetAutoVertexConnectors(BOOL bOn) { bAutoVertexCon = bOn; }
- BOOL IsAutoVertexConnectors() const { return bAutoVertexCon; }
+ // Default=sal_True=Ja
+ void SetAutoVertexConnectors(sal_Bool bOn) { bAutoVertexCon = bOn; }
+ sal_Bool IsAutoVertexConnectors() const { return bAutoVertexCon; }
// Verbinder an Objektecken ankleben
- // Default=FALSE=Nein
- void SetAutoCornerConnectors(BOOL bOn) { bAutoCornerCon = bOn; }
- BOOL IsAutoCornerConnectors() const { return bAutoCornerCon; }
+ // Default=sal_False=Nein
+ void SetAutoCornerConnectors(sal_Bool bOn) { bAutoCornerCon = bOn; }
+ sal_Bool IsAutoCornerConnectors() const { return bAutoCornerCon; }
// Dragging von verbundenen Objekten (Nodes):
// ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
@@ -238,22 +238,22 @@ public:
// Gummibaender sondern komplette Neuberechnunen sind beim Draggen sichtbar.
// Diese detalierte Darstellung ist eh nur beim MoveDrag moeglich.
// Defaultwert ist 10
- void SetDetailedEdgeDragging(BOOL bOn); // Default an
- BOOL IsDetailedEdgeDragging() const { return bDetailedEdgeDragging; }
+ void SetDetailedEdgeDragging(sal_Bool bOn); // Default an
+ sal_Bool IsDetailedEdgeDragging() const { return bDetailedEdgeDragging; }
- void SetDetailedEdgeDraggingLimit(USHORT nEdgeObjAnz);
- USHORT GetDetailedEdgeDraggingLimit() const { return nDetailedEdgeDraggingLimit; }
+ void SetDetailedEdgeDraggingLimit(sal_uInt16 nEdgeObjAnz);
+ sal_uInt16 GetDetailedEdgeDraggingLimit() const { return nDetailedEdgeDraggingLimit; }
// EdgeDraggingLimit: Sind mehr als nEdgeObjAnz Kanten betroffen, werden
// diese beim interaktiven Draggen nicht mit angezeigt.
// Gemeint sind hier die "Gummibaender", die weniger Rechenzeit benoetigen
// als die kompletten Neuberechnungen beim DetailedEdgeDragging.
// Defaultwert ist 100
- void SetRubberEdgeDragging(BOOL bOn); // Default an
- BOOL IsRubberEdgeDragging() const { return bRubberEdgeDragging; }
+ void SetRubberEdgeDragging(sal_Bool bOn); // Default an
+ sal_Bool IsRubberEdgeDragging() const { return bRubberEdgeDragging; }
- void SetRubberEdgeDraggingLimit(USHORT nEdgeObjAnz);
- USHORT GetRubberEdgeDraggingLimit() const { return nRubberEdgeDraggingLimit; }
+ void SetRubberEdgeDraggingLimit(sal_uInt16 nEdgeObjAnz);
+ sal_uInt16 GetRubberEdgeDraggingLimit() const { return nRubberEdgeDraggingLimit; }
// Verbinderhandling also zu deutsch wie folgt (bei Defaulteinstellungen):
// - Sind bis max 10 Verbinder betroffen werden diese bei jedem
@@ -265,29 +265,29 @@ public:
// Ist ein spezieller Dragmode eingeschaltet, wie Rotate, Mirror oder Crook,
// dann leitet ein Hit auf das markierte Objekt genau dieses Dragging ein.
- // Setzt man MarkedHitMovesAlways auf TRUE, so leitet ein Hit auf das
+ // Setzt man MarkedHitMovesAlways auf sal_True, so leitet ein Hit auf das
// markierte Objekt immer ein Moven ein, unabhaengig vom gesetzten DragMode.
// Dieses Flag ist persistent und sollte von der App fuer den Anwender
// konfigurierbar sein!
- void SetMarkedHitMovesAlways(BOOL bOn) { bMarkedHitMovesAlways = bOn; }
- BOOL IsMarkedHitMovesAlways() const { return bMarkedHitMovesAlways; }
+ void SetMarkedHitMovesAlways(sal_Bool bOn) { bMarkedHitMovesAlways = bOn; }
+ sal_Bool IsMarkedHitMovesAlways() const { return bMarkedHitMovesAlways; }
// Beim Draggen der Spiegelachse das Spiegelbild der markierten Objekte
// als Xor darstellen? Persistent. Noch nicht implementiert. Default TRUE.
- void SetMirrRefDragObj(BOOL bOn) { bMirrRefDragObj = bOn; }
- BOOL IsMirrRefDragObj() const { return bMirrRefDragObj; }
+ void SetMirrRefDragObj(sal_Bool bOn) { bMirrRefDragObj = bOn; }
+ sal_Bool IsMirrRefDragObj() const { return bMirrRefDragObj; }
- BOOL IsOrthoDesired() const;
+ sal_Bool IsOrthoDesired() const;
// Beim Resize die Mitte als Referenz
// Default=FALSE.
- BOOL IsResizeAtCenter() const { return bResizeAtCenter; }
- void SetResizeAtCenter(BOOL bOn) { bResizeAtCenter = bOn; }
+ sal_Bool IsResizeAtCenter() const { return bResizeAtCenter; }
+ void SetResizeAtCenter(sal_Bool bOn) { bResizeAtCenter = bOn; }
// Symmetrisches Crook
// Default=FALSE.
- BOOL IsCrookAtCenter() const { return bCrookAtCenter; }
- void SetCrookAtCenter(BOOL bOn) { bCrookAtCenter = bOn; }
+ sal_Bool IsCrookAtCenter() const { return bCrookAtCenter; }
+ void SetCrookAtCenter(sal_Bool bOn) { bCrookAtCenter = bOn; }
// Begrenzung des Arbeitsbereichs. Die Begrenzung bezieht sich auf die
// View, nicht auf die einzelnen PageViews. Von der View wird diese
@@ -306,7 +306,7 @@ public:
// Das DragLimit ist bezogen auf die Page des Objekts.
// (Oder auf die View??? Muss ich mal^^^^recherchieren. Joe.)
- // FALSE=Kein Limit.
+ // sal_False=Kein Limit.
// Das Rueckgabe-Rect muss absolute Koordinaten enthalten. Der Maximale
// Dragbereich wird von der View dann so gewaehlt, dass das SnapRect des
// Objekts bis Maximal auf die Kante des LimitRects gemoved bzw. gesized
@@ -315,7 +315,7 @@ public:
// Rundungsfehler auftreten koennen, wodurch das LimitRect minnimal
// ueberschritten werden koennte...
// Implementiert fuer Move und Resize.
- virtual BOOL TakeDragLimit(SdrDragMode eMode, Rectangle& rRect) const;
+ virtual sal_Bool TakeDragLimit(SdrDragMode eMode, Rectangle& rRect) const;
};
#endif //_SVDDRGV_HXX
diff --git a/svx/inc/svx/svdedtv.hxx b/svx/inc/svx/svdedtv.hxx
index e70bc211ffe7..e0606970cc4c 100644..100755
--- a/svx/inc/svx/svdedtv.hxx
+++ b/svx/inc/svx/svdedtv.hxx
@@ -150,12 +150,12 @@ protected:
void ImpBroadcastEdgesOfMarkedNodes();
// Konvertierung der markierten Objekte in Poly bzw. Bezier.
- void ImpConvertTo(BOOL bPath, BOOL bLineToArea);
+ void ImpConvertTo(sal_Bool bPath, sal_Bool bLineToArea);
// Konvertiert ein Obj, wirft bei Erfolg das alte as seiner Liste und
// fuegt das neue an dessen Position ein. Inkl Undo. Es wird weder ein
// MarkEntry noch ein ModelChgBroadcast generiert.
- SdrObject* ImpConvertOneObj(SdrObject* pObj, BOOL bPath, BOOL bLineToArea);
+ SdrObject* ImpConvertOneObj(SdrObject* pObj, sal_Bool bPath, sal_Bool bLineToArea);
// Setzen der beiden Flags bToTopPossible und bToBtmPossible.
// bToTopPossibleDirty und bToBtmPossibleDirty werden dabei gleichzeitig
@@ -178,11 +178,11 @@ protected:
// fuer DismantleMarkedObjects
sal_Bool ImpCanDismantle(const basegfx::B2DPolyPolygon& rPpolyPpolygon, sal_Bool bMakeLines) const;
sal_Bool ImpCanDismantle(const SdrObject* pObj, sal_Bool bMakeLines) const;
- void ImpDismantleOneObject(const SdrObject* pObj, SdrObjList& rOL, ULONG& rPos, SdrPageView* pPV, BOOL bMakeLines);
+ void ImpDismantleOneObject(const SdrObject* pObj, SdrObjList& rOL, sal_uIntPtr& rPos, SdrPageView* pPV, sal_Bool bMakeLines);
void ImpCrookObj(SdrObject* pO, const Point& rRef, const Point& rRad, SdrCrookMode eMode,
- BOOL bVertical, BOOL bNoContortion, BOOL bRotate, const Rectangle& rMarkRect);
- void ImpDistortObj(SdrObject* pO, const Rectangle& rRef, const XPolygon& rDistortedRect, BOOL bNoContortion);
- BOOL ImpDelLayerCheck(SdrObjList* pOL, SdrLayerID nDelID) const;
+ sal_Bool bVertical, sal_Bool bNoContortion, sal_Bool bRotate, const Rectangle& rMarkRect);
+ void ImpDistortObj(SdrObject* pO, const Rectangle& rRef, const XPolygon& rDistortedRect, sal_Bool bNoContortion);
+ sal_Bool ImpDelLayerCheck(SdrObjList* pOL, SdrLayerID nDelID) const;
void ImpDelLayerDelObjs(SdrObjList* pOL, SdrLayerID nDelID);
// Entfernt alle Obj der MarkList aus ihren ObjLists inkl Undo.
@@ -209,7 +209,6 @@ public:
// verwendet. NotifyNewUndoAction() wird in diesem Fall erst beim letzten
// EndUndo() gerufen. NotifyNewUndoAction() wird nicht gerufen bei einer
// leeren Klammerung.
-#ifndef WIN
void BegUndo() { pMod->BegUndo(); } // Undo-Klammerung auf
void BegUndo(const String& rComment) { pMod->BegUndo(rComment); } // Undo-Klammerung auf
void BegUndo(const String& rComment, const String& rObjDescr, SdrRepeatFunc eFunc=SDRREPFUNC_OBJ_NONE) { pMod->BegUndo(rComment,rObjDescr,eFunc); } // Undo-Klammerung auf
@@ -219,28 +218,17 @@ public:
// nur nach dem 1. BegUndo oder vor dem letzten EndUndo:
void SetUndoComment(const String& rComment) { pMod->SetUndoComment(rComment); }
void SetUndoComment(const String& rComment, const String& rObjDescr) { pMod->SetUndoComment(rComment,rObjDescr); }
-#else // ifndef WIN
- void BegUndo();
- void BegUndo(const String& rComment);
- void BegUndo(const String& rComment, const String& rObjDescr, SdrRepeatFunc eFunc=SDRREPFUNC_OBJ_NONE);
- void BegUndo(SdrUndoGroup* pUndoGrp);
- void EndUndo(); // Undo-Klammerung zu (inkl BroadcastEdges)
- void AddUndo(SdrUndoAction* pUndo);
- // nur nach dem 1. BegUndo oder vor dem letzten EndUndo:
- void SetUndoComment(const String& rComment);
- void SetUndoComment(const String& rComment, const String& rObjDescr);
-#endif
bool IsUndoEnabled() const;
std::vector< SdrUndoAction* > CreateConnectorUndo( SdrObject& rO );
void AddUndoActions( std::vector< SdrUndoAction* >& );
// Layerverwaltung. Mit Undo.
- SdrLayer* InsertNewLayer(const String& rName, USHORT nPos=0xFFFF);
+ SdrLayer* InsertNewLayer(const String& rName, sal_uInt16 nPos=0xFFFF);
// Loeschen eines Layer inkl. aller darauf befindlichen Objekte
void DeleteLayer(const String& rName);
// Verschieben eines Layer (Layerreihenfolge aendern)
- void MoveLayer(const String& rName, USHORT nNewPos);
+ void MoveLayer(const String& rName, sal_uInt16 nNewPos);
// Markierte Objekte die ausserhalb ihrer Page liegen
// werden ggf. einer anderen Page zugewiesen
@@ -248,23 +236,23 @@ public:
void ForceMarkedObjToAnotherPage();
void ForceMarkedToAnotherPage() { ForceMarkedObjToAnotherPage(); }
- BOOL IsReadOnly() const { ForcePossibilities(); return bReadOnly; }
+ sal_Bool IsReadOnly() const { ForcePossibilities(); return bReadOnly; }
// Loeschen aller markierten Objekte
void DeleteMarkedObj();
- BOOL IsDeleteMarkedObjPossible() const { ForcePossibilities(); return bDeletePossible; }
+ sal_Bool IsDeleteMarkedObjPossible() const { ForcePossibilities(); return bDeletePossible; }
// Logisch- umschliessendes Rect aller markierten Objekte setzen.
// Das das wirklich geschieht ist nicht garantiert, denn eine
// waagerechte Linie hat z.B. immer eine Hoehe von 0.
- void SetMarkedObjRect(const Rectangle& rRect, BOOL bCopy=FALSE);
+ void SetMarkedObjRect(const Rectangle& rRect, sal_Bool bCopy=sal_False);
void MoveMarkedObj(const Size& rSiz, bool bCopy=false);
void ResizeMarkedObj(const Point& rRef, const Fraction& xFact, const Fraction& yFact, bool bCopy=false);
long GetMarkedObjRotate() const;
void RotateMarkedObj(const Point& rRef, long nWink, bool bCopy=false);
void MirrorMarkedObj(const Point& rRef1, const Point& rRef2, bool bCopy=false);
- void MirrorMarkedObjHorizontal(BOOL bCopy=FALSE);
- void MirrorMarkedObjVertical(BOOL bCopy=FALSE);
+ void MirrorMarkedObjHorizontal(sal_Bool bCopy=sal_False);
+ void MirrorMarkedObjVertical(sal_Bool bCopy=sal_False);
long GetMarkedObjShear() const;
void ShearMarkedObj(const Point& rRef, long nWink, bool bVShear=false, bool bCopy=false);
void CrookMarkedObj(const Point& rRef, const Point& rRad, SdrCrookMode eMode, bool bVertical=false, bool bNoContortion=false, bool bCopy=false);
@@ -272,28 +260,28 @@ public:
// Markierte Objekte kopieren und anstelle der alten markieren
void CopyMarkedObj();
- void SetAllMarkedRect(const Rectangle& rRect, BOOL bCopy=FALSE) { SetMarkedObjRect(rRect,bCopy); }
- void MoveAllMarked(const Size& rSiz, BOOL bCopy=FALSE) { MoveMarkedObj (rSiz,bCopy); }
- void ResizeAllMarked(const Point& rRef, const Fraction& xFact, const Fraction& yFact, BOOL bCopy=FALSE) { ResizeMarkedObj (rRef,xFact,yFact,bCopy); }
+ void SetAllMarkedRect(const Rectangle& rRect, sal_Bool bCopy=sal_False) { SetMarkedObjRect(rRect,bCopy); }
+ void MoveAllMarked(const Size& rSiz, sal_Bool bCopy=sal_False) { MoveMarkedObj (rSiz,bCopy); }
+ void ResizeAllMarked(const Point& rRef, const Fraction& xFact, const Fraction& yFact, sal_Bool bCopy=sal_False) { ResizeMarkedObj (rRef,xFact,yFact,bCopy); }
long GetAllMarkedRotate() const { return GetMarkedObjRotate(); }
- void RotateAllMarked(const Point& rRef, long nWink, BOOL bCopy=FALSE) { RotateMarkedObj(rRef,nWink,bCopy); }
- void MirrorAllMarked(const Point& rRef1, const Point& rRef2, BOOL bCopy=FALSE) { MirrorMarkedObj(rRef1,rRef2,bCopy); }
- void MirrorAllMarkedHorizontal(BOOL bCopy=FALSE) { MirrorMarkedObjHorizontal(bCopy); }
- void MirrorAllMarkedVertical(BOOL bCopy=FALSE) { MirrorMarkedObjVertical(bCopy); }
+ void RotateAllMarked(const Point& rRef, long nWink, sal_Bool bCopy=sal_False) { RotateMarkedObj(rRef,nWink,bCopy); }
+ void MirrorAllMarked(const Point& rRef1, const Point& rRef2, sal_Bool bCopy=sal_False) { MirrorMarkedObj(rRef1,rRef2,bCopy); }
+ void MirrorAllMarkedHorizontal(sal_Bool bCopy=sal_False) { MirrorMarkedObjHorizontal(bCopy); }
+ void MirrorAllMarkedVertical(sal_Bool bCopy=sal_False) { MirrorMarkedObjVertical(bCopy); }
long GetAllMarkedShear() const { return GetMarkedObjShear(); }
- void ShearAllMarked(const Point& rRef, long nWink, BOOL bVShear=FALSE, BOOL bCopy=FALSE) { ShearMarkedObj(rRef,nWink,bVShear,bCopy); }
- void CrookAllMarked(const Point& rRef, const Point& rRad, SdrCrookMode eMode, BOOL bVertical=FALSE, BOOL bNoContortion=FALSE, BOOL bCopy=FALSE) { CrookMarkedObj(rRef,rRad,eMode,bVertical,bNoContortion,bCopy); }
+ void ShearAllMarked(const Point& rRef, long nWink, sal_Bool bVShear=sal_False, sal_Bool bCopy=sal_False) { ShearMarkedObj(rRef,nWink,bVShear,bCopy); }
+ void CrookAllMarked(const Point& rRef, const Point& rRad, SdrCrookMode eMode, sal_Bool bVertical=sal_False, sal_Bool bNoContortion=sal_False, sal_Bool bCopy=sal_False) { CrookMarkedObj(rRef,rRad,eMode,bVertical,bNoContortion,bCopy); }
void CopyMarked() { CopyMarkedObj(); }
- BOOL IsMoveAllowed() const { ForcePossibilities(); return bMoveAllowed && !bMoveProtect; }
- BOOL IsResizeAllowed(BOOL bProp=FALSE) const;
- BOOL IsRotateAllowed(BOOL b90Deg=FALSE) const;
- BOOL IsMirrorAllowed(BOOL b45Deg=FALSE, BOOL b90Deg=FALSE) const;
- BOOL IsTransparenceAllowed() const;
- BOOL IsGradientAllowed() const;
- BOOL IsShearAllowed() const;
- BOOL IsEdgeRadiusAllowed() const;
- BOOL IsCrookAllowed(BOOL bNoContortion=FALSE) const;
- BOOL IsDistortAllowed(BOOL bNoContortion=FALSE) const;
+ sal_Bool IsMoveAllowed() const { ForcePossibilities(); return bMoveAllowed && !bMoveProtect; }
+ sal_Bool IsResizeAllowed(sal_Bool bProp=sal_False) const;
+ sal_Bool IsRotateAllowed(sal_Bool b90Deg=sal_False) const;
+ sal_Bool IsMirrorAllowed(sal_Bool b45Deg=sal_False, sal_Bool b90Deg=sal_False) const;
+ sal_Bool IsTransparenceAllowed() const;
+ sal_Bool IsGradientAllowed() const;
+ sal_Bool IsShearAllowed() const;
+ sal_Bool IsEdgeRadiusAllowed() const;
+ sal_Bool IsCrookAllowed(sal_Bool bNoContortion=sal_False) const;
+ sal_Bool IsDistortAllowed(sal_Bool bNoContortion=sal_False) const;
// Vereinigen mehrerer Objekte zu einem PolyPolygon:
// - Rechtecke/Kreise/Text... werden implizit gewandelt.
@@ -319,9 +307,9 @@ public:
// Memberobjekten um PathObjs handelt.
// bMakeLines=TRUE: alle Polygone werden in einzelne Linien bzw.
// Beziersegmente zerlegt
- void DismantleMarkedObjects(BOOL bMakeLines=FALSE);
- BOOL IsCombinePossible(BOOL bNoPolyPoly=FALSE) const;
- BOOL IsDismantlePossible(BOOL bMakeLines=FALSE) const;
+ void DismantleMarkedObjects(sal_Bool bMakeLines=sal_False);
+ sal_Bool IsCombinePossible(sal_Bool bNoPolyPoly=sal_False) const;
+ sal_Bool IsDismantlePossible(sal_Bool bMakeLines=sal_False) const;
// Ein neues bereits fertig konstruiertes Obj einfuegen. Das Obj gehoert
// anschliessend dem Model. Nach dem Einfuegen wird das neue Objekt
@@ -330,7 +318,7 @@ public:
// wenn der Ziel-Layer gesperrt oder nicht sichtbar ist. In diesem Fall
// returniert die Methode mit FALSE.
// Die Methode generiert u.a. auch eine Undo-Action.
- BOOL InsertObjectAtView(SdrObject* pObj, SdrPageView& rPV, ULONG nOptions=0);
+ sal_Bool InsertObjectAtView(SdrObject* pObj, SdrPageView& rPV, sal_uIntPtr nOptions=0);
// Ein Zeichenobjekt durch ein neues ersetzen. *pNewObj gehoert
// anschliessend mir, *pOldObj wandert ins Undo.
@@ -340,13 +328,13 @@ public:
// ReplaceObject(...);
// ...
// EndUndo();
- void ReplaceObjectAtView(SdrObject* pOldObj, SdrPageView& rPV, SdrObject* pNewObj, BOOL bMark=TRUE);
+ void ReplaceObjectAtView(SdrObject* pOldObj, SdrPageView& rPV, SdrObject* pNewObj, sal_Bool bMark=sal_True);
- void SetNotPersistAttrToMarked(const SfxItemSet& rAttr, BOOL bReplaceAll);
- void MergeNotPersistAttrFromMarked(SfxItemSet& rAttr, BOOL bOnlyHardAttr) const;
- void MergeAttrFromMarked(SfxItemSet& rAttr, BOOL bOnlyHardAttr) const;
- SfxItemSet GetAttrFromMarked(BOOL bOnlyHardAttr) const;
- void SetAttrToMarked(const SfxItemSet& rAttr, BOOL bReplaceAll);
+ void SetNotPersistAttrToMarked(const SfxItemSet& rAttr, sal_Bool bReplaceAll);
+ void MergeNotPersistAttrFromMarked(SfxItemSet& rAttr, sal_Bool bOnlyHardAttr) const;
+ void MergeAttrFromMarked(SfxItemSet& rAttr, sal_Bool bOnlyHardAttr) const;
+ SfxItemSet GetAttrFromMarked(sal_Bool bOnlyHardAttr) const;
+ void SetAttrToMarked(const SfxItemSet& rAttr, sal_Bool bReplaceAll);
// Geometrische Attribute (Position, Groesse, Drehwinkel)
// Bei der Position wird ein evtl. gesetzter PageOrigin beruecksichtigt.
@@ -361,14 +349,14 @@ public:
SfxStyleSheet* GetStyleSheetFromMarked() const;
// z.Zt. noch ohne Undo :(
- void SetStyleSheetToMarked(SfxStyleSheet* pStyleSheet, BOOL bDontRemoveHardAttr);
+ void SetStyleSheetToMarked(SfxStyleSheet* pStyleSheet, sal_Bool bDontRemoveHardAttr);
/* new interface src537 */
- BOOL GetAttributes(SfxItemSet& rTargetSet, BOOL bOnlyHardAttr) const;
+ sal_Bool GetAttributes(SfxItemSet& rTargetSet, sal_Bool bOnlyHardAttr) const;
- BOOL SetAttributes(const SfxItemSet& rSet, BOOL bReplaceAll);
- SfxStyleSheet* GetStyleSheet() const; // SfxStyleSheet* GetStyleSheet(BOOL& rOk) const;
- BOOL SetStyleSheet(SfxStyleSheet* pStyleSheet, BOOL bDontRemoveHardAttr);
+ sal_Bool SetAttributes(const SfxItemSet& rSet, sal_Bool bReplaceAll);
+ SfxStyleSheet* GetStyleSheet() const; // SfxStyleSheet* GetStyleSheet(sal_Bool& rOk) const;
+ sal_Bool SetStyleSheet(SfxStyleSheet* pStyleSheet, sal_Bool bDontRemoveHardAttr);
// Alle markierten Objekte zu einer Gruppe zusammenfassen.
// Anschliessend wird die neue Gruppe markiert. Bei einer
@@ -386,25 +374,25 @@ public:
// zusaetzlich markiert.
void UnGroupMarked();
- BOOL IsGroupPossible() const { ForcePossibilities(); return bGroupPossible; }
- BOOL IsUnGroupPossible() const { ForcePossibilities(); return bUnGroupPossible; }
- BOOL IsGroupEnterPossible() const { ForcePossibilities(); return bGrpEnterPossible; }
+ sal_Bool IsGroupPossible() const { ForcePossibilities(); return bGroupPossible; }
+ sal_Bool IsUnGroupPossible() const { ForcePossibilities(); return bUnGroupPossible; }
+ sal_Bool IsGroupEnterPossible() const { ForcePossibilities(); return bGrpEnterPossible; }
- // Markierte Objekte in Polygone/Bezierkurven verwandeln. Die BOOL-
- // Funktionen returnen TRUE, wenn wenigstens eins der markierten
+ // Markierte Objekte in Polygone/Bezierkurven verwandeln. Die sal_Bool-
+ // Funktionen returnen sal_True, wenn wenigstens eins der markierten
// Objekte gewandelt werden kann. Memberobjekte von Gruppenobjekten
// werden ebenfalls gewandelt. Naehere Beschreibung siehe SdrObj.HXX.
- BOOL IsConvertToPathObjPossible(BOOL bLineToArea) const { ForcePossibilities(); return BOOL(bLineToArea ? bCanConvToPathLineToArea : bCanConvToPath); }
- BOOL IsConvertToPolyObjPossible(BOOL bLineToArea) const { ForcePossibilities(); return BOOL(bLineToArea ? bCanConvToPolyLineToArea : bCanConvToPoly); }
- BOOL IsConvertToContourPossible() const { ForcePossibilities(); return bCanConvToContour; }
- void ConvertMarkedToPathObj(BOOL bLineToArea);
- void ConvertMarkedToPolyObj(BOOL bLineToArea);
+ sal_Bool IsConvertToPathObjPossible(sal_Bool bLineToArea) const { ForcePossibilities(); return sal_Bool(bLineToArea ? bCanConvToPathLineToArea : bCanConvToPath); }
+ sal_Bool IsConvertToPolyObjPossible(sal_Bool bLineToArea) const { ForcePossibilities(); return sal_Bool(bLineToArea ? bCanConvToPolyLineToArea : bCanConvToPoly); }
+ sal_Bool IsConvertToContourPossible() const { ForcePossibilities(); return bCanConvToContour; }
+ void ConvertMarkedToPathObj(sal_Bool bLineToArea);
+ void ConvertMarkedToPolyObj(sal_Bool bLineToArea);
// Alle markierten Objekte untereinander ausrichten. Normalerweise werden
- // das SnapRect der Obj verwendet. Ist bBoundRects=TRUE, werden stattdessen
+ // das SnapRect der Obj verwendet. Ist bBoundRects=sal_True, werden stattdessen
// die BoundRects ausgerichtet.
- void AlignMarkedObjects(SdrHorAlign eHor, SdrVertAlign eVert, BOOL bBoundRects=FALSE);
- BOOL IsAlignPossible() const;
+ void AlignMarkedObjects(SdrHorAlign eHor, SdrVertAlign eVert, sal_Bool bBoundRects=sal_False);
+ sal_Bool IsAlignPossible() const;
// Markierte Objekte etwas nach "oben" holen
void MovMarkedToTop();
@@ -432,12 +420,12 @@ public:
// Feststellen, ob nach vorn/hinten stellen moeglich ist
// GetMaxToTop/BtmObj() wird von diesen Methoden nur begrenzt
// beruecksichtigt, d.h. es kann vorkommen dass IsToTopPossible()
- // TRUE liefert, MovMarkedToTop() jedoch nichts aendert (z.B. bei
+ // sal_True liefert, MovMarkedToTop() jedoch nichts aendert (z.B. bei
// Mehrfachselektion), weil eine von der abgeleiteten View ueber
// GetMaxToTopObj() auferlegte Restriktion dies verhindert.
- BOOL IsToTopPossible() const { ForcePossibilities(); return bToTopPossible; }
- BOOL IsToBtmPossible() const { ForcePossibilities(); return bToBtmPossible; }
- BOOL IsReverseOrderPossible() const { ForcePossibilities(); return bReverseOrderPossible; }
+ sal_Bool IsToTopPossible() const { ForcePossibilities(); return bToTopPossible; }
+ sal_Bool IsToBtmPossible() const { ForcePossibilities(); return bToBtmPossible; }
+ sal_Bool IsReverseOrderPossible() const { ForcePossibilities(); return bReverseOrderPossible; }
// Ueber diese Methoden stellt die View fest, wie weit ein Objekt
// nach vorn bzw. nach hinten gestellt werden darf (Z-Order). Das
@@ -449,21 +437,21 @@ public:
// Folgende Methode wird gerufen, wenn z.B. durch ToTop, ToBtm, ... die
// Reihenfolgen der Objekte geaendert wurde. Der Aufruf erfolgt dann nach
// jedem SdrObjList::SetObjectOrdNum(nOldPos,nNewPos);
- virtual void ObjOrderChanged(SdrObject* pObj, ULONG nOldPos, ULONG nNewPos);
+ virtual void ObjOrderChanged(SdrObject* pObj, sal_uIntPtr nOldPos, sal_uIntPtr nNewPos);
// Falls ein oder mehrere Objekte des Types SdrGrafObj oder SdrOle2Obj
// markiert sind und diese in der Lage sind ein StarView-Metafile zu
// liefern, konvertiert diese Methode das Metafile in Drawingobjekte.
// Die SdrGrafObjs/SdrOle2Objs werden dann durch die neue Objekte ersetzt.
void DoImportMarkedMtf(SvdProgressInfo *pProgrInfo=NULL);
- BOOL IsImportMtfPossible() const { ForcePossibilities(); return bImportMtfPossible; }
+ sal_Bool IsImportMtfPossible() const { ForcePossibilities(); return bImportMtfPossible; }
// Wird der Modus VirtualObjectBundling eingeschaltet, werden beim
// ToTop/ToBtm virtuelle Objekte die dasselbe Objekt referenzieren
// in ihrer Z-Order buendig zusammengehalten (Writer).
- // Defaulteinstellung ist FALSE=ausgeschaltet.
- void SetVirtualObjectBundling(BOOL bOn) { bBundleVirtObj=bOn; }
- BOOL IsVirtualObjectBundling() const { return bBundleVirtObj; }
+ // Defaulteinstellung ist sal_False=ausgeschaltet.
+ void SetVirtualObjectBundling(sal_Bool bOn) { bBundleVirtObj=bOn; }
+ sal_Bool IsVirtualObjectBundling() const { return bBundleVirtObj; }
// von der SdrMarkView ueberladen fuer den internen gebrauch
virtual void MarkListHasChanged();
diff --git a/svx/inc/svx/svdedxv.hxx b/svx/inc/svx/svdedxv.hxx
index b65b48566a02..742473fc1d8b 100644..100755
--- a/svx/inc/svx/svdedxv.hxx
+++ b/svx/inc/svx/svdedxv.hxx
@@ -106,7 +106,7 @@ protected:
Link aOldCalcFieldValueLink; // Zum rufen des alten Handlers
Point aMacroDownPos;
- USHORT nMacroTol;
+ sal_uInt16 nMacroTol;
unsigned bTextEditDontDelete : 1; // Outliner und View bei SdrEndTextEdit nicht deleten (f. Rechtschreibpruefung)
unsigned bTextEditOnlyOneView : 1; // Nur eine OutlinerView (f. Rechtschreibpruefung)
@@ -126,13 +126,13 @@ protected:
// Eine neue OutlinerView auf dem Heap anlegen und alle erforderlichen Parameter setzen.
// pTextEditObj, pTextEditPV und pTextEditOutliner muessen initiallisiert sein.
- OutlinerView* ImpMakeOutlinerView(Window* pWin, BOOL bNoPaint, OutlinerView* pGivenView) const;
+ OutlinerView* ImpMakeOutlinerView(Window* pWin, sal_Bool bNoPaint, OutlinerView* pGivenView) const;
void ImpPaintOutlinerView(OutlinerView& rOutlView, const Rectangle& rRect) const;
void ImpInvalidateOutlinerView(OutlinerView& rOutlView) const;
- // Feststellen, ob der gesamte Text markiert ist. Liefert auch TRUE wenn
+ // Feststellen, ob der gesamte Text markiert ist. Liefert auch sal_True wenn
// kein Text vorhanden ist.
- BOOL ImpIsTextEditAllSelected() const;
+ sal_Bool ImpIsTextEditAllSelected() const;
void ImpMakeTextCursorAreaVisible();
// Handler fuer AutoGrowing Text bei aktivem Outliner
@@ -152,7 +152,7 @@ protected:
public:
// Actionhandling fuer Macromodus
- virtual BOOL IsAction() const;
+ virtual sal_Bool IsAction() const;
virtual void MovAction(const Point& rPnt);
virtual void EndAction();
virtual void BrkAction();
@@ -167,8 +167,8 @@ public:
//************************************************************************
// QuickTextEditMode bedeutet, dass Objekte mit Text sofort beim Anklicken
// editiert werden sollen. Default=TRUE. Persistent.
- void SetQuickTextEditMode(BOOL bOn) { bQuickTextEditMode=bOn; }
- BOOL IsQuickTextEditMode() const { return bQuickTextEditMode; }
+ void SetQuickTextEditMode(sal_Bool bOn) { bQuickTextEditMode=bOn; }
+ sal_Bool IsQuickTextEditMode() const { return bQuickTextEditMode; }
// Starten des TextEditMode. Ist pWin==NULL, wird das erste an der View
// angemeldete Win verwendet.
@@ -179,7 +179,7 @@ public:
// Ueber den Parameter pEditOutliner kann die Applikation einen eigenen
// Outliner vorgeben, der zum Editieren verwendet wird. Dieser gehoert
// nach Aufruf von SdrBeginTextEdit der SdrObjEditView und wird von dieser
- // spaeter via delete zerstoert (falls bDontDeleteOutliner=FALSE). Die
+ // spaeter via delete zerstoert (falls bDontDeleteOutliner=sal_False). Die
// SdrObjEditView setzt dann das Modusflag (EditEngine/Outliner) an
// dieser Instanz und ausserdem auch den StatusEventHdl.
// Ebenso kann eine spezifische OutlinerView vorgegeben werden.
@@ -195,23 +195,23 @@ public:
virtual SdrEndTextEditKind SdrEndTextEdit(sal_Bool bDontDeleteReally = sal_False);
virtual bool IsTextEdit() const;
- // TRUE=Es wird ein Textrahmen (OBJ_TEXT,OBJ_OUTLINETEXT,...) editiert
+ // sal_True=Es wird ein Textrahmen (OBJ_TEXT,OBJ_OUTLINETEXT,...) editiert
// ansonsten handelt es sich um ein beschriftetes Zeichenobjekt, an dem
// der Text ja bekanntlich hor. und vert. zentriert wird.
- BOOL IsTextEditFrame() const;
+ sal_Bool IsTextEditFrame() const;
- // Diese Methode liefert TRUE, wenn der Punkt rHit innerhalb der
+ // Diese Methode liefert sal_True, wenn der Punkt rHit innerhalb der
// des Objektbereichs oder der OutlinerView liegt.
- BOOL IsTextEditHit(const Point& rHit, short nTol) const;
+ sal_Bool IsTextEditHit(const Point& rHit, short nTol) const;
- // Diese Methode liefert TRUE, wenn der Punkt rHit innerhalb des
+ // Diese Methode liefert sal_True, wenn der Punkt rHit innerhalb des
// Handle-dicken Rahmens liegt, der die OutlinerView bei TextFrames
// umschliesst.
- BOOL IsTextEditFrameHit(const Point& rHit) const;
+ sal_Bool IsTextEditFrameHit(const Point& rHit) const;
// Bei aktiver Selektion, also zwischen MouseButtonDown und
// MouseButtonUp liefert diese Methode immer TRUE.
- BOOL IsTextEditInSelectionMode() const;
+ sal_Bool IsTextEditInSelectionMode() const;
// Folgende Methode addiert einen passenden Offset zum MouseEvent
// um diesen an den Outliner weiterzureichen.
@@ -235,24 +235,24 @@ public:
const OutlinerView* GetTextEditOutlinerView() const { return pTextEditOutlinerView; }
OutlinerView* GetTextEditOutlinerView() { return pTextEditOutlinerView; }
- virtual BOOL KeyInput(const KeyEvent& rKEvt, Window* pWin);
- virtual BOOL MouseButtonDown(const MouseEvent& rMEvt, Window* pWin);
- virtual BOOL MouseButtonUp(const MouseEvent& rMEvt, Window* pWin);
- virtual BOOL MouseMove(const MouseEvent& rMEvt, Window* pWin);
- virtual BOOL Command(const CommandEvent& rCEvt, Window* pWin);
- BOOL Cut(ULONG nFormat=SDR_ANYFORMAT);
- BOOL Yank(ULONG nFormat=SDR_ANYFORMAT);
- BOOL Paste(Window* pWin=NULL, ULONG nFormat=SDR_ANYFORMAT);
+ virtual sal_Bool KeyInput(const KeyEvent& rKEvt, Window* pWin);
+ virtual sal_Bool MouseButtonDown(const MouseEvent& rMEvt, Window* pWin);
+ virtual sal_Bool MouseButtonUp(const MouseEvent& rMEvt, Window* pWin);
+ virtual sal_Bool MouseMove(const MouseEvent& rMEvt, Window* pWin);
+ virtual sal_Bool Command(const CommandEvent& rCEvt, Window* pWin);
+ sal_Bool Cut(sal_uIntPtr nFormat=SDR_ANYFORMAT);
+ sal_Bool Yank(sal_uIntPtr nFormat=SDR_ANYFORMAT);
+ sal_Bool Paste(Window* pWin=NULL, sal_uIntPtr nFormat=SDR_ANYFORMAT);
// #97766# make virtual to change implementation e.g. for SdOutlineView
virtual sal_uInt16 GetScriptType() const;
/* new interface src537 */
- BOOL GetAttributes(SfxItemSet& rTargetSet, BOOL bOnlyHardAttr=FALSE) const;
+ sal_Bool GetAttributes(SfxItemSet& rTargetSet, sal_Bool bOnlyHardAttr=sal_False) const;
- BOOL SetAttributes(const SfxItemSet& rSet, BOOL bReplaceAll);
- SfxStyleSheet* GetStyleSheet() const; // SfxStyleSheet* GetStyleSheet(BOOL& rOk) const;
- BOOL SetStyleSheet(SfxStyleSheet* pStyleSheet, BOOL bDontRemoveHardAttr);
+ sal_Bool SetAttributes(const SfxItemSet& rSet, sal_Bool bReplaceAll);
+ SfxStyleSheet* GetStyleSheet() const; // SfxStyleSheet* GetStyleSheet(sal_Bool& rOk) const;
+ sal_Bool SetStyleSheet(SfxStyleSheet* pStyleSheet, sal_Bool bDontRemoveHardAttr);
// Intern: Beim Splitteraufziehen neue OutlinerView...
virtual void AddWindowToPaintView(OutputDevice* pNewWin);
@@ -263,16 +263,16 @@ public:
//************************************************************************
// Persistent. Default TRUE. SvDraw wertet das Flag u.a. bei
// SdrView::GetPreferedPointer() aus. Hat nur Wirkung, wenn das Dokument
- // Draw-Objekte mit Macrofunktionalitaet hat (SdrObject::HasMacro()==TRUE).
- void SetMacroMode(BOOL bOn) { bMacroMode=bOn; }
- BOOL IsMacroMode() const { return bMacroMode; }
- BOOL BegMacroObj(const Point& rPnt, short nTol, SdrObject* pObj, SdrPageView* pPV, Window* pWin);
- BOOL BegMacroObj(const Point& rPnt, SdrObject* pObj, SdrPageView* pPV, Window* pWin) { return BegMacroObj(rPnt,-2,pObj,pPV,pWin); }
+ // Draw-Objekte mit Macrofunktionalitaet hat (SdrObject::HasMacro()==sal_True).
+ void SetMacroMode(sal_Bool bOn) { bMacroMode=bOn; }
+ sal_Bool IsMacroMode() const { return bMacroMode; }
+ sal_Bool BegMacroObj(const Point& rPnt, short nTol, SdrObject* pObj, SdrPageView* pPV, Window* pWin);
+ sal_Bool BegMacroObj(const Point& rPnt, SdrObject* pObj, SdrPageView* pPV, Window* pWin) { return BegMacroObj(rPnt,-2,pObj,pPV,pWin); }
void MovMacroObj(const Point& rPnt);
void BrkMacroObj();
- BOOL EndMacroObj();
- BOOL IsMacroObj() const { return pMacroObj!=NULL; }
- BOOL IsMacroObjDown() const { return bMacroDown; }
+ sal_Bool EndMacroObj();
+ sal_Bool IsMacroObj() const { return pMacroObj!=NULL; }
+ sal_Bool IsMacroObjDown() const { return bMacroDown; }
/** fills the given any with a XTextCursor for the current text selection.
Leaves the any untouched if there currently is no text selected */
@@ -283,7 +283,7 @@ public:
rtl::Reference< sdr::SelectionController > getSelectionController() const { return mxSelectionController; }
/** returns true if the shape identified by its inventor and identifier supports format paint brush operation */
- virtual bool SupportsFormatPaintbrush( UINT32 nObjectInventor, UINT16 nObjectIdentifier ) const;
+ virtual bool SupportsFormatPaintbrush( sal_uInt32 nObjectInventor, sal_uInt16 nObjectIdentifier ) const;
/** returns a format paint brush set from the current selection */
virtual bool TakeFormatPaintBrush( boost::shared_ptr< SfxItemSet >& rFormatSet );
diff --git a/svx/inc/svx/svdetc.hxx b/svx/inc/svx/svdetc.hxx
index 966811808389..f7142e29e24f 100644..100755
--- a/svx/inc/svx/svdetc.hxx
+++ b/svx/inc/svx/svdetc.hxx
@@ -40,11 +40,11 @@
////////////////////////////////////////////////////////////////////////////////////////////////////
// ExchangeFormat-Id der DrawingEngine holen. Daten koennen dann per
-// static BOOL CopyData(pData,nLen,nFormat);
+// static sal_Bool CopyData(pData,nLen,nFormat);
// bereitgestellt werden, wobei pData/nLen einen SvMemoryStream beschreiben in
// dem ein SdrModel gestreamt wird an dem fuer die Zeitdauer des Streamens das
-// Flag SdrModel::SetStreamingSdrModel(TRUE) gesetzt wird.
-// ULONG SdrGetExchangeFormat(); -- JP 18.01.99 - dafuer gibt es ein define
+// Flag SdrModel::SetStreamingSdrModel(sal_True) gesetzt wird.
+// sal_uIntPtr SdrGetExchangeFormat(); -- JP 18.01.99 - dafuer gibt es ein define
class SdrOutliner;
class SdrModel;
@@ -61,7 +61,7 @@ namespace com { namespace sun { namespace star { namespace lang {
// Ist pMod<>NULL, dann wird der MapMode des uebergebenen
// Models verwendet. Die resultierende Default-Fonthoehe bleibt
// jedoch dieselbe (die logische Fonthoehe wird umgerechnet).
-SVX_DLLPUBLIC SdrOutliner* SdrMakeOutliner( USHORT nOutlinerMode, SdrModel* pMod );
+SVX_DLLPUBLIC SdrOutliner* SdrMakeOutliner( sal_uInt16 nOutlinerMode, SdrModel* pMod );
// Globale Defaulteinstellungen fuer die DrawingEngine.
// Diese Einstellungen sollte man direkt beim Applikationsstart
@@ -72,7 +72,7 @@ friend class SdrAttrObj;
String aFontName;
FontFamily eFontFamily;
Color aFontColor;
- ULONG nFontHeight;
+ sal_uIntPtr nFontHeight;
MapUnit eMapUnit;
Fraction aMapFraction;
@@ -95,8 +95,8 @@ public:
// 847/100mm entspricht also ca. 24 Point. Verwendet man stattdessen
// beispielsweise Twips (SetMapUnit(MAP_TWIP)) (20 Twip = 1 Point) muss
// man als Fonthoehe 480 angeben um 24 Point als default zu erhalten.
- static void SetFontHeight(ULONG nHeight) { GetDefaults().nFontHeight=nHeight; }
- static ULONG GetFontHeight() { return GetDefaults().nFontHeight; }
+ static void SetFontHeight(sal_uIntPtr nHeight) { GetDefaults().nFontHeight=nHeight; }
+ static sal_uIntPtr GetFontHeight() { return GetDefaults().nFontHeight; }
// Der MapMode wird fuer den globalen Outliner benoetigt.
// Gleichzeitig bekommt auch jedes neu instanziierte SdrModel
// diesen MapMode default zugewiesen.
@@ -118,26 +118,26 @@ public:
// Ist pMod<>NULL, dann wird der MapMode des uebergebenen
// Models verwendet. Die resultierende Default-Fonthoehe bleibt
// jedoch dieselbe (die logische Fonthoehe wird umgerechnet).
- friend SVX_DLLPUBLIC SdrOutliner* SdrMakeOutliner( USHORT nOutlinerMode, SdrModel* pMod );
+ friend SVX_DLLPUBLIC SdrOutliner* SdrMakeOutliner( sal_uInt16 nOutlinerMode, SdrModel* pMod );
};
class SfxItemSet;
// Liefert eine Ersatzdarstellung fuer einen XFillStyle
-// Bei XFILL_NONE gibt's FALSE und rCol bleibt unveraendert.
+// Bei XFILL_NONE gibt's sal_False und rCol bleibt unveraendert.
SVX_DLLPUBLIC bool GetDraftFillColor(const SfxItemSet& rSet, Color& rCol);
// Ein Container fuer USHORTs (im Prinzip ein dynamisches Array)
class UShortCont {
Container aArr;
public:
- UShortCont(USHORT nBlock, USHORT nInit, USHORT nResize): aArr(nBlock,nInit,nResize) {}
+ UShortCont(sal_uInt16 nBlock, sal_uInt16 nInit, sal_uInt16 nResize): aArr(nBlock,nInit,nResize) {}
void Clear() { aArr.Clear(); }
- void Insert(USHORT nElem, ULONG nPos=CONTAINER_APPEND) { aArr.Insert((void*)ULONG(nElem),nPos); }
- void Remove(ULONG nPos) { aArr.Remove(nPos); }
- void Replace(USHORT nElem, ULONG nPos) { aArr.Replace((void*)ULONG(nElem),nPos); }
- USHORT GetObject(ULONG nPos) const { return USHORT(ULONG(aArr.GetObject(nPos))); }
- ULONG GetPos(USHORT nElem) const { return aArr.GetPos((void*)(ULONG)nElem); }
- ULONG GetCount() const { return aArr.Count(); }
+ void Insert(sal_uInt16 nElem, sal_uIntPtr nPos=CONTAINER_APPEND) { aArr.Insert((void*)sal_uIntPtr(nElem),nPos); }
+ void Remove(sal_uIntPtr nPos) { aArr.Remove(nPos); }
+ void Replace(sal_uInt16 nElem, sal_uIntPtr nPos) { aArr.Replace((void*)sal_uIntPtr(nElem),nPos); }
+ sal_uInt16 GetObject(sal_uIntPtr nPos) const { return sal_uInt16(sal_uIntPtr(aArr.GetObject(nPos))); }
+ sal_uIntPtr GetPos(sal_uInt16 nElem) const { return aArr.GetPos((void*)(sal_uIntPtr)nElem); }
+ sal_uIntPtr GetCount() const { return aArr.Count(); }
void Sort();
};
@@ -148,7 +148,7 @@ private:
void ImpSubSort(long nL, long nR) const;
public:
ContainerSorter(Container& rNewCont): rCont(rNewCont) {}
- void DoSort(ULONG a=0, ULONG b=0xFFFFFFFF) const;
+ void DoSort(sal_uIntPtr a=0, sal_uIntPtr b=0xFFFFFFFF) const;
// Compare() has to return:
// -1 if *pElem1<*pElem2
@@ -178,24 +178,24 @@ class ImpSdrHdcMerk
ImpColorMerk* pFarbMerk;
ImpClipMerk* pClipMerk;
Color* pLineColorMerk;
- USHORT nMode;
+ sal_uInt16 nMode;
public:
- ImpSdrHdcMerk(const OutputDevice& rOut, USHORT nNewMode=SDRHDC_SAVEALL, bool bAutoMerk = true);
+ ImpSdrHdcMerk(const OutputDevice& rOut, sal_uInt16 nNewMode=SDRHDC_SAVEALL, bool bAutoMerk = true);
~ImpSdrHdcMerk();
void Save(const OutputDevice& rOut);
bool IsSaved() const { return pFarbMerk!=NULL || pClipMerk!=NULL || pLineColorMerk!=NULL; }
- void Restore(OutputDevice& rOut, USHORT nMask=SDRHDC_SAVEALL) const;
+ void Restore(OutputDevice& rOut, sal_uInt16 nMask=SDRHDC_SAVEALL) const;
};
////////////////////////////////////////////////////////////////////////////////////////////////////
// Ein ItemSet auf Outliner- bzw. EditEngine-Items durchsuchen
-// Liefert TRUE, wenn der Set solchen Items enthaelt.
-BOOL SearchOutlinerItems(const SfxItemSet& rSet, BOOL bInklDefaults, BOOL* pbOnlyEE=NULL);
+// Liefert sal_True, wenn der Set solchen Items enthaelt.
+sal_Bool SearchOutlinerItems(const SfxItemSet& rSet, sal_Bool bInklDefaults, sal_Bool* pbOnlyEE=NULL);
// zurueck erhaelt man einen neuen WhichTable den
// man dann irgendwann mit delete platthauen muss.
-USHORT* RemoveWhichRange(const USHORT* pOldWhichTable, USHORT nRangeBeg, USHORT nRangeEnd);
+sal_uInt16* RemoveWhichRange(const sal_uInt16* pOldWhichTable, sal_uInt16 nRangeBeg, sal_uInt16 nRangeEnd);
////////////////////////////////////////////////////////////////////////////////////////////////////
@@ -210,46 +210,46 @@ class Link;
class SVX_DLLPUBLIC SvdProgressInfo
{
private:
- ULONG nSumActionCount; // Summe aller Actions
- ULONG nSumCurAction; // Summe aller bearbeiteten Actions
+ sal_uIntPtr nSumActionCount; // Summe aller Actions
+ sal_uIntPtr nSumCurAction; // Summe aller bearbeiteten Actions
- ULONG nActionCount; // Anzahl der Actions im akt. Obj.
- ULONG nCurAction; // Anzahl bearbeiteter Act. im akt. Obj.
+ sal_uIntPtr nActionCount; // Anzahl der Actions im akt. Obj.
+ sal_uIntPtr nCurAction; // Anzahl bearbeiteter Act. im akt. Obj.
- ULONG nInsertCount; // Anzahl einzufuegender Act. im akt. Obj.
- ULONG nCurInsert; // Anzahl bereits eingefuegter Actions
+ sal_uIntPtr nInsertCount; // Anzahl einzufuegender Act. im akt. Obj.
+ sal_uIntPtr nCurInsert; // Anzahl bereits eingefuegter Actions
- ULONG nObjCount; // Anzahl der selektierten Objekte
- ULONG nCurObj; // Aktuelles Objekt
+ sal_uIntPtr nObjCount; // Anzahl der selektierten Objekte
+ sal_uIntPtr nCurObj; // Aktuelles Objekt
Link *pLink;
public:
SvdProgressInfo( Link *_pLink );
- void Init( ULONG _nSumActionCount, ULONG _nObjCount );
+ void Init( sal_uIntPtr _nSumActionCount, sal_uIntPtr _nObjCount );
- BOOL SetNextObject();
+ sal_Bool SetNextObject();
- void SetActionCount( ULONG _nActionCount );
- void SetInsertCount( ULONG _nInsertCount );
+ void SetActionCount( sal_uIntPtr _nActionCount );
+ void SetInsertCount( sal_uIntPtr _nInsertCount );
- BOOL ReportActions( ULONG nAnzActions );
- BOOL ReportInserts( ULONG nAnzInserts );
+ sal_Bool ReportActions( sal_uIntPtr nAnzActions );
+ sal_Bool ReportInserts( sal_uIntPtr nAnzInserts );
- ULONG GetSumActionCount() const { return nSumActionCount; };
- ULONG GetSumCurAction() const { return nSumCurAction; };
- ULONG GetObjCount() const { return nObjCount; };
- ULONG GetCurObj() const { return nCurObj; };
+ sal_uIntPtr GetSumActionCount() const { return nSumActionCount; };
+ sal_uIntPtr GetSumCurAction() const { return nSumCurAction; };
+ sal_uIntPtr GetObjCount() const { return nObjCount; };
+ sal_uIntPtr GetCurObj() const { return nCurObj; };
- ULONG GetActionCount() const { return nActionCount; };
- ULONG GetCurAction() const { return nCurAction; };
+ sal_uIntPtr GetActionCount() const { return nActionCount; };
+ sal_uIntPtr GetCurAction() const { return nCurAction; };
- ULONG GetInsertCount() const { return nInsertCount; };
- ULONG GetCurInsert() const { return nCurInsert; };
+ sal_uIntPtr GetInsertCount() const { return nInsertCount; };
+ sal_uIntPtr GetCurInsert() const { return nCurInsert; };
void ReportError();
- BOOL ReportRescales( ULONG nAnzRescales );
+ sal_Bool ReportRescales( sal_uIntPtr nAnzRescales );
};
@@ -280,18 +280,18 @@ class AutoTimer;
class OLEObjCache : public Container
{
- ULONG nSize;
+ sal_uIntPtr nSize;
AutoTimer* pTimer;
void UnloadOnDemand();
- BOOL UnloadObj( SdrOle2Obj* pObj );
+ sal_Bool UnloadObj( SdrOle2Obj* pObj );
DECL_LINK( UnloadCheckHdl, AutoTimer* );
public:
OLEObjCache();
SVX_DLLPUBLIC ~OLEObjCache();
- void SetSize(ULONG nNewSize);
+ void SetSize(sal_uIntPtr nNewSize);
void InsertObj(SdrOle2Obj* pObj);
void RemoveObj(SdrOle2Obj* pObj);
};
@@ -308,7 +308,7 @@ public:
SdrOutliner* pOutliner;
SdrEngineDefaults* pDefaults;
ResMgr* pResMgr;
- ULONG nExchangeFormat;
+ sal_uIntPtr nExchangeFormat;
OLEObjCache aOLEObjCache;
diff --git a/svx/inc/svx/svdfield.hxx b/svx/inc/svx/svdfield.hxx
index 93d147485dea..93d147485dea 100644..100755
--- a/svx/inc/svx/svdfield.hxx
+++ b/svx/inc/svx/svdfield.hxx
diff --git a/svx/inc/svx/svdglev.hxx b/svx/inc/svx/svdglev.hxx
index 49f1c6a3cc52..83656badf9d9 100644..100755
--- a/svx/inc/svx/svdglev.hxx
+++ b/svx/inc/svx/svdglev.hxx
@@ -62,7 +62,7 @@ class SVX_DLLPUBLIC SdrGlueEditView: public SdrPolyEditView
void ImpCopyMarkedGluePoints();
typedef void (*PGlueDoFunc)(SdrGluePoint&, const SdrObject* pObj, const void*, const void*, const void*, const void*, const void*);
typedef void (*PGlueTrFunc)(Point&, const void*, const void*, const void*, const void*, const void*);
- void ImpDoMarkedGluePoints(PGlueDoFunc pDoFunc, BOOL bConst, const void* p1=NULL, const void* p2=NULL, const void* p3=NULL, const void* p4=NULL, const void* p5=NULL);
+ void ImpDoMarkedGluePoints(PGlueDoFunc pDoFunc, sal_Bool bConst, const void* p1=NULL, const void* p2=NULL, const void* p3=NULL, const void* p4=NULL, const void* p5=NULL);
void ImpTransformMarkedGluePoints(PGlueTrFunc pTrFunc, const void* p1=NULL, const void* p2=NULL, const void* p3=NULL, const void* p4=NULL, const void* p5=NULL);
protected:
@@ -75,15 +75,15 @@ public:
// checken bzw. setzen/loeschen will.
// Moegliche Werte fuer nThisEsc sind z.Zt.
// SDRESC_LEFT, SDRESC_RIGHT, SDRESC_TOP und SDRESC_BOTTOM
- TRISTATE IsMarkedGluePointsEscDir(USHORT nThisEsc) const;
- void SetMarkedGluePointsEscDir(USHORT nThisEsc, BOOL bOn);
- BOOL IsSetMarkedGluePointsEscDirPossible() const { return !IsReadOnly() && HasMarkedGluePoints(); }
+ TRISTATE IsMarkedGluePointsEscDir(sal_uInt16 nThisEsc) const;
+ void SetMarkedGluePointsEscDir(sal_uInt16 nThisEsc, sal_Bool bOn);
+ sal_Bool IsSetMarkedGluePointsEscDirPossible() const { return !IsReadOnly() && HasMarkedGluePoints(); }
// Checken/setzen, ob die Klebepunktpositionen relativ zur
- // Objektgroesse sind (Percent=TRUE) oder nicht (Percent=FALSE)
+ // Objektgroesse sind (Percent=sal_True) oder nicht (Percent=sal_False)
TRISTATE IsMarkedGluePointsPercent() const;
- void SetMarkedGluePointsPercent(BOOL bOn);
- BOOL IsSetMarkedGluePointsPercentPossible() const { return !IsReadOnly() && HasMarkedGluePoints(); }
+ void SetMarkedGluePointsPercent(sal_Bool bOn);
+ sal_Bool IsSetMarkedGluePointsPercentPossible() const { return !IsReadOnly() && HasMarkedGluePoints(); }
// bVert=FALSE: Horizontales Alignment checken/setzen
// SDRHORZALIGN_CENTER
@@ -95,23 +95,23 @@ public:
// SDRVERTALIGN_TOP
// SDRVERTALIGN_BOTTOM
// SDRVERTALIGN_DONTCARE (nur bei Get())
- USHORT GetMarkedGluePointsAlign(BOOL bVert) const;
- void SetMarkedGluePointsAlign(BOOL bVert, USHORT nAlign);
- BOOL IsSetMarkedGluePointsAlignPossible() const { return !IsReadOnly() && HasMarkedGluePoints(); }
+ sal_uInt16 GetMarkedGluePointsAlign(sal_Bool bVert) const;
+ void SetMarkedGluePointsAlign(sal_Bool bVert, sal_uInt16 nAlign);
+ sal_Bool IsSetMarkedGluePointsAlignPossible() const { return !IsReadOnly() && HasMarkedGluePoints(); }
// Alle merkierten Klebepunkte entfernen
void DeleteMarkedGluePoints();
- BOOL IsDeleteMarkedGluePointsPossible() const;
+ sal_Bool IsDeleteMarkedGluePointsPossible() const;
void MoveMarkedGluePoints (const Size& rSiz, bool bCopy=false);
void ResizeMarkedGluePoints(const Point& rRef, const Fraction& xFact, const Fraction& yFact, bool bCopy=false);
void RotateMarkedGluePoints(const Point& rRef, long nWink, bool bCopy=false);
- void MirrorMarkedGluePoints(const Point& rRef1, const Point& rRef2, BOOL bCopy=FALSE);
- void MirrorMarkedGluePointsHorizontal(BOOL bCopy=FALSE);
- void MirrorMarkedGluePointsVertical(BOOL bCopy=FALSE);
- void ShearMarkedGluePoints(const Point& rRef, long nWink, BOOL bVShear=FALSE, BOOL bCopy=FALSE);
- void CrookMarkedGluePoints(const Point& rRef, const Point& rRad, SdrCrookMode eMode, BOOL bVertical=FALSE, BOOL bNoContortion=FALSE, BOOL bCopy=FALSE);
- void DistortMarkedGluePoints(const Rectangle& rRef, const XPolygon& rDistortedRect, BOOL bNoContortion=FALSE, BOOL bCopy=FALSE);
+ void MirrorMarkedGluePoints(const Point& rRef1, const Point& rRef2, sal_Bool bCopy=sal_False);
+ void MirrorMarkedGluePointsHorizontal(sal_Bool bCopy=sal_False);
+ void MirrorMarkedGluePointsVertical(sal_Bool bCopy=sal_False);
+ void ShearMarkedGluePoints(const Point& rRef, long nWink, sal_Bool bVShear=sal_False, sal_Bool bCopy=sal_False);
+ void CrookMarkedGluePoints(const Point& rRef, const Point& rRad, SdrCrookMode eMode, sal_Bool bVertical=sal_False, sal_Bool bNoContortion=sal_False, sal_Bool bCopy=sal_False);
+ void DistortMarkedGluePoints(const Rectangle& rRef, const XPolygon& rDistortedRect, sal_Bool bNoContortion=sal_False, sal_Bool bCopy=sal_False);
void AlignMarkedGluePoints(SdrHorAlign eHor, SdrVertAlign eVert);
};
diff --git a/svx/inc/svdglob.hxx b/svx/inc/svx/svdglob.hxx
index 834e7391018f..a4783a721dfd 100644..100755
--- a/svx/inc/svdglob.hxx
+++ b/svx/inc/svx/svdglob.hxx
@@ -54,7 +54,7 @@ ResMgr* ImpGetResMgr();
class SdrResId: ResId {
public:
- SdrResId(USHORT nId): ResId(nId,*ImpGetResMgr()) {}
+ SdrResId(sal_uInt16 nId): ResId(nId,*ImpGetResMgr()) {}
};
// ResourceCache for frequently used strings.
diff --git a/svx/inc/svx/svdglue.hxx b/svx/inc/svx/svdglue.hxx
index ef69bc183ce5..bc3fc5ece547 100644..100755
--- a/svx/inc/svx/svdglue.hxx
+++ b/svx/inc/svx/svdglue.hxx
@@ -65,25 +65,25 @@ class SdrObject;
class SVX_DLLPUBLIC SdrGluePoint {
// Bezugspunkt ist SdrObject::GetSnapRect().Center()
// bNoPercent=FALSE: Position ist -5000..5000 (1/100)% bzw. 0..10000 (je nach Align)
- // bNoPercent=TRUE : Position ist in log Einh, rel zum Bezugspunkt
+ // bNoPercent=sal_True : Position ist in log Einh, rel zum Bezugspunkt
Point aPos;
- USHORT nEscDir;
- USHORT nId;
- USHORT nAlign;
+ sal_uInt16 nEscDir;
+ sal_uInt16 nId;
+ sal_uInt16 nAlign;
sal_uInt8 bNoPercent:1;
sal_uInt8 bReallyAbsolute:1; // Temporaer zu setzen fuer Transformationen am Bezugsobjekt
sal_uInt8 bUserDefined:1; // #i38892#
public:
- SdrGluePoint(): nEscDir(SDRESC_SMART),nId(0),nAlign(0) { bNoPercent=FALSE; bReallyAbsolute=FALSE; bUserDefined=TRUE; }
- SdrGluePoint(const Point& rNewPos, bool bNewPercent=TRUE, USHORT nNewAlign=0): aPos(rNewPos),nEscDir(SDRESC_SMART),nId(0),nAlign(nNewAlign) { bNoPercent=!bNewPercent; bReallyAbsolute=FALSE; bUserDefined=TRUE; }
+ SdrGluePoint(): nEscDir(SDRESC_SMART),nId(0),nAlign(0) { bNoPercent=sal_False; bReallyAbsolute=sal_False; bUserDefined=sal_True; }
+ SdrGluePoint(const Point& rNewPos, bool bNewPercent=TRUE, sal_uInt16 nNewAlign=0): aPos(rNewPos),nEscDir(SDRESC_SMART),nId(0),nAlign(nNewAlign) { bNoPercent=!bNewPercent; bReallyAbsolute=FALSE; bUserDefined=TRUE; }
bool operator==(const SdrGluePoint& rCmpGP) const { return aPos==rCmpGP.aPos && nEscDir==rCmpGP.nEscDir && nId==rCmpGP.nId && nAlign==rCmpGP.nAlign && bNoPercent==rCmpGP.bNoPercent && bReallyAbsolute==rCmpGP.bReallyAbsolute && bUserDefined==rCmpGP.bUserDefined; }
bool operator!=(const SdrGluePoint& rCmpGP) const { return !operator==(rCmpGP); }
const Point& GetPos() const { return aPos; }
void SetPos(const Point& rNewPos) { aPos=rNewPos; }
- USHORT GetEscDir() const { return nEscDir; }
- void SetEscDir(USHORT nNewEsc) { nEscDir=nNewEsc; }
- USHORT GetId() const { return nId; }
- void SetId(USHORT nNewId) { nId=nNewId; }
+ sal_uInt16 GetEscDir() const { return nEscDir; }
+ void SetEscDir(sal_uInt16 nNewEsc) { nEscDir=nNewEsc; }
+ sal_uInt16 GetId() const { return nId; }
+ void SetId(sal_uInt16 nNewId) { nId=nNewId; }
bool IsPercent() const { return bNoPercent ? false : true; }
void SetPercent(bool bOn) { bNoPercent = !bOn; }
// Temporaer zu setzen fuer Transformationen am Bezugsobjekt
@@ -94,12 +94,12 @@ public:
bool IsUserDefined() const { return bUserDefined ? true : false; }
void SetUserDefined(bool bNew) { bUserDefined = bNew ? true : false; }
- USHORT GetAlign() const { return nAlign; }
- void SetAlign(USHORT nAlg) { nAlign=nAlg; }
- USHORT GetHorzAlign() const { return nAlign&0x00FF; }
- void SetHorzAlign(USHORT nAlg) { nAlign=(nAlign&0xFF00)|(nAlg&0x00FF); }
- USHORT GetVertAlign() const { return nAlign&0xFF00; }
- void SetVertAlign(USHORT nAlg) { nAlign=(nAlign&0x00FF)|(nAlg&0xFF00); }
+ sal_uInt16 GetAlign() const { return nAlign; }
+ void SetAlign(sal_uInt16 nAlg) { nAlign=nAlg; }
+ sal_uInt16 GetHorzAlign() const { return nAlign&0x00FF; }
+ void SetHorzAlign(sal_uInt16 nAlg) { nAlign=(nAlign&0xFF00)|(nAlg&0x00FF); }
+ sal_uInt16 GetVertAlign() const { return nAlign&0xFF00; }
+ void SetVertAlign(sal_uInt16 nAlg) { nAlign=(nAlign&0x00FF)|(nAlg&0xFF00); }
void Draw(OutputDevice& rOut, const SdrObject* pObj) const;
bool IsHit(const Point& rPnt, const OutputDevice& rOut, const SdrObject* pObj) const;
void Invalidate(Window& rWin, const SdrObject* pObj) const;
@@ -107,8 +107,8 @@ public:
void SetAbsolutePos(const Point& rNewPos, const SdrObject& rObj);
long GetAlignAngle() const;
void SetAlignAngle(long nWink);
- long EscDirToAngle(USHORT nEsc) const;
- USHORT EscAngleToDir(long nWink) const;
+ long EscDirToAngle(sal_uInt16 nEsc) const;
+ sal_uInt16 EscAngleToDir(long nWink) const;
void Rotate(const Point& rRef, long nWink, double sn, double cs, const SdrObject* pObj);
void Mirror(const Point& rRef1, const Point& rRef2, const SdrObject* pObj);
void Mirror(const Point& rRef1, const Point& rRef2, long nWink, const SdrObject* pObj);
@@ -120,22 +120,22 @@ public:
class SVX_DLLPUBLIC SdrGluePointList {
Container aList;
protected:
- SdrGluePoint* GetObject(USHORT i) const { return (SdrGluePoint*)(aList.GetObject(i)); }
+ SdrGluePoint* GetObject(sal_uInt16 i) const { return (SdrGluePoint*)(aList.GetObject(i)); }
public:
SdrGluePointList(): aList(1024,4,4) {}
SdrGluePointList(const SdrGluePointList& rSrcList): aList(1024,4,4) { *this=rSrcList; }
~SdrGluePointList() { Clear(); }
void Clear();
void operator=(const SdrGluePointList& rSrcList);
- USHORT GetCount() const { return USHORT(aList.Count()); }
+ sal_uInt16 GetCount() const { return sal_uInt16(aList.Count()); }
// Beim Insert wird dem Objekt (also dem GluePoint) automatisch eine Id zugewiesen.
// ReturnCode ist der Index des neuen GluePoints in der Liste
- USHORT Insert(const SdrGluePoint& rGP);
- void Delete(USHORT nPos) { delete (SdrGluePoint*)aList.Remove(nPos); }
- SdrGluePoint& operator[](USHORT nPos) { return *GetObject(nPos); }
- const SdrGluePoint& operator[](USHORT nPos) const { return *GetObject(nPos); }
- USHORT FindGluePoint(USHORT nId) const;
- USHORT HitTest(const Point& rPnt, const OutputDevice& rOut, const SdrObject* pObj, bool bBack=FALSE, bool bNext = false, USHORT nId0=0) const;
+ sal_uInt16 Insert(const SdrGluePoint& rGP);
+ void Delete(sal_uInt16 nPos) { delete (SdrGluePoint*)aList.Remove(nPos); }
+ SdrGluePoint& operator[](sal_uInt16 nPos) { return *GetObject(nPos); }
+ const SdrGluePoint& operator[](sal_uInt16 nPos) const { return *GetObject(nPos); }
+ sal_uInt16 FindGluePoint(sal_uInt16 nId) const;
+ sal_uInt16 HitTest(const Point& rPnt, const OutputDevice& rOut, const SdrObject* pObj, bool bBack = false, bool bNext = false, sal_uInt16 nId0=0) const;
void Invalidate(Window& rWin, const SdrObject* pObj) const;
// Temporaer zu setzen fuer Transformationen am Bezugsobjekt
void SetReallyAbsolute(bool bOn, const SdrObject& rObj);
diff --git a/svx/inc/svx/svdhdl.hxx b/svx/inc/svx/svdhdl.hxx
index cd326f05d9d2..0026f8eeb9d0 100644..100755
--- a/svx/inc/svx/svdhdl.hxx
+++ b/svx/inc/svx/svdhdl.hxx
@@ -211,14 +211,14 @@ public:
SdrObject* GetObj() const { return pObj; }
void SetObj(SdrObject* pNewObj);
- BOOL IsSelected() const { return bSelect; }
- void SetSelected(BOOL bJa=TRUE);
+ sal_Bool IsSelected() const { return bSelect; }
+ void SetSelected(sal_Bool bJa=sal_True);
- void Set1PixMore(BOOL bJa=TRUE);
+ void Set1PixMore(sal_Bool bJa=sal_True);
void SetDrehWink(long n);
- BOOL IsCornerHdl() const { return eKind==HDL_UPLFT || eKind==HDL_UPRGT || eKind==HDL_LWLFT || eKind==HDL_LWRGT; }
- BOOL IsVertexHdl() const { return eKind==HDL_UPPER || eKind==HDL_LOWER || eKind==HDL_LEFT || eKind==HDL_RIGHT; }
+ sal_Bool IsCornerHdl() const { return eKind==HDL_UPLFT || eKind==HDL_UPRGT || eKind==HDL_LWLFT || eKind==HDL_LWRGT; }
+ sal_Bool IsVertexHdl() const { return eKind==HDL_UPPER || eKind==HDL_LOWER || eKind==HDL_LEFT || eKind==HDL_RIGHT; }
void SetObjHdlNum(sal_uInt32 nNum) { nObjHdlNum=nNum; }
sal_uInt32 GetObjHdlNum() const { return nObjHdlNum; }
@@ -229,8 +229,8 @@ public:
void SetPointNum(sal_uInt32 nNum) { nPPntNum=nNum; }
sal_uInt32 GetPointNum() const { return nPPntNum; }
- void SetPlusHdl(BOOL bOn) { bPlusHdl=bOn; }
- BOOL IsPlusHdl() const { return bPlusHdl; }
+ void SetPlusHdl(sal_Bool bOn) { bPlusHdl=bOn; }
+ sal_Bool IsPlusHdl() const { return bPlusHdl; }
void SetSourceHdlNum(sal_uInt32 nNum) { nSourceHdlNum=nNum; }
sal_uInt32 GetSourceHdlNum() const { return nSourceHdlNum; }
@@ -239,7 +239,7 @@ public:
bool IsHdlHit(const Point& rPnt) const;
// #97016# II
- virtual BOOL IsFocusHdl() const;
+ virtual sal_Bool IsFocusHdl() const;
void SetMoveOutside( bool bMoveOutside );
@@ -283,13 +283,13 @@ private:
SVX_DLLPRIVATE void CallColorChangeLink();
public:
- SdrHdlColor(const Point& rRef, Color aCol = Color(COL_BLACK), const Size& rSize = Size(11, 11), BOOL bLum = FALSE);
+ SdrHdlColor(const Point& rRef, Color aCol = Color(COL_BLACK), const Size& rSize = Size(11, 11), sal_Bool bLum = sal_False);
virtual ~SdrHdlColor();
- BOOL IsUseLuminance() const { return bUseLuminance; }
+ sal_Bool IsUseLuminance() const { return bUseLuminance; }
Color GetColor() const { return aMarkerColor; }
- void SetColor(Color aNew, BOOL bCallLink = FALSE);
+ void SetColor(Color aNew, sal_Bool bCallLink = sal_False);
const Size& GetSize() const { return aMarkerSize; }
void SetSize(const Size& rNew);
@@ -321,10 +321,10 @@ private:
virtual void CreateB2dIAObject();
public:
- SdrHdlGradient(const Point& rRef1, const Point& rRef2, BOOL bGrad = TRUE);
+ SdrHdlGradient(const Point& rRef1, const Point& rRef2, sal_Bool bGrad = sal_True);
virtual ~SdrHdlGradient();
- BOOL IsGradient() const { return bGradient; }
+ sal_Bool IsGradient() const { return bGradient; }
// set the associated color handles
void SetColorHandles(SdrHdlColor* pL1, SdrHdlColor* pL2) { pColHdl1 = pL1; pColHdl2 = pL2; }
@@ -338,13 +338,13 @@ public:
DECL_LINK(ColorChangeHdl, SdrHdl*);
// transformation call, create gradient from this handle
- void FromIAOToItem(SdrObject* pObj, BOOL bSetItemOnObject, BOOL bUndo);
+ void FromIAOToItem(SdrObject* pObj, sal_Bool bSetItemOnObject, sal_Bool bUndo);
// selection flags for interaction
- BOOL IsMoveSingleHandle() const { return bMoveSingleHandle; }
- void SetMoveSingleHandle(BOOL bNew) { bMoveSingleHandle = bNew; }
- BOOL IsMoveFirstHandle() const { return bMoveFirstHandle; }
- void SetMoveFirstHandle(BOOL bNew) { bMoveFirstHandle = bNew; }
+ sal_Bool IsMoveSingleHandle() const { return bMoveSingleHandle; }
+ void SetMoveSingleHandle(sal_Bool bNew) { bMoveSingleHandle = bNew; }
+ sal_Bool IsMoveFirstHandle() const { return bMoveFirstHandle; }
+ void SetMoveFirstHandle(sal_Bool bNew) { bMoveFirstHandle = bNew; }
};
////////////////////////////////////////////////////////////////////////////////////////////////////
@@ -411,7 +411,7 @@ public:
void SetLineCode(SdrEdgeLineCode eCode);
SdrEdgeLineCode GetLineCode() const { return eLineCode; }
- BOOL IsHorzDrag() const;
+ sal_Bool IsHorzDrag() const;
virtual Pointer GetPointer() const;
};
@@ -452,10 +452,10 @@ class ImplHdlListData;
class SVX_DLLPUBLIC SdrHdlList
{
protected:
- ULONG mnFocusIndex;
+ sal_uIntPtr mnFocusIndex;
SdrMarkView* pView;
Container aList;
- USHORT nHdlSize;
+ sal_uInt16 nHdlSize;
unsigned bRotateShear : 1;
unsigned bDistortShear : 1;
@@ -465,8 +465,8 @@ protected:
private:
SVX_DLLPRIVATE SdrHdlList(const SdrHdlList&): aList(1024,64,64) {}
SVX_DLLPRIVATE void operator=(const SdrHdlList&) {}
- SVX_DLLPRIVATE BOOL operator==(const SdrHdlList&) const { return FALSE; }
- SVX_DLLPRIVATE BOOL operator!=(const SdrHdlList&) const { return FALSE; }
+ SVX_DLLPRIVATE sal_Bool operator==(const SdrHdlList&) const { return sal_False; }
+ SVX_DLLPRIVATE sal_Bool operator!=(const SdrHdlList&) const { return sal_False; }
public:
SdrHdlList(SdrMarkView* pV);
@@ -486,28 +486,28 @@ public:
// 2.Level PageView (Pointer)
// 3.Level Position (x+y)
void Sort();
- ULONG GetHdlCount() const { return aList.Count(); }
- SdrHdl* GetHdl(ULONG nNum) const { return (SdrHdl*)(aList.GetObject(nNum)); }
- ULONG GetHdlNum(const SdrHdl* pHdl) const;
- void SetHdlSize(USHORT nSiz);
- USHORT GetHdlSize() const { return nHdlSize; }
- void SetMoveOutside(BOOL bOn);
- BOOL IsMoveOutside() const { return bMoveOutside; }
- void SetRotateShear(BOOL bOn);
- BOOL IsRotateShear() const { return bRotateShear; }
- void SetDistortShear(BOOL bOn);
- BOOL IsDistortShear() const { return bDistortShear; }
- void SetFineHdl(BOOL bOn);
- BOOL IsFineHdl() const { return bFineHandles; }
+ sal_uIntPtr GetHdlCount() const { return aList.Count(); }
+ SdrHdl* GetHdl(sal_uIntPtr nNum) const { return (SdrHdl*)(aList.GetObject(nNum)); }
+ sal_uIntPtr GetHdlNum(const SdrHdl* pHdl) const;
+ void SetHdlSize(sal_uInt16 nSiz);
+ sal_uInt16 GetHdlSize() const { return nHdlSize; }
+ void SetMoveOutside(sal_Bool bOn);
+ sal_Bool IsMoveOutside() const { return bMoveOutside; }
+ void SetRotateShear(sal_Bool bOn);
+ sal_Bool IsRotateShear() const { return bRotateShear; }
+ void SetDistortShear(sal_Bool bOn);
+ sal_Bool IsDistortShear() const { return bDistortShear; }
+ void SetFineHdl(sal_Bool bOn);
+ sal_Bool IsFineHdl() const { return bFineHandles; }
// AddHdl uebernimmt das Handle in sein Eigentum. Es muss
// also auf dem Heap stehen, da Clear() ein delete macht.
- void AddHdl(SdrHdl* pHdl, BOOL bAtBegin=FALSE);
- SdrHdl* RemoveHdl(ULONG nNum);
+ void AddHdl(SdrHdl* pHdl, sal_Bool bAtBegin=sal_False);
+ SdrHdl* RemoveHdl(sal_uIntPtr nNum);
// Zuletzt eingefuegte Handles werden am ehesten getroffen
// (wenn Handles uebereinander liegen).
- SdrHdl* IsHdlListHit(const Point& rPnt, BOOL bBack=FALSE, BOOL bNext=FALSE, SdrHdl* pHdl0=NULL) const;
+ SdrHdl* IsHdlListHit(const Point& rPnt, sal_Bool bBack=sal_False, sal_Bool bNext=sal_False, SdrHdl* pHdl0=NULL) const;
SdrHdl* GetHdl(SdrHdlKind eKind1) const;
};
diff --git a/svx/inc/svx/svdhlpln.hxx b/svx/inc/svx/svdhlpln.hxx
index aaec12f7557c..a6a11d4df2cf 100644..100755
--- a/svx/inc/svx/svdhlpln.hxx
+++ b/svx/inc/svx/svdhlpln.hxx
@@ -67,7 +67,7 @@ public:
const Point& GetPos() const { return aPos; }
Pointer GetPointer() const;
- bool IsHit(const Point& rPnt, USHORT nTolLog, const OutputDevice& rOut) const;
+ bool IsHit(const Point& rPnt, sal_uInt16 nTolLog, const OutputDevice& rOut) const;
// OutputDevice wird benoetigt, da Fangpunkte eine feste Pixelgroesse haben
Rectangle GetBoundRect(const OutputDevice& rOut) const;
@@ -82,7 +82,7 @@ public:
class SVX_DLLPUBLIC SdrHelpLineList {
Container aList;
protected:
- SdrHelpLine* GetObject(USHORT i) const { return (SdrHelpLine*)(aList.GetObject(i)); }
+ SdrHelpLine* GetObject(sal_uInt16 i) const { return (SdrHelpLine*)(aList.GetObject(i)); }
public:
SdrHelpLineList(): aList(1024,4,4) {}
SdrHelpLineList(const SdrHelpLineList& rSrcList): aList(1024,4,4) { *this=rSrcList; }
@@ -91,13 +91,13 @@ public:
void operator=(const SdrHelpLineList& rSrcList);
bool operator==(const SdrHelpLineList& rCmp) const;
bool operator!=(const SdrHelpLineList& rCmp) const { return !operator==(rCmp); }
- USHORT GetCount() const { return USHORT(aList.Count()); }
- void Insert(const SdrHelpLine& rHL, USHORT nPos=0xFFFF) { aList.Insert(new SdrHelpLine(rHL),nPos); }
- void Delete(USHORT nPos) { delete (SdrHelpLine*)aList.Remove(nPos); } // #i24900#
- void Move(USHORT nPos, USHORT nNewPos) { aList.Insert(aList.Remove(nPos),nNewPos); }
- SdrHelpLine& operator[](USHORT nPos) { return *GetObject(nPos); }
- const SdrHelpLine& operator[](USHORT nPos) const { return *GetObject(nPos); }
- USHORT HitTest(const Point& rPnt, USHORT nTolLog, const OutputDevice& rOut) const;
+ sal_uInt16 GetCount() const { return sal_uInt16(aList.Count()); }
+ void Insert(const SdrHelpLine& rHL, sal_uInt16 nPos=0xFFFF) { aList.Insert(new SdrHelpLine(rHL),nPos); }
+ void Delete(sal_uInt16 nPos) { delete (SdrHelpLine*)aList.Remove(nPos); } // #i24900#
+ void Move(sal_uInt16 nPos, sal_uInt16 nNewPos) { aList.Insert(aList.Remove(nPos),nNewPos); }
+ SdrHelpLine& operator[](sal_uInt16 nPos) { return *GetObject(nPos); }
+ const SdrHelpLine& operator[](sal_uInt16 nPos) const { return *GetObject(nPos); }
+ sal_uInt16 HitTest(const Point& rPnt, sal_uInt16 nTolLog, const OutputDevice& rOut) const;
};
////////////////////////////////////////////////////////////////////////////////////////////////////
diff --git a/svx/inc/svditer.hxx b/svx/inc/svx/svditer.hxx
index 97b5459ee92f..846c083c5d0c 100644..100755
--- a/svx/inc/svditer.hxx
+++ b/svx/inc/svx/svditer.hxx
@@ -47,14 +47,14 @@ class SVX_DLLPUBLIC SdrObjListIter
{
List maObjList;
sal_uInt32 mnIndex;
- BOOL mbReverse;
+ sal_Bool mbReverse;
- void ImpProcessObjectList(const SdrObjList& rObjList, SdrIterMode eMode, BOOL bUseZOrder);
+ void ImpProcessObjectList(const SdrObjList& rObjList, SdrIterMode eMode, sal_Bool bUseZOrder);
void ImpProcessMarkList(const SdrMarkList& rMarkList, SdrIterMode eMode);
- void ImpProcessObj(SdrObject* pObj, SdrIterMode eMode, BOOL bUseZOrder);
+ void ImpProcessObj(SdrObject* pObj, SdrIterMode eMode, sal_Bool bUseZOrder);
public:
- SdrObjListIter(const SdrObjList& rObjList, SdrIterMode eMode = IM_DEEPNOGROUPS, BOOL bReverse = FALSE);
+ SdrObjListIter(const SdrObjList& rObjList, SdrIterMode eMode = IM_DEEPNOGROUPS, sal_Bool bReverse = sal_False);
/** This variant lets the user choose the order in which to travel over
the objects.
@param bUseZOrder
@@ -62,17 +62,17 @@ public:
Otherwise the navigation position as returned by
SdrObject::GetNavigationPosition() is used.
*/
- SdrObjListIter(const SdrObjList& rObjList, BOOL bUseZOrder, SdrIterMode eMode = IM_DEEPNOGROUPS, BOOL bReverse = FALSE);
+ SdrObjListIter(const SdrObjList& rObjList, sal_Bool bUseZOrder, SdrIterMode eMode = IM_DEEPNOGROUPS, sal_Bool bReverse = sal_False);
/* SJ: the following function can now be used with every
SdrObject and is no longer limited to group objects */
- SdrObjListIter(const SdrObject& rObj, SdrIterMode eMode = IM_DEEPNOGROUPS, BOOL bReverse = FALSE);
+ SdrObjListIter(const SdrObject& rObj, SdrIterMode eMode = IM_DEEPNOGROUPS, sal_Bool bReverse = sal_False);
/** Iterates over a list of marked objects received from the SdrMarkView. */
- SdrObjListIter(const SdrMarkList& rMarkList, SdrIterMode eMode = IM_DEEPNOGROUPS, BOOL bReverse = FALSE);
+ SdrObjListIter(const SdrMarkList& rMarkList, SdrIterMode eMode = IM_DEEPNOGROUPS, sal_Bool bReverse = sal_False);
void Reset() { mnIndex = (mbReverse ? maObjList.Count() : 0L); }
- BOOL IsMore() const { return (mbReverse ? mnIndex != 0 : ( mnIndex < maObjList.Count())); }
+ sal_Bool IsMore() const { return (mbReverse ? mnIndex != 0 : ( mnIndex < maObjList.Count())); }
SdrObject* Next() { return (SdrObject*)maObjList.GetObject(mbReverse ? --mnIndex : mnIndex++); }
sal_uInt32 Count() { return maObjList.Count(); }
diff --git a/svx/inc/srchitem.hxx b/svx/inc/svx/svditext.hxx
index a6908b2897c1..98c9d4dd6600 100644..100755
--- a/svx/inc/srchitem.hxx
+++ b/svx/inc/svx/svditext.hxx
@@ -25,12 +25,15 @@
* for a copy of the LGPLv3 License.
*
************************************************************************/
-#ifndef _SVX_SRCHITEM_HXX
-#define _SVX_SRCHITEM_HXX
-#include <svl/srchitem.hxx>
+#ifndef _SVDITEXT_HXX
+#define _SVDITEXT_HXX
-#endif
+// SvxItem-Mapping. Wird benoetigt um die SvxItem-Header erfolgreich zu includen
+#include <editeng/editdata.hxx>
+
+
+#endif // _SVDITEXT_HXX
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/svx/inc/svx/svdlayer.hxx b/svx/inc/svx/svdlayer.hxx
index 987e6a3255ba..ad591d4d8c70 100644..100755
--- a/svx/inc/svx/svdlayer.hxx
+++ b/svx/inc/svx/svdlayer.hxx
@@ -45,7 +45,7 @@ protected:
String maTitle;
String maDescription;
SdrModel* pModel; // zum Broadcasten
- UINT16 nType; // 0=Userdefined,1=Standardlayer
+ sal_uInt16 nType; // 0=Userdefined,1=Standardlayer
SdrLayerID nID;
protected:
SdrLayer(SdrLayerID nNewID, const String& rNewName) { nID=nNewID; aName=rNewName; nType=0; pModel=NULL; }
@@ -106,30 +106,30 @@ public:
void SetParent(SdrLayerAdmin* pNewParent) { pParent=pNewParent; }
void SetModel(SdrModel* pNewModel);
SdrModel* GetModel() const { return pModel; }
- void InsertLayer(SdrLayer* pLayer, USHORT nPos=0xFFFF) { aLayer.Insert(pLayer,nPos); pLayer->SetModel(pModel); Broadcast(); }
- SdrLayer* RemoveLayer(USHORT nPos);
+ void InsertLayer(SdrLayer* pLayer, sal_uInt16 nPos=0xFFFF) { aLayer.Insert(pLayer,nPos); pLayer->SetModel(pModel); Broadcast(); }
+ SdrLayer* RemoveLayer(sal_uInt16 nPos);
// Alle Layer loeschen
void ClearLayer();
// Neuer Layer wird angelegt und eingefuegt
- SdrLayer* NewLayer(const String& rName, USHORT nPos=0xFFFF);
+ SdrLayer* NewLayer(const String& rName, sal_uInt16 nPos=0xFFFF);
void DeleteLayer(SdrLayer* pLayer) { aLayer.Remove(pLayer); delete pLayer; Broadcast(); }
- void MoveLayer(SdrLayer* pLayer, USHORT nNewPos=0xFFFF);
- SdrLayer* MoveLayer(USHORT nPos, USHORT nNewPos);
+ void MoveLayer(SdrLayer* pLayer, sal_uInt16 nNewPos=0xFFFF);
+ SdrLayer* MoveLayer(sal_uInt16 nPos, sal_uInt16 nNewPos);
// Neuer Layer, Name wird aus der Resource geholt
- SdrLayer* NewStandardLayer(USHORT nPos=0xFFFF);
+ SdrLayer* NewStandardLayer(sal_uInt16 nPos=0xFFFF);
// Iterieren ueber alle Layer
- USHORT GetLayerCount() const { return USHORT(aLayer.Count()); }
- SdrLayer* GetLayer(USHORT i) { return (SdrLayer*)(aLayer.GetObject(i)); }
- const SdrLayer* GetLayer(USHORT i) const { return (SdrLayer*)(aLayer.GetObject(i)); }
+ sal_uInt16 GetLayerCount() const { return sal_uInt16(aLayer.Count()); }
+ SdrLayer* GetLayer(sal_uInt16 i) { return (SdrLayer*)(aLayer.GetObject(i)); }
+ const SdrLayer* GetLayer(sal_uInt16 i) const { return (SdrLayer*)(aLayer.GetObject(i)); }
- USHORT GetLayerPos(SdrLayer* pLayer) const;
+ sal_uInt16 GetLayerPos(SdrLayer* pLayer) const;
SdrLayer* GetLayer(const String& rName, bool bInherited) { return (SdrLayer*)(((const SdrLayerAdmin*)this)->GetLayer(rName,bInherited)); }
const SdrLayer* GetLayer(const String& rName, bool bInherited) const;
SdrLayerID GetLayerID(const String& rName, bool bInherited) const;
- SdrLayer* GetLayerPerID(USHORT nID) { return (SdrLayer*)(((const SdrLayerAdmin*)this)->GetLayerPerID(nID)); }
- const SdrLayer* GetLayerPerID(USHORT nID) const;
+ SdrLayer* GetLayerPerID(sal_uInt16 nID) { return (SdrLayer*)(((const SdrLayerAdmin*)this)->GetLayerPerID(nID)); }
+ const SdrLayer* GetLayerPerID(sal_uInt16 nID) const;
void SetControlLayerName(const String& rNewName) { aControlLayerName=rNewName; }
const String& GetControlLayerName() const { return aControlLayerName; }
@@ -153,7 +153,7 @@ bInherited:
TRUE: Wird der Layer/LayerSet nicht gefunden, so wird im Parent-LayerAdmin
nachgesehen, ob es dort einen entsprechende Definition gibt.
FALSE: Es wird nur dieser LayerAdmin durchsucht.
- Jeder LayerAdmin einer Seite hat einen Parent-LayerAdmin, nämlich den des
+ Jeder LayerAdmin einer Seite hat einen Parent-LayerAdmin, n�mlich den des
Model. Das Model selbst hat keinen Parent.
*/
diff --git a/svx/inc/svx/svdmark.hxx b/svx/inc/svx/svdmark.hxx
index f83ca73daec6..9654355a0eb9 100644..100755
--- a/svx/inc/svx/svdmark.hxx
+++ b/svx/inc/svx/svdmark.hxx
@@ -51,7 +51,7 @@ class SVX_DLLPUBLIC SdrUShortCont
sal_Bool mbSorted;
private:
- void CheckSort(ULONG nPos);
+ void CheckSort(sal_uLong nPos);
public:
SdrUShortCont(sal_uInt16 nBlock, sal_uInt16 nInit, sal_uInt16 nResize)
@@ -100,9 +100,9 @@ public:
}
}
- void Insert(sal_uInt16 nElem, ULONG nPos = CONTAINER_APPEND)
+ void Insert(sal_uInt16 nElem, sal_uLong nPos = CONTAINER_APPEND)
{
- maArray.Insert((void*)ULONG(nElem),nPos);
+ maArray.Insert((void*)sal_uLong(nElem),nPos);
if(mbSorted)
{
@@ -110,14 +110,14 @@ public:
}
}
- void Remove(ULONG nPos)
+ void Remove(sal_uLong nPos)
{
maArray.Remove(nPos);
}
- void Replace(sal_uInt16 nElem, ULONG nPos)
+ void Replace(sal_uInt16 nElem, sal_uLong nPos)
{
- maArray.Replace((void*)ULONG(nElem), nPos);
+ maArray.Replace((void*)sal_uLong(nElem), nPos);
if(mbSorted)
{
@@ -125,24 +125,24 @@ public:
}
}
- sal_uInt16 GetObject(ULONG nPos) const
+ sal_uInt16 GetObject(sal_uLong nPos) const
{
return sal_uInt16(sal_uIntPtr(maArray.GetObject(nPos)));
}
- ULONG GetPos(sal_uInt16 nElem) const
+ sal_uLong GetPos(sal_uInt16 nElem) const
{
- return maArray.GetPos((void*)(ULONG)nElem);
+ return maArray.GetPos((void*)(sal_uLong)nElem);
}
- ULONG GetCount() const
+ sal_uLong GetCount() const
{
return maArray.Count();
}
sal_Bool Exist(sal_uInt16 nElem) const
{
- return (CONTAINER_ENTRY_NOTFOUND != maArray.GetPos((void*)(ULONG)nElem));
+ return (CONTAINER_ENTRY_NOTFOUND != maArray.GetPos((void*)(sal_uLong)nElem));
}
};
@@ -323,20 +323,20 @@ public:
mbSorted = sal_False;
}
- ULONG GetMarkCount() const
+ sal_uLong GetMarkCount() const
{
return maList.Count();
}
- SdrMark* GetMark(ULONG nNum) const
+ SdrMark* GetMark(sal_uLong nNum) const
{
return (SdrMark*)(maList.GetObject(nNum));
}
- ULONG FindObject(const SdrObject* pObj) const;
+ sal_uLong FindObject(const SdrObject* pObj) const;
void InsertEntry(const SdrMark& rMark, sal_Bool bChkSort = sal_True);
- void DeleteMark(ULONG nNum);
- void ReplaceMark(const SdrMark& rNewMark, ULONG nNum);
+ void DeleteMark(sal_uLong nNum);
+ void ReplaceMark(const SdrMark& rNewMark, sal_uLong nNum);
void Merge(const SdrMarkList& rSrcList, sal_Bool bReverse = sal_False);
sal_Bool DeletePageView(const SdrPageView& rPV);
sal_Bool InsertPageView(const SdrPageView& rPV);
diff --git a/svx/inc/svx/svdmodel.hxx b/svx/inc/svx/svdmodel.hxx
index 13e294f30a85..8f3fc511db98 100644..100755
--- a/svx/inc/svx/svdmodel.hxx
+++ b/svx/inc/svx/svdmodel.hxx
@@ -54,11 +54,11 @@ class OutputDevice;
#include <rtl/ref.hxx>
-#if defined(UNX) || defined(WIN) || defined(WNT)
+#if defined(UNX) || defined(WNT)
#define DEGREE_CHAR ((sal_Unicode)176) /* 0xB0 = Ansi */
#endif
-#if defined(DOS) || defined(OS2)
+#if defined(OS2)
#define DEGREE_CHAR ((sal_Unicode)248) /* 0xF8 = IBM PC (Erw. ASCII) */
#endif
@@ -167,7 +167,7 @@ public:
////////////////////////////////////////////////////////////////////////////////////////////////////
// Flag um nach dem Laden des Pools Aufzuraeumen (d.h. die RefCounts
-// neu zu bestimmen und unbenutztes wegzuwerfen). FALSE == aktiv
+// neu zu bestimmen und unbenutztes wegzuwerfen). sal_False == aktiv
#define LOADREFCOUNTS (false)
struct SdrDocumentStreamInfo
@@ -175,7 +175,7 @@ struct SdrDocumentStreamInfo
bool mbDeleteAfterUse;
String maUserData;
com::sun::star::uno::Reference < com::sun::star::embed::XStorage > mxStorageRef;
- BOOL mbDummy1 : 1;
+ sal_Bool mbDummy1 : 1;
};
struct SdrModelImpl;
@@ -206,21 +206,21 @@ protected:
m_pEmbeddedHelper; // helper for embedded objects to get rid of the SfxObjectShell
SdrOutliner* pDrawOutliner; // ein Outliner zur Textausgabe
SdrOutliner* pHitTestOutliner;// ein Outliner fuer den HitTest
- ULONG nDefTextHgt; // Default Texthoehe in logischen Einheiten
+ sal_uIntPtr nDefTextHgt; // Default Texthoehe in logischen Einheiten
OutputDevice* pRefOutDev; // ReferenzDevice fuer die EditEngine
- ULONG nProgressAkt; // fuer den
- ULONG nProgressMax; // ProgressBar-
- ULONG nProgressOfs; // -Handler
+ sal_uIntPtr nProgressAkt; // fuer den
+ sal_uIntPtr nProgressMax; // ProgressBar-
+ sal_uIntPtr nProgressOfs; // -Handler
rtl::Reference< SfxStyleSheetBasePool > mxStyleSheetPool;
SfxStyleSheet* pDefaultStyleSheet;
sfx2::LinkManager* pLinkManager; // LinkManager
Container* pUndoStack;
Container* pRedoStack;
SdrUndoGroup* pAktUndoGroup; // Fuer mehrstufige
- USHORT nUndoLevel; // Undo-Klammerung
+ sal_uInt16 nUndoLevel; // Undo-Klammerung
bool mbUndoEnabled; // If false no undo is recorded or we are during the execution of an undo action
- USHORT nProgressPercent; // fuer den ProgressBar-Handler
- USHORT nLoadVersion; // Versionsnummer der geladenen Datei
+ sal_uInt16 nProgressPercent; // fuer den ProgressBar-Handler
+ sal_uInt16 nLoadVersion; // Versionsnummer der geladenen Datei
bool bExtColorTable; // Keinen eigenen ColorTable
sal_Bool mbChanged;
bool bInfoChanged;
@@ -235,12 +235,12 @@ protected:
bool bSwapGraphics;
bool bPasteResize; // Objekte werden gerade resized wegen Paste mit anderem MapMode
bool bSaveOLEPreview; // save preview metafile of OLE objects
- UINT16 nStreamCompressMode; // Komprimiert schreiben?
- UINT16 nStreamNumberFormat;
- UINT16 nDefaultTabulator;
- UINT32 nMaxUndoCount;
+ sal_uInt16 nStreamCompressMode; // Komprimiert schreiben?
+ sal_uInt16 nStreamNumberFormat;
+ sal_uInt16 nDefaultTabulator;
+ sal_uInt32 nMaxUndoCount;
bool bSaveNative;
- BOOL bStarDrawPreviewMode;
+ sal_Bool bStarDrawPreviewMode;
//////////////////////////////////////////////////////////////////////////////
@@ -267,18 +267,18 @@ public:
bool IsAllowShapePropertyChangeListener() const;
void SetAllowShapePropertyChangeListener( bool bAllow );
- UINT16 nStarDrawPreviewMasterPageNum;
+ sal_uInt16 nStarDrawPreviewMasterPageNum;
// Reserven fuer kompatible Erweiterungen
SotStorage* pModelStorage;
SvxForbiddenCharactersTable* mpForbiddenCharactersTable;
- ULONG nSwapGraphicsMode;
+ sal_uIntPtr nSwapGraphicsMode;
SdrOutlinerCache* mpOutlinerCache;
SdrModelImpl* mpImpl;
- UINT16 mnCharCompressType;
- UINT16 mnHandoutPageCount;
- UINT16 nReserveUInt6;
- UINT16 nReserveUInt7;
+ sal_uInt16 mnCharCompressType;
+ sal_uInt16 mnHandoutPageCount;
+ sal_uInt16 nReserveUInt6;
+ sal_uInt16 nReserveUInt7;
bool mbModelLocked;
bool mbKernAsianPunctuation;
bool mbAddExtLeading;
@@ -299,8 +299,8 @@ public:
public:
const SvNumberFormatter& GetNumberFormatter() const;
- UINT16 getHandoutPageCount() const { return mnHandoutPageCount; }
- void setHandoutPageCount( UINT16 nHandoutPageCount ) { mnHandoutPageCount = nHandoutPageCount; }
+ sal_uInt16 getHandoutPageCount() const { return mnHandoutPageCount; }
+ void setHandoutPageCount( sal_uInt16 nHandoutPageCount ) { mnHandoutPageCount = nHandoutPageCount; }
protected:
@@ -313,7 +313,7 @@ private:
SVX_DLLPRIVATE bool operator==(const SdrModel& rCmpModel) const;
SVX_DLLPRIVATE void ImpPostUndoAction(SdrUndoAction* pUndo);
SVX_DLLPRIVATE void ImpSetUIUnit();
- SVX_DLLPRIVATE void ImpSetOutlinerDefaults( SdrOutliner* pOutliner, BOOL bInit = FALSE );
+ SVX_DLLPRIVATE void ImpSetOutlinerDefaults( SdrOutliner* pOutliner, sal_Bool bInit = sal_False );
SVX_DLLPRIVATE void ImpReformatAllTextObjects();
SVX_DLLPRIVATE void ImpReformatAllEdgeObjects(); // #103122#
SVX_DLLPRIVATE void ImpCreateTables();
@@ -349,7 +349,7 @@ public:
// Hier kann man erfragen, ob das Model gerade eingrstreamt wird
bool IsLoading() const { return sal_False /*BFS01 bLoading */; }
// Muss z.B. ueberladen werden, um das Swappen/LoadOnDemand von Grafiken
- // zu ermoeglichen. Wird rbDeleteAfterUse auf TRUE gesetzt, so wird
+ // zu ermoeglichen. Wird rbDeleteAfterUse auf sal_True gesetzt, so wird
// die SvStream-Instanz vom Aufrufer nach Gebrauch destruiert.
// Wenn diese Methode NULL liefert, wird zum Swappen eine temporaere
// Datei angelegt.
@@ -381,7 +381,7 @@ public:
const SdrTextObj* GetFormattingTextObj() const;
// Die TextDefaults (Font,Hoehe,Farbe) in ein Set putten
void SetTextDefaults() const;
- static void SetTextDefaults( SfxItemPool* pItemPool, ULONG nDefTextHgt );
+ static void SetTextDefaults( SfxItemPool* pItemPool, sal_uIntPtr nDefTextHgt );
// ReferenzDevice fuer die EditEngine
void SetRefDevice(OutputDevice* pDev);
@@ -389,11 +389,11 @@ public:
// Wenn ein neuer MapMode am RefDevice gesetzt wird o.ae.
void RefDeviceChanged(); // noch nicht implementiert
// Default-Schrifthoehe in logischen Einheiten
- void SetDefaultFontHeight(ULONG nVal);
- ULONG GetDefaultFontHeight() const { return nDefTextHgt; }
+ void SetDefaultFontHeight(sal_uIntPtr nVal);
+ sal_uIntPtr GetDefaultFontHeight() const { return nDefTextHgt; }
// Default-Tabulatorweite fuer die EditEngine
- void SetDefaultTabulator(USHORT nVal);
- USHORT GetDefaultTabulator() const { return nDefaultTabulator; }
+ void SetDefaultTabulator(sal_uInt16 nVal);
+ sal_uInt16 GetDefaultTabulator() const { return nDefaultTabulator; }
// Der DefaultStyleSheet wird jedem Zeichenobjekt verbraten das in diesem
// Model eingefuegt wird und kein StyleSheet gesetzt hat.
@@ -457,11 +457,11 @@ public:
bool IsMPgNumsDirty() const { return bMPgNumsDirty; };
void RecalcPageNums(bool bMaster);
// Nach dem Insert gehoert die Page dem SdrModel.
- virtual void InsertPage(SdrPage* pPage, USHORT nPos=0xFFFF);
- virtual void DeletePage(USHORT nPgNum);
+ virtual void InsertPage(SdrPage* pPage, sal_uInt16 nPos=0xFFFF);
+ virtual void DeletePage(sal_uInt16 nPgNum);
// Remove bedeutet Eigentumsuebereignung an den Aufrufer (Gegenteil von Insert)
- virtual SdrPage* RemovePage(USHORT nPgNum);
- virtual void MovePage(USHORT nPgNum, USHORT nNewPos);
+ virtual SdrPage* RemovePage(sal_uInt16 nPgNum);
+ virtual void MovePage(sal_uInt16 nPgNum, sal_uInt16 nNewPos);
const SdrPage* GetPage(sal_uInt16 nPgNum) const;
SdrPage* GetPage(sal_uInt16 nPgNum);
sal_uInt16 GetPageCount() const;
@@ -469,11 +469,11 @@ public:
virtual void PageListChanged();
// Masterpages
- virtual void InsertMasterPage(SdrPage* pPage, USHORT nPos=0xFFFF);
- virtual void DeleteMasterPage(USHORT nPgNum);
+ virtual void InsertMasterPage(SdrPage* pPage, sal_uInt16 nPos=0xFFFF);
+ virtual void DeleteMasterPage(sal_uInt16 nPgNum);
// Remove bedeutet Eigentumsuebereignung an den Aufrufer (Gegenteil von Insert)
- virtual SdrPage* RemoveMasterPage(USHORT nPgNum);
- virtual void MoveMasterPage(USHORT nPgNum, USHORT nNewPos);
+ virtual SdrPage* RemoveMasterPage(sal_uInt16 nPgNum);
+ virtual void MoveMasterPage(sal_uInt16 nPgNum, sal_uInt16 nNewPos);
const SdrPage* GetMasterPage(sal_uInt16 nPgNum) const;
SdrPage* GetMasterPage(sal_uInt16 nPgNum);
sal_uInt16 GetMasterPageCount() const;
@@ -492,27 +492,27 @@ public:
bool IsPageNotValid() const { return bPageNotValid; }
void SetPageNotValid(bool bJa = true) { bPageNotValid=bJa; }
- // Schaltet man dieses Flag auf TRUE, so werden Grafikobjekte
+ // Schaltet man dieses Flag auf sal_True, so werden Grafikobjekte
// portabel gespeichert. Es findet dann beim Speichern ggf.
// eine implizite Wandlung von Metafiles statt.
// Default=FALSE. Flag ist nicht persistent.
bool IsSavePortable() const { return bSavePortable; }
void SetSavePortable(bool bJa = true) { bSavePortable=bJa; }
- // Schaltet man dieses Flag auf TRUE, so werden
+ // Schaltet man dieses Flag auf sal_True, so werden
// Pixelobjekte (stark) komprimiert gespeichert.
// Default=FALSE. Flag ist nicht persistent.
bool IsSaveCompressed() const { return bSaveCompressed; }
void SetSaveCompressed(bool bJa = true) { bSaveCompressed=bJa; }
- // Schaltet man dieses Flag auf TRUE, so werden
+ // Schaltet man dieses Flag auf sal_True, so werden
// Grafikobjekte mit gesetztem Native-Link
// native gespeichert.
// Default=FALSE. Flag ist nicht persistent.
bool IsSaveNative() const { return bSaveNative; }
void SetSaveNative(bool bJa = true) { bSaveNative=bJa; }
- // Schaltet man dieses Flag auf TRUE, so werden die Grafiken
+ // Schaltet man dieses Flag auf sal_True, so werden die Grafiken
// von Grafikobjekten:
// - beim Laden eines Dokuments nicht sofort mitgeladen,
// sondern erst wenn sie gebraucht (z.B. angezeigt) werden.
@@ -523,8 +523,8 @@ public:
// Default=FALSE. Flag ist nicht persistent.
bool IsSwapGraphics() const { return bSwapGraphics; }
void SetSwapGraphics(bool bJa = true);
- void SetSwapGraphicsMode(ULONG nMode) { nSwapGraphicsMode = nMode; }
- ULONG GetSwapGraphicsMode() const { return nSwapGraphicsMode; }
+ void SetSwapGraphicsMode(sal_uIntPtr nMode) { nSwapGraphicsMode = nMode; }
+ sal_uIntPtr GetSwapGraphicsMode() const { return nSwapGraphicsMode; }
bool IsSaveOLEPreview() const { return bSaveOLEPreview; }
void SetSaveOLEPreview( bool bSet) { bSaveOLEPreview = bSet; }
@@ -539,7 +539,7 @@ public:
bool IsBitmapCaching() const { return !bNoBitmapCaching; }
void SetBitmapCaching(bool bJa = true) { bNoBitmapCaching=!bJa; }
- // Defaultmaessig (FALSE) kann man Textrahmen ohne Fuellung durch
+ // Defaultmaessig (sal_False) kann man Textrahmen ohne Fuellung durch
// Mausklick selektieren. Nach Aktivierung dieses Flags trifft man sie
// nur noch in dem Bereich, wo sich auch tatsaechlich Text befindet.
bool IsPickThroughTransparentTextFrames() const { return bTransparentTextFrames; }
@@ -549,7 +549,7 @@ public:
// Wird nur von den Possibility-Methoden der View ausgewerdet.
// Direkte Manipulationen am Model, ... berueksichtigen dieses Flag nicht.
// Sollte ueberladen werden und entsprechend des ReadOnly-Status des Files
- // TRUE oder FALSE liefern (Methode wird oeffters gerufen, also ein Flag
+ // sal_True oder sal_False liefern (Methode wird oeffters gerufen, also ein Flag
// verwenden!).
virtual bool IsReadOnly() const;
virtual void SetReadOnly(bool bYes);
@@ -559,25 +559,25 @@ public:
// rSourceModel ist anschliessend u.U. weitgehend leer.
// nFirstPageNum,nLastPageNum: Die aus rSourceModel zu uebernehmenden Seiten
// nDestPos..................: Einfuegeposition
- // bMergeMasterPages.........: TRUE =benoetigte MasterPages werden aus
+ // bMergeMasterPages.........: sal_True =benoetigte MasterPages werden aus
// rSourceModel ebenfalls uebernommen
- // FALSE=Die MasterPageDescriptoren der Seiten
+ // sal_False=Die MasterPageDescriptoren der Seiten
// aus rSourceModel werden auf die
// vorhandenen MasterPages gemappt.
// bUndo.....................: Fuer das Merging wird eine UndoAction generiert.
// Undo ist nur fuer das ZielModel, nicht fuer
// rSourceModel.
- // bTreadSourceAsConst.......: TRUE=Das SourceModel wird nicht veraendert,.
+ // bTreadSourceAsConst.......: sal_True=Das SourceModel wird nicht veraendert,.
// d.h die Seiten werden kopiert.
virtual void Merge(SdrModel& rSourceModel,
- USHORT nFirstPageNum=0, USHORT nLastPageNum=0xFFFF,
- USHORT nDestPos=0xFFFF,
+ sal_uInt16 nFirstPageNum=0, sal_uInt16 nLastPageNum=0xFFFF,
+ sal_uInt16 nDestPos=0xFFFF,
bool bMergeMasterPages = false, bool bAllMasterPages = false,
bool bUndo = true, bool bTreadSourceAsConst = false);
- // Ist wie Merge(SourceModel=DestModel,nFirst,nLast,nDest,FALSE,FALSE,bUndo,!bMoveNoCopy);
- void CopyPages(USHORT nFirstPageNum, USHORT nLastPageNum,
- USHORT nDestPos,
+ // Ist wie Merge(SourceModel=DestModel,nFirst,nLast,nDest,sal_False,sal_False,bUndo,!bMoveNoCopy);
+ void CopyPages(sal_uInt16 nFirstPageNum, sal_uInt16 nLastPageNum,
+ sal_uInt16 nDestPos,
bool bUndo = true, bool bMoveNoCopy = false);
// Mit BegUndo() / EndUndo() ist es moeglich beliebig viele UndoActions
@@ -594,7 +594,7 @@ public:
void BegUndo(SdrUndoGroup* pUndoGrp); // Undo-Klammerung auf
void EndUndo(); // Undo-Klammerung zu
void AddUndo(SdrUndoAction* pUndo);
- USHORT GetUndoBracketLevel() const { return nUndoLevel; }
+ sal_uInt16 GetUndoBracketLevel() const { return nUndoLevel; }
const SdrUndoGroup* GetAktUndoGroup() const { return pAktUndoGroup; }
// nur nach dem 1. BegUndo oder vor dem letzten EndUndo:
void SetUndoComment(const String& rComment);
@@ -603,15 +603,15 @@ public:
// Das Undo-Managment findet nur statt, wenn kein NotifyUndoAction-Handler
// gesetzt ist.
// Default ist 16. Minimaler MaxUndoActionCount ist 1!
- void SetMaxUndoActionCount(ULONG nAnz);
- ULONG GetMaxUndoActionCount() const { return nMaxUndoCount; }
+ void SetMaxUndoActionCount(sal_uIntPtr nAnz);
+ sal_uIntPtr GetMaxUndoActionCount() const { return nMaxUndoCount; }
void ClearUndoBuffer();
// UndoAction(0) ist die aktuelle (also die zuletzt eingegangene)
- ULONG GetUndoActionCount() const { return pUndoStack!=NULL ? pUndoStack->Count() : 0; }
- const SfxUndoAction* GetUndoAction(ULONG nNum) const { return (SfxUndoAction*)(pUndoStack!=NULL ? pUndoStack->GetObject(nNum) : NULL); }
+ sal_uIntPtr GetUndoActionCount() const { return pUndoStack!=NULL ? pUndoStack->Count() : 0; }
+ const SfxUndoAction* GetUndoAction(sal_uIntPtr nNum) const { return (SfxUndoAction*)(pUndoStack!=NULL ? pUndoStack->GetObject(nNum) : NULL); }
// RedoAction(0) ist die aktuelle (also die des letzten Undo)
- ULONG GetRedoActionCount() const { return pRedoStack!=NULL ? pRedoStack->Count() : 0; }
- const SfxUndoAction* GetRedoAction(ULONG nNum) const { return (SfxUndoAction*)(pRedoStack!=NULL ? pRedoStack->GetObject(nNum) : NULL); }
+ sal_uIntPtr GetRedoActionCount() const { return pRedoStack!=NULL ? pRedoStack->Count() : 0; }
+ const SfxUndoAction* GetRedoAction(sal_uIntPtr nNum) const { return (SfxUndoAction*)(pRedoStack!=NULL ? pRedoStack->GetObject(nNum) : NULL); }
bool Undo();
bool Redo();
@@ -628,6 +628,7 @@ public:
/** application can set it's own undo manager, BegUndo, EndUndo and AddUndoAction
calls are routet to this interface if given */
void SetSdrUndoManager( SfxUndoManager* pUndoManager );
+ SfxUndoManager* GetSdrUndoManager() const;
/** applications can set their own undo factory to overide creation of
undo actions. The SdrModel will become owner of the given SdrUndoFactory
@@ -674,13 +675,13 @@ public:
// durch. Geprueft wird insbesondere die Verkettung von Verschachtelten
// Gruppenobjekten, aber auch Stati wie bInserted sowie Model* und Page*
// der Objects, SubLists und Pages. Bei korrekter Struktur liefert die
- // Methode TRUE, andernfalls FALSE.
+ // Methode sal_True, andernfalls FALSE.
// Dieser Check steht nur zur Verfuegung, wenn die Engine mit DBG_UTIL
// uebersetzt wurde. Andernfalls liefert die Methode immer TRUE. (ni)
bool CheckConsistence() const;
- void SetStarDrawPreviewMode(BOOL bPreview);
- BOOL IsStarDrawPreviewMode() { return bStarDrawPreviewMode; }
+ void SetStarDrawPreviewMode(sal_Bool bPreview);
+ sal_Bool IsStarDrawPreviewMode() { return bStarDrawPreviewMode; }
SotStorage* GetModelStorage() const { return pModelStorage; }
void SetModelStorage( SotStorage* pStor ) { pModelStorage = pStor; }
@@ -696,8 +697,8 @@ public:
void SetForbiddenCharsTable( rtl::Reference<SvxForbiddenCharactersTable> xForbiddenChars );
rtl::Reference<SvxForbiddenCharactersTable> GetForbiddenCharsTable() const;
- void SetCharCompressType( UINT16 nType );
- UINT16 GetCharCompressType() const { return mnCharCompressType; }
+ void SetCharCompressType( sal_uInt16 nType );
+ sal_uInt16 GetCharCompressType() const { return mnCharCompressType; }
void SetKernAsianPunctuation( sal_Bool bEnabled );
sal_Bool IsKernAsianPunctuation() const { return (sal_Bool)mbKernAsianPunctuation; }
@@ -707,9 +708,9 @@ public:
void ReformatAllTextObjects();
- bool HasTransparentObjects( BOOL bCheckForAlphaChannel = FALSE ) const;
+ bool HasTransparentObjects( sal_bool bCheckForAlphaChannel = sal_False ) const;
- SdrOutliner* createOutliner( USHORT nOutlinerMode );
+ SdrOutliner* createOutliner( sal_uInt16 nOutlinerMode );
void disposeOutliner( SdrOutliner* pOutliner );
sal_Bool IsWriter() const { return !bMyPool; }
diff --git a/svx/inc/svx/svdmrkv.hxx b/svx/inc/svx/svdmrkv.hxx
index 9c0de3ac6d10..cadae4688324 100644..100755
--- a/svx/inc/svx/svdmrkv.hxx
+++ b/svx/inc/svx/svdmrkv.hxx
@@ -135,9 +135,9 @@ protected:
Rectangle aMarkedPointsRect;
Rectangle aMarkedGluePointsRect;
- USHORT nFrameHandlesLimit;
- ULONG mnInsPointNum; // Nummer des InsPoint
- ULONG nMarkableObjCount;
+ sal_uInt16 nFrameHandlesLimit;
+ sal_uIntPtr mnInsPointNum; // Nummer des InsPoint
+ sal_uIntPtr nMarkableObjCount;
SdrDragMode eDragMode; // Persistent
SdrViewEditMode eEditMode; // Persistent
@@ -170,7 +170,7 @@ protected:
virtual void SetMarkRects(); // Rects an den PageViews
virtual void CheckMarked(); // MarkList nach Del und Lock Layer durchsuchen...
virtual void AddDragModeHdl(SdrDragMode eMode);
- virtual BOOL MouseMove(const MouseEvent& rMEvt, Window* pWin);
+ virtual sal_Bool MouseMove(const MouseEvent& rMEvt, Window* pWin);
// add custom handles (used by other apps, e.g. AnchorPos)
virtual void AddCustomHdl();
@@ -179,18 +179,18 @@ protected:
void ForceUndirtyMrkPnt() const { if (bMrkPntDirty) UndirtyMrkPnt(); }
//HMHvoid ImpShowMarkHdl(bool bNoRefHdl);
- virtual SdrObject* CheckSingleSdrObjectHit(const Point& rPnt, USHORT nTol, SdrObject* pObj, SdrPageView* pPV, ULONG nOptions, const SetOfByte* pMVisLay) const;
- virtual SdrObject* CheckSingleSdrObjectHit(const Point& rPnt, USHORT nTol, SdrObjList* pOL, SdrPageView* pPV, ULONG nOptions, const SetOfByte* pMVisLay, SdrObject*& rpRootObj) const;
- BOOL ImpIsFrameHandles() const;
- void ImpTakeDescriptionStr(USHORT nStrCacheID, String& rStr, USHORT nVal=0, USHORT nOpt=0) const;
+ virtual SdrObject* CheckSingleSdrObjectHit(const Point& rPnt, sal_uInt16 nTol, SdrObject* pObj, SdrPageView* pPV, sal_uIntPtr nOptions, const SetOfByte* pMVisLay) const;
+ virtual SdrObject* CheckSingleSdrObjectHit(const Point& rPnt, sal_uInt16 nTol, SdrObjList* pOL, SdrPageView* pPV, sal_uIntPtr nOptions, const SetOfByte* pMVisLay, SdrObject*& rpRootObj) const;
+ sal_Bool ImpIsFrameHandles() const;
+ void ImpTakeDescriptionStr(sal_uInt16 nStrCacheID, String& rStr, sal_uInt16 nVal=0, sal_uInt16 nOpt=0) const;
// Macht aus einer Winkelangabe in 1/100deg einen String inkl. Grad-Zeichen
- BOOL ImpMarkPoint(SdrHdl* pHdl, SdrMark* pMark, BOOL bUnmark);
- virtual BOOL MarkPoints(const Rectangle* pRect, BOOL bUnmark);
- BOOL MarkGluePoints(const Rectangle* pRect, BOOL bUnmark);
+ sal_Bool ImpMarkPoint(SdrHdl* pHdl, SdrMark* pMark, sal_Bool bUnmark);
+ virtual sal_Bool MarkPoints(const Rectangle* pRect, sal_Bool bUnmark);
+ sal_Bool MarkGluePoints(const Rectangle* pRect, sal_Bool bUnmark);
- void SetMoveOutside(BOOL bOn);
- BOOL IsMoveOutside() const;
+ void SetMoveOutside(sal_Bool bOn);
+ sal_Bool IsMoveOutside() const;
protected:
// #i71538# make constructors of SdrView sub-components protected to avoid incomplete incarnations which may get casted to SdrView
@@ -198,7 +198,7 @@ protected:
virtual ~SdrMarkView();
public:
- virtual BOOL IsAction() const;
+ virtual sal_Bool IsAction() const;
virtual void MovAction(const Point& rPnt);
virtual void EndAction();
virtual void BckAction();
@@ -207,9 +207,9 @@ public:
virtual void ClearPageView();
virtual void HideSdrPage();
- virtual BOOL IsObjMarkable(SdrObject* pObj, SdrPageView* pPV) const;
+ virtual sal_Bool IsObjMarkable(SdrObject* pObj, SdrPageView* pPV) const;
- // Liefert TRUE wenn Objekte, Punkte oder Klebepunkte durch Rahmenaufziehen
+ // Liefert sal_True wenn Objekte, Punkte oder Klebepunkte durch Rahmenaufziehen
// selektiert werden (solange wie der Rahmen aufgezogen wird).
sal_Bool IsMarking() const { return IsMarkObj() || IsMarkPoints() || IsMarkGluePoints(); }
@@ -225,35 +225,35 @@ public:
// Das Interface wird hier evtl noch geaendert wg. Ortho-Drag
void SetDragMode(SdrDragMode eMode);
SdrDragMode GetDragMode() const { return eDragMode; }
- BOOL ChkDragMode(SdrDragMode eMode) const;
- void SetFrameHandles(BOOL bOn);
- BOOL IsFrameHandles() const { return bForceFrameHandles; }
+ sal_Bool ChkDragMode(SdrDragMode eMode) const;
+ void SetFrameHandles(sal_Bool bOn);
+ sal_Bool IsFrameHandles() const { return bForceFrameHandles; }
// Limit, ab wann implizit auf FrameHandles umgeschaltet wird. default=50.
- void SetFrameHandlesLimit(USHORT nAnz) { nFrameHandlesLimit=nAnz; }
- USHORT GetFrameHandlesLimit() const { return nFrameHandlesLimit; }
+ void SetFrameHandlesLimit(sal_uInt16 nAnz) { nFrameHandlesLimit=nAnz; }
+ sal_uInt16 GetFrameHandlesLimit() const { return nFrameHandlesLimit; }
void SetEditMode(SdrViewEditMode eMode);
SdrViewEditMode GetEditMode() const { return eEditMode; }
- void SetEditMode(BOOL bOn=TRUE) { SetEditMode(bOn?SDREDITMODE_EDIT:SDREDITMODE_CREATE); }
- BOOL IsEditMode() const { return eEditMode==SDREDITMODE_EDIT; }
- void SetCreateMode(BOOL bOn=TRUE) { SetEditMode(bOn?SDREDITMODE_CREATE:SDREDITMODE_EDIT); }
- BOOL IsCreateMode() const { return eEditMode==SDREDITMODE_CREATE; }
- void SetGluePointEditMode(BOOL bOn=TRUE) { SetEditMode(bOn?SDREDITMODE_GLUEPOINTEDIT:eEditMode0); }
- BOOL IsGluePointEditMode() const { return eEditMode==SDREDITMODE_GLUEPOINTEDIT;; }
+ void SetEditMode(sal_Bool bOn=sal_True) { SetEditMode(bOn?SDREDITMODE_EDIT:SDREDITMODE_CREATE); }
+ sal_Bool IsEditMode() const { return eEditMode==SDREDITMODE_EDIT; }
+ void SetCreateMode(sal_Bool bOn=sal_True) { SetEditMode(bOn?SDREDITMODE_CREATE:SDREDITMODE_EDIT); }
+ sal_Bool IsCreateMode() const { return eEditMode==SDREDITMODE_CREATE; }
+ void SetGluePointEditMode(sal_Bool bOn=sal_True) { SetEditMode(bOn?SDREDITMODE_GLUEPOINTEDIT:eEditMode0); }
+ sal_Bool IsGluePointEditMode() const { return eEditMode==SDREDITMODE_GLUEPOINTEDIT;; }
- void SetDesignMode(BOOL bOn=TRUE);
- BOOL IsDesignMode() const { return bDesignMode; }
+ void SetDesignMode(sal_Bool bOn=sal_True);
+ sal_Bool IsDesignMode() const { return bDesignMode; }
- void SetFrameDragSingles(BOOL bOn=TRUE) { SetFrameHandles(bOn); }
- BOOL IsFrameDragSingles() const { return IsFrameHandles(); }
+ void SetFrameDragSingles(sal_Bool bOn=sal_True) { SetFrameHandles(bOn); }
+ sal_Bool IsFrameDragSingles() const { return IsFrameHandles(); }
// Feststellen, ob und wo ein Objekt bzw. ob ein Referenzpunkt
// (Rotationsmittelpunkt,Spiegelachse) getroffen wird (SW special).
SdrHitKind PickSomething(const Point& rPnt, short nTol=-2) const;
- BOOL HasMarkableObj() const;
- ULONG GetMarkableObjCount() const;
+ sal_Bool HasMarkableObj() const;
+ sal_uIntPtr GetMarkableObjCount() const;
//HMHvoid ShowMarkHdl(bool bNoRefHdl = false);
//HMHvoid HideMarkHdl(bool bNoRefHdl = false);
//HMHBOOL IsMarkHdlShown() const { return bHdlShown; }
@@ -269,11 +269,11 @@ protected:
public:
// all available const methods for read access to selection
const SdrMarkList& GetMarkedObjectList() const { return mpSdrViewSelection->GetMarkedObjectList(); }
- ULONG TryToFindMarkedObject(const SdrObject* pObj) const { return GetMarkedObjectList().FindObject(pObj); }
- SdrPageView* GetSdrPageViewOfMarkedByIndex(ULONG nNum) const { return GetMarkedObjectList().GetMark(nNum)->GetPageView(); }
- SdrMark* GetSdrMarkByIndex(ULONG nNum) const { return GetMarkedObjectList().GetMark(nNum); }
- SdrObject* GetMarkedObjectByIndex(ULONG nNum) const { return (GetMarkedObjectList().GetMark(nNum))->GetMarkedSdrObj(); }
- ULONG GetMarkedObjectCount() const { return GetMarkedObjectList().GetMarkCount(); }
+ sal_uIntPtr TryToFindMarkedObject(const SdrObject* pObj) const { return GetMarkedObjectList().FindObject(pObj); }
+ SdrPageView* GetSdrPageViewOfMarkedByIndex(sal_uIntPtr nNum) const { return GetMarkedObjectList().GetMark(nNum)->GetPageView(); }
+ SdrMark* GetSdrMarkByIndex(sal_uIntPtr nNum) const { return GetMarkedObjectList().GetMark(nNum); }
+ SdrObject* GetMarkedObjectByIndex(sal_uIntPtr nNum) const { return (GetMarkedObjectList().GetMark(nNum))->GetMarkedSdrObj(); }
+ sal_uIntPtr GetMarkedObjectCount() const { return GetMarkedObjectList().GetMarkCount(); }
void SortMarkedObjects() const { GetMarkedObjectList().ForceSort(); }
sal_Bool AreObjectsMarked() const { return (0L != GetMarkedObjectList().GetMarkCount()); }
String GetDescriptionOfMarkedObjects() const { return GetMarkedObjectList().GetMarkDescription(); }
@@ -297,47 +297,47 @@ public:
void showMarkHandles();
bool areMarkHandlesHidden() const { return mbMarkHandlesHidden; }
- BOOL IsMarkedHit(const Point& rPnt, short nTol=-2) const { return IsMarkedObjHit(rPnt,nTol); }
- BOOL IsMarkedObjHit(const Point& rPnt, short nTol=-2) const;
+ sal_Bool IsMarkedHit(const Point& rPnt, short nTol=-2) const { return IsMarkedObjHit(rPnt,nTol); }
+ sal_Bool IsMarkedObjHit(const Point& rPnt, short nTol=-2) const;
// Pick: Unterstuetzte Optionen fuer nOptions sind SEARCH_NEXT, SEARCH_BACKWARD (ni)
- SdrHdl* PickHandle(const Point& rPnt, ULONG nOptions=0, SdrHdl* pHdl0=NULL) const;
+ SdrHdl* PickHandle(const Point& rPnt, sal_uIntPtr nOptions=0, SdrHdl* pHdl0=NULL) const;
// Pick: Unterstuetzte Optionen fuer nOptions sind:
// SDRSEARCH_DEEP SDRSEARCH_ALSOONMASTER SDRSEARCH_TESTMARKABLE SDRSEARCH_TESTTEXTEDIT
// SDRSEARCH_WITHTEXT SDRSEARCH_TESTTEXTAREA SDRSEARCH_BACKWARD SDRSEARCH_MARKED
// SDRSEARCH_WHOLEPAGE
- virtual BOOL PickObj(const Point& rPnt, short nTol, SdrObject*& rpObj, SdrPageView*& rpPV, ULONG nOptions, SdrObject** ppRootObj, ULONG* pnMarkNum=NULL, USHORT* pnPassNum=NULL) const;
- virtual BOOL PickObj(const Point& rPnt, short nTol, SdrObject*& rpObj, SdrPageView*& rpPV, ULONG nOptions=0) const;
- // BOOL PickObj(const Point& rPnt, SdrObject*& rpObj, SdrPageView*& rpPV, ULONG nOptions=0) const { return PickObj(rPnt,nHitTolLog,rpObj,rpPV,nOptions); }
- BOOL MarkObj(const Point& rPnt, short nTol=-2, BOOL bToggle=FALSE, BOOL bDeep=FALSE);
+ virtual sal_Bool PickObj(const Point& rPnt, short nTol, SdrObject*& rpObj, SdrPageView*& rpPV, sal_uIntPtr nOptions, SdrObject** ppRootObj, sal_uIntPtr* pnMarkNum=NULL, sal_uInt16* pnPassNum=NULL) const;
+ virtual sal_Bool PickObj(const Point& rPnt, short nTol, SdrObject*& rpObj, SdrPageView*& rpPV, sal_uIntPtr nOptions=0) const;
+ // sal_Bool PickObj(const Point& rPnt, SdrObject*& rpObj, SdrPageView*& rpPV, sal_uIntPtr nOptions=0) const { return PickObj(rPnt,nHitTolLog,rpObj,rpPV,nOptions); }
+ sal_Bool MarkObj(const Point& rPnt, short nTol=-2, sal_Bool bToggle=sal_False, sal_Bool bDeep=sal_False);
// Pick: Unterstuetzte Optionen fuer nOptions sind SDRSEARCH_PASS2BOUND und SDRSEARCH_PASS3NEAREST
- BOOL PickMarkedObj(const Point& rPnt, SdrObject*& rpObj, SdrPageView*& rpPV, ULONG* pnMarkNum=NULL, ULONG nOptions=0) const;
+ sal_Bool PickMarkedObj(const Point& rPnt, SdrObject*& rpObj, SdrPageView*& rpPV, sal_uIntPtr* pnMarkNum=NULL, sal_uIntPtr nOptions=0) const;
// Sucht sich das Oberste der markierten Objekte (O1) und sucht von dort
// aus in Richtung nach Unten dann das erste nichtmarkierte Objekt (O2).
// Bei Erfolg wird die Markierung von O1 entfernt, an O2 gesetzt und TRUE
- // returniert. Mit dem Parameter bPrev=TRUE geht die Suche genau in die
+ // returniert. Mit dem Parameter bPrev=sal_True geht die Suche genau in die
// andere Richtung.
- BOOL MarkNextObj(BOOL bPrev=FALSE);
+ sal_Bool MarkNextObj(sal_Bool bPrev=sal_False);
// Sucht sich das Oberste der markierten Objekte (O1) das von rPnt/nTol
// getroffen wird und sucht von dort aus in Richtung nach Unten dann das
// erste nichtmarkierte Objekt (O2). Bei Erfolg wird die Markierung von
- // O1 entfernt, an O2 gesetzt und TRUE returniert.
- // Mit dem Parameter bPrev=TRUE geht die Suche genau in die andere Richtung.
- BOOL MarkNextObj(const Point& rPnt, short nTol=-2, BOOL bPrev=FALSE);
+ // O1 entfernt, an O2 gesetzt und sal_True returniert.
+ // Mit dem Parameter bPrev=sal_True geht die Suche genau in die andere Richtung.
+ sal_Bool MarkNextObj(const Point& rPnt, short nTol=-2, sal_Bool bPrev=sal_False);
// Alle Objekte innerhalb eines rechteckigen Bereichs markieren
// Markiert werden nur Objekte, die vollstaendig eingeschlossen sind.
- BOOL MarkObj(const Rectangle& rRect, BOOL bUnmark=FALSE);
- void MarkObj(SdrObject* pObj, SdrPageView* pPV, BOOL bUnmark=FALSE, BOOL bImpNoSetMarkHdl=FALSE);
+ sal_Bool MarkObj(const Rectangle& rRect, sal_Bool bUnmark=sal_False);
+ void MarkObj(SdrObject* pObj, SdrPageView* pPV, sal_Bool bUnmark=sal_False, sal_Bool bImpNoSetMarkHdl=sal_False);
void MarkAllObj(SdrPageView* pPV=NULL); // pPage=NULL => alle angezeigten Seiten
void UnmarkAllObj(SdrPageView* pPV=NULL); // pPage=NULL => alle angezeigten Seiten
// Diese Funktion kostet etwas Zeit, da die MarkList durchsucht werden muss.
- BOOL IsObjMarked(SdrObject* pObj) const;
+ sal_Bool IsObjMarked(SdrObject* pObj) const;
// void MarkAll(SdrPageView* pPV=NULL) { MarkAllObj(pPV); } -> replace with inline
void UnMarkAll(SdrPageView* pPV=NULL) { UnmarkAllObj(pPV); }
@@ -345,8 +345,8 @@ public:
// Der Wert ist als Kantenlaenge zu betrachten. Gerade Werte werden
// auf Ungerade aufgerundet: 3->3, 4->5, 5->5, 6->7, 7->7, ...
// Defaultwert ist 7, Mindestwert 3 Pixel.
- USHORT GetMarkHdlSizePixel() const;
- void SetMarkHdlSizePixel(USHORT nSiz);
+ sal_uInt16 GetMarkHdlSizePixel() const;
+ void SetMarkHdlSizePixel(sal_uInt16 nSiz);
// Die Groesse der Markierungs-Handles wird ueber die jeweilige Aufloesung
// und die Groesse des Bereichs der markierten Objekte so angepasst, dass
@@ -354,53 +354,53 @@ public:
// Dazu muessen die Handles ggf. verkleinert dargestellt werden. Mit der
// MinMarkHdlSize kann man hierfuer eine Mindestgroesse angeben.
// Defaultwert ist 3, Mindestwert 3 Pixel.
- BOOL IsSolidMarkHdl() const { return aHdl.IsFineHdl(); }
- void SetSolidMarkHdl(BOOL bOn);
+ sal_Bool IsSolidMarkHdl() const { return aHdl.IsFineHdl(); }
+ void SetSolidMarkHdl(sal_Bool bOn);
- virtual BOOL HasMarkablePoints() const;
- virtual ULONG GetMarkablePointCount() const;
- virtual BOOL HasMarkedPoints() const;
- virtual ULONG GetMarkedPointCount() const;
+ virtual sal_Bool HasMarkablePoints() const;
+ virtual sal_uIntPtr GetMarkablePointCount() const;
+ virtual sal_Bool HasMarkedPoints() const;
+ virtual sal_uIntPtr GetMarkedPointCount() const;
// Nicht alle Punkte lassen sich markieren:
- virtual BOOL IsPointMarkable(const SdrHdl& rHdl) const;
- virtual BOOL MarkPoint(SdrHdl& rHdl, BOOL bUnmark=FALSE);
+ virtual sal_Bool IsPointMarkable(const SdrHdl& rHdl) const;
+ virtual sal_Bool MarkPoint(SdrHdl& rHdl, sal_Bool bUnmark=sal_False);
/** should only be used from outside svx for special ui elements */
- BOOL MarkPointHelper(SdrHdl* pHdl, SdrMark* pMark, BOOL bUnmark);
+ sal_Bool MarkPointHelper(SdrHdl* pHdl, SdrMark* pMark, sal_Bool bUnmark);
// alle Punkte innerhalb dieses Rechtecks markieren (Viewkoordinaten)
- BOOL MarkPoints(const Rectangle& rRect, BOOL bUnmark=FALSE) { return MarkPoints(&rRect,bUnmark); }
- BOOL UnmarkPoint(SdrHdl& rHdl) { return MarkPoint(rHdl,TRUE); }
- BOOL UnMarkPoint(SdrHdl& rHdl) { return MarkPoint(rHdl,TRUE); }
- BOOL IsPointMarked(const SdrHdl& rHdl) const { ForceUndirtyMrkPnt(); return &rHdl!=NULL && rHdl.IsSelected(); }
- BOOL MarkAllPoints() { return MarkPoints(NULL,FALSE); }
- BOOL UnmarkAllPoints() { return MarkPoints(NULL,TRUE); }
- BOOL UnMarkAllPoints() { return MarkPoints(NULL,TRUE); }
+ sal_Bool MarkPoints(const Rectangle& rRect, sal_Bool bUnmark=sal_False) { return MarkPoints(&rRect,bUnmark); }
+ sal_Bool UnmarkPoint(SdrHdl& rHdl) { return MarkPoint(rHdl,sal_True); }
+ sal_Bool UnMarkPoint(SdrHdl& rHdl) { return MarkPoint(rHdl,sal_True); }
+ sal_Bool IsPointMarked(const SdrHdl& rHdl) const { ForceUndirtyMrkPnt(); return &rHdl!=NULL && rHdl.IsSelected(); }
+ sal_Bool MarkAllPoints() { return MarkPoints(NULL,sal_False); }
+ sal_Bool UnmarkAllPoints() { return MarkPoints(NULL,sal_True); }
+ sal_Bool UnMarkAllPoints() { return MarkPoints(NULL,sal_True); }
// Sucht sich den ersten markierten Punkt (P1) und sucht von dort
// aus in den ersten nichtmarkierte Punkt (P2).
// Bei Erfolg wird die Markierung von P1 entfernt, an P2 gesetzt und TRUE
- // returniert. Mit dem Parameter bPrev=TRUE geht die Suche genau in die
+ // returniert. Mit dem Parameter bPrev=sal_True geht die Suche genau in die
// andere Richtung.
- BOOL MarkNextPoint(BOOL bPrev=FALSE);
+ sal_Bool MarkNextPoint(sal_Bool bPrev=sal_False);
// Sucht sich den ersten markierten Punkt (P1) das von rPnt
// getroffen wird und sucht von dort aus den
// ersten nichtmarkierten Punkt (P2). Bei Erfolg wird die Markierung von
- // P1 entfernt, an P2 gesetzt und TRUE returniert.
- // Mit dem Parameter bPrev=TRUE geht die Suche genau in die andere Richtung.
- BOOL MarkNextPoint(const Point& rPnt, BOOL bPrev=FALSE);
+ // P1 entfernt, an P2 gesetzt und sal_True returniert.
+ // Mit dem Parameter bPrev=sal_True geht die Suche genau in die andere Richtung.
+ sal_Bool MarkNextPoint(const Point& rPnt, sal_Bool bPrev=sal_False);
// Die Nummer des passenden Handles raussuchen. Nicht gefunden
// liefert CONTAINER_ENTRY_NOTFOUND.
- ULONG GetHdlNum(SdrHdl* pHdl) const { return aHdl.GetHdlNum(pHdl); }
- SdrHdl* GetHdl(ULONG nHdlNum) const { return aHdl.GetHdl(nHdlNum); }
+ sal_uIntPtr GetHdlNum(SdrHdl* pHdl) const { return aHdl.GetHdlNum(pHdl); }
+ SdrHdl* GetHdl(sal_uIntPtr nHdlNum) const { return aHdl.GetHdl(nHdlNum); }
const SdrHdlList& GetHdlList() const { return aHdl; }
// Selektionsrahmen fuer Punktmarkierung aufziehen.
- // Wird nur gestartet, wenn HasMarkablePoints() TRUE liefert.
- // BOOL BegMarkPoints(const Point& rPnt, OutputDevice* pOut);
+ // Wird nur gestartet, wenn HasMarkablePoints() sal_True liefert.
+ // sal_Bool BegMarkPoints(const Point& rPnt, OutputDevice* pOut);
sal_Bool BegMarkPoints(const Point& rPnt, sal_Bool bUnmark = sal_False);
void MovMarkPoints(const Point& rPnt);
sal_Bool EndMarkPoints();
@@ -408,21 +408,21 @@ public:
sal_Bool IsMarkPoints() const { return (0L != mpMarkPointsOverlay); }
// Zusatzhandles dauerhaft sichtbar schalten
- void SetPlusHandlesAlwaysVisible(BOOL bOn);
- BOOL IsPlusHandlesAlwaysVisible() const { return bPlusHdlAlways; }
+ void SetPlusHandlesAlwaysVisible(sal_Bool bOn);
+ sal_Bool IsPlusHandlesAlwaysVisible() const { return bPlusHdlAlways; }
// Handles sichrbar waerend TextEdit (in doppelter Groesse)?
// Persistent, default=FALSE
- void SetMarkHdlWhenTextEdit(BOOL bOn) { bMarkHdlWhenTextEdit=bOn; }
- BOOL IsMarkHdlWhenTextEdit() const { return bMarkHdlWhenTextEdit; }
+ void SetMarkHdlWhenTextEdit(sal_Bool bOn) { bMarkHdlWhenTextEdit=bOn; }
+ sal_Bool IsMarkHdlWhenTextEdit() const { return bMarkHdlWhenTextEdit; }
- BOOL HasMarkableGluePoints() const;
- ULONG GetMarkableGluePointCount() const;
- BOOL HasMarkedGluePoints() const;
- ULONG GetMarkedGluePointCount() const;
+ sal_Bool HasMarkableGluePoints() const;
+ sal_uIntPtr GetMarkableGluePointCount() const;
+ sal_Bool HasMarkedGluePoints() const;
+ sal_uIntPtr GetMarkedGluePointCount() const;
// Ein Klebepunkt wird eindeutig identifiziert durch das SdrObject
- // (dem er zugehoert) sowie einem USHORT nId (da jedes SdrObject je
+ // (dem er zugehoert) sowie einem sal_uInt16 nId (da jedes SdrObject je
// mehrere Klebepunkte haben kann. Hier an der View kommt zudem noch
// eine SdrPageView, die stets korrekt gesetzt sein sollte.
// Alternativ kann ein Klebepunkt durch ein SdrHdl bezeichnet werden.
@@ -433,52 +433,52 @@ public:
// Handleliste erneut berechnet. Alle vorher gemerkten SdrHdl* sind
// damit ungueltig, ebenso die Punkt-Id's!
// Pick: Unterstuetzte Optionen fuer nOptions sind SEARCH_NEXT, SEARCH_BACKWARD
- BOOL PickGluePoint(const Point& rPnt, SdrObject*& rpObj, USHORT& rnId, SdrPageView*& rpPV, ULONG nOptions=0) const;
- BOOL MarkGluePoint(const SdrObject* pObj, USHORT nId, const SdrPageView* pPV, BOOL bUnmark=FALSE);
- BOOL UnmarkGluePoint(const SdrObject* pObj, USHORT nId, const SdrPageView* pPV) { return MarkGluePoint(pObj,nId,pPV,TRUE); }
- BOOL IsGluePointMarked(const SdrObject* pObj, USHORT nId) const;
- BOOL UnmarkGluePoint(const SdrHdl& rHdl);
+ sal_Bool PickGluePoint(const Point& rPnt, SdrObject*& rpObj, sal_uInt16& rnId, SdrPageView*& rpPV, sal_uIntPtr nOptions=0) const;
+ sal_Bool MarkGluePoint(const SdrObject* pObj, sal_uInt16 nId, const SdrPageView* pPV, sal_Bool bUnmark=sal_False);
+ sal_Bool UnmarkGluePoint(const SdrObject* pObj, sal_uInt16 nId, const SdrPageView* pPV) { return MarkGluePoint(pObj,nId,pPV,sal_True); }
+ sal_Bool IsGluePointMarked(const SdrObject* pObj, sal_uInt16 nId) const;
+ sal_Bool UnmarkGluePoint(const SdrHdl& rHdl);
// Hdl eines markierten GluePoints holen. Nicht markierte
// GluePoints haben keine Handles
- SdrHdl* GetGluePointHdl(const SdrObject* pObj, USHORT nId) const;
- BOOL IsGluePoint(const SdrHdl& rHdl) const { return &rHdl!=NULL && rHdl.GetKind()==HDL_GLUE; }
+ SdrHdl* GetGluePointHdl(const SdrObject* pObj, sal_uInt16 nId) const;
+ sal_Bool IsGluePoint(const SdrHdl& rHdl) const { return &rHdl!=NULL && rHdl.GetKind()==HDL_GLUE; }
// alle Punkte innerhalb dieses Rechtecks markieren (Viewkoordinaten)
- BOOL MarkGluePoints(const Rectangle& rRect) { return MarkGluePoints(&rRect,FALSE); }
- BOOL UnmarkGluePoints(const Rectangle& rRect) { return MarkGluePoints(&rRect,TRUE); }
- BOOL MarkAllGluePoints() { return MarkGluePoints(NULL,FALSE); }
- BOOL UnmarkAllGluePoints() { return MarkGluePoints(NULL,TRUE); }
+ sal_Bool MarkGluePoints(const Rectangle& rRect) { return MarkGluePoints(&rRect,sal_False); }
+ sal_Bool UnmarkGluePoints(const Rectangle& rRect) { return MarkGluePoints(&rRect,sal_True); }
+ sal_Bool MarkAllGluePoints() { return MarkGluePoints(NULL,sal_False); }
+ sal_Bool UnmarkAllGluePoints() { return MarkGluePoints(NULL,sal_True); }
// Sucht sich den ersten markierten Klebepunkt (P1) und sucht von dort
// aus in den ersten nichtmarkierte Klebepunkt (P2).
// Bei Erfolg wird die Markierung von P1 entfernt, an P2 gesetzt und TRUE
- // returniert. Mit dem Parameter bPrev=TRUE geht die Suche genau in die
+ // returniert. Mit dem Parameter bPrev=sal_True geht die Suche genau in die
// andere Richtung.
- BOOL MarkNextGluePoint(BOOL bPrev=FALSE);
+ sal_Bool MarkNextGluePoint(sal_Bool bPrev=sal_False);
// Sucht sich den ersten markierten Klebepunkt (P1) das von rPnt
// getroffen wird und sucht von dort aus den
// ersten nichtmarkierten Klebepunkt (P2). Bei Erfolg wird die Markierung
- // von P1 entfernt, an P2 gesetzt und TRUE returniert.
- // Mit dem Parameter bPrev=TRUE geht die Suche genau in die andere Richtung.
- BOOL MarkNextGluePoint(const Point& rPnt, BOOL bPrev=FALSE);
+ // von P1 entfernt, an P2 gesetzt und sal_True returniert.
+ // Mit dem Parameter bPrev=sal_True geht die Suche genau in die andere Richtung.
+ sal_Bool MarkNextGluePoint(const Point& rPnt, sal_Bool bPrev=sal_False);
// Selektionsrahmen fuer Klebepunktmarkierung aufziehen.
- // Wird nur gestartet, wenn HasMarkableGluePoints() TRUE liefert.
- // Der GlueEditMode TRUE wird nicht abgefragt.
- // BOOL BegMarkGluePoints(const Point& rPnt, OutputDevice* pOut);
+ // Wird nur gestartet, wenn HasMarkableGluePoints() sal_True liefert.
+ // Der GlueEditMode sal_True wird nicht abgefragt.
+ // sal_Bool BegMarkGluePoints(const Point& rPnt, OutputDevice* pOut);
sal_Bool BegMarkGluePoints(const Point& rPnt, sal_Bool bUnmark = sal_False);
void MovMarkGluePoints(const Point& rPnt);
sal_Bool EndMarkGluePoints();
void BrkMarkGluePoints();
sal_Bool IsMarkGluePoints() const { return (0L != mpMarkGluePointsOverlay); }
- // bRestraintPaint=FALSE bewirkt, dass die Handles nicht sofort wieder gemalt werden.
+ // bRestraintPaint=sal_False bewirkt, dass die Handles nicht sofort wieder gemalt werden.
// AdjustMarkHdl wird eh' nur gerufen, wenn was geaendert wurde; was idR ein Invalidate
// zur Folge hat. Am Ende von des Redraw werden die Handles automatisch gezeichnet.
- // Der Zweck ist, unnoetiges Flackern zu vermeiden. -> Funkt noch nich, deshalb TRUE!
- void AdjustMarkHdl(); //HMHBOOL bRestraintPaint=TRUE);
+ // Der Zweck ist, unnoetiges Flackern zu vermeiden. -> Funkt noch nich, deshalb sal_True!
+ void AdjustMarkHdl(); //HMHBOOL bRestraintPaint=sal_True);
const Rectangle& GetMarkedObjRect() const; // SnapRects der Objekte, ohne Strichstaerke
Rectangle GetMarkedObjBoundRect() const; // inkl. Strichstaerke, ueberstehende Fetzen, ...
@@ -498,9 +498,9 @@ public:
// liegen alle Memberobjekte der Gruppe im direkten Zugriff. Alle anderen
// Objekte koennen waerendessen nicht bearbeitet werden (bis zum naechsten
// LeaveGroup()). Bei einer seitenuebergreifenden Markierung wird jede Page
- // separat abgearbeitet. Die Methode liefert TRUE, wenn wenigstens eine
+ // separat abgearbeitet. Die Methode liefert sal_True, wenn wenigstens eine
// Gruppe betreten wurde.
- BOOL EnterMarkedGroup();
+ sal_Bool EnterMarkedGroup();
// Den Mittelpunkt des letzten Crook-Dragging abholen. Den kann man
// bei einem anschliessenden Rotate sinnvoll als Drehmittelpunkt setzen.
diff --git a/svx/inc/svx/svdoashp.hxx b/svx/inc/svx/svdoashp.hxx
index dfb892522e9f..f0b7ce49027e 100644..100755
--- a/svx/inc/svx/svdoashp.hxx
+++ b/svx/inc/svx/svdoashp.hxx
@@ -175,7 +175,7 @@ public:
};
sal_Bool IsDefaultGeometry( const DefaultType eDefaultType ) const;
- virtual UINT16 GetObjIdentifier() const;
+ virtual sal_uInt16 GetObjIdentifier() const;
virtual void TakeObjInfo(SdrObjTransformInfoRec& rInfo) const;
virtual void SetModel(SdrModel* pNewModel);
@@ -200,7 +200,7 @@ public:
virtual void NbcSetSnapRect(const Rectangle& rRect);
virtual void NbcSetLogicRect(const Rectangle& rRect);
- virtual SdrGluePoint GetVertexGluePoint(USHORT nNum) const;
+ virtual SdrGluePoint GetVertexGluePoint(sal_uInt16 nNum) const;
virtual void NbcSetStyleSheet( SfxStyleSheet* pNewStyleSheet, sal_Bool bDontRemoveHardAttr );
@@ -224,7 +224,7 @@ public:
virtual void EndTextEdit( SdrOutliner& rOutl );
virtual void TakeTextAnchorRect( Rectangle& rAnchorRect ) const;
virtual void TakeTextRect( SdrOutliner& rOutliner, Rectangle& rTextRect, bool bNoEditText = false,
- Rectangle* pAnchorRect=NULL, BOOL bLineWidth=TRUE ) const;
+ Rectangle* pAnchorRect=NULL, sal_Bool bLineWidth=sal_True ) const;
virtual void operator=(const SdrObject& rObj);
virtual void TakeObjNameSingul(String& rName) const;
@@ -237,7 +237,7 @@ public:
virtual void NbcSetOutlinerParaObject(OutlinerParaObject* pTextObject);
- virtual SdrObject* DoConvertToPolyObj(BOOL bBezier) const;
+ virtual SdrObject* DoConvertToPolyObj(sal_Bool bBezier) const;
virtual void SetPage( SdrPage* pNewPage );
diff --git a/svx/inc/svx/svdoattr.hxx b/svx/inc/svx/svdoattr.hxx
index 78f9b1a792dd..c1527f0b3bcc 100644..100755
--- a/svx/inc/svx/svdoattr.hxx
+++ b/svx/inc/svx/svdoattr.hxx
@@ -75,10 +75,10 @@ public:
TYPEINFO();
// Feststellen, ob bFilledObj && Fuellung!=FillNone
- BOOL HasFill() const;
+ sal_Bool HasFill() const;
// Feststellen, ob Linie!=LineNone
- BOOL HasLine() const;
+ sal_Bool HasLine() const;
virtual const Rectangle& GetSnapRect() const;
diff --git a/svx/inc/svx/svdobj.hxx b/svx/inc/svx/svdobj.hxx
index b554e67aa4d4..42309c65b61b 100644..100755
--- a/svx/inc/svx/svdobj.hxx
+++ b/svx/inc/svx/svdobj.hxx
@@ -183,7 +183,7 @@ public:
OutputDevice* pOut;
const SetOfByte* pVisiLayer;
const SdrPageView* pPageView;
- USHORT nTol;
+ sal_uInt16 nTol;
bool bDown;
public:
@@ -192,7 +192,7 @@ public:
pVisiLayer(NULL),
pPageView(NULL),
nTol(0),
- bDown(FALSE)
+ bDown(sal_False)
{}
};
@@ -209,9 +209,9 @@ public:
class SVX_DLLPUBLIC SdrObjUserData
{
protected:
- UINT32 nInventor;
- UINT16 nIdentifier;
- UINT16 nVersion;
+ sal_uInt32 nInventor;
+ sal_uInt16 nIdentifier;
+ sal_uInt16 nVersion;
private:
SVX_DLLPRIVATE void operator=(const SdrObjUserData& rData); // nicht implementiert
@@ -221,7 +221,7 @@ private:
public:
TYPEINFO();
- SdrObjUserData(UINT32 nInv, UINT16 nId, UINT16 nVer)
+ SdrObjUserData(sal_uInt32 nInv, sal_uInt16 nId, sal_uInt16 nVer)
: nInventor(nInv),
nIdentifier(nId),
nVersion(nVer)
@@ -234,8 +234,8 @@ public:
virtual ~SdrObjUserData();
virtual SdrObjUserData* Clone(SdrObject* pObj1) const = 0; // #i71039# NULL -> 0
- UINT32 GetInventor() const { return nInventor; }
- UINT16 GetId() const { return nIdentifier; }
+ sal_uInt32 GetInventor() const { return nInventor; }
+ sal_uInt16 GetId() const { return nIdentifier; }
virtual bool HasMacro (const SdrObject* pObj) const;
virtual SdrObject* CheckMacroHit (const SdrObjMacroHitRec& rRec, const SdrObject* pObj) const;
@@ -260,17 +260,17 @@ public:
~SdrObjUserDataList() { Clear(); }
void Clear();
- USHORT GetUserDataCount() const { return USHORT(aList.Count()); }
- SdrObjUserData* GetUserData(USHORT nNum) const { return (SdrObjUserData*)aList.GetObject(nNum); }
- void InsertUserData(SdrObjUserData* pData, USHORT nPos=0xFFFF) { aList.Insert(pData,nPos); }
- SdrObjUserData* RemoveUserData(USHORT nNum) { return (SdrObjUserData*)aList.Remove(nNum);}
- void DeleteUserData(USHORT nNum) { delete RemoveUserData(nNum); }
+ sal_uInt16 GetUserDataCount() const { return sal_uInt16(aList.Count()); }
+ SdrObjUserData* GetUserData(sal_uInt16 nNum) const { return (SdrObjUserData*)aList.GetObject(nNum); }
+ void InsertUserData(SdrObjUserData* pData, sal_uInt16 nPos=0xFFFF) { aList.Insert(pData,nPos); }
+ SdrObjUserData* RemoveUserData(sal_uInt16 nNum) { return (SdrObjUserData*)aList.Remove(nNum);}
+ void DeleteUserData(sal_uInt16 nNum) { delete RemoveUserData(nNum); }
};
//************************************************************
// Hilfsklasse SdrObjGeoData
//
-// Alle geometrischen Daten eines beliebigen Objektes zur Übergabe an's Undo/Redo
+// Alle geometrischen Daten eines beliebigen Objektes zur �bergabe an's Undo/Redo
//
//************************************************************
@@ -280,10 +280,10 @@ public:
Rectangle aBoundRect;
Point aAnchor;
SdrGluePointList* pGPL;
- BOOL bMovProt;
- BOOL bSizProt;
- BOOL bNoPrint;
- BOOL bClosedObj;
+ sal_Bool bMovProt;
+ sal_Bool bSizProt;
+ sal_Bool bNoPrint;
+ sal_Bool bClosedObj;
bool mbVisible;
SdrLayerID mnLayerID;
@@ -304,7 +304,7 @@ class SdrObjPlusData
friend class SdrObject;
public:
- SfxBroadcaster* pBroadcast; // Broadcaster, falls dieses Obj referenziert wird (bVirtObj=TRUE). Auch fuer Konnektoren etc.
+ SfxBroadcaster* pBroadcast; // Broadcaster, falls dieses Obj referenziert wird (bVirtObj=sal_True). Auch fuer Konnektoren etc.
SdrObjUserDataList* pUserDataList; // applikationsspeziefische Daten
SdrGluePointList* pGluePoints; // Klebepunkte zum Ankleben von Objektverbindern
AutoTimer* pAutoTimer;
@@ -335,49 +335,49 @@ public:
class SdrObjTransformInfoRec
{
public:
- unsigned bSelectAllowed : 1; // FALSE=Obj kann nicht selektiert werden
- unsigned bMoveAllowed : 1; // FALSE=Obj kann nicht verschoben werden
- unsigned bResizeFreeAllowed : 1; // FALSE=Obj kann nicht frei resized werden
- unsigned bResizePropAllowed : 1; // FALSE=Obj kann nichtmal proportional resized werden
- unsigned bRotateFreeAllowed : 1; // FALSE=Obj kann nicht frei gedreht werden
- unsigned bRotate90Allowed : 1; // FALSE=Obj kann nichtmal im 90deg Raster gedreht werden
- unsigned bMirrorFreeAllowed : 1; // FALSE=Obj kann nicht frei gespiegelt werden
- unsigned bMirror45Allowed : 1; // FALSE=Obj kann nichtmal ueber Achse im 45deg Raster gespiegelt werden
- unsigned bMirror90Allowed : 1; // FALSE=Obj kann ebenfalls nicht ueber Achse im 90deg Raster gespiegelt werden
- unsigned bTransparenceAllowed : 1; // FALSE=Obj does not have an interactive transparence control
- unsigned bGradientAllowed : 1; // FALSE=Obj dooes not have an interactive gradient control
- unsigned bShearAllowed : 1; // FALSE=Obj kann nicht verzerrt werden
+ unsigned bSelectAllowed : 1; // sal_False=Obj kann nicht selektiert werden
+ unsigned bMoveAllowed : 1; // sal_False=Obj kann nicht verschoben werden
+ unsigned bResizeFreeAllowed : 1; // sal_False=Obj kann nicht frei resized werden
+ unsigned bResizePropAllowed : 1; // sal_False=Obj kann nichtmal proportional resized werden
+ unsigned bRotateFreeAllowed : 1; // sal_False=Obj kann nicht frei gedreht werden
+ unsigned bRotate90Allowed : 1; // sal_False=Obj kann nichtmal im 90deg Raster gedreht werden
+ unsigned bMirrorFreeAllowed : 1; // sal_False=Obj kann nicht frei gespiegelt werden
+ unsigned bMirror45Allowed : 1; // sal_False=Obj kann nichtmal ueber Achse im 45deg Raster gespiegelt werden
+ unsigned bMirror90Allowed : 1; // sal_False=Obj kann ebenfalls nicht ueber Achse im 90deg Raster gespiegelt werden
+ unsigned bTransparenceAllowed : 1; // sal_False=Obj does not have an interactive transparence control
+ unsigned bGradientAllowed : 1; // sal_False=Obj dooes not have an interactive gradient control
+ unsigned bShearAllowed : 1; // sal_False=Obj kann nicht verzerrt werden
unsigned bEdgeRadiusAllowed : 1;
- unsigned bNoOrthoDesired : 1; // TRUE bei Rect; ... FALSE bei BMP,MTF;
- unsigned bNoContortion : 1; // FALSE=Kein verzerren (bei Crook) moeglich (nur TRUE bei PathObj und Gruppierten PathObjs)
- unsigned bCanConvToPath : 1; // FALSE=Keine Konvertierung in PathObj moeglich
- unsigned bCanConvToPoly : 1; // FALSE=Keine Konvertierung in PolyObj moeglich
- unsigned bCanConvToContour : 1; // FALSE=no conversion down to whole contour possible
- unsigned bCanConvToPathLineToArea : 1; // FALSE=Keine Konvertierung in PathObj moeglich mit Wandlung von LineToArea
- unsigned bCanConvToPolyLineToArea : 1; // FALSE=Keine Konvertierung in PolyObj moeglich mit Wandlung von LineToArea
+ unsigned bNoOrthoDesired : 1; // sal_True bei Rect; ... sal_False bei BMP,MTF;
+ unsigned bNoContortion : 1; // sal_False=Kein verzerren (bei Crook) moeglich (nur sal_True bei PathObj und Gruppierten PathObjs)
+ unsigned bCanConvToPath : 1; // sal_False=Keine Konvertierung in PathObj moeglich
+ unsigned bCanConvToPoly : 1; // sal_False=Keine Konvertierung in PolyObj moeglich
+ unsigned bCanConvToContour : 1; // sal_False=no conversion down to whole contour possible
+ unsigned bCanConvToPathLineToArea : 1; // sal_False=Keine Konvertierung in PathObj moeglich mit Wandlung von LineToArea
+ unsigned bCanConvToPolyLineToArea : 1; // sal_False=Keine Konvertierung in PolyObj moeglich mit Wandlung von LineToArea
public:
SdrObjTransformInfoRec()
- : bSelectAllowed(TRUE),
- bMoveAllowed(TRUE),
- bResizeFreeAllowed(TRUE),
- bResizePropAllowed(TRUE),
- bRotateFreeAllowed(TRUE),
- bRotate90Allowed(TRUE),
- bMirrorFreeAllowed(TRUE),
- bMirror45Allowed(TRUE),
- bMirror90Allowed(TRUE),
- bTransparenceAllowed(TRUE),
- bGradientAllowed(TRUE),
- bShearAllowed(TRUE),
- bEdgeRadiusAllowed(TRUE),
- bNoOrthoDesired(TRUE),
- bNoContortion(TRUE),
- bCanConvToPath(TRUE),
- bCanConvToPoly(TRUE),
- bCanConvToContour(FALSE),
- bCanConvToPathLineToArea(TRUE),
- bCanConvToPolyLineToArea(TRUE)
+ : bSelectAllowed(sal_True),
+ bMoveAllowed(sal_True),
+ bResizeFreeAllowed(sal_True),
+ bResizePropAllowed(sal_True),
+ bRotateFreeAllowed(sal_True),
+ bRotate90Allowed(sal_True),
+ bMirrorFreeAllowed(sal_True),
+ bMirror45Allowed(sal_True),
+ bMirror90Allowed(sal_True),
+ bTransparenceAllowed(sal_True),
+ bGradientAllowed(sal_True),
+ bShearAllowed(sal_True),
+ bEdgeRadiusAllowed(sal_True),
+ bNoOrthoDesired(sal_True),
+ bNoContortion(sal_True),
+ bCanConvToPath(sal_True),
+ bCanConvToPoly(sal_True),
+ bCanConvToContour(sal_False),
+ bCanConvToPathLineToArea(sal_True),
+ bCanConvToPolyLineToArea(sal_True)
{}
};
@@ -467,7 +467,7 @@ protected:
unsigned bVirtObj : 1;
unsigned bSnapRectDirty : 1;
unsigned bNetLock : 1; // ni
- unsigned bInserted : 1; // nur wenn TRUE gibt's RepaintBroadcast & SetModify
+ unsigned bInserted : 1; // nur wenn sal_True gibt's RepaintBroadcast & SetModify
unsigned bGrouped : 1; // Member eines GroupObjektes?
// Die folgende Flags werden gestreamt
@@ -475,7 +475,7 @@ protected:
unsigned bSizProt : 1; // If true, the size is protected
unsigned bNoPrint : 1; // If true, the object is not printed.
unsigned mbVisible : 1; // If false, the object is not visible on screen (but maybe on printer, depending on bNoprint
- // Wenn bEmptyPresObj TRUE ist, handelt es sich um ein
+ // Wenn bEmptyPresObj sal_True ist, handelt es sich um ein
// Praesentationsobjekt, dem noch kein Inhalt zugewiesen
// wurde. Default ist das Flag auf FALSE. Die Verwaltung
// uebernimmt die Applikation. Im Zuweisungsoperator sowie
@@ -483,10 +483,10 @@ protected:
// Das Flag ist persistent.
unsigned bEmptyPresObj : 1; // Leeres Praesentationsobjekt (Draw)
- // TRUE=Objekt ist als Objekt der MasterPage nicht sichtbar
+ // sal_True=Objekt ist als Objekt der MasterPage nicht sichtbar
unsigned bNotVisibleAsMaster : 1;
- // TRUE=Es handelt sich hierbei um ein geschlossenes Objekt, also nicht Linie oder Kreisbogen ...
+ // sal_True=Es handelt sich hierbei um ein geschlossenes Objekt, also nicht Linie oder Kreisbogen ...
unsigned bClosedObj : 1;
unsigned bIsEdge : 1;
@@ -519,14 +519,14 @@ protected:
Rectangle ImpDragCalcRect(const SdrDragStat& rDrag) const;
// Fuer GetDragComment
- void ImpTakeDescriptionStr(USHORT nStrCacheID, String& rStr, USHORT nVal=0) const;
+ void ImpTakeDescriptionStr(sal_uInt16 nStrCacheID, String& rStr, sal_uInt16 nVal=0) const;
void ImpForcePlusData() { if (pPlusData==NULL) pPlusData=NewPlusData(); }
String GetWinkStr(long nWink, bool bNoDegChar = false) const;
String GetMetrStr(long nVal, MapUnit eWantMap=MAP_MM, bool bNoUnitChars = false) const;
- // bNotMyself=TRUE bedeutet: Nur die ObjList auf Dirty setzen, nicht mich.
+ // bNotMyself=sal_True bedeutet: Nur die ObjList auf Dirty setzen, nicht mich.
// Wird z.B. benoetigt fuer NbcMove, denn da movt man SnapRect und aOutRect
// i.d.R. gleich mit um die Neuberechnung zu sparen.
public:
@@ -578,8 +578,8 @@ public:
virtual void AddReference(SdrVirtObj& rVrtObj);
virtual void DelReference(SdrVirtObj& rVrtObj);
- virtual UINT32 GetObjInventor() const;
- virtual UINT16 GetObjIdentifier() const;
+ virtual sal_uInt32 GetObjInventor() const;
+ virtual sal_uInt16 GetObjIdentifier() const;
virtual void TakeObjInfo(SdrObjTransformInfoRec& rInfo) const;
// Layer interface
@@ -627,15 +627,15 @@ public:
// Wird die Reihenfolge der Objekte in der Liste veraendert, so wird ein
// Dirty-Flag gesetzt (an der Page). Beim naechsten SdrObject::GetOrdNum()
// werden die Ordnungsnummer aller Objekte der Liste neu bestimmt.
- UINT32 GetOrdNum() const;
+ sal_uInt32 GetOrdNum() const;
// Diese Methode sollte nur verwendet werden, wenn man ganz genau weiss,
// was man macht:
- UINT32 GetOrdNumDirect() const { return nOrdNum; }
+ sal_uInt32 GetOrdNumDirect() const { return nOrdNum; }
// Das Setzen der Ordnungsnummer sollte nur vom Model bzw. von der Page
// geschehen.
- void SetOrdNum(UINT32 nNum) { nOrdNum=nNum; }
+ void SetOrdNum(sal_uInt32 nNum) { nOrdNum=nNum; }
/** Return the position in the navigation order for the called object.
Note that this method may update the navigation position of the
@@ -684,7 +684,7 @@ public:
// Tooling for painting a single object to a OutputDevice. This will be needed as long
// as not all painting is changed to use DrawContact objects.
sal_Bool SingleObjectPainter(OutputDevice& rOut) const;
- BOOL LineGeometryUsageIsNecessary() const;
+ sal_Bool LineGeometryUsageIsNecessary() const;
// Clone() soll eine komplette Kopie des Objektes erzeugen.
virtual SdrObject* Clone() const;
@@ -711,7 +711,7 @@ public:
// Polygon wird das wohl ein einfacher Selektionshandle sein, bei einer
// Bezierkurve dagegen koennen das schon bis zu 3 Handles werden (inkl Gewichte).
// GetHdl() und GetPlusHdl() muessen Handleinstanzen mit new erzeugen!
- // Ein Objekt, das bei HasSpacialDrag() TRUE liefert muss diese Methoden
+ // Ein Objekt, das bei HasSpacialDrag() sal_True liefert muss diese Methoden
// zur Verfuegung stellen (inkl. FillHdlList).
virtual sal_uInt32 GetHdlCount() const;
virtual SdrHdl* GetHdl(sal_uInt32 nHdlNum) const;
@@ -725,8 +725,8 @@ public:
// Stuetzstellen bei Splines, Gewichte bei Bezierkurven und Pointer von
// Labelobjekten muss vom Objekt selbst gehandled werden. Um das Model
// Statusfrei zu halten werden die Statusdaten an der View gehalten und dem
- // Objekt dann uebergeben. EndDrag liefrt im Normalfall TRUE fuer Erfolg.
- // FALSE kann zurueckgegeben werden, wenn das Dragging das Objekt nicht
+ // Objekt dann uebergeben. EndDrag liefrt im Normalfall sal_True fuer Erfolg.
+ // sal_False kann zurueckgegeben werden, wenn das Dragging das Objekt nicht
// veraendert hat, wobei dir evtl. Tatsache das die Maus nicht bewegt wurde
// bereits von der View abgefangen wird.
virtual bool hasSpecialDrag() const;
@@ -750,14 +750,14 @@ public:
// BegCreate()-Methode gerufen. Bei jedem MausMode wird dann MovCreate
// gerufen. BrkCreate() bedeutet, dass der User die interaktive Objekt-
// erzeugung abgebrochen hat. EndCreate() wird gerufen beim MouseUp-Event.
- // Liefert EndCreate() ein TRUE, so ist die Objekterzeugung abgeschlossen;
+ // Liefert EndCreate() ein sal_True, so ist die Objekterzeugung abgeschlossen;
// das Objekt wird in die entsprechende Liste eingefuegt. Andernfalls
- // (EndCreate()==FALSE) gehe ich davon aus, dass weitere Punkte zur
+ // (EndCreate()==sal_False) gehe ich davon aus, dass weitere Punkte zur
// Objekterzeugung notwendig sind (Polygon,...). Der Parameter eCmd
// enthaelt die Anzahl der Mausklicks (so die App diese durchreicht).
// BckCreate() -> Letztes EndCreate() rueckgaengig machen (z.B. letzten
// Polygonpunkt wieder loeschen).
- // RetrunCode: TRUE=Weiter gehts, FALSE=Create dadurch abgebrochen.
+ // RetrunCode: sal_True=Weiter gehts, sal_False=Create dadurch abgebrochen.
virtual bool BegCreate(SdrDragStat& rStat);
virtual bool MovCreate(SdrDragStat& rStat); // TRUE=Xor muss repainted werden
virtual bool EndCreate(SdrDragStat& rStat, SdrCreateCmd eCmd);
@@ -923,10 +923,10 @@ public:
// Automatische Klebepunkte:
// je 4 Scheitelpunkt- und Eckpositionen muss ein Knotenobjekt liefern
// i.d.R. 0=oben, 1=rechts, 2=unten, 3=links
- virtual SdrGluePoint GetVertexGluePoint(USHORT nNum) const;
+ virtual SdrGluePoint GetVertexGluePoint(sal_uInt16 nNum) const;
// i.d.R. 0=linksoben, 1=rechtsoben, 2=rechtsunten, 3=linksunten
- virtual SdrGluePoint GetCornerGluePoint(USHORT nNum) const;
+ virtual SdrGluePoint GetCornerGluePoint(sal_uInt16 nNum) const;
// Liste aller Klebepunkte. Kann NULL sein.
virtual const SdrGluePointList* GetGluePointList() const;
@@ -971,9 +971,9 @@ public:
// Bezierkurve (oder beides) zu verwandeln, dann sollten die folgenden
// Methoden ueberladen werden.
// Z.B. Ein RectObj mit Strichstaerke 10, SOLID_PEN in Polygon wandeln:
- // Im Modus bLineToArea=FALSE soll ein PolyObj mit 4 Stuetzstellen,
+ // Im Modus bLineToArea=sal_False soll ein PolyObj mit 4 Stuetzstellen,
// Strichstaerke 10 und SOLiD_PEN erzeugt werden.
- // Im Modus bLineToArea=TRUE dagegen soll das generierte Obj immer ein
+ // Im Modus bLineToArea=sal_True dagegen soll das generierte Obj immer ein
// LinienAttribut NULL_PEN haben, und die Linie (auch Linienmuster) selbst
// durch Polygonflaechen emuliert werden, die dadurch anschliessend vom
// Anwender manipuliert werden koennen. Das RectObj kann sich somit also
@@ -985,21 +985,21 @@ public:
// Der Returnwert ist jeweils ein SdrObject*, da als Rueckgabe zur Not
// auch Gruppenobjekte erlaubt sind (z.B. fuer SdrTextObj).
// Bei der Konvertierung von TextObj nach PathObj wird es wohl so sein,
- // dass beide Modi (bLineToArea=TRUE/FALSE) identisch sind.
+ // dass beide Modi (bLineToArea=sal_True/sal_False) identisch sind.
// Defaulted sind diese Methoden auf "Ich kann das nicht" (FALSE/NULL).
- virtual SdrObject* DoConvertToPolyObj(BOOL bBezier) const;
- SdrObject* ConvertToPolyObj(BOOL bBezier, BOOL bLineToArea) const;
+ virtual SdrObject* DoConvertToPolyObj(sal_Bool bBezier) const;
+ SdrObject* ConvertToPolyObj(sal_Bool bBezier, sal_Bool bLineToArea) const;
// convert this path object to contour object; bForceLineDash converts even
// when there is no filled new polygon created from line-to-polygon conversion,
// specially used for XLINE_DASH and 3D conversion
- SdrObject* ConvertToContourObj(SdrObject* pRet, BOOL bForceLineDash = FALSE) const;
- SdrObject* ImpConvertToContourObj(SdrObject* pRet, BOOL bForceLineDash = FALSE) const;
+ SdrObject* ConvertToContourObj(SdrObject* pRet, sal_Bool bForceLineDash = sal_False) const;
+ SdrObject* ImpConvertToContourObj(SdrObject* pRet, sal_Bool bForceLineDash = sal_False) const;
// TRUE: Referenz auf ein Obj
sal_Bool IsVirtualObj() const { return bVirtObj; }
- // TRUE=Obj kann warsch. gefuellt werden; FALSE=Obj kann warsch. Linienenden haben.
+ // sal_True=Obj kann warsch. gefuellt werden; sal_False=Obj kann warsch. Linienenden haben.
// ungueltig, wenn es sich um ein GroupObj handelt.
sal_Bool IsClosedObj() const { return bClosedObj; }
@@ -1007,8 +1007,8 @@ public:
sal_Bool Is3DObj() const { return bIs3DObj; }
sal_Bool IsUnoObj() const { return bIsUnoObj; }
sal_Bool IsMasterCachable() const { return !bNotMasterCachable; }
- sal_Bool ShareLock() { sal_Bool r=!bNetLock; bNetLock=TRUE; return r; }
- void ShareUnlock() { bNetLock=FALSE; }
+ sal_Bool ShareLock() { sal_Bool r=!bNetLock; bNetLock=sal_True; return r; }
+ void ShareUnlock() { bNetLock=sal_False; }
sal_Bool IsShareLock() const { return bNetLock; }
void SetMarkProtect(sal_Bool bProt) { bMarkProt=bProt; }
sal_Bool IsMarkProtect() const { return bMarkProt; }
@@ -1036,16 +1036,16 @@ public:
sal_Bool DoesSupportTextIndentingOnLineWidthChange() const { return mbSupportTextIndentingOnLineWidthChange; }
// applikationsspeziefische Daten
- USHORT GetUserDataCount() const;
- SdrObjUserData* GetUserData(USHORT nNum) const;
+ sal_uInt16 GetUserDataCount() const;
+ SdrObjUserData* GetUserData(sal_uInt16 nNum) const;
// Insert uebernimmt den auf dem Heap angelegten Record in den Besitz
// des Zeichenobjekts
- void InsertUserData(SdrObjUserData* pData, USHORT nPos=0xFFFF);
+ void InsertUserData(SdrObjUserData* pData, sal_uInt16 nPos=0xFFFF);
// Delete entfernt den Record aus der Liste und ruft
// ein delete (FreeMem+Dtor).
- void DeleteUserData(USHORT nNum);
+ void DeleteUserData(sal_uInt16 nNum);
// ItemPool fuer dieses Objekt wechseln
void MigrateItemPool(SfxItemPool* pSrcPool, SfxItemPool* pDestPool, SdrModel* pNewModel = 0L);
@@ -1109,7 +1109,7 @@ public:
// to use (0,0) as upper left and will be scaled to the given size in the matrix.
virtual void TRSetBaseGeometry(const basegfx::B2DHomMatrix& rMatrix, const basegfx::B2DPolyPolygon& rPolyPolygon);
- sal_Bool IsTransparent( BOOL bCheckForAlphaChannel = FALSE ) const;
+ sal_Bool IsTransparent( sal_Bool bCheckForAlphaChannel = sal_False ) const;
// #116168#
// Give info if object is in destruction
@@ -1156,8 +1156,8 @@ private:
class SVX_DLLPUBLIC SdrObjFactory
{
public:
- UINT32 nInventor;
- UINT16 nIdentifier;
+ sal_uInt32 nInventor;
+ sal_uInt16 nIdentifier;
// fuer MakeNewObj():
SdrPage* pPage;
@@ -1169,14 +1169,14 @@ public:
SdrObjUserData* pNewData;
private:
- SVX_DLLPRIVATE SdrObjFactory(UINT32 nInvent, UINT16 nIdent, SdrPage* pNewPage, SdrModel* pNewModel);
- SVX_DLLPRIVATE SdrObjFactory(UINT32 nInvent, UINT16 nIdent, SdrObject* pObj1);
+ SVX_DLLPRIVATE SdrObjFactory(sal_uInt32 nInvent, sal_uInt16 nIdent, SdrPage* pNewPage, SdrModel* pNewModel);
+ SVX_DLLPRIVATE SdrObjFactory(sal_uInt32 nInvent, sal_uInt16 nIdent, SdrObject* pObj1);
public:
- static SdrObject* MakeNewObject(UINT32 nInvent, UINT16 nIdent, SdrPage* pPage, SdrModel* pModel=NULL);
+ static SdrObject* MakeNewObject(sal_uInt32 nInvent, sal_uInt16 nIdent, SdrPage* pPage, SdrModel* pModel=NULL);
static void InsertMakeObjectHdl(const Link& rLink);
static void RemoveMakeObjectHdl(const Link& rLink);
- static SdrObjUserData* MakeNewObjUserData(UINT32 nInvent, UINT16 nIdent, SdrObject* pObj);
+ static SdrObjUserData* MakeNewObjUserData(sal_uInt32 nInvent, sal_uInt16 nIdent, SdrObject* pObj);
static void InsertMakeUserDataHdl(const Link& rLink);
static void RemoveMakeUserDataHdl(const Link& rLink);
};
diff --git a/svx/inc/svx/svdocapt.hxx b/svx/inc/svx/svdocapt.hxx
index d97b4e2d733e..fdfd71c844ec 100644..100755
--- a/svx/inc/svx/svdocapt.hxx
+++ b/svx/inc/svx/svdocapt.hxx
@@ -93,15 +93,15 @@ public:
virtual ~SdrCaptionObj();
virtual void TakeObjInfo(SdrObjTransformInfoRec& rInfo) const;
- virtual UINT16 GetObjIdentifier() const;
+ virtual sal_uInt16 GetObjIdentifier() const;
virtual void operator=(const SdrObject& rObj);
// for calc: special shadow only for text box
- void SetSpecialTextBoxShadow() { mbSpecialTextBoxShadow = TRUE; }
+ void SetSpecialTextBoxShadow() { mbSpecialTextBoxShadow = sal_True; }
sal_Bool GetSpecialTextBoxShadow() const { return mbSpecialTextBoxShadow; }
// for calc: fixed note tail position.
- void SetFixedTail() { mbFixedTail = TRUE; }
+ void SetFixedTail() { mbFixedTail = sal_True; }
virtual void TakeObjNameSingul(String& rName) const;
virtual void TakeObjNamePlural(String& rName) const;
@@ -150,7 +150,7 @@ protected:
virtual void RestGeoData(const SdrObjGeoData& rGeo);
public:
- virtual SdrObject* DoConvertToPolyObj(BOOL bBezier) const;
+ virtual SdrObject* DoConvertToPolyObj(sal_Bool bBezier) const;
const Point& GetTailPos() const;
void SetTailPos(const Point& rPos);
diff --git a/svx/inc/svx/svdocirc.hxx b/svx/inc/svx/svdocirc.hxx
index 917a27400f5a..d325e3203942 100644..100755
--- a/svx/inc/svx/svdocirc.hxx
+++ b/svx/inc/svx/svdocirc.hxx
@@ -82,7 +82,7 @@ private:
SVX_DLLPRIVATE void ImpSetAttrToCircInfo(); // Werte vom Pool kopieren
SVX_DLLPRIVATE void ImpSetCircInfoToAttr(); // Werte in den Pool kopieren
- // Liefert TRUE, wenn das Painten ein XPolygon erfordert.
+ // Liefert sal_True, wenn das Painten ein XPolygon erfordert.
SVX_DLLPRIVATE bool PaintNeedsXPolyCirc() const; // PaintNeedsXPoly-> PaintNeedsXPolyCirc
SVX_DLLPRIVATE virtual void RecalcXPoly();
@@ -104,7 +104,7 @@ public:
virtual ~SdrCircObj();
virtual void TakeObjInfo(SdrObjTransformInfoRec& rInfo) const;
- virtual UINT16 GetObjIdentifier() const;
+ virtual sal_uInt16 GetObjIdentifier() const;
virtual void TakeUnrotatedSnapRect(Rectangle& rRect) const;
virtual void TakeObjNameSingul(String& rName) const;
@@ -138,7 +138,7 @@ public:
virtual void NbcResize(const Point& rRef, const Fraction& xFact, const Fraction& yFact);
virtual void NbcMirror(const Point& rRef1, const Point& rRef2);
virtual void NbcShear (const Point& rRef, long nWink, double tn, bool bVShear);
- virtual SdrObject* DoConvertToPolyObj(BOOL bBezier) const;
+ virtual SdrObject* DoConvertToPolyObj(sal_Bool bBezier) const;
protected:
virtual SdrObjGeoData* NewGeoData() const;
diff --git a/svx/inc/svx/svdoedge.hxx b/svx/inc/svx/svdoedge.hxx
index f4371a57c24b..99aca957b1e3 100644..100755
--- a/svx/inc/svx/svdoedge.hxx
+++ b/svx/inc/svx/svdoedge.hxx
@@ -59,13 +59,13 @@ protected:
SdrObject* pObj; // Referenziertes Objekt
long nXDist; // Hor. Objektabstand wenn bXDistOvr=TRUE
long nYDist; // Vert. Objektabstand wenn bYDistOvr=TRUE
- USHORT nConId; // Konnektornummer
+ sal_uInt16 nConId; // Konnektornummer
// bitfield
- unsigned bBestConn : 1; // TRUE= es wird der guenstigste Konnektor gesucht
- unsigned bBestVertex : 1; // TRUE= es wird der guenstigste Scheitelpunkt zum konnekten gesucht
- unsigned bXDistOvr : 1; // TRUE= Hor. Objektabstand wurde gedragt (Overwrite)
- unsigned bYDistOvr : 1; // TRUE= Vert. Objektabstand wurde gedragt (Overwrite)
+ unsigned bBestConn : 1; // sal_True= es wird der guenstigste Konnektor gesucht
+ unsigned bBestVertex : 1; // sal_True= es wird der guenstigste Scheitelpunkt zum konnekten gesucht
+ unsigned bXDistOvr : 1; // sal_True= Hor. Objektabstand wurde gedragt (Overwrite)
+ unsigned bYDistOvr : 1; // sal_True= Vert. Objektabstand wurde gedragt (Overwrite)
unsigned bAutoVertex : 1; // AutoConnector am Scheitelpunkt nCon
unsigned bAutoCorner : 1; // AutoConnector am Eckpunkt nCon
@@ -76,14 +76,14 @@ public:
void ResetVars();
bool TakeGluePoint(SdrGluePoint& rGP, bool bSetAbsolutePos) const;
- inline void SetBestConnection( BOOL rB ) { bBestConn = rB; };
- inline void SetBestVertex( BOOL rB ) { bBestVertex = rB; };
- inline void SetAutoVertex( BOOL rB ) { bAutoVertex = rB; };
- inline void SetConnectorId( USHORT nId ) { nConId = nId; };
+ inline void SetBestConnection( sal_Bool rB ) { bBestConn = rB; };
+ inline void SetBestVertex( sal_Bool rB ) { bBestVertex = rB; };
+ inline void SetAutoVertex( sal_Bool rB ) { bAutoVertex = rB; };
+ inline void SetConnectorId( sal_uInt16 nId ) { nConId = nId; };
- inline BOOL IsBestConnection() const { return bBestConn; };
- inline BOOL IsBestVertex() const { return bBestVertex; };
- inline BOOL IsAutoVertex() const { return bAutoVertex; };
+ inline sal_Bool IsBestConnection() const { return bBestConn; };
+ inline sal_Bool IsBestVertex() const { return bBestVertex; };
+ inline sal_Bool IsAutoVertex() const { return bAutoVertex; };
inline sal_uInt16 GetConnectorId() const { return nConId; };
inline SdrObject* GetObject() const { return pObj; }
};
@@ -109,9 +109,9 @@ public:
// Nachfolgende Werte werden von ImpCalcEdgeTrack gesetzt
long nAngle1; // Austrittswinkel am Obj1
long nAngle2; // Austrittswinkel am Obj2
- USHORT nObj1Lines; // 1..3
- USHORT nObj2Lines; // 1..3
- USHORT nMiddleLine; // 0xFFFF=keine, sonst Punktnummer des Linienbeginns
+ sal_uInt16 nObj1Lines; // 1..3
+ sal_uInt16 nObj2Lines; // 1..3
+ sal_uInt16 nMiddleLine; // 0xFFFF=keine, sonst Punktnummer des Linienbeginns
char cOrthoForm; // Form des Ortho-Verbindes, z.B. 'Z','U',I','L','S',...
public:
@@ -126,7 +126,7 @@ public:
Point& ImpGetLineVersatzPoint(SdrEdgeLineCode eLineCode);
const Point& ImpGetLineVersatzPoint(SdrEdgeLineCode eLineCode) const { return ((SdrEdgeInfoRec*)this)->ImpGetLineVersatzPoint(eLineCode); }
- USHORT ImpGetPolyIdx(SdrEdgeLineCode eLineCode, const XPolygon& rXP) const;
+ sal_uInt16 ImpGetPolyIdx(SdrEdgeLineCode eLineCode, const XPolygon& rXP) const;
bool ImpIsHorzLine(SdrEdgeLineCode eLineCode, const XPolygon& rXP) const;
void ImpSetLineVersatz(SdrEdgeLineCode eLineCode, const XPolygon& rXP, long nVal);
long ImpGetLineVersatz(SdrEdgeLineCode eLineCode, const XPolygon& rXP) const;
@@ -142,7 +142,7 @@ public:
SdrObjConnection aCon1; // Verbindungszustand des Linienanfangs
SdrObjConnection aCon2; // Verbindungszustand des Linienendes
XPolygon* pEdgeTrack;
- sal_Bool bEdgeTrackDirty;// TRUE=Verbindungsverlauf muss neu berechnet werden.
+ sal_Bool bEdgeTrackDirty;// sal_True=Verbindungsverlauf muss neu berechnet werden.
sal_Bool bEdgeTrackUserDefined;
SdrEdgeInfoRec aEdgeInfo;
@@ -176,7 +176,7 @@ protected:
SdrEdgeInfoRec aEdgeInfo;
// bitfield
- unsigned bEdgeTrackDirty : 1; // TRUE=Verbindungsverlauf muss neu berechnet werden.
+ unsigned bEdgeTrackDirty : 1; // sal_True=Verbindungsverlauf muss neu berechnet werden.
unsigned bEdgeTrackUserDefined : 1;
// #109007#
@@ -208,9 +208,9 @@ protected:
XPolygon ImpCalcEdgeTrack(const XPolygon& rTrack0, SdrObjConnection& rCon1, SdrObjConnection& rCon2, SdrEdgeInfoRec* pInfo) const;
XPolygon ImpCalcEdgeTrack(const Point& rPt1, long nAngle1, const Rectangle& rBoundRect1, const Rectangle& rBewareRect1,
const Point& rPt2, long nAngle2, const Rectangle& rBoundRect2, const Rectangle& rBewareRect2,
- ULONG* pnQuality, SdrEdgeInfoRec* pInfo) const;
+ sal_uIntPtr* pnQuality, SdrEdgeInfoRec* pInfo) const;
static bool ImpFindConnector(const Point& rPt, const SdrPageView& rPV, SdrObjConnection& rCon, const SdrEdgeObj* pThis, OutputDevice* pOut=NULL);
- USHORT ImpCalcEscAngle(SdrObject* pObj, const Point& aPt2) const;
+ sal_uInt16 ImpCalcEscAngle(SdrObject* pObj, const Point& aPt2) const;
bool ImpStripPolyPoints(XPolygon& rXP) const; // entfernen ueberfluessiger Punkte
void ImpSetTailPoint(bool bTail1, const Point& rPt);
void ImpUndirtyEdgeTrack(); // eventuelle Neuberechnung des Verbindungsverlaufs
@@ -226,19 +226,19 @@ public:
SdrObjConnection& GetConnection(bool bTail1) { return *(bTail1 ? &aCon1 : &aCon2); }
virtual void TakeObjInfo(SdrObjTransformInfoRec& rInfo) const;
- virtual UINT16 GetObjIdentifier() const;
+ virtual sal_uInt16 GetObjIdentifier() const;
virtual const Rectangle& GetCurrentBoundRect() const;
virtual const Rectangle& GetSnapRect() const;
virtual bool IsNode() const;
- virtual SdrGluePoint GetVertexGluePoint(USHORT nNum) const;
- virtual SdrGluePoint GetCornerGluePoint(USHORT nNum) const;
+ virtual SdrGluePoint GetVertexGluePoint(sal_uInt16 nNum) const;
+ virtual SdrGluePoint GetCornerGluePoint(sal_uInt16 nNum) const;
virtual const SdrGluePointList* GetGluePointList() const;
virtual SdrGluePointList* ForceGluePointList();
virtual bool IsEdge() const;
// bTail1=TRUE: Linienanfang, sonst LinienEnde
// pObj=NULL: Disconnect
- void SetEdgeTrackDirty() { bEdgeTrackDirty=TRUE; }
+ void SetEdgeTrackDirty() { bEdgeTrackDirty=sal_True; }
void ConnectToNode(bool bTail1, SdrObject* pObj);
void DisconnectFromNode(bool bTail1);
SdrObject* GetConnectedNode(bool bTail1) const;
@@ -281,7 +281,7 @@ public:
virtual void BrkCreate(SdrDragStat& rStat);
virtual basegfx::B2DPolyPolygon TakeCreatePoly(const SdrDragStat& rDrag) const;
virtual Pointer GetCreatePointer() const;
- virtual SdrObject* DoConvertToPolyObj(BOOL bBezier) const;
+ virtual SdrObject* DoConvertToPolyObj(sal_Bool bBezier) const;
virtual sal_uInt32 GetSnapPointCount() const;
virtual Point GetSnapPoint(sal_uInt32 i) const;
@@ -301,8 +301,8 @@ public:
void Reformat();
// helper methods for the StarOffice api
- Point GetTailPoint( BOOL bTail ) const;
- void SetTailPoint( BOOL bTail, const Point& rPt );
+ Point GetTailPoint( sal_Bool bTail ) const;
+ void SetTailPoint( sal_Bool bTail, const Point& rPt );
void setGluePointIndex( sal_Bool bTail, sal_Int32 nId = -1 );
sal_Int32 getGluePointIndex( sal_Bool bTail );
@@ -321,24 +321,24 @@ public:
//
// Zur Bestimmung der Verlaufslinie werden folgende Item-Parameter des SdrItemPool verwendet:
//
-// USHORT EdgeFlowAngle Default 9000 (=90.00 Deg), min 0, max 9000
+// sal_uInt16 EdgeFlowAngle Default 9000 (=90.00 Deg), min 0, max 9000
// Verlauffreiheitswinkel.
// Der Winkel, in dem die Verbindungslinie verlaufen darf.
//
-// USHORT EdgeEscAngle Default 9000 (=90.00 Deg), min 0, max 9000
+// sal_uInt16 EdgeEscAngle Default 9000 (=90.00 Deg), min 0, max 9000
// Objektaustrittswinkel.
// Der Winkel, in dem die Verbindungslinie aus dem Objekt austreten darf.
//
-// BOOL EdgeEscAsRay Default FALSE
-// TRUE= die Verbindungslinie tritt aus dem Obj Strahlenfoermig aus.
+// sal_Bool EdgeEscAsRay Default FALSE
+// sal_True= die Verbindungslinie tritt aus dem Obj Strahlenfoermig aus.
// Also Winkelvorgabe durch die Strecke ObjMitte/Konnektor.
//
-// BOOL EdgeEscUseObjAngle Default FALSE
+// sal_Bool EdgeEscUseObjAngle Default FALSE
// Objektdrehwinkelberuecksichtigung.
-// TRUE= Bei der Bestimmung des Objektaustrittswinkels wird der
+// sal_True= Bei der Bestimmung des Objektaustrittswinkels wird der
// Drehwinkel des Objekts als Offset beruecksichtigt.
//
-// ULONG EdgeFlowDefDist Default 0, min 0, max ?
+// sal_uIntPtr EdgeFlowDefDist Default 0, min 0, max ?
// Das ist der Default-Mindestabstand der bei der Berechnung der
// Verbindungslinie zu den angedockten Objekten in logischen Einheiten.
// Dieser Abstand wird innerhalb des Objektes "ueberschrieben", sobald
diff --git a/svx/inc/svx/svdograf.hxx b/svx/inc/svx/svdograf.hxx
index 86c5391f6bc1..57d76fdedee5 100644..100755
--- a/svx/inc/svx/svdograf.hxx
+++ b/svx/inc/svx/svdograf.hxx
@@ -121,7 +121,8 @@ protected:
void ImpLinkAnmeldung();
void ImpLinkAbmeldung();
- sal_Bool ImpUpdateGraphicLink() const;
+ sal_Bool ImpUpdateGraphicLink( sal_Bool bAsynchron = sal_True ) const;
+ void ImpSetLinkedGraphic( const Graphic& rGraphic );
DECL_LINK( ImpSwapHdl, GraphicObject* );
public:
@@ -140,7 +141,7 @@ public:
void SetGraphic(const Graphic& rGrf);
const Graphic& GetGraphic() const;
- Graphic GetTransformedGraphic( ULONG nTransformFlags = SDRGRAFOBJ_TRANSFORMATTR_ALL ) const;
+ Graphic GetTransformedGraphic( sal_uIntPtr nTransformFlags = SDRGRAFOBJ_TRANSFORMATTR_ALL ) const;
GraphicType GetGraphicType() const;
@@ -161,7 +162,7 @@ public:
void SetGraphicLink(const String& rFileName, const String& rFilterName);
void ReleaseGraphicLink();
- sal_Bool IsLinkedGraphic() const { return (BOOL)aFileName.Len(); }
+ sal_Bool IsLinkedGraphic() const { return (sal_Bool)aFileName.Len(); }
void SetFileName(const String& rFileName);
const String& GetFileName() const { return aFileName; }
@@ -172,7 +173,7 @@ public:
void StopAnimation(OutputDevice* pOutDev=NULL, long nExtraData=0L);
virtual void TakeObjInfo(SdrObjTransformInfoRec& rInfo) const;
- virtual UINT16 GetObjIdentifier() const;
+ virtual sal_uInt16 GetObjIdentifier() const;
virtual void TakeObjNameSingul(String& rName) const;
virtual void TakeObjNamePlural(String& rName) const;
@@ -201,7 +202,7 @@ public:
virtual void SetPage(SdrPage* pNewPage);
virtual void SetModel(SdrModel* pNewModel);
- virtual SdrObject* DoConvertToPolyObj(BOOL bBezier) const;
+ virtual SdrObject* DoConvertToPolyObj(sal_Bool bBezier) const;
virtual void AdjustToMaxRect( const Rectangle& rMaxRect, bool bShrinkOnly = false );
diff --git a/svx/inc/svx/svdogrp.hxx b/svx/inc/svx/svdogrp.hxx
index 23a35d0804fa..caa9af3f902b 100644..100755
--- a/svx/inc/svx/svdogrp.hxx
+++ b/svx/inc/svx/svdogrp.hxx
@@ -65,7 +65,7 @@ public:
virtual ~SdrObjGroup();
virtual void SetBoundRectDirty();
- virtual UINT16 GetObjIdentifier() const;
+ virtual sal_uInt16 GetObjIdentifier() const;
virtual void TakeObjInfo(SdrObjTransformInfoRec& rInfo) const;
virtual SdrLayerID GetLayer() const;
virtual void NbcSetLayer(SdrLayerID nLayer);
@@ -119,7 +119,7 @@ public:
virtual void NbcReformatText();
virtual void ReformatText();
- virtual SdrObject* DoConvertToPolyObj(BOOL bBezier) const;
+ virtual SdrObject* DoConvertToPolyObj(sal_Bool bBezier) const;
};
#endif //_SVDOGRP_HXX
diff --git a/svx/inc/svx/svdomeas.hxx b/svx/inc/svx/svdomeas.hxx
index 9295a2514f9a..977a173b603e 100644..100755
--- a/svx/inc/svx/svdomeas.hxx
+++ b/svx/inc/svx/svdomeas.hxx
@@ -86,7 +86,7 @@ protected:
void ImpCalcGeometrics(const ImpMeasureRec& rRec, ImpMeasurePoly& rPol) const;
basegfx::B2DPolyPolygon ImpCalcXPoly(const ImpMeasurePoly& rPol) const;
void ImpEvalDrag(ImpMeasureRec& rRec, const SdrDragStat& rDrag) const;
- void SetTextDirty() { bTextDirty=TRUE; SetTextSizeDirty(); if (!aOutRect.IsEmpty()) { SetBoundRectDirty(); SetRectsDirty(sal_True); } }
+ void SetTextDirty() { bTextDirty=sal_True; SetTextSizeDirty(); if (!aOutRect.IsEmpty()) { SetBoundRectDirty(); SetRectsDirty(sal_True); } }
void UndirtyText() const;
virtual SdrObjGeoData* NewGeoData() const;
@@ -100,7 +100,7 @@ public:
virtual ~SdrMeasureObj();
virtual void TakeObjInfo(SdrObjTransformInfoRec& rInfo) const;
- virtual UINT16 GetObjIdentifier() const;
+ virtual sal_uInt16 GetObjIdentifier() const;
virtual void TakeUnrotatedSnapRect(Rectangle& rRect) const;
virtual void operator=(const SdrObject& rObj);
@@ -141,19 +141,19 @@ public:
virtual Point GetPoint(sal_uInt32 i) const;
virtual void NbcSetPoint(const Point& rPnt, sal_uInt32 i);
- virtual SdrObject* DoConvertToPolyObj(BOOL bBezier) const;
+ virtual SdrObject* DoConvertToPolyObj(sal_Bool bBezier) const;
virtual sal_Bool BegTextEdit(SdrOutliner& rOutl);
virtual const Size& GetTextSize() const;
virtual void TakeTextRect( SdrOutliner& rOutliner, Rectangle& rTextRect, bool bNoEditText = false,
- Rectangle* pAnchorRect=NULL, BOOL bLineWidth=TRUE ) const;
+ Rectangle* pAnchorRect=NULL, sal_Bool bLineWidth=sal_True ) const;
virtual void TakeTextAnchorRect(Rectangle& rAnchorRect) const;
virtual void TakeTextEditArea(Size* pPaperMin, Size* pPaperMax, Rectangle* pViewInit, Rectangle* pViewMin) const;
- virtual USHORT GetOutlinerViewAnchorMode() const;
+ virtual sal_uInt16 GetOutlinerViewAnchorMode() const;
virtual void NbcSetOutlinerParaObject(OutlinerParaObject* pTextObject);
virtual OutlinerParaObject* GetOutlinerParaObject() const;
- virtual bool CalcFieldValue(const SvxFieldItem& rField, USHORT nPara, USHORT nPos,
+ virtual bool CalcFieldValue(const SvxFieldItem& rField, sal_uInt16 nPara, sal_uInt16 nPos,
bool bEdit, Color*& rpTxtColor, Color*& rpFldColor, String& rRet) const;
// #i97878#
diff --git a/svx/inc/svx/svdomedia.hxx b/svx/inc/svx/svdomedia.hxx
index 0b0896069c4e..e6cf8a4114b8 100644..100755
--- a/svx/inc/svx/svdomedia.hxx
+++ b/svx/inc/svx/svdomedia.hxx
@@ -57,7 +57,7 @@ public:
virtual bool HasTextEdit() const;
virtual void TakeObjInfo(SdrObjTransformInfoRec& rInfo) const;
- virtual UINT16 GetObjIdentifier() const;
+ virtual sal_uInt16 GetObjIdentifier() const;
virtual void TakeObjNameSingul(String& rName) const;
virtual void TakeObjNamePlural(String& rName) const;
diff --git a/svx/inc/svx/svdoole2.hxx b/svx/inc/svx/svdoole2.hxx
index de1f425fa900..8a70fd7cf7cd 100644..100755
--- a/svx/inc/svx/svdoole2.hxx
+++ b/svx/inc/svx/svdoole2.hxx
@@ -69,8 +69,8 @@ protected:
String aProgName;
// wg. Kompatibilitaet erstmal am SdrTextObj
- BOOL bFrame : 1;
- BOOL bInDestruction : 1;
+ sal_Bool bFrame : 1;
+ sal_Bool bInDestruction : 1;
mutable bool m_bTypeAsked;
mutable bool m_bChart;
@@ -141,7 +141,7 @@ public:
virtual SdrObject* getFullDragClone() const;
virtual void TakeObjInfo(SdrObjTransformInfoRec& rInfo) const;
- virtual UINT16 GetObjIdentifier() const;
+ virtual sal_uInt16 GetObjIdentifier() const;
virtual void TakeObjNameSingul(String& rName) const;
virtual void TakeObjNamePlural(String& rName) const;
@@ -156,7 +156,7 @@ public:
static sal_Bool CanUnloadRunningObj( const ::com::sun::star::uno::Reference< ::com::sun::star::embed::XEmbeddedObject >& xObj,
sal_Int64 nAspect );
static sal_Bool Unload( const ::com::sun::star::uno::Reference< ::com::sun::star::embed::XEmbeddedObject >& xObj, sal_Int64 nAspect );
- BOOL Unload();
+ sal_Bool Unload();
void Connect();
void Disconnect();
void ObjectLoaded();
diff --git a/svx/inc/svx/svdopage.hxx b/svx/inc/svx/svdopage.hxx
index 62ef24ab8611..9f597eba2290 100644..100755
--- a/svx/inc/svx/svdopage.hxx
+++ b/svx/inc/svx/svdopage.hxx
@@ -63,7 +63,7 @@ public:
// #i96598#
virtual void SetBoundRectDirty();
- virtual UINT16 GetObjIdentifier() const;
+ virtual sal_uInt16 GetObjIdentifier() const;
virtual void TakeObjInfo(SdrObjTransformInfoRec& rInfo) const;
virtual void operator=(const SdrObject& rObj);
diff --git a/svx/inc/svx/svdopath.hxx b/svx/inc/svx/svdopath.hxx
index aa8d62449cc7..6981281a9b1c 100644..100755
--- a/svx/inc/svx/svdopath.hxx
+++ b/svx/inc/svx/svdopath.hxx
@@ -94,7 +94,7 @@ public:
virtual ~SdrPathObj();
virtual void TakeObjInfo(SdrObjTransformInfoRec& rInfo) const;
- virtual UINT16 GetObjIdentifier() const;
+ virtual sal_uInt16 GetObjIdentifier() const;
virtual void TakeUnrotatedSnapRect(Rectangle& rRect) const;
virtual void operator=(const SdrObject& rObj);
@@ -155,7 +155,7 @@ protected:
virtual void RestGeoData(const SdrObjGeoData& rGeo);
public:
- virtual SdrObject* DoConvertToPolyObj(BOOL bBezier) const;
+ virtual SdrObject* DoConvertToPolyObj(sal_Bool bBezier) const;
// Bezierpolygon holen/setzen
const basegfx::B2DPolyPolygon& GetPathPoly() const { return maPathPolygon; }
diff --git a/svx/inc/svx/svdorect.hxx b/svx/inc/svx/svdorect.hxx
index ae9d6896317a..16c1198e5fc9 100644..100755
--- a/svx/inc/svx/svdorect.hxx
+++ b/svx/inc/svx/svdorect.hxx
@@ -63,7 +63,7 @@ protected:
XPolygon* mpXPoly;
protected:
- // Liefert TRUE, wenn das Painten ein Polygon erfordert.
+ // Liefert sal_True, wenn das Painten ein Polygon erfordert.
bool PaintNeedsXPoly(long nEckRad) const;
protected:
@@ -88,12 +88,12 @@ public:
// Konstruktion eines Textrahmens
SdrRectObj(SdrObjKind eNewTextKind);
SdrRectObj(SdrObjKind eNewTextKind, const Rectangle& rRect);
- // der USHORT eFormat nimmt Werte des enum EETextFormat entgegen
- SdrRectObj(SdrObjKind eNewTextKind, const Rectangle& rNewRect, SvStream& rInput, const String& rBaseURL, USHORT eFormat);
+ // der sal_uInt16 eFormat nimmt Werte des enum EETextFormat entgegen
+ SdrRectObj(SdrObjKind eNewTextKind, const Rectangle& rNewRect, SvStream& rInput, const String& rBaseURL, sal_uInt16 eFormat);
virtual ~SdrRectObj();
virtual void TakeObjInfo(SdrObjTransformInfoRec& rInfo) const;
- virtual UINT16 GetObjIdentifier() const;
+ virtual sal_uInt16 GetObjIdentifier() const;
virtual void TakeUnrotatedSnapRect(Rectangle& rRect) const;
virtual void TakeObjNameSingul(String& rName) const;
@@ -126,10 +126,10 @@ public:
virtual bool DoMacro(const SdrObjMacroHitRec& rRec);
virtual XubString GetMacroPopupComment(const SdrObjMacroHitRec& rRec) const;
- virtual SdrGluePoint GetVertexGluePoint(USHORT nNum) const;
- virtual SdrGluePoint GetCornerGluePoint(USHORT nNum) const;
+ virtual SdrGluePoint GetVertexGluePoint(sal_uInt16 nNum) const;
+ virtual SdrGluePoint GetCornerGluePoint(sal_uInt16 nNum) const;
- virtual SdrObject* DoConvertToPolyObj(BOOL bBezier) const;
+ virtual SdrObject* DoConvertToPolyObj(sal_Bool bBezier) const;
virtual void Notify(SfxBroadcaster& rBC, const SfxHint& rHint);
};
diff --git a/svx/inc/svx/svdotable.hxx b/svx/inc/svx/svdotable.hxx
index a93ffe5151c2..a40b7b353af9 100644..100755
--- a/svx/inc/svx/svdotable.hxx
+++ b/svx/inc/svx/svdotable.hxx
@@ -202,8 +202,8 @@ public:
// Gleichzeitig wird der Text in den Outliner gesetzt (ggf.
// der des EditOutliners) und die PaperSize gesetzt.
- virtual void TakeTextRect( const sdr::table::CellPos& rPos, SdrOutliner& rOutliner, ::Rectangle& rTextRect, bool bNoEditText = false, ::Rectangle* pAnchorRect=NULL, BOOL bLineWidth=TRUE ) const;
- virtual void TakeTextRect( SdrOutliner& rOutliner, Rectangle& rTextRect, bool bNoEditText = false, Rectangle* pAnchorRect=NULL, BOOL bLineWidth=TRUE ) const;
+ virtual void TakeTextRect( const sdr::table::CellPos& rPos, SdrOutliner& rOutliner, ::Rectangle& rTextRect, bool bNoEditText = false, ::Rectangle* pAnchorRect=NULL, bool bLineWidth = true ) const;
+ virtual void TakeTextRect( SdrOutliner& rOutliner, Rectangle& rTextRect, bool bNoEditText = false, Rectangle* pAnchorRect=NULL, sal_Bool bLineWidth = sal_True ) const;
virtual void TakeTextAnchorRect(const sdr::table::CellPos& rPos, ::Rectangle& rAnchorRect ) const;
virtual void TakeTextAnchorRect(::Rectangle& rAnchorRect) const;
@@ -219,7 +219,7 @@ public:
virtual void SetPage(SdrPage* pNewPage);
virtual void SetModel(SdrModel* pNewModel);
virtual void TakeObjInfo(SdrObjTransformInfoRec& rInfo) const;
- virtual UINT16 GetObjIdentifier() const;
+ virtual sal_uInt16 GetObjIdentifier() const;
virtual void SetChanged();
virtual bool AdjustTextFrameWidthAndHeight(Rectangle& rR, bool bHgt = true, bool bWdt = true) const;
@@ -266,7 +266,7 @@ public:
virtual void EndTextEdit(SdrOutliner& rOutl);
virtual void TakeTextEditArea(Size* pPaperMin, Size* pPaperMax, Rectangle* pViewInit, Rectangle* pViewMin) const;
virtual void TakeTextEditArea(const sdr::table::CellPos& rPos, Size* pPaperMin, Size* pPaperMax, Rectangle* pViewInit, Rectangle* pViewMin) const;
- virtual USHORT GetOutlinerViewAnchorMode() const;
+ virtual sal_uInt16 GetOutlinerViewAnchorMode() const;
virtual void NbcSetOutlinerParaObject(OutlinerParaObject* pTextObject);
diff --git a/svx/inc/svx/svdotext.hxx b/svx/inc/svx/svdotext.hxx
index 16bef4780515..e1d1073771d7 100644..100755
--- a/svx/inc/svx/svdotext.hxx
+++ b/svx/inc/svx/svdotext.hxx
@@ -180,8 +180,8 @@ private:
protected:
// Das aRect ist gleichzeig auch das Rect vom RectObj und CircObj.
- // Bei bTextFrame=TRUE wird der Text in dieses Rect hineinformatiert.
- // Bei bTextFrame=FALSE wird der Text am Mittelpunkt des Rect zentriert.
+ // Bei bTextFrame=sal_True wird der Text in dieses Rect hineinformatiert.
+ // Bei bTextFrame=sal_False wird der Text am Mittelpunkt des Rect zentriert.
Rectangle aRect;
// Der GeoStat enthaelt den Drehwinkel und einen Shearwinkel
@@ -208,7 +208,7 @@ protected:
// OBJ_TEXTEXT Textfortsetzungsrahmen
// OBJ_TITLETEXT TitleText fuer StarDraw-Praesentation
// OBJ_OUTLINETEXT OutlineText fuer StarDraw-Praesentation
- // eTextKind hat nur Bedeutung, wenn bTextFrame=TRUE, da es sich sonst
+ // eTextKind hat nur Bedeutung, wenn bTextFrame=sal_True, da es sich sonst
// um ein beschriftetes Grafikobjekt handelt.
SdrObjKind eTextKind;
@@ -225,36 +225,36 @@ public:
protected:
// Fuer beschriftete Zeichenobjekte ist bTextFrame=FALSE. Der Textblock
// wird dann hoizontal und vertikal an aRect zentriert. Bei bTextFrame=
- // TRUE wird der Text in aRect hineinformatiert. Der eigentliche Textrahmen
- // ist durch ein SdrRectObj mit bTextFrame=TRUE realisiert.
- BOOL bTextFrame : 1;
- BOOL bPortionInfoChecked : 1; // Fuer Optimierung von Textobjekten
- BOOL bNoShear : 1; // Obj darf nicht gesheart werden (->Graf+Ole+TextFrame)
- BOOL bNoRotate : 1; // Obj darf nicht gedreht werden (->Ole)
- BOOL bNoMirror : 1; // Obj darf nicht gespiegelt werden (->Ole,TextFrame)
- BOOL bTextSizeDirty : 1;
+ // sal_True wird der Text in aRect hineinformatiert. Der eigentliche Textrahmen
+ // ist durch ein SdrRectObj mit bTextFrame=sal_True realisiert.
+ sal_Bool bTextFrame : 1;
+ sal_Bool bPortionInfoChecked : 1; // Fuer Optimierung von Textobjekten
+ sal_Bool bNoShear : 1; // Obj darf nicht gesheart werden (->Graf+Ole+TextFrame)
+ sal_Bool bNoRotate : 1; // Obj darf nicht gedreht werden (->Ole)
+ sal_Bool bNoMirror : 1; // Obj darf nicht gespiegelt werden (->Ole,TextFrame)
+ sal_Bool bTextSizeDirty : 1;
// #101684#
- BOOL mbInEditMode : 1; // Is this text obejct in edit mode?
+ sal_Bool mbInEditMode : 1; // Is this text obejct in edit mode?
// Fuer Objekt mit freier Groesse im Draw (Mengentext). Das Flag wird vom
// der App beim Create gesetzt.
// Wenn das Objekt dann spaeter in der Breite resized wird, wird
- // AutoGrowWidth abgeschaltet (Hart auf FALSE attributiert). Das Flag wird
- // dann ebenfalls auf FALSE gesetzt, sodass sich das Objekt anschliessend
+ // AutoGrowWidth abgeschaltet (Hart auf sal_False attributiert). Das Flag wird
+ // dann ebenfalls auf sal_False gesetzt, sodass sich das Objekt anschliessend
// wie ein normales Textobjekt verhaelt.
// Resize in der Breite kann sein:
// - Interaktives Resize in Einfach- oder Mehrfachselektion
// - Positions+Groesse Dialog
- BOOL bDisableAutoWidthOnDragging : 1;
+ sal_Bool bDisableAutoWidthOnDragging : 1;
// #111096#
// Allow text suppression
- BOOL mbTextHidden : 1;
+ sal_Bool mbTextHidden : 1;
// #111096#
// Flag for allowing text animation. Default is sal_true.
- BOOL mbTextAnimationAllowed : 1;
+ sal_Bool mbTextAnimationAllowed : 1;
// flag for preventing recursive onEditOutlinerStatusEvent calls
BOOL mbInDownScale : 1;
@@ -290,10 +290,10 @@ protected:
void ImpCheckShear();
Rectangle ImpDragCalcRect(const SdrDragStat& rDrag) const;
void ImpSetTextEditParams() const;
- void SetTextSizeDirty() { bTextSizeDirty=TRUE; }
+ void SetTextSizeDirty() { bTextSizeDirty=sal_True; }
// rAnchorRect ist InOut-Parameter!
- void ImpSetContourPolygon( SdrOutliner& rOutliner, Rectangle& rAnchorRect, BOOL bLineWidth ) const;
+ void ImpSetContourPolygon( SdrOutliner& rOutliner, Rectangle& rAnchorRect, sal_Bool bLineWidth ) const;
virtual SdrObjGeoData* NewGeoData() const;
virtual void SaveGeoData(SdrObjGeoData& rGeo) const;
@@ -315,15 +315,15 @@ protected:
SdrTextObj(SdrObjKind eNewTextKind);
SdrTextObj(SdrObjKind eNewTextKind, const Rectangle& rNewRect);
- // der USHORT eFormat nimmt Werte des enum EETextFormat entgegen
- SdrTextObj(SdrObjKind eNewTextKind, const Rectangle& rNewRect, SvStream& rInput, const String& rBaseURL, USHORT eFormat);
+ // der sal_uInt16 eFormat nimmt Werte des enum EETextFormat entgegen
+ SdrTextObj(SdrObjKind eNewTextKind, const Rectangle& rNewRect, SvStream& rInput, const String& rBaseURL, sal_uInt16 eFormat);
virtual ~SdrTextObj();
public:
TYPEINFO();
// #101684#
- BOOL IsInEditMode() const { return mbInEditMode; }
+ sal_Bool IsInEditMode() const { return mbInEditMode; }
// via eCharSet kann der CharSet der vorliegenden Datei uebergeben werden.
// Bei RTL_TEXTENCODING_DONTKNOW wird der CharSet der aktuellen Plattform verwendet.
@@ -379,8 +379,8 @@ public:
bool IsDisableAutoWidthOnDragging() { return bDisableAutoWidthOnDragging; }
void NbcSetText(const String& rStr);
void SetText(const String& rStr);
- void NbcSetText(SvStream& rInput, const String& rBaseURL, USHORT eFormat);
- void SetText(SvStream& rInput, const String& rBaseURL, USHORT eFormat);
+ void NbcSetText(SvStream& rInput, const String& rBaseURL, sal_uInt16 eFormat);
+ void SetText(SvStream& rInput, const String& rBaseURL, sal_uInt16 eFormat);
// FitToSize und Fontwork wird bei GetTextSize() nicht berueksichtigt!
virtual const Size& GetTextSize() const;
@@ -389,7 +389,7 @@ public:
// Gleichzeitig wird der Text in den Outliner gesetzt (ggf.
// der des EditOutliners) und die PaperSize gesetzt.
virtual void TakeTextRect( SdrOutliner& rOutliner, Rectangle& rTextRect, bool bNoEditText = false,
- Rectangle* pAnchorRect=NULL, BOOL bLineWidth=TRUE ) const;
+ Rectangle* pAnchorRect=NULL, sal_Bool bLineWidth=sal_True ) const;
virtual void TakeTextAnchorRect(::Rectangle& rAnchorRect) const;
const GeoStat& GetGeoStat() const { return aGeo; }
@@ -432,7 +432,7 @@ public:
virtual void SetPage(SdrPage* pNewPage);
virtual void SetModel(SdrModel* pNewModel);
virtual void TakeObjInfo(SdrObjTransformInfoRec& rInfo) const;
- virtual UINT16 GetObjIdentifier() const;
+ virtual sal_uInt16 GetObjIdentifier() const;
// Wird zur Bestimmung des Textankerbereichs benoetigt
virtual void TakeUnrotatedSnapRect(Rectangle& rRect) const;
@@ -477,7 +477,7 @@ public:
virtual sal_Bool BegTextEdit(SdrOutliner& rOutl);
virtual void TakeTextEditArea(Size* pPaperMin, Size* pPaperMax, Rectangle* pViewInit, Rectangle* pViewMin) const;
virtual void EndTextEdit(SdrOutliner& rOutl);
- virtual USHORT GetOutlinerViewAnchorMode() const;
+ virtual sal_uInt16 GetOutlinerViewAnchorMode() const;
void StartTextAnimation(OutputDevice* pOutDev, const Point& rOffset, long nExtraData=0L);
void StopTextAnimation(OutputDevice* pOutDev=NULL, long nExtraData=0L);
@@ -491,10 +491,10 @@ public:
virtual void NbcReformatText();
virtual void ReformatText();
- virtual bool CalcFieldValue(const SvxFieldItem& rField, USHORT nPara, USHORT nPos,
+ virtual bool CalcFieldValue(const SvxFieldItem& rField, sal_uInt16 nPara, sal_uInt16 nPos,
bool bEdit, Color*& rpTxtColor, Color*& rpFldColor, String& rRet) const;
- virtual SdrObject* DoConvertToPolyObj(BOOL bBezier) const;
+ virtual SdrObject* DoConvertToPolyObj(sal_Bool bBezier) const;
void SetTextEditOutliner(SdrOutliner* pOutl) { pEdtOutl=pOutl; }
diff --git a/svx/inc/svx/svdouno.hxx b/svx/inc/svx/svdouno.hxx
index a921b7e00bae..ea68340b8441 100644..100755
--- a/svx/inc/svx/svdouno.hxx
+++ b/svx/inc/svx/svdouno.hxx
@@ -62,7 +62,7 @@ class SVX_DLLPUBLIC SdrUnoObj : public SdrRectObj
String aUnoControlModelTypeName;
String aUnoControlTypeName;
- BOOL bOwnUnoControlModel;
+ sal_Bool bOwnUnoControlModel;
protected:
::com::sun::star::uno::Reference< com::sun::star::awt::XControlModel > xUnoControlModel; // kann auch von aussen gesetzt werden
@@ -75,17 +75,17 @@ private:
public:
TYPEINFO();
- SdrUnoObj(const String& rModelName, BOOL bOwnsModel = TRUE);
+ SdrUnoObj(const String& rModelName, sal_Bool bOwnsModel = sal_True);
SdrUnoObj(const String& rModelName,
const ::com::sun::star::uno::Reference< com::sun::star::lang::XMultiServiceFactory >& rxSFac,
- BOOL bOwnsModel = TRUE);
+ sal_Bool bOwnsModel = sal_True);
virtual ~SdrUnoObj();
virtual void SetPage(SdrPage* pNewPage);
virtual void SetModel(SdrModel* pModel);
virtual void TakeObjInfo(SdrObjTransformInfoRec& rInfo) const;
- virtual UINT16 GetObjIdentifier() const;
+ virtual sal_uInt16 GetObjIdentifier() const;
virtual void operator = (const SdrObject& rObj);
virtual void NbcResize(const Point& rRef, const Fraction& xFact, const Fraction& yFact);
diff --git a/svx/inc/svx/svdoutl.hxx b/svx/inc/svx/svdoutl.hxx
index d7ddecf03de7..be7fd567d36f 100644..100755
--- a/svx/inc/svx/svdoutl.hxx
+++ b/svx/inc/svx/svdoutl.hxx
@@ -44,7 +44,7 @@ protected:
const SdrPage* mpVisualizedPage;
public:
- SdrOutliner( SfxItemPool* pItemPool, USHORT nMode );
+ SdrOutliner( SfxItemPool* pItemPool, sal_uInt16 nMode );
virtual ~SdrOutliner() ;
void SetTextObj( const SdrTextObj* pObj );
@@ -54,7 +54,7 @@ public:
void setVisualizedPage(const SdrPage* pPage) { if(pPage != mpVisualizedPage) mpVisualizedPage = pPage; }
const SdrPage* getVisualizedPage() const { return mpVisualizedPage; }
- virtual String CalcFieldValue(const SvxFieldItem& rField, USHORT nPara, USHORT nPos, Color*& rpTxtColor, Color*& rpFldColor);
+ virtual String CalcFieldValue(const SvxFieldItem& rField, sal_uInt16 nPara, sal_uInt16 nPos, Color*& rpTxtColor, Color*& rpFldColor);
};
#endif //_SVDOUTL_HXX
diff --git a/svx/inc/svx/svdovirt.hxx b/svx/inc/svx/svdovirt.hxx
index 1da898d1a6a5..4543cdcfbe38 100644..100755
--- a/svx/inc/svx/svdovirt.hxx
+++ b/svx/inc/svx/svdovirt.hxx
@@ -71,8 +71,8 @@ public:
virtual void SetModel(SdrModel* pNewModel);
virtual void TakeObjInfo(SdrObjTransformInfoRec& rInfo) const;
- virtual UINT32 GetObjInventor() const;
- virtual UINT16 GetObjIdentifier() const;
+ virtual sal_uInt32 GetObjInventor() const;
+ virtual sal_uInt16 GetObjIdentifier() const;
virtual SdrObjList* GetSubList() const;
virtual const Rectangle& GetCurrentBoundRect() const;
diff --git a/svx/inc/svx/svdpage.hxx b/svx/inc/svx/svdpage.hxx
index e393dad7723a..891a98750cd1 100644..100755
--- a/svx/inc/svx/svdpage.hxx
+++ b/svx/inc/svx/svdpage.hxx
@@ -114,7 +114,7 @@ public:
// !!! Diese Methode nur fuer Leute, die ganz genau wissen was sie tun !!!
// #110094# This should not be needed (!)
- void SetObjOrdNumsDirty() { bObjOrdNumsDirty=TRUE; }
+ void SetObjOrdNumsDirty() { bObjOrdNumsDirty=sal_True; }
// pModel, pPage, pUpList und pOwnerObj werden Zuweisungeoperator nicht veraendert!
void operator=(const SdrObjList& rSrcList);
void CopyObjects(const SdrObjList& rSrcList);
@@ -133,23 +133,23 @@ public:
// Neuberechnung der Objekt-Ordnungsnummern
void RecalcObjOrdNums();
bool IsObjOrdNumsDirty() const { return bObjOrdNumsDirty; }
- virtual void NbcInsertObject(SdrObject* pObj, ULONG nPos=CONTAINER_APPEND
+ virtual void NbcInsertObject(SdrObject* pObj, sal_uIntPtr nPos=CONTAINER_APPEND
, const SdrInsertReason* pReason=NULL
);
- virtual void InsertObject(SdrObject* pObj, ULONG nPos=CONTAINER_APPEND
+ virtual void InsertObject(SdrObject* pObj, sal_uIntPtr nPos=CONTAINER_APPEND
, const SdrInsertReason* pReason=NULL
);
// aus Liste entfernen ohne delete
- virtual SdrObject* NbcRemoveObject(ULONG nObjNum);
- virtual SdrObject* RemoveObject(ULONG nObjNum);
+ virtual SdrObject* NbcRemoveObject(sal_uIntPtr nObjNum);
+ virtual SdrObject* RemoveObject(sal_uIntPtr nObjNum);
// Vorhandenes Objekt durch ein anderes ersetzen.
// Wie Remove&Insert jedoch performanter, da die Ordnungsnummern
// nicht Dirty gesetzt werden muessen.
- virtual SdrObject* NbcReplaceObject(SdrObject* pNewObj, ULONG nObjNum);
- virtual SdrObject* ReplaceObject(SdrObject* pNewObj, ULONG nObjNum);
+ virtual SdrObject* NbcReplaceObject(SdrObject* pNewObj, sal_uIntPtr nObjNum);
+ virtual SdrObject* ReplaceObject(SdrObject* pNewObj, sal_uIntPtr nObjNum);
// Die Z-Order eines Objekts veraendern
- virtual SdrObject* NbcSetObjectOrdNum(ULONG nOldObjNum, ULONG nNewObjNum);
- virtual SdrObject* SetObjectOrdNum(ULONG nOldObjNum, ULONG nNewObjNum);
+ virtual SdrObject* NbcSetObjectOrdNum(sal_uIntPtr nOldObjNum, sal_uIntPtr nNewObjNum);
+ virtual SdrObject* SetObjectOrdNum(sal_uIntPtr nOldObjNum, sal_uIntPtr nNewObjNum);
virtual void SetRectsDirty();
@@ -166,14 +166,14 @@ public:
// Die Vorlagenattribute der Zeichenobjekte in harte Attribute verwandeln.
void BurnInStyleSheetAttributes();
- ULONG GetObjCount() const;
- SdrObject* GetObj(ULONG nNum) const;
+ sal_uIntPtr GetObjCount() const;
+ SdrObject* GetObj(sal_uIntPtr nNum) const;
// Gelinkte Seite oder gelinktes Gruppenobjekt
virtual bool IsReadOnly() const;
// Zaehlt alle Objekte inkl. Objekte in Objektgruppen, ...
- ULONG CountAllObjects() const;
+ sal_uIntPtr CountAllObjects() const;
// Alle aufgelagerten Teile (z.B. Grafiken) der Liste in den
// Speicher laden.
@@ -200,7 +200,7 @@ public:
operation is performed recursively, such that the content of
the given object contains no groups afterwards.
*/
- virtual void UnGroupObj( ULONG nObjNum );
+ virtual void UnGroupObj( sal_uIntPtr nObjNum );
/** Return whether there is an explicit, user defined, object navigation
order. When there is one this method returns <TRUE/> and the
@@ -343,17 +343,17 @@ private:
SVX_DLLPRIVATE SdrPageGridFrameList(const SdrPageGridFrameList& rSrcList); // never implemented
SVX_DLLPRIVATE void operator=(const SdrPageGridFrameList& rSrcList); // never implemented
protected:
- SdrPageGridFrame* GetObject(USHORT i) const { return (SdrPageGridFrame*)(aList.GetObject(i)); }
+ SdrPageGridFrame* GetObject(sal_uInt16 i) const { return (SdrPageGridFrame*)(aList.GetObject(i)); }
public:
SdrPageGridFrameList(): aList(1024,4,4) {}
~SdrPageGridFrameList() { Clear(); }
void Clear();
- USHORT GetCount() const { return USHORT(aList.Count()); }
- void Insert(const SdrPageGridFrame& rGF, USHORT nPos=0xFFFF) { aList.Insert(new SdrPageGridFrame(rGF),nPos); }
- void Delete(USHORT nPos) { delete (SdrPageGridFrame*)aList.Remove(nPos); }
- void Move(USHORT nPos, USHORT nNewPos) { aList.Insert(aList.Remove(nPos),nNewPos); }
- SdrPageGridFrame& operator[](USHORT nPos) { return *GetObject(nPos); }
- const SdrPageGridFrame& operator[](USHORT nPos) const { return *GetObject(nPos); }
+ sal_uInt16 GetCount() const { return sal_uInt16(aList.Count()); }
+ void Insert(const SdrPageGridFrame& rGF, sal_uInt16 nPos=0xFFFF) { aList.Insert(new SdrPageGridFrame(rGF),nPos); }
+ void Delete(sal_uInt16 nPos) { delete (SdrPageGridFrame*)aList.Remove(nPos); }
+ void Move(sal_uInt16 nPos, sal_uInt16 nNewPos) { aList.Insert(aList.Remove(nPos),nNewPos); }
+ SdrPageGridFrame& operator[](sal_uInt16 nPos) { return *GetObject(nPos); }
+ const SdrPageGridFrame& operator[](sal_uInt16 nPos) const { return *GetObject(nPos); }
};
////////////////////////////////////////////////////////////////////////////////////////////////////
@@ -431,12 +431,12 @@ public:
// and thus has to set mxUnoPage
friend class ChXChartDocument;
- INT32 nWdt; // Seitengroesse
- INT32 nHgt; // Seitengroesse
- INT32 nBordLft; // Seitenrand links
- INT32 nBordUpp; // Seitenrand oben
- INT32 nBordRgt; // Seitenrand rechts
- INT32 nBordLwr; // Seitenrand unten
+ sal_Int32 nWdt; // Seitengroesse
+ sal_Int32 nHgt; // Seitengroesse
+ sal_Int32 nBordLft; // Seitenrand links
+ sal_Int32 nBordUpp; // Seitenrand oben
+ sal_Int32 nBordRgt; // Seitenrand rechts
+ sal_Int32 nBordLwr; // Seitenrand unten
// this is a weak reference to a possible living api wrapper for this page
::com::sun::star::uno::Reference< ::com::sun::star::uno::XInterface > mxUnoPage;
@@ -456,7 +456,7 @@ protected:
::sdr::MasterPageDescriptor* mpMasterPageDescriptor;
SetOfByte aPrefVisiLayers;
- USHORT nPageNum;
+ sal_uInt16 nPageNum;
// bitfield
unsigned mbMaster : 1; // flag if this is a MasterPage
@@ -497,17 +497,17 @@ public:
virtual Size GetSize() const;
virtual void SetOrientation(Orientation eOri);
virtual Orientation GetOrientation() const;
- virtual INT32 GetWdt() const;
- virtual INT32 GetHgt() const;
- virtual void SetBorder(INT32 nLft, INT32 nUpp, INT32 nRgt, INT32 Lwr);
- virtual void SetLftBorder(INT32 nBorder);
- virtual void SetUppBorder(INT32 nBorder);
- virtual void SetRgtBorder(INT32 nBorder);
- virtual void SetLwrBorder(INT32 nBorder);
- virtual INT32 GetLftBorder() const;
- virtual INT32 GetUppBorder() const;
- virtual INT32 GetRgtBorder() const;
- virtual INT32 GetLwrBorder() const;
+ virtual sal_Int32 GetWdt() const;
+ virtual sal_Int32 GetHgt() const;
+ virtual void SetBorder(sal_Int32 nLft, sal_Int32 nUpp, sal_Int32 nRgt, sal_Int32 Lwr);
+ virtual void SetLftBorder(sal_Int32 nBorder);
+ virtual void SetUppBorder(sal_Int32 nBorder);
+ virtual void SetRgtBorder(sal_Int32 nBorder);
+ virtual void SetLwrBorder(sal_Int32 nBorder);
+ virtual sal_Int32 GetLftBorder() const;
+ virtual sal_Int32 GetUppBorder() const;
+ virtual sal_Int32 GetRgtBorder() const;
+ virtual sal_Int32 GetLwrBorder() const;
virtual void SetModel(SdrModel* pNewModel);
@@ -558,7 +558,7 @@ public:
virtual SfxStyleSheet* GetTextStyleSheetForObject( SdrObject* pObj ) const;
- bool HasTransparentObjects( BOOL bCheckForAlphaChannel = false ) const;
+ bool HasTransparentObjects( bool bCheckForAlphaChannel = false ) const;
/** *deprecated* returns an averaged background color of this page */
// #i75566# GetBackgroundColor -> GetPageBackgroundColor
diff --git a/svx/inc/svx/svdpagv.hxx b/svx/inc/svx/svdpagv.hxx
index a5ff7999bcd3..b2e0f0889e82 100644..100755
--- a/svx/inc/svx/svdpagv.hxx
+++ b/svx/inc/svx/svdpagv.hxx
@@ -129,7 +129,7 @@ private:
SVX_DLLPRIVATE SdrPageWindow& CreateNewPageWindowEntry(SdrPaintWindow& rPaintWindow);
protected:
- void ImpInvalidateHelpLineArea(USHORT nNum) const;
+ void ImpInvalidateHelpLineArea(sal_uInt16 nNum) const;
protected:
void SetLayer(const String& rName, SetOfByte& rBS, sal_Bool bJa);
@@ -180,11 +180,14 @@ public:
void InvalidateAllWin();
// rRect bezieht sich auf die Page
- void InvalidateAllWin(const Rectangle& rRect, sal_Bool bPlus1Pix=FALSE);
+ void InvalidateAllWin(const Rectangle& rRect, sal_Bool bPlus1Pix=sal_False);
// PrePaint call forwarded from app windows
void PrePaint();
+ // PostPaint call forwarded from app windows
+ void PostPaint();
+
// rReg bezieht sich auf's OutDev, nicht auf die Page
void CompleteRedraw(SdrPaintWindow& rPaintWindow, const Region& rReg, sdr::contact::ViewObjectContactRedirector* pRedirector = 0L) const;
@@ -247,13 +250,13 @@ public:
const SdrHelpLineList& GetHelpLines() const { return aHelpLines; }
void SetHelpLines(const SdrHelpLineList& rHLL);
- //void SetHelpLinePos(USHORT nNum, const Point& rNewPos);
- void SetHelpLine(USHORT nNum, const SdrHelpLine& rNewHelpLine);
- void DeleteHelpLine(USHORT nNum);
- void InsertHelpLine(const SdrHelpLine& rHL, USHORT nNum=0xFFFF);
- void MoveHelpLine(USHORT nNum, USHORT nNewNum) { aHelpLines.Move(nNum,nNewNum); }
+ //void SetHelpLinePos(sal_uInt16 nNum, const Point& rNewPos);
+ void SetHelpLine(sal_uInt16 nNum, const SdrHelpLine& rNewHelpLine);
+ void DeleteHelpLine(sal_uInt16 nNum);
+ void InsertHelpLine(const SdrHelpLine& rHL, sal_uInt16 nNum=0xFFFF);
+ void MoveHelpLine(sal_uInt16 nNum, sal_uInt16 nNewNum) { aHelpLines.Move(nNum,nNewNum); }
- // Liefert TRUE, wenn Layer des Obj sichtbar und nicht gesperrt.
+ // Liefert sal_True, wenn Layer des Obj sichtbar und nicht gesperrt.
// Beim Gruppenobjekt muss wenigstens ein Member sichtbar sein,
// gesperrt sein darf keiner.
sal_Bool IsObjMarkable(SdrObject* pObj) const;
@@ -271,7 +274,7 @@ public:
void LeaveAllGroup();
// Feststellen, wie weit hinabgestiegen wurde (0=Root(Page))
- USHORT GetEnteredLevel() const;
+ sal_uInt16 GetEnteredLevel() const;
// Name der aktuellen Objektgruppe
String GetActualGroupName() const;
diff --git a/svx/inc/svx/svdpntv.hxx b/svx/inc/svx/svdpntv.hxx
index 4e35733dfea9..259fe62b720a 100644..100755
--- a/svx/inc/svx/svdpntv.hxx
+++ b/svx/inc/svx/svdpntv.hxx
@@ -163,12 +163,12 @@ protected:
SdrAnimationMode eAnimationMode;
- USHORT nHitTolPix;
- USHORT nMinMovPix;
- USHORT nHitTolLog;
- USHORT nMinMovLog;
- ULONG nMasterCacheMode;
- ULONG nGraphicManagerDrawMode;
+ sal_uInt16 nHitTolPix;
+ sal_uInt16 nMinMovPix;
+ sal_uInt16 nHitTolLog;
+ sal_uInt16 nMinMovLog;
+ sal_uIntPtr nMasterCacheMode;
+ sal_uIntPtr nGraphicManagerDrawMode;
// hold an incarnation of Drawinglayer configuration options
SvtOptionsDrawinglayer maDrawinglayerOpt;
@@ -189,9 +189,9 @@ protected:
unsigned bSwapAsynchron : 1;
unsigned bPrintPreview : 1;
- // BOOL fuer die Verwaltung des anzuzeigenden Status
- // Gruppe Betreten/Verlassen. Default ist TRUE, wird aber
- // beispielsweise beim Chart auf FALSE gesetzt, da dort
+ // sal_Bool fuer die Verwaltung des anzuzeigenden Status
+ // Gruppe Betreten/Verlassen. Default ist sal_True, wird aber
+ // beispielsweise beim Chart auf sal_False gesetzt, da dort
// die Ghosted-Effekte zur Darstellug unerwuenscht sind.
unsigned bVisualizeEnteredGroup : 1;
unsigned bAnimationPause : 1;
@@ -255,8 +255,8 @@ private:
DECL_LINK(ImpComeBackHdl,Timer*);
protected:
- USHORT ImpGetMinMovLogic(short nMinMov, const OutputDevice* pOut) const;
- USHORT ImpGetHitTolLogic(short nHitTol, const OutputDevice* pOut) const;
+ sal_uInt16 ImpGetMinMovLogic(short nMinMov, const OutputDevice* pOut) const;
+ sal_uInt16 ImpGetHitTolLogic(short nHitTol, const OutputDevice* pOut) const;
// Wenn man den IdleStatus des Systems nicht abwarten will (auf const geschummelt):
void FlushComeBackTimer() const;
@@ -264,12 +264,12 @@ protected:
void ImpSetGlueVisible2(bool bOn) { if (bGlueVisible2!=(unsigned)bOn) { bGlueVisible2=bOn; if (!bGlueVisible && !bGlueVisible3 && !bGlueVisible4) GlueInvalidate(); } }
void ImpSetGlueVisible3(bool bOn) { if (bGlueVisible3!=(unsigned)bOn) { bGlueVisible3=bOn; if (!bGlueVisible && !bGlueVisible2 && !bGlueVisible4) GlueInvalidate(); } }
void ImpSetGlueVisible4(bool bOn) { if (bGlueVisible4!=(unsigned)bOn) { bGlueVisible4=bOn; if (!bGlueVisible && !bGlueVisible2 && !bGlueVisible3) GlueInvalidate(); } }
- BOOL ImpIsGlueVisible2() const { return bGlueVisible2; }
- BOOL ImpIsGlueVisible3() const { return bGlueVisible3; }
- BOOL ImpIsGlueVisible4() const { return bGlueVisible4; }
+ sal_Bool ImpIsGlueVisible2() const { return bGlueVisible2; }
+ sal_Bool ImpIsGlueVisible3() const { return bGlueVisible3; }
+ sal_Bool ImpIsGlueVisible4() const { return bGlueVisible4; }
public:
- BOOL ImpIsGlueVisible() { return bGlueVisible || bGlueVisible2 || bGlueVisible3 || bGlueVisible4; }
+ sal_Bool ImpIsGlueVisible() { return bGlueVisible || bGlueVisible2 || bGlueVisible3 || bGlueVisible4; }
protected:
virtual void Notify(SfxBroadcaster& rBC, const SfxHint& rHint);
@@ -297,7 +297,7 @@ public:
// virtual void Clear(); // PageViews loeschen, Markierungen weg, ...
SdrModel* GetModel() const { return pMod; }
- virtual BOOL IsAction() const;
+ virtual sal_Bool IsAction() const;
virtual void MovAction(const Point& rPnt);
virtual void EndAction();
virtual void BckAction();
@@ -315,18 +315,18 @@ public:
// jedem MapMode(Scaling)-wechsel gerufen werden, damit ich aus meinen
// Pixelwerten logische Werte berechnen kann.
void SetActualWin(const OutputDevice* pWin);
- void SetMinMoveDistancePixel(USHORT nVal) { nMinMovPix=nVal; TheresNewMapMode(); }
- USHORT GetMinMoveDistancePixel() const { return (USHORT)nMinMovPix; }
- void SetHitTolerancePixel(USHORT nVal) { nHitTolPix=nVal; TheresNewMapMode(); }
- USHORT GetHitTolerancePixel() const { return (USHORT)nHitTolPix; }
+ void SetMinMoveDistancePixel(sal_uInt16 nVal) { nMinMovPix=nVal; TheresNewMapMode(); }
+ sal_uInt16 GetMinMoveDistancePixel() const { return (sal_uInt16)nMinMovPix; }
+ void SetHitTolerancePixel(sal_uInt16 nVal) { nHitTolPix=nVal; TheresNewMapMode(); }
+ sal_uInt16 GetHitTolerancePixel() const { return (sal_uInt16)nHitTolPix; }
// data read access on logic HitTolerance and MinMoveTolerance
- USHORT getHitTolLog() const { return nHitTolLog; }
- USHORT getMinMovLog() const { return nMinMovLog; }
+ sal_uInt16 getHitTolLog() const { return nHitTolLog; }
+ sal_uInt16 getMinMovLog() const { return nMinMovLog; }
// Flag zur Visualisierung von Gruppen abfragen/testen
- BOOL DoVisualizeEnteredGroup() const { return bVisualizeEnteredGroup; }
- void SetVisualizeEnteredGroup(BOOL bNew) { bVisualizeEnteredGroup = bNew; }
+ sal_Bool DoVisualizeEnteredGroup() const { return bVisualizeEnteredGroup; }
+ void SetVisualizeEnteredGroup(sal_Bool bNew) { bVisualizeEnteredGroup = bNew; }
// Am DragStatus laesst sich beispielsweise erfragen, welche
// entfernung bereits gedraggd wurde, etc.
@@ -342,8 +342,8 @@ public:
virtual void HideSdrPage();
// Iterieren ueber alle angemeldeten PageViews
-// USHORT GetPageViewCount() const { return USHORT(aPagV.Count()); }
-// SdrPageView* GetPageViewByIndex(USHORT nPvNum) const { return ((SdrPageView*)aPagV.GetObject(nPvNum)); }
+// sal_uInt16 GetPageViewCount() const { return sal_uInt16(aPagV.Count()); }
+// SdrPageView* GetPageViewByIndex(sal_uInt16 nPvNum) const { return ((SdrPageView*)aPagV.GetObject(nPvNum)); }
SdrPageView* GetSdrPageView() const { return mpPageView; }
// Pageview einer bestimmten Seite ermitteln
@@ -361,21 +361,24 @@ public:
virtual void AddWindowToPaintView(OutputDevice* pNewWin);
virtual void DeleteWindowFromPaintView(OutputDevice* pOldWin);
- void SetLayerVisible(const String& rName, BOOL bShow=TRUE);
+ void SetLayerVisible(const String& rName, sal_Bool bShow=sal_True);
bool IsLayerVisible(const String& rName) const;
- void SetAllLayersVisible(BOOL bShow=TRUE);
+ void SetAllLayersVisible(sal_Bool bShow=sal_True);
- void SetLayerLocked(const String& rName, BOOL bLock=TRUE);
+ void SetLayerLocked(const String& rName, sal_Bool bLock=sal_True);
bool IsLayerLocked(const String& rName) const;
- void SetAllLayersLocked(BOOL bLock=TRUE);
+ void SetAllLayersLocked(sal_Bool bLock=sal_True);
- void SetLayerPrintable(const String& rName, BOOL bPrn=TRUE);
+ void SetLayerPrintable(const String& rName, sal_Bool bPrn=sal_True);
bool IsLayerPrintable(const String& rName) const;
- void SetAllLayersPrintable(BOOL bPrn=TRUE);
+ void SetAllLayersPrintable(sal_Bool bPrn=sal_True);
// PrePaint call forwarded from app windows
void PrePaint();
+ // PostPaint call forwarded from app windows
+ void PostPaint();
+
////////////////////////////////////////////////////////////////////////////////////////////////////
// used internally for Draw/Impress/sch/chart2
virtual void CompleteRedraw(OutputDevice* pOut, const Region& rReg, sdr::contact::ViewObjectContactRedirector* pRedirector = 0);
@@ -410,14 +413,14 @@ protected:
void ImpFormLayerDrawing(SdrPaintWindow& rPaintWindow) const;
public:
- BOOL IsPageVisible() const { return bPageVisible; } // Seite (weisse Flaeche) malen oder nicht
- BOOL IsPageBorderVisible() const { return bPageBorderVisible; } // Seite (weisse Flaeche) malen oder nicht
- BOOL IsBordVisible() const { return bBordVisible; } // Seitenrandlinie malen oder nicht
- BOOL IsGridVisible() const { return bGridVisible; } // Rastergitter malen oder nicht
- BOOL IsGridFront() const { return bGridFront ; } // Rastergitter ueber die Objekte druebermalen oder dahinter
- BOOL IsHlplVisible() const { return bHlplVisible; } // Hilfslinien der Seiten malen oder nicht
- BOOL IsHlplFront() const { return bHlplFront ; } // Hilfslinie ueber die Objekte druebermalen oder dahinter
- BOOL IsGlueVisible() const { return bGlueVisible; } // Konnektoren der objekte sichtbar oder nicht
+ sal_Bool IsPageVisible() const { return bPageVisible; } // Seite (weisse Flaeche) malen oder nicht
+ sal_Bool IsPageBorderVisible() const { return bPageBorderVisible; } // Seite (weisse Flaeche) malen oder nicht
+ sal_Bool IsBordVisible() const { return bBordVisible; } // Seitenrandlinie malen oder nicht
+ sal_Bool IsGridVisible() const { return bGridVisible; } // Rastergitter malen oder nicht
+ sal_Bool IsGridFront() const { return bGridFront ; } // Rastergitter ueber die Objekte druebermalen oder dahinter
+ sal_Bool IsHlplVisible() const { return bHlplVisible; } // Hilfslinien der Seiten malen oder nicht
+ sal_Bool IsHlplFront() const { return bHlplFront ; } // Hilfslinie ueber die Objekte druebermalen oder dahinter
+ sal_Bool IsGlueVisible() const { return bGlueVisible; } // Konnektoren der objekte sichtbar oder nicht
Color GetGridColor() const;
void SetPageVisible(bool bOn = true) { bPageVisible=bOn; InvalidateAllWin(); }
void SetPageBorderVisible(bool bOn = true) { bPageBorderVisible=bOn; InvalidateAllWin(); }
@@ -448,7 +451,7 @@ public:
const Size& GetGridFine() const { return aGridFin; }
void InvalidateAllWin();
- void InvalidateAllWin(const Rectangle& rRect, BOOL bPlus1Pix=FALSE);
+ void InvalidateAllWin(const Rectangle& rRect, sal_Bool bPlus1Pix=sal_False);
// Wenn die View kein Invalidate() an den Fenstern durchfuehren soll, muss
// man diese beiden folgenden Methoden ueberladen und entsprechend anders
@@ -472,13 +475,13 @@ public:
// DefaultAttribute an der View: Neu erzeugte Objekte bekommen diese
// Attribute direkt nach dem Erzeugen erstmal zugewiesen.
- void SetDefaultAttr(const SfxItemSet& rAttr, BOOL bReplaceAll);
+ void SetDefaultAttr(const SfxItemSet& rAttr, sal_Bool bReplaceAll);
const SfxItemSet& GetDefaultAttr() const { return aDefaultAttr; }
- void SetDefaultStyleSheet(SfxStyleSheet* pStyleSheet, BOOL bDontRemoveHardAttr);
+ void SetDefaultStyleSheet(SfxStyleSheet* pStyleSheet, sal_Bool bDontRemoveHardAttr);
SfxStyleSheet* GetDefaultStyleSheet() const { return pDefaultStyleSheet; }
- void SetNotPersistDefaultAttr(const SfxItemSet& rAttr, BOOL bReplaceAll);
- void MergeNotPersistDefaultAttr(SfxItemSet& rAttr, BOOL bOnlyHardAttr) const;
+ void SetNotPersistDefaultAttr(const SfxItemSet& rAttr, sal_Bool bReplaceAll);
+ void MergeNotPersistDefaultAttr(SfxItemSet& rAttr, sal_Bool bOnlyHardAttr) const;
// Aufziehen eines animierten Rechtecks fuer Applikationsspeziefische
// Verwendung. Alle Positionsangaben in logischen View-Koordinaten.
@@ -492,32 +495,32 @@ public:
sal_Bool IsEncirclement() const { return (0L != mpEncirclementOverlay); }
// use this mode as mode to draw all internal GraphicManager objects with
- ULONG GetGraphicManagerDrawMode() const { return nGraphicManagerDrawMode; }
- void SetGraphicManagerDrawMode( ULONG nMode ) { nGraphicManagerDrawMode = nMode; }
+ sal_uIntPtr GetGraphicManagerDrawMode() const { return nGraphicManagerDrawMode; }
+ void SetGraphicManagerDrawMode( sal_uIntPtr nMode ) { nGraphicManagerDrawMode = nMode; }
// SwapIn (z.B. von Grafiken) asynchron durchfuehren. Also nicht
// beim Paint sofort nachladen, sondern dort das Nachladen anstossen.
// Nach Abschluss des Nachladens wird das Objekt dann angezeigt.
// Hat nur z.Zt. Wirkung, wenn SwapGraphics am Model eingeschaltet ist.
// Default=FALSE. Flag ist nicht persistent.
- BOOL IsSwapAsynchron() const { return bSwapAsynchron; }
- void SetSwapAsynchron(BOOL bJa=TRUE) { bSwapAsynchron=bJa; }
- virtual BOOL KeyInput(const KeyEvent& rKEvt, Window* pWin);
-
- virtual BOOL MouseButtonDown(const MouseEvent& /*rMEvt*/, Window* /*pWin*/) { return FALSE; }
- virtual BOOL MouseButtonUp(const MouseEvent& /*rMEvt*/, Window* /*pWin*/) { return FALSE; }
- virtual BOOL MouseMove(const MouseEvent& /*rMEvt*/, Window* /*pWin*/) { return FALSE; }
- virtual BOOL Command(const CommandEvent& /*rCEvt*/, Window* /*pWin*/) { return FALSE; }
- BOOL Cut(ULONG /*nFormat*/=SDR_ANYFORMAT) { return FALSE; }
- BOOL Yank(ULONG /*nFormat*/=SDR_ANYFORMAT) { return FALSE; }
- BOOL Paste(Window* /*pWin*/=NULL, ULONG /*nFormat*/=SDR_ANYFORMAT) { return FALSE; }
+ sal_Bool IsSwapAsynchron() const { return bSwapAsynchron; }
+ void SetSwapAsynchron(sal_Bool bJa=sal_True) { bSwapAsynchron=bJa; }
+ virtual sal_Bool KeyInput(const KeyEvent& rKEvt, Window* pWin);
+
+ virtual sal_Bool MouseButtonDown(const MouseEvent& /*rMEvt*/, Window* /*pWin*/) { return sal_False; }
+ virtual sal_Bool MouseButtonUp(const MouseEvent& /*rMEvt*/, Window* /*pWin*/) { return sal_False; }
+ virtual sal_Bool MouseMove(const MouseEvent& /*rMEvt*/, Window* /*pWin*/) { return sal_False; }
+ virtual sal_Bool Command(const CommandEvent& /*rCEvt*/, Window* /*pWin*/) { return sal_False; }
+ sal_Bool Cut(sal_uIntPtr /*nFormat*/=SDR_ANYFORMAT) { return sal_False; }
+ sal_Bool Yank(sal_uIntPtr /*nFormat*/=SDR_ANYFORMAT) { return sal_False; }
+ sal_Bool Paste(Window* /*pWin*/=NULL, sal_uIntPtr /*nFormat*/=SDR_ANYFORMAT) { return sal_False; }
/* new interface src537 */
- BOOL GetAttributes(SfxItemSet& rTargetSet, BOOL bOnlyHardAttr=FALSE) const;
+ sal_Bool GetAttributes(SfxItemSet& rTargetSet, sal_Bool bOnlyHardAttr=sal_False) const;
- BOOL SetAttributes(const SfxItemSet& rSet, BOOL bReplaceAll);
- SfxStyleSheet* GetStyleSheet() const; // SfxStyleSheet* GetStyleSheet(BOOL& rOk) const;
- BOOL SetStyleSheet(SfxStyleSheet* pStyleSheet, BOOL bDontRemoveHardAttr);
+ sal_Bool SetAttributes(const SfxItemSet& rSet, sal_Bool bReplaceAll);
+ SfxStyleSheet* GetStyleSheet() const; // SfxStyleSheet* GetStyleSheet(sal_Bool& rOk) const;
+ sal_Bool SetStyleSheet(SfxStyleSheet* pStyleSheet, sal_Bool bDontRemoveHardAttr);
virtual void MakeVisible(const Rectangle& rRect, Window& rWin);
@@ -527,8 +530,8 @@ public:
// Animation aktivieren/deaktivieren fuer ::Paint
// wird z.Zt. ausgewertet von SdrGrafObj, wenn in dem eine Animation steckt
// Das Unterbinden der automatischen Animation wird z.B. fuer die Dia-Show benoetigt
- BOOL IsAnimationEnabled() const { return ( SDR_ANIMATION_ANIMATE == eAnimationMode ); }
- void SetAnimationEnabled( BOOL bEnable=TRUE );
+ sal_Bool IsAnimationEnabled() const { return ( SDR_ANIMATION_ANIMATE == eAnimationMode ); }
+ void SetAnimationEnabled( sal_Bool bEnable=sal_True );
// set/unset pause state for animations
bool IsAnimationPause() const { return bAnimationPause; }
@@ -541,10 +544,10 @@ public:
void SetAnimationMode( const SdrAnimationMode eMode );
SdrAnimationMode GetAnimationMode() const { return eAnimationMode; }
- // bei bShow=FALSE wird der Browser destruiert
+ // bei bShow=sal_False wird der Browser destruiert
#ifdef DBG_UTIL
- void ShowItemBrowser(BOOL bShow=TRUE);
- BOOL IsItemBrowserVisible() const { return pItemBrowser!=NULL && ((Window*)pItemBrowser)->IsVisible(); }
+ void ShowItemBrowser(sal_Bool bShow=sal_True);
+ sal_Bool IsItemBrowserVisible() const { return pItemBrowser!=NULL && ((Window*)pItemBrowser)->IsVisible(); }
Window* GetItemBrowser() const { return (Window*)pItemBrowser; }
#endif
@@ -553,7 +556,7 @@ public:
void VisAreaChanged(const OutputDevice* pOut=NULL);
void VisAreaChanged(const SdrPageWindow& rWindow);
- BOOL IsPrintPreview() const { return bPrintPreview; }
+ sal_Bool IsPrintPreview() const { return bPrintPreview; }
void SetPrintPreview(bool bOn = true) { bPrintPreview=bOn; }
const svtools::ColorConfig& getColorConfig() const;
diff --git a/svx/inc/svx/svdpoev.hxx b/svx/inc/svx/svdpoev.hxx
index 3ffe0455eee4..b65d0b2d8bf0 100644..100755
--- a/svx/inc/svx/svdpoev.hxx
+++ b/svx/inc/svx/svdpoev.hxx
@@ -53,8 +53,8 @@ class SVX_DLLPUBLIC SdrPolyEditView: public SdrEditView, public IPolyPolygonEdit
friend class SdrEditView;
protected:
- BOOL bSetMarkedPointsSmoothPossible : 1;
- BOOL bSetMarkedSegmentsKindPossible : 1;
+ sal_Bool bSetMarkedPointsSmoothPossible : 1;
+ sal_Bool bSetMarkedSegmentsKindPossible : 1;
SdrPathSmoothKind eMarkedPointsSmooth;
SdrPathSegmentKind eMarkedSegmentsKind;
@@ -76,18 +76,18 @@ protected:
virtual ~SdrPolyEditView();
public:
- BOOL IsSetMarkedPointsSmoothPossible() const;
+ sal_Bool IsSetMarkedPointsSmoothPossible() const;
SdrPathSmoothKind GetMarkedPointsSmooth() const;
void SetMarkedPointsSmooth(SdrPathSmoothKind eKind);
// Ein PolySegment kann eine Strecke oder eine Bezierkurve sein.
- BOOL IsSetMarkedSegmentsKindPossible() const;
+ sal_Bool IsSetMarkedSegmentsKindPossible() const;
SdrPathSegmentKind GetMarkedSegmentsKind() const;
void SetMarkedSegmentsKind(SdrPathSegmentKind eKind);
// Moeglicherweise ist das Obj hinterher geloescht:
void DeleteMarkedPoints();
- BOOL IsDeleteMarkedPointsPossible() const;
+ sal_Bool IsDeleteMarkedPointsPossible() const;
void MoveMarkedPoints(const Size& rSiz, bool bCopy=false);
void ResizeMarkedPoints(const Point& rRef, const Fraction& xFact, const Fraction& yFact, bool bCopy=false);
@@ -100,7 +100,7 @@ public:
// Alle markierten Polylines werden zu Polygonen, alle offenen
// Bezierkurven zu geschlossenen.
void ShutMarkedObjects();
- void CloseMarkedObjects(BOOL bToggle=FALSE, BOOL bOpen=FALSE); // , long nOpenDistance=0);
+ void CloseMarkedObjects(sal_Bool bToggle=sal_False, sal_Bool bOpen=sal_False); // , long nOpenDistance=0);
bool IsOpenCloseMarkedObjectsPossible() const;
SdrObjClosedKind GetMarkedObjectsClosedState() const;
diff --git a/svx/inc/svx/svdpool.hxx b/svx/inc/svx/svdpool.hxx
index 550d383a8657..550d383a8657 100644..100755
--- a/svx/inc/svx/svdpool.hxx
+++ b/svx/inc/svx/svdpool.hxx
diff --git a/svx/inc/svx/svdsnpv.hxx b/svx/inc/svx/svdsnpv.hxx
index 895b2af71689..8d9ec903b8a1 100644..100755
--- a/svx/inc/svx/svdsnpv.hxx
+++ b/svx/inc/svx/svdsnpv.hxx
@@ -79,7 +79,7 @@ protected:
Fraction aSnapWdtX;
Fraction aSnapWdtY;
- USHORT nMagnSizPix;
+ sal_uInt16 nMagnSizPix;
long nSnapAngle;
long nEliminatePolyPointLimitAngle;
@@ -104,7 +104,7 @@ protected:
unsigned bMoveOnlyDragging : 1; // Objekte nur verschieben bei Resize/Rotate/...
unsigned bSlantButShear : 1; // Slant anstelle von Shear anwenden
unsigned bCrookNoContortion : 1; // Objekte bei Crook nicht verzerren
- unsigned bHlplFixed : 1; // TRUE=Hilfslinien fixiert, also nicht verschiebbar
+ unsigned bHlplFixed : 1; // sal_True=Hilfslinien fixiert, also nicht verschiebbar
unsigned bEliminatePolyPoints : 1;
private:
@@ -116,7 +116,7 @@ protected:
virtual ~SdrSnapView();
public:
- virtual BOOL IsAction() const;
+ virtual sal_Bool IsAction() const;
virtual void MovAction(const Point& rPnt);
virtual void EndAction();
virtual void BckAction();
@@ -129,8 +129,8 @@ public:
void SetSnapMagnetic(const Size& rSiz) { if (rSiz!=aMagnSiz) { aMagnSiz=rSiz; } }
const Size& GetSnapMagnetic() const { return aMagnSiz; }
- void SetSnapMagneticPixel(USHORT nPix) { nMagnSizPix=nPix; }
- USHORT GetSnapMagneticPixel() const { return nMagnSizPix; }
+ void SetSnapMagneticPixel(sal_uInt16 nPix) { nMagnSizPix=nPix; }
+ sal_uInt16 GetSnapMagneticPixel() const { return nMagnSizPix; }
// RecalcLogicSnapMagnetic muss bei jedem Wechsel des OutputDevices
// sowie bei jedem Wechsel des MapModes gerufen werden!
@@ -140,48 +140,48 @@ public:
// Auf die View bezogene Koordinaten!
// Rueckgabewerte sind SDRSNAP_NOTSNAPPED,SDRSNAP_XSNAPPED,
// SDRSNAP_YSNAPPED oder SDRSNAP_XYSNAPPED
- USHORT SnapPos(Point& rPnt, const SdrPageView* pPV) const;
+ sal_uInt16 SnapPos(Point& rPnt, const SdrPageView* pPV) const;
Point GetSnapPos(const Point& rPnt, const SdrPageView* pPV) const;
- USHORT SnapRect(const Rectangle& rRect, const SdrPageView* pPV, long& rDX, long& rDY) const;
+ sal_uInt16 SnapRect(const Rectangle& rRect, const SdrPageView* pPV, long& rDX, long& rDY) const;
void CheckSnap(const Point& rPt, const SdrPageView* pPV, long& nBestXSnap, long& nBestYSnap, bool& bXSnapped, bool& bYSnapped) const;
// Alle Fangeinstellungen sind Persistent.
- BOOL IsSnapEnabled() const { return bSnapEnab; }
- BOOL IsGridSnap() const { return bGridSnap; } // Fang auf Rastergitter
- BOOL IsBordSnap() const { return bBordSnap; } // Fang auf Seitenraender
- BOOL IsHlplSnap() const { return bHlplSnap; } // Fang auf Hilfslinien
- BOOL IsOFrmSnap() const { return bOFrmSnap; } // Fang auf LogFram von umgebenden Zeichenobjekten
- BOOL IsOPntSnap() const { return bOPntSnap; } // Fang auf ausgepraegte Punkte von umgebenden Zeichenobjekten
- BOOL IsOConSnap() const { return bOConSnap; } // Fang auf Konnektoren der Zeichenobjekte
- void SetSnapEnabled(BOOL bOn) { bSnapEnab=bOn; }
- void SetGridSnap(BOOL bOn) { bGridSnap=bOn; }
- void SetBordSnap(BOOL bOn) { bBordSnap=bOn; }
- void SetHlplSnap(BOOL bOn) { bHlplSnap=bOn; }
- void SetOFrmSnap(BOOL bOn) { bOFrmSnap=bOn; }
- void SetOPntSnap(BOOL bOn) { bOPntSnap=bOn; }
- void SetOConSnap(BOOL bOn) { bOConSnap=bOn; }
+ sal_Bool IsSnapEnabled() const { return bSnapEnab; }
+ sal_Bool IsGridSnap() const { return bGridSnap; } // Fang auf Rastergitter
+ sal_Bool IsBordSnap() const { return bBordSnap; } // Fang auf Seitenraender
+ sal_Bool IsHlplSnap() const { return bHlplSnap; } // Fang auf Hilfslinien
+ sal_Bool IsOFrmSnap() const { return bOFrmSnap; } // Fang auf LogFram von umgebenden Zeichenobjekten
+ sal_Bool IsOPntSnap() const { return bOPntSnap; } // Fang auf ausgepraegte Punkte von umgebenden Zeichenobjekten
+ sal_Bool IsOConSnap() const { return bOConSnap; } // Fang auf Konnektoren der Zeichenobjekte
+ void SetSnapEnabled(sal_Bool bOn) { bSnapEnab=bOn; }
+ void SetGridSnap(sal_Bool bOn) { bGridSnap=bOn; }
+ void SetBordSnap(sal_Bool bOn) { bBordSnap=bOn; }
+ void SetHlplSnap(sal_Bool bOn) { bHlplSnap=bOn; }
+ void SetOFrmSnap(sal_Bool bOn) { bOFrmSnap=bOn; }
+ void SetOPntSnap(sal_Bool bOn) { bOPntSnap=bOn; }
+ void SetOConSnap(sal_Bool bOn) { bOConSnap=bOn; }
// Normalerweise werden beim Move-Dragging von Zeichenobjekten alle
// 4 Ecken des Object-SnapRects gefangen. Folgende Einstellmoeglichkeit,
// wenn man nur auf die linke obere Ecke fangen will (z.B. DialogEditor):
// Persistent, Default=FALSE.
- void SetMoveSnapOnlyTopLeft(BOOL bOn) { bMoveSnapOnlyTopLeft=bOn; }
- BOOL IsMoveSnapOnlyTopLeft() const { return bMoveSnapOnlyTopLeft; }
+ void SetMoveSnapOnlyTopLeft(sal_Bool bOn) { bMoveSnapOnlyTopLeft=bOn; }
+ sal_Bool IsMoveSnapOnlyTopLeft() const { return bMoveSnapOnlyTopLeft; }
// Hilfslinien fixiert (nicht verschiebbar)
// Persistent, Default=FALSE.
- BOOL IsHlplFixed() const { return bHlplFixed; }
- void SetHlplFixed(BOOL bOn) { bHlplFixed=bOn; }
+ sal_Bool IsHlplFixed() const { return bHlplFixed; }
+ void SetHlplFixed(sal_Bool bOn) { bHlplFixed=bOn; }
- BOOL IsMoveMFrmSnap() const { return bMoveMFrmSnap; } // Fang des LogFram aller markierten Objekte
- BOOL IsMoveOFrmSnap() const { return bMoveOFrmSnap; } // Fang aller LogFram der markierten Objekte
- BOOL IsMoveOPntSnap() const { return bMoveOPntSnap; } // Fang ausgepraegter Punkte der markierten Objekte
- BOOL IsMoveOConSnap() const { return bMoveOConSnap; } // Fang der Konnektoren der markierten Objekte
+ sal_Bool IsMoveMFrmSnap() const { return bMoveMFrmSnap; } // Fang des LogFram aller markierten Objekte
+ sal_Bool IsMoveOFrmSnap() const { return bMoveOFrmSnap; } // Fang aller LogFram der markierten Objekte
+ sal_Bool IsMoveOPntSnap() const { return bMoveOPntSnap; } // Fang ausgepraegter Punkte der markierten Objekte
+ sal_Bool IsMoveOConSnap() const { return bMoveOConSnap; } // Fang der Konnektoren der markierten Objekte
- void SetMoveMFrmSnap(BOOL bOn) { bMoveMFrmSnap=bOn; }
- void SetMoveOFrmSnap(BOOL bOn) { bMoveOFrmSnap=bOn; }
- void SetMoveOPntSnap(BOOL bOn) { bMoveOPntSnap=bOn; }
- void SetMoveOConSnap(BOOL bOn) { bMoveOConSnap=bOn; }
+ void SetMoveMFrmSnap(sal_Bool bOn) { bMoveMFrmSnap=bOn; }
+ void SetMoveOFrmSnap(sal_Bool bOn) { bMoveOFrmSnap=bOn; }
+ void SetMoveOPntSnap(sal_Bool bOn) { bMoveOPntSnap=bOn; }
+ void SetMoveOConSnap(sal_Bool bOn) { bMoveOConSnap=bOn; }
// #114409#-1 Migrate PageOrigin
sal_Bool BegSetPageOrg(const Point& rPnt);
@@ -190,12 +190,12 @@ public:
void BrkSetPageOrg();
sal_Bool IsSetPageOrg() const { return (0L != mpPageOriginOverlay); }
- // HitTest. Bei TRUE steht in rnHelpLineNum die Nummer der Hilfslinie und in rpPV
+ // HitTest. Bei sal_True steht in rnHelpLineNum die Nummer der Hilfslinie und in rpPV
// die zugehoerige PageView.
- sal_Bool PickHelpLine(const Point& rPnt, short nTol, const OutputDevice& rOut, USHORT& rnHelpLineNum, SdrPageView*& rpPV) const;
+ sal_Bool PickHelpLine(const Point& rPnt, short nTol, const OutputDevice& rOut, sal_uInt16& rnHelpLineNum, SdrPageView*& rpPV) const;
// Verschieben einer vorhandenen Hilfslinie. nHelpLineNum und pPV von PickHelpLine verwenden.
- sal_Bool BegDragHelpLine(USHORT nHelpLineNum, SdrPageView* pPV);
+ sal_Bool BegDragHelpLine(sal_uInt16 nHelpLineNum, SdrPageView* pPV);
// Interaktives einfuegen einer neuen Hilfslinie
sal_Bool BegDragHelpLine(const Point& rPnt, SdrHelpLineKind eNewKind);
Pointer GetDraggedHelpLinePointer() const;
@@ -209,7 +209,7 @@ public:
// SnapAngle ist fuer Winkel im Kreis, RotateDragging, ...
// Der Winkelfang wird unterdrueckt, wenn er mit
- // durch SetAngleSnapEnabled(FALSE) ausgeschaltet ist.
+ // durch SetAngleSnapEnabled(sal_False) ausgeschaltet ist.
// Der Winkelfang ist unabhaengig vom Koordinatenfang
// und somit von der Einstellung IsSnapEnabled()
// Es sollten nur Werte angegeben werden fuer die gilt:
@@ -219,8 +219,8 @@ public:
// - Shear (Dragging)
// - Kreisbogen/-sektor/-abschnitt Winkel (Create und Dragging)
// Persistent.
- void SetAngleSnapEnabled(BOOL bOn) { bAngleSnapEnab=bOn; }
- BOOL IsAngleSnapEnabled() const { return bAngleSnapEnab; }
+ void SetAngleSnapEnabled(sal_Bool bOn) { bAngleSnapEnab=bOn; }
+ sal_Bool IsAngleSnapEnabled() const { return bAngleSnapEnab; }
void SetSnapAngle(long nWink) { nSnapAngle=nWink; }
long GetSnapAngle() const { return nSnapAngle; }
@@ -260,20 +260,20 @@ public:
void SetBigOrtho(bool bOn) { bBigOrtho=bOn; }
bool IsBigOrtho() const { return bBigOrtho; }
- // bei MoveOnlyDragging=TRUE wird bei Resize/Rotate/Shear/Mirror/Crook
+ // bei MoveOnlyDragging=sal_True wird bei Resize/Rotate/Shear/Mirror/Crook
// nur das Zentrum der markierten Objekte transformiert. Groesse, Form
// und Drehwinkel der Objekte bleiben erhalten, nur ihre Positionen
// aendern sich. Persistent. Default=FALSE. (ni)
- void SetMoveOnlyDragging(BOOL bOn) { bMoveOnlyDragging=bOn; }
- BOOL IsMoveOnlyDragging() const { return bMoveOnlyDragging; }
+ void SetMoveOnlyDragging(sal_Bool bOn) { bMoveOnlyDragging=bOn; }
+ sal_Bool IsMoveOnlyDragging() const { return bMoveOnlyDragging; }
// Slant anstelle von Shear anwenden. Persistent. Default=FALSE.
- void SetSlantButShear(BOOL bOn) { bSlantButShear=bOn; }
- BOOL IsSlantButShear() const { return bSlantButShear; }
+ void SetSlantButShear(sal_Bool bOn) { bSlantButShear=bOn; }
+ sal_Bool IsSlantButShear() const { return bSlantButShear; }
// Objekte bei Crook nicht verzerren. Persistent. Default=FALSE. (ni)
- void SetCrookNoContortion(BOOL bOn) { bCrookNoContortion=bOn; }
- BOOL IsCrookNoContortion() const { return bCrookNoContortion; }
+ void SetCrookNoContortion(sal_Bool bOn) { bCrookNoContortion=bOn; }
+ sal_Bool IsCrookNoContortion() const { return bCrookNoContortion; }
// Crook-Modus. Persistent. Default=SDRCROOK_ROTATE. (ni)
void SetCrookMode(SdrCrookMode eMode) { eCrookMode=eMode; }
@@ -282,8 +282,8 @@ public:
// Special fuer IBM: Beim Draggen eines Polygonpunkts wird dieser
// geloescht, wenn seine beiden angrenzenden Linien eh' fast eine
// durchgehende Linie sind.
- void SetEliminatePolyPoints(BOOL bOn) { bEliminatePolyPoints=bOn; }
- BOOL IsEliminatePolyPoints() const { return bEliminatePolyPoints; }
+ void SetEliminatePolyPoints(sal_Bool bOn) { bEliminatePolyPoints=bOn; }
+ sal_Bool IsEliminatePolyPoints() const { return bEliminatePolyPoints; }
void SetEliminatePolyPointLimitAngle(long nAngle) { nEliminatePolyPointLimitAngle=nAngle; }
long GetEliminatePolyPointLimitAngle() const { return nEliminatePolyPointLimitAngle; }
};
diff --git a/svx/inc/svx/svdsob.hxx b/svx/inc/svx/svdsob.hxx
index c995516873b6..c995516873b6 100644..100755
--- a/svx/inc/svx/svdsob.hxx
+++ b/svx/inc/svx/svdsob.hxx
diff --git a/svx/inc/svdstr.hrc b/svx/inc/svx/svdstr.hrc
index 0bfee13a223b..e298b755d29c 100644..100755
--- a/svx/inc/svdstr.hrc
+++ b/svx/inc/svx/svdstr.hrc
@@ -181,8 +181,12 @@
#define STR_ObjNameSingulMEDIA (STR_ObjNameBegin + 143)
#define STR_ObjNamePluralMEDIA (STR_ObjNameBegin + 144)
-#define STR_ObjNameEnd (STR_ObjNamePluralMEDIA)
-
+//#define STR_ObjNameEnd (STR_ObjNamePluralMEDIA)
+//IAccessibility2 Implementation 2009-----
+#define STR_ObjNameSingulFONTWORK (STR_ObjNameBegin+145)
+#define STR_ObjNamePluralFONTWORK (STR_ObjNameBegin+146)
+#define STR_ObjNameEnd (STR_ObjNamePluralFONTWORK)
+//-----IAccessibility2 Implementation 2009
#define STR_EditBegin (STR_ObjNameEnd+1)
#define STR_EditWithCopy (STR_EditBegin + 0)
#define STR_EditPosSize (STR_EditBegin + 1)
@@ -697,6 +701,7 @@
#define SIP_SA_GRAFRESERVE6 (SIP_Begin + 257)
#define SIP_SA_MARKERS (SIP_Begin + 258)
+#define SIP_SA_PAGESHADOW35X35 (SIP_Begin + 259)
#define SIP_SA_FINE_MARKERS (SIP_Begin + 260)
#define BMP_SVXOLEOBJ (SIP_Begin + 261)
diff --git a/svx/inc/svx/svdtext.hxx b/svx/inc/svx/svdtext.hxx
index 18f38cc251f0..ca44bed26b60 100644..100755
--- a/svx/inc/svx/svdtext.hxx
+++ b/svx/inc/svx/svdtext.hxx
@@ -55,7 +55,7 @@ public:
virtual ~SdrText();
virtual void SetModel(SdrModel* pNewModel);
- virtual void ForceOutlinerParaObject( USHORT nOutlMode );
+ virtual void ForceOutlinerParaObject( sal_uInt16 nOutlMode );
virtual void SetOutlinerParaObject( OutlinerParaObject* pTextObject );
virtual OutlinerParaObject* GetOutlinerParaObject() const;
diff --git a/svx/inc/svx/svdtrans.hxx b/svx/inc/svx/svdtrans.hxx
index 8c4db3b67b3b..b0cd472a2681 100644..100755
--- a/svx/inc/svx/svdtrans.hxx
+++ b/svx/inc/svx/svdtrans.hxx
@@ -179,7 +179,7 @@ inline double GetCrookAngle(Point& rPnt, const Point& rCenter, const Point& rRad
SVX_DLLPUBLIC long GetAngle(const Point& rPnt);
long NormAngle180(long a); // Winkel normalisieren auf -180.00..179.99
SVX_DLLPUBLIC long NormAngle360(long a); // Winkel normalisieren auf 0.00..359.99
-USHORT GetAngleSector(long nWink); // Sektor im kartesischen Koordinatensystem bestimmen
+sal_uInt16 GetAngleSector(long nWink); // Sektor im kartesischen Koordinatensystem bestimmen
// Berechnet die Laenge von (0,0) via a^2 + b^2 = c^2
// Zur Vermeidung von Ueberlaeufen werden ggf. einige Stellen ignoriert.
long GetLen(const Point& rPnt);
@@ -304,14 +304,14 @@ private:
SVX_DLLPRIVATE void Undirty();
SVX_DLLPRIVATE void ForceUndirty() const { if (bDirty) ((SdrFormatter*)this)->Undirty(); }
public:
- SdrFormatter(MapUnit eSrc, MapUnit eDst) { eSrcMU=eSrc; bSrcFU=FALSE; eDstMU=eDst; bDstFU=FALSE; bDirty=TRUE; }
- SdrFormatter(MapUnit eSrc, FieldUnit eDst) { eSrcMU=eSrc; bSrcFU=FALSE; eDstFU=eDst; bDstFU=TRUE; bDirty=TRUE; }
- SdrFormatter(FieldUnit eSrc, MapUnit eDst) { eSrcFU=eSrc; bSrcFU=TRUE; eDstMU=eDst; bDstFU=FALSE; bDirty=TRUE; }
- SdrFormatter(FieldUnit eSrc, FieldUnit eDst) { eSrcFU=eSrc; bSrcFU=TRUE; eDstFU=eDst; bDstFU=TRUE; bDirty=TRUE; }
- void SetSourceUnit(MapUnit eSrc) { eSrcMU=eSrc; bSrcFU=FALSE; bDirty=TRUE; }
- void SetSourceUnit(FieldUnit eSrc) { eSrcFU=eSrc; bSrcFU=TRUE; bDirty=TRUE; }
- void SetDestinationUnit(MapUnit eDst) { eDstMU=eDst; bDstFU=FALSE; bDirty=TRUE; }
- void SetDestinationUnit(FieldUnit eDst) { eDstFU=eDst; bDstFU=TRUE; bDirty=TRUE; }
+ SdrFormatter(MapUnit eSrc, MapUnit eDst) { eSrcMU=eSrc; bSrcFU=sal_False; eDstMU=eDst; bDstFU=sal_False; bDirty=sal_True; }
+ SdrFormatter(MapUnit eSrc, FieldUnit eDst) { eSrcMU=eSrc; bSrcFU=sal_False; eDstFU=eDst; bDstFU=sal_True; bDirty=sal_True; }
+ SdrFormatter(FieldUnit eSrc, MapUnit eDst) { eSrcFU=eSrc; bSrcFU=sal_True; eDstMU=eDst; bDstFU=sal_False; bDirty=sal_True; }
+ SdrFormatter(FieldUnit eSrc, FieldUnit eDst) { eSrcFU=eSrc; bSrcFU=sal_True; eDstFU=eDst; bDstFU=sal_True; bDirty=sal_True; }
+ void SetSourceUnit(MapUnit eSrc) { eSrcMU=eSrc; bSrcFU=sal_False; bDirty=sal_True; }
+ void SetSourceUnit(FieldUnit eSrc) { eSrcFU=eSrc; bSrcFU=sal_True; bDirty=sal_True; }
+ void SetDestinationUnit(MapUnit eDst) { eDstMU=eDst; bDstFU=sal_False; bDirty=sal_True; }
+ void SetDestinationUnit(FieldUnit eDst) { eDstFU=eDst; bDstFU=sal_True; bDirty=sal_True; }
void TakeStr(long nVal, XubString& rStr) const;
static void TakeUnitStr(MapUnit eUnit, XubString& rStr);
static void TakeUnitStr(FieldUnit eUnit, XubString& rStr);
diff --git a/svx/inc/svx/svdtypes.hxx b/svx/inc/svx/svdtypes.hxx
index 4b009ce2a9da..e294dbf788e8 100644..100755
--- a/svx/inc/svx/svdtypes.hxx
+++ b/svx/inc/svx/svdtypes.hxx
@@ -41,10 +41,10 @@
// @@@@ @@@@@ @@ @@ @@@@ @@@@@ @@@@ @@@@@ @@@@ @@
////////////////////////////////////////////////////////////////////////////////////////////////////
-const UINT32 SdrInventor=UINT32('S')*0x00000001+
- UINT32('V')*0x00000100+
- UINT32('D')*0x00010000+
- UINT32('r')*0x01000000;
+const sal_uInt32 SdrInventor=sal_uInt32('S')*0x00000001+
+ sal_uInt32('V')*0x00000100+
+ sal_uInt32('D')*0x00010000+
+ sal_uInt32('r')*0x01000000;
// Kommandos fuer EndCreate()
enum SdrCreateCmd {SDRCREATE_NEXTPOINT, // Naechster Polygonpunkt, Kreissegment: Naechste Koordinate
@@ -91,10 +91,10 @@ enum SdrConvertType {SDRCONVERT_POLY, // reines Polygon erzeugen
// dann diesen Wert:
#define SDRLAYER_NOTFOUND 0xFF
// Man kann diesen Wert jodoch ohne Bedenken den Methoden des SdrLayerSet
-// zuwerfen, bekommt dann jedoch immer FALSE, bzw. tut die Methode nix.
+// zuwerfen, bekommt dann jedoch immer sal_False, bzw. tut die Methode nix.
////////////////////////////////////////////////////////////////////////////////////////////////////
// Typdeklaration fuer Layer-IDs
-typedef BYTE SdrLayerID;
+typedef sal_uInt8 SdrLayerID;
////////////////////////////////////////////////////////////////////////////////////////////////////
////////////////////////////////////////////////////////////////////////////////////////////////////
diff --git a/svx/inc/svx/svdundo.hxx b/svx/inc/svx/svdundo.hxx
index a2f1871ff049..07d1c3621123 100644..100755
--- a/svx/inc/svx/svdundo.hxx
+++ b/svx/inc/svx/svdundo.hxx
@@ -73,7 +73,7 @@ protected:
public:
TYPEINFO();
- virtual BOOL CanRepeat(SfxRepeatTarget& rView) const;
+ virtual sal_Bool CanRepeat(SfxRepeatTarget& rView) const;
virtual void Repeat(SfxRepeatTarget& rView);
virtual String GetRepeatComment(SfxRepeatTarget& rView) const;
@@ -110,8 +110,8 @@ public:
virtual ~SdrUndoGroup();
void Clear();
- ULONG GetActionCount() const { return aBuf.Count(); }
- SdrUndoAction* GetAction(ULONG nNum) const { return (SdrUndoAction*)(aBuf.GetObject(nNum)); }
+ sal_uIntPtr GetActionCount() const { return aBuf.Count(); }
+ SdrUndoAction* GetAction(sal_uIntPtr nNum) const { return (SdrUndoAction*)(aBuf.GetObject(nNum)); }
void AddAction(SdrUndoAction* pAct);
void push_front( SdrUndoAction* pAct );
@@ -146,7 +146,7 @@ protected:
void ImpTakeDescriptionStr(USHORT nStrCacheID, String& rStr, bool bRepeat = false) const;
- static void GetDescriptionStringForObject( const SdrObject& _rForObject, USHORT nStrCacheID, String& rStr, bool bRepeat = false );
+ static void GetDescriptionStringForObject( const SdrObject& _rForObject, sal_uInt16 nStrCacheID, String& rStr, bool bRepeat = false );
// #94278# new method for evtl. PageChange at UNDO/REDO
void ImpShowPageOfThisObject();
@@ -269,7 +269,7 @@ protected:
SdrObjList* pObjList;
SdrView* pView; // um bei ObjDel, Undo die
SdrPageView* pPageView; // Selektion widerherstellen zu koennen
- UINT32 nOrdNum;
+ sal_uInt32 nOrdNum;
// Bei einem Undo/Redo findet moeglicherweise Uebereignung des Objektes
// statt. Im Dtor wird das Obj deleted, wenn bOwner==TRUE
@@ -332,7 +332,7 @@ class SVX_DLLPUBLIC SdrUndoDelObj : public SdrUndoRemoveObj
{
public:
SdrUndoDelObj(SdrObject& rNewObj, bool bOrdNumDirect = false)
- : SdrUndoRemoveObj(rNewObj,bOrdNumDirect) { SetOwner(TRUE); }
+ : SdrUndoRemoveObj(rNewObj,bOrdNumDirect) { SetOwner(sal_True); }
virtual void Undo();
virtual void Redo();
@@ -381,7 +381,7 @@ class SVX_DLLPUBLIC SdrUndoReplaceObj : public SdrUndoObj
protected:
SdrObjList* pObjList;
- UINT32 nOrdNum;
+ sal_uInt32 nOrdNum;
SdrObject* pNewObj;
public:
@@ -422,11 +422,11 @@ public:
class SdrUndoObjOrdNum : public SdrUndoObj
{
protected:
- UINT32 nOldOrdNum;
- UINT32 nNewOrdNum;
+ sal_uInt32 nOldOrdNum;
+ sal_uInt32 nNewOrdNum;
public:
- SdrUndoObjOrdNum(SdrObject& rNewObj, UINT32 nOldOrdNum1, UINT32 nNewOrdNum1);
+ SdrUndoObjOrdNum(SdrObject& rNewObj, sal_uInt32 nOldOrdNum1, sal_uInt32 nNewOrdNum1);
virtual void Undo();
virtual void Redo();
@@ -460,7 +460,7 @@ protected:
OutlinerParaObject* pOldText;
OutlinerParaObject* pNewText;
bool bNewTextAvailable;
- BOOL bEmptyPresObj;
+ sal_Bool bEmptyPresObj;
sal_Int32 mnText;
public:
@@ -532,11 +532,11 @@ class SdrUndoLayer : public SdrUndoAction
protected:
SdrLayer* pLayer;
SdrLayerAdmin* pLayerAdmin;
- USHORT nNum;
+ sal_uInt16 nNum;
bool bItsMine;
protected:
- SdrUndoLayer(USHORT nLayerNum, SdrLayerAdmin& rNewLayerAdmin, SdrModel& rNewModel);
+ SdrUndoLayer(sal_uInt16 nLayerNum, SdrLayerAdmin& rNewLayerAdmin, SdrModel& rNewModel);
virtual ~SdrUndoLayer();
};
@@ -550,7 +550,7 @@ protected:
class SdrUndoNewLayer : public SdrUndoLayer
{
public:
- SdrUndoNewLayer(USHORT nLayerNum, SdrLayerAdmin& rNewLayerAdmin, SdrModel& rNewModel)
+ SdrUndoNewLayer(sal_uInt16 nLayerNum, SdrLayerAdmin& rNewLayerAdmin, SdrModel& rNewModel)
: SdrUndoLayer(nLayerNum,rNewLayerAdmin,rNewModel) {}
virtual void Undo();
@@ -569,8 +569,8 @@ public:
class SdrUndoDelLayer : public SdrUndoLayer
{
public:
- SdrUndoDelLayer(USHORT nLayerNum, SdrLayerAdmin& rNewLayerAdmin, SdrModel& rNewModel)
- : SdrUndoLayer(nLayerNum,rNewLayerAdmin,rNewModel) { bItsMine=TRUE; }
+ SdrUndoDelLayer(sal_uInt16 nLayerNum, SdrLayerAdmin& rNewLayerAdmin, SdrModel& rNewModel)
+ : SdrUndoLayer(nLayerNum,rNewLayerAdmin,rNewModel) { bItsMine=sal_True; }
virtual void Undo();
virtual void Redo();
@@ -587,10 +587,10 @@ public:
class SdrUndoMoveLayer : public SdrUndoLayer
{
- USHORT nNeuPos;
+ sal_uInt16 nNeuPos;
public:
- SdrUndoMoveLayer(USHORT nLayerNum, SdrLayerAdmin& rNewLayerAdmin, SdrModel& rNewModel, USHORT nNeuPos1)
+ SdrUndoMoveLayer(sal_uInt16 nLayerNum, SdrLayerAdmin& rNewLayerAdmin, SdrModel& rNewModel, sal_uInt16 nNeuPos1)
: SdrUndoLayer(nLayerNum,rNewLayerAdmin,rNewModel), nNeuPos(nNeuPos1) {}
virtual void Undo();
@@ -624,14 +624,14 @@ protected:
SdrPage& mrPage;
protected:
- void ImpInsertPage(USHORT nNum);
- void ImpRemovePage(USHORT nNum);
- void ImpMovePage(USHORT nOldNum, USHORT nNewNum);
+ void ImpInsertPage(sal_uInt16 nNum);
+ void ImpRemovePage(sal_uInt16 nNum);
+ void ImpMovePage(sal_uInt16 nOldNum, sal_uInt16 nNewNum);
protected:
SdrUndoPage(SdrPage& rNewPg);
- void ImpTakeDescriptionStr(USHORT nStrCacheID, String& rStr, USHORT n=0, bool bRepeat = false) const;
+ void ImpTakeDescriptionStr(USHORT nStrCacheID, String& rStr, sal_uInt16 n=0, bool bRepeat = false) const;
};
//************************************************************
@@ -645,7 +645,7 @@ protected:
class SVX_DLLPUBLIC SdrUndoPageList : public SdrUndoPage
{
protected:
- USHORT nPageNum;
+ sal_uInt16 nPageNum;
// Bei einem Undo/Redo findet moeglicherweise Uebereignung der Page
// statt. Im Dtor wird die Page deleted, wenn bItsMine==TRUE
@@ -734,11 +734,11 @@ public:
class SVX_DLLPUBLIC SdrUndoSetPageNum : public SdrUndoPage
{
protected:
- USHORT nOldPageNum;
- USHORT nNewPageNum;
+ sal_uInt16 nOldPageNum;
+ sal_uInt16 nNewPageNum;
public:
- SdrUndoSetPageNum(SdrPage& rNewPg, USHORT nOldPageNum1, USHORT nNewPageNum1)
+ SdrUndoSetPageNum(SdrPage& rNewPg, sal_uInt16 nOldPageNum1, sal_uInt16 nNewPageNum1)
: SdrUndoPage(rNewPg),nOldPageNum(nOldPageNum1),nNewPageNum(nNewPageNum1) {}
virtual void Undo();
diff --git a/svx/inc/svx/svdview.hxx b/svx/inc/svx/svdview.hxx
index ef59f72c5285..f50d6e746bad 100644..100755
--- a/svx/inc/svx/svdview.hxx
+++ b/svx/inc/svx/svdview.hxx
@@ -123,11 +123,11 @@ struct SVX_DLLPUBLIC SdrViewEvent
SdrHdlKind eHdlKind;
SdrCreateCmd eEndCreateCmd; // auch fuer EndInsPoint
- UINT16 nMouseClicks;
- UINT16 nMouseMode;
- UINT16 nMouseCode;
- UINT16 nHlplIdx;
- UINT16 nGlueId;
+ sal_uInt16 nMouseClicks;
+ sal_uInt16 nMouseMode;
+ sal_uInt16 nMouseCode;
+ sal_uInt16 nHlplIdx;
+ sal_uInt16 nGlueId;
unsigned bMouseDown : 1;
unsigned bMouseUp : 1;
@@ -149,7 +149,7 @@ public:
~SdrViewEvent();
// nEventKind ist SDRMOUSEBUTTONDOWN, SDRMOUSEMOVE oder SDRMOUSEBUTTONUP
- void SetMouseEvent(const MouseEvent& rMEvt, USHORT nEventKind);
+ void SetMouseEvent(const MouseEvent& rMEvt, sal_uInt16 nEventKind);
};
////////////////////////////////////////////////////////////////////////////////////////////////////
@@ -211,44 +211,44 @@ public:
// pSdrView->DoMouseEvent(aVEvt);
// SetPointer(GetPreferedPointer(...))
// CaptureMouse(...)
- void EnableExtendedMouseEventDispatcher(BOOL bOn) { bNoExtendedMouseDispatcher = !bOn; }
- BOOL IsExtendedMouseEventDispatcherEnabled() const { return bNoExtendedMouseDispatcher; }
+ void EnableExtendedMouseEventDispatcher(sal_Bool bOn) { bNoExtendedMouseDispatcher = !bOn; }
+ sal_Bool IsExtendedMouseEventDispatcherEnabled() const { return bNoExtendedMouseDispatcher; }
- void EnableExtendedKeyInputDispatcher(BOOL bOn) { bNoExtendedKeyDispatcher=!bOn; }
- BOOL IsExtendedKeyInputDispatcherEnabled() const { return bNoExtendedKeyDispatcher; }
+ void EnableExtendedKeyInputDispatcher(sal_Bool bOn) { bNoExtendedKeyDispatcher=!bOn; }
+ sal_Bool IsExtendedKeyInputDispatcherEnabled() const { return bNoExtendedKeyDispatcher; }
- void EnableExtendedCommandEventDispatcher(BOOL bOn) { bNoExtendedCommandDispatcher=!bOn; }
- BOOL IsExtendedCommandEventDispatcherEnabled() const { return bNoExtendedCommandDispatcher; }
+ void EnableExtendedCommandEventDispatcher(sal_Bool bOn) { bNoExtendedCommandDispatcher=!bOn; }
+ sal_Bool IsExtendedCommandEventDispatcherEnabled() const { return bNoExtendedCommandDispatcher; }
- void EnableTextEditOnObjectsWithoutTextIfTextTool(BOOL bOn) { bTextEditOnObjectsWithoutTextIfTextTool=bOn; }
- BOOL IsEnableTextEditOnObjectsWithoutTextIfTextToolEnabled() const { return bTextEditOnObjectsWithoutTextIfTextTool; }
+ void EnableTextEditOnObjectsWithoutTextIfTextTool(sal_Bool bOn) { bTextEditOnObjectsWithoutTextIfTextTool=bOn; }
+ sal_Bool IsEnableTextEditOnObjectsWithoutTextIfTextToolEnabled() const { return bTextEditOnObjectsWithoutTextIfTextTool; }
void SetMasterPagePaintCaching(sal_Bool bOn);
sal_Bool IsMasterPagePaintCaching() const { return mbMasterPagePaintCaching; }
- BOOL KeyInput(const KeyEvent& rKEvt, Window* pWin);
- virtual BOOL MouseButtonDown(const MouseEvent& rMEvt, Window* pWin);
- virtual BOOL MouseButtonUp(const MouseEvent& rMEvt, Window* pWin);
- virtual BOOL MouseMove(const MouseEvent& rMEvt, Window* pWin);
- virtual BOOL Command(const CommandEvent& rCEvt, Window* pWin);
+ sal_Bool KeyInput(const KeyEvent& rKEvt, Window* pWin);
+ virtual sal_Bool MouseButtonDown(const MouseEvent& rMEvt, Window* pWin);
+ virtual sal_Bool MouseButtonUp(const MouseEvent& rMEvt, Window* pWin);
+ virtual sal_Bool MouseMove(const MouseEvent& rMEvt, Window* pWin);
+ virtual sal_Bool Command(const CommandEvent& rCEvt, Window* pWin);
virtual void ConfigurationChanged( utl::ConfigurationBroadcaster*, sal_uInt32 );
- BOOL SetAttributes(const SfxItemSet& rSet, BOOL bReplaceAll=FALSE) { return SdrCreateView::SetAttributes(rSet,bReplaceAll); }
- BOOL SetStyleSheet(SfxStyleSheet* pStyleSheet, BOOL bDontRemoveHardAttr=FALSE) { return SdrCreateView::SetStyleSheet(pStyleSheet,bDontRemoveHardAttr); }
+ sal_Bool SetAttributes(const SfxItemSet& rSet, sal_Bool bReplaceAll=sal_False) { return SdrCreateView::SetAttributes(rSet,bReplaceAll); }
+ sal_Bool SetStyleSheet(SfxStyleSheet* pStyleSheet, sal_Bool bDontRemoveHardAttr=sal_False) { return SdrCreateView::SetStyleSheet(pStyleSheet,bDontRemoveHardAttr); }
/* new interface src537 */
- BOOL GetAttributes(SfxItemSet& rTargetSet, BOOL bOnlyHardAttr=FALSE) const;
+ sal_Bool GetAttributes(SfxItemSet& rTargetSet, sal_Bool bOnlyHardAttr=sal_False) const;
SfxStyleSheet* GetStyleSheet() const;
// unvollstaendige Implementation:
// Das OutputDevice ist notwendig, damit ich die HandleSize ermitteln kann.
// Bei NULL wird das 1. angemeldete Win verwendet.
- Pointer GetPreferedPointer(const Point& rMousePos, const OutputDevice* pOut, USHORT nModifier=0, BOOL bLeftDown=FALSE) const;
- SdrHitKind PickAnything(const MouseEvent& rMEvt, USHORT nMouseDownOrMoveOrUp, SdrViewEvent& rVEvt) const;
+ Pointer GetPreferedPointer(const Point& rMousePos, const OutputDevice* pOut, sal_uInt16 nModifier=0, sal_Bool bLeftDown=sal_False) const;
+ SdrHitKind PickAnything(const MouseEvent& rMEvt, sal_uInt16 nMouseDownOrMoveOrUp, SdrViewEvent& rVEvt) const;
SdrHitKind PickAnything(const Point& rLogicPos, SdrViewEvent& rVEvt) const;
- BOOL DoMouseEvent(const SdrViewEvent& rVEvt);
+ sal_Bool DoMouseEvent(const SdrViewEvent& rVEvt);
virtual SdrViewContext GetContext() const;
// Die Methoden beruecksichtigen den jeweiligen Kontex:
@@ -257,27 +257,27 @@ public:
// - Klebepunkt-Editmode
// - TextEdit
// - ... to be continued
- BOOL IsMarkPossible() const;
+ sal_Bool IsMarkPossible() const;
void MarkAll();
void UnmarkAll();
- BOOL IsAllMarked() const;
- BOOL IsAllMarkPrevNextPossible() const; // das geht naemlich nicht bei TextEdit!
- BOOL MarkNext(BOOL bPrev=FALSE);
- BOOL MarkNext(const Point& rPnt, BOOL bPrev=FALSE);
+ sal_Bool IsAllMarked() const;
+ sal_Bool IsAllMarkPrevNextPossible() const; // das geht naemlich nicht bei TextEdit!
+ sal_Bool MarkNext(sal_Bool bPrev=sal_False);
+ sal_Bool MarkNext(const Point& rPnt, sal_Bool bPrev=sal_False);
const Rectangle& GetMarkedRect() const;
void SetMarkedRect(const Rectangle& rRect);
virtual void DeleteMarked();
- BOOL IsDeleteMarkedPossible() const;
- BOOL IsDeletePossible() const { return IsDeleteMarkedPossible(); }
+ sal_Bool IsDeleteMarkedPossible() const;
+ sal_Bool IsDeletePossible() const { return IsDeleteMarkedPossible(); }
// Markieren von Objekten, Polygonpunkten oder Klebepunkten (je nach View-
// Kontext) durch Aufziehen eines Selektionsrahmens.
// bAddMark=TRUE: zur bestehenden Selektion hinzumarkieren (->Shift)
// bUnmark=TRUE: Bereits selektierte Objekte/Punkte/Klebepunkte die innerhalb
// des aufgezogenen Rahmens liegen werden deselektiert.
- BOOL BegMark(const Point& rPnt, BOOL bAddMark=FALSE, BOOL bUnmark=FALSE);
+ sal_Bool BegMark(const Point& rPnt, sal_Bool bAddMark=sal_False, sal_Bool bUnmark=sal_False);
// Folgende Actions sind moeglich:
// - ObjectCreating
@@ -312,28 +312,28 @@ public:
// ~~~~~~~~~~~~~~~~~~~~
// Einfache Events:
// ~~~~~~~~~~~~~~~~
-// BOOL KeyInput(const KeyEvent& rKEvt, Window* pWin);
-// BOOL MouseButtonDown(const MouseEvent& rMEvt, Window* pWin);
-// BOOL MouseButtonUp(const MouseEvent& rMEvt, Window* pWin);
-// BOOL MouseMove(const MouseEvent& rMEvt, Window* pWin);
-// BOOL Command(const CommandEvent& rCEvt, Window* pWin);
+// sal_Bool KeyInput(const KeyEvent& rKEvt, Window* pWin);
+// sal_Bool MouseButtonDown(const MouseEvent& rMEvt, Window* pWin);
+// sal_Bool MouseButtonUp(const MouseEvent& rMEvt, Window* pWin);
+// sal_Bool MouseMove(const MouseEvent& rMEvt, Window* pWin);
+// sal_Bool Command(const CommandEvent& rCEvt, Window* pWin);
//
// Exchange (Clipboard derzeit noch ohne SdrPrivateData):
// ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
-// BOOL Cut(ULONG nFormat=SDR_ANYFORMAT);
-// BOOL Yank(ULONG nFormat=SDR_ANYFORMAT);
-// BOOL Paste(Window* pWin=NULL, ULONG nFormat=SDR_ANYFORMAT);
+// sal_Bool Cut(sal_uIntPtr nFormat=SDR_ANYFORMAT);
+// sal_Bool Yank(sal_uIntPtr nFormat=SDR_ANYFORMAT);
+// sal_Bool Paste(Window* pWin=NULL, sal_uIntPtr nFormat=SDR_ANYFORMAT);
//
// SfxItems:
// ~~~~~~~~~
-// BOOL GetAttributes(SfxItemSet& rTargetSet, BOOL bOnlyHardAttr=FALSE) const;
-// BOOL SetAttributes(const SfxItemSet& rSet, BOOL bReplaceAll);
+// sal_Bool GetAttributes(SfxItemSet& rTargetSet, sal_Bool bOnlyHardAttr=sal_False) const;
+// sal_Bool SetAttributes(const SfxItemSet& rSet, sal_Bool bReplaceAll);
// SfxStyleSheet* GetStyleSheet() const;
-// BOOL SetStyleSheet(SfxStyleSheet* pStyleSheet, BOOL bDontRemoveHardAttr);
+// sal_Bool SetStyleSheet(SfxStyleSheet* pStyleSheet, sal_Bool bDontRemoveHardAttr);
//
// Sonstiges:
// ~~~~~~~~~~
-// Pointer GetPreferedPointer(const Point& rMousePos, const OutputDevice* pOut, USHORT nTol=0) const;
+// Pointer GetPreferedPointer(const Point& rMousePos, const OutputDevice* pOut, sal_uInt16 nTol=0) const;
// String GetStatusText();
//
///////////////////////////////////////////////////////////////////////////////////////////////// */
diff --git a/svx/inc/svdviter.hxx b/svx/inc/svx/svdviter.hxx
index 7873e567d3ee..7873e567d3ee 100644..100755
--- a/svx/inc/svdviter.hxx
+++ b/svx/inc/svx/svdviter.hxx
diff --git a/svx/inc/svx/svdxcgv.hxx b/svx/inc/svx/svdxcgv.hxx
index 091acef509a2..b19e2135e922 100644..100755
--- a/svx/inc/svx/svdxcgv.hxx
+++ b/svx/inc/svx/svdxcgv.hxx
@@ -55,12 +55,12 @@ class SVX_DLLPUBLIC SdrExchangeView: public SdrObjEditView
protected:
void ImpGetPasteObjList(Point& rPos, SdrObjList*& rpLst);
- void ImpPasteObject(SdrObject* pObj, SdrObjList& rLst, const Point& rCenter, const Size& rSiz, const MapMode& rMap, UINT32 nOptions);
- BOOL ImpGetPasteLayer(const SdrObjList* pObjList, SdrLayerID& rLayer) const;
+ void ImpPasteObject(SdrObject* pObj, SdrObjList& rLst, const Point& rCenter, const Size& rSiz, const MapMode& rMap, sal_uInt32 nOptions);
+ sal_Bool ImpGetPasteLayer(const SdrObjList* pObjList, SdrLayerID& rLayer) const;
Point GetPastePos(SdrObjList* pLst, OutputDevice* pOut=NULL);
// liefert True, wenn rPt geaendert wurde
- BOOL ImpLimitToWorkArea(Point& rPt) const;
+ sal_Bool ImpLimitToWorkArea(Point& rPt) const;
protected:
// #i71538# make constructors of SdrView sub-components protected to avoid incomplete incarnations which may get casted to SdrView
@@ -74,11 +74,11 @@ public:
// Alle markierten Objekte in ein Metafile stecken. Z.Zt. noch etwas
// buggee (Offset..., Fremdgrafikobjekte (SdrGrafObj), Virtuelle
// Objektkopien (SdrVirtObj) mit Ankerpos<>(0,0)).
- virtual GDIMetaFile GetMarkedObjMetaFile(BOOL bNoVDevIfOneMtfMarked=FALSE) const;
+ virtual GDIMetaFile GetMarkedObjMetaFile(sal_Bool bNoVDevIfOneMtfMarked=sal_False) const;
// Alle markierten Objekte auf eine Bitmap malen. Diese hat die Farbtiefe
// und Aufloesung des Bildschirms.
- virtual Bitmap GetMarkedObjBitmap(BOOL bNoVDevIfOneBmpMarked=FALSE) const;
+ virtual Bitmap GetMarkedObjBitmap(sal_Bool bNoVDevIfOneBmpMarked=sal_False) const;
// Alle markierten Objekte in ein neues Model kopieren. Dieses neue Model
// hat dann genau eine Page. Das Flag PageNotValid an diesem Model ist
@@ -92,8 +92,8 @@ public:
// der Default-Layer zugewiesen (Layer 0, (dokumentglobaler Standardlayer).
virtual SdrModel* GetMarkedObjModel() const;
- GDIMetaFile GetAllMarkedMetaFile(BOOL bNoVDevIfOneMtfMarked=FALSE) const { return GetMarkedObjMetaFile(bNoVDevIfOneMtfMarked); }
- Bitmap GetAllMarkedBitmap(BOOL bNoVDevIfOneBmpMarked=FALSE) const { return GetMarkedObjBitmap(bNoVDevIfOneBmpMarked); }
+ GDIMetaFile GetAllMarkedMetaFile(sal_Bool bNoVDevIfOneMtfMarked=sal_False) const { return GetMarkedObjMetaFile(bNoVDevIfOneMtfMarked); }
+ Bitmap GetAllMarkedBitmap(sal_Bool bNoVDevIfOneBmpMarked=sal_False) const { return GetMarkedObjBitmap(bNoVDevIfOneBmpMarked); }
Graphic GetAllMarkedGraphic() const;
SdrModel* GetAllMarkedModel() const { return GetMarkedObjModel(); }
@@ -116,7 +116,7 @@ public:
Point GetViewCenter(const OutputDevice* pOut=NULL) const;
// Bei allen Paste-Methoden werden die neuen Draw-Objekte markiert.
- // Wird der Parameter bAddMark auf TRUE gesetzt, so werden die neuen
+ // Wird der Parameter bAddMark auf sal_True gesetzt, so werden die neuen
// DrawObjekte zu einer bereits bestehenden Selektion "hinzumarkiert".
// Dieser Fall ist fuer Drag&Drop mit mehreren Items gedacht.
// Die Methoden mit Point-Parameter fuegen neue Objekte zentriert an
@@ -125,37 +125,37 @@ public:
// eingefuegt. Die Positionierung (rPos bzw. Zentrierung) bezieht sich
// dann nichtmehr auf die View sondern auf die Page.
// Hinweis: SdrObjList ist Basisklasse von SdrPage.
- // Die Methoden liefern TRUE, wenn die Objekte erfolgreich erzeugt und
- // eingefuegt wurden. Bei pLst=FALSE und kein TextEdit aktiv kann man
+ // Die Methoden liefern sal_True, wenn die Objekte erfolgreich erzeugt und
+ // eingefuegt wurden. Bei pLst=sal_False und kein TextEdit aktiv kann man
// sich dann auch darauf verlassen, dass diese an der View markiert sind.
// Andernfalls erfolgt die Markierung nur, wenn pLst z.Zt. auch an der
// View angezeigt wird.
// Gueltige Werte fuer nOptions sind SDRINSERT_DONTMARK und
// SDRINSERT_ADDMARK (siehe svdedtv.hxx).
- BOOL Paste(const GDIMetaFile& rMtf, SdrObjList* pLst=NULL, OutputDevice* pOut=NULL, UINT32 nOptions=0) { return Paste(rMtf,GetPastePos(pLst,pOut),pLst,nOptions); }
- BOOL Paste(const GDIMetaFile& rMtf, const Point& rPos, SdrObjList* pLst=NULL, UINT32 nOptions=0);
- BOOL Paste(const Bitmap& rBmp, SdrObjList* pLst=NULL, OutputDevice* pOut=NULL, UINT32 nOptions=0) { return Paste(rBmp,GetPastePos(pLst,pOut),pLst,nOptions); }
- BOOL Paste(const Bitmap& rBmp, const Point& rPos, SdrObjList* pLst=NULL, UINT32 nOptions=0);
- BOOL Paste(const SdrModel& rMod, SdrObjList* pLst=NULL, OutputDevice* pOut=NULL, UINT32 nOptions=0) { return Paste(rMod,GetPastePos(pLst,pOut),pLst,nOptions); }
- virtual BOOL Paste(const SdrModel& rMod, const Point& rPos, SdrObjList* pLst=NULL, UINT32 nOptions=0);
- BOOL Paste(const String& rStr, SdrObjList* pLst=NULL, OutputDevice* pOut=NULL, UINT32 nOptions=0) { return Paste(rStr,GetPastePos(pLst,pOut),pLst,nOptions); }
- BOOL Paste(const String& rStr, const Point& rPos, SdrObjList* pLst=NULL, UINT32 nOptions=0);
- // der USHORT eFormat nimmt Werte des enum EETextFormat entgegen
- BOOL Paste(SvStream& rInput, const String& rBaseURL, USHORT eFormat, SdrObjList* pLst=NULL, OutputDevice* pOut=NULL, UINT32 nOptions=0) { return Paste(rInput,rBaseURL,eFormat,GetPastePos(pLst,pOut),pLst,nOptions); }
- BOOL Paste(SvStream& rInput, const String& rBaseURL, USHORT eFormat, const Point& rPos, SdrObjList* pLst=NULL, UINT32 nOptions=0);
+ sal_Bool Paste(const GDIMetaFile& rMtf, SdrObjList* pLst=NULL, OutputDevice* pOut=NULL, sal_uInt32 nOptions=0) { return Paste(rMtf,GetPastePos(pLst,pOut),pLst,nOptions); }
+ sal_Bool Paste(const GDIMetaFile& rMtf, const Point& rPos, SdrObjList* pLst=NULL, sal_uInt32 nOptions=0);
+ sal_Bool Paste(const Bitmap& rBmp, SdrObjList* pLst=NULL, OutputDevice* pOut=NULL, sal_uInt32 nOptions=0) { return Paste(rBmp,GetPastePos(pLst,pOut),pLst,nOptions); }
+ sal_Bool Paste(const Bitmap& rBmp, const Point& rPos, SdrObjList* pLst=NULL, sal_uInt32 nOptions=0);
+ sal_Bool Paste(const SdrModel& rMod, SdrObjList* pLst=NULL, OutputDevice* pOut=NULL, sal_uInt32 nOptions=0) { return Paste(rMod,GetPastePos(pLst,pOut),pLst,nOptions); }
+ virtual sal_Bool Paste(const SdrModel& rMod, const Point& rPos, SdrObjList* pLst=NULL, sal_uInt32 nOptions=0);
+ sal_Bool Paste(const String& rStr, SdrObjList* pLst=NULL, OutputDevice* pOut=NULL, sal_uInt32 nOptions=0) { return Paste(rStr,GetPastePos(pLst,pOut),pLst,nOptions); }
+ sal_Bool Paste(const String& rStr, const Point& rPos, SdrObjList* pLst=NULL, sal_uInt32 nOptions=0);
+ // der sal_uInt16 eFormat nimmt Werte des enum EETextFormat entgegen
+ sal_Bool Paste(SvStream& rInput, const String& rBaseURL, sal_uInt16 eFormat, SdrObjList* pLst=NULL, OutputDevice* pOut=NULL, sal_uInt32 nOptions=0) { return Paste(rInput,rBaseURL,eFormat,GetPastePos(pLst,pOut),pLst,nOptions); }
+ sal_Bool Paste(SvStream& rInput, const String& rBaseURL, sal_uInt16 eFormat, const Point& rPos, SdrObjList* pLst=NULL, sal_uInt32 nOptions=0);
// Feststellen, ob ein bestimmtes Format ueber Drag&Drop bzw. ueber's
// Clipboard angenommen werden kann.
- BOOL IsExchangeFormatSupported(ULONG nFormat) const;
+ sal_Bool IsExchangeFormatSupported(sal_uIntPtr nFormat) const;
- BOOL Cut( ULONG nFormat = SDR_ANYFORMAT );
- void CutMarked( ULONG nFormat=SDR_ANYFORMAT );
+ sal_Bool Cut( sal_uIntPtr nFormat = SDR_ANYFORMAT );
+ void CutMarked( sal_uIntPtr nFormat=SDR_ANYFORMAT );
- BOOL Yank( ULONG nFormat = SDR_ANYFORMAT );
- void YankMarked( ULONG nFormat=SDR_ANYFORMAT );
+ sal_Bool Yank( sal_uIntPtr nFormat = SDR_ANYFORMAT );
+ void YankMarked( sal_uIntPtr nFormat=SDR_ANYFORMAT );
- BOOL Paste( Window* pWin = NULL, ULONG nFormat = SDR_ANYFORMAT );
- BOOL PasteClipboard( OutputDevice* pOut = NULL, ULONG nFormat = SDR_ANYFORMAT, UINT32 nOptions = 0 );
+ sal_Bool Paste( Window* pWin = NULL, sal_uIntPtr nFormat = SDR_ANYFORMAT );
+ sal_Bool PasteClipboard( OutputDevice* pOut = NULL, sal_uIntPtr nFormat = SDR_ANYFORMAT, sal_uInt32 nOptions = 0 );
};
#endif //_SVDXCGV_HXX
diff --git a/svx/inc/svimbase.hxx b/svx/inc/svx/svimbase.hxx
index 14946cad05df..df195bd3c551 100644..100755
--- a/svx/inc/svimbase.hxx
+++ b/svx/inc/svx/svimbase.hxx
@@ -37,11 +37,7 @@
// - Defines -
// -----------
-#ifdef WIN
-#define _SVHUGE huge
-#else
#define _SVHUGE
-#endif
// ----------------
// - SimDepthType -
@@ -61,14 +57,14 @@ enum SimDepthType
struct SimColor
{
- BYTE cBlue;
- BYTE cGreen;
- BYTE cRed;
+ sal_uInt8 cBlue;
+ sal_uInt8 cGreen;
+ sal_uInt8 cRed;
};
// ------------------------------------------------------------------------
-inline BOOL operator==( const SimColor& rCol1, const SimColor& rCol2 )
+inline sal_Bool operator==( const SimColor& rCol1, const SimColor& rCol2 )
{
return ( ( rCol1.cRed == rCol2.cRed ) &&
( rCol1.cGreen == rCol2.cGreen ) &&
@@ -81,7 +77,7 @@ inline BOOL operator==( const SimColor& rCol1, const SimColor& rCol2 )
struct SimPalette
{
- ULONG nColors;
+ sal_uIntPtr nColors;
SimColor aColorArray[ 256 ];
};
@@ -107,39 +103,39 @@ private:
SimPalette* pPal2;
SimPalette* pPal3;
SimPalette* pPal4;
- ULONG nWidth1;
- ULONG nWidth2;
- ULONG nWidth3;
- ULONG nWidth4;
- ULONG nHeight1;
- ULONG nHeight2;
- ULONG nHeight3;
- ULONG nHeight4;
- ULONG nAlignedWidth1;
- ULONG nAlignedWidth2;
- ULONG nAlignedWidth3;
- ULONG nAlignedWidth4;
- ULONG nWhichOrg;
+ sal_uIntPtr nWidth1;
+ sal_uIntPtr nWidth2;
+ sal_uIntPtr nWidth3;
+ sal_uIntPtr nWidth4;
+ sal_uIntPtr nHeight1;
+ sal_uIntPtr nHeight2;
+ sal_uIntPtr nHeight3;
+ sal_uIntPtr nHeight4;
+ sal_uIntPtr nAlignedWidth1;
+ sal_uIntPtr nAlignedWidth2;
+ sal_uIntPtr nAlignedWidth3;
+ sal_uIntPtr nAlignedWidth4;
+ sal_uIntPtr nWhichOrg;
SimDepthType eOrgDepth;
SimDepthType eUndoDepth;
SimDepthType eRedoDepth;
- BOOL bIsUndo;
- BOOL bIsRedo;
- BOOL bCreateUndo;
- BOOL bValid;
- BOOL bDitherAll;
-
- HPBYTE BitmapToArray24( const Bitmap& rBitmap, ULONG* pWidth,
- ULONG* pHeight, ULONG* pAlignedWidth,
+ sal_Bool bIsUndo;
+ sal_Bool bIsRedo;
+ sal_Bool bCreateUndo;
+ sal_Bool bValid;
+ sal_Bool bDitherAll;
+
+ HPBYTE BitmapToArray24( const Bitmap& rBitmap, sal_uIntPtr* pWidth,
+ sal_uIntPtr* pHeight, sal_uIntPtr* pAlignedWidth,
SfxViewFrame *pFrame = NULL );
- BOOL Array24ToBitmap( HPBYTE pArray, Bitmap &rBitmap,
- const ULONG nWidth, const ULONG nHeight,
- const ULONG nColorCount = 256,
- ULONG nLast = 0, SfxProgress* pProgress = NULL );
+ sal_Bool Array24ToBitmap( HPBYTE pArray, Bitmap &rBitmap,
+ const sal_uIntPtr nWidth, const sal_uIntPtr nHeight,
+ const sal_uIntPtr nColorCount = 256,
+ sal_uIntPtr nLast = 0, SfxProgress* pProgress = NULL );
Bitmap CreateSaveBitmap( const SimDepthType eDepth, SfxViewFrame *pFrame = NULL );
- HPBYTE CreateArray24( ULONG nWidth, ULONG nHeight );
+ HPBYTE CreateArray24( sal_uIntPtr nWidth, sal_uIntPtr nHeight );
void DeleteArray( HPBYTE pArray );
SvImageBase(const SvImageBase& rSvImageBase);
@@ -149,23 +145,23 @@ public:
SvImageBase();
SvImageBase( const Bitmap& rBitmap,
- const ULONG nColorCount = 256,
- ULONG nLast = 0, SfxProgress* pProgress = NULL );
+ const sal_uIntPtr nColorCount = 256,
+ sal_uIntPtr nLast = 0, SfxProgress* pProgress = NULL );
~SvImageBase();
- BOOL IsValid() { return bValid; }
+ sal_Bool IsValid() { return bValid; }
- ULONG GetOrgWidth() const { return nWhichOrg == 1 ? nWidth1 : nWidth2; }
- ULONG GetDestWidth() const { return nWhichOrg == 1 ? nWidth2 : nWidth1; }
+ sal_uIntPtr GetOrgWidth() const { return nWhichOrg == 1 ? nWidth1 : nWidth2; }
+ sal_uIntPtr GetDestWidth() const { return nWhichOrg == 1 ? nWidth2 : nWidth1; }
- ULONG GetOrgHeight() const { return nWhichOrg == 1 ? nHeight1 : nHeight2; }
- ULONG GetDestHeight() const { return nWhichOrg == 1 ? nHeight2 : nHeight1; }
+ sal_uIntPtr GetOrgHeight() const { return nWhichOrg == 1 ? nHeight1 : nHeight2; }
+ sal_uIntPtr GetDestHeight() const { return nWhichOrg == 1 ? nHeight2 : nHeight1; }
- ULONG GetOrgAlignedWidth() const { return nWhichOrg == 1 ? nAlignedWidth1 : nAlignedWidth2; }
- ULONG GetDestAlignedWidth() const { return nWhichOrg == 1 ? nAlignedWidth2 : nAlignedWidth1; }
+ sal_uIntPtr GetOrgAlignedWidth() const { return nWhichOrg == 1 ? nAlignedWidth1 : nAlignedWidth2; }
+ sal_uIntPtr GetDestAlignedWidth() const { return nWhichOrg == 1 ? nAlignedWidth2 : nAlignedWidth1; }
- ULONG GetOrgAlignedSize() const { return GetOrgAlignedWidth() * GetOrgHeight(); }
- ULONG GetDestAlignedSize() const { return GetDestAlignedWidth() * GetDestHeight(); }
+ sal_uIntPtr GetOrgAlignedSize() const { return GetOrgAlignedWidth() * GetOrgHeight(); }
+ sal_uIntPtr GetDestAlignedSize() const { return GetDestAlignedWidth() * GetDestHeight(); }
// Get and set the color depth of the origin picture
SimDepthType GetDepth() const { return eOrgDepth; }
@@ -178,20 +174,20 @@ public:
SimDepthType GetRedoDepth() const { return eRedoDepth; }
void SetRedoDepth(const SimDepthType eDepth) { eRedoDepth = eDepth; }
- BOOL BeginProcessing( BOOL bUndo = TRUE );
+ sal_Bool BeginProcessing( sal_Bool bUndo = sal_True );
void EndProcessing();
- BOOL BeginProcessingExt(ULONG nWidth, ULONG nHeight, BOOL bUndo = TRUE);
+ sal_Bool BeginProcessingExt(sal_uIntPtr nWidth, sal_uIntPtr nHeight, sal_Bool bUndo = sal_True);
void EndProcessingExt() { EndProcessing(); }
HPBYTE GetOrgPointer() { return pOrgArray; }
HPBYTE GetDestPointer() { return pDestArray; }
- BOOL CreateOutBitmap( const ULONG nColorCount = 256, ULONG nLast = 0,
+ sal_Bool CreateOutBitmap( const sal_uIntPtr nColorCount = 256, sal_uIntPtr nLast = 0,
SfxProgress* pProgress = NULL );
- BOOL DoUndo( SfxProgress* pProgress = NULL );
- BOOL DoRedo( SfxProgress* pProgress = NULL );
+ sal_Bool DoUndo( SfxProgress* pProgress = NULL );
+ sal_Bool DoRedo( SfxProgress* pProgress = NULL );
const Bitmap& GetOutBitmap() const;
@@ -205,7 +201,7 @@ public:
// - DitherBitmap -
// ----------------
-BOOL DitherBitmap( Bitmap& rBitmap, BOOL bDitherAlways = FALSE );
+sal_Bool DitherBitmap( Bitmap& rBitmap, sal_Bool bDitherAlways = sal_False );
#endif // _SVIMBASE_HXX
diff --git a/svx/inc/svx/svx3ditems.hxx b/svx/inc/svx/svx3ditems.hxx
index 8544d8089fff..166887ac08d4 100644..100755
--- a/svx/inc/svx/svx3ditems.hxx
+++ b/svx/inc/svx/svx3ditems.hxx
@@ -71,14 +71,14 @@ public:
class SVX_DLLPUBLIC Svx3DDoubleSidedItem : public SfxBoolItem {
public:
- Svx3DDoubleSidedItem(BOOL bVal = 0);
+ Svx3DDoubleSidedItem(sal_Bool bVal = 0);
};
// #i28528#
// Added extra Item (Bool) for chart2 to be able to show reduced line geometry
class Svx3DReducedLineGeometryItem : public SfxBoolItem {
public:
- Svx3DReducedLineGeometryItem(BOOL bVal = 0);
+ Svx3DReducedLineGeometryItem(sal_Bool bVal = 0);
virtual SfxPoolItem* Create(SvStream& rIn, sal_uInt16 nItemVersion) const;
virtual sal_uInt16 GetVersion(sal_uInt16 nFileFormatVersion) const;
};
@@ -88,14 +88,14 @@ public:
Svx3DNormalsKindItem(sal_uInt16 nVal = 0);
// use drawing::NormalsKind
- SVX_DLLPRIVATE virtual bool QueryValue( com::sun::star::uno::Any& rVal, BYTE nMemberId = 0 ) const;
- SVX_DLLPRIVATE virtual bool PutValue( const com::sun::star::uno::Any& rVal, BYTE nMemberId = 0 );
+ SVX_DLLPRIVATE virtual bool QueryValue( com::sun::star::uno::Any& rVal, sal_uInt8 nMemberId = 0 ) const;
+ SVX_DLLPRIVATE virtual bool PutValue( const com::sun::star::uno::Any& rVal, sal_uInt8 nMemberId = 0 );
SVX_DLLPRIVATE virtual SfxPoolItem* Clone(SfxItemPool* pPool = NULL) const;
};
class Svx3DNormalsInvertItem : public SfxBoolItem {
public:
- SVX_DLLPUBLIC Svx3DNormalsInvertItem(BOOL bVal = 0);
+ SVX_DLLPUBLIC Svx3DNormalsInvertItem(sal_Bool bVal = 0);
};
class SVX_DLLPUBLIC Svx3DTextureProjectionXItem : public SfxUInt16Item {
@@ -103,8 +103,8 @@ public:
Svx3DTextureProjectionXItem(sal_uInt16 nVal = 0);
// use drawing::TextureProjectionMode
- SVX_DLLPRIVATE virtual bool QueryValue( com::sun::star::uno::Any& rVal, BYTE nMemberId = 0 ) const;
- SVX_DLLPRIVATE virtual bool PutValue( const com::sun::star::uno::Any& rVal, BYTE nMemberId = 0 );
+ SVX_DLLPRIVATE virtual bool QueryValue( com::sun::star::uno::Any& rVal, sal_uInt8 nMemberId = 0 ) const;
+ SVX_DLLPRIVATE virtual bool PutValue( const com::sun::star::uno::Any& rVal, sal_uInt8 nMemberId = 0 );
SVX_DLLPRIVATE virtual SfxPoolItem* Clone(SfxItemPool* pPool = NULL) const;
};
@@ -113,14 +113,14 @@ public:
Svx3DTextureProjectionYItem(sal_uInt16 nVal = 0);
// use drawing::TextureProjectionMode
- virtual bool QueryValue( com::sun::star::uno::Any& rVal, BYTE nMemberId = 0 ) const;
- virtual bool PutValue( const com::sun::star::uno::Any& rVal, BYTE nMemberId = 0 );
+ virtual bool QueryValue( com::sun::star::uno::Any& rVal, sal_uInt8 nMemberId = 0 ) const;
+ virtual bool PutValue( const com::sun::star::uno::Any& rVal, sal_uInt8 nMemberId = 0 );
virtual SfxPoolItem* Clone(SfxItemPool* pPool = NULL) const;
};
class Svx3DShadow3DItem : public SfxBoolItem {
public:
- SVX_DLLPUBLIC Svx3DShadow3DItem(BOOL bVal = 0);
+ SVX_DLLPUBLIC Svx3DShadow3DItem(sal_Bool bVal = 0);
};
class Svx3DMaterialColorItem : public SvxColorItem {
@@ -148,8 +148,8 @@ public:
Svx3DTextureKindItem(sal_uInt16 nVal = 3);
// use drawing::TextureKind
- SVX_DLLPRIVATE virtual bool QueryValue( com::sun::star::uno::Any& rVal, BYTE nMemberId = 0 ) const;
- SVX_DLLPRIVATE virtual bool PutValue( const com::sun::star::uno::Any& rVal, BYTE nMemberId = 0 );
+ SVX_DLLPRIVATE virtual bool QueryValue( com::sun::star::uno::Any& rVal, sal_uInt8 nMemberId = 0 ) const;
+ SVX_DLLPRIVATE virtual bool PutValue( const com::sun::star::uno::Any& rVal, sal_uInt8 nMemberId = 0 );
SVX_DLLPRIVATE virtual SfxPoolItem* Clone(SfxItemPool* pPool = NULL) const;
};
@@ -158,14 +158,14 @@ public:
Svx3DTextureModeItem(sal_uInt16 nVal = 2);
// use drawing:TextureMode
- SVX_DLLPRIVATE virtual bool QueryValue( com::sun::star::uno::Any& rVal, BYTE nMemberId = 0 ) const;
- SVX_DLLPRIVATE virtual bool PutValue( const com::sun::star::uno::Any& rVal, BYTE nMemberId = 0 );
+ SVX_DLLPRIVATE virtual bool QueryValue( com::sun::star::uno::Any& rVal, sal_uInt8 nMemberId = 0 ) const;
+ SVX_DLLPRIVATE virtual bool PutValue( const com::sun::star::uno::Any& rVal, sal_uInt8 nMemberId = 0 );
SVX_DLLPRIVATE virtual SfxPoolItem* Clone(SfxItemPool* pPool = NULL) const;
};
class Svx3DTextureFilterItem : public SfxBoolItem {
public:
- SVX_DLLPUBLIC Svx3DTextureFilterItem(BOOL bVal = 0);
+ SVX_DLLPUBLIC Svx3DTextureFilterItem(sal_Bool bVal = 0);
};
// Svx3D _3DSCENE_ Items
@@ -174,8 +174,8 @@ public:
Svx3DPerspectiveItem(sal_uInt16 nVal = (sal_uInt16)PR_PERSPECTIVE);
// use drawing::ProjectionMode
- SVX_DLLPRIVATE virtual bool QueryValue( com::sun::star::uno::Any& rVal, BYTE nMemberId = 0 ) const;
- SVX_DLLPRIVATE virtual bool PutValue( const com::sun::star::uno::Any& rVal, BYTE nMemberId = 0 );
+ SVX_DLLPRIVATE virtual bool QueryValue( com::sun::star::uno::Any& rVal, sal_uInt8 nMemberId = 0 ) const;
+ SVX_DLLPRIVATE virtual bool PutValue( const com::sun::star::uno::Any& rVal, sal_uInt8 nMemberId = 0 );
SVX_DLLPRIVATE virtual SfxPoolItem* Clone(SfxItemPool* pPool = NULL) const;
};
@@ -191,7 +191,7 @@ public:
class Svx3DTwoSidedLightingItem : public SfxBoolItem {
public:
- SVX_DLLPUBLIC Svx3DTwoSidedLightingItem(BOOL bVal = 0);
+ SVX_DLLPUBLIC Svx3DTwoSidedLightingItem(sal_Bool bVal = 0);
};
class SVX_DLLPUBLIC Svx3DLightcolor1Item : public SvxColorItem {
@@ -241,42 +241,42 @@ public:
class SVX_DLLPUBLIC Svx3DLightOnOff1Item : public SfxBoolItem {
public:
- Svx3DLightOnOff1Item(BOOL bVal = 1);
+ Svx3DLightOnOff1Item(sal_Bool bVal = 1);
};
class SVX_DLLPUBLIC Svx3DLightOnOff2Item : public SfxBoolItem {
public:
- Svx3DLightOnOff2Item(BOOL bVal = 0);
+ Svx3DLightOnOff2Item(sal_Bool bVal = 0);
};
class SVX_DLLPUBLIC Svx3DLightOnOff3Item : public SfxBoolItem {
public:
- Svx3DLightOnOff3Item(BOOL bVal = 0);
+ Svx3DLightOnOff3Item(sal_Bool bVal = 0);
};
class SVX_DLLPUBLIC Svx3DLightOnOff4Item : public SfxBoolItem {
public:
- Svx3DLightOnOff4Item(BOOL bVal = 0);
+ Svx3DLightOnOff4Item(sal_Bool bVal = 0);
};
class SVX_DLLPUBLIC Svx3DLightOnOff5Item : public SfxBoolItem {
public:
- Svx3DLightOnOff5Item(BOOL bVal = 0);
+ Svx3DLightOnOff5Item(sal_Bool bVal = 0);
};
class SVX_DLLPUBLIC Svx3DLightOnOff6Item : public SfxBoolItem {
public:
- Svx3DLightOnOff6Item(BOOL bVal = 0);
+ Svx3DLightOnOff6Item(sal_Bool bVal = 0);
};
class SVX_DLLPUBLIC Svx3DLightOnOff7Item : public SfxBoolItem {
public:
- Svx3DLightOnOff7Item(BOOL bVal = 0);
+ Svx3DLightOnOff7Item(sal_Bool bVal = 0);
};
class SVX_DLLPUBLIC Svx3DLightOnOff8Item : public SfxBoolItem {
public:
- Svx3DLightOnOff8Item(BOOL bVal = 0);
+ Svx3DLightOnOff8Item(sal_Bool bVal = 0);
};
class SVX_DLLPUBLIC Svx3DLightDirection1Item : public SvxB3DVectorItem {
@@ -329,8 +329,8 @@ public:
Svx3DShadeModeItem(sal_uInt16 nVal = 2);
// use drawing::ShadeMode
- SVX_DLLPRIVATE virtual bool QueryValue( com::sun::star::uno::Any& rVal, BYTE nMemberId = 0 ) const;
- SVX_DLLPRIVATE virtual bool PutValue( const com::sun::star::uno::Any& rVal, BYTE nMemberId = 0 );
+ SVX_DLLPRIVATE virtual bool QueryValue( com::sun::star::uno::Any& rVal, sal_uInt8 nMemberId = 0 ) const;
+ SVX_DLLPRIVATE virtual bool PutValue( const com::sun::star::uno::Any& rVal, sal_uInt8 nMemberId = 0 );
SVX_DLLPRIVATE virtual SfxPoolItem* Clone(SfxItemPool* pPool = NULL) const;
};
@@ -338,7 +338,7 @@ public:
// #107245# Item to replace bExtrudeSmoothed and bLatheSmoothed
class Svx3DSmoothNormalsItem : public SfxBoolItem {
public:
- Svx3DSmoothNormalsItem(BOOL bVal = 1);
+ Svx3DSmoothNormalsItem(sal_Bool bVal = 1);
virtual SfxPoolItem* Create(SvStream& rIn, sal_uInt16 nItemVersion) const;
virtual sal_uInt16 GetVersion(sal_uInt16 nFileFormatVersion) const;
};
@@ -346,7 +346,7 @@ public:
// #107245# Item to replace bExtrudeSmoothFrontBack and bLatheSmoothFrontBack
class Svx3DSmoothLidsItem : public SfxBoolItem {
public:
- Svx3DSmoothLidsItem(BOOL bVal = 0);
+ Svx3DSmoothLidsItem(sal_Bool bVal = 0);
virtual SfxPoolItem* Create(SvStream& rIn, sal_uInt16 nItemVersion) const;
virtual sal_uInt16 GetVersion(sal_uInt16 nFileFormatVersion) const;
};
@@ -354,7 +354,7 @@ public:
// #107245# Item to replace bExtrudeCharacterMode and bLatheCharacterMode
class Svx3DCharacterModeItem : public SfxBoolItem {
public:
- Svx3DCharacterModeItem(BOOL bVal = 0);
+ Svx3DCharacterModeItem(sal_Bool bVal = 0);
virtual SfxPoolItem* Create(SvStream& rIn, sal_uInt16 nItemVersion) const;
virtual sal_uInt16 GetVersion(sal_uInt16 nFileFormatVersion) const;
};
@@ -362,7 +362,7 @@ public:
// #107245# Item to replace bExtrudeCloseFront and bLatheCloseFront
class SVX_DLLPUBLIC Svx3DCloseFrontItem : public SfxBoolItem {
public:
- Svx3DCloseFrontItem(BOOL bVal = 1);
+ Svx3DCloseFrontItem(sal_Bool bVal = 1);
SVX_DLLPRIVATE virtual SfxPoolItem* Create(SvStream& rIn, sal_uInt16 nItemVersion) const;
SVX_DLLPRIVATE virtual sal_uInt16 GetVersion(sal_uInt16 nFileFormatVersion) const;
};
@@ -370,7 +370,7 @@ public:
// #107245# Item to replace bExtrudeCloseBack and bLatheCloseBack
class SVX_DLLPUBLIC Svx3DCloseBackItem : public SfxBoolItem {
public:
- Svx3DCloseBackItem(BOOL bVal = 1);
+ Svx3DCloseBackItem(sal_Bool bVal = 1);
SVX_DLLPRIVATE virtual SfxPoolItem* Create(SvStream& rIn, sal_uInt16 nItemVersion) const;
SVX_DLLPRIVATE virtual sal_uInt16 GetVersion(sal_uInt16 nFileFormatVersion) const;
};
diff --git a/svx/inc/svx/svxcommands.h b/svx/inc/svx/svxcommands.h
new file mode 100755
index 000000000000..01ff0bcd95b2
--- /dev/null
+++ b/svx/inc/svx/svxcommands.h
@@ -0,0 +1,604 @@
+/*************************************************************************
+ *
+ * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
+ *
+ * Copyright 2000, 2010 Oracle and/or its affiliates.
+ *
+ * OpenOffice.org - a multi-platform office productivity suite
+ *
+ * This file is part of OpenOffice.org.
+ *
+ * OpenOffice.org is free software: you can redistribute it and/or modify
+ * it under the terms of the GNU Lesser General Public License version 3
+ * only, as published by the Free Software Foundation.
+ *
+ * OpenOffice.org is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU Lesser General Public License version 3 for more details
+ * (a copy is included in the LICENSE file that accompanied this code).
+ *
+ * You should have received a copy of the GNU Lesser General Public License
+ * version 3 along with OpenOffice.org. If not, see
+ * <http://www.openoffice.org/license.html>
+ * for a copy of the LGPLv3 License.
+ *
+ ************************************************************************/
+#ifndef SVX_SVXCOMMANDS_HRC
+#define SVX_SVXCOMMANDS_HRC
+
+#define CMD_SID_INET_DLG ".uno:InternetDialog"
+#define CMD_SID_FM_RECORD_ABSOLUTE ".uno:AbsoluteRecord"
+#define CMD_SID_FM_ADD_FIELD ".uno:AddField"
+#define CMD_SID_FM_ADDTABLE ".uno:AddTable"
+#define CMD_SID_OBJECT_ALIGN_CENTER ".uno:AlignCenter"
+#define CMD_SID_OBJECT_ALIGN_DOWN ".uno:AlignDown"
+#define CMD_SID_OBJECT_ALIGN_LEFT ".uno:ObjectAlignLeft"
+#define CMD_SID_ATTR_PARA_ADJUST ".uno:Alignment"
+#define CMD_SID_OBJECT_ALIGN_MIDDLE ".uno:AlignMiddle"
+#define CMD_SID_OBJECT_ALIGN_RIGHT ".uno:ObjectAlignRight"
+#define CMD_SID_OBJECT_ALIGN_UP ".uno:AlignUp"
+#define CMD_SID_DRAW_ARC ".uno:Arc"
+#define CMD_SID_3D_ASSIGN ".uno:Assign3D"
+#define CMD_SID_FM_AUTOCONTROLFOCUS ".uno:AutoControlFocus"
+#define CMD_SID_FM_AUTOFILTER ".uno:AutoFilter"
+#define CMD_SID_AUTOFORMAT ".uno:AutoFormat"
+#define CMD_SID_TABLE_STYLE ".uno:TableStyle"
+#define CMD_SID_TABLE_STYLE_SETTINGS ".uno:TableStyleSettings"
+#define CMD_SID_TABLEDESIGN ".uno:TableDesign"
+#define CMD_SID_BACKGROUND_COLOR ".uno:BackgroundColor"
+#define CMD_SID_ATTR_BRUSH ".uno:BackgroundPattern"
+#define CMD_SID_BACKGROUND_PATTERN ".uno:BackgroundPatternController"
+#define CMD_SID_DRAW_BEZIER_NOFILL ".uno:Bezier_Unfilled"
+#define CMD_SID_BEZIER_APPEND ".uno:BezierAppend"
+#define CMD_SID_BEZIER_CLOSE ".uno:BezierClose"
+#define CMD_SID_BEZIER_CONVERT ".uno:BezierConvert"
+#define CMD_SID_BEZIER_CUTLINE ".uno:BezierCutLine"
+#define CMD_SID_BEZIER_DELETE ".uno:BezierDelete"
+#define CMD_SID_BEZIER_EDGE ".uno:BezierEdge"
+#define CMD_SID_BEZIER_ELIMINATE_POINTS ".uno:BezierEliminatePoints"
+#define CMD_SID_DRAW_BEZIER_FILL ".uno:BezierFill"
+#define CMD_SID_BEZIER_INSERT ".uno:BezierInsert"
+#define CMD_SID_BEZIER_MOVE ".uno:BezierMove"
+#define CMD_SID_BEZIER_SMOOTH ".uno:BezierSmooth"
+#define CMD_SID_BEZIER_SYMMTR ".uno:BezierSymmetric"
+#define CMD_SID_BEZIERTO ".uno:BezierTo"
+#define CMD_SID_BMPMASK ".uno:BmpMask"
+#define CMD_SID_BMPMASK_EXEC ".uno:BmpMaskExec"
+#define CMD_SID_BMPMASK_PIPETTE ".uno:BmpMaskPipette"
+#define CMD_SID_ATTR_CHAR_WEIGHT ".uno:Bold"
+#define CMD_SID_ATTR_CHAR_LATIN_WEIGHT ".uno:BoldLatin"
+#define CMD_SID_ATTR_CHAR_CJK_WEIGHT ".uno:BoldCJK"
+#define CMD_SID_ATTR_CHAR_CTL_WEIGHT ".uno:BoldCTL"
+#define CMD_SID_BORDER_OBJECT ".uno:Border"
+#define CMD_SID_ATTR_BORDER_INNER ".uno:BorderInner"
+#define CMD_SID_ATTR_BORDER_OUTER ".uno:BorderOuter"
+#define CMD_SID_ATTR_BORDER ".uno:SetBorderStyle"
+#define CMD_SID_FRAME_TO_TOP ".uno:BringToFront"
+#define CMD_SID_DRAW_CAPTION ".uno:DrawCaption"
+#define CMD_SID_ATTR_CHAR_CASEMAP ".uno:CaseMap"
+#define CMD_SID_ATTR_PARA_ADJUST_CENTER ".uno:CenterPara"
+#define CMD_SID_TRANSLITERATE_FULLWIDTH ".uno:ChangeCaseToFullWidth"
+#define CMD_SID_TRANSLITERATE_HALFWIDTH ".uno:ChangeCaseToHalfWidth"
+#define CMD_SID_TRANSLITERATE_HIRAGANA ".uno:ChangeCaseToHiragana"
+#define CMD_SID_TRANSLITERATE_KATAGANA ".uno:ChangeCaseToKatakana"
+#define CMD_SID_TRANSLITERATE_LOWER ".uno:ChangeCaseToLower"
+#define CMD_SID_TRANSLITERATE_UPPER ".uno:ChangeCaseToUpper"
+#define CMD_SID_FM_CHANGECONTROLTYPE ".uno:ChangeControlType"
+#define CMD_SID_ATTR_CHAR_FONT ".uno:CharFontName"
+#define CMD_SID_ATTR_CHAR_LATIN_FONT ".uno:CharFontNameLatin"
+#define CMD_SID_ATTR_CHAR_CJK_FONT ".uno:CharFontNameCJK"
+#define CMD_SID_ATTR_CHAR_CTL_FONT ".uno:CharFontNameCTL"
+#define CMD_SID_INSERT_CHECKBOX ".uno:Checkbox"
+#define CMD_SID_FM_CHECKBOX ".uno:CheckBox"
+#define CMD_SID_CHOOSE_CONTROLS ".uno:ChooseControls"
+#define CMD_SID_CHOOSE_POLYGON ".uno:ChoosePolygon"
+#define CMD_SID_DRAW_CIRCLE ".uno:Circle"
+#define CMD_SID_DRAW_CIRCLE_NOFILL ".uno:Circle_Unfilled"
+#define CMD_SID_DRAW_CIRCLEARC ".uno:CircleArc"
+#define CMD_SID_DRAW_CIRCLECUT ".uno:CircleCut"
+#define CMD_SID_DRAW_CIRCLECUT_NOFILL ".uno:CircleCut_Unfilled"
+#define CMD_SID_DRAW_CIRCLEPIE ".uno:CirclePie"
+#define CMD_SID_DRAW_CIRCLEPIE_NOFILL ".uno:CirclePie_Unfilled"
+#define CMD_SID_OUTLINE_DELETEALL ".uno:ClearOutline"
+#define CMD_SID_ATTR_CHAR_COLOR ".uno:Color"
+#define CMD_SID_COLOR_CONTROL ".uno:ColorControl"
+#define CMD_SID_FM_COMBOBOX ".uno:ComboBox"
+#define CMD_SID_FM_NAVIGATIONBAR ".uno:NavigationBar"
+#define CMD_SID_INSERT_COMBOBOX ".uno:Combobox"
+#define CMD_SID_FM_CONFIG ".uno:Config"
+#define CMD_SID_FM_MORE_CONTROLS ".uno:MoreControls"
+#define CMD_SID_FM_FORM_DESIGN_TOOLS ".uno:FormDesignTools"
+#define CMD_SID_CONTOUR_DLG ".uno:ContourDialog"
+#define CMD_SID_CONTOUR_EXEC ".uno:ContourExecute"
+#define CMD_SID_FM_CTL_PROPERTIES ".uno:ControlProperties"
+#define CMD_SID_FM_CONVERTTO_BUTTON ".uno:ConvertToButton"
+#define CMD_SID_FM_CONVERTTO_CHECKBOX ".uno:ConvertToCheckBox"
+#define CMD_SID_FM_CONVERTTO_COMBOBOX ".uno:ConvertToCombo"
+#define CMD_SID_FM_CONVERTTO_CURRENCY ".uno:ConvertToCurrency"
+#define CMD_SID_FM_CONVERTTO_DATE ".uno:ConvertToDate"
+#define CMD_SID_FM_CONVERTTO_EDIT ".uno:ConvertToEdit"
+#define CMD_SID_FM_CONVERTTO_FILECONTROL ".uno:ConvertToFileControl"
+#define CMD_SID_FM_CONVERTTO_FIXEDTEXT ".uno:ConvertToFixed"
+#define CMD_SID_FM_CONVERTTO_FORMATTED ".uno:ConvertToFormatted"
+#define CMD_SID_FM_CONVERTTO_SCROLLBAR ".uno:ConvertToScrollBar"
+#define CMD_SID_FM_CONVERTTO_SPINBUTTON ".uno:ConvertToSpinButton"
+#define CMD_SID_FM_CONVERTTO_GROUPBOX ".uno:ConvertToGroup"
+#define CMD_SID_FM_CONVERTTO_IMAGEBUTTON ".uno:ConvertToImageBtn"
+#define CMD_SID_FM_CONVERTTO_IMAGECONTROL ".uno:ConvertToImageControl"
+#define CMD_SID_FM_CONVERTTO_LISTBOX ".uno:ConvertToList"
+#define CMD_SID_FM_CONVERTTO_NUMERIC ".uno:ConvertToNumeric"
+#define CMD_SID_FM_CONVERTTO_PATTERN ".uno:ConvertToPattern"
+#define CMD_SID_FM_CONVERTTO_RADIOBUTTON ".uno:ConvertToRadio"
+#define CMD_SID_FM_CONVERTTO_TIME ".uno:ConvertToTime"
+#define CMD_SID_FM_CONVERTTO_NAVIGATIONBAR ".uno:ConvertToNavigationBar"
+#define CMD_SID_FM_COUNTALL ".uno:CountAll"
+#define CMD_SID_FM_CREATE_CONTROL ".uno:CreateControl"
+#define CMD_SID_INSERT_CURRENCYFIELD ".uno:InsertCurrencyField"
+#define CMD_SID_FM_CURRENCYFIELD ".uno:CurrencyField"
+#define CMD_SID_DASH ".uno:Dash"
+#define CMD_SID_INSERT_DATEFIELD ".uno:AddDateField"
+#define CMD_SID_FM_DATEFIELD ".uno:DateField"
+#define CMD_FN_NUM_BULLET_ON ".uno:DefaultBullet"
+#define CMD_SID_FM_RECORD_DELETE ".uno:DeleteRecord"
+#define CMD_SID_FM_DESIGN_MODE ".uno:SwitchControlDesignMode"
+#define CMD_SID_DISTRIBUTE_DLG ".uno:DistributeSelection"
+#define CMD_SID_DRAW_SELECT ".uno:DrawSelect"
+#define CMD_SID_INSERT_DRAW ".uno:InsertDraw"
+#define CMD_SID_DSBROWSER_EXPLORER ".uno:DSBrowserExplorer"
+#define CMD_SID_FM_EDIT ".uno:Edit"
+#define CMD_SID_INSERT_EDIT ".uno:InsertEdit"
+#define CMD_SID_DRAW_ELLIPSE ".uno:Ellipse"
+#define CMD_SID_DRAW_ELLIPSE_NOFILL ".uno:Ellipse_Unfilled"
+#define CMD_SID_DRAW_ELLIPSECUT ".uno:EllipseCut"
+#define CMD_SID_DRAW_ELLIPSECUT_NOFILL ".uno:EllipseCut_Unfilled"
+#define CMD_SID_ENTER_GROUP ".uno:EnterGroup"
+#define CMD_SID_ATTR_CHAR_ESCAPEMENT ".uno:Escapement"
+#define CMD_SID_FM_FIELDS_CONTROL ".uno:FieldController"
+#define CMD_SID_FM_FILECONTROL ".uno:FileControl"
+#define CMD_SID_INSERT_FILECONTROL ".uno:InsertFileControl"
+#define CMD_SID_INSERT_TREECONTROL ".uno:InsertTreeControl"
+#define CMD_SID_ATTR_FILL_BITMAP ".uno:FillBitmap"
+#define CMD_SID_ATTR_FILL_COLOR ".uno:FillColor"
+#define CMD_SID_ATTR_FILL_GRADIENT ".uno:FillGradient"
+#define CMD_SID_ATTR_FILL_HATCH ".uno:FillHatch"
+#define CMD_SID_ATTR_FILL_STYLE ".uno:FillStyle"
+#define CMD_SID_FM_FILTERCRIT ".uno:FilterCrit"
+#define CMD_SID_FM_RECORD_FIRST ".uno:FirstRecord"
+#define CMD_SID_ATTR_FLASH ".uno:Flash"
+#define CMD_SID_FM_FMEXPLORER_CONTROL ".uno:FmExplorerController"
+#define CMD_SID_FM_FILTER_NAVIGATOR_CONTROL ".uno:FmFilterNavigatorController"
+#define CMD_SID_CHAR_DLG ".uno:FontDialog"
+#define CMD_SID_ATTR_CHAR_FONTHEIGHT ".uno:FontHeight"
+#define CMD_SID_ATTR_CHAR_LATIN_FONTHEIGHT ".uno:FontHeighLatin"
+#define CMD_SID_ATTR_CHAR_CJK_FONTHEIGHT ".uno:FontHeightCJK"
+#define CMD_SID_ATTR_CHAR_CTL_FONTHEIGHT ".uno:FontHeightCTL"
+#define CMD_SID_FONTWORK ".uno:FontWork"
+#define CMD_SID_FORMTEXT_ADJUST ".uno:FontWorkTextAdjust"
+#define CMD_SID_FORMTEXT_STDFORM ".uno:FontWorkTextClearAttributes"
+#define CMD_SID_FORMTEXT_DISTANCE ".uno:FontWorkTextDistance"
+#define CMD_SID_FORMTEXT_MIRROR ".uno:FontWorkTextMirror"
+#define CMD_SID_FORMTEXT_OUTLINE ".uno:FontWorkTextOutline"
+#define CMD_SID_FORMTEXT_SHADOW ".uno:FontWorkTextShadow"
+#define CMD_SID_FORMTEXT_SHDWCOLOR ".uno:FontWorkTextShadowColor"
+#define CMD_SID_FORMTEXT_SHDWXVAL ".uno:FontWorkTextShadowXVal"
+#define CMD_SID_FORMTEXT_SHDWYVAL ".uno:FontWorkTextShadowYVal"
+#define CMD_SID_FORMTEXT_START ".uno:FontWorkTextStart"
+#define CMD_SID_FORMTEXT_STYLE ".uno:FontWorkTextStyle"
+#define CMD_SID_ATTRIBUTES_AREA ".uno:FormatArea"
+#define CMD_SID_FORMTEXT_HIDEFORM ".uno:FormatFontWorkClose"
+#define CMD_SID_GROUP ".uno:FormatGroup"
+#define CMD_SID_ATTRIBUTES_LINE ".uno:FormatLine"
+#define CMD_SID_FM_FORMATTEDFIELD ".uno:FormattedField"
+#define CMD_SID_FM_SCROLLBAR ".uno:ScrollBar"
+#define CMD_SID_FM_SPINBUTTON ".uno:SpinButton"
+#define CMD_SID_INSERT_FORMATTEDFIELD ".uno:InsertFormattedField"
+#define CMD_SID_UNGROUP ".uno:FormatUngroup"
+#define CMD_SID_FM_FILTER_START ".uno:FormFilter"
+#define CMD_SID_FM_FORM_FILTERED ".uno:FormFiltered"
+#define CMD_SID_FM_FILTER_EXECUTE ".uno:FormFilterExecute"
+#define CMD_SID_FM_FILTER_EXIT ".uno:FormFilterExit"
+#define CMD_SID_FM_FILTER_NAVIGATOR ".uno:FormFilterNavigator"
+#define CMD_SID_FM_PROPERTIES ".uno:FormProperties"
+#define CMD_SID_DRAW_FREELINE ".uno:Freeline"
+#define CMD_SID_DRAW_FREELINE_NOFILL ".uno:Freeline_Unfilled"
+#define CMD_SID_ATTR_AUTO_COLOR_INVALID ".uno:AutoColorInvalid"
+#define CMD_SID_GALLERY ".uno:Gallery"
+#define CMD_SID_GALLERY_ENABLE_ADDCOPY ".uno:GalleryEnableAddCopy"
+#define CMD_SID_GETREDOSTRINGS ".uno:GetRedoStrings"
+#define CMD_SID_GETUNDOSTRINGS ".uno:GetUndoStrings"
+#define CMD_SID_ATTR_GRAF_CROP ".uno:GrafAttrCrop"
+#define CMD_SID_ATTR_GRAF_BLUE ".uno:GrafBlue"
+#define CMD_SID_ATTR_GRAF_CONTRAST ".uno:GrafContrast"
+#define CMD_SID_ATTR_GRAF_GAMMA ".uno:GrafGamma"
+#define CMD_SID_ATTR_GRAF_GREEN ".uno:GrafGreen"
+#define CMD_SID_ATTR_GRAF_INVERT ".uno:GrafInvert"
+#define CMD_SID_ATTR_GRAF_LUMINANCE ".uno:GrafLuminance"
+#define CMD_SID_ATTR_GRAF_MODE ".uno:GrafMode"
+#define CMD_SID_ATTR_GRAF_RED ".uno:GrafRed"
+#define CMD_SID_ATTR_GRAF_TRANSPARENCE ".uno:GrafTransparence"
+#define CMD_SID_GRFFILTER_INVERT ".uno:GraphicFilterInvert"
+#define CMD_SID_GRFFILTER_MOSAIC ".uno:GraphicFilterMosaic"
+#define CMD_SID_GRFFILTER_POPART ".uno:GraphicFilterPopart"
+#define CMD_SID_GRFFILTER_POSTER ".uno:GraphicFilterPoster"
+#define CMD_SID_GRFFILTER_EMBOSS ".uno:GraphicFilterRelief"
+#define CMD_SID_GRFFILTER_REMOVENOISE ".uno:GraphicFilterRemoveNoise"
+#define CMD_SID_GRFFILTER_SEPIA ".uno:GraphicFilterSepia"
+#define CMD_SID_GRFFILTER_SHARPEN ".uno:GraphicFilterSharpen"
+#define CMD_SID_GRFFILTER_SMOOTH ".uno:GraphicFilterSmooth"
+#define CMD_SID_GRFFILTER_SOBEL ".uno:GraphicFilterSobel"
+#define CMD_SID_GRFFILTER_SOLARIZE ".uno:GraphicFilterSolarize"
+#define CMD_SID_GRFFILTER ".uno:GraphicFilterToolbox"
+#define CMD_SID_FM_DBGRID ".uno:Grid"
+#define CMD_SID_GRID_USE ".uno:GridUse"
+#define CMD_SID_GRID_VISIBLE ".uno:GridVisible"
+#define CMD_SID_OUTLINE_MAKE ".uno:Group"
+#define CMD_SID_FM_GROUPBOX ".uno:GroupBox"
+#define CMD_SID_INSERT_GROUPBOX ".uno:Groupbox"
+#define CMD_SID_RULER_LR_MIN_MAX ".uno:HeaderFooterBorder"
+#define CMD_SID_HELPLINES_MOVE ".uno:HelplinesMove"
+#define CMD_SID_INSERT_HFIXEDLINE ".uno:HFixedLine"
+#define CMD_SID_OUTLINE_HIDE ".uno:HideDetail"
+#define CMD_SID_INSERT_HSCROLLBAR ".uno:HScrollbar"
+#define CMD_SID_HYPERLINK_GETLINK ".uno:Hyperlink"
+#define CMD_SID_FM_IMAGEBUTTON ".uno:Imagebutton"
+#define CMD_SID_FM_IMAGECONTROL ".uno:ImageControl"
+#define CMD_SID_INSERT_IMAGECONTROL ".uno:InsertImageControl"
+#define CMD_SID_IMAP ".uno:ImageMapDialog"
+#define CMD_SID_IMAP_EXEC ".uno:ImageMapExecute"
+#define CMD_SID_3D_INIT ".uno:Init3D"
+#define CMD_SID_OBJECTRESIZE ".uno:InPlaceObjectResize"
+#define CMD_SID_ENTER_STRING ".uno:EnterString"
+#define CMD_SID_INSERT_POSTIT ".uno:InsertAnnotation"
+#define CMD_SID_SHOW_POSTIT ".uno:ShowAnnotations"
+#define CMD_SID_REPLYTO_POSTIT ".uno:ReplyToAnnotation"
+#define CMD_SID_DELETE_POSTIT ".uno:DeleteAnnotation"
+#define CMD_SID_DELETEALL_POSTIT ".uno:DeleteAllAnnotation"
+#define CMD_SID_DELETEALLBYAUTHOR_POSTIT ".uno:DeleteAllAnnotationByAuthor"
+#define CMD_SID_NEXT_POSTIT ".uno:NextAnnotation"
+#define CMD_SID_PREVIOUS_POSTIT ".uno:PreviousAnnotation"
+#define CMD_SID_INSERT_APPLET ".uno:InsertApplet"
+#define CMD_SID_GALLERY_FORMATS ".uno:InsertGalleryPic"
+#define CMD_SID_INSERT_GRAPHIC ".uno:InsertGraphic"
+#define CMD_SID_INSERT_IMAGE ".uno:InsertImage"
+#define CMD_SID_INSERT_MATH ".uno:InsertMath"
+#define CMD_SID_ATTR_INSERT ".uno:InsertMode"
+#define CMD_FN_NUM_NUMBERING_ON ".uno:DefaultNumbering"
+#define CMD_SID_INSERT_OBJECT ".uno:InsertObject"
+#define CMD_SID_INSERT_DIAGRAM ".uno:InsertObjectChart"
+#define CMD_SID_INSERT_PLUGIN ".uno:InsertPlugin"
+#define CMD_SID_INSERT_SOUND ".uno:InsertSound"
+#define CMD_SID_CHARMAP ".uno:InsertSymbol"
+#define CMD_SID_ATTR_TABLE ".uno:InsertSpreadsheet"
+#define CMD_SID_INSERT_TABLE ".uno:InsertTable"
+#define CMD_SID_INSERT_FRAME ".uno:InsertTextFrame"
+#define CMD_SID_INSERT_VIDEO ".uno:InsertVideo"
+#define CMD_SID_POLY_INTERSECT ".uno:Intersect"
+#define CMD_SID_ATTR_CHAR_POSTURE ".uno:Italic"
+#define CMD_SID_ATTR_CHAR_LATIN_POSTURE ".uno:ItalicLatin"
+#define CMD_SID_ATTR_CHAR_CJK_POSTURE ".uno:ItalicCJK"
+#define CMD_SID_ATTR_CHAR_CTL_POSTURE ".uno:ItalicCTL"
+#define CMD_SID_ATTR_PARA_ADJUST_BLOCK ".uno:JustifyPara"
+#define CMD_SID_INSERT_FIXEDTEXT ".uno:InsertFixedText"
+#define CMD_SID_FM_FIXEDTEXT ".uno:Label"
+#define CMD_SID_ATTR_CHAR_LANGUAGE ".uno:Language"
+#define CMD_SID_ATTR_CHAR_LATIN_LANGUAGE ".uno:LanguageLatin"
+#define CMD_SID_FM_RECORD_LAST ".uno:LastRecord"
+#define CMD_SID_FM_LEAVE_CREATE ".uno:LeaveFMCreateMode"
+#define CMD_SID_LEAVE_GROUP ".uno:LeaveGroup"
+#define CMD_SID_ATTR_PARA_ADJUST_LEFT ".uno:LeftPara"
+#define CMD_SID_ATTR_LRSPACE ".uno:LeftRightMargin"
+#define CMD_SID_ATTR_PARA_LRSPACE ".uno:LeftRightParaMargin"
+#define CMD_SID_ATTR_PARA_LRSPACE_VERTICAL ".uno:LeftRightParaMargin_Vertical"
+#define CMD_SID_DRAW_LINE ".uno:Line"
+#define CMD_SID_DRAW_XLINE ".uno:Line_Diagonal"
+#define CMD_SID_FRAME_LINECOLOR ".uno:FrameLineColor"
+#define CMD_SID_ATTR_LINE_DASH ".uno:LineDash"
+#define CMD_SID_ATTR_LINEEND_STYLE ".uno:LineEndStyle"
+#define CMD_SID_ATTR_PARA_LINESPACE ".uno:LineSpacing"
+#define CMD_SID_FRAME_LINESTYLE ".uno:LineStyle"
+#define CMD_SID_ATTR_LINE_WIDTH ".uno:LineWidth"
+#define CMD_SID_FM_LISTBOX ".uno:ListBox"
+#define CMD_SID_INSERT_LISTBOX ".uno:InsertListbox"
+#define CMD_SID_POLY_MERGE ".uno:Merge"
+#define CMD_SID_BASICIDE_NEWJAVAMODULE ".uno:NewJavaModule"
+#define CMD_SID_FM_RECORD_NEW ".uno:NewRecord"
+#define CMD_SID_FM_RECORD_NEXT ".uno:NextRecord"
+#define CMD_SID_FM_NUMERICFIELD ".uno:NumericField"
+#define CMD_SID_INSERT_NUMERICFIELD ".uno:InsertNumericField"
+#define CMD_SID_OBJECT_ALIGN ".uno:ObjectAlign"
+#define CMD_SID_FRAME_DOWN ".uno:ObjectBackOne"
+#define CMD_SID_FRAME_UP ".uno:ObjectForwardOne"
+#define CMD_SID_FM_OPEN_READONLY ".uno:OpenReadOnly"
+#define CMD_SID_FM_ORDERCRIT ".uno:OrderCrit"
+#define CMD_SID_ATTR_PARA_ORPHANS ".uno:Orphan"
+#define CMD_SID_OUTLINE_BULLET ".uno:OutlineBullet"
+#define CMD_SID_OUTLINE_COLLAPSE ".uno:OutlineCollapse"
+#define CMD_SID_OUTLINE_COLLAPSE_ALL ".uno:OutlineCollapseAll"
+#define CMD_SID_OUTLINE_DOWN ".uno:OutlineDown"
+#define CMD_SID_OUTLINE_EXPAND ".uno:OutlineExpand"
+#define CMD_SID_OUTLINE_EXPAND_ALL ".uno:OutlineExpandAll"
+#define CMD_SID_ATTR_CHAR_CONTOUR ".uno:OutlineFont"
+#define CMD_SID_OUTLINE_FORMAT ".uno:OutlineFormat"
+#define CMD_SID_OUTLINE_LEFT ".uno:OutlineLeft"
+#define CMD_SID_OUTLINE_RIGHT ".uno:OutlineRight"
+#define CMD_SID_OUTLINE_UP ".uno:OutlineUp"
+#define CMD_SID_ATTR_PARA_PAGEBREAK ".uno:Pagebreak"
+#define CMD_SID_ATTR_PAGE_PAPERBIN ".uno:PagePaperBin"
+#define CMD_SID_ATTR_PAGE_SIZE ".uno:AttributePageSize"
+#define CMD_SID_ATTR_PARA_MODEL ".uno:AttributeParaModel"
+#define CMD_SID_ATTR_PAGE ".uno:AttributePage"
+#define CMD_SID_ATTR_CHAR_AUTOKERN ".uno:PairKerning"
+#define CMD_SID_PARA_DLG ".uno:ParagraphDialog"
+#define CMD_SID_ATTR_PARA_KEEP ".uno:ParaKeepTogether"
+#define CMD_SID_ATTR_PARA_SPLIT ".uno:ParaSplit"
+#define CMD_SID_INSERT_PATTERNFIELD ".uno:InsertPatternField"
+#define CMD_SID_FM_PATTERNFIELD ".uno:PatternField"
+#define CMD_SID_DRAW_PIE ".uno:Pie"
+#define CMD_SID_DRAW_PIE_NOFILL ".uno:Pie_Unfilled"
+#define CMD_SID_POLY_FORMEN ".uno:PolyFormen"
+#define CMD_SID_DRAW_XPOLYGON ".uno:Polygon_Diagonal"
+#define CMD_SID_DRAW_XPOLYGON_NOFILL ".uno:Polygon_Diagonal_Unfilled"
+#define CMD_SID_DRAW_POLYGON_NOFILL ".uno:Polygon_Unfilled"
+#define CMD_SID_ATTR_POSITION ".uno:Position"
+#define CMD_SID_INSERT_PREVIEW ".uno:Preview"
+#define CMD_SID_FM_RECORD_PREV ".uno:PrevRecord"
+#define CMD_SID_INSERT_PROGRESSBAR ".uno:ProgressBar"
+#define CMD_SID_FM_PROPERTY_CONTROL ".uno:PropertyController"
+#define CMD_SID_FM_PUSHBUTTON ".uno:Pushbutton"
+#define CMD_SID_INSERT_PUSHBUTTON ".uno:InsertPushbutton"
+#define CMD_SID_INSERT_RADIOBUTTON ".uno:Radiobutton"
+#define CMD_SID_FM_RADIOBUTTON ".uno:RadioButton"
+#define CMD_SID_READONLY_MODE ".uno:ReadOnlyMode"
+#define CMD_SID_FM_RECORD_FROM_TEXT ".uno:RecFromText"
+#define CMD_SID_FM_RECORD_SAVE ".uno:RecSave"
+#define CMD_SID_FM_SEARCH ".uno:RecSearch"
+#define CMD_SID_DRAW_RECT ".uno:Rect"
+#define CMD_SID_DRAW_RECT_ROUND ".uno:Rect_Rounded"
+#define CMD_SID_DRAW_RECT_ROUND_NOFILL ".uno:Rect_Rounded_Unfilled"
+#define CMD_SID_DRAW_RECT_NOFILL ".uno:Rect_Unfilled"
+#define CMD_SID_FM_RECORD_TEXT ".uno:RecText"
+#define CMD_SID_FM_RECORD_TOTAL ".uno:RecTotal"
+#define CMD_SID_FM_RECORD_UNDO ".uno:RecUndo"
+#define CMD_SID_FM_REFRESH ".uno:Refresh"
+#define CMD_SID_FM_REFRESH_FORM_CONTROL ".uno:RefreshFormControl"
+#define CMD_SID_FM_FILTER_REMOVE ".uno:RemoveFilter"
+#define CMD_SID_FM_REMOVE_FILTER_SORT ".uno:RemoveFilterSort"
+#define CMD_FID_SEARCH_REPLACESET ".uno:ReplaceSet"
+#define CMD_SID_ATTR_PARA_ADJUST_RIGHT ".uno:RightPara"
+#define CMD_SID_RULER_BORDER_DISTANCE ".uno:RulerBorderDistance"
+#define CMD_SID_RULER_BORDERS ".uno:RulerBorders"
+#define CMD_SID_RULER_BORDERS_VERTICAL ".uno:RulerBordersVertical"
+#define CMD_SID_RULER_NULL_OFFSET ".uno:RulerNullOffset"
+#define CMD_SID_RULER_PAGE_POS ".uno:RulerPagePos"
+#define CMD_SID_RULER_PROTECT ".uno:RulerProtect"
+#define CMD_SID_FM_EXECUTE ".uno:SbaExecuteSql"
+#define CMD_SID_FM_NATIVESQL ".uno:SbaNativeSql"
+#define CMD_SID_SCAN ".uno:Scan"
+#define CMD_SID_SC_EDITOPTIONS ".uno:ScEditOptions"
+#define CMD_SID_SCH_EDITOPTIONS ".uno:SchEditOptions"
+#define CMD_SID_SD_EDITOPTIONS ".uno:SdEditOptions"
+#define CMD_SID_SD_GRAPHIC_OPTIONS ".uno:SdGraphicOptions"
+#define CMD_FID_SEARCH_OFF ".uno:SearchOff"
+#define CMD_FID_SEARCH_ON ".uno:SearchOn"
+#define CMD_FID_SEARCH_SEARCHSET ".uno:SearchSet"
+#define CMD_SID_SELECT ".uno:Select"
+#define CMD_SID_FRAME_TO_BOTTOM ".uno:SendToBack"
+#define CMD_SID_SET_DEFAULT ".uno:SetDefault"
+#define CMD_SID_HYPERLINK_SETLINK ".uno:SetHyperlink"
+#define CMD_SID_ATTR_PARA_HYPHENZONE ".uno:SetHyphenZone"
+#define CMD_SID_ATTR_LONG_LRSPACE ".uno:SetLongLeftRightMargin"
+#define CMD_SID_ATTR_LONG_ULSPACE ".uno:SetLongTopBottomMargin"
+#define CMD_SID_OBJECT_HELL ".uno:SetObjectToBackground"
+#define CMD_SID_OBJECT_HEAVEN ".uno:SetObjectToForeground"
+#define CMD_SID_ATTR_PAGE_MAXSIZE ".uno:SetPageMaxSize"
+#define CMD_SID_ATTR_BORDER_SHADOW ".uno:BorderShadow"
+#define CMD_SID_ATTR_FILL_SHADOW ".uno:FillShadow"
+#define CMD_SID_ATTR_CHAR_SHADOWED ".uno:Shadowed"
+#define CMD_SID_OUTLINE_SHOW ".uno:ShowDetail"
+#define CMD_SID_FM_SHOW_FMEXPLORER ".uno:ShowFmExplorer"
+#define CMD_SID_SHOW_ITEMBROWSER ".uno:ShowItemBrowser"
+#define CMD_SID_SHOW_PROPERTYBROWSER ".uno:ShowPropBrowser"
+#define CMD_SID_FM_SHOW_PROPERTIES ".uno:ShowProperties"
+#define CMD_SID_FM_SHOW_PROPERTY_BROWSER ".uno:ShowPropertyBrowser"
+#define CMD_SID_RULER ".uno:ShowRuler"
+#define CMD_SID_SIM_EDITOPTIONS ".uno:SimEditOptions"
+#define CMD_SID_ATTR_SIZE ".uno:Size"
+#define CMD_SID_SM_EDITOPTIONS ".uno:SmEditOptions"
+#define CMD_SID_FM_SORTDOWN ".uno:SortDown"
+#define CMD_SID_FM_SORTUP ".uno:Sortup"
+#define CMD_SID_ATTR_PARA_LINESPACE_10 ".uno:SpacePara1"
+#define CMD_SID_ATTR_PARA_LINESPACE_15 ".uno:SpacePara15"
+#define CMD_SID_ATTR_PARA_LINESPACE_20 ".uno:SpacePara2"
+#define CMD_SID_ATTR_CHAR_KERNING ".uno:Spacing"
+#define CMD_SID_AUTOSPELL_CHECK ".uno:SpellOnline"
+#define CMD_SID_INSERT_SPINBUTTON ".uno:Spinbutton"
+#define CMD_SID_DRAW_SQUARE ".uno:Square"
+#define CMD_SID_DRAW_SQUARE_ROUND ".uno:Square_Rounded"
+#define CMD_SID_DRAW_SQUARE_ROUND_NOFILL ".uno:Square_Rounded_Unfilled"
+#define CMD_SID_DRAW_SQUARE_NOFILL ".uno:Square_Unfilled"
+#define CMD_SID_3D_STATE ".uno:State3D"
+#define CMD_SID_ATTR_CHAR_STRIKEOUT ".uno:Strikeout"
+#define CMD_SID_SET_SUB_SCRIPT ".uno:SubScript"
+#define CMD_SID_POLY_SUBSTRACT ".uno:Substract"
+#define CMD_SID_SET_SUPER_SCRIPT ".uno:SuperScript"
+#define CMD_SID_SW_EDITOPTIONS ".uno:SwEditOptions"
+#define CMD_SID_FM_TAB_DIALOG ".uno:TabDialog"
+#define CMD_SID_ATTR_TABSTOP ".uno:Tabstops"
+#define CMD_SID_ATTR_TABSTOP_VERTICAL ".uno:TabstopsVertical"
+#define CMD_SID_DIALOG_TESTMODE ".uno:TestMode"
+#define CMD_SID_ATTR_CHAR ".uno:Text"
+#define CMD_SID_DRAW_TEXT ".uno:DrawText"
+#define CMD_SID_DRAW_TEXT_MARQUEE ".uno:Text_Marquee"
+#define CMD_SID_TEXTDIRECTION_LEFT_TO_RIGHT ".uno:TextdirectionLeftToRight"
+#define CMD_SID_TEXTDIRECTION_TOP_TO_BOTTOM ".uno:TextdirectionTopToBottom"
+#define CMD_SID_ATTR_TEXT_FITTOSIZE ".uno:TextFitToSize"
+#define CMD_SID_THESAURUS ".uno:ThesaurusDialog"
+#define CMD_SID_INSERT_TIMEFIELD ".uno:InsertTimeField"
+#define CMD_SID_FM_TIMEFIELD ".uno:TimeField"
+#define CMD_SID_BEZIER_EDIT ".uno:ToggleObjectBezierMode"
+#define CMD_SID_OBJECT_ROTATE ".uno:ToggleObjectRotateMode"
+#define CMD_SID_TEXTEDIT ".uno:ToolEdit"
+#define CMD_SID_OBJECT_SELECT ".uno:SelectObject"
+#define CMD_SID_ATTR_ULSPACE ".uno:TopBottomMargin"
+#define CMD_SID_ATTR_TRANSFORM ".uno:TransformDialog"
+#define CMD_SID_TWAIN_SELECT ".uno:TwainSelect"
+#define CMD_SID_TWAIN_TRANSFER ".uno:TwainTransfer"
+#define CMD_SID_ATTR_CHAR_UNDERLINE ".uno:Underline"
+#define CMD_SID_ATTR_CHAR_OVERLINE ".uno:Overline"
+#define CMD_SID_OUTLINE_REMOVE ".uno:Ungroup"
+#define CMD_SID_INSERT_URLBUTTON ".uno:URLButton"
+#define CMD_SID_FM_USE_WIZARDS ".uno:UseWizards"
+#define CMD_SID_DRAW_CAPTION_VERTICAL ".uno:VerticalCaption"
+#define CMD_SID_DRAW_TEXT_VERTICAL ".uno:VerticalText"
+#define CMD_SID_INSERT_VFIXEDLINE ".uno:VFixedLine"
+#define CMD_SID_FM_VIEW_AS_GRID ".uno:ViewFormAsGrid"
+#define CMD_SID_INSERT_VSCROLLBAR ".uno:VScrollbar"
+#define CMD_SID_ATTR_PARA_WIDOWS ".uno:Widow"
+#define CMD_SID_3D_WIN ".uno:Window3D"
+#define CMD_SID_ATTR_CHAR_WORDLINEMODE ".uno:WordMode"
+#define CMD_SID_ATTR_LINE_COLOR ".uno:XLineColor"
+#define CMD_SID_ATTR_LINE_STYLE ".uno:XLineStyle"
+#define CMD_SID_ATTR_ZOOM ".uno:Zoom"
+#define CMD_SID_SIZE_REAL ".uno:Zoom100Percent"
+#define CMD_SID_SIZE_OPTIMAL ".uno:ZoomObjects"
+#define CMD_SID_SIZE_ALL ".uno:ZoomOptimal"
+#define CMD_SID_SIZE_PAGE ".uno:ZoomPage"
+#define CMD_SID_SIZE_PAGE_WIDTH ".uno:ZoomPageWidth"
+#define CMD_SID_SIZE_VISAREA ".uno:ZoomVisArea"
+#define CMD_SID_FM_GRABCONTROLFOCUS ".uno:GrabControlFocus"
+#define CMD_SID_FM_CREATE_FIELDCONTROL ".uno:CreateFieldControl"
+#define CMD_SID_INSERT_SELECT ".uno:SelectMode"
+#define CMD_SID_PARA_VERTALIGN ".uno:VerticalParagraphAlignment"
+#define CMD_SID_ATTR_CHAR_RELIEF ".uno:CharacterRelief"
+#define CMD_SID_ATTR_BRUSH_CHAR ".uno:CharacterBackgroundPattern"
+#define CMD_SID_ATTR_CHAR_ROTATED ".uno:CharacterRotation"
+#define CMD_SID_ATTR_CHAR_SCALEWIDTH ".uno:CharacterWidthScalingFactor"
+#define CMD_SID_ATTR_NUMBERFORMAT_VALUE ".uno:NumberFormatValue"
+#define CMD_SID_ATTR_ALIGN_HOR_JUSTIFY ".uno:HorizontalJustification"
+#define CMD_SID_ATTR_ALIGN_VER_JUSTIFY ".uno:VerticalJustification"
+#define CMD_SID_ATTR_ALIGN_INDENT ".uno:AlignmentIndent"
+#define CMD_SID_ATTR_ALIGN_HYPHENATION ".uno:AlignmentHyphenation"
+#define CMD_SID_ATTR_ALIGN_DEGREES ".uno:AlignmentRotation"
+#define CMD_SID_ATTR_ALIGN_LOCKPOS ".uno:AlignmentRotationMode"
+#define CMD_SID_ATTR_ALIGN_MARGIN ".uno:AlignmentMargin"
+#define CMD_SID_ATTR_ALIGN_STACKED ".uno:AlignmentStacked"
+#define CMD_SID_ATTR_PARA_LEFT_TO_RIGHT ".uno:ParaLeftToRight"
+#define CMD_SID_ATTR_PARA_RIGHT_TO_LEFT ".uno:ParaRightToLeft"
+#define CMD_SID_RULER_TEXT_RIGHT_TO_LEFT ".uno:TextRTL"
+#define CMD_SID_OPEN_HYPERLINK ".uno:OpenHyperlinkOnCursor"
+#define CMD_SID_CTLFONT_STATE ".uno:CTLFontState"
+#define CMD_SID_VERTICALTEXT_STATE ".uno:VerticalTextState"
+#define CMD_SID_OPEN_XML_FILTERSETTINGS ".uno:OpenXMLFilterSettings"
+#define CMD_SID_HANGUL_HANJA_CONVERSION ".uno:HangulHanjaConversion"
+#define CMD_SID_CHINESE_CONVERSION ".uno:ChineseConversion"
+#define CMD_SID_SPELL_DIALOG ".uno:SpellDialog"
+#define CMD_SID_RULER_ROWS ".uno:RulerRows"
+#define CMD_SID_RULER_ROWS_VERTICAL ".uno:RulerRowsVertical"
+#define CMD_SID_ATTR_CHAR_FONTLIST ".uno:FontNameList"
+#define CMD_SID_EXTRUSION_TOOGLE ".uno:ExtrusionToggle"
+#define CMD_SID_EXTRUSION_TILT_DOWN ".uno:ExtrusionTiltDown"
+#define CMD_SID_EXTRUSION_TILT_UP ".uno:ExtrusionTiltUp"
+#define CMD_SID_EXTRUSION_TILT_LEFT ".uno:ExtrusionTiltLeft"
+#define CMD_SID_EXTRUSION_TILT_RIGHT ".uno:ExtrusionTiltRight"
+#define CMD_SID_EXTRUSION_DEPTH_FLOATER ".uno:ExtrusionDepthFloater"
+#define CMD_SID_EXTRUSION_DEPTH_DIALOG ".uno:ExtrusionDepthDialog"
+#define CMD_SID_EXTRUSION_DIRECTION_FLOATER ".uno:ExtrusionDirectionFloater"
+#define CMD_SID_EXTRUSION_LIGHTING_FLOATER ".uno:ExtrusionLightingFloater"
+#define CMD_SID_EXTRUSION_SURFACE_FLOATER ".uno:ExtrusionSurfaceFloater"
+#define CMD_SID_EXTRUSION_3D_COLOR ".uno:Extrusion3DColor"
+#define CMD_SID_EXTRUSION_DEPTH ".uno:ExtrusionDepth"
+#define CMD_SID_EXTRUSION_DIRECTION ".uno:ExtrusionDirection"
+#define CMD_SID_EXTRUSION_PROJECTION ".uno:ExtrusionProjection"
+#define CMD_SID_EXTRUSION_LIGHTING_DIRECTION ".uno:ExtrusionLightingDirection"
+#define CMD_SID_EXTRUSION_LIGHTING_INTENSITY ".uno:ExtrusionLightingIntensity"
+#define CMD_SID_EXTRUSION_SURFACE ".uno:ExtrusionSurface"
+#define CMD_SID_FONTWORK_GALLERY_FLOATER ".uno:FontworkGalleryFloater"
+#define CMD_SID_FONTWORK_SHAPE_TYPE ".uno:FontworkShapeType"
+#define CMD_SID_FONTWORK_SAME_LETTER_HEIGHTS ".uno:FontworkSameLetterHeights"
+#define CMD_SID_FONTWORK_ALIGNMENT_FLOATER ".uno:FontworkAlignmentFloater"
+#define CMD_SID_FONTWORK_CHARACTER_SPACING_FLOATER ".uno:FontworkCharacterSpacingFloater"
+#define CMD_SID_FONTWORK_SHAPE ".uno:FontworkShape"
+#define CMD_SID_FONTWORK_ALIGNMENT ".uno:FontworkAlignment"
+#define CMD_SID_FONTWORK_CHARACTER_SPACING ".uno:FontworkCharacterSpacing"
+#define CMD_SID_FONTWORK_CHARACTER_SPACING_DIALOG ".uno:FontworkCharacterSpacingDialog"
+#define CMD_SID_FONTWORK_KERN_CHARACTER_PAIRS ".uno:FontworkKernCharacterPairs"
+#define CMD_SID_GET_COLORTABLE ".uno:GetColorTable"
+#define CMD_SID_SPELLCHECKER_CHANGED ".uno:SpellCheckerChanged"
+#define CMD_SID_ATTR_YEAR2000 ".uno:Year2000"
+#define CMD_SID_INC_INDENT ".uno:IncrementIndent"
+#define CMD_SID_DEC_INDENT ".uno:DecrementIndent"
+#define CMD_SID_TABLE_CELL ".uno:StateTableCell"
+#define CMD_SID_OUTLINE_TO_IMPRESS ".uno:SendOutlineToImpress"
+#define CMD_SID_ATTR_DEFTABSTOP ".uno:DefTabStop"
+#define CMD_SID_ATTR_LANGUAGE ".uno:DocumentLanguage"
+#define CMD_SID_ATTR_CHAR_CJK_LANGUAGE ".uno:DocumentLanguageCJK"
+#define CMD_SID_ATTR_CHAR_CTL_LANGUAGE ".uno:DocumentLanguageCTL"
+#define CMD_SID_OPT_LOCALE_CHANGED ".uno:OptionsLocaleChanged"
+#define CMD_SID_SBA_BRW_INSERT ".uno:SbaBrwInsert"
+#define CMD_SID_DRAWTBX_CS_BASIC ".uno:BasicShapes"
+#define CMD_SID_DRAWTBX_CS_SYMBOL ".uno:SymbolShapes"
+#define CMD_SID_DRAWTBX_CS_ARROW ".uno:ArrowShapes"
+#define CMD_SID_DRAWTBX_CS_FLOWCHART ".uno:FlowChartShapes"
+#define CMD_SID_DRAWTBX_CS_CALLOUT ".uno:CalloutShapes"
+#define CMD_SID_DRAWTBX_CS_STAR ".uno:StarShapes"
+#define CMD_SID_DRAW_CS_ID ".uno:CustomShape"
+#define CMD_SID_DASH_LIST ".uno:DashListState"
+#define CMD_SID_LINEEND_LIST ".uno:LineEndListState"
+#define CMD_SID_COLOR_TABLE ".uno:ColorTableState"
+#define CMD_SID_GRADIENT_LIST ".uno:GradientListState"
+#define CMD_SID_HATCH_LIST ".uno:HatchListState"
+#define CMD_SID_BITMAP_LIST ".uno:BitmapListState"
+#define CMD_SID_ATTR_CHAR_EMPHASISMARK ".uno:EmphasisMark"
+#define CMD_SID_FM_SHOW_DATANAVIGATOR ".uno:ShowDataNavigator"
+#define CMD_SID_FM_DATANAVIGATOR_CONTROL ".uno:FmDataNavigatorController"
+#define CMD_SID_ALIGN_ANY_LEFT ".uno:CommonAlignLeft"
+#define CMD_SID_ALIGN_ANY_HCENTER ".uno:CommonAlignHorizontalCenter"
+#define CMD_SID_ALIGN_ANY_RIGHT ".uno:CommonAlignRight"
+#define CMD_SID_ALIGN_ANY_JUSTIFIED ".uno:CommonAlignJustified"
+#define CMD_SID_ALIGN_ANY_TOP ".uno:CommonAlignTop"
+#define CMD_SID_ALIGN_ANY_VCENTER ".uno:CommonAlignVerticalCenter"
+#define CMD_SID_ALIGN_ANY_BOTTOM ".uno:CommonAlignBottom"
+#define CMD_SID_ALIGN_ANY_HDEFAULT ".uno:CommonAlignHorizontalDefault"
+#define CMD_SID_ALIGN_ANY_VDEFAULT ".uno:CommonAlignVerticalDefault"
+#define CMD_SID_AVMEDIA_TOOLBOX ".uno:AVMediaToolBox"
+#define CMD_SID_BORDER_REDUCED_MODE ".uno:BorderReducedMode"
+#define CMD_SID_COLOR_SETTINGS ".uno:ColorSettings"
+#define CMD_SID_MAIL_EXPORT_FINISHED ".uno:MailExportFinished"
+#define CMD_SID_INSERT_ZWSP ".uno:InsertZWSP"
+#define CMD_SID_INSERT_ZWNBSP ".uno:InsertZWNBSP"
+#define CMD_SID_INSERT_LRM ".uno:InsertLRM"
+#define CMD_SID_INSERT_RLM ".uno:InsertRLM"
+#define CMD_FN_INSERT_SOFT_HYPHEN ".uno:InsertSoftHyphen"
+#define CMD_FN_INSERT_HARDHYPHEN ".uno:InsertHardHyphen"
+#define CMD_FN_INSERT_HARD_SPACE ".uno:InsertNonBreakingSpace"
+#define CMD_SID_BASICIDE_MANAGE_LANG ".uno:ManageLanguage"
+#define CMD_SID_BASICIDE_CURRENT_LANG ".uno:CurrentLanguage"
+#define CMD_SID_TABLE_MERGE_CELLS ".uno:MergeCells"
+#define CMD_SID_TABLE_SPLIT_CELLS ".uno:SplitCell"
+#define CMD_SID_OPTIMIZE_TABLE ".uno:OptimizeTable"
+#define CMD_SID_TABLE_VERT_BOTTOM ".uno:CellVertBottom"
+#define CMD_SID_TABLE_VERT_CENTER ".uno:CellVertCenter"
+#define CMD_SID_TABLE_VERT_NONE ".uno:CellVertTop"
+#define CMD_SID_TABLE_INSERT_ROW ".uno:InsertRows"
+#define CMD_SID_TABLE_INSERT_COL ".uno:InsertColumns"
+#define CMD_SID_TABLE_DELETE_ROW ".uno:DeleteRows"
+#define CMD_SID_TABLE_DELETE_COL ".uno:DeleteColumns"
+#define CMD_SID_TABLE_SELECT_ALL ".uno:SelectTable"
+#define CMD_SID_TABLE_SELECT_COL ".uno:EntireColumn"
+#define CMD_SID_TABLE_SELECT_ROW ".uno:EntireRow"
+#define CMD_SID_FORMAT_TABLE_DLG ".uno:TableDialog"
+#define CMD_SID_TABLE_AUTOSUM ".uno:AutoSum"
+#define CMD_SID_TABLE_SORT_DIALOG ".uno:TableSort"
+#define CMD_SID_OPEN_SMARTTAGMENU ".uno:OpenSmartTagMenuOnCursor"
+#define CMD_SID_ATTR_ZOOMSLIDER ".uno:ZoomSlider"
+#define CMD_SID_FONTNAMELIST ".uno:FontNameStringList"
+#define CMD_SID_LANGUAGE_STATUS ".uno:LanguageStatus"
+#define CMD_SID_CHAR_DLG_FOR_PARAGRAPH ".uno:FontDialogForParagraph"
+#define CMD_SID_GROW_FONT_SIZE ".uno:Grow"
+#define CMD_SID_SHRINK_FONT_SIZE ".uno:Shrink"
+#define CMD_SID_RECHECK_DOCUMENT ".uno:RecheckDocument"
+#define CMD_SID_TABLE_INSERT_COL_DLG ".uno:InsertColumnDialog"
+#define CMD_SID_TABLE_INSERT_ROW_DLG ".uno:InsertRowDialog"
+
+#endif
diff --git a/svx/inc/svx/svxdlg.hxx b/svx/inc/svx/svxdlg.hxx
index 5d9d5077b47d..6778da743c92 100644..100755
--- a/svx/inc/svx/svxdlg.hxx
+++ b/svx/inc/svx/svxdlg.hxx
@@ -52,7 +52,7 @@ namespace linguistic2{
}}}}
class SvxSpellWrapper; //add for SvxSpellCheckDialog
typedef SfxTabPage* (*CreateSvxDistributePage)(Window *pParent, const SfxItemSet &rAttrSet, SvxDistributeHorizontal eHor, SvxDistributeVertical eVer);
-typedef USHORT* (*DialogGetRanges)();
+typedef sal_uInt16* (*DialogGetRanges)();
struct ExchangeData;
class INetURLObject;
@@ -87,8 +87,8 @@ class AbstractFmShowColsDialog : public VclAbstractDialog //add for FmShowColsDi
class AbstractSvxZoomDialog : public VclAbstractDialog //add for SvxZoomDialog
{
public:
- virtual void SetLimits( USHORT nMin, USHORT nMax ) = 0;
- virtual void HideButton( USHORT nBtnId )= 0;
+ virtual void SetLimits( sal_uInt16 nMin, sal_uInt16 nMax ) = 0;
+ virtual void HideButton( sal_uInt16 nBtnId )= 0;
virtual const SfxItemSet* GetOutputItemSet() const = 0 ;
};
@@ -128,7 +128,7 @@ public:
class AbstractGalleryIdDialog :public VclAbstractDialog //add for GalleryIdDialog
{
public:
- virtual ULONG GetId() const =0;
+ virtual sal_uIntPtr GetId() const =0;
};
class AbstractURLDlg :public VclAbstractDialog //add for URLDlg
@@ -144,17 +144,17 @@ public:
class AbstractSvxHlinkDlgMarkWnd :public VclAbstractDialog //add for SvxHlinkDlgMarkWnd
{
public:
- virtual BOOL MoveTo ( Point aNewPos )const = 0;
- virtual BOOL ConnectToDialog( BOOL bDoit = TRUE )const = 0;
+ virtual sal_Bool MoveTo ( Point aNewPos )const = 0;
+ virtual sal_Bool ConnectToDialog( sal_Bool bDoit = sal_True )const = 0;
virtual void RefreshTree ( String aStrURL ) = 0;
virtual void SelectEntry ( String aStrMark ) = 0;
- virtual USHORT SetError( USHORT nError) = 0;
+ virtual sal_uInt16 SetError( sal_uInt16 nError) = 0;
// in class Window
virtual void SetSizePixel( const Size& rNewSize ) = 0;
virtual Size GetSizePixel() const = 0;
- virtual void Hide( USHORT nFlags = 0 ) = 0;
- virtual BOOL IsVisible() const = 0;
- virtual void Invalidate( USHORT nFlags = 0 ) = 0;
+ virtual void Hide( sal_uInt16 nFlags = 0 ) = 0;
+ virtual sal_Bool IsVisible() const = 0;
+ virtual void Invalidate( sal_uInt16 nFlags = 0 ) = 0;
};
class AbstractSvxSearchFormatDialog : public SfxAbstractTabDialog //for SvxSearchFormatDialog
@@ -168,16 +168,16 @@ public:
class AbstractSvxSearchSimilarityDialog :public VclAbstractDialog //add for SvxSearchSimilarityDialog
{
public:
- virtual USHORT GetOther() =0 ;
- virtual USHORT GetShorter() =0 ;
- virtual USHORT GetLonger() =0 ;
- virtual BOOL IsRelaxed() =0 ;
+ virtual sal_uInt16 GetOther() =0 ;
+ virtual sal_uInt16 GetShorter() =0 ;
+ virtual sal_uInt16 GetLonger() =0 ;
+ virtual sal_Bool IsRelaxed() =0 ;
};
class AbstractSvxJSearchOptionsDialog :public VclAbstractDialog //add for SvxJSearchOptionsDialog
{
public:
- virtual INT32 GetTransliterationFlags() const = 0;
+ virtual sal_Int32 GetTransliterationFlags() const = 0;
};
class AbstractFmInputRecordNoDialog :public VclAbstractDialog //add for FmInputRecordNoDialog
@@ -198,9 +198,9 @@ class AbstractSvxNameDialog :public VclAbstractDialog //add for SvxNameDialog
public:
virtual void GetName( String& rName ) = 0;
virtual void SetCheckNameHdl( const Link& rLink, bool bCheckImmediately = false ) = 0;
- virtual void SetEditHelpId(ULONG nHelpId) = 0;
+ virtual void SetEditHelpId(const rtl::OString&) = 0;
//from class Window
- virtual void SetHelpId( ULONG nHelpId ) = 0;
+ virtual void SetHelpId( const rtl::OString& ) = 0;
virtual void SetText( const XubString& rStr ) = 0;
};
@@ -226,7 +226,7 @@ public:
class AbstractSvxMessDialog :public VclAbstractDialog //add for SvxMessDialog
{
public:
- virtual void SetButtonText( USHORT nBtnId, const String& rNewTxt ) = 0;
+ virtual void SetButtonText( sal_uInt16 nBtnId, const String& rNewTxt ) = 0;
};
class AbstractSvxMultiPathDialog :public VclAbstractDialog //add for SvxMultiPathDialog
@@ -246,7 +246,7 @@ public:
//from SvxMultiPathDialog
virtual void SetClassPathMode() = 0;
//From Class Window
- virtual void SetHelpId( ULONG nHelpId ) = 0;
+ virtual void SetHelpId( const rtl::OString& ) = 0;
};
class AbstractSvxHpLinkDlg : public VclAbstractDialog //add for SvxHpLinkDlg
@@ -295,14 +295,14 @@ public:
virtual const SfxItemSet* GetOutputItemSet() const = 0;
virtual void SetPrevHdl( const Link& rLink ) = 0;
virtual void SetNextHdl( const Link& rLink ) = 0;
- virtual void EnableTravel(BOOL bNext, BOOL bPrev) = 0;
+ virtual void EnableTravel(sal_Bool bNext, sal_Bool bPrev) = 0;
virtual String GetNote() = 0;
virtual void SetNote(const String& rTxt) = 0;
virtual void ShowLastAuthor(const String& rAuthor, const String& rDate) = 0;
virtual void DontChangeAuthor() = 0;
virtual void HideAuthor() = 0;
- virtual void SetReadonlyPostIt(BOOL bDisable) = 0;
- virtual BOOL IsOkEnabled() const = 0;
+ virtual void SetReadonlyPostIt(sal_Bool bDisable) = 0;
+ virtual sal_Bool IsOkEnabled() const = 0;
virtual Window * GetWindow() = 0;
};
@@ -349,7 +349,7 @@ public:
virtual AbstractSvxCaptionDialog* CreateCaptionDialog( Window* pParent,
const SdrView* pView,
- USHORT nAnchorTypes = 0 ) = 0; //add for SvxCaptionTabDialog
+ sal_uInt16 nAnchorTypes = 0 ) = 0; //add for SvxCaptionTabDialog
virtual AbstractSvxDistributeDialog* CreateSvxDistributeDialog(Window* pParent,
const SfxItemSet& rAttr,
@@ -388,19 +388,19 @@ public:
sal_uInt32 nResId) = 0;
virtual VclAbstractDialog* CreateSvxSearchAttributeDialog( Window* pParent, //add for SvxSearchAttributeDialog
SearchAttrItemList& rLst,
- const USHORT* pWhRanges)=0;
+ const sal_uInt16* pWhRanges)=0;
virtual AbstractSvxSearchSimilarityDialog * CreateSvxSearchSimilarityDialog( Window* pParent, //add for SvxSearchSimilarityDialog
- BOOL bRelax,
- USHORT nOther,
- USHORT nShorter,
- USHORT nLonger ) = 0;
+ sal_Bool bRelax,
+ sal_uInt16 nOther,
+ sal_uInt16 nShorter,
+ sal_uInt16 nLonger ) = 0;
virtual SfxAbstractTabDialog* CreateSvxBorderBackgroundDlg( Window* pParent, //add for SvxBorderBackgroundDlg
const SfxItemSet& rCoreSet,
- BOOL bEnableSelector = FALSE) = 0;
+ sal_Bool bEnableSelector = sal_False) = 0;
virtual AbstractSvxTransformTabDialog* CreateSvxTransformTabDialog( Window* pParent, //add for SvxTransformTabDialog
const SfxItemSet* pAttr,
const SdrView* pView,
- USHORT nAnchorTypes = 0) = 0;
+ sal_uInt16 nAnchorTypes = 0) = 0;
virtual SfxAbstractTabDialog* CreateSchTransformTabDialog( Window* pParent, //add for SchTransformTabDialog
const SfxItemSet* pAttr,
const SdrView* pSdrView,
@@ -409,7 +409,7 @@ public:
)=0;
virtual AbstractSvxJSearchOptionsDialog * CreateSvxJSearchOptionsDialog( Window* pParent,
const SfxItemSet& rOptionsSet,
- INT32 nInitialFlags )=0;
+ sal_Int32 nInitialFlags )=0;
virtual AbstractFmInputRecordNoDialog * CreateFmInputRecordNoDialog( Window* pParent ) = 0;
virtual AbstractSvxNewDictionaryDialog* CreateSvxNewDictionaryDialog( Window* pParent,
::com::sun::star::uno::Reference< ::com::sun::star::linguistic2::XSpellChecker1 > &xSpl,
@@ -429,8 +429,8 @@ public:
const String& rText, const String& rDesc,
Image* pImg = NULL ) = 0; //add for SvxMessDialog
- virtual AbstractSvxMultiPathDialog * CreateSvxMultiPathDialog( Window* pParent, BOOL bEmptyAllowed = FALSE ) = 0 ; //add for SvxMultiPathDialog
- virtual AbstractSvxMultiFileDialog * CreateSvxMultiFileDialog( Window* pParent, BOOL bEmptyAllowed = FALSE ) = 0 ; //add for SvxMultiFileDialog
+ virtual AbstractSvxMultiPathDialog * CreateSvxMultiPathDialog( Window* pParent, sal_Bool bEmptyAllowed = sal_False ) = 0 ; //add for SvxMultiPathDialog
+ virtual AbstractSvxMultiFileDialog * CreateSvxMultiFileDialog( Window* pParent, sal_Bool bEmptyAllowed = sal_False ) = 0 ; //add for SvxMultiFileDialog
virtual AbstractSvxHpLinkDlg * CreateSvxHpLinkDlg (Window* pParent, //add for SvxMultiFileDialog
SfxBindings* pBindings,
sal_uInt32 nResId)=0;
@@ -444,14 +444,14 @@ public:
RECT_POINT eLightSource, sal_uInt32 nResId )=0;
virtual AbstractGraphicFilterDialog * CreateGraphicFilterPosterSepia (Window* pParent, //add for GraphicFilterPoster & GraphicFilterSepia
const Graphic& rGraphic,
- USHORT nCount,
+ sal_uInt16 nCount,
sal_uInt32 nResId)=0;
virtual AbstractGraphicFilterDialog * CreateGraphicFilterSolarize (Window* pParent, //add for GraphicFilterSolarize
const Graphic& rGraphic,
- BYTE nGreyThreshold, BOOL bInvert, sal_uInt32 nResId)=0;
+ sal_uInt8 nGreyThreshold, sal_Bool bInvert, sal_uInt32 nResId)=0;
virtual AbstractGraphicFilterDialog * CreateGraphicFilterMosaic (Window* pParent, //add for GraphicFilterMosaic
const Graphic& rGraphic,
- USHORT nTileWidth, USHORT nTileHeight, BOOL bEnhanceEdges, sal_uInt32 nResId)=0;
+ sal_uInt16 nTileWidth, sal_uInt16 nTileHeight, sal_Bool bEnhanceEdges, sal_uInt32 nResId)=0;
virtual AbstractSvxAreaTabDialog* CreateSvxAreaTabDialog( Window* pParent,//add for SvxAreaTabDialog
const SfxItemSet* pAttr,
SdrModel* pModel,
@@ -459,7 +459,7 @@ public:
virtual SfxAbstractTabDialog* CreateSvxLineTabDialog( Window* pParent, const SfxItemSet* pAttr, //add forSvxLineTabDialog
SdrModel* pModel,
const SdrObject* pObj = NULL,
- BOOL bHasObj = TRUE )=0;
+ sal_Bool bHasObj = sal_True )=0;
virtual VclAbstractDialog* CreateSfxDialog( Window* pParent, const SfxBindings& rBindings, sal_uInt32 nResId ) = 0;
virtual SfxAbstractDialog* CreateSfxDialog( Window* pParent, //add for SvxMeasureDialog & SvxConnectionDialog
const SfxItemSet& rAttr,
@@ -473,16 +473,16 @@ public:
)=0;
virtual AbstractSvxPostItDialog* CreateSvxPostItDialog( Window* pParent, //add for SvxPostItDialog
const SfxItemSet& rCoreSet,
- BOOL bPrevNext = FALSE, BOOL bRedline = FALSE )=0;
+ sal_Bool bPrevNext = sal_False, sal_Bool bRedline = sal_False )=0;
virtual VclAbstractDialog* CreateSvxScriptOrgDialog( Window* pParent, const String& rLanguage ) = 0;
virtual CreateSvxDistributePage GetSvxDistributePageCreatorFunc() = 0; // add for SvxDistributePage
- virtual DialogGetRanges GetDialogGetRangesFunc( USHORT nId ) = 0; //add for SvxPostItDialog
+ virtual DialogGetRanges GetDialogGetRangesFunc( sal_uInt16 nId ) = 0; //add for SvxPostItDialog
virtual AbstractScriptSelectorDialog*
CreateScriptSelectorDialog(
Window* pParent,
- BOOL bShowSlots,
+ sal_Bool bShowSlots,
const ::com::sun::star::uno::Reference< ::com::sun::star::frame::XFrame >& _rxFrame
) = 0;
@@ -503,7 +503,7 @@ public:
virtual SvxAbstractNewTableDialog* CreateSvxNewTableDialog( Window* pParent ) = 0;
- virtual SvxAbstractInsRowColDlg* CreateSvxInsRowColDlg( Window* pParent, bool bCol, ULONG nHelpId ) = 0;
+ virtual SvxAbstractInsRowColDlg* CreateSvxInsRowColDlg( Window* pParent, bool bCol, const rtl::OString& sHelpId ) = 0;
};
#endif
diff --git a/svx/inc/svx/svxdllapi.h b/svx/inc/svx/svxdllapi.h
index cd93cc428791..cd93cc428791 100644..100755
--- a/svx/inc/svx/svxdllapi.h
+++ b/svx/inc/svx/svxdllapi.h
diff --git a/svx/inc/svxerr.hxx b/svx/inc/svx/svxerr.hxx
index e1a77503cf41..e1a77503cf41 100644..100755
--- a/svx/inc/svxerr.hxx
+++ b/svx/inc/svx/svxerr.hxx
diff --git a/svx/inc/svxgrahicitem.hxx b/svx/inc/svx/svxgrahicitem.hxx
index bd16e7b98197..a76f8b1cc3e1 100644..100755
--- a/svx/inc/svxgrahicitem.hxx
+++ b/svx/inc/svx/svxgrahicitem.hxx
@@ -41,7 +41,7 @@ class SVX_DLLPUBLIC SvxGraphicItem: public SfxPoolItem
public:
TYPEINFO();
SvxGraphicItem();
- SvxGraphicItem( USHORT nWhich ,const Graphic& rGraphic);
+ SvxGraphicItem( sal_uInt16 nWhich ,const Graphic& rGraphic);
SvxGraphicItem( const SvxGraphicItem& );
diff --git a/svx/inc/svx/svxitems.hrc b/svx/inc/svx/svxitems.hrc
index 4a526b9738e4..4a526b9738e4 100644..100755
--- a/svx/inc/svx/svxitems.hrc
+++ b/svx/inc/svx/svxitems.hrc
diff --git a/svx/inc/swframeexample.hxx b/svx/inc/svx/swframeexample.hxx
index 0ed9c8cdb64e..d1ffe7fd67dc 100644..100755
--- a/svx/inc/swframeexample.hxx
+++ b/svx/inc/svx/swframeexample.hxx
@@ -66,7 +66,7 @@ class SVX_DLLPUBLIC SvxSwFrameExample : public Window
short nWrap;
short nAnchor;
- BOOL bTrans;
+ sal_Bool bTrans;
Point aRelPos;
@@ -84,7 +84,7 @@ public:
SvxSwFrameExample(Window* pParent, const ResId& rResID);
~SvxSwFrameExample();
- inline void SetWrap(USHORT nW) { nWrap = nW; }
+ inline void SetWrap(sal_uInt16 nW) { nWrap = nW; }
inline void SetHAlign(short nH) { nHAlign = nH; }
inline void SetHoriRel(short nR) { nHRel = nR; }
@@ -92,7 +92,7 @@ public:
inline void SetVAlign(short nV) { nVAlign = nV; }
inline void SetVertRel(short nR) { nVRel = nR; }
- inline void SetTransparent(BOOL bT) { bTrans = bT; }
+ inline void SetTransparent(sal_Bool bT) { bTrans = bT; }
inline void SetAnchor(short nA) { nAnchor = nA; }
void SetRelPos(const Point& rP);
diff --git a/svx/inc/swframeposstrings.hxx b/svx/inc/svx/swframeposstrings.hxx
index 7271240f4a68..7271240f4a68 100644..100755
--- a/svx/inc/swframeposstrings.hxx
+++ b/svx/inc/svx/swframeposstrings.hxx
diff --git a/svx/inc/swframevalidation.hxx b/svx/inc/svx/swframevalidation.hxx
index e13e46ca9c53..e13e46ca9c53 100644..100755
--- a/svx/inc/swframevalidation.hxx
+++ b/svx/inc/svx/swframevalidation.hxx
diff --git a/svx/inc/svx/sxallitm.hxx b/svx/inc/svx/sxallitm.hxx
index 1a49e75aa468..1a49e75aa468 100644..100755
--- a/svx/inc/svx/sxallitm.hxx
+++ b/svx/inc/svx/sxallitm.hxx
diff --git a/svx/inc/svx/sxcaitm.hxx b/svx/inc/svx/sxcaitm.hxx
index 0f0a1981311d..5f3c730a66e2 100644..100755
--- a/svx/inc/svx/sxcaitm.hxx
+++ b/svx/inc/svx/sxcaitm.hxx
@@ -35,12 +35,12 @@
//------------------------------------
// class SdrCaptionFixedAngleItem
-// TRUE=Winkel durch SdrCaptionAngleItem vorgegeben
-// FALSE=Freier Winkel
+// sal_True=Winkel durch SdrCaptionAngleItem vorgegeben
+// sal_False=Freier Winkel
//------------------------------------
class SdrCaptionFixedAngleItem: public SdrOnOffItem {
public:
- SdrCaptionFixedAngleItem(BOOL bFix=TRUE): SdrOnOffItem(SDRATTR_CAPTIONFIXEDANGLE,bFix) {}
+ SdrCaptionFixedAngleItem(sal_Bool bFix=sal_True): SdrOnOffItem(SDRATTR_CAPTIONFIXEDANGLE,bFix) {}
SdrCaptionFixedAngleItem(SvStream& rIn) : SdrOnOffItem(SDRATTR_CAPTIONFIXEDANGLE,rIn) {}
};
diff --git a/svx/inc/svx/sxcecitm.hxx b/svx/inc/svx/sxcecitm.hxx
index fcc6c88c4a8a..870b700e3727 100644..100755
--- a/svx/inc/svx/sxcecitm.hxx
+++ b/svx/inc/svx/sxcecitm.hxx
@@ -42,26 +42,26 @@ enum SdrCaptionEscDir {SDRCAPT_ESCHORIZONTAL,SDRCAPT_ESCVERTICAL,SDRCAPT_ESCBEST
class SVX_DLLPUBLIC SdrCaptionEscDirItem: public SfxEnumItem {
public:
TYPEINFO();
- SdrCaptionEscDirItem(SdrCaptionEscDir eDir=SDRCAPT_ESCHORIZONTAL): SfxEnumItem(SDRATTR_CAPTIONESCDIR,sal::static_int_cast< USHORT >(eDir)) {}
+ SdrCaptionEscDirItem(SdrCaptionEscDir eDir=SDRCAPT_ESCHORIZONTAL): SfxEnumItem(SDRATTR_CAPTIONESCDIR,sal::static_int_cast< sal_uInt16 >(eDir)) {}
SdrCaptionEscDirItem(SvStream& rIn) : SfxEnumItem(SDRATTR_CAPTIONESCDIR,rIn) {}
virtual SfxPoolItem* Clone(SfxItemPool* pPool=NULL) const;
- virtual SfxPoolItem* Create(SvStream& rIn, USHORT nVer) const;
- virtual USHORT GetValueCount() const; // { return 3; }
+ virtual SfxPoolItem* Create(SvStream& rIn, sal_uInt16 nVer) const;
+ virtual sal_uInt16 GetValueCount() const; // { return 3; }
SdrCaptionEscDir GetValue() const { return (SdrCaptionEscDir)SfxEnumItem::GetValue(); }
- virtual String GetValueTextByPos(USHORT nPos) const;
+ virtual String GetValueTextByPos(sal_uInt16 nPos) const;
virtual SfxItemPresentation GetPresentation(SfxItemPresentation ePres, SfxMapUnit eCoreMetric, SfxMapUnit ePresMetric, String& rText, const IntlWrapper * = 0) const;
};
//------------------------------------
// class SdrCaptionEscIsRelItem
-// TRUE=Linienaustrittsposition relativ
-// FALSE=Linienaustrittsposition absolut
+// sal_True=Linienaustrittsposition relativ
+// sal_False=Linienaustrittsposition absolut
//------------------------------------
class SdrCaptionEscIsRelItem: public SdrYesNoItem {
public:
- SdrCaptionEscIsRelItem(BOOL bRel=TRUE): SdrYesNoItem(SDRATTR_CAPTIONESCISREL,bRel) {}
+ SdrCaptionEscIsRelItem(sal_Bool bRel=sal_True): SdrYesNoItem(SDRATTR_CAPTIONESCISREL,bRel) {}
SdrCaptionEscIsRelItem(SvStream& rIn) : SdrYesNoItem(SDRATTR_CAPTIONESCISREL,rIn) {}
};
diff --git a/svx/inc/svx/sxcgitm.hxx b/svx/inc/svx/sxcgitm.hxx
index 66499c77d7bb..66499c77d7bb 100644..100755
--- a/svx/inc/svx/sxcgitm.hxx
+++ b/svx/inc/svx/sxcgitm.hxx
diff --git a/svx/inc/svx/sxciaitm.hxx b/svx/inc/svx/sxciaitm.hxx
index c3081ef48250..c3081ef48250 100644..100755
--- a/svx/inc/svx/sxciaitm.hxx
+++ b/svx/inc/svx/sxciaitm.hxx
diff --git a/svx/inc/svx/sxcikitm.hxx b/svx/inc/svx/sxcikitm.hxx
index 4ea48b213d7b..1d7ab20db22d 100644..100755
--- a/svx/inc/svx/sxcikitm.hxx
+++ b/svx/inc/svx/sxcikitm.hxx
@@ -39,17 +39,17 @@ enum SdrCircKind {SDRCIRC_FULL,
class SdrCircKindItem: public SfxEnumItem {
public:
TYPEINFO();
- SdrCircKindItem(SdrCircKind eKind=SDRCIRC_FULL): SfxEnumItem(SDRATTR_CIRCKIND,sal::static_int_cast< USHORT >(eKind)) {}
+ SdrCircKindItem(SdrCircKind eKind=SDRCIRC_FULL): SfxEnumItem(SDRATTR_CIRCKIND,sal::static_int_cast< sal_uInt16 >(eKind)) {}
SdrCircKindItem(SvStream& rIn) : SfxEnumItem(SDRATTR_CIRCKIND,rIn) {}
virtual SfxPoolItem* Clone(SfxItemPool* pPool=NULL) const;
- virtual SfxPoolItem* Create(SvStream& rIn, USHORT nVer) const;
- virtual USHORT GetValueCount() const; // { return 4; }
+ virtual SfxPoolItem* Create(SvStream& rIn, sal_uInt16 nVer) const;
+ virtual sal_uInt16 GetValueCount() const; // { return 4; }
SdrCircKind GetValue() const { return (SdrCircKind)SfxEnumItem::GetValue(); }
- virtual bool QueryValue( com::sun::star::uno::Any& rVal, BYTE nMemberId = 0 ) const;
- virtual bool PutValue( const com::sun::star::uno::Any& rVal, BYTE nMemberId = 0 );
+ virtual bool QueryValue( com::sun::star::uno::Any& rVal, sal_uInt8 nMemberId = 0 ) const;
+ virtual bool PutValue( const com::sun::star::uno::Any& rVal, sal_uInt8 nMemberId = 0 );
- virtual String GetValueTextByPos(USHORT nPos) const;
+ virtual String GetValueTextByPos(sal_uInt16 nPos) const;
virtual SfxItemPresentation GetPresentation(SfxItemPresentation ePres, SfxMapUnit eCoreMetric, SfxMapUnit ePresMetric, String& rText, const IntlWrapper * = 0) const;
};
diff --git a/svx/inc/svx/sxcllitm.hxx b/svx/inc/svx/sxcllitm.hxx
index 70200bb58d6c..61a1ffc29173 100644..100755
--- a/svx/inc/svx/sxcllitm.hxx
+++ b/svx/inc/svx/sxcllitm.hxx
@@ -52,7 +52,7 @@ public:
//------------------------------------
class SdrCaptionFitLineLenItem: public SdrYesNoItem {
public:
- SdrCaptionFitLineLenItem(BOOL bBestFit=TRUE): SdrYesNoItem(SDRATTR_CAPTIONFITLINELEN,bBestFit) {}
+ SdrCaptionFitLineLenItem(sal_Bool bBestFit=sal_True): SdrYesNoItem(SDRATTR_CAPTIONFITLINELEN,bBestFit) {}
SdrCaptionFitLineLenItem(SvStream& rIn) : SdrYesNoItem(SDRATTR_CAPTIONFITLINELEN,rIn) {}
};
diff --git a/svx/inc/svx/sxctitm.hxx b/svx/inc/svx/sxctitm.hxx
index 57100edb02be..ae59c320a2fb 100644..100755
--- a/svx/inc/svx/sxctitm.hxx
+++ b/svx/inc/svx/sxctitm.hxx
@@ -40,13 +40,13 @@ enum SdrCaptionType {SDRCAPT_TYPE1,SDRCAPT_TYPE2,SDRCAPT_TYPE3,SDRCAPT_TYPE4};
class SVX_DLLPUBLIC SdrCaptionTypeItem: public SfxEnumItem {
public:
TYPEINFO();
- SdrCaptionTypeItem(SdrCaptionType eStyle=SDRCAPT_TYPE3): SfxEnumItem(SDRATTR_CAPTIONTYPE,sal::static_int_cast< USHORT >(eStyle)) {}
+ SdrCaptionTypeItem(SdrCaptionType eStyle=SDRCAPT_TYPE3): SfxEnumItem(SDRATTR_CAPTIONTYPE,sal::static_int_cast< sal_uInt16 >(eStyle)) {}
SdrCaptionTypeItem(SvStream& rIn) : SfxEnumItem(SDRATTR_CAPTIONTYPE,rIn) {}
virtual SfxPoolItem* Clone(SfxItemPool* pPool=NULL) const;
- virtual SfxPoolItem* Create(SvStream& rIn, USHORT nVer) const;
- virtual USHORT GetValueCount() const; // { return 4; }
+ virtual SfxPoolItem* Create(SvStream& rIn, sal_uInt16 nVer) const;
+ virtual sal_uInt16 GetValueCount() const; // { return 4; }
SdrCaptionType GetValue() const { return (SdrCaptionType)SfxEnumItem::GetValue(); }
- virtual String GetValueTextByPos(USHORT nPos) const;
+ virtual String GetValueTextByPos(sal_uInt16 nPos) const;
virtual SfxItemPresentation GetPresentation(SfxItemPresentation ePres, SfxMapUnit eCoreMetric, SfxMapUnit ePresMetric, String& rText, const IntlWrapper * = 0) const;
};
diff --git a/svx/inc/svx/sxekitm.hxx b/svx/inc/svx/sxekitm.hxx
index 47bd11e8b963..c570f628d333 100644..100755
--- a/svx/inc/svx/sxekitm.hxx
+++ b/svx/inc/svx/sxekitm.hxx
@@ -44,15 +44,15 @@ enum SdrEdgeKind {SDREDGE_ORTHOLINES,
class SVX_DLLPUBLIC SdrEdgeKindItem: public SfxEnumItem {
public:
TYPEINFO();
- SdrEdgeKindItem(SdrEdgeKind eStyle=SDREDGE_ORTHOLINES): SfxEnumItem(SDRATTR_EDGEKIND,sal::static_int_cast< USHORT >(eStyle)) {}
+ SdrEdgeKindItem(SdrEdgeKind eStyle=SDREDGE_ORTHOLINES): SfxEnumItem(SDRATTR_EDGEKIND,sal::static_int_cast< sal_uInt16 >(eStyle)) {}
SdrEdgeKindItem(SvStream& rIn) : SfxEnumItem(SDRATTR_EDGEKIND,rIn) {}
virtual SfxPoolItem* Clone(SfxItemPool* pPool=NULL) const;
- virtual SfxPoolItem* Create(SvStream& rIn, USHORT nVer) const;
- virtual USHORT GetValueCount() const; // { return 5; }
+ virtual SfxPoolItem* Create(SvStream& rIn, sal_uInt16 nVer) const;
+ virtual sal_uInt16 GetValueCount() const; // { return 5; }
SdrEdgeKind GetValue() const { return (SdrEdgeKind)SfxEnumItem::GetValue(); }
- virtual bool QueryValue( com::sun::star::uno::Any& rVal, BYTE nMemberId = 0 ) const;
- virtual bool PutValue( const com::sun::star::uno::Any& rVal, BYTE nMemberId = 0 );
- virtual String GetValueTextByPos(USHORT nPos) const;
+ virtual bool QueryValue( com::sun::star::uno::Any& rVal, sal_uInt8 nMemberId = 0 ) const;
+ virtual bool PutValue( const com::sun::star::uno::Any& rVal, sal_uInt8 nMemberId = 0 );
+ virtual String GetValueTextByPos(sal_uInt16 nPos) const;
virtual SfxItemPresentation GetPresentation(SfxItemPresentation ePres, SfxMapUnit eCoreMetric, SfxMapUnit ePresMetric, String& rText, const IntlWrapper * = 0) const;
};
diff --git a/svx/inc/svx/sxelditm.hxx b/svx/inc/svx/sxelditm.hxx
index 9747a76f40db..ff8e7bafac63 100644..100755
--- a/svx/inc/svx/sxelditm.hxx
+++ b/svx/inc/svx/sxelditm.hxx
@@ -34,7 +34,7 @@
class SdrEdgeLineDeltaAnzItem: public SfxUInt16Item {
public:
- SdrEdgeLineDeltaAnzItem(UINT16 nVal=0): SfxUInt16Item(SDRATTR_EDGELINEDELTAANZ,nVal) {}
+ SdrEdgeLineDeltaAnzItem(sal_uInt16 nVal=0): SfxUInt16Item(SDRATTR_EDGELINEDELTAANZ,nVal) {}
SdrEdgeLineDeltaAnzItem(SvStream& rIn): SfxUInt16Item(SDRATTR_EDGELINEDELTAANZ,rIn) {}
};
@@ -42,24 +42,24 @@ class SVX_DLLPUBLIC SdrEdgeLine1DeltaItem: public SdrMetricItem {
public:
SdrEdgeLine1DeltaItem(long nVal=0): SdrMetricItem(SDRATTR_EDGELINE1DELTA,nVal) {}
SdrEdgeLine1DeltaItem(SvStream& rIn): SdrMetricItem(SDRATTR_EDGELINE1DELTA,rIn) {}
- virtual bool QueryValue( com::sun::star::uno::Any& rVal, BYTE nMemberId = 0 ) const;
- virtual bool PutValue( const com::sun::star::uno::Any& rVal, BYTE nMemberId = 0 );
+ virtual bool QueryValue( com::sun::star::uno::Any& rVal, sal_uInt8 nMemberId = 0 ) const;
+ virtual bool PutValue( const com::sun::star::uno::Any& rVal, sal_uInt8 nMemberId = 0 );
};
class SVX_DLLPUBLIC SdrEdgeLine2DeltaItem: public SdrMetricItem {
public:
SdrEdgeLine2DeltaItem(long nVal=0): SdrMetricItem(SDRATTR_EDGELINE2DELTA,nVal) {}
SdrEdgeLine2DeltaItem(SvStream& rIn): SdrMetricItem(SDRATTR_EDGELINE2DELTA,rIn) {}
- virtual bool QueryValue( com::sun::star::uno::Any& rVal, BYTE nMemberId = 0 ) const;
- virtual bool PutValue( const com::sun::star::uno::Any& rVal, BYTE nMemberId = 0 );
+ virtual bool QueryValue( com::sun::star::uno::Any& rVal, sal_uInt8 nMemberId = 0 ) const;
+ virtual bool PutValue( const com::sun::star::uno::Any& rVal, sal_uInt8 nMemberId = 0 );
};
class SVX_DLLPUBLIC SdrEdgeLine3DeltaItem: public SdrMetricItem {
public:
SdrEdgeLine3DeltaItem(long nVal=0): SdrMetricItem(SDRATTR_EDGELINE3DELTA,nVal) {}
SdrEdgeLine3DeltaItem(SvStream& rIn): SdrMetricItem(SDRATTR_EDGELINE3DELTA,rIn) {}
- virtual bool QueryValue( com::sun::star::uno::Any& rVal, BYTE nMemberId = 0 ) const;
- virtual bool PutValue( const com::sun::star::uno::Any& rVal, BYTE nMemberId = 0 );
+ virtual bool QueryValue( com::sun::star::uno::Any& rVal, sal_uInt8 nMemberId = 0 ) const;
+ virtual bool PutValue( const com::sun::star::uno::Any& rVal, sal_uInt8 nMemberId = 0 );
};
#endif
diff --git a/svx/inc/svx/sxenditm.hxx b/svx/inc/svx/sxenditm.hxx
index 3df6a3440dbe..faff5a491605 100644..100755
--- a/svx/inc/svx/sxenditm.hxx
+++ b/svx/inc/svx/sxenditm.hxx
@@ -36,32 +36,32 @@ class SVX_DLLPUBLIC SdrEdgeNode1HorzDistItem: public SdrMetricItem {
public:
SdrEdgeNode1HorzDistItem(long nVal=0): SdrMetricItem(SDRATTR_EDGENODE1HORZDIST,nVal) {}
SdrEdgeNode1HorzDistItem(SvStream& rIn): SdrMetricItem(SDRATTR_EDGENODE1HORZDIST,rIn) {}
- virtual bool QueryValue( com::sun::star::uno::Any& rVal, BYTE nMemberId = 0 ) const;
- virtual bool PutValue( const com::sun::star::uno::Any& rVal, BYTE nMemberId = 0 );
+ virtual bool QueryValue( com::sun::star::uno::Any& rVal, sal_uInt8 nMemberId = 0 ) const;
+ virtual bool PutValue( const com::sun::star::uno::Any& rVal, sal_uInt8 nMemberId = 0 );
};
class SVX_DLLPUBLIC SdrEdgeNode1VertDistItem: public SdrMetricItem {
public:
SdrEdgeNode1VertDistItem(long nVal=0): SdrMetricItem(SDRATTR_EDGENODE1VERTDIST,nVal) {}
SdrEdgeNode1VertDistItem(SvStream& rIn): SdrMetricItem(SDRATTR_EDGENODE1VERTDIST,rIn) {}
- virtual bool QueryValue( com::sun::star::uno::Any& rVal, BYTE nMemberId = 0 ) const;
- virtual bool PutValue( const com::sun::star::uno::Any& rVal, BYTE nMemberId = 0 );
+ virtual bool QueryValue( com::sun::star::uno::Any& rVal, sal_uInt8 nMemberId = 0 ) const;
+ virtual bool PutValue( const com::sun::star::uno::Any& rVal, sal_uInt8 nMemberId = 0 );
};
class SVX_DLLPUBLIC SdrEdgeNode2HorzDistItem: public SdrMetricItem {
public:
SdrEdgeNode2HorzDistItem(long nVal=0): SdrMetricItem(SDRATTR_EDGENODE2HORZDIST,nVal) {}
SdrEdgeNode2HorzDistItem(SvStream& rIn): SdrMetricItem(SDRATTR_EDGENODE2HORZDIST,rIn) {}
- virtual bool QueryValue( com::sun::star::uno::Any& rVal, BYTE nMemberId = 0 ) const;
- virtual bool PutValue( const com::sun::star::uno::Any& rVal, BYTE nMemberId = 0 );
+ virtual bool QueryValue( com::sun::star::uno::Any& rVal, sal_uInt8 nMemberId = 0 ) const;
+ virtual bool PutValue( const com::sun::star::uno::Any& rVal, sal_uInt8 nMemberId = 0 );
};
class SVX_DLLPUBLIC SdrEdgeNode2VertDistItem: public SdrMetricItem {
public:
SdrEdgeNode2VertDistItem(long nVal=0): SdrMetricItem(SDRATTR_EDGENODE2VERTDIST,nVal) {}
SdrEdgeNode2VertDistItem(SvStream& rIn): SdrMetricItem(SDRATTR_EDGENODE2VERTDIST,rIn) {}
- virtual bool QueryValue( com::sun::star::uno::Any& rVal, BYTE nMemberId = 0 ) const;
- virtual bool PutValue( const com::sun::star::uno::Any& rVal, BYTE nMemberId = 0 );
+ virtual bool QueryValue( com::sun::star::uno::Any& rVal, sal_uInt8 nMemberId = 0 ) const;
+ virtual bool PutValue( const com::sun::star::uno::Any& rVal, sal_uInt8 nMemberId = 0 );
};
class SdrEdgeNode1GlueDistItem: public SdrMetricItem {
diff --git a/svx/inc/svx/sxfiitm.hxx b/svx/inc/svx/sxfiitm.hxx
index 25191754f275..ff435343ea8a 100644..100755
--- a/svx/inc/svx/sxfiitm.hxx
+++ b/svx/inc/svx/sxfiitm.hxx
@@ -39,13 +39,13 @@ class SdrFractionItem: public SfxPoolItem {
Fraction nValue;
public:
TYPEINFO_VISIBILITY( SVX_DLLPUBLIC );
- SdrFractionItem(USHORT nId=0): SfxPoolItem(nId) {}
- SdrFractionItem(USHORT nId, const Fraction& rVal): SfxPoolItem(nId), nValue(rVal) {}
- SdrFractionItem(USHORT nId, SvStream& rIn);
+ SdrFractionItem(sal_uInt16 nId=0): SfxPoolItem(nId) {}
+ SdrFractionItem(sal_uInt16 nId, const Fraction& rVal): SfxPoolItem(nId), nValue(rVal) {}
+ SdrFractionItem(sal_uInt16 nId, SvStream& rIn);
virtual int operator==(const SfxPoolItem&) const;
virtual SfxItemPresentation GetPresentation(SfxItemPresentation ePresentation, SfxMapUnit eCoreMetric, SfxMapUnit ePresentationMetric, String &rText, const IntlWrapper * = 0) const;
- virtual SfxPoolItem* Create(SvStream&, USHORT nVer) const;
- virtual SvStream& Store(SvStream&, USHORT nItemVers) const;
+ virtual SfxPoolItem* Create(SvStream&, sal_uInt16 nVer) const;
+ virtual SvStream& Store(SvStream&, sal_uInt16 nItemVers) const;
virtual SfxPoolItem* Clone(SfxItemPool *pPool=NULL) const;
const Fraction& GetValue() const { return nValue; }
void SetValue(const Fraction& rVal) { nValue = rVal; }
diff --git a/svx/inc/svx/sxlayitm.hxx b/svx/inc/svx/sxlayitm.hxx
index f2deffe1cd4d..e857c994151a 100644..100755
--- a/svx/inc/svx/sxlayitm.hxx
+++ b/svx/inc/svx/sxlayitm.hxx
@@ -38,7 +38,7 @@
//------------------------------
class SdrLayerIdItem: public SfxUInt16Item {
public:
- SdrLayerIdItem(USHORT nId=0): SfxUInt16Item(SDRATTR_LAYERID,nId) {}
+ SdrLayerIdItem(sal_uInt16 nId=0): SfxUInt16Item(SDRATTR_LAYERID,nId) {}
SdrLayerIdItem(SvStream& rIn): SfxUInt16Item(SDRATTR_LAYERID,rIn) {}
SdrLayerID GetValue() const { return (SdrLayerID)SfxUInt16Item::GetValue(); }
};
diff --git a/svx/inc/svx/sxlogitm.hxx b/svx/inc/svx/sxlogitm.hxx
index 06093afbf6e6..06093afbf6e6 100644..100755
--- a/svx/inc/svx/sxlogitm.hxx
+++ b/svx/inc/svx/sxlogitm.hxx
diff --git a/svx/inc/svx/sxmbritm.hxx b/svx/inc/svx/sxmbritm.hxx
index 8abab824d31d..8abab824d31d 100644..100755
--- a/svx/inc/svx/sxmbritm.hxx
+++ b/svx/inc/svx/sxmbritm.hxx
diff --git a/svx/inc/svx/sxmfsitm.hxx b/svx/inc/svx/sxmfsitm.hxx
index d0cd80a08112..d0cd80a08112 100644..100755
--- a/svx/inc/svx/sxmfsitm.hxx
+++ b/svx/inc/svx/sxmfsitm.hxx
diff --git a/svx/inc/svx/sxmkitm.hxx b/svx/inc/svx/sxmkitm.hxx
index a271cfa21101..b26fde1cbb31 100644..100755
--- a/svx/inc/svx/sxmkitm.hxx
+++ b/svx/inc/svx/sxmkitm.hxx
@@ -39,17 +39,17 @@ enum SdrMeasureKind {SDRMEASURE_STD,SDRMEASURE_RADIUS}; // n.i.
class SdrMeasureKindItem: public SfxEnumItem {
public:
TYPEINFO();
- SdrMeasureKindItem(SdrMeasureKind eKind=SDRMEASURE_STD): SfxEnumItem(SDRATTR_MEASUREKIND,sal::static_int_cast< USHORT >(eKind)) {}
+ SdrMeasureKindItem(SdrMeasureKind eKind=SDRMEASURE_STD): SfxEnumItem(SDRATTR_MEASUREKIND,sal::static_int_cast< sal_uInt16 >(eKind)) {}
SdrMeasureKindItem(SvStream& rIn) : SfxEnumItem(SDRATTR_MEASUREKIND,rIn) {}
virtual SfxPoolItem* Clone(SfxItemPool* pPool=NULL) const;
- virtual SfxPoolItem* Create(SvStream& rIn, USHORT nVer) const;
- virtual USHORT GetValueCount() const; // { return 2; }
+ virtual SfxPoolItem* Create(SvStream& rIn, sal_uInt16 nVer) const;
+ virtual sal_uInt16 GetValueCount() const; // { return 2; }
SdrMeasureKind GetValue() const { return (SdrMeasureKind)SfxEnumItem::GetValue(); }
- virtual bool QueryValue( com::sun::star::uno::Any& rVal, BYTE nMemberId = 0 ) const;
- virtual bool PutValue( const com::sun::star::uno::Any& rVal, BYTE nMemberId = 0 );
+ virtual bool QueryValue( com::sun::star::uno::Any& rVal, sal_uInt8 nMemberId = 0 ) const;
+ virtual bool PutValue( const com::sun::star::uno::Any& rVal, sal_uInt8 nMemberId = 0 );
- virtual String GetValueTextByPos(USHORT nPos) const;
+ virtual String GetValueTextByPos(sal_uInt16 nPos) const;
virtual SfxItemPresentation GetPresentation(SfxItemPresentation ePres, SfxMapUnit eCoreMetric, SfxMapUnit ePresMetric, String& rText, const IntlWrapper * = 0) const;
};
diff --git a/svx/inc/svx/sxmlhitm.hxx b/svx/inc/svx/sxmlhitm.hxx
index f22f529cfeed..f22f529cfeed 100644..100755
--- a/svx/inc/svx/sxmlhitm.hxx
+++ b/svx/inc/svx/sxmlhitm.hxx
diff --git a/svx/inc/svx/sxmoitm.hxx b/svx/inc/svx/sxmoitm.hxx
index c9664b7f080a..c9664b7f080a 100644..100755
--- a/svx/inc/svx/sxmoitm.hxx
+++ b/svx/inc/svx/sxmoitm.hxx
diff --git a/svx/inc/svx/sxmovitm.hxx b/svx/inc/svx/sxmovitm.hxx
index afa96c3aaa17..afa96c3aaa17 100644..100755
--- a/svx/inc/svx/sxmovitm.hxx
+++ b/svx/inc/svx/sxmovitm.hxx
diff --git a/svx/inc/svx/sxmsitm.hxx b/svx/inc/svx/sxmsitm.hxx
index 1530cc285899..1530cc285899 100644..100755
--- a/svx/inc/svx/sxmsitm.hxx
+++ b/svx/inc/svx/sxmsitm.hxx
diff --git a/svx/inc/svx/sxmspitm.hxx b/svx/inc/svx/sxmspitm.hxx
index d0c89d9f40f3..d0c89d9f40f3 100644..100755
--- a/svx/inc/svx/sxmspitm.hxx
+++ b/svx/inc/svx/sxmspitm.hxx
diff --git a/svx/inc/svx/sxmsuitm.hxx b/svx/inc/svx/sxmsuitm.hxx
index ecfbaafe3045..ecfbaafe3045 100644..100755
--- a/svx/inc/svx/sxmsuitm.hxx
+++ b/svx/inc/svx/sxmsuitm.hxx
diff --git a/svx/inc/svx/sxmtaitm.hxx b/svx/inc/svx/sxmtaitm.hxx
index defdb6c468dd..fceeffaa186d 100644..100755
--- a/svx/inc/svx/sxmtaitm.hxx
+++ b/svx/inc/svx/sxmtaitm.hxx
@@ -34,7 +34,7 @@
// Den Text automatisch zurechtdrehen (Automatisches UpsideDown).
// TextUpsideDown bleibt trotzdem weiterhin wirksam und dreht
-// den Text bei TRUE nochmal.
+// den Text bei sal_True nochmal.
class SdrMeasureTextAutoAngleItem: public SdrYesNoItem {
public:
SdrMeasureTextAutoAngleItem(bool bOn=true): SdrYesNoItem(SDRATTR_MEASURETEXTAUTOANGLE,bOn) {}
diff --git a/svx/inc/svx/sxmtfitm.hxx b/svx/inc/svx/sxmtfitm.hxx
index c294e6aa5a60..5949f6be0ed5 100644..100755
--- a/svx/inc/svx/sxmtfitm.hxx
+++ b/svx/inc/svx/sxmtfitm.hxx
@@ -52,7 +52,7 @@ public:
// The decimal places used for the measure value
class SdrMeasureDecimalPlacesItem: public SfxInt16Item {
public:
- SdrMeasureDecimalPlacesItem(INT16 nVal=2): SfxInt16Item(SDRATTR_MEASUREDECIMALPLACES,nVal) {}
+ SdrMeasureDecimalPlacesItem(sal_Int16 nVal=2): SfxInt16Item(SDRATTR_MEASUREDECIMALPLACES,nVal) {}
SdrMeasureDecimalPlacesItem(SvStream& rIn): SfxInt16Item(SDRATTR_MEASUREDECIMALPLACES,rIn) {}
};
diff --git a/svx/inc/svx/sxmtpitm.hxx b/svx/inc/svx/sxmtpitm.hxx
index c7d598e462ca..83b145d780b2 100644..100755
--- a/svx/inc/svx/sxmtpitm.hxx
+++ b/svx/inc/svx/sxmtpitm.hxx
@@ -41,17 +41,17 @@ enum SdrMeasureTextVPos {SDRMEASURE_TEXTVAUTO,SDRMEASURE_ABOVE,SDRMEASURETEXT_BR
class SVX_DLLPUBLIC SdrMeasureTextHPosItem: public SfxEnumItem {
public:
TYPEINFO();
- SdrMeasureTextHPosItem(SdrMeasureTextHPos ePos=SDRMEASURE_TEXTHAUTO): SfxEnumItem(SDRATTR_MEASURETEXTHPOS,sal::static_int_cast< USHORT >(ePos)) {}
+ SdrMeasureTextHPosItem(SdrMeasureTextHPos ePos=SDRMEASURE_TEXTHAUTO): SfxEnumItem(SDRATTR_MEASURETEXTHPOS,sal::static_int_cast< sal_uInt16 >(ePos)) {}
SdrMeasureTextHPosItem(SvStream& rIn) : SfxEnumItem(SDRATTR_MEASURETEXTHPOS,rIn) {}
virtual SfxPoolItem* Clone(SfxItemPool* pPool=NULL) const;
- virtual SfxPoolItem* Create(SvStream& rIn, USHORT nVer) const;
- virtual USHORT GetValueCount() const; // { return 4; }
+ virtual SfxPoolItem* Create(SvStream& rIn, sal_uInt16 nVer) const;
+ virtual sal_uInt16 GetValueCount() const; // { return 4; }
SdrMeasureTextHPos GetValue() const { return (SdrMeasureTextHPos)SfxEnumItem::GetValue(); }
- virtual bool QueryValue( com::sun::star::uno::Any& rVal, BYTE nMemberId = 0 ) const;
- virtual bool PutValue( const com::sun::star::uno::Any& rVal, BYTE nMemberId = 0 );
+ virtual bool QueryValue( com::sun::star::uno::Any& rVal, sal_uInt8 nMemberId = 0 ) const;
+ virtual bool PutValue( const com::sun::star::uno::Any& rVal, sal_uInt8 nMemberId = 0 );
- virtual String GetValueTextByPos(USHORT nPos) const;
+ virtual String GetValueTextByPos(sal_uInt16 nPos) const;
virtual SfxItemPresentation GetPresentation(SfxItemPresentation ePres, SfxMapUnit eCoreMetric, SfxMapUnit ePresMetric, String& rText, const IntlWrapper * = 0) const;
};
@@ -61,17 +61,17 @@ public:
class SVX_DLLPUBLIC SdrMeasureTextVPosItem: public SfxEnumItem {
public:
TYPEINFO();
- SdrMeasureTextVPosItem(SdrMeasureTextVPos ePos=SDRMEASURE_TEXTVAUTO): SfxEnumItem(SDRATTR_MEASURETEXTVPOS,sal::static_int_cast< USHORT >(ePos)) {}
+ SdrMeasureTextVPosItem(SdrMeasureTextVPos ePos=SDRMEASURE_TEXTVAUTO): SfxEnumItem(SDRATTR_MEASURETEXTVPOS,sal::static_int_cast< sal_uInt16 >(ePos)) {}
SdrMeasureTextVPosItem(SvStream& rIn) : SfxEnumItem(SDRATTR_MEASURETEXTVPOS,rIn) {}
virtual SfxPoolItem* Clone(SfxItemPool* pPool=NULL) const;
- virtual SfxPoolItem* Create(SvStream& rIn, USHORT nVer) const;
- virtual USHORT GetValueCount() const; // { return 5; }
+ virtual SfxPoolItem* Create(SvStream& rIn, sal_uInt16 nVer) const;
+ virtual sal_uInt16 GetValueCount() const; // { return 5; }
SdrMeasureTextVPos GetValue() const { return (SdrMeasureTextVPos)SfxEnumItem::GetValue(); }
- virtual bool QueryValue( com::sun::star::uno::Any& rVal, BYTE nMemberId = 0 ) const;
- virtual bool PutValue( const com::sun::star::uno::Any& rVal, BYTE nMemberId = 0 );
+ virtual bool QueryValue( com::sun::star::uno::Any& rVal, sal_uInt8 nMemberId = 0 ) const;
+ virtual bool PutValue( const com::sun::star::uno::Any& rVal, sal_uInt8 nMemberId = 0 );
- virtual String GetValueTextByPos(USHORT nPos) const;
+ virtual String GetValueTextByPos(sal_uInt16 nPos) const;
virtual SfxItemPresentation GetPresentation(SfxItemPresentation ePres, SfxMapUnit eCoreMetric, SfxMapUnit ePresMetric, String& rText, const IntlWrapper * = 0) const;
};
diff --git a/svx/inc/svx/sxmtritm.hxx b/svx/inc/svx/sxmtritm.hxx
index 7a57a09e9d83..7a57a09e9d83 100644..100755
--- a/svx/inc/svx/sxmtritm.hxx
+++ b/svx/inc/svx/sxmtritm.hxx
diff --git a/svx/inc/svx/sxmuitm.hxx b/svx/inc/svx/sxmuitm.hxx
index f259740cab75..5988d6e211fb 100644..100755
--- a/svx/inc/svx/sxmuitm.hxx
+++ b/svx/inc/svx/sxmuitm.hxx
@@ -38,17 +38,17 @@
class SVX_DLLPUBLIC SdrMeasureUnitItem: public SfxEnumItem {
public:
TYPEINFO();
- SdrMeasureUnitItem(FieldUnit eUnit=FUNIT_NONE): SfxEnumItem(SDRATTR_MEASUREUNIT,sal::static_int_cast< USHORT >(eUnit)) {}
+ SdrMeasureUnitItem(FieldUnit eUnit=FUNIT_NONE): SfxEnumItem(SDRATTR_MEASUREUNIT,sal::static_int_cast< sal_uInt16 >(eUnit)) {}
SdrMeasureUnitItem(SvStream& rIn) : SfxEnumItem(SDRATTR_MEASUREUNIT,rIn) {}
virtual SfxPoolItem* Clone(SfxItemPool* pPool=NULL) const;
- virtual SfxPoolItem* Create(SvStream& rIn, USHORT nVer) const;
- virtual USHORT GetValueCount() const; // { return 14; }
+ virtual SfxPoolItem* Create(SvStream& rIn, sal_uInt16 nVer) const;
+ virtual sal_uInt16 GetValueCount() const; // { return 14; }
FieldUnit GetValue() const { return (FieldUnit)SfxEnumItem::GetValue(); }
- virtual bool QueryValue( com::sun::star::uno::Any& rVal, BYTE nMemberId = 0 ) const;
- virtual bool PutValue( const com::sun::star::uno::Any& rVal, BYTE nMemberId = 0 );
+ virtual bool QueryValue( com::sun::star::uno::Any& rVal, sal_uInt8 nMemberId = 0 ) const;
+ virtual bool PutValue( const com::sun::star::uno::Any& rVal, sal_uInt8 nMemberId = 0 );
- virtual String GetValueTextByPos(USHORT nPos) const;
+ virtual String GetValueTextByPos(sal_uInt16 nPos) const;
virtual SfxItemPresentation GetPresentation(SfxItemPresentation ePres, SfxMapUnit eCoreMetric, SfxMapUnit ePresMetric, String& rText, const IntlWrapper * = 0) const;
};
diff --git a/svx/inc/svx/sxoneitm.hxx b/svx/inc/svx/sxoneitm.hxx
index 258533a01ef3..258533a01ef3 100644..100755
--- a/svx/inc/svx/sxoneitm.hxx
+++ b/svx/inc/svx/sxoneitm.hxx
diff --git a/svx/inc/svx/sxonitm.hxx b/svx/inc/svx/sxonitm.hxx
index cfa6e32aae81..cfa6e32aae81 100644..100755
--- a/svx/inc/svx/sxonitm.hxx
+++ b/svx/inc/svx/sxonitm.hxx
diff --git a/svx/inc/svx/sxopitm.hxx b/svx/inc/svx/sxopitm.hxx
index e96d5b86ba0d..e96d5b86ba0d 100644..100755
--- a/svx/inc/svx/sxopitm.hxx
+++ b/svx/inc/svx/sxopitm.hxx
diff --git a/svx/inc/svx/sxraitm.hxx b/svx/inc/svx/sxraitm.hxx
index e2a3c7627b75..e2a3c7627b75 100644..100755
--- a/svx/inc/svx/sxraitm.hxx
+++ b/svx/inc/svx/sxraitm.hxx
diff --git a/svx/inc/svx/sxreaitm.hxx b/svx/inc/svx/sxreaitm.hxx
index 4dad393e36ae..4dad393e36ae 100644..100755
--- a/svx/inc/svx/sxreaitm.hxx
+++ b/svx/inc/svx/sxreaitm.hxx
diff --git a/svx/inc/svx/sxreoitm.hxx b/svx/inc/svx/sxreoitm.hxx
index b02bf0c3973d..b02bf0c3973d 100644..100755
--- a/svx/inc/svx/sxreoitm.hxx
+++ b/svx/inc/svx/sxreoitm.hxx
diff --git a/svx/inc/svx/sxroaitm.hxx b/svx/inc/svx/sxroaitm.hxx
index 17e1fe84e632..17e1fe84e632 100644..100755
--- a/svx/inc/svx/sxroaitm.hxx
+++ b/svx/inc/svx/sxroaitm.hxx
diff --git a/svx/inc/svx/sxrooitm.hxx b/svx/inc/svx/sxrooitm.hxx
index 5e20e8703ce6..5e20e8703ce6 100644..100755
--- a/svx/inc/svx/sxrooitm.hxx
+++ b/svx/inc/svx/sxrooitm.hxx
diff --git a/svx/inc/svx/sxsaitm.hxx b/svx/inc/svx/sxsaitm.hxx
index 2c9c2c531016..2c9c2c531016 100644..100755
--- a/svx/inc/svx/sxsaitm.hxx
+++ b/svx/inc/svx/sxsaitm.hxx
diff --git a/svx/inc/svx/sxsalitm.hxx b/svx/inc/svx/sxsalitm.hxx
index 29866cadc90b..29866cadc90b 100644..100755
--- a/svx/inc/svx/sxsalitm.hxx
+++ b/svx/inc/svx/sxsalitm.hxx
diff --git a/svx/inc/svx/sxsiitm.hxx b/svx/inc/svx/sxsiitm.hxx
index b7a7449d74a9..540edf8f6375 100644..100755
--- a/svx/inc/svx/sxsiitm.hxx
+++ b/svx/inc/svx/sxsiitm.hxx
@@ -33,11 +33,11 @@
class SdrScaleItem: public SdrFractionItem {
public:
TYPEINFO();
- SdrScaleItem(USHORT nId=0): SdrFractionItem(nId,Fraction(1,1)) {}
- SdrScaleItem(USHORT nId, const Fraction& rVal): SdrFractionItem(nId,rVal) {}
- SdrScaleItem(USHORT nId, SvStream& rIn): SdrFractionItem(nId,rIn) {}
+ SdrScaleItem(sal_uInt16 nId=0): SdrFractionItem(nId,Fraction(1,1)) {}
+ SdrScaleItem(sal_uInt16 nId, const Fraction& rVal): SdrFractionItem(nId,rVal) {}
+ SdrScaleItem(sal_uInt16 nId, SvStream& rIn): SdrFractionItem(nId,rIn) {}
virtual SfxItemPresentation GetPresentation(SfxItemPresentation ePresentation, SfxMapUnit eCoreMetric, SfxMapUnit ePresentationMetric, String &rText, const IntlWrapper * = 0) const;
- virtual SfxPoolItem* Create(SvStream&, USHORT nVer) const;
+ virtual SfxPoolItem* Create(SvStream&, sal_uInt16 nVer) const;
virtual SfxPoolItem* Clone(SfxItemPool *pPool=NULL) const;
};
diff --git a/svx/inc/svx/sxsoitm.hxx b/svx/inc/svx/sxsoitm.hxx
index 06290f5300cc..06290f5300cc 100644..100755
--- a/svx/inc/svx/sxsoitm.hxx
+++ b/svx/inc/svx/sxsoitm.hxx
diff --git a/svx/inc/svx/sxtraitm.hxx b/svx/inc/svx/sxtraitm.hxx
index bbab7a3bbf38..bbab7a3bbf38 100644..100755
--- a/svx/inc/svx/sxtraitm.hxx
+++ b/svx/inc/svx/sxtraitm.hxx
diff --git a/svx/inc/svx/tabarea.hxx b/svx/inc/svx/tabarea.hxx
index 829f6069d575..cbbd2c6a60ba 100644..100755
--- a/svx/inc/svx/tabarea.hxx
+++ b/svx/inc/svx/tabarea.hxx
@@ -31,7 +31,7 @@
// include ---------------------------------------------------------------
#include <svtools/valueset.hxx>
-#include <vcl/imagebtn.hxx>
+#include <vcl/button.hxx>
#include <vcl/fixed.hxx>
#include <svx/dlgctrl.hxx>
#include <svx/xsetit.hxx>
@@ -59,7 +59,7 @@ enum PageType
// define ----------------------------------------------------------------
-typedef USHORT ChangeType; // auch in tab_line.hxx (mitpflegen !!!)
+typedef sal_uInt16 ChangeType; // auch in tab_line.hxx (mitpflegen !!!)
#define CT_NONE ( (ChangeType) 0x0000 )
#define CT_MODIFIED ( (ChangeType) 0x0001 )
diff --git a/svx/inc/svx/tabline.hxx b/svx/inc/svx/tabline.hxx
index e5a486758c18..f62be235b5f2 100644..100755
--- a/svx/inc/svx/tabline.hxx
+++ b/svx/inc/svx/tabline.hxx
@@ -30,7 +30,7 @@
// include ---------------------------------------------------------------
-#include <vcl/imagebtn.hxx>
+#include <vcl/button.hxx>
#include <vcl/group.hxx>
#include <svtools/stdctrl.hxx>
#include <svx/svdpage.hxx>
@@ -42,7 +42,7 @@
class SvxBrushItem;
// define ----------------------------------------------------------------
-typedef USHORT ChangeType; // auch in tab_area.hxx (mitpflegen !!!)
+typedef sal_uInt16 ChangeType; // auch in tab_area.hxx (mitpflegen !!!)
#define CT_NONE ( (ChangeType) 0x0000 )
#define CT_MODIFIED ( (ChangeType) 0x0001 )
diff --git a/svx/inc/svx/tbcontrl.hxx b/svx/inc/svx/tbcontrl.hxx
index efcf8ae0f05d..ad465ef70cb7 100644..100755
--- a/svx/inc/svx/tbcontrl.hxx
+++ b/svx/inc/svx/tbcontrl.hxx
@@ -187,12 +187,12 @@ class SVX_DLLPUBLIC SvxStyleToolBoxControl : public SfxToolBoxControl
public:
SFX_DECL_TOOLBOX_CONTROL();
- SvxStyleToolBoxControl( USHORT nSlotId, USHORT nId, ToolBox& rTbx );
+ SvxStyleToolBoxControl( sal_uInt16 nSlotId, sal_uInt16 nId, ToolBox& rTbx );
~SvxStyleToolBoxControl();
virtual Window* CreateItemWindow( Window *pParent );
- virtual void StateChanged( USHORT nSID, SfxItemState eState,
+ virtual void StateChanged( sal_uInt16 nSID, SfxItemState eState,
const SfxPoolItem* pState );
DECL_LINK( VisibilityNotification, void* );
@@ -214,11 +214,11 @@ private:
SfxStyleControllerItem_Impl* pBoundItems [MAX_FAMILIES];
::com::sun::star::uno::Reference< ::com::sun::star::lang::XComponent > m_xBoundItems[MAX_FAMILIES];
SfxTemplateItem* pFamilyState[MAX_FAMILIES];
- USHORT nActFamily; // Id in der ToolBox = Position - 1
- USHORT nActFilter; // FilterIdx
- USHORT nAppFilter; // Filter, den die App gesetzt hat
+ sal_uInt16 nActFamily; // Id in der ToolBox = Position - 1
+ sal_uInt16 nActFilter; // FilterIdx
+ sal_uInt16 nAppFilter; // Filter, den die App gesetzt hat
String aCurSel;
- BOOL bListening;
+ sal_Bool bListening;
Impl* pImpl;
SVX_DLLPRIVATE void Update();
@@ -227,7 +227,7 @@ private:
friend class SfxStyleControllerItem_Impl;
- SVX_DLLPRIVATE void SetFamilyState ( USHORT nIdx, const SfxTemplateItem* pItem );
+ SVX_DLLPRIVATE void SetFamilyState ( sal_uInt16 nIdx, const SfxTemplateItem* pItem );
SVX_DLLPRIVATE SfxStyleFamily GetActFamily ();
};
@@ -240,9 +240,9 @@ class SVX_DLLPUBLIC SvxFontNameToolBoxControl : public SfxToolBoxControl
{
public:
SFX_DECL_TOOLBOX_CONTROL();
- SvxFontNameToolBoxControl( USHORT nSlotId, USHORT nId, ToolBox& rTbx );
+ SvxFontNameToolBoxControl( sal_uInt16 nSlotId, sal_uInt16 nId, ToolBox& rTbx );
- virtual void StateChanged ( USHORT nSID, SfxItemState eState,
+ virtual void StateChanged ( sal_uInt16 nSID, SfxItemState eState,
const SfxPoolItem* pState );
virtual Window* CreateItemWindow ( Window *pParent );
};
@@ -265,7 +265,7 @@ class SVX_DLLPUBLIC SvxFontHeightToolBoxControl : public SfxToolBoxControl
public:
SFX_DECL_TOOLBOX_CONTROL();
- SvxFontHeightToolBoxControl( USHORT nSlotId, USHORT nId, ToolBox& rTbx );
+ SvxFontHeightToolBoxControl( sal_uInt16 nSlotId, sal_uInt16 nId, ToolBox& rTbx );
~SvxFontHeightToolBoxControl();
// new controller API
@@ -291,10 +291,10 @@ class SVX_DLLPUBLIC SvxFontColorToolBoxControl : public SfxToolBoxControl
public:
SFX_DECL_TOOLBOX_CONTROL();
- SvxFontColorToolBoxControl( USHORT nSlotId, USHORT nId, ToolBox& rTbx );
+ SvxFontColorToolBoxControl( sal_uInt16 nSlotId, sal_uInt16 nId, ToolBox& rTbx );
~SvxFontColorToolBoxControl();
- virtual void StateChanged( USHORT nSID, SfxItemState eState,
+ virtual void StateChanged( sal_uInt16 nSID, SfxItemState eState,
const SfxPoolItem* pState );
virtual SfxPopupWindowType GetPopupWindowType() const;
virtual SfxPopupWindow* CreatePopupWindow();
@@ -319,14 +319,14 @@ class SVX_DLLPUBLIC SvxFontColorExtToolBoxControl : public SfxToolBoxControl
public:
SFX_DECL_TOOLBOX_CONTROL();
- SvxFontColorExtToolBoxControl( USHORT nSlotId, USHORT nId, ToolBox& rTbx );
+ SvxFontColorExtToolBoxControl( sal_uInt16 nSlotId, sal_uInt16 nId, ToolBox& rTbx );
~SvxFontColorExtToolBoxControl();
- virtual void StateChanged( USHORT nSID, SfxItemState eState,
+ virtual void StateChanged( sal_uInt16 nSID, SfxItemState eState,
const SfxPoolItem* pState );
virtual SfxPopupWindowType GetPopupWindowType() const;
virtual SfxPopupWindow* CreatePopupWindow();
- virtual void Select( BOOL bMod1 = FALSE );
+ virtual void Select( sal_Bool bMod1 = sal_False );
};
@@ -344,10 +344,10 @@ class SVX_DLLPUBLIC SvxColorToolBoxControl : public SfxToolBoxControl
public:
SFX_DECL_TOOLBOX_CONTROL();
- SvxColorToolBoxControl( USHORT nSlotId, USHORT nId, ToolBox& rTbx );
+ SvxColorToolBoxControl( sal_uInt16 nSlotId, sal_uInt16 nId, ToolBox& rTbx );
~SvxColorToolBoxControl();
- virtual void StateChanged( USHORT nSID, SfxItemState eState,
+ virtual void StateChanged( sal_uInt16 nSID, SfxItemState eState,
const SfxPoolItem* pState );
virtual SfxPopupWindowType GetPopupWindowType() const;
virtual SfxPopupWindow* CreatePopupWindow();
@@ -364,11 +364,11 @@ class SVX_DLLPUBLIC SvxFrameToolBoxControl : public SfxToolBoxControl
{
public:
SFX_DECL_TOOLBOX_CONTROL();
- SvxFrameToolBoxControl( USHORT nSlotId, USHORT nId, ToolBox& rTbx );
+ SvxFrameToolBoxControl( sal_uInt16 nSlotId, sal_uInt16 nId, ToolBox& rTbx );
virtual SfxPopupWindowType GetPopupWindowType() const;
virtual SfxPopupWindow* CreatePopupWindow();
- virtual void StateChanged( USHORT nSID, SfxItemState eState,
+ virtual void StateChanged( sal_uInt16 nSID, SfxItemState eState,
const SfxPoolItem* pState );
};
@@ -384,11 +384,11 @@ class SVX_DLLPUBLIC SvxFrameLineStyleToolBoxControl : public SfxToolBoxControl
{
public:
SFX_DECL_TOOLBOX_CONTROL();
- SvxFrameLineStyleToolBoxControl( USHORT nSlotId, USHORT nId, ToolBox& rTbx );
+ SvxFrameLineStyleToolBoxControl( sal_uInt16 nSlotId, sal_uInt16 nId, ToolBox& rTbx );
virtual SfxPopupWindowType GetPopupWindowType() const;
virtual SfxPopupWindow* CreatePopupWindow();
- virtual void StateChanged( USHORT nSID, SfxItemState eState,
+ virtual void StateChanged( sal_uInt16 nSID, SfxItemState eState,
const SfxPoolItem* pState );
};
@@ -406,12 +406,12 @@ class SVX_DLLPUBLIC SvxFrameLineColorToolBoxControl : public SfxToolBoxControl
public:
SFX_DECL_TOOLBOX_CONTROL();
- SvxFrameLineColorToolBoxControl( USHORT nSlotId,
- USHORT nId,
+ SvxFrameLineColorToolBoxControl( sal_uInt16 nSlotId,
+ sal_uInt16 nId,
ToolBox& rTbx );
~SvxFrameLineColorToolBoxControl();
- virtual void StateChanged( USHORT nSID, SfxItemState eState,
+ virtual void StateChanged( sal_uInt16 nSID, SfxItemState eState,
const SfxPoolItem* pState );
virtual SfxPopupWindowType GetPopupWindowType() const;
virtual SfxPopupWindow* CreatePopupWindow();
@@ -427,13 +427,13 @@ private:
public:
SFX_DECL_TOOLBOX_CONTROL();
- SvxReloadControllerItem( USHORT nSlotId,
- USHORT nId,
+ SvxReloadControllerItem( sal_uInt16 nSlotId,
+ sal_uInt16 nId,
ToolBox& rTbx );
~SvxReloadControllerItem();
protected:
- virtual void StateChanged( USHORT nSID, SfxItemState eState,
+ virtual void StateChanged( sal_uInt16 nSID, SfxItemState eState,
const SfxPoolItem* pState );
};
@@ -444,10 +444,10 @@ private:
public:
SFX_DECL_TOOLBOX_CONTROL();
- SvxSimpleUndoRedoController( USHORT nSlotId, USHORT nId, ToolBox& rTbx );
+ SvxSimpleUndoRedoController( sal_uInt16 nSlotId, sal_uInt16 nId, ToolBox& rTbx );
~SvxSimpleUndoRedoController();
- virtual void StateChanged( USHORT nSID, SfxItemState eState,
+ virtual void StateChanged( sal_uInt16 nSID, SfxItemState eState,
const SfxPoolItem* pState );
};
diff --git a/svx/inc/tbxalign.hxx b/svx/inc/svx/tbxalign.hxx
index e0288bdd639a..5a6297469489 100644..100755
--- a/svx/inc/tbxalign.hxx
+++ b/svx/inc/svx/tbxalign.hxx
@@ -45,7 +45,7 @@ public:
SFX_DECL_TOOLBOX_CONTROL();
- SvxTbxCtlAlign( USHORT nSlotId, USHORT nId, ToolBox& rTbx );
+ SvxTbxCtlAlign( sal_uInt16 nSlotId, sal_uInt16 nId, ToolBox& rTbx );
~SvxTbxCtlAlign() {}
private:
rtl::OUString m_aSubTbName;
diff --git a/svx/inc/tbxcolor.hxx b/svx/inc/svx/tbxcolor.hxx
index cbd5bb4b257e..848c015c2995 100644..100755
--- a/svx/inc/tbxcolor.hxx
+++ b/svx/inc/svx/tbxcolor.hxx
@@ -1,4 +1,3 @@
-/* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
/*************************************************************************
*
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
@@ -70,4 +69,3 @@ namespace svx
#endif // #ifndef _SVX_TBXCOLOR_HXX
-/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/svx/inc/svx/tbxcolorupdate.hxx b/svx/inc/svx/tbxcolorupdate.hxx
index c388b8892dff..37c300e26775 100644..100755
--- a/svx/inc/svx/tbxcolorupdate.hxx
+++ b/svx/inc/svx/tbxcolorupdate.hxx
@@ -57,10 +57,10 @@ namespace svx
class SVX_DLLPUBLIC ToolboxButtonColorUpdater
{
public:
- ToolboxButtonColorUpdater( USHORT nSlotId,
- USHORT nTbxBtnId,
+ ToolboxButtonColorUpdater( sal_uInt16 nSlotId,
+ sal_uInt16 nTbxBtnId,
ToolBox* ptrTbx,
- USHORT nMode = 0 );
+ sal_uInt16 nMode = 0 );
~ToolboxButtonColorUpdater();
void Update( const Color& rColor );
@@ -69,14 +69,14 @@ namespace svx
void DrawChar(VirtualDevice&, const Color&);
private:
- USHORT mnDrawMode;
- USHORT mnBtnId;
- USHORT mnSlotId;
+ sal_uInt16 mnDrawMode;
+ sal_uInt16 mnBtnId;
+ sal_uInt16 mnSlotId;
ToolBox* mpTbx;
Color maCurColor;
Rectangle maUpdRect;
Size maBmpSize;
- BOOL mbWasHiContrastMode;
+ sal_Bool mbWasHiContrastMode;
};
//........................................................................
diff --git a/svx/inc/tbxctl.hxx b/svx/inc/svx/tbxctl.hxx
index 698cddd1e45a..ee99e23a9521 100644..100755
--- a/svx/inc/tbxctl.hxx
+++ b/svx/inc/svx/tbxctl.hxx
@@ -48,13 +48,13 @@ protected:
using SfxToolBoxControl::Select;
public:
- SvxTbxCtlDraw( USHORT nSlotId, USHORT nId, ToolBox& rTbx );
+ SvxTbxCtlDraw( sal_uInt16 nSlotId, sal_uInt16 nId, ToolBox& rTbx );
~SvxTbxCtlDraw() {}
SFX_DECL_TOOLBOX_CONTROL();
- virtual void Select( BOOL bMod1 = FALSE );
- virtual void StateChanged( USHORT nSID, SfxItemState eState,
+ virtual void Select( sal_Bool bMod1 = sal_False );
+ virtual void StateChanged( sal_uInt16 nSID, SfxItemState eState,
const SfxPoolItem* pState );
virtual SfxPopupWindowType GetPopupWindowType() const;
};
diff --git a/svx/inc/tbxcustomshapes.hxx b/svx/inc/svx/tbxcustomshapes.hxx
index 9afac7d439ad..24c995d942c9 100644..100755
--- a/svx/inc/tbxcustomshapes.hxx
+++ b/svx/inc/svx/tbxcustomshapes.hxx
@@ -41,15 +41,15 @@ class SVX_DLLPUBLIC SvxTbxCtlCustomShapes : public SfxToolBoxControl
{
public:
using SfxToolBoxControl::Select;
- virtual void Select( BOOL bMod1 = FALSE );
- virtual void StateChanged( USHORT nSID, SfxItemState eState,
+ virtual void Select( sal_Bool bMod1 = sal_False );
+ virtual void StateChanged( sal_uInt16 nSID, SfxItemState eState,
const SfxPoolItem* pState );
virtual SfxPopupWindowType GetPopupWindowType() const;
virtual SfxPopupWindow* CreatePopupWindow();
SFX_DECL_TOOLBOX_CONTROL();
- SvxTbxCtlCustomShapes( USHORT nSlotId, USHORT nId, ToolBox& rTbx );
+ SvxTbxCtlCustomShapes( sal_uInt16 nSlotId, sal_uInt16 nId, ToolBox& rTbx );
~SvxTbxCtlCustomShapes() {}
//interface XSubToolbarController:
diff --git a/svx/inc/tbxdraw.hxx b/svx/inc/svx/tbxdraw.hxx
index fe8141f7a6c4..82df76345014 100644..100755
--- a/svx/inc/tbxdraw.hxx
+++ b/svx/inc/svx/tbxdraw.hxx
@@ -50,17 +50,17 @@ protected:
using SfxPopupWindow::StateChanged;
public:
- SvxPopupWindowTbxMgr( USHORT nId,
+ SvxPopupWindowTbxMgr( sal_uInt16 nId,
SfxToolBoxControl* pTbxCtl,
ResId aRIdWin,
ResId aRIdTbx );
- SvxPopupWindowTbxMgr( USHORT nId,
+ SvxPopupWindowTbxMgr( sal_uInt16 nId,
WindowAlign eAlign,
ResId aRIdWin,
ResId aRIdTbx );
~SvxPopupWindowTbxMgr();
- virtual void StateChanged( USHORT nSID, SfxItemState eState,
+ virtual void StateChanged( sal_uInt16 nSID, SfxItemState eState,
const SfxPoolItem* pState);
virtual SfxPopupWindow* Clone() const;
virtual void PopupModeEnd();
@@ -68,7 +68,7 @@ public:
void StartSelection();
// toolbox click or execute may chage the default selection in the tools toolbox
- virtual void UserEvent( ULONG nEvent, void* pEventData );
+ virtual void UserEvent( sal_uIntPtr nEvent, void* pEventData );
};
diff --git a/svx/inc/txencbox.hxx b/svx/inc/svx/txencbox.hxx
index c73e829af84a..7358e19c842a 100644..100755
--- a/svx/inc/txencbox.hxx
+++ b/svx/inc/svx/txencbox.hxx
@@ -41,7 +41,7 @@ class SVX_DLLPUBLIC SvxTextEncodingBox : public ListBox
private:
const SvxTextEncodingTable* m_pEncTable;
- SVX_DLLPRIVATE USHORT EncodingToPos_Impl( rtl_TextEncoding nEnc ) const;
+ SVX_DLLPRIVATE sal_uInt16 EncodingToPos_Impl( rtl_TextEncoding nEnc ) const;
public:
SvxTextEncodingBox( Window* pParent, const ResId& rResId );
@@ -63,7 +63,7 @@ public:
RTL_TEXTENCODING_GB_18030. Normally, this flag should be set to
<TRUE/> whenever the box is used in import dialogs. */
void FillFromTextEncodingTable(
- sal_Bool bExcludeImportSubsets = FALSE,
+ sal_Bool bExcludeImportSubsets = sal_False,
sal_uInt32 nExcludeInfoFlags = 0,
sal_uInt32 nButIncludeInfoFlags = 0
);
@@ -84,7 +84,7 @@ public:
RTL_TEXTENCODING_GB_18030. Normally, this flag should be set to
<TRUE/> whenever the box is used in import dialogs. */
void FillFromDbTextEncodingMap(
- sal_Bool bExcludeImportSubsets = FALSE,
+ sal_Bool bExcludeImportSubsets = sal_False,
sal_uInt32 nExcludeInfoFlags = 0,
sal_uInt32 nButIncludeInfoFlags = 0
);
@@ -98,22 +98,22 @@ public:
{ return m_pEncTable; }
void InsertTextEncoding( const rtl_TextEncoding nEnc,
- USHORT nPos = LISTBOX_APPEND );
+ sal_uInt16 nPos = LISTBOX_APPEND );
void InsertTextEncoding( const rtl_TextEncoding nEnc,
const String& rEntry,
- USHORT nPos = LISTBOX_APPEND );
+ sal_uInt16 nPos = LISTBOX_APPEND );
void RemoveTextEncoding( const rtl_TextEncoding nEnc );
void SelectTextEncoding( const rtl_TextEncoding nEnc,
- BOOL bSelect = TRUE );
+ sal_Bool bSelect = sal_True );
rtl_TextEncoding GetSelectTextEncoding() const;
const String& GetSelectTextString() const;
- BOOL IsTextEncodingSelected( const rtl_TextEncoding nEnc ) const;
+ sal_Bool IsTextEncodingSelected( const rtl_TextEncoding nEnc ) const;
};
#endif
diff --git a/svx/inc/txenctab.hxx b/svx/inc/svx/txenctab.hxx
index a923c5f66ad9..a923c5f66ad9 100644..100755
--- a/svx/inc/txenctab.hxx
+++ b/svx/inc/svx/txenctab.hxx
diff --git a/svx/inc/svx/ucsubset.hrc b/svx/inc/svx/ucsubset.hrc
index 50f7e62162e6..50f7e62162e6 100644..100755
--- a/svx/inc/svx/ucsubset.hrc
+++ b/svx/inc/svx/ucsubset.hrc
diff --git a/svx/inc/svx/ucsubset.hxx b/svx/inc/svx/ucsubset.hxx
index 1daec3b34615..1daec3b34615 100644..100755
--- a/svx/inc/svx/ucsubset.hxx
+++ b/svx/inc/svx/ucsubset.hxx
diff --git a/svx/inc/unoapi.hxx b/svx/inc/svx/unoapi.hxx
index 6f3b945e7a21..6f3b945e7a21 100644..100755
--- a/svx/inc/unoapi.hxx
+++ b/svx/inc/svx/unoapi.hxx
diff --git a/svx/inc/unofill.hxx b/svx/inc/svx/unofill.hxx
index 6d3b969f8761..6d3b969f8761 100644..100755
--- a/svx/inc/unofill.hxx
+++ b/svx/inc/svx/unofill.hxx
diff --git a/svx/inc/unomaster.hxx b/svx/inc/svx/unomaster.hxx
index a175e7f2cf15..a175e7f2cf15 100644..100755
--- a/svx/inc/unomaster.hxx
+++ b/svx/inc/svx/unomaster.hxx
diff --git a/svx/inc/svx/unomid.hxx b/svx/inc/svx/unomid.hxx
index 828bbd50744b..828bbd50744b 100644..100755
--- a/svx/inc/svx/unomid.hxx
+++ b/svx/inc/svx/unomid.hxx
diff --git a/svx/inc/svx/unomod.hxx b/svx/inc/svx/unomod.hxx
index 0b4f1c3485bf..0b4f1c3485bf 100644..100755
--- a/svx/inc/svx/unomod.hxx
+++ b/svx/inc/svx/unomod.hxx
diff --git a/svx/inc/svx/unomodel.hxx b/svx/inc/svx/unomodel.hxx
index 5bf74079f359..5bf74079f359 100644..100755
--- a/svx/inc/svx/unomodel.hxx
+++ b/svx/inc/svx/unomodel.hxx
diff --git a/svx/inc/svx/unopage.hxx b/svx/inc/svx/unopage.hxx
index ac84ef560c36..ac84ef560c36 100644..100755
--- a/svx/inc/svx/unopage.hxx
+++ b/svx/inc/svx/unopage.hxx
diff --git a/svx/inc/unopool.hxx b/svx/inc/svx/unopool.hxx
index a4a7c0e1e79a..a4a7c0e1e79a 100644..100755
--- a/svx/inc/unopool.hxx
+++ b/svx/inc/svx/unopool.hxx
diff --git a/svx/inc/svx/unoprov.hxx b/svx/inc/svx/unoprov.hxx
index 70764156733f..7022894c4cb7 100644..100755
--- a/svx/inc/svx/unoprov.hxx
+++ b/svx/inc/svx/unoprov.hxx
@@ -41,7 +41,7 @@ class SfxItemPool;
* class UHashMap *
***********************************************************************/
-#define UHASHMAP_NOTFOUND sal::static_int_cast< UINT32 >(~0)
+#define UHASHMAP_NOTFOUND sal::static_int_cast< sal_uInt32 >(~0)
class UHashMap
{
UHashMap() {}
@@ -89,12 +89,12 @@ class SVX_DLLPUBLIC SvxUnoPropertyMapProvider
{
SfxItemPropertyMapEntry* aMapArr[SVXMAP_END];
SvxItemPropertySet* aSetArr[SVXMAP_END];
-// void Sort(USHORT nId);
+// void Sort(sal_uInt16 nId);
public:
SvxUnoPropertyMapProvider();
~SvxUnoPropertyMapProvider();
- const SfxItemPropertyMapEntry* GetMap(UINT16 nPropertyId);
- const SvxItemPropertySet* GetPropertySet(UINT16 nPropertyId, SfxItemPool& rPool);
+ const SfxItemPropertyMapEntry* GetMap(sal_uInt16 nPropertyId);
+ const SvxItemPropertySet* GetPropertySet(sal_uInt16 nPropertyId, SfxItemPool& rPool);
};
/***********************************************************************
diff --git a/svx/inc/svx/unoshape.hxx b/svx/inc/svx/unoshape.hxx
index 64cfadc7a047..83e46cf02c5c 100644..100755
--- a/svx/inc/svx/unoshape.hxx
+++ b/svx/inc/svx/unoshape.hxx
@@ -192,7 +192,7 @@ public:
const SvxItemPropertySet& GetPropertySet() { return *mpPropSet; }
SdrObject* GetSdrObject() const {return mpObj.get();}
void SetShapeType( const ::rtl::OUString& ShapeType ) { maShapeType = ShapeType; }
- ::com::sun::star::uno::Any GetBitmap( BOOL bMetaFile = FALSE ) const throw ();
+ ::com::sun::star::uno::Any GetBitmap( sal_Bool bMetaFile = sal_False ) const throw ();
static SvxShape* GetShapeForSdrObj( SdrObject* pObj ) throw ();
::svx::PropertyChangeNotifier& getShapePropertyChangeNotifier();
diff --git a/svx/inc/unoshcol.hxx b/svx/inc/svx/unoshcol.hxx
index 12c9527afe67..12c9527afe67 100644..100755
--- a/svx/inc/unoshcol.hxx
+++ b/svx/inc/svx/unoshcol.hxx
diff --git a/svx/inc/svx/unoshprp.hxx b/svx/inc/svx/unoshprp.hxx
index 5e4bdf568ba2..5e4bdf568ba2 100644..100755
--- a/svx/inc/svx/unoshprp.hxx
+++ b/svx/inc/svx/unoshprp.hxx
diff --git a/svx/inc/svx/unoshtxt.hxx b/svx/inc/svx/unoshtxt.hxx
index 669fc7ad8395..159df0563892 100644..100755
--- a/svx/inc/svx/unoshtxt.hxx
+++ b/svx/inc/svx/unoshtxt.hxx
@@ -84,13 +84,15 @@ public:
// static sal_Bool hasLevels( const SdrObject* pObject );
// the SvxViewForwarder interface
- virtual BOOL IsValid() const;
+ virtual sal_Bool IsValid() const;
virtual Rectangle GetVisArea() const;
virtual Point LogicToPixel( const Point&, const MapMode& ) const;
virtual Point PixelToLogic( const Point&, const MapMode& ) const;
void ChangeModel( SdrModel* pNewModel );
+ void UpdateOutliner();
+
private:
SVX_DLLPRIVATE SvxTextEditSource( SvxTextEditSourceImpl* pImpl );
diff --git a/svx/inc/verttexttbxctrl.hxx b/svx/inc/svx/verttexttbxctrl.hxx
index 56cccd3f581e..f9877540403f 100644..100755
--- a/svx/inc/verttexttbxctrl.hxx
+++ b/svx/inc/svx/verttexttbxctrl.hxx
@@ -38,10 +38,10 @@ class SvxVertCTLTextTbxCtrl : public SfxToolBoxControl
{
sal_Bool bCheckVertical; //determines whether vertical mode or CTL mode has to be checked
public:
- SvxVertCTLTextTbxCtrl( USHORT nSlotId, USHORT nId, ToolBox& rTbx );
+ SvxVertCTLTextTbxCtrl( sal_uInt16 nSlotId, sal_uInt16 nId, ToolBox& rTbx );
~SvxVertCTLTextTbxCtrl();
- virtual void StateChanged( USHORT nSID, SfxItemState eState,
+ virtual void StateChanged( sal_uInt16 nSID, SfxItemState eState,
const SfxPoolItem* pState );
void SetVert(sal_Bool bSet) {bCheckVertical = bSet;}
@@ -51,14 +51,14 @@ class SVX_DLLPUBLIC SvxCTLTextTbxCtrl : public SvxVertCTLTextTbxCtrl
{
public:
SFX_DECL_TOOLBOX_CONTROL();
- SvxCTLTextTbxCtrl(USHORT nSlotId, USHORT nId, ToolBox& rTbx );
+ SvxCTLTextTbxCtrl(sal_uInt16 nSlotId, sal_uInt16 nId, ToolBox& rTbx );
};
class SVX_DLLPUBLIC SvxVertTextTbxCtrl : public SvxVertCTLTextTbxCtrl
{
public:
SFX_DECL_TOOLBOX_CONTROL();
- SvxVertTextTbxCtrl( USHORT nSlotId, USHORT nId, ToolBox& rTbx );
+ SvxVertTextTbxCtrl( sal_uInt16 nSlotId, sal_uInt16 nId, ToolBox& rTbx );
};
#endif
diff --git a/svx/inc/svx/view3d.hxx b/svx/inc/svx/view3d.hxx
index c75921bd7b49..9b2bcc6dbb6a 100644..100755
--- a/svx/inc/svx/view3d.hxx
+++ b/svx/inc/svx/view3d.hxx
@@ -75,17 +75,17 @@ protected:
// Migrate selections
Impl3DMirrorConstructOverlay* mpMirrorOverlay;
- BOOL bDoubleSided;
+ sal_Bool bDoubleSided;
void InitView();
- void ImpCreate3DObject(E3dScene* pScene, SdrObject* pObj, BOOL bExtrude, double fDepth, basegfx::B2DHomMatrix& rLatheMat);
- void ImpCreateSingle3DObjectFlat(E3dScene* pScene, SdrObject* pObj, BOOL bExtrude, double fDepth, basegfx::B2DHomMatrix& rLatheMat);
+ void ImpCreate3DObject(E3dScene* pScene, SdrObject* pObj, sal_Bool bExtrude, double fDepth, basegfx::B2DHomMatrix& rLatheMat);
+ void ImpCreateSingle3DObjectFlat(E3dScene* pScene, SdrObject* pObj, sal_Bool bExtrude, double fDepth, basegfx::B2DHomMatrix& rLatheMat);
void ImpChangeSomeAttributesFor3DConversion(SdrObject* pObj);
void ImpChangeSomeAttributesFor3DConversion2(SdrObject* pObj);
void InitScene(E3dScene* pScene, double fW, double fH, double fCamZ);
- void ImpIsConvertTo3DPossible(SdrObject* pObj, BOOL& rAny3D, BOOL& rGroupSelected) const;
+ void ImpIsConvertTo3DPossible(SdrObject* pObj, sal_Bool& rAny3D, sal_Bool& rGroupSelected) const;
void BreakSingle3DObj(E3dObject* pObj);
public:
@@ -98,7 +98,7 @@ public:
// Zugriff auf die Default-Attribute
E3dDefaultAttributes& Get3DDefaultAttributes() { return a3DDefaultAttr; }
- virtual BOOL BegDragObj(const Point& rPnt, OutputDevice* pOut = NULL, SdrHdl* pHdl = NULL, short nMinMov = -3, SdrDragMethod* pForcedMeth = NULL);
+ virtual sal_Bool BegDragObj(const Point& rPnt, OutputDevice* pOut = NULL, SdrHdl* pHdl = NULL, short nMinMov = -3, SdrDragMethod* pForcedMeth = NULL);
virtual void CheckPossibilities();
// Event setzen/rausruecken
@@ -112,21 +112,21 @@ public:
// Bei Paste muss - falls in eine Scene eingefuegt wird - die
// Objekte der Szene eingefuegt werden, die Szene selbst aber nicht
using SdrView::Paste;
- virtual BOOL Paste(const SdrModel& rMod, const Point& rPos, SdrObjList* pLst=NULL, UINT32 nOptions=0);
+ virtual sal_Bool Paste(const SdrModel& rMod, const Point& rPos, SdrObjList* pLst=NULL, sal_uInt32 nOptions=0);
// #83403# Service routine used from local Clone() and from SdrCreateView::EndCreateObj(...)
- BOOL ImpCloneAll3DObjectsToDestScene(E3dScene* pSrcScene, E3dScene* pDstScene, Point aOffset);
+ sal_Bool ImpCloneAll3DObjectsToDestScene(E3dScene* pSrcScene, E3dScene* pDstScene, Point aOffset);
- BOOL HasMarkedScene();
+ sal_Bool HasMarkedScene();
E3dScene* GetMarkedScene();
- BOOL IsConvertTo3DObjPossible() const;
- void ConvertMarkedObjTo3D(BOOL bExtrude=TRUE, basegfx::B2DPoint aPnt1 = basegfx::B2DPoint(0.0, 0.0), basegfx::B2DPoint aPnt2 = basegfx::B2DPoint(0.0, 1.0));
+ sal_Bool IsConvertTo3DObjPossible() const;
+ void ConvertMarkedObjTo3D(sal_Bool bExtrude=sal_True, basegfx::B2DPoint aPnt1 = basegfx::B2DPoint(0.0, 0.0), basegfx::B2DPoint aPnt2 = basegfx::B2DPoint(0.0, 1.0));
// Nachtraeglichhe Korrekturmoeglichkeit um alle Extrudes in einer
// bestimmten Tiefensortierung anzulegen
void DoDepthArrange(E3dScene* pScene, double fDepth);
- void ConvertMarkedToPolyObj(BOOL bLineToArea);
+ void ConvertMarkedToPolyObj(sal_Bool bLineToArea);
E3dScene* SetCurrent3DObj(E3dObject* p3DObj);
void Start3DCreation();
@@ -134,7 +134,7 @@ public:
sal_Bool Is3DRotationCreationActive() const { return (0L != mpMirrorOverlay); }
virtual void MovAction(const Point& rPnt);
- void End3DCreation(BOOL bUseDefaultValuesForMirrorAxes=FALSE);
+ void End3DCreation(sal_Bool bUseDefaultValuesForMirrorAxes=sal_False);
void ResetCreationActive();
double GetDefaultCamPosZ();
@@ -257,22 +257,22 @@ public:
long GetVDefaultSegments() const { return nVDefaultSegments; }
void SetVDefaultSegments(long nSegs) { nVDefaultSegments = nSegs; }
- BOOL IsBreak3DObjPossible() const;
+ sal_Bool IsBreak3DObjPossible() const;
void Break3DObj();
- BOOL DoubleSided () const
+ sal_Bool DoubleSided () const
{
return bDoubleSided;
}
- BOOL &DoubleSided ()
+ sal_Bool &DoubleSided ()
{
return bDoubleSided;
}
void MergeScenes();
- SfxItemSet Get3DAttributes(E3dScene* pInScene = NULL, BOOL bOnly3DAttr=FALSE) const;
- void Set3DAttributes(const SfxItemSet& rAttr, E3dScene* pInScene = NULL, BOOL bOnly3DAttr=FALSE);
+ SfxItemSet Get3DAttributes(E3dScene* pInScene = NULL, sal_Bool bOnly3DAttr=sal_False) const;
+ void Set3DAttributes(const SfxItemSet& rAttr, E3dScene* pInScene = NULL, sal_Bool bOnly3DAttr=sal_False);
};
#endif // _E3D_VIEW3D_HXX
diff --git a/svx/inc/svx/viewlayoutitem.hxx b/svx/inc/svx/viewlayoutitem.hxx
index 0cbb33308889..fee6f54aef2e 100644..100755
--- a/svx/inc/svx/viewlayoutitem.hxx
+++ b/svx/inc/svx/viewlayoutitem.hxx
@@ -41,7 +41,7 @@ class SVX_DLLPUBLIC SvxViewLayoutItem: public SfxUInt16Item
public:
TYPEINFO();
- SvxViewLayoutItem( USHORT nColumns = 0, bool bBookMode = false, USHORT nWhich = SID_ATTR_VIEWLAYOUT );
+ SvxViewLayoutItem( sal_uInt16 nColumns = 0, bool bBookMode = false, sal_uInt16 nWhich = SID_ATTR_VIEWLAYOUT );
SvxViewLayoutItem( const SvxViewLayoutItem& );
~SvxViewLayoutItem();
@@ -51,10 +51,10 @@ public:
// "pure virtual Methoden" vom SfxPoolItem
virtual int operator==( const SfxPoolItem& ) const;
virtual SfxPoolItem* Clone( SfxItemPool *pPool = 0 ) const;
- virtual SfxPoolItem* Create( SvStream& rStrm, USHORT nVersion ) const; // leer
- virtual SvStream& Store( SvStream& rStrm , USHORT nItemVersion ) const; // leer
- virtual bool QueryValue( com::sun::star::uno::Any& rVal, BYTE nMemberId = 0 ) const; // leer
- virtual bool PutValue( const com::sun::star::uno::Any& rVal, BYTE nMemberId = 0 ); // leer
+ virtual SfxPoolItem* Create( SvStream& rStrm, sal_uInt16 nVersion ) const; // leer
+ virtual SvStream& Store( SvStream& rStrm , sal_uInt16 nItemVersion ) const; // leer
+ virtual bool QueryValue( com::sun::star::uno::Any& rVal, sal_uInt8 nMemberId = 0 ) const; // leer
+ virtual bool PutValue( const com::sun::star::uno::Any& rVal, sal_uInt8 nMemberId = 0 ); // leer
};
//------------------------------------------------------------------------
diff --git a/svx/inc/svx/viewpt3d.hxx b/svx/inc/svx/viewpt3d.hxx
index 2348a37b374a..41e654dae150 100644..100755
--- a/svx/inc/svx/viewpt3d.hxx
+++ b/svx/inc/svx/viewpt3d.hxx
@@ -79,7 +79,7 @@ class SVX_DLLPUBLIC Viewport3D
basegfx::B3DPoint aViewPoint; // Beobachterstandpunkt in Weltkoordinaten;
// wird mit der Transformation berechnet
- BOOL bTfValid; // Flag, ob Transformation gueltig ist
+ sal_Bool bTfValid; // Flag, ob Transformation gueltig ist
double fWRatio; // Device/View-Seitenverhaeltnisse
double fHRatio;
@@ -106,11 +106,11 @@ class SVX_DLLPUBLIC Viewport3D
double GetFarClipDist() const { return fFarClipDist; }
void SetProjection(ProjectionType ePrj)
- { eProjection = ePrj; bTfValid = FALSE; }
+ { eProjection = ePrj; bTfValid = sal_False; }
ProjectionType GetProjection() const { return(eProjection); }
void SetAspectMapping(AspectMapType eAsp)
- { eAspectMapping = eAsp; bTfValid = FALSE; }
+ { eAspectMapping = eAsp; bTfValid = sal_False; }
AspectMapType GetAspectMapping() { return eAspectMapping; }
void SetViewWindow(double fX, double fY, double fW, double fH);
diff --git a/svx/inc/svx/volume3d.hxx b/svx/inc/svx/volume3d.hxx
index ce1f9c89ba81..ce1f9c89ba81 100644..100755
--- a/svx/inc/svx/volume3d.hxx
+++ b/svx/inc/svx/volume3d.hxx
diff --git a/svx/inc/wrapfield.hxx b/svx/inc/svx/wrapfield.hxx
index 3d19efe97de7..3d19efe97de7 100644..100755
--- a/svx/inc/wrapfield.hxx
+++ b/svx/inc/svx/wrapfield.hxx
diff --git a/svx/inc/xattr.hxx b/svx/inc/svx/xattr.hxx
index 81e0251802ba..81e0251802ba 100644..100755
--- a/svx/inc/xattr.hxx
+++ b/svx/inc/svx/xattr.hxx
diff --git a/svx/inc/svx/xbitmap.hxx b/svx/inc/svx/xbitmap.hxx
index 60f178532d27..dd8d32da375e 100644..100755
--- a/svx/inc/svx/xbitmap.hxx
+++ b/svx/inc/svx/xbitmap.hxx
@@ -45,17 +45,17 @@ protected:
XBitmapType eType;
XBitmapStyle eStyle;
GraphicObject aGraphicObject;
- USHORT* pPixelArray;
+ sal_uInt16* pPixelArray;
Size aArraySize;
Color aPixelColor;
Color aBckgrColor;
- BOOL bGraphicDirty;
+ sal_Bool bGraphicDirty;
public:
XOBitmap();
XOBitmap( const GraphicObject& rGraphicObject, XBitmapStyle eStyle = XBITMAP_TILE );
XOBitmap( const Bitmap& rBitmap, XBitmapStyle eStyle = XBITMAP_TILE );
- XOBitmap( const USHORT* pArray, const Color& aPixelColor,
+ XOBitmap( const sal_uInt16* pArray, const Color& aPixelColor,
const Color& aBckgrColor, const Size& rSize = Size( 8, 8 ),
XBitmapStyle eStyle = XBITMAP_TILE );
XOBitmap( const XOBitmap& rXBmp );
@@ -67,20 +67,20 @@ public:
void Bitmap2Array();
void Array2Bitmap();
- void SetGraphicObject( const GraphicObject& rObj ) { aGraphicObject = rObj; bGraphicDirty = FALSE; }
- void SetBitmap( const Bitmap& rBmp ) { aGraphicObject = GraphicObject( Graphic( rBmp ) ); bGraphicDirty = FALSE; }
+ void SetGraphicObject( const GraphicObject& rObj ) { aGraphicObject = rObj; bGraphicDirty = sal_False; }
+ void SetBitmap( const Bitmap& rBmp ) { aGraphicObject = GraphicObject( Graphic( rBmp ) ); bGraphicDirty = sal_False; }
void SetBitmapType( XBitmapType eNewType ) { eType = eNewType; }
void SetBitmapStyle( XBitmapStyle eNewStyle ) { eStyle = eNewStyle; }
- void SetPixelArray( const USHORT* pArray );
- void SetPixelSize( const Size& rSize ) { aArraySize = rSize; bGraphicDirty = TRUE; }
- void SetPixelColor( const Color& rColor ) { aPixelColor = rColor; bGraphicDirty = TRUE; }
- void SetBackgroundColor( const Color& rColor ) { aBckgrColor = rColor; bGraphicDirty = TRUE; }
+ void SetPixelArray( const sal_uInt16* pArray );
+ void SetPixelSize( const Size& rSize ) { aArraySize = rSize; bGraphicDirty = sal_True; }
+ void SetPixelColor( const Color& rColor ) { aPixelColor = rColor; bGraphicDirty = sal_True; }
+ void SetBackgroundColor( const Color& rColor ) { aBckgrColor = rColor; bGraphicDirty = sal_True; }
XBitmapType GetBitmapType() const { return eType; }
XBitmapStyle GetBitmapStyle() const { return eStyle; }
const GraphicObject& GetGraphicObject() const;
Bitmap GetBitmap() const;
- USHORT* GetPixelArray() const { return pPixelArray; }
+ sal_uInt16* GetPixelArray() const { return pPixelArray; }
Color GetPixelColor() const { return aPixelColor; }
Color GetBackgroundColor() const { return aBckgrColor; }
};
diff --git a/svx/inc/svx/xbtmpit.hxx b/svx/inc/svx/xbtmpit.hxx
index 98f933d1e642..ec0925ffe9c5 100644..100755
--- a/svx/inc/svx/xbtmpit.hxx
+++ b/svx/inc/svx/xbtmpit.hxx
@@ -51,16 +51,16 @@ public:
XFillBitmapItem( SfxItemPool* pPool, const XOBitmap& rTheBitmap );
XFillBitmapItem( SfxItemPool* pPool );
XFillBitmapItem( const XFillBitmapItem& rItem );
- XFillBitmapItem( SvStream& rIn, USHORT nVer = 0 );
+ XFillBitmapItem( SvStream& rIn, sal_uInt16 nVer = 0 );
virtual int operator==( const SfxPoolItem& rItem ) const;
virtual SfxPoolItem* Clone( SfxItemPool* pPool = 0 ) const;
- virtual SfxPoolItem* Create( SvStream& rIn, USHORT nVer ) const;
- virtual SvStream& Store( SvStream& rOut, USHORT nItemVersion ) const;
- virtual USHORT GetVersion( USHORT nFileFormatVersion ) const;
+ virtual SfxPoolItem* Create( SvStream& rIn, sal_uInt16 nVer ) const;
+ virtual SvStream& Store( SvStream& rOut, sal_uInt16 nItemVersion ) const;
+ virtual sal_uInt16 GetVersion( sal_uInt16 nFileFormatVersion ) const;
- virtual bool QueryValue( com::sun::star::uno::Any& rVal, BYTE nMemberId = 0 ) const;
- virtual bool PutValue( const com::sun::star::uno::Any& rVal, BYTE nMemberId = 0 );
+ virtual bool QueryValue( com::sun::star::uno::Any& rVal, sal_uInt8 nMemberId = 0 ) const;
+ virtual bool PutValue( const com::sun::star::uno::Any& rVal, sal_uInt8 nMemberId = 0 );
virtual SfxItemPresentation GetPresentation( SfxItemPresentation ePres,
SfxMapUnit eCoreMetric,
@@ -70,7 +70,7 @@ public:
const XOBitmap& GetBitmapValue( const XBitmapTable* pTable = 0 ) const; // GetValue -> GetBitmapValue
void SetBitmapValue( const XOBitmap& rNew ) { aXOBitmap = rNew; Detach(); } // SetValue -> SetBitmapValue
- static BOOL CompareValueFunc( const NameOrIndex* p1, const NameOrIndex* p2 );
+ static sal_Bool CompareValueFunc( const NameOrIndex* p1, const NameOrIndex* p2 );
XFillBitmapItem* checkForUniqueItem( SdrModel* pModel ) const;
};
diff --git a/svx/inc/svx/xcolit.hxx b/svx/inc/svx/xcolit.hxx
index ed307f9616bb..49e1ff4ee976 100644..100755
--- a/svx/inc/svx/xcolit.hxx
+++ b/svx/inc/svx/xcolit.hxx
@@ -46,19 +46,19 @@ class SVX_DLLPUBLIC XColorItem : public NameOrIndex
public:
TYPEINFO();
XColorItem() {}
- XColorItem(USHORT nWhich, INT32 nIndex, const Color& rTheColor);
+ XColorItem(sal_uInt16 nWhich, sal_Int32 nIndex, const Color& rTheColor);
- virtual bool QueryValue( com::sun::star::uno::Any& rVal, BYTE nMemberId = 0 ) const;
- virtual bool PutValue( const com::sun::star::uno::Any& rVal, BYTE nMemberId = 0 );
+ virtual bool QueryValue( com::sun::star::uno::Any& rVal, sal_uInt8 nMemberId = 0 ) const;
+ virtual bool PutValue( const com::sun::star::uno::Any& rVal, sal_uInt8 nMemberId = 0 );
- XColorItem(USHORT nWhich, const String& rName, const Color& rTheColor);
- XColorItem(USHORT nWhich, SvStream& rIn);
+ XColorItem(sal_uInt16 nWhich, const String& rName, const Color& rTheColor);
+ XColorItem(sal_uInt16 nWhich, SvStream& rIn);
XColorItem(const XColorItem& rItem);
virtual int operator==(const SfxPoolItem& rItem) const;
virtual SfxPoolItem* Clone(SfxItemPool* pPool = 0) const;
- virtual SfxPoolItem* Create(SvStream& rIn, USHORT nVer) const;
- virtual SvStream& Store(SvStream& rOut, USHORT nItemVersion ) const;
+ virtual SfxPoolItem* Create(SvStream& rIn, sal_uInt16 nVer) const;
+ virtual SvStream& Store(SvStream& rOut, sal_uInt16 nItemVersion ) const;
const Color& GetColorValue(const XColorTable* pTable = 0) const;
void SetColorValue(const Color& rNew) { aColor = rNew; Detach(); }
diff --git a/svx/inc/svx/xdash.hxx b/svx/inc/svx/xdash.hxx
index 2bc413fd1823..4b2cd813691c 100644..100755
--- a/svx/inc/svx/xdash.hxx
+++ b/svx/inc/svx/xdash.hxx
@@ -42,32 +42,32 @@ class SVX_DLLPUBLIC XDash
{
protected:
XDashStyle eDash;
- USHORT nDots;
- ULONG nDotLen;
- USHORT nDashes;
- ULONG nDashLen;
- ULONG nDistance;
+ sal_uInt16 nDots;
+ sal_uIntPtr nDotLen;
+ sal_uInt16 nDashes;
+ sal_uIntPtr nDashLen;
+ sal_uIntPtr nDistance;
public:
XDash(XDashStyle eDash = XDASH_RECT,
- USHORT nDots = 1, ULONG nDotLen = 20,
- USHORT nDashes = 1, ULONG nDashLen = 20, ULONG nDistance = 20);
+ sal_uInt16 nDots = 1, sal_uIntPtr nDotLen = 20,
+ sal_uInt16 nDashes = 1, sal_uIntPtr nDashLen = 20, sal_uIntPtr nDistance = 20);
bool operator==(const XDash& rDash) const;
void SetDashStyle(XDashStyle eNewStyle) { eDash = eNewStyle; }
- void SetDots(USHORT nNewDots) { nDots = nNewDots; }
- void SetDotLen(ULONG nNewDotLen) { nDotLen = nNewDotLen; }
- void SetDashes(USHORT nNewDashes) { nDashes = nNewDashes; }
- void SetDashLen(ULONG nNewDashLen) { nDashLen = nNewDashLen; }
- void SetDistance(ULONG nNewDistance) { nDistance = nNewDistance; }
+ void SetDots(sal_uInt16 nNewDots) { nDots = nNewDots; }
+ void SetDotLen(sal_uIntPtr nNewDotLen) { nDotLen = nNewDotLen; }
+ void SetDashes(sal_uInt16 nNewDashes) { nDashes = nNewDashes; }
+ void SetDashLen(sal_uIntPtr nNewDashLen) { nDashLen = nNewDashLen; }
+ void SetDistance(sal_uIntPtr nNewDistance) { nDistance = nNewDistance; }
XDashStyle GetDashStyle() const { return eDash; }
- USHORT GetDots() const { return nDots; }
- ULONG GetDotLen() const { return nDotLen; }
- USHORT GetDashes() const { return nDashes; }
- ULONG GetDashLen() const { return nDashLen; }
- ULONG GetDistance() const { return nDistance; }
+ sal_uInt16 GetDots() const { return nDots; }
+ sal_uIntPtr GetDotLen() const { return nDotLen; }
+ sal_uInt16 GetDashes() const { return nDashes; }
+ sal_uIntPtr GetDashLen() const { return nDashLen; }
+ sal_uIntPtr GetDistance() const { return nDistance; }
// XDash is translated into an array of doubles which describe the lengths of the
// dashes, dots and empty passages. It returns the complete length of the full DashDot
diff --git a/svx/inc/svx/xdef.hxx b/svx/inc/svx/xdef.hxx
index 099276b8f33b..645f86845cda 100644..100755
--- a/svx/inc/svx/xdef.hxx
+++ b/svx/inc/svx/xdef.hxx
@@ -37,7 +37,8 @@
|*
\************************************************************************/
-#define COL_DEFAULT_SHAPE_FILLING RGB_COLORDATA( 153, 204, 255 ) // blue 8
+#define COL_DEFAULT_SHAPE_FILLING RGB_COLORDATA( 0xCF, 0xE7, 0xE5 )
+#define COL_DEFAULT_SHAPE_STROKE RGB_COLORDATA( 128, 128, 128 )
#define XATTR_START 1000
diff --git a/svx/inc/svx/xenum.hxx b/svx/inc/svx/xenum.hxx
index 97bc32d03039..97bc32d03039 100644..100755
--- a/svx/inc/svx/xenum.hxx
+++ b/svx/inc/svx/xenum.hxx
diff --git a/svx/inc/xexch.hxx b/svx/inc/svx/xexch.hxx
index 713560ff02a3..cb31e44c7a99 100644..100755
--- a/svx/inc/xexch.hxx
+++ b/svx/inc/svx/xexch.hxx
@@ -60,7 +60,7 @@ public:
SVX_DLLPUBLIC friend SvStream& operator<<( SvStream& rOStm, const XFillExchangeData& rXFillExchangeData );
SVX_DLLPUBLIC friend SvStream& operator>>( SvStream& rIStm, XFillExchangeData& rXFillExchangeData );
- static ULONG RegisterClipboardFormatName();
+ static sal_uLong RegisterClipboardFormatName();
XFillAttrSetItem* GetXFillAttrSetItem() { return pXFillAttrSetItem; }
};
diff --git a/svx/inc/svx/xfillit.hxx b/svx/inc/svx/xfillit.hxx
index 38559a267639..38559a267639 100644..100755
--- a/svx/inc/svx/xfillit.hxx
+++ b/svx/inc/svx/xfillit.hxx
diff --git a/svx/inc/svx/xfillit0.hxx b/svx/inc/svx/xfillit0.hxx
index e5cff4968e0e..412fd322954d 100644..100755
--- a/svx/inc/svx/xfillit0.hxx
+++ b/svx/inc/svx/xfillit0.hxx
@@ -47,16 +47,16 @@ public:
XFillStyleItem(SvStream& rIn);
virtual SfxPoolItem* Clone(SfxItemPool* pPool = 0) const;
- virtual SfxPoolItem* Create(SvStream& rIn, USHORT nVer) const;
+ virtual SfxPoolItem* Create(SvStream& rIn, sal_uInt16 nVer) const;
- virtual bool QueryValue( com::sun::star::uno::Any& rVal, BYTE nMemberId = 0 ) const;
- virtual bool PutValue( const com::sun::star::uno::Any& rVal, BYTE nMemberId = 0 );
+ virtual bool QueryValue( com::sun::star::uno::Any& rVal, sal_uInt8 nMemberId = 0 ) const;
+ virtual bool PutValue( const com::sun::star::uno::Any& rVal, sal_uInt8 nMemberId = 0 );
virtual SfxItemPresentation GetPresentation( SfxItemPresentation ePres,
SfxMapUnit eCoreMetric,
SfxMapUnit ePresMetric,
String &rText, const IntlWrapper * = 0 ) const;
- virtual USHORT GetValueCount() const;
+ virtual sal_uInt16 GetValueCount() const;
XFillStyle GetValue() const { return (XFillStyle) SfxEnumItem::GetValue(); }
};
diff --git a/svx/inc/svx/xflasit.hxx b/svx/inc/svx/xflasit.hxx
index 663e9a8b79f2..8e4a047968dc 100644..100755
--- a/svx/inc/svx/xflasit.hxx
+++ b/svx/inc/svx/xflasit.hxx
@@ -48,8 +48,8 @@ public:
XFillAttrSetItem(const XFillAttrSetItem& rAttr,
SfxItemPool* pItemPool);
virtual SfxPoolItem* Clone( SfxItemPool* pToPool ) const;
- virtual SfxPoolItem* Create( SvStream& rStream, USHORT nVersion ) const;
- virtual SvStream& Store( SvStream& rStream, USHORT nItemVersion ) const;
+ virtual SfxPoolItem* Create( SvStream& rStream, sal_uInt16 nVersion ) const;
+ virtual SvStream& Store( SvStream& rStream, sal_uInt16 nItemVersion ) const;
};
#endif
diff --git a/svx/inc/svx/xflbckit.hxx b/svx/inc/svx/xflbckit.hxx
index 9ead0b0ade87..c041f5d7856e 100644..100755
--- a/svx/inc/svx/xflbckit.hxx
+++ b/svx/inc/svx/xflbckit.hxx
@@ -43,12 +43,12 @@ class SVX_DLLPUBLIC XFillBackgroundItem : public SfxBoolItem
public:
TYPEINFO();
- XFillBackgroundItem( BOOL bFill = FALSE );
+ XFillBackgroundItem( sal_Bool bFill = sal_False );
SVX_DLLPRIVATE XFillBackgroundItem( SvStream& rIn );
SVX_DLLPRIVATE virtual SfxPoolItem* Clone( SfxItemPool* pPool = NULL ) const;
- SVX_DLLPRIVATE virtual SfxPoolItem* Create( SvStream& rIn, USHORT nVer ) const;
+ SVX_DLLPRIVATE virtual SfxPoolItem* Create( SvStream& rIn, sal_uInt16 nVer ) const;
SVX_DLLPRIVATE virtual SfxItemPresentation GetPresentation( SfxItemPresentation ePres,
SfxMapUnit eCoreMetric,
diff --git a/svx/inc/svx/xflbmpit.hxx b/svx/inc/svx/xflbmpit.hxx
index e3187367a6e5..afc2b07810a3 100644..100755
--- a/svx/inc/svx/xflbmpit.hxx
+++ b/svx/inc/svx/xflbmpit.hxx
@@ -46,14 +46,14 @@ public:
SVX_DLLPRIVATE XFillBmpPosItem( SvStream& rIn );
SVX_DLLPRIVATE virtual SfxPoolItem* Clone( SfxItemPool* pPool = 0 ) const;
- SVX_DLLPRIVATE virtual SfxPoolItem* Create( SvStream& rIn, USHORT nVer ) const;
+ SVX_DLLPRIVATE virtual SfxPoolItem* Create( SvStream& rIn, sal_uInt16 nVer ) const;
SVX_DLLPRIVATE virtual SfxItemPresentation GetPresentation( SfxItemPresentation ePres,
SfxMapUnit eCoreMetric,
SfxMapUnit ePresMetric,
String &rText, const IntlWrapper * = 0 ) const;
- SVX_DLLPRIVATE virtual USHORT GetValueCount() const;
+ SVX_DLLPRIVATE virtual sal_uInt16 GetValueCount() const;
SVX_DLLPRIVATE RECT_POINT GetValue() const { return (RECT_POINT) SfxEnumItem::GetValue(); }
};
diff --git a/svx/inc/svx/xflbmsli.hxx b/svx/inc/svx/xflbmsli.hxx
index 284c3d810109..ca83cf999fb1 100644..100755
--- a/svx/inc/svx/xflbmsli.hxx
+++ b/svx/inc/svx/xflbmsli.hxx
@@ -42,11 +42,11 @@ class SVX_DLLPUBLIC XFillBmpSizeLogItem : public SfxBoolItem
{
public:
TYPEINFO();
- XFillBmpSizeLogItem( BOOL bLog = TRUE );
+ XFillBmpSizeLogItem( sal_Bool bLog = sal_True );
SVX_DLLPRIVATE XFillBmpSizeLogItem( SvStream& rIn );
SVX_DLLPRIVATE virtual SfxPoolItem* Clone( SfxItemPool* pPool = 0 ) const;
- SVX_DLLPRIVATE virtual SfxPoolItem* Create( SvStream& rIn, USHORT nVer ) const;
+ SVX_DLLPRIVATE virtual SfxPoolItem* Create( SvStream& rIn, sal_uInt16 nVer ) const;
SVX_DLLPRIVATE virtual SfxItemPresentation GetPresentation( SfxItemPresentation ePres,
SfxMapUnit eCoreMetric,
diff --git a/svx/inc/svx/xflbmsxy.hxx b/svx/inc/svx/xflbmsxy.hxx
index ef5e16b1a3c5..4238018b5505 100644..100755
--- a/svx/inc/svx/xflbmsxy.hxx
+++ b/svx/inc/svx/xflbmsxy.hxx
@@ -46,7 +46,7 @@ public:
SVX_DLLPRIVATE XFillBmpSizeXItem( SvStream& rIn );
SVX_DLLPRIVATE virtual SfxPoolItem* Clone( SfxItemPool* pPool = 0 ) const;
- SVX_DLLPRIVATE virtual SfxPoolItem* Create( SvStream& rIn, USHORT nVer ) const;
+ SVX_DLLPRIVATE virtual SfxPoolItem* Create( SvStream& rIn, sal_uInt16 nVer ) const;
SVX_DLLPRIVATE virtual SfxItemPresentation GetPresentation( SfxItemPresentation ePres,
SfxMapUnit eCoreMetric,
@@ -73,7 +73,7 @@ public:
SVX_DLLPRIVATE XFillBmpSizeYItem( SvStream& rIn );
SVX_DLLPRIVATE virtual SfxPoolItem* Clone( SfxItemPool* pPool = 0 ) const;
- SVX_DLLPRIVATE virtual SfxPoolItem* Create( SvStream& rIn, USHORT nVer ) const;
+ SVX_DLLPRIVATE virtual SfxPoolItem* Create( SvStream& rIn, sal_uInt16 nVer ) const;
SVX_DLLPRIVATE virtual SfxItemPresentation GetPresentation( SfxItemPresentation ePres,
SfxMapUnit eCoreMetric,
diff --git a/svx/inc/svx/xflbmtit.hxx b/svx/inc/svx/xflbmtit.hxx
index 476b3ec9ae48..c15310fbde41 100644..100755
--- a/svx/inc/svx/xflbmtit.hxx
+++ b/svx/inc/svx/xflbmtit.hxx
@@ -42,11 +42,11 @@ class SVX_DLLPUBLIC XFillBmpTileItem : public SfxBoolItem
{
public:
TYPEINFO();
- XFillBmpTileItem( BOOL bTile = TRUE );
+ XFillBmpTileItem( sal_Bool bTile = sal_True );
XFillBmpTileItem( SvStream& rIn );
virtual SfxPoolItem* Clone( SfxItemPool* pPool = NULL ) const;
- virtual SfxPoolItem* Create( SvStream& rIn, USHORT nVer ) const;
+ virtual SfxPoolItem* Create( SvStream& rIn, sal_uInt16 nVer ) const;
virtual SfxItemPresentation GetPresentation( SfxItemPresentation ePres,
SfxMapUnit eCoreMetric,
diff --git a/svx/inc/svx/xflboxy.hxx b/svx/inc/svx/xflboxy.hxx
index cbd1423c536d..0f35b8994e6c 100644..100755
--- a/svx/inc/svx/xflboxy.hxx
+++ b/svx/inc/svx/xflboxy.hxx
@@ -42,11 +42,11 @@ class SVX_DLLPUBLIC XFillBmpPosOffsetXItem : public SfxUInt16Item
{
public:
TYPEINFO();
- XFillBmpPosOffsetXItem( USHORT nOffPosX = 0 );
+ XFillBmpPosOffsetXItem( sal_uInt16 nOffPosX = 0 );
SVX_DLLPRIVATE XFillBmpPosOffsetXItem( SvStream& rIn );
SVX_DLLPRIVATE virtual SfxPoolItem* Clone( SfxItemPool* pPool = 0 ) const;
- SVX_DLLPRIVATE virtual SfxPoolItem* Create( SvStream& rIn, USHORT nVer ) const;
+ SVX_DLLPRIVATE virtual SfxPoolItem* Create( SvStream& rIn, sal_uInt16 nVer ) const;
SVX_DLLPRIVATE virtual SfxItemPresentation GetPresentation( SfxItemPresentation ePres,
SfxMapUnit eCoreMetric,
@@ -65,11 +65,11 @@ class SVX_DLLPUBLIC XFillBmpPosOffsetYItem : public SfxUInt16Item
{
public:
TYPEINFO();
- XFillBmpPosOffsetYItem( USHORT nOffPosY = 0 );
+ XFillBmpPosOffsetYItem( sal_uInt16 nOffPosY = 0 );
SVX_DLLPRIVATE XFillBmpPosOffsetYItem( SvStream& rIn );
SVX_DLLPRIVATE virtual SfxPoolItem* Clone( SfxItemPool* pPool = 0 ) const;
- SVX_DLLPRIVATE virtual SfxPoolItem* Create( SvStream& rIn, USHORT nVer ) const;
+ SVX_DLLPRIVATE virtual SfxPoolItem* Create( SvStream& rIn, sal_uInt16 nVer ) const;
SVX_DLLPRIVATE virtual SfxItemPresentation GetPresentation( SfxItemPresentation ePres,
SfxMapUnit eCoreMetric,
diff --git a/svx/inc/svx/xflbstit.hxx b/svx/inc/svx/xflbstit.hxx
index 2cc0ae9f34ba..3e5a3c4bc82e 100644..100755
--- a/svx/inc/svx/xflbstit.hxx
+++ b/svx/inc/svx/xflbstit.hxx
@@ -42,11 +42,11 @@ class SVX_DLLPUBLIC XFillBmpStretchItem : public SfxBoolItem
{
public:
TYPEINFO();
- XFillBmpStretchItem( BOOL bStretch = TRUE );
+ XFillBmpStretchItem( sal_Bool bStretch = sal_True );
XFillBmpStretchItem( SvStream& rIn );
virtual SfxPoolItem* Clone( SfxItemPool* pPool = NULL ) const;
- virtual SfxPoolItem* Create( SvStream& rIn, USHORT nVer ) const;
+ virtual SfxPoolItem* Create( SvStream& rIn, sal_uInt16 nVer ) const;
virtual SfxItemPresentation GetPresentation( SfxItemPresentation ePres,
SfxMapUnit eCoreMetric,
diff --git a/svx/inc/svx/xflbtoxy.hxx b/svx/inc/svx/xflbtoxy.hxx
index c1149f893f9b..14ff2d063ddd 100644..100755
--- a/svx/inc/svx/xflbtoxy.hxx
+++ b/svx/inc/svx/xflbtoxy.hxx
@@ -42,11 +42,11 @@ class SVX_DLLPUBLIC XFillBmpTileOffsetXItem : public SfxUInt16Item
{
public:
TYPEINFO();
- XFillBmpTileOffsetXItem( USHORT nOffX = 0 );
+ XFillBmpTileOffsetXItem( sal_uInt16 nOffX = 0 );
SVX_DLLPRIVATE XFillBmpTileOffsetXItem( SvStream& rIn );
SVX_DLLPRIVATE virtual SfxPoolItem* Clone( SfxItemPool* pPool = 0 ) const;
- SVX_DLLPRIVATE virtual SfxPoolItem* Create( SvStream& rIn, USHORT nVer ) const;
+ SVX_DLLPRIVATE virtual SfxPoolItem* Create( SvStream& rIn, sal_uInt16 nVer ) const;
SVX_DLLPRIVATE virtual SfxItemPresentation GetPresentation( SfxItemPresentation ePres,
SfxMapUnit eCoreMetric,
@@ -65,11 +65,11 @@ class SVX_DLLPUBLIC XFillBmpTileOffsetYItem : public SfxUInt16Item
{
public:
TYPEINFO();
- XFillBmpTileOffsetYItem( USHORT nOffX = 0 );
+ XFillBmpTileOffsetYItem( sal_uInt16 nOffX = 0 );
SVX_DLLPRIVATE XFillBmpTileOffsetYItem( SvStream& rIn );
SVX_DLLPRIVATE virtual SfxPoolItem* Clone( SfxItemPool* pPool = 0 ) const;
- SVX_DLLPRIVATE virtual SfxPoolItem* Create( SvStream& rIn, USHORT nVer ) const;
+ SVX_DLLPRIVATE virtual SfxPoolItem* Create( SvStream& rIn, sal_uInt16 nVer ) const;
SVX_DLLPRIVATE virtual SfxItemPresentation GetPresentation( SfxItemPresentation ePres,
SfxMapUnit eCoreMetric,
diff --git a/svx/inc/svx/xflclit.hxx b/svx/inc/svx/xflclit.hxx
index adceeb2c7357..f2920884001c 100644..100755
--- a/svx/inc/svx/xflclit.hxx
+++ b/svx/inc/svx/xflclit.hxx
@@ -44,15 +44,15 @@ class SVX_DLLPUBLIC XFillColorItem : public XColorItem
public:
TYPEINFO();
XFillColorItem() {}
- XFillColorItem(INT32 nIndex, const Color& rTheColor);
+ XFillColorItem(sal_Int32 nIndex, const Color& rTheColor);
XFillColorItem(const String& rName, const Color& rTheColor);
XFillColorItem(SvStream& rIn);
virtual SfxPoolItem* Clone(SfxItemPool* pPool = 0) const;
- virtual SfxPoolItem* Create(SvStream& rIn, USHORT nVer) const;
+ virtual SfxPoolItem* Create(SvStream& rIn, sal_uInt16 nVer) const;
- virtual bool QueryValue( com::sun::star::uno::Any& rVal, BYTE nMemberId = 0 ) const;
- virtual bool PutValue( const com::sun::star::uno::Any& rVal, BYTE nMemberId = 0 );
+ virtual bool QueryValue( com::sun::star::uno::Any& rVal, sal_uInt8 nMemberId = 0 ) const;
+ virtual bool PutValue( const com::sun::star::uno::Any& rVal, sal_uInt8 nMemberId = 0 );
virtual SfxItemPresentation GetPresentation( SfxItemPresentation ePres,
SfxMapUnit eCoreMetric,
diff --git a/svx/inc/svx/xflftrit.hxx b/svx/inc/svx/xflftrit.hxx
index 2480f94a07cc..275810bdda02 100644..100755
--- a/svx/inc/svx/xflftrit.hxx
+++ b/svx/inc/svx/xflftrit.hxx
@@ -42,31 +42,31 @@ private:
long nDummy1;
long nDummy2;
- BOOL bEnabled;
+ sal_Bool bEnabled;
public:
TYPEINFO();
XFillFloatTransparenceItem();
- XFillFloatTransparenceItem( INT32 nIndex, const XGradient& rGradient, BOOL bEnable = TRUE );
- XFillFloatTransparenceItem(const String& rName, const XGradient& rGradient, BOOL bEnable = TRUE );
- XFillFloatTransparenceItem(SfxItemPool* pPool, const XGradient& rTheGradient, BOOL bEnable = TRUE );
+ XFillFloatTransparenceItem( sal_Int32 nIndex, const XGradient& rGradient, sal_Bool bEnable = sal_True );
+ XFillFloatTransparenceItem(const String& rName, const XGradient& rGradient, sal_Bool bEnable = sal_True );
+ XFillFloatTransparenceItem(SfxItemPool* pPool, const XGradient& rTheGradient, sal_Bool bEnable = sal_True );
XFillFloatTransparenceItem(SfxItemPool* pPool );
XFillFloatTransparenceItem( const XFillFloatTransparenceItem& rItem );
virtual int operator==( const SfxPoolItem& rItem ) const;
virtual SfxPoolItem* Clone( SfxItemPool* pPool = NULL ) const;
- virtual USHORT GetVersion( USHORT nFileFormatVersion ) const;
- virtual bool QueryValue( com::sun::star::uno::Any& rVal, BYTE nMemberId = 0 ) const;
- virtual bool PutValue( const com::sun::star::uno::Any& rVal, BYTE nMemberId = 0 );
+ virtual sal_uInt16 GetVersion( sal_uInt16 nFileFormatVersion ) const;
+ virtual bool QueryValue( com::sun::star::uno::Any& rVal, sal_uInt8 nMemberId = 0 ) const;
+ virtual bool PutValue( const com::sun::star::uno::Any& rVal, sal_uInt8 nMemberId = 0 );
virtual SfxItemPresentation GetPresentation( SfxItemPresentation ePres, SfxMapUnit eCoreMetric,
SfxMapUnit ePresMetric, String &rText, const IntlWrapper * pIntlWrapper = 0 ) const;
- BOOL IsEnabled() const { return bEnabled; }
- void SetEnabled( BOOL bEnable ) { bEnabled = bEnable; }
+ sal_Bool IsEnabled() const { return bEnabled; }
+ void SetEnabled( sal_Bool bEnable ) { bEnabled = bEnable; }
- static BOOL CompareValueFunc( const NameOrIndex* p1, const NameOrIndex* p2 );
+ static sal_Bool CompareValueFunc( const NameOrIndex* p1, const NameOrIndex* p2 );
XFillFloatTransparenceItem* checkForUniqueItem( SdrModel* pModel ) const;
};
diff --git a/svx/inc/svx/xflgrit.hxx b/svx/inc/svx/xflgrit.hxx
index 47b1a278359c..dfbebcc6eaf3 100644..100755
--- a/svx/inc/svx/xflgrit.hxx
+++ b/svx/inc/svx/xflgrit.hxx
@@ -45,21 +45,21 @@ class SVX_DLLPUBLIC XFillGradientItem : public NameOrIndex
public:
TYPEINFO();
XFillGradientItem() : NameOrIndex(XATTR_FILLGRADIENT, -1) {}
- XFillGradientItem(INT32 nIndex, const XGradient& rTheGradient);
+ XFillGradientItem(sal_Int32 nIndex, const XGradient& rTheGradient);
XFillGradientItem(const UniString& rName, const XGradient& rTheGradient);
XFillGradientItem(SfxItemPool* pPool, const XGradient& rTheGradient);
XFillGradientItem(SfxItemPool* pPool );
XFillGradientItem(const XFillGradientItem& rItem);
- XFillGradientItem(SvStream& rIn, USHORT nVer = 0);
+ XFillGradientItem(SvStream& rIn, sal_uInt16 nVer = 0);
virtual int operator==(const SfxPoolItem& rItem) const;
virtual SfxPoolItem* Clone(SfxItemPool* pPool = 0) const;
- virtual SfxPoolItem* Create(SvStream& rIn, USHORT nVer) const;
- virtual SvStream& Store(SvStream& rOut, USHORT nItemVersion ) const;
- virtual USHORT GetVersion( USHORT nFileFormatVersion ) const;
+ virtual SfxPoolItem* Create(SvStream& rIn, sal_uInt16 nVer) const;
+ virtual SvStream& Store(SvStream& rOut, sal_uInt16 nItemVersion ) const;
+ virtual sal_uInt16 GetVersion( sal_uInt16 nFileFormatVersion ) const;
- virtual bool QueryValue( com::sun::star::uno::Any& rVal, BYTE nMemberId = 0 ) const;
- virtual bool PutValue( const com::sun::star::uno::Any& rVal, BYTE nMemberId = 0 );
+ virtual bool QueryValue( com::sun::star::uno::Any& rVal, sal_uInt8 nMemberId = 0 ) const;
+ virtual bool PutValue( const com::sun::star::uno::Any& rVal, sal_uInt8 nMemberId = 0 );
virtual SfxItemPresentation GetPresentation( SfxItemPresentation ePres,
SfxMapUnit eCoreMetric,
SfxMapUnit ePresMetric,
@@ -67,7 +67,7 @@ public:
const XGradient& GetGradientValue(const XGradientTable* pTable = 0) const; // GetValue -> GetGradientValue
void SetGradientValue(const XGradient& rNew) { aGradient = rNew; Detach(); } // SetValue -> SetGradientValue
- static BOOL CompareValueFunc( const NameOrIndex* p1, const NameOrIndex* p2 );
+ static sal_Bool CompareValueFunc( const NameOrIndex* p1, const NameOrIndex* p2 );
XFillGradientItem* checkForUniqueItem( SdrModel* pModel ) const;
};
diff --git a/svx/inc/svx/xflhtit.hxx b/svx/inc/svx/xflhtit.hxx
index eb4162a5385a..df25fb8f9313 100644..100755
--- a/svx/inc/svx/xflhtit.hxx
+++ b/svx/inc/svx/xflhtit.hxx
@@ -45,7 +45,7 @@ class SVX_DLLPUBLIC XFillHatchItem : public NameOrIndex
public:
TYPEINFO();
XFillHatchItem() : NameOrIndex(XATTR_FILLHATCH, -1) {}
- XFillHatchItem(INT32 nIndex, const XHatch& rTheHatch);
+ XFillHatchItem(sal_Int32 nIndex, const XHatch& rTheHatch);
XFillHatchItem(const String& rName, const XHatch& rTheHatch);
XFillHatchItem(SfxItemPool* pPool, const XHatch& rTheHatch);
XFillHatchItem(SfxItemPool* pPool );
@@ -54,11 +54,11 @@ public:
virtual int operator==(const SfxPoolItem& rItem) const;
virtual SfxPoolItem* Clone(SfxItemPool* pPool = 0) const;
- virtual SfxPoolItem* Create(SvStream& rIn, USHORT nVer) const;
- virtual SvStream& Store(SvStream& rOut, USHORT nItemVersion ) const;
+ virtual SfxPoolItem* Create(SvStream& rIn, sal_uInt16 nVer) const;
+ virtual SvStream& Store(SvStream& rOut, sal_uInt16 nItemVersion ) const;
- virtual bool QueryValue( com::sun::star::uno::Any& rVal, BYTE nMemberId = 0 ) const;
- virtual bool PutValue( const com::sun::star::uno::Any& rVal, BYTE nMemberId = 0 );
+ virtual bool QueryValue( com::sun::star::uno::Any& rVal, sal_uInt8 nMemberId = 0 ) const;
+ virtual bool PutValue( const com::sun::star::uno::Any& rVal, sal_uInt8 nMemberId = 0 );
virtual SfxItemPresentation GetPresentation( SfxItemPresentation ePres,
SfxMapUnit eCoreMetric,
SfxMapUnit ePresMetric,
@@ -69,7 +69,7 @@ public:
const XHatch& GetHatchValue(const XHatchTable* pTable = 0) const; // GetValue -> GetHatchValue
void SetHatchValue(const XHatch& rNew) { aHatch = rNew; Detach(); } // SetValue -> SetHatchValue
- static BOOL CompareValueFunc( const NameOrIndex* p1, const NameOrIndex* p2 );
+ static sal_Bool CompareValueFunc( const NameOrIndex* p1, const NameOrIndex* p2 );
XFillHatchItem* checkForUniqueItem( SdrModel* pModel ) const;
};
diff --git a/svx/inc/svx/xfltrit.hxx b/svx/inc/svx/xfltrit.hxx
index 5323567a4ba9..987586a552d8 100644..100755
--- a/svx/inc/svx/xfltrit.hxx
+++ b/svx/inc/svx/xfltrit.hxx
@@ -42,10 +42,10 @@ class SVX_DLLPUBLIC XFillTransparenceItem: public SfxUInt16Item
{
public:
TYPEINFO();
- XFillTransparenceItem(USHORT nFillTransparence = 0);
+ XFillTransparenceItem(sal_uInt16 nFillTransparence = 0);
XFillTransparenceItem(SvStream& rIn);
virtual SfxPoolItem* Clone(SfxItemPool* pPool = NULL) const;
- virtual SfxPoolItem* Create(SvStream& rIn, USHORT nVer) const;
+ virtual SfxPoolItem* Create(SvStream& rIn, sal_uInt16 nVer) const;
virtual SfxItemPresentation GetPresentation( SfxItemPresentation ePres,
SfxMapUnit eCoreMetric,
SfxMapUnit ePresMetric,
diff --git a/svx/inc/svx/xftadit.hxx b/svx/inc/svx/xftadit.hxx
index e1499ba77c9f..cd8d9c9ca687 100644..100755
--- a/svx/inc/svx/xftadit.hxx
+++ b/svx/inc/svx/xftadit.hxx
@@ -45,12 +45,12 @@ public:
XFormTextAdjustItem(XFormTextAdjust = XFT_CENTER);
XFormTextAdjustItem(SvStream& rIn);
virtual SfxPoolItem* Clone(SfxItemPool* pPool = 0) const;
- virtual SfxPoolItem* Create(SvStream& rIn, USHORT nVer) const;
- virtual USHORT GetValueCount() const;
+ virtual SfxPoolItem* Create(SvStream& rIn, sal_uInt16 nVer) const;
+ virtual sal_uInt16 GetValueCount() const;
XFormTextAdjust GetValue() const { return (XFormTextAdjust) SfxEnumItem::GetValue(); }
// #FontWork#
- virtual bool QueryValue( com::sun::star::uno::Any& rVal, BYTE nMemberId = 0 ) const;
- virtual bool PutValue( const com::sun::star::uno::Any& rVal, BYTE nMemberId = 0 );
+ virtual bool QueryValue( com::sun::star::uno::Any& rVal, sal_uInt8 nMemberId = 0 ) const;
+ virtual bool PutValue( const com::sun::star::uno::Any& rVal, sal_uInt8 nMemberId = 0 );
};
#endif
diff --git a/svx/inc/svx/xftdiit.hxx b/svx/inc/svx/xftdiit.hxx
index 80bb9c0a4d8a..a88dce143f1b 100644..100755
--- a/svx/inc/svx/xftdiit.hxx
+++ b/svx/inc/svx/xftdiit.hxx
@@ -45,7 +45,7 @@ public:
XFormTextDistanceItem(long nDist = 0);
XFormTextDistanceItem(SvStream& rIn);
virtual SfxPoolItem* Clone(SfxItemPool* pPool = 0) const;
- virtual SfxPoolItem* Create(SvStream& rIn, USHORT nVer) const;
+ virtual SfxPoolItem* Create(SvStream& rIn, sal_uInt16 nVer) const;
};
#endif
diff --git a/svx/inc/svx/xftmrit.hxx b/svx/inc/svx/xftmrit.hxx
index 3eafa71422eb..17bd37f0c4a2 100644..100755
--- a/svx/inc/svx/xftmrit.hxx
+++ b/svx/inc/svx/xftmrit.hxx
@@ -42,10 +42,10 @@ class SVX_DLLPUBLIC XFormTextMirrorItem : public SfxBoolItem
{
public:
TYPEINFO();
- XFormTextMirrorItem(BOOL bMirror = FALSE);
+ XFormTextMirrorItem(sal_Bool bMirror = sal_False);
XFormTextMirrorItem(SvStream& rIn);
virtual SfxPoolItem* Clone(SfxItemPool* pPool = 0) const;
- virtual SfxPoolItem* Create(SvStream& rIn, USHORT nVer) const;
+ virtual SfxPoolItem* Create(SvStream& rIn, sal_uInt16 nVer) const;
};
#endif
diff --git a/svx/inc/svx/xftouit.hxx b/svx/inc/svx/xftouit.hxx
index 911b2615f6ca..0e42b86703a1 100644..100755
--- a/svx/inc/svx/xftouit.hxx
+++ b/svx/inc/svx/xftouit.hxx
@@ -41,10 +41,10 @@ class SVX_DLLPUBLIC XFormTextOutlineItem : public SfxBoolItem
{
public:
TYPEINFO();
- XFormTextOutlineItem(BOOL bOutline = FALSE);
+ XFormTextOutlineItem(sal_Bool bOutline = sal_False);
XFormTextOutlineItem(SvStream& rIn);
virtual SfxPoolItem* Clone(SfxItemPool* pPool = 0) const;
- virtual SfxPoolItem* Create(SvStream& rIn, USHORT nVer) const;
+ virtual SfxPoolItem* Create(SvStream& rIn, sal_uInt16 nVer) const;
};
#endif
diff --git a/svx/inc/svx/xftsfit.hxx b/svx/inc/svx/xftsfit.hxx
index d98a9bc46c7f..804117a6b905 100644..100755
--- a/svx/inc/svx/xftsfit.hxx
+++ b/svx/inc/svx/xftsfit.hxx
@@ -44,12 +44,12 @@ public:
XFormTextStdFormItem(XFormTextStdForm = XFTFORM_NONE);
XFormTextStdFormItem(SvStream& rIn);
virtual SfxPoolItem* Clone(SfxItemPool* pPool = 0) const;
- virtual SfxPoolItem* Create(SvStream& rIn, USHORT nVer) const;
- virtual USHORT GetValueCount() const;
+ virtual SfxPoolItem* Create(SvStream& rIn, sal_uInt16 nVer) const;
+ virtual sal_uInt16 GetValueCount() const;
XFormTextStdForm GetValue() const { return (XFormTextStdForm) SfxEnumItem::GetValue(); }
// #FontWork#
- virtual bool QueryValue( com::sun::star::uno::Any& rVal, BYTE nMemberId = 0 ) const;
- virtual bool PutValue( const com::sun::star::uno::Any& rVal, BYTE nMemberId = 0 );
+ virtual bool QueryValue( com::sun::star::uno::Any& rVal, sal_uInt8 nMemberId = 0 ) const;
+ virtual bool PutValue( const com::sun::star::uno::Any& rVal, sal_uInt8 nMemberId = 0 );
};
#endif
diff --git a/svx/inc/svx/xftshcit.hxx b/svx/inc/svx/xftshcit.hxx
index 570630ce32c9..ddd1aefa8f99 100644..100755
--- a/svx/inc/svx/xftshcit.hxx
+++ b/svx/inc/svx/xftshcit.hxx
@@ -43,12 +43,12 @@ class SVX_DLLPUBLIC XFormTextShadowColorItem : public XColorItem
public:
TYPEINFO();
XFormTextShadowColorItem() {}
- XFormTextShadowColorItem(INT32 nIndex, const Color& rTheColor);
+ XFormTextShadowColorItem(sal_Int32 nIndex, const Color& rTheColor);
XFormTextShadowColorItem(const String& rName, const Color& rTheColor);
XFormTextShadowColorItem(SvStream& rIn);
virtual SfxPoolItem* Clone(SfxItemPool* pPool = 0) const;
- virtual SfxPoolItem* Create(SvStream& rIn, USHORT nVer) const;
+ virtual SfxPoolItem* Create(SvStream& rIn, sal_uInt16 nVer) const;
};
#endif
diff --git a/svx/inc/svx/xftshit.hxx b/svx/inc/svx/xftshit.hxx
index 8eff47745987..d2bf0a806729 100644..100755
--- a/svx/inc/svx/xftshit.hxx
+++ b/svx/inc/svx/xftshit.hxx
@@ -45,12 +45,12 @@ public:
XFormTextShadowItem(XFormTextShadow = XFTSHADOW_NONE);
XFormTextShadowItem(SvStream& rIn);
virtual SfxPoolItem* Clone(SfxItemPool* pPool = 0) const;
- virtual SfxPoolItem* Create(SvStream& rIn, USHORT nVer) const;
- virtual USHORT GetValueCount() const;
+ virtual SfxPoolItem* Create(SvStream& rIn, sal_uInt16 nVer) const;
+ virtual sal_uInt16 GetValueCount() const;
XFormTextShadow GetValue() const { return (XFormTextShadow) SfxEnumItem::GetValue(); }
// #FontWork#
- virtual bool QueryValue( com::sun::star::uno::Any& rVal, BYTE nMemberId = 0 ) const;
- virtual bool PutValue( const com::sun::star::uno::Any& rVal, BYTE nMemberId = 0 );
+ virtual bool QueryValue( com::sun::star::uno::Any& rVal, sal_uInt8 nMemberId = 0 ) const;
+ virtual bool PutValue( const com::sun::star::uno::Any& rVal, sal_uInt8 nMemberId = 0 );
};
#endif
diff --git a/svx/inc/svx/xftshtit.hxx b/svx/inc/svx/xftshtit.hxx
index 2df30973d38f..7761cb5492d7 100644..100755
--- a/svx/inc/svx/xftshtit.hxx
+++ b/svx/inc/svx/xftshtit.hxx
@@ -41,10 +41,10 @@ class XFormTextShadowTranspItem: public SfxUInt16Item
{
public:
TYPEINFO();
- XFormTextShadowTranspItem(USHORT nShdwTransparence = 0);
+ XFormTextShadowTranspItem(sal_uInt16 nShdwTransparence = 0);
XFormTextShadowTranspItem(SvStream& rIn);
virtual SfxPoolItem* Clone(SfxItemPool* pPool = NULL) const;
- virtual SfxPoolItem* Create(SvStream& rIn, USHORT nVer) const;
+ virtual SfxPoolItem* Create(SvStream& rIn, sal_uInt16 nVer) const;
};
#endif
diff --git a/svx/inc/svx/xftshxy.hxx b/svx/inc/svx/xftshxy.hxx
index 30329476e918..81619616a973 100644..100755
--- a/svx/inc/svx/xftshxy.hxx
+++ b/svx/inc/svx/xftshxy.hxx
@@ -45,7 +45,7 @@ public:
XFormTextShadowXValItem(long nVal = 0);
XFormTextShadowXValItem(SvStream& rIn);
virtual SfxPoolItem* Clone(SfxItemPool* pPool = 0) const;
- virtual SfxPoolItem* Create(SvStream& rIn, USHORT nVer) const;
+ virtual SfxPoolItem* Create(SvStream& rIn, sal_uInt16 nVer) const;
};
/*************************************************************************
@@ -61,7 +61,7 @@ public:
XFormTextShadowYValItem(long nVal = 0);
XFormTextShadowYValItem(SvStream& rIn);
virtual SfxPoolItem* Clone(SfxItemPool* pPool = 0) const;
- virtual SfxPoolItem* Create(SvStream& rIn, USHORT nVer) const;
+ virtual SfxPoolItem* Create(SvStream& rIn, sal_uInt16 nVer) const;
};
#endif
diff --git a/svx/inc/svx/xftstit.hxx b/svx/inc/svx/xftstit.hxx
index 3a8bd0308d7b..5f44c48349e5 100644..100755
--- a/svx/inc/svx/xftstit.hxx
+++ b/svx/inc/svx/xftstit.hxx
@@ -45,7 +45,7 @@ public:
XFormTextStartItem(long nStart = 0);
XFormTextStartItem(SvStream& rIn);
virtual SfxPoolItem* Clone(SfxItemPool* pPool = 0) const;
- virtual SfxPoolItem* Create(SvStream& rIn, USHORT nVer) const;
+ virtual SfxPoolItem* Create(SvStream& rIn, sal_uInt16 nVer) const;
};
#endif
diff --git a/svx/inc/svx/xgrad.hxx b/svx/inc/svx/xgrad.hxx
index 9dc0f83afee4..b931ac63a7b8 100644..100755
--- a/svx/inc/svx/xgrad.hxx
+++ b/svx/inc/svx/xgrad.hxx
@@ -44,20 +44,20 @@ protected:
Color aStartColor;
Color aEndColor;
long nAngle;
- USHORT nBorder;
- USHORT nOfsX;
- USHORT nOfsY;
- USHORT nIntensStart;
- USHORT nIntensEnd;
- USHORT nStepCount;
+ sal_uInt16 nBorder;
+ sal_uInt16 nOfsX;
+ sal_uInt16 nOfsY;
+ sal_uInt16 nIntensStart;
+ sal_uInt16 nIntensEnd;
+ sal_uInt16 nStepCount;
public:
XGradient();
XGradient( const Color& rStart, const Color& rEnd,
XGradientStyle eStyle = XGRAD_LINEAR, long nAngle = 0,
- USHORT nXOfs = 50, USHORT nYOfs = 50, USHORT nBorder = 0,
- USHORT nStartIntens = 100, USHORT nEndIntens = 100,
- USHORT nSteps = 0 );
+ sal_uInt16 nXOfs = 50, sal_uInt16 nYOfs = 50, sal_uInt16 nBorder = 0,
+ sal_uInt16 nStartIntens = 100, sal_uInt16 nEndIntens = 100,
+ sal_uInt16 nSteps = 0 );
bool operator==(const XGradient& rGradient) const;
@@ -65,23 +65,23 @@ public:
void SetStartColor(const Color& rColor) { aStartColor = rColor; }
void SetEndColor(const Color& rColor) { aEndColor = rColor; }
void SetAngle(long nNewAngle) { nAngle = nNewAngle; }
- void SetBorder(USHORT nNewBorder) { nBorder = nNewBorder; }
- void SetXOffset(USHORT nNewOffset) { nOfsX = nNewOffset; }
- void SetYOffset(USHORT nNewOffset) { nOfsY = nNewOffset; }
- void SetStartIntens(USHORT nNewIntens) { nIntensStart = nNewIntens; }
- void SetEndIntens(USHORT nNewIntens) { nIntensEnd = nNewIntens; }
- void SetSteps(USHORT nSteps) { nStepCount = nSteps; }
+ void SetBorder(sal_uInt16 nNewBorder) { nBorder = nNewBorder; }
+ void SetXOffset(sal_uInt16 nNewOffset) { nOfsX = nNewOffset; }
+ void SetYOffset(sal_uInt16 nNewOffset) { nOfsY = nNewOffset; }
+ void SetStartIntens(sal_uInt16 nNewIntens) { nIntensStart = nNewIntens; }
+ void SetEndIntens(sal_uInt16 nNewIntens) { nIntensEnd = nNewIntens; }
+ void SetSteps(sal_uInt16 nSteps) { nStepCount = nSteps; }
XGradientStyle GetGradientStyle() const { return eStyle; }
Color GetStartColor() const { return aStartColor; }
Color GetEndColor() const { return aEndColor; }
long GetAngle() const { return nAngle; }
- USHORT GetBorder() const { return nBorder; }
- USHORT GetXOffset() const { return nOfsX; }
- USHORT GetYOffset() const { return nOfsY; }
- USHORT GetStartIntens() const { return nIntensStart; }
- USHORT GetEndIntens() const { return nIntensEnd; }
- USHORT GetSteps() const { return nStepCount; }
+ sal_uInt16 GetBorder() const { return nBorder; }
+ sal_uInt16 GetXOffset() const { return nOfsX; }
+ sal_uInt16 GetYOffset() const { return nOfsY; }
+ sal_uInt16 GetStartIntens() const { return nIntensStart; }
+ sal_uInt16 GetEndIntens() const { return nIntensEnd; }
+ sal_uInt16 GetSteps() const { return nStepCount; }
};
#endif
diff --git a/svx/inc/svx/xgrscit.hxx b/svx/inc/svx/xgrscit.hxx
index cbb3a43c79d2..26cd65dcb4ed 100644..100755
--- a/svx/inc/svx/xgrscit.hxx
+++ b/svx/inc/svx/xgrscit.hxx
@@ -42,10 +42,10 @@ class SVX_DLLPUBLIC XGradientStepCountItem: public SfxUInt16Item
{
public:
TYPEINFO();
- XGradientStepCountItem( USHORT nStepCount = 0 );
+ XGradientStepCountItem( sal_uInt16 nStepCount = 0 );
XGradientStepCountItem( SvStream& rIn );
virtual SfxPoolItem* Clone( SfxItemPool* pPool = NULL ) const;
- virtual SfxPoolItem* Create( SvStream& rIn, USHORT nVer ) const;
+ virtual SfxPoolItem* Create( SvStream& rIn, sal_uInt16 nVer ) const;
virtual SfxItemPresentation GetPresentation( SfxItemPresentation ePres,
SfxMapUnit eCoreMetric,
SfxMapUnit ePresMetric,
diff --git a/svx/inc/svx/xhatch.hxx b/svx/inc/svx/xhatch.hxx
index d739982c24c8..d739982c24c8 100644..100755
--- a/svx/inc/svx/xhatch.hxx
+++ b/svx/inc/svx/xhatch.hxx
diff --git a/svx/inc/svx/xit.hxx b/svx/inc/svx/xit.hxx
index bce4a6bc3165..2458a04ab54c 100644..100755
--- a/svx/inc/svx/xit.hxx
+++ b/svx/inc/svx/xit.hxx
@@ -45,14 +45,14 @@ class SfxItemPool;
class NameOrIndex;
class XPropertyList;
-typedef BOOL (*SvxCompareValueFunc)( const NameOrIndex* p1, const NameOrIndex* p2 );
+typedef sal_Bool (*SvxCompareValueFunc)( const NameOrIndex* p1, const NameOrIndex* p2 );
//-------------------
// class NameOrIndex
//-------------------
class SVX_DLLPUBLIC NameOrIndex : public SfxStringItem
{
- INT32 nPalIndex;
+ sal_Int32 nPalIndex;
protected:
void Detach() { nPalIndex = -1; }
@@ -60,30 +60,30 @@ protected:
public:
TYPEINFO();
NameOrIndex() { nPalIndex = -1; }
- NameOrIndex(USHORT nWhich, INT32 nIndex);
- NameOrIndex(USHORT nWhich,
+ NameOrIndex(sal_uInt16 nWhich, sal_Int32 nIndex);
+ NameOrIndex(sal_uInt16 nWhich,
const String& rName= String());
- NameOrIndex(USHORT nWhich, SvStream& rIn);
+ NameOrIndex(sal_uInt16 nWhich, SvStream& rIn);
NameOrIndex(const NameOrIndex& rNameOrIndex);
~NameOrIndex() {};
virtual int operator==(const SfxPoolItem& rItem) const;
virtual SfxPoolItem* Clone(SfxItemPool* pPool = 0) const;
- virtual SfxPoolItem* Create(SvStream& rIn, USHORT nVer) const;
- virtual SvStream& Store(SvStream& rOut, USHORT nItemVersion ) const;
+ virtual SfxPoolItem* Create(SvStream& rIn, sal_uInt16 nVer) const;
+ virtual SvStream& Store(SvStream& rOut, sal_uInt16 nItemVersion ) const;
String GetName() const { return GetValue(); }
void SetName(const String& rName) { SetValue(rName); }
- INT32 GetIndex() const { return nPalIndex; }
- void SetIndex(INT32 nIndex) { nPalIndex = nIndex; }
- BOOL IsIndex() const { return (nPalIndex >= 0); }
+ sal_Int32 GetIndex() const { return nPalIndex; }
+ void SetIndex(sal_Int32 nIndex) { nPalIndex = nIndex; }
+ sal_Bool IsIndex() const { return (nPalIndex >= 0); }
/** this static checks if the given NameOrIndex item has a unique name for its value.
The returned String is a unique name for an item with this value in both given pools.
Argument pPool2 can be null.
If returned string equals NameOrIndex->GetName(), the name was already unique.
*/
- static String CheckNamedItem( const NameOrIndex* pCheckItem, const sal_uInt16 nWhich, const SfxItemPool* pPool1, const SfxItemPool* pPool2, SvxCompareValueFunc pCompareValueFunc, USHORT nPrefixResId, XPropertyList* pDefaults = NULL );
+ static String CheckNamedItem( const NameOrIndex* pCheckItem, const sal_uInt16 nWhich, const SfxItemPool* pPool1, const SfxItemPool* pPool2, SvxCompareValueFunc pCompareValueFunc, sal_uInt16 nPrefixResId, XPropertyList* pDefaults = NULL );
};
#endif
diff --git a/svx/inc/svx/xlineit.hxx b/svx/inc/svx/xlineit.hxx
index e5a465e9d587..e5a465e9d587 100644..100755
--- a/svx/inc/svx/xlineit.hxx
+++ b/svx/inc/svx/xlineit.hxx
diff --git a/svx/inc/svx/xlineit0.hxx b/svx/inc/svx/xlineit0.hxx
index f31e5aa145ae..4de5f42202b7 100644..100755
--- a/svx/inc/svx/xlineit0.hxx
+++ b/svx/inc/svx/xlineit0.hxx
@@ -43,16 +43,16 @@ public:
XLineStyleItem(XLineStyle = XLINE_SOLID);
XLineStyleItem(SvStream& rIn);
virtual SfxPoolItem* Clone(SfxItemPool* pPool = 0) const;
- virtual SfxPoolItem* Create(SvStream& rIn, USHORT nVer) const;
+ virtual SfxPoolItem* Create(SvStream& rIn, sal_uInt16 nVer) const;
- virtual bool QueryValue( com::sun::star::uno::Any& rVal, BYTE nMemberId = 0 ) const;
- virtual bool PutValue( const com::sun::star::uno::Any& rVal, BYTE nMemberId = 0 );
+ virtual bool QueryValue( com::sun::star::uno::Any& rVal, sal_uInt8 nMemberId = 0 ) const;
+ virtual bool PutValue( const com::sun::star::uno::Any& rVal, sal_uInt8 nMemberId = 0 );
virtual SfxItemPresentation GetPresentation( SfxItemPresentation ePres,
SfxMapUnit eCoreMetric,
SfxMapUnit ePresMetric,
String &rText, const IntlWrapper * = 0 ) const;
- virtual USHORT GetValueCount() const;
+ virtual sal_uInt16 GetValueCount() const;
XLineStyle GetValue() const { return (XLineStyle) SfxEnumItem::GetValue(); }
};
diff --git a/svx/inc/svx/xlinjoit.hxx b/svx/inc/svx/xlinjoit.hxx
index aeff41d53aa7..454843485784 100644..100755
--- a/svx/inc/svx/xlinjoit.hxx
+++ b/svx/inc/svx/xlinjoit.hxx
@@ -44,17 +44,17 @@ public:
XLineJointItem( XLineJoint eLineJoint = XLINEJOINT_ROUND );
XLineJointItem( SvStream& rIn );
- virtual USHORT GetVersion( USHORT nFileFormatVersion ) const;
+ virtual sal_uInt16 GetVersion( sal_uInt16 nFileFormatVersion ) const;
virtual SfxPoolItem* Clone( SfxItemPool* pPool = 0 ) const;
- virtual SfxPoolItem* Create( SvStream& rIn, USHORT nVer ) const;
+ virtual SfxPoolItem* Create( SvStream& rIn, sal_uInt16 nVer ) const;
- virtual bool QueryValue( com::sun::star::uno::Any& rVal, BYTE nMemberId = 0 ) const;
- virtual bool PutValue( const com::sun::star::uno::Any& rVal, BYTE nMemberId = 0 );
+ virtual bool QueryValue( com::sun::star::uno::Any& rVal, sal_uInt8 nMemberId = 0 ) const;
+ virtual bool PutValue( const com::sun::star::uno::Any& rVal, sal_uInt8 nMemberId = 0 );
virtual SfxItemPresentation GetPresentation( SfxItemPresentation ePres,
SfxMapUnit eCoreMetric, SfxMapUnit ePresMetric,
String &rText, const IntlWrapper * = 0 ) const;
- virtual USHORT GetValueCount() const;
+ virtual sal_uInt16 GetValueCount() const;
XLineJoint GetValue() const { return (XLineJoint) SfxEnumItem::GetValue(); }
};
diff --git a/svx/inc/svx/xlnasit.hxx b/svx/inc/svx/xlnasit.hxx
index 67b61aa06c6b..410548ee2ddd 100644..100755
--- a/svx/inc/svx/xlnasit.hxx
+++ b/svx/inc/svx/xlnasit.hxx
@@ -49,8 +49,8 @@ public:
XLineAttrSetItem(const XLineAttrSetItem& rAttr,
SfxItemPool* pItemPool);
virtual SfxPoolItem* Clone( SfxItemPool* pToPool ) const;
- virtual SfxPoolItem* Create( SvStream& rStream, USHORT nVersion ) const;
- virtual SvStream& Store( SvStream& rStream, USHORT nItemVersion ) const;
+ virtual SfxPoolItem* Create( SvStream& rStream, sal_uInt16 nVersion ) const;
+ virtual SvStream& Store( SvStream& rStream, sal_uInt16 nItemVersion ) const;
};
#endif
diff --git a/svx/inc/svx/xlnclit.hxx b/svx/inc/svx/xlnclit.hxx
index b4940e7cd5e1..18921a3bfa14 100644..100755
--- a/svx/inc/svx/xlnclit.hxx
+++ b/svx/inc/svx/xlnclit.hxx
@@ -40,15 +40,15 @@ class SVX_DLLPUBLIC XLineColorItem : public XColorItem
public:
TYPEINFO();
XLineColorItem() {}
- XLineColorItem(INT32 nIndex, const Color& rTheColor);
+ XLineColorItem(sal_Int32 nIndex, const Color& rTheColor);
XLineColorItem(const String& rName, const Color& rTheColor);
XLineColorItem(SvStream& rIn);
virtual SfxPoolItem* Clone(SfxItemPool* pPool = 0) const;
- virtual SfxPoolItem* Create(SvStream& rIn, USHORT nVer) const;
+ virtual SfxPoolItem* Create(SvStream& rIn, sal_uInt16 nVer) const;
- virtual bool QueryValue( com::sun::star::uno::Any& rVal, BYTE nMemberId = 0 ) const;
- virtual bool PutValue( const com::sun::star::uno::Any& rVal, BYTE nMemberId = 0 );
+ virtual bool QueryValue( com::sun::star::uno::Any& rVal, sal_uInt8 nMemberId = 0 ) const;
+ virtual bool PutValue( const com::sun::star::uno::Any& rVal, sal_uInt8 nMemberId = 0 );
virtual SfxItemPresentation GetPresentation( SfxItemPresentation ePres,
SfxMapUnit eCoreMetric,
diff --git a/svx/inc/svx/xlndsit.hxx b/svx/inc/svx/xlndsit.hxx
index f298edfdbbf5..d3a6b17ea1db 100644..100755
--- a/svx/inc/svx/xlndsit.hxx
+++ b/svx/inc/svx/xlndsit.hxx
@@ -46,7 +46,7 @@ class SVX_DLLPUBLIC XLineDashItem : public NameOrIndex
public:
TYPEINFO();
XLineDashItem() : NameOrIndex(XATTR_LINEDASH, -1) {}
- XLineDashItem(INT32 nIndex, const XDash& rTheDash);
+ XLineDashItem(sal_Int32 nIndex, const XDash& rTheDash);
XLineDashItem(const String& rName, const XDash& rTheDash);
XLineDashItem(SfxItemPool* pPool, const XDash& rTheDash);
XLineDashItem(SfxItemPool* pPool );
@@ -55,11 +55,11 @@ public:
virtual int operator==(const SfxPoolItem& rItem) const;
virtual SfxPoolItem* Clone(SfxItemPool* pPool = 0) const;
- virtual SfxPoolItem* Create(SvStream& rIn, USHORT nVer) const;
- virtual SvStream& Store(SvStream& rOut, USHORT nItemVersion ) const;
+ virtual SfxPoolItem* Create(SvStream& rIn, sal_uInt16 nVer) const;
+ virtual SvStream& Store(SvStream& rOut, sal_uInt16 nItemVersion ) const;
- virtual bool QueryValue( com::sun::star::uno::Any& rVal, BYTE nMemberId = 0 ) const;
- virtual bool PutValue( const com::sun::star::uno::Any& rVal, BYTE nMemberId = 0 );
+ virtual bool QueryValue( com::sun::star::uno::Any& rVal, sal_uInt8 nMemberId = 0 ) const;
+ virtual bool PutValue( const com::sun::star::uno::Any& rVal, sal_uInt8 nMemberId = 0 );
virtual SfxItemPresentation GetPresentation( SfxItemPresentation ePres,
SfxMapUnit eCoreMetric,
@@ -71,7 +71,7 @@ public:
const XDash& GetDashValue(const XDashTable* pTable = 0) const; // GetValue -> GetDashValue
void SetDashValue(const XDash& rNew) { aDash = rNew; Detach(); } // SetValue -> SetDashValue
- static BOOL CompareValueFunc( const NameOrIndex* p1, const NameOrIndex* p2 );
+ static sal_Bool CompareValueFunc( const NameOrIndex* p1, const NameOrIndex* p2 );
XLineDashItem* checkForUniqueItem( SdrModel* pModel ) const;
};
diff --git a/svx/inc/svx/xlnedcit.hxx b/svx/inc/svx/xlnedcit.hxx
index 45c53755f2db..c83d6c66b307 100644..100755
--- a/svx/inc/svx/xlnedcit.hxx
+++ b/svx/inc/svx/xlnedcit.hxx
@@ -39,13 +39,13 @@ class SVX_DLLPUBLIC XLineEndCenterItem : public SfxBoolItem
{
public:
TYPEINFO();
- XLineEndCenterItem(BOOL bEndCenter = FALSE);
+ XLineEndCenterItem(sal_Bool bEndCenter = sal_False);
XLineEndCenterItem(SvStream& rIn);
virtual SfxPoolItem* Clone(SfxItemPool* pPool = 0) const;
- virtual SfxPoolItem* Create(SvStream& rIn, USHORT nVer) const;
+ virtual SfxPoolItem* Create(SvStream& rIn, sal_uInt16 nVer) const;
- virtual bool QueryValue( com::sun::star::uno::Any& rVal, BYTE nMemberId = 0 ) const;
- virtual bool PutValue( const com::sun::star::uno::Any& rVal, BYTE nMemberId = 0 );
+ virtual bool QueryValue( com::sun::star::uno::Any& rVal, sal_uInt8 nMemberId = 0 ) const;
+ virtual bool PutValue( const com::sun::star::uno::Any& rVal, sal_uInt8 nMemberId = 0 );
virtual SfxItemPresentation GetPresentation( SfxItemPresentation ePres,
SfxMapUnit eCoreMetric,
diff --git a/svx/inc/svx/xlnedit.hxx b/svx/inc/svx/xlnedit.hxx
index cc82b8bd0a95..e79cec35ca74 100644..100755
--- a/svx/inc/svx/xlnedit.hxx
+++ b/svx/inc/svx/xlnedit.hxx
@@ -44,7 +44,7 @@ class SVX_DLLPUBLIC XLineEndItem : public NameOrIndex
public:
TYPEINFO();
- XLineEndItem(INT32 nIndex = -1);
+ XLineEndItem(sal_Int32 nIndex = -1);
XLineEndItem(const String& rName, const basegfx::B2DPolyPolygon& rPolyPolygon);
XLineEndItem(SfxItemPool* pPool, const basegfx::B2DPolyPolygon& rPolyPolygon);
XLineEndItem(SfxItemPool* pPool );
@@ -53,11 +53,11 @@ public:
virtual int operator==(const SfxPoolItem& rItem) const;
virtual SfxPoolItem* Clone(SfxItemPool* pPool = 0) const;
- virtual SfxPoolItem* Create(SvStream& rIn, USHORT nVer) const;
- virtual SvStream& Store(SvStream& rOut, USHORT nItemVersion ) const;
+ virtual SfxPoolItem* Create(SvStream& rIn, sal_uInt16 nVer) const;
+ virtual SvStream& Store(SvStream& rOut, sal_uInt16 nItemVersion ) const;
- virtual bool QueryValue( com::sun::star::uno::Any& rVal, BYTE nMemberId = 0 ) const;
- virtual bool PutValue( const com::sun::star::uno::Any& rVal, BYTE nMemberId = 0 );
+ virtual bool QueryValue( com::sun::star::uno::Any& rVal, sal_uInt8 nMemberId = 0 ) const;
+ virtual bool PutValue( const com::sun::star::uno::Any& rVal, sal_uInt8 nMemberId = 0 );
virtual SfxItemPresentation GetPresentation( SfxItemPresentation ePres,
SfxMapUnit eCoreMetric,
diff --git a/svx/inc/svx/xlnedwit.hxx b/svx/inc/svx/xlnedwit.hxx
index 5eb234200a61..79b17175aa25 100644..100755
--- a/svx/inc/svx/xlnedwit.hxx
+++ b/svx/inc/svx/xlnedwit.hxx
@@ -45,10 +45,10 @@ public:
XLineEndWidthItem(long nWidth = LINE_END_WIDTH_DEFAULT);
XLineEndWidthItem(SvStream& rIn);
virtual SfxPoolItem* Clone(SfxItemPool* pPool = 0) const;
- virtual SfxPoolItem* Create(SvStream& rIn, USHORT nVer) const;
+ virtual SfxPoolItem* Create(SvStream& rIn, sal_uInt16 nVer) const;
- virtual bool QueryValue( com::sun::star::uno::Any& rVal, BYTE nMemberId = 0 ) const;
- virtual bool PutValue( const com::sun::star::uno::Any& rVal, BYTE nMemberId = 0 );
+ virtual bool QueryValue( com::sun::star::uno::Any& rVal, sal_uInt8 nMemberId = 0 ) const;
+ virtual bool PutValue( const com::sun::star::uno::Any& rVal, sal_uInt8 nMemberId = 0 );
virtual SfxItemPresentation GetPresentation( SfxItemPresentation ePres,
SfxMapUnit eCoreMetric,
diff --git a/svx/inc/svx/xlnstcit.hxx b/svx/inc/svx/xlnstcit.hxx
index 8fcfc6e3c5ea..44aaad857424 100644..100755
--- a/svx/inc/svx/xlnstcit.hxx
+++ b/svx/inc/svx/xlnstcit.hxx
@@ -39,13 +39,13 @@ class SVX_DLLPUBLIC XLineStartCenterItem : public SfxBoolItem
{
public:
TYPEINFO();
- XLineStartCenterItem(BOOL bStartCenter = FALSE);
+ XLineStartCenterItem(sal_Bool bStartCenter = sal_False);
XLineStartCenterItem(SvStream& rIn);
virtual SfxPoolItem* Clone(SfxItemPool* pPool = 0) const;
- virtual SfxPoolItem* Create(SvStream& rIn, USHORT nVer) const;
+ virtual SfxPoolItem* Create(SvStream& rIn, sal_uInt16 nVer) const;
- virtual bool QueryValue( com::sun::star::uno::Any& rVal, BYTE nMemberId = 0 ) const;
- virtual bool PutValue( const com::sun::star::uno::Any& rVal, BYTE nMemberId = 0 );
+ virtual bool QueryValue( com::sun::star::uno::Any& rVal, sal_uInt8 nMemberId = 0 ) const;
+ virtual bool PutValue( const com::sun::star::uno::Any& rVal, sal_uInt8 nMemberId = 0 );
virtual SfxItemPresentation GetPresentation( SfxItemPresentation ePres,
SfxMapUnit eCoreMetric,
diff --git a/svx/inc/svx/xlnstit.hxx b/svx/inc/svx/xlnstit.hxx
index c1ad1392cff9..403629ca970c 100644..100755
--- a/svx/inc/svx/xlnstit.hxx
+++ b/svx/inc/svx/xlnstit.hxx
@@ -44,7 +44,7 @@ class SVX_DLLPUBLIC XLineStartItem : public NameOrIndex
public:
TYPEINFO();
- XLineStartItem(INT32 nIndex = -1);
+ XLineStartItem(sal_Int32 nIndex = -1);
XLineStartItem(const String& rName, const basegfx::B2DPolyPolygon& rPolyPolygon);
XLineStartItem(SfxItemPool* pPool, const basegfx::B2DPolyPolygon& rPolyPolygon);
XLineStartItem(SfxItemPool* pPool );
@@ -53,11 +53,11 @@ public:
virtual int operator==(const SfxPoolItem& rItem) const;
virtual SfxPoolItem* Clone(SfxItemPool* pPool = 0) const;
- virtual SfxPoolItem* Create(SvStream& rIn, USHORT nVer) const;
- virtual SvStream& Store(SvStream& rOut, USHORT nItemVersion ) const;
+ virtual SfxPoolItem* Create(SvStream& rIn, sal_uInt16 nVer) const;
+ virtual SvStream& Store(SvStream& rOut, sal_uInt16 nItemVersion ) const;
- virtual bool QueryValue( com::sun::star::uno::Any& rVal, BYTE nMemberId = 0 ) const;
- virtual bool PutValue( const com::sun::star::uno::Any& rVal, BYTE nMemberId = 0 );
+ virtual bool QueryValue( com::sun::star::uno::Any& rVal, sal_uInt8 nMemberId = 0 ) const;
+ virtual bool PutValue( const com::sun::star::uno::Any& rVal, sal_uInt8 nMemberId = 0 );
virtual SfxItemPresentation GetPresentation( SfxItemPresentation ePres,
SfxMapUnit eCoreMetric,
diff --git a/svx/inc/svx/xlnstwit.hxx b/svx/inc/svx/xlnstwit.hxx
index 90ff75986c87..aae5cd8baa32 100644..100755
--- a/svx/inc/svx/xlnstwit.hxx
+++ b/svx/inc/svx/xlnstwit.hxx
@@ -44,10 +44,10 @@ public:
XLineStartWidthItem(long nWidth = LINE_START_WIDTH_DEFAULT);
XLineStartWidthItem(SvStream& rIn);
virtual SfxPoolItem* Clone(SfxItemPool* pPool = 0) const;
- virtual SfxPoolItem* Create(SvStream& rIn, USHORT nVer) const;
+ virtual SfxPoolItem* Create(SvStream& rIn, sal_uInt16 nVer) const;
- virtual bool QueryValue( com::sun::star::uno::Any& rVal, BYTE nMemberId = 0 ) const;
- virtual bool PutValue( const com::sun::star::uno::Any& rVal, BYTE nMemberId = 0 );
+ virtual bool QueryValue( com::sun::star::uno::Any& rVal, sal_uInt8 nMemberId = 0 ) const;
+ virtual bool PutValue( const com::sun::star::uno::Any& rVal, sal_uInt8 nMemberId = 0 );
virtual SfxItemPresentation GetPresentation( SfxItemPresentation ePres,
SfxMapUnit eCoreMetric,
diff --git a/svx/inc/svx/xlntrit.hxx b/svx/inc/svx/xlntrit.hxx
index 801241c9e3d0..be0d6d02309c 100644..100755
--- a/svx/inc/svx/xlntrit.hxx
+++ b/svx/inc/svx/xlntrit.hxx
@@ -42,10 +42,10 @@ class SVX_DLLPUBLIC XLineTransparenceItem: public SfxUInt16Item
{
public:
TYPEINFO();
- XLineTransparenceItem(USHORT nLineTransparence = 0);
+ XLineTransparenceItem(sal_uInt16 nLineTransparence = 0);
XLineTransparenceItem(SvStream& rIn);
virtual SfxPoolItem* Clone(SfxItemPool* pPool = NULL) const;
- virtual SfxPoolItem* Create(SvStream& rIn, USHORT nVer) const;
+ virtual SfxPoolItem* Create(SvStream& rIn, sal_uInt16 nVer) const;
virtual SfxItemPresentation GetPresentation( SfxItemPresentation ePres,
SfxMapUnit eCoreMetric,
SfxMapUnit ePresMetric,
diff --git a/svx/inc/svx/xlnwtit.hxx b/svx/inc/svx/xlnwtit.hxx
index 16460adcfc3f..7c511e7110ed 100644..100755
--- a/svx/inc/svx/xlnwtit.hxx
+++ b/svx/inc/svx/xlnwtit.hxx
@@ -42,10 +42,10 @@ public:
XLineWidthItem(long nWidth = 0);
XLineWidthItem(SvStream& rIn);
virtual SfxPoolItem* Clone(SfxItemPool* pPool = 0) const;
- virtual SfxPoolItem* Create(SvStream& rIn, USHORT nVer) const;
+ virtual SfxPoolItem* Create(SvStream& rIn, sal_uInt16 nVer) const;
- virtual bool QueryValue( com::sun::star::uno::Any& rVal, BYTE nMemberId = 0 ) const;
- virtual bool PutValue( const com::sun::star::uno::Any& rVal, BYTE nMemberId = 0 );
+ virtual bool QueryValue( com::sun::star::uno::Any& rVal, sal_uInt8 nMemberId = 0 ) const;
+ virtual bool PutValue( const com::sun::star::uno::Any& rVal, sal_uInt8 nMemberId = 0 );
virtual SfxItemPresentation GetPresentation( SfxItemPresentation ePres,
SfxMapUnit eCoreMetric,
diff --git a/svx/inc/xmleohlp.hxx b/svx/inc/svx/xmleohlp.hxx
index 88d965133367..88d965133367 100644..100755
--- a/svx/inc/xmleohlp.hxx
+++ b/svx/inc/svx/xmleohlp.hxx
diff --git a/svx/inc/xmlexchg.hxx b/svx/inc/svx/xmlexchg.hxx
index 8c35ee3e333b..8c35ee3e333b 100644..100755
--- a/svx/inc/xmlexchg.hxx
+++ b/svx/inc/svx/xmlexchg.hxx
diff --git a/svx/inc/xmlgrhlp.hxx b/svx/inc/svx/xmlgrhlp.hxx
index 73acfe2f2aef..f8260b9dfd95 100644..100755
--- a/svx/inc/xmlgrhlp.hxx
+++ b/svx/inc/svx/xmlgrhlp.hxx
@@ -86,7 +86,7 @@ private:
SVX_DLLPRIVATE ::com::sun::star::uno::Reference < ::com::sun::star::embed::XStorage > ImplGetGraphicStorage( const ::rtl::OUString& rPictureStorageName );
SVX_DLLPRIVATE SvxGraphicHelperStream_Impl ImplGetGraphicStream( const ::rtl::OUString& rPictureStorageName,
const ::rtl::OUString& rPictureStreamName,
- BOOL bTruncate );
+ sal_Bool bTruncate );
SVX_DLLPRIVATE String ImplGetGraphicMimeType( const String& rFileName ) const;
SVX_DLLPRIVATE Graphic ImplReadGraphic( const ::rtl::OUString& rPictureStorageName,
const ::rtl::OUString& rPictureStreamName );
@@ -100,7 +100,7 @@ protected:
~SvXMLGraphicHelper();
void Init( const ::com::sun::star::uno::Reference < ::com::sun::star::embed::XStorage >& xXMLStorage,
SvXMLGraphicHelperMode eCreateMode,
- BOOL bDirect );
+ sal_Bool bDirect );
virtual void SAL_CALL disposing();
@@ -109,7 +109,7 @@ public:
static SvXMLGraphicHelper* Create( const ::com::sun::star::uno::Reference < ::com::sun::star::embed::XStorage >& rXMLStorage,
SvXMLGraphicHelperMode eCreateMode,
- BOOL bDirect = TRUE );
+ sal_Bool bDirect = sal_True );
static SvXMLGraphicHelper* Create( SvXMLGraphicHelperMode eCreateMode );
static void Destroy( SvXMLGraphicHelper* pSvXMLGraphicHelper );
@@ -137,7 +137,7 @@ namespace svx
You should call dispose after you no longer need this component.
- uses eCreateMode == GRAPHICHELPER_MODE_READ, bDirect == TRUE in
+ uses eCreateMode == GRAPHICHELPER_MODE_READ, bDirect == sal_True in
SvXMLGraphicHelper
*/
SVX_DLLPUBLIC ::com::sun::star::uno::Reference< ::com::sun::star::uno::XInterface > SAL_CALL SvXMLGraphicImportHelper_createInstance(const ::com::sun::star::uno::Reference< ::com::sun::star::lang::XMultiServiceFactory > & rSMgr) throw( ::com::sun::star::uno::Exception );
@@ -153,7 +153,7 @@ SVX_DLLPUBLIC ::rtl::OUString SAL_CALL SvXMLGraphicImportHelper_getImplementatio
To write the Pictures stream, you have to call dispose at this component.
Make sure you call dipose before you commit the parent storage.
- uses eCreateMode == GRAPHICHELPER_MODE_WRITE, bDirect == TRUE in
+ uses eCreateMode == GRAPHICHELPER_MODE_WRITE, bDirect == sal_True in
SvXMLGraphicHelper
*/
SVX_DLLPUBLIC ::com::sun::star::uno::Reference< ::com::sun::star::uno::XInterface > SAL_CALL SvXMLGraphicExportHelper_createInstance(const ::com::sun::star::uno::Reference< ::com::sun::star::lang::XMultiServiceFactory > & rSMgr) throw( ::com::sun::star::uno::Exception );
diff --git a/svx/inc/xmlsecctrl.hxx b/svx/inc/svx/xmlsecctrl.hxx
index c1156f6a1907..df6d9f7a603d 100644..100755
--- a/svx/inc/xmlsecctrl.hxx
+++ b/svx/inc/svx/xmlsecctrl.hxx
@@ -47,10 +47,10 @@ private:
public:
SFX_DECL_STATUSBAR_CONTROL();
- XmlSecStatusBarControl( USHORT _nSlotId, USHORT _nId, StatusBar& _rStb );
+ XmlSecStatusBarControl( sal_uInt16 _nSlotId, sal_uInt16 _nId, StatusBar& _rStb );
~XmlSecStatusBarControl();
- virtual void StateChanged( USHORT nSID, SfxItemState eState, const SfxPoolItem* pState );
+ virtual void StateChanged( sal_uInt16 nSID, SfxItemState eState, const SfxPoolItem* pState );
virtual void Paint( const UserDrawEvent& rEvt );
virtual void Command( const CommandEvent& rCEvt );
static long GetDefItemWidth( StatusBar& _rStatusBar );
diff --git a/svx/inc/xoutbmp.hxx b/svx/inc/svx/xoutbmp.hxx
index bfffd4ea9f8a..63e6411961c3 100644..100755
--- a/svx/inc/xoutbmp.hxx
+++ b/svx/inc/svx/xoutbmp.hxx
@@ -68,24 +68,24 @@ public:
static BitmapEx CreateQuickDrawBitmapEx( const Graphic& rGraphic, const OutputDevice& rCompDev,
const MapMode& rMapMode, const Size& rLogSize,
const Point& rPoint, const Size& rSize );
- static Graphic MirrorGraphic( const Graphic& rGraphic, const ULONG nMirrorFlags );
- static Animation MirrorAnimation( const Animation& rAnimation, BOOL bHMirr, BOOL bVMirr );
- static USHORT WriteGraphic( const Graphic& rGraphic, String& rFileName,
- const String& rFilterName, const ULONG nFlags = 0L,
+ static Graphic MirrorGraphic( const Graphic& rGraphic, const sal_uIntPtr nMirrorFlags );
+ static Animation MirrorAnimation( const Animation& rAnimation, sal_Bool bHMirr, sal_Bool bVMirr );
+ static sal_uInt16 WriteGraphic( const Graphic& rGraphic, String& rFileName,
+ const String& rFilterName, const sal_uIntPtr nFlags = 0L,
const Size* pMtfSize_100TH_MM = NULL );
static void DrawQuickDrawBitmapEx( OutputDevice* pOutDev, const Point& rPt,
const Size& rSize, const BitmapEx& rBmpEx );
static void DrawTiledBitmapEx( OutputDevice* pOutDev, const Point& rStartPt, const Size& rGrfSize,
const Rectangle& rTileRect, const BitmapEx& rBmpEx );
- static USHORT ExportGraphic( const Graphic& rGraphic, const INetURLObject& rURL,
- GraphicFilter& rFilter, const USHORT nFormat,
+ static sal_uInt16 ExportGraphic( const Graphic& rGraphic, const INetURLObject& rURL,
+ GraphicFilter& rFilter, const sal_uInt16 nFormat,
const com::sun::star::uno::Sequence< com::sun::star::beans::PropertyValue >* pFilterData = NULL );
- static Bitmap DetectEdges( const Bitmap& rBmp, const BYTE cThreshold );
+ static Bitmap DetectEdges( const Bitmap& rBmp, const sal_uInt8 cThreshold );
- static Polygon GetCountour( const Bitmap& rBmp, const ULONG nContourFlags,
- const BYTE cEdgeDetectThreshold = 50,
+ static Polygon GetCountour( const Bitmap& rBmp, const sal_uIntPtr nContourFlags,
+ const sal_uInt8 cEdgeDetectThreshold = 50,
const Rectangle* pWorkRect = NULL );
};
@@ -93,7 +93,7 @@ public:
// - DitherBitmap -
// ----------------
-SVX_DLLPUBLIC BOOL DitherBitmap( Bitmap& rBitmap );
+SVX_DLLPUBLIC sal_Bool DitherBitmap( Bitmap& rBitmap );
#endif // _XOUTBMP_HXX
diff --git a/svx/inc/svx/xpoly.hxx b/svx/inc/svx/xpoly.hxx
index 75ac1f0daf87..78523a9bb16d 100644..100755
--- a/svx/inc/svx/xpoly.hxx
+++ b/svx/inc/svx/xpoly.hxx
@@ -46,11 +46,7 @@ class OutputDevice;
#define XPOLYPOLY_APPEND 0xFFFF
#define XPOLY_APPEND 0xFFFF
-#ifdef WIN // Windows 16 Bit
-#define XPOLY_MAXPOINTS 8160 /* =0xFF00/sizeof(Point), also mit etwas Platz! */
-#else
#define XPOLY_MAXPOINTS 0xFFF0 /* Auch fuer die 32-Bitter etwas Luft lassen */
-#endif
/************************************************************************/
// Punktstile im XPolygon:
@@ -80,59 +76,59 @@ protected:
void CheckReference();
// Hilfsfunktionen fuer Bezierkonvertierung
- void SubdivideBezier(USHORT nPos, BOOL bCalcFirst, double fT);
+ void SubdivideBezier(sal_uInt16 nPos, sal_Bool bCalcFirst, double fT);
void GenBezArc(const Point& rCenter, long nRx, long nRy,
- long nXHdl, long nYHdl, USHORT nStart, USHORT nEnd,
- USHORT nQuad, USHORT nFirst);
- BOOL CheckAngles(USHORT& nStart, USHORT nEnd, USHORT& nA1, USHORT& nA2);
+ long nXHdl, long nYHdl, sal_uInt16 nStart, sal_uInt16 nEnd,
+ sal_uInt16 nQuad, sal_uInt16 nFirst);
+ sal_Bool CheckAngles(sal_uInt16& nStart, sal_uInt16 nEnd, sal_uInt16& nA1, sal_uInt16& nA2);
public:
- XPolygon( USHORT nSize=16, USHORT nResize=16 );
+ XPolygon( sal_uInt16 nSize=16, sal_uInt16 nResize=16 );
XPolygon( const XPolygon& rXPoly );
XPolygon( const Polygon& rPoly );
XPolygon( const Rectangle& rRect, long nRx = 0, long nRy = 0 );
XPolygon( const Point& rCenter, long nRx, long nRy,
- USHORT nStartAngle = 0, USHORT nEndAngle = 3600,
- BOOL bClose = TRUE );
+ sal_uInt16 nStartAngle = 0, sal_uInt16 nEndAngle = 3600,
+ sal_Bool bClose = sal_True );
~XPolygon();
- void SetSize( USHORT nSize );
- USHORT GetSize() const;
+ void SetSize( sal_uInt16 nSize );
+ sal_uInt16 GetSize() const;
- void SetPointCount( USHORT nPoints );
- USHORT GetPointCount() const;
+ void SetPointCount( sal_uInt16 nPoints );
+ sal_uInt16 GetPointCount() const;
- void Insert( USHORT nPos, const Point& rPt, XPolyFlags eFlags );
- void Insert( USHORT nPos, const XPolygon& rXPoly );
- void Insert( USHORT nPos, const Polygon& rPoly );
- void Remove( USHORT nPos, USHORT nCount );
+ void Insert( sal_uInt16 nPos, const Point& rPt, XPolyFlags eFlags );
+ void Insert( sal_uInt16 nPos, const XPolygon& rXPoly );
+ void Insert( sal_uInt16 nPos, const Polygon& rPoly );
+ void Remove( sal_uInt16 nPos, sal_uInt16 nCount );
void Move( long nHorzMove, long nVertMove );
Rectangle GetBoundRect() const;
- const Point& operator[]( USHORT nPos ) const;
- Point& operator[]( USHORT nPos );
+ const Point& operator[]( sal_uInt16 nPos ) const;
+ Point& operator[]( sal_uInt16 nPos );
XPolygon& operator=( const XPolygon& rXPoly );
- BOOL operator==( const XPolygon& rXPoly ) const;
- BOOL operator!=( const XPolygon& rXPoly ) const;
+ sal_Bool operator==( const XPolygon& rXPoly ) const;
+ sal_Bool operator!=( const XPolygon& rXPoly ) const;
- XPolyFlags GetFlags( USHORT nPos ) const;
- void SetFlags( USHORT nPos, XPolyFlags eFlags );
- BOOL IsControl(USHORT nPos) const;
- BOOL IsSmooth(USHORT nPos) const;
+ XPolyFlags GetFlags( sal_uInt16 nPos ) const;
+ void SetFlags( sal_uInt16 nPos, XPolyFlags eFlags );
+ sal_Bool IsControl(sal_uInt16 nPos) const;
+ sal_Bool IsSmooth(sal_uInt16 nPos) const;
// Abstand zwischen zwei Punkten
- double CalcDistance(USHORT nP1, USHORT nP2);
+ double CalcDistance(sal_uInt16 nP1, sal_uInt16 nP2);
// Bezierkonvertierungen
- void CalcSmoothJoin(USHORT nCenter, USHORT nDrag, USHORT nPnt);
- void CalcTangent(USHORT nCenter, USHORT nPrev, USHORT nNext);
- void PointsToBezier(USHORT nFirst);
+ void CalcSmoothJoin(sal_uInt16 nCenter, sal_uInt16 nDrag, sal_uInt16 nPnt);
+ void CalcTangent(sal_uInt16 nCenter, sal_uInt16 nPrev, sal_uInt16 nNext);
+ void PointsToBezier(sal_uInt16 nFirst);
// Transformationen
void Translate(const Point& rTrans);
void Rotate(const Point& rCenter, double fSin, double fCos);
- void Rotate(const Point& rCenter, USHORT nAngle);
+ void Rotate(const Point& rCenter, sal_uInt16 nAngle);
void Scale(double fSx, double fSy);
void SlantX(long nYRef, double fSin, double fCos);
void SlantY(long nXRef, double fSin, double fCos);
@@ -165,7 +161,7 @@ protected:
void CheckReference();
public:
- XPolyPolygon( USHORT nInitSize = 16, USHORT nResize = 16 );
+ XPolyPolygon( sal_uInt16 nInitSize = 16, sal_uInt16 nResize = 16 );
XPolyPolygon( const XPolygon& rXPoly );
XPolyPolygon( const XPolyPolygon& rXPolyPoly );
XPolyPolygon( const PolyPolygon& rPolyPoly);
@@ -173,31 +169,31 @@ public:
~XPolyPolygon();
void Insert( const XPolygon& rXPoly,
- USHORT nPos = XPOLYPOLY_APPEND );
+ sal_uInt16 nPos = XPOLYPOLY_APPEND );
void Insert( const XPolyPolygon& rXPoly,
- USHORT nPos=XPOLYPOLY_APPEND );
- XPolygon Remove( USHORT nPos );
- XPolygon Replace( const XPolygon& rXPoly, USHORT nPos );
- const XPolygon& GetObject( USHORT nPos ) const;
+ sal_uInt16 nPos=XPOLYPOLY_APPEND );
+ XPolygon Remove( sal_uInt16 nPos );
+ XPolygon Replace( const XPolygon& rXPoly, sal_uInt16 nPos );
+ const XPolygon& GetObject( sal_uInt16 nPos ) const;
void Clear();
- USHORT Count() const;
+ sal_uInt16 Count() const;
void Move( long nHorzMove, long nVertMove );
Rectangle GetBoundRect() const;
- const XPolygon& operator[]( USHORT nPos ) const
+ const XPolygon& operator[]( sal_uInt16 nPos ) const
{ return GetObject( nPos ); }
- XPolygon& operator[]( USHORT nPos );
+ XPolygon& operator[]( sal_uInt16 nPos );
XPolyPolygon& operator=( const XPolyPolygon& rXPolyPoly );
- BOOL operator==( const XPolyPolygon& rXPolyPoly ) const;
- BOOL operator!=( const XPolyPolygon& rXPolyPoly ) const;
+ sal_Bool operator==( const XPolyPolygon& rXPolyPoly ) const;
+ sal_Bool operator!=( const XPolyPolygon& rXPolyPoly ) const;
// Transformationen
void Translate(const Point& rTrans);
void Rotate(const Point& rCenter, double fSin, double fCos);
- void Rotate(const Point& rCenter, USHORT nAngle);
+ void Rotate(const Point& rCenter, sal_uInt16 nAngle);
void Scale(double fSx, double fSy);
void SlantX(long nYRef, double fSin, double fCos);
void SlantY(long nXRef, double fSin, double fCos);
diff --git a/svx/inc/svx/xpool.hxx b/svx/inc/svx/xpool.hxx
index 30f9c0cadb03..30f9c0cadb03 100644..100755
--- a/svx/inc/svx/xpool.hxx
+++ b/svx/inc/svx/xpool.hxx
diff --git a/svx/inc/svx/xsetit.hxx b/svx/inc/svx/xsetit.hxx
index e698072da699..e698072da699 100644..100755
--- a/svx/inc/svx/xsetit.hxx
+++ b/svx/inc/svx/xsetit.hxx
diff --git a/svx/inc/svx/xsflclit.hxx b/svx/inc/svx/xsflclit.hxx
index 130f1ffc6320..8ac2b15249db 100644..100755
--- a/svx/inc/svx/xsflclit.hxx
+++ b/svx/inc/svx/xsflclit.hxx
@@ -39,19 +39,19 @@ class SVX_DLLPUBLIC XSecondaryFillColorItem : public XColorItem
public:
TYPEINFO();
SVX_DLLPRIVATE XSecondaryFillColorItem() {}
- SVX_DLLPRIVATE XSecondaryFillColorItem(INT32 nIndex, const Color& rTheColor);
+ SVX_DLLPRIVATE XSecondaryFillColorItem(sal_Int32 nIndex, const Color& rTheColor);
XSecondaryFillColorItem(const String& rName, const Color& rTheColor);
SVX_DLLPRIVATE XSecondaryFillColorItem(SvStream& rIn);
SVX_DLLPRIVATE virtual SfxPoolItem* Clone(SfxItemPool* pPool = 0) const;
- SVX_DLLPRIVATE virtual SfxPoolItem* Create(SvStream& rIn, USHORT nVer) const;
+ SVX_DLLPRIVATE virtual SfxPoolItem* Create(SvStream& rIn, sal_uInt16 nVer) const;
SVX_DLLPRIVATE virtual SfxItemPresentation GetPresentation( SfxItemPresentation ePres,
SfxMapUnit eCoreMetric,
SfxMapUnit ePresMetric,
String &rText, const IntlWrapper * = 0 ) const;
- SVX_DLLPRIVATE virtual USHORT GetVersion( USHORT nFileFormatVersion ) const;
+ SVX_DLLPRIVATE virtual sal_uInt16 GetVersion( sal_uInt16 nFileFormatVersion ) const;
};
diff --git a/svx/inc/svx/xtable.hxx b/svx/inc/svx/xtable.hxx
index ab0a64ae1d8d..ebaed4674aee 100644..100755
--- a/svx/inc/svx/xtable.hxx
+++ b/svx/inc/svx/xtable.hxx
@@ -198,14 +198,14 @@ protected:
Table aTable;
Table* pBmpTable;
- BOOL bTableDirty;
- BOOL bBitmapsDirty;
- BOOL bOwnPool;
+ sal_Bool bTableDirty;
+ sal_Bool bBitmapsDirty;
+ sal_Bool bOwnPool;
XPropertyTable( const String& rPath,
XOutdevItemPool* pXPool = NULL,
- USHORT nInitSize = 16,
- USHORT nReSize = 16 );
+ sal_uInt16 nInitSize = 16,
+ sal_uInt16 nReSize = 16 );
XPropertyTable( SvStream& rIn );
void Clear();
@@ -214,10 +214,10 @@ public:
long Count() const;
- BOOL Insert(long nIndex, XPropertyEntry* pEntry);
+ sal_Bool Insert(long nIndex, XPropertyEntry* pEntry);
XPropertyEntry* Replace(long nIndex, XPropertyEntry* pEntry);
- XPropertyEntry* Remove(long nIndex, USHORT nDummy);
- XPropertyEntry* Get( long nIndex, USHORT nDummy ) const;
+ XPropertyEntry* Remove(long nIndex, sal_uInt16 nDummy);
+ XPropertyEntry* Get( long nIndex, sal_uInt16 nDummy ) const;
long Get(const String& rName);
Bitmap* GetBitmap( long nIndex ) const;
@@ -226,15 +226,15 @@ public:
void SetName( const String& rString );
const String& GetPath() const { return aPath; }
void SetPath( const String& rString ) { aPath = rString; }
- BOOL IsDirty() const { return bTableDirty && bBitmapsDirty; }
- void SetDirty( BOOL bDirty = TRUE )
+ sal_Bool IsDirty() const { return bTableDirty && bBitmapsDirty; }
+ void SetDirty( sal_Bool bDirty = sal_True )
{ bTableDirty = bDirty; bBitmapsDirty = bDirty; }
- virtual BOOL Load() = 0;
- virtual BOOL Save() = 0;
- virtual BOOL Create() = 0;
- virtual BOOL CreateBitmapsForUI() = 0;
- virtual Bitmap* CreateBitmapForUI( long nIndex, BOOL bDelete = TRUE ) = 0;
+ virtual sal_Bool Load() = 0;
+ virtual sal_Bool Save() = 0;
+ virtual sal_Bool Create() = 0;
+ virtual sal_Bool CreateBitmapsForUI() = 0;
+ virtual Bitmap* CreateBitmapForUI( long nIndex, sal_Bool bDelete = sal_True ) = 0;
};
// --------------------
@@ -251,14 +251,14 @@ protected:
List aList;
List* pBmpList;
- BOOL bListDirty;
- BOOL bBitmapsDirty;
- BOOL bOwnPool;
+ sal_Bool bListDirty;
+ sal_Bool bBitmapsDirty;
+ sal_Bool bOwnPool;
XPropertyList( const String& rPath,
XOutdevItemPool* pXPool = NULL,
- USHORT nInitSize = 16,
- USHORT nReSize = 16 );
+ sal_uInt16 nInitSize = 16,
+ sal_uInt16 nReSize = 16 );
XPropertyList( SvStream& rIn );
void Clear();
@@ -269,8 +269,8 @@ public:
void Insert( XPropertyEntry* pEntry, long nIndex = LIST_APPEND );
XPropertyEntry* Replace( XPropertyEntry* pEntry, long nIndex );
- XPropertyEntry* Remove( long nIndex, USHORT nDummy );
- XPropertyEntry* Get( long nIndex, USHORT nDummy ) const;
+ XPropertyEntry* Remove( long nIndex, sal_uInt16 nDummy );
+ XPropertyEntry* Get( long nIndex, sal_uInt16 nDummy ) const;
long Get(const String& rName);
Bitmap* GetBitmap( long nIndex ) const;
@@ -279,15 +279,15 @@ public:
void SetName( const String& rString );
const String& GetPath() const { return aPath; }
void SetPath( const String& rString ) { aPath = rString; }
- BOOL IsDirty() const { return bListDirty && bBitmapsDirty; }
- void SetDirty( BOOL bDirty = TRUE )
+ sal_Bool IsDirty() const { return bListDirty && bBitmapsDirty; }
+ void SetDirty( sal_Bool bDirty = sal_True )
{ bListDirty = bDirty; bBitmapsDirty = bDirty; }
- virtual BOOL Load() = 0;
- virtual BOOL Save() = 0;
- virtual BOOL Create() = 0;
- virtual BOOL CreateBitmapsForUI() = 0;
- virtual Bitmap* CreateBitmapForUI( long nIndex, BOOL bDelete = TRUE ) = 0;
+ virtual sal_Bool Load() = 0;
+ virtual sal_Bool Save() = 0;
+ virtual sal_Bool Create() = 0;
+ virtual sal_Bool CreateBitmapsForUI() = 0;
+ virtual Bitmap* CreateBitmapForUI( long nIndex, sal_Bool bDelete = sal_True ) = 0;
};
// ------------------
@@ -299,8 +299,8 @@ class SVX_DLLPUBLIC XColorTable : public XPropertyTable
public:
explicit XColorTable( const String& rPath,
XOutdevItemPool* pXPool = NULL,
- USHORT nInitSize = 16,
- USHORT nReSize = 16 );
+ sal_uInt16 nInitSize = 16,
+ sal_uInt16 nReSize = 16 );
virtual ~XColorTable();
using XPropertyTable::Replace;
@@ -310,11 +310,11 @@ public:
using XPropertyTable::Get;
XColorEntry* GetColor(long nIndex) const;
- virtual BOOL Load();
- virtual BOOL Save();
- virtual BOOL Create();
- virtual BOOL CreateBitmapsForUI();
- virtual Bitmap* CreateBitmapForUI( long nIndex, BOOL bDelete = TRUE );
+ virtual sal_Bool Load();
+ virtual sal_Bool Save();
+ virtual sal_Bool Create();
+ virtual sal_Bool CreateBitmapsForUI();
+ virtual Bitmap* CreateBitmapForUI( long nIndex, sal_Bool bDelete = sal_True );
static XColorTable* GetStdColorTable();
};
@@ -328,8 +328,8 @@ class XColorList : public XPropertyList
public:
explicit XColorList( const String& rPath,
XOutdevItemPool* pXPool = NULL,
- USHORT nInitSize = 16,
- USHORT nReSize = 16 );
+ sal_uInt16 nInitSize = 16,
+ sal_uInt16 nReSize = 16 );
virtual ~XColorList();
using XPropertyList::Replace;
@@ -339,11 +339,11 @@ public:
using XPropertyList::Get;
XColorEntry* GetColor(long nIndex) const;
- virtual BOOL Load();
- virtual BOOL Save();
- virtual BOOL Create();
- virtual BOOL CreateBitmapsForUI();
- virtual Bitmap* CreateBitmapForUI( long nIndex, BOOL bDelete = TRUE );
+ virtual sal_Bool Load();
+ virtual sal_Bool Save();
+ virtual sal_Bool Create();
+ virtual sal_Bool CreateBitmapsForUI();
+ virtual Bitmap* CreateBitmapForUI( long nIndex, sal_Bool bDelete = sal_True );
};
// --------------------
@@ -355,8 +355,8 @@ class XLineEndTable : public XPropertyTable
public:
explicit XLineEndTable( const String& rPath,
XOutdevItemPool* pXPool = NULL,
- USHORT nInitSize = 16,
- USHORT nReSize = 16 );
+ sal_uInt16 nInitSize = 16,
+ sal_uInt16 nReSize = 16 );
virtual ~XLineEndTable();
using XPropertyTable::Replace;
@@ -366,11 +366,11 @@ public:
using XPropertyTable::Get;
XLineEndEntry* GetLineEnd(long nIndex) const;
- virtual BOOL Load();
- virtual BOOL Save();
- virtual BOOL Create();
- virtual BOOL CreateBitmapsForUI();
- virtual Bitmap* CreateBitmapForUI( long nIndex, BOOL bDelete = TRUE );
+ virtual sal_Bool Load();
+ virtual sal_Bool Save();
+ virtual sal_Bool Create();
+ virtual sal_Bool CreateBitmapsForUI();
+ virtual Bitmap* CreateBitmapForUI( long nIndex, sal_Bool bDelete = sal_True );
};
// -------------------
@@ -397,11 +397,11 @@ public:
using XPropertyList::Get;
XLineEndEntry* GetLineEnd(long nIndex) const;
- virtual BOOL Load();
- virtual BOOL Save();
- virtual BOOL Create();
- virtual BOOL CreateBitmapsForUI();
- virtual Bitmap* CreateBitmapForUI(long nIndex, BOOL bDelete = TRUE);
+ virtual sal_Bool Load();
+ virtual sal_Bool Save();
+ virtual sal_Bool Create();
+ virtual sal_Bool CreateBitmapsForUI();
+ virtual Bitmap* CreateBitmapForUI(long nIndex, sal_Bool bDelete = sal_True);
};
// --------------------
@@ -413,8 +413,8 @@ class XDashTable : public XPropertyTable
public:
explicit XDashTable( const String& rPath,
XOutdevItemPool* pXPool = NULL,
- USHORT nInitSize = 16,
- USHORT nReSize = 16 );
+ sal_uInt16 nInitSize = 16,
+ sal_uInt16 nReSize = 16 );
virtual ~XDashTable();
using XPropertyTable::Replace;
@@ -424,11 +424,11 @@ public:
using XPropertyTable::Get;
XDashEntry* GetDash(long nIndex) const;
- virtual BOOL Load();
- virtual BOOL Save();
- virtual BOOL Create();
- virtual BOOL CreateBitmapsForUI();
- virtual Bitmap* CreateBitmapForUI( long nIndex, BOOL bDelete = TRUE );
+ virtual sal_Bool Load();
+ virtual sal_Bool Save();
+ virtual sal_Bool Create();
+ virtual sal_Bool CreateBitmapsForUI();
+ virtual Bitmap* CreateBitmapForUI( long nIndex, sal_Bool bDelete = sal_True );
};
// -------------------
@@ -455,11 +455,11 @@ public:
using XPropertyList::Get;
XDashEntry* GetDash(long nIndex) const;
- virtual BOOL Load();
- virtual BOOL Save();
- virtual BOOL Create();
- virtual BOOL CreateBitmapsForUI();
- virtual Bitmap* CreateBitmapForUI(long nIndex, BOOL bDelete = TRUE);
+ virtual sal_Bool Load();
+ virtual sal_Bool Save();
+ virtual sal_Bool Create();
+ virtual sal_Bool CreateBitmapsForUI();
+ virtual Bitmap* CreateBitmapForUI(long nIndex, sal_Bool bDelete = sal_True);
};
// --------------------
@@ -471,8 +471,8 @@ class XHatchTable : public XPropertyTable
public:
explicit XHatchTable( const String& rPath,
XOutdevItemPool* pXPool = NULL,
- USHORT nInitSize = 16,
- USHORT nReSize = 16 );
+ sal_uInt16 nInitSize = 16,
+ sal_uInt16 nReSize = 16 );
virtual ~XHatchTable();
using XPropertyTable::Replace;
@@ -482,11 +482,11 @@ public:
using XPropertyTable::Get;
XHatchEntry* GetHatch(long nIndex) const;
- virtual BOOL Load();
- virtual BOOL Save();
- virtual BOOL Create();
- virtual BOOL CreateBitmapsForUI();
- virtual Bitmap* CreateBitmapForUI( long nIndex, BOOL bDelete = TRUE );
+ virtual sal_Bool Load();
+ virtual sal_Bool Save();
+ virtual sal_Bool Create();
+ virtual sal_Bool CreateBitmapsForUI();
+ virtual Bitmap* CreateBitmapForUI( long nIndex, sal_Bool bDelete = sal_True );
};
// -------------------
@@ -513,11 +513,11 @@ public:
using XPropertyList::Get;
XHatchEntry* GetHatch(long nIndex) const;
- virtual BOOL Load();
- virtual BOOL Save();
- virtual BOOL Create();
- virtual BOOL CreateBitmapsForUI();
- virtual Bitmap* CreateBitmapForUI(long nIndex, BOOL bDelete = TRUE);
+ virtual sal_Bool Load();
+ virtual sal_Bool Save();
+ virtual sal_Bool Create();
+ virtual sal_Bool CreateBitmapsForUI();
+ virtual Bitmap* CreateBitmapForUI(long nIndex, sal_Bool bDelete = sal_True);
};
// ---------------------
@@ -529,8 +529,8 @@ class XGradientTable : public XPropertyTable
public:
explicit XGradientTable( const String& rPath,
XOutdevItemPool* pXPool = NULL,
- USHORT nInitSize = 16,
- USHORT nReSize = 16 );
+ sal_uInt16 nInitSize = 16,
+ sal_uInt16 nReSize = 16 );
virtual ~XGradientTable();
using XPropertyTable::Replace;
@@ -540,11 +540,11 @@ public:
using XPropertyTable::Get;
XGradientEntry* GetGradient(long nIndex) const;
- virtual BOOL Load();
- virtual BOOL Save();
- virtual BOOL Create();
- virtual BOOL CreateBitmapsForUI();
- virtual Bitmap* CreateBitmapForUI( long nIndex, BOOL bDelete = TRUE );
+ virtual sal_Bool Load();
+ virtual sal_Bool Save();
+ virtual sal_Bool Create();
+ virtual sal_Bool CreateBitmapsForUI();
+ virtual Bitmap* CreateBitmapForUI( long nIndex, sal_Bool bDelete = sal_True );
};
// -------------------
@@ -571,11 +571,11 @@ public:
using XPropertyList::Get;
XGradientEntry* GetGradient(long nIndex) const;
- virtual BOOL Load();
- virtual BOOL Save();
- virtual BOOL Create();
- virtual BOOL CreateBitmapsForUI();
- virtual Bitmap* CreateBitmapForUI(long nIndex, BOOL bDelete = TRUE);
+ virtual sal_Bool Load();
+ virtual sal_Bool Save();
+ virtual sal_Bool Create();
+ virtual sal_Bool CreateBitmapsForUI();
+ virtual Bitmap* CreateBitmapForUI(long nIndex, sal_Bool bDelete = sal_True);
};
// ---------------------
@@ -587,8 +587,8 @@ class XBitmapTable : public XPropertyTable
public:
explicit XBitmapTable( const String& rPath,
XOutdevItemPool* pXPool = NULL,
- USHORT nInitSize = 16,
- USHORT nReSize = 16 );
+ sal_uInt16 nInitSize = 16,
+ sal_uInt16 nReSize = 16 );
virtual ~XBitmapTable();
using XPropertyTable::Replace;
@@ -598,11 +598,11 @@ public:
using XPropertyTable::Get;
XBitmapEntry* GetBitmap(long nIndex) const;
- virtual BOOL Load();
- virtual BOOL Save();
- virtual BOOL Create();
- virtual BOOL CreateBitmapsForUI();
- virtual Bitmap* CreateBitmapForUI( long nIndex, BOOL bDelete = TRUE );
+ virtual sal_Bool Load();
+ virtual sal_Bool Save();
+ virtual sal_Bool Create();
+ virtual sal_Bool CreateBitmapsForUI();
+ virtual Bitmap* CreateBitmapForUI( long nIndex, sal_Bool bDelete = sal_True );
};
// -------------------
@@ -614,8 +614,8 @@ class SVX_DLLPUBLIC XBitmapList : public XPropertyList
public:
explicit XBitmapList( const String& rPath,
XOutdevItemPool* pXPool = NULL,
- USHORT nInitSize = 16,
- USHORT nReSize = 16 );
+ sal_uInt16 nInitSize = 16,
+ sal_uInt16 nReSize = 16 );
virtual ~XBitmapList();
using XPropertyList::Replace;
@@ -625,11 +625,11 @@ public:
using XPropertyList::Get;
XBitmapEntry* GetBitmap(long nIndex) const;
- virtual BOOL Load();
- virtual BOOL Save();
- virtual BOOL Create();
- virtual BOOL CreateBitmapsForUI();
- virtual Bitmap* CreateBitmapForUI( long nIndex, BOOL bDelete = TRUE );
+ virtual sal_Bool Load();
+ virtual sal_Bool Save();
+ virtual sal_Bool Create();
+ virtual sal_Bool CreateBitmapsForUI();
+ virtual Bitmap* CreateBitmapForUI( long nIndex, sal_Bool bDelete = sal_True );
};
#endif // _XTABLE_HXX
diff --git a/svx/inc/svx/xtextit.hxx b/svx/inc/svx/xtextit.hxx
index 5831f13f02cc..5831f13f02cc 100644..100755
--- a/svx/inc/svx/xtextit.hxx
+++ b/svx/inc/svx/xtextit.hxx
diff --git a/svx/inc/svx/xtextit0.hxx b/svx/inc/svx/xtextit0.hxx
index 63dbf63679ff..2f8ba8e9f436 100644..100755
--- a/svx/inc/svx/xtextit0.hxx
+++ b/svx/inc/svx/xtextit0.hxx
@@ -46,12 +46,12 @@ public:
XFormTextStyleItem(XFormTextStyle = XFT_NONE);
XFormTextStyleItem(SvStream& rIn);
virtual SfxPoolItem* Clone(SfxItemPool* pPool = 0) const;
- virtual SfxPoolItem* Create(SvStream& rIn, USHORT nVer) const;
- virtual USHORT GetValueCount() const;
+ virtual SfxPoolItem* Create(SvStream& rIn, sal_uInt16 nVer) const;
+ virtual sal_uInt16 GetValueCount() const;
XFormTextStyle GetValue() const { return (XFormTextStyle) SfxEnumItem::GetValue(); }
// #FontWork#
- virtual bool QueryValue( com::sun::star::uno::Any& rVal, BYTE nMemberId = 0 ) const;
- virtual bool PutValue( const com::sun::star::uno::Any& rVal, BYTE nMemberId = 0 );
+ virtual bool QueryValue( com::sun::star::uno::Any& rVal, sal_uInt8 nMemberId = 0 ) const;
+ virtual bool PutValue( const com::sun::star::uno::Any& rVal, sal_uInt8 nMemberId = 0 );
};
/*************************************************************************
@@ -64,10 +64,10 @@ class SVX_DLLPUBLIC XFormTextHideFormItem : public SfxBoolItem
{
public:
TYPEINFO();
- XFormTextHideFormItem(BOOL bHide = FALSE);
+ XFormTextHideFormItem(sal_Bool bHide = sal_False);
XFormTextHideFormItem(SvStream& rIn);
virtual SfxPoolItem* Clone(SfxItemPool* pPool = 0) const;
- virtual SfxPoolItem* Create(SvStream& rIn, USHORT nVer) const;
+ virtual SfxPoolItem* Create(SvStream& rIn, sal_uInt16 nVer) const;
};
#endif
diff --git a/svx/inc/svx/zoom_def.hxx b/svx/inc/svx/zoom_def.hxx
new file mode 100755
index 000000000000..24b1c8607dab
--- /dev/null
+++ b/svx/inc/svx/zoom_def.hxx
@@ -0,0 +1,8 @@
+#ifndef _SVX_ZOOM_DEF_HXX
+#define _SVX_ZOOM_DEF_HXX
+
+#define ZOOMBTN_OPTIMAL ((sal_uInt16)0x0001)
+#define ZOOMBTN_PAGEWIDTH ((sal_uInt16)0x0002)
+#define ZOOMBTN_WHOLEPAGE ((sal_uInt16)0x0004)
+
+#endif
diff --git a/svx/inc/zoomctrl.hxx b/svx/inc/svx/zoomctrl.hxx
index a75062c36734..d45f071212f5 100644..100755
--- a/svx/inc/zoomctrl.hxx
+++ b/svx/inc/svx/zoomctrl.hxx
@@ -38,20 +38,20 @@
class SVX_DLLPUBLIC SvxZoomStatusBarControl : public SfxStatusBarControl
{
private:
- USHORT nZoom;
- USHORT nValueSet;
+ sal_uInt16 nZoom;
+ sal_uInt16 nValueSet;
public:
- virtual void StateChanged( USHORT nSID, SfxItemState eState,
+ virtual void StateChanged( sal_uInt16 nSID, SfxItemState eState,
const SfxPoolItem* pState );
virtual void Paint( const UserDrawEvent& rEvt );
virtual void Command( const CommandEvent& rCEvt );
SFX_DECL_STATUSBAR_CONTROL();
- SvxZoomStatusBarControl( USHORT nSlotId, USHORT nId, StatusBar& rStb );
+ SvxZoomStatusBarControl( sal_uInt16 nSlotId, sal_uInt16 nId, StatusBar& rStb );
- static ULONG GetDefItemWidth(const StatusBar& rStb);
+ static sal_uIntPtr GetDefItemWidth(const StatusBar& rStb);
};
diff --git a/svx/inc/svx/zoomitem.hxx b/svx/inc/svx/zoomitem.hxx
index 4a95f40a9e11..77cf645fbacd 100644..100755
--- a/svx/inc/svx/zoomitem.hxx
+++ b/svx/inc/svx/zoomitem.hxx
@@ -47,20 +47,20 @@ enum SvxZoomType
class SVX_DLLPUBLIC SvxZoomItem: public SfxUInt16Item
{
- USHORT nValueSet; // erlaubte Werte (siehe #defines unten)
+ sal_uInt16 nValueSet; // erlaubte Werte (siehe #defines unten)
SvxZoomType eType;
public:
TYPEINFO();
SvxZoomItem( SvxZoomType eZoomType = SVX_ZOOM_PERCENT,
- USHORT nVal = 0, USHORT nWhich = SID_ATTR_ZOOM );
+ sal_uInt16 nVal = 0, sal_uInt16 nWhich = SID_ATTR_ZOOM );
SvxZoomItem( const SvxZoomItem& );
~SvxZoomItem();
- void SetValueSet( USHORT nValues ) { nValueSet = nValues; }
- USHORT GetValueSet() const { return nValueSet; }
- bool IsValueAllowed( USHORT nValue ) const
+ void SetValueSet( sal_uInt16 nValues ) { nValueSet = nValues; }
+ sal_uInt16 GetValueSet() const { return nValueSet; }
+ bool IsValueAllowed( sal_uInt16 nValue ) const
{ return nValue == ( nValue & nValueSet ); }
SvxZoomType GetType() const { return eType; }
@@ -68,11 +68,11 @@ public:
{ eType = eNewType; }
virtual SfxPoolItem* Clone( SfxItemPool *pPool = 0 ) const;
- virtual SfxPoolItem* Create( SvStream& rStrm, USHORT nVersion ) const;
- virtual SvStream& Store( SvStream& rStrm , USHORT nItemVersion ) const;
+ virtual SfxPoolItem* Create( SvStream& rStrm, sal_uInt16 nVersion ) const;
+ virtual SvStream& Store( SvStream& rStrm , sal_uInt16 nItemVersion ) const;
virtual int operator==( const SfxPoolItem& ) const;
- virtual bool QueryValue( com::sun::star::uno::Any& rVal, BYTE nMemberId = 0 ) const;
- virtual bool PutValue( const com::sun::star::uno::Any& rVal, BYTE nMemberId = 0 );
+ virtual bool QueryValue( com::sun::star::uno::Any& rVal, sal_uInt8 nMemberId = 0 ) const;
+ virtual bool PutValue( const com::sun::star::uno::Any& rVal, sal_uInt8 nMemberId = 0 );
};
//------------------------------------------------------------------------
diff --git a/svx/inc/svx/zoomsliderctrl.hxx b/svx/inc/svx/zoomsliderctrl.hxx
index 48a02e494d77..39e655bf8207 100644..100755
--- a/svx/inc/svx/zoomsliderctrl.hxx
+++ b/svx/inc/svx/zoomsliderctrl.hxx
@@ -43,20 +43,20 @@ private:
struct SvxZoomSliderControl_Impl;
SvxZoomSliderControl_Impl* mpImpl;
- USHORT Offset2Zoom( long nOffset ) const;
- long Zoom2Offset( USHORT nZoom ) const;
+ sal_uInt16 Offset2Zoom( long nOffset ) const;
+ long Zoom2Offset( sal_uInt16 nZoom ) const;
public:
SFX_DECL_STATUSBAR_CONTROL();
- SvxZoomSliderControl( USHORT _nSlotId, USHORT _nId, StatusBar& _rStb );
+ SvxZoomSliderControl( sal_uInt16 _nSlotId, sal_uInt16 _nId, StatusBar& _rStb );
~SvxZoomSliderControl();
- virtual void StateChanged( USHORT nSID, SfxItemState eState, const SfxPoolItem* pState );
+ virtual void StateChanged( sal_uInt16 nSID, SfxItemState eState, const SfxPoolItem* pState );
virtual void Paint( const UserDrawEvent& rEvt );
- virtual BOOL MouseButtonDown( const MouseEvent & );
- virtual BOOL MouseMove( const MouseEvent & rEvt );
+ virtual sal_Bool MouseButtonDown( const MouseEvent & );
+ virtual sal_Bool MouseMove( const MouseEvent & rEvt );
};
#endif
diff --git a/svx/inc/svx/zoomslideritem.hxx b/svx/inc/svx/zoomslideritem.hxx
index be1d6ade1028..b8df939fff09 100644..100755
--- a/svx/inc/svx/zoomslideritem.hxx
+++ b/svx/inc/svx/zoomslideritem.hxx
@@ -38,28 +38,28 @@
class SVX_DLLPUBLIC SvxZoomSliderItem: public SfxUInt16Item
{
com::sun::star::uno::Sequence < sal_Int32 > maValues;
- USHORT mnMinZoom;
- USHORT mnMaxZoom;
+ sal_uInt16 mnMinZoom;
+ sal_uInt16 mnMaxZoom;
public:
TYPEINFO();
- SvxZoomSliderItem( USHORT nCurrentZoom = 100, USHORT nMinZoom = 20, USHORT nMaxZoom = 600, USHORT nWhich = SID_ATTR_ZOOMSLIDER );
+ SvxZoomSliderItem( sal_uInt16 nCurrentZoom = 100, sal_uInt16 nMinZoom = 20, sal_uInt16 nMaxZoom = 600, sal_uInt16 nWhich = SID_ATTR_ZOOMSLIDER );
SvxZoomSliderItem( const SvxZoomSliderItem& );
~SvxZoomSliderItem();
void AddSnappingPoint( sal_Int32 nNew );
const com::sun::star::uno::Sequence < sal_Int32 >& GetSnappingPoints() const;
- USHORT GetMinZoom() const {return mnMinZoom;}
- USHORT GetMaxZoom() const {return mnMaxZoom;}
+ sal_uInt16 GetMinZoom() const {return mnMinZoom;}
+ sal_uInt16 GetMaxZoom() const {return mnMaxZoom;}
// "pure virtual Methoden" vom SfxPoolItem
virtual int operator==( const SfxPoolItem& ) const;
virtual SfxPoolItem* Clone( SfxItemPool *pPool = 0 ) const;
- virtual SfxPoolItem* Create( SvStream& rStrm, USHORT nVersion ) const; // leer
- virtual SvStream& Store( SvStream& rStrm , USHORT nItemVersion ) const; // leer
- virtual bool QueryValue( com::sun::star::uno::Any& rVal, BYTE nMemberId = 0 ) const;
- virtual bool PutValue( const com::sun::star::uno::Any& rVal, BYTE nMemberId = 0 );
+ virtual SfxPoolItem* Create( SvStream& rStrm, sal_uInt16 nVersion ) const; // leer
+ virtual SvStream& Store( SvStream& rStrm , sal_uInt16 nItemVersion ) const; // leer
+ virtual bool QueryValue( com::sun::star::uno::Any& rVal, sal_uInt8 nMemberId = 0 ) const;
+ virtual bool PutValue( const com::sun::star::uno::Any& rVal, sal_uInt8 nMemberId = 0 );
};
//------------------------------------------------------------------------
diff --git a/svx/inc/svxempty.hxx b/svx/inc/svxempty.hxx
index 46849643f726..46849643f726 100644..100755
--- a/svx/inc/svxempty.hxx
+++ b/svx/inc/svxempty.hxx
diff --git a/svx/inc/tbunocontroller.hxx b/svx/inc/tbunocontroller.hxx
index 809fa7cef929..809fa7cef929 100644..100755
--- a/svx/inc/tbunocontroller.hxx
+++ b/svx/inc/tbunocontroller.hxx
diff --git a/svx/inc/tbunosearchcontrollers.hxx b/svx/inc/tbunosearchcontrollers.hxx
index ac25516448e2..47d1897d4837 100644..100755
--- a/svx/inc/tbunosearchcontrollers.hxx
+++ b/svx/inc/tbunosearchcontrollers.hxx
@@ -140,8 +140,8 @@ private:
FindTextFieldControl* m_pFindTextFieldControl;
- USHORT m_nDownSearchId; // item position of findbar
- USHORT m_nUpSearchId; // item position of findbar
+ sal_uInt16 m_nDownSearchId; // item position of findbar
+ sal_uInt16 m_nUpSearchId; // item position of findbar
};
diff --git a/svx/inc/uiks.hxx b/svx/inc/uiks.hxx
index e5cd01e4553a..e5cd01e4553a 100644..100755
--- a/svx/inc/uiks.hxx
+++ b/svx/inc/uiks.hxx
diff --git a/svx/inc/unomlstr.hxx b/svx/inc/unomlstr.hxx
index e11bdc67795a..e11bdc67795a 100644..100755
--- a/svx/inc/unomlstr.hxx
+++ b/svx/inc/unomlstr.hxx
diff --git a/svx/inc/xpolyimp.hxx b/svx/inc/xpolyimp.hxx
index 1b347942db89..89bb149e32a6 100644..100755
--- a/svx/inc/xpolyimp.hxx
+++ b/svx/inc/xpolyimp.hxx
@@ -37,15 +37,15 @@ class ImpXPolygon
{
public:
Point* pPointAry;
- BYTE* pFlagAry;
+ sal_uInt8* pFlagAry;
Point* pOldPointAry;
- BOOL bDeleteOldPoints;
- USHORT nSize;
- USHORT nResize;
- USHORT nPoints;
- USHORT nRefCount;
+ sal_Bool bDeleteOldPoints;
+ sal_uInt16 nSize;
+ sal_uInt16 nResize;
+ sal_uInt16 nPoints;
+ sal_uInt16 nRefCount;
- ImpXPolygon( USHORT nInitSize = 16, USHORT nResize=16 );
+ ImpXPolygon( sal_uInt16 nInitSize = 16, sal_uInt16 nResize=16 );
ImpXPolygon( const ImpXPolygon& rImpXPoly );
~ImpXPolygon();
@@ -57,13 +57,13 @@ public:
if ( bDeleteOldPoints )
{
delete[] (char*)pOldPointAry;
- bDeleteOldPoints = FALSE;
+ bDeleteOldPoints = sal_False;
}
}
- void Resize( USHORT nNewSize, BOOL bDeletePoints = TRUE );
- void InsertSpace( USHORT nPos, USHORT nCount );
- void Remove( USHORT nPos, USHORT nCount );
+ void Resize( sal_uInt16 nNewSize, sal_Bool bDeletePoints = sal_True );
+ void InsertSpace( sal_uInt16 nPos, sal_uInt16 nCount );
+ void Remove( sal_uInt16 nPos, sal_uInt16 nCount );
};
typedef ::std::vector< XPolygon* > XPolygonList;
@@ -72,7 +72,7 @@ class ImpXPolyPolygon
{
public:
XPolygonList aXPolyList;
- USHORT nRefCount;
+ sal_uInt16 nRefCount;
ImpXPolyPolygon() { nRefCount = 1; }
ImpXPolyPolygon( const ImpXPolyPolygon& rImpXPolyPoly );
diff --git a/svx/inc/zoom_def.hxx b/svx/inc/zoom_def.hxx
deleted file mode 100644
index 7b1762566b95..000000000000
--- a/svx/inc/zoom_def.hxx
+++ /dev/null
@@ -1,11 +0,0 @@
-/* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
-#ifndef _SVX_ZOOM_DEF_HXX
-#define _SVX_ZOOM_DEF_HXX
-
-#define ZOOMBTN_OPTIMAL ((USHORT)0x0001)
-#define ZOOMBTN_PAGEWIDTH ((USHORT)0x0002)
-#define ZOOMBTN_WHOLEPAGE ((USHORT)0x0004)
-
-#endif
-
-/* vim:set shiftwidth=4 softtabstop=4 expandtab: */