forked from amazingfate/loongoffice
Attempt to clean up most but certainly not all the spelling mistakes that found home in OpenOffice through decades. We could probably blame the international nature of the code but it is somewhat shameful that this wasn't done before. (cherry picked from commit 28206a7cb43aff5adb10f8235ad1680c3941ee3e) Conflicts: include/osl/file.hxx include/osl/pipe_decl.hxx include/osl/socket.h include/osl/socket_decl.hxx include/sal/main.h include/svx/dbaexchange.hxx include/svx/dlgctrl.hxx include/svx/msdffdef.hxx include/svx/sdr/contact/objectcontactofpageview.hxx include/svx/svdpntv.hxx include/ucbhelper/content.hxx include/ucbhelper/interceptedinteraction.hxx include/ucbhelper/resultsethelper.hxx include/unotools/sharedunocomponent.hxx include/unotools/viewoptions.hxx include/vcl/pdfwriter.hxx include/xmloff/txtparae.hxx include/xmloff/uniref.hxx rhino/rhino1_7R3.patch rsc/inc/rscrsc.hxx sal/inc/osl/conditn.h sal/inc/osl/security.h sal/inc/osl/semaphor.h sal/inc/osl/semaphor.hxx sal/inc/rtl/string.hxx sal/inc/rtl/tres.h sal/inc/systools/win32/StrConvert.h sal/osl/os2/file_path_helper.h sal/osl/os2/file_path_helper.hxx sal/osl/os2/file_url.cxx sal/osl/os2/file_url.h sal/osl/os2/makefile.mk sal/osl/os2/pipe.cxx sal/osl/os2/process.c sal/osl/os2/profile.c sal/osl/os2/socket.c sal/osl/os2/system.h sal/osl/unx/asm/interlck_sparc.s sal/osl/unx/file_url.cxx sal/osl/unx/signal.c sal/osl/unx/system.h sal/osl/w32/MAKEFILE.MK sal/osl/w32/interlck.c sal/osl/w32/module.cxx sal/osl/w32/security.c sal/qa/buildall.pl sal/qa/osl/file/osl_File.cxx sal/qa/osl/module/osl_Module_Const.h sal/qa/osl/mutex/osl_Mutex.cxx sal/qa/osl/pipe/osl_Pipe.cxx sal/qa/osl/process/osl_Thread.cxx sal/qa/osl/socket/osl_StreamSocket.cxx sal/qa/osl/socket/sockethelper.cxx sal/qa/rtl_strings/rtl_OUString.cxx sal/rtl/source/unload.cxx sal/systools/win32/kill/kill.cxx sal/systools/win32/uwinapi/MoveFileExA.cpp sal/test/bootstrap.pl sal/typesconfig/typesconfig.c sal/workben/tgetpwnam.cxx sax/inc/sax/parser/saxparser.hxx sc/addin/datefunc/dfa.cl sc/addin/datefunc/dfa.src sc/addin/rot13/rot13.cl sc/addin/rot13/rot13.src sc/inc/attarray.hxx sc/inc/chgtrack.hxx sc/inc/column.hxx sc/inc/compressedarray.hxx sc/inc/document.hxx sc/inc/table.hxx sc/source/core/data/column.cxx sc/source/core/data/dptablecache.cxx sc/source/core/data/dptabres.cxx sc/source/core/data/dptabsrc.cxx sc/source/core/data/global.cxx sc/source/core/tool/chgtrack.cxx sc/source/core/tool/compiler.cxx sc/source/filter/excel/xestyle.cxx sc/source/filter/excel/xichart.cxx sc/source/filter/inc/fapihelper.hxx sc/source/filter/inc/xistyle.hxx sc/source/filter/xml/xmlsubti.cxx sc/source/ui/Accessibility/AccessibleCell.cxx sc/source/ui/Accessibility/AccessibleContextBase.cxx sc/source/ui/Accessibility/AccessibleDataPilotControl.cxx sc/source/ui/Accessibility/AccessibleDocumentPagePreview.cxx sc/source/ui/Accessibility/AccessibleEditObject.cxx sc/source/ui/Accessibility/AccessiblePreviewCell.cxx sc/source/ui/app/inputwin.cxx sc/source/ui/docshell/docfunc.cxx sc/source/ui/drawfunc/fupoor.cxx sc/source/ui/miscdlgs/linkarea.cxx sc/source/ui/unoobj/chart2uno.cxx sc/source/ui/unoobj/nameuno.cxx sc/source/ui/vba/vbacharacters.hxx sc/source/ui/vba/vbarange.cxx sc/source/ui/vba/vbawindow.cxx scaddins/source/analysis/analysishelper.cxx scaddins/source/analysis/analysishelper.hxx scaddins/source/datefunc/datefunc.cxx scripting/examples/python/Capitalise.py scripting/source/pyprov/officehelper.py sd/source/filter/eppt/eppt.cxx sd/source/filter/eppt/epptso.cxx sd/source/ui/dlg/prltempl.cxx sd/source/ui/dlg/tpoption.cxx sd/source/ui/func/fuediglu.cxx sd/source/ui/func/fupoor.cxx sd/source/ui/func/fusel.cxx sd/source/ui/func/smarttag.cxx sd/source/ui/inc/OutlinerIteratorImpl.hxx sd/source/ui/inc/SlideViewShell.hxx sd/source/ui/inc/fuediglu.hxx sd/source/ui/inc/fusel.hxx sd/source/ui/slideshow/slideshowimpl.cxx sd/source/ui/slidesorter/cache/SlsQueueProcessorThread.hxx sd/source/ui/slidesorter/controller/SlsHideSlideFunction.cxx sd/source/ui/slidesorter/controller/SlsSelectionCommand.hxx sd/source/ui/slidesorter/inc/controller/SlsAnimationFunction.hxx sd/source/ui/slidesorter/view/SlsButtonBar.cxx sd/source/ui/view/Outliner.cxx sd/source/ui/view/drviewsh.cxx sd/source/ui/view/frmview.cxx sdext/source/presenter/PresenterFrameworkObserver.hxx sdext/source/presenter/PresenterSlideShowView.cxx setup_native/scripts/deregister_extensions setup_native/scripts/register_extensions setup_native/source/opensolaris/bundledextensions/README setup_native/source/opensolaris/bundledextensions/svc-ooo_bundled_extensions setup_native/source/win32/customactions/patch/swappatchfiles.cxx setup_native/source/win32/customactions/reg4msdoc/registrar.cxx setup_native/source/win32/customactions/reg4msdoc/userregistrar.cxx sfx2/inc/sfx2/sfxbasemodel.hxx sfx2/qa/complex/sfx2/DocumentProperties.java sfx2/source/appl/appopen.cxx sfx2/source/appl/appquit.cxx sfx2/source/appl/appserv.cxx sfx2/source/bastyp/sfxhtml.cxx sfx2/source/dialog/dockwin.cxx sfx2/source/doc/docfile.cxx sfx2/source/doc/docvor.cxx sfx2/source/doc/graphhelp.cxx sfx2/source/doc/objcont.cxx sfx2/source/doc/objserv.cxx sfx2/source/doc/objstor.cxx sfx2/source/doc/objuno.cxx sfx2/source/doc/objxtor.cxx sfx2/source/doc/printhelper.cxx sfx2/source/doc/sfxbasemodel.cxx sfx2/source/notify/eventsupplier.cxx sfx2/source/view/frmload.cxx sfx2/source/view/sfxbasecontroller.cxx shell/qa/zip/ziptest.cxx shell/source/backends/wininetbe/wininetbackend.cxx shell/source/win32/shlxthandler/util/utilities.cxx solenv/bin/build.pl solenv/bin/build_release.pl solenv/bin/cws.pl solenv/bin/download_external_dependencies.pl solenv/bin/make_download.pl solenv/bin/make_installer.pl solenv/bin/modules/Cws.pm solenv/bin/modules/ExtensionsLst.pm solenv/bin/modules/installer/control.pm solenv/bin/modules/installer/downloadsigner.pm solenv/bin/modules/installer/javainstaller.pm solenv/bin/modules/installer/packagepool.pm solenv/bin/modules/installer/patch/InstallationSet.pm solenv/bin/modules/installer/scriptitems.pm solenv/bin/modules/installer/windows/feature.pm solenv/bin/modules/installer/windows/msiglobal.pm solenv/bin/modules/installer/windows/sign.pm solenv/bin/modules/installer/worker.pm solenv/bin/modules/installer/xpdinstaller.pm solenv/bin/modules/osarch.pm solenv/bin/modules/packager/work.pm solenv/bin/modules/pre2par/parameter.pm solenv/bin/patch_tool.pl solenv/bin/transform_description.pl solenv/doc/gbuild/doxygen.cfg solenv/gbuild/LinkTarget.mk solenv/gbuild/gbuild.mk solenv/inc/os2gcci.mk solenv/inc/settings.mk solenv/inc/startup/Readme solenv/inc/target.mk solenv/inc/tg_compv.mk solenv/inc/tg_javav.mk solenv/inc/unitools.mk solenv/inc/unxbsdi.mk solenv/inc/unxbsdi2.mk solenv/inc/unxbsds.mk solenv/inc/unxfbsd.mk solenv/inc/unxlng.mk sot/source/sdstor/stg.cxx sot/source/sdstor/stgelem.cxx sot/source/sdstor/ucbstorage.cxx starmath/inc/toolbox.hxx starmath/source/mathmlexport.cxx starmath/source/node.cxx starmath/source/toolbox.cxx starmath/source/view.cxx stoc/source/bootstrap/bootstrap.xml stoc/source/corereflection/criface.cxx stoc/source/invocation/invocation.cxx stoc/source/security/access_controller.cxx stoc/source/servicemanager/servicemanager.cxx stoc/source/tdmanager/tdmgr.cxx stoc/test/javavm/testjavavm.cxx stoc/test/testconv.cxx stoc/test/testcorefl.cxx stoc/test/testintrosp.cxx svl/inc/svl/inettype.hxx svl/inc/svl/urihelper.hxx svl/qa/complex/ConfigItems/helper/HistoryOptTest.cxx svl/qa/complex/ConfigItems/helper/HistoryOptTest.hxx svl/source/config/itemholder2.hxx svl/source/items/itemset.cxx svl/source/numbers/zforlist.cxx svl/source/numbers/zformat.cxx svl/source/numbers/zforscan.cxx svtools/bmpmaker/bmp.cxx svtools/inc/svtools/helpagentwindow.hxx svtools/inc/svtools/menuoptions.hxx svtools/inc/svtools/miscopt.hxx svtools/inc/svtools/optionsdrawinglayer.hxx svtools/inc/svtools/stringtransfer.hxx svtools/inc/svtools/svlbitm.hxx svtools/inc/svtools/svtdata.hxx svtools/inc/svtools/valueset.hxx svtools/source/brwbox/editbrowsebox.cxx svtools/source/config/itemholder2.hxx svtools/source/contnr/contentenumeration.hxx svx/inc/svx/fmsrcimp.hxx svx/inc/svx/svdobj.hxx svx/inc/svx/xtable.hxx svx/source/accessibility/DGColorNameLookUp.cxx svx/source/accessibility/svxrectctaccessiblecontext.cxx svx/source/dialog/pfiledlg.cxx svx/source/fmcomp/fmgridcl.cxx svx/source/fmcomp/fmgridif.cxx svx/source/fmcomp/gridctrl.cxx svx/source/form/filtnav.cxx svx/source/form/fmPropBrw.cxx svx/source/form/fmshimp.cxx svx/source/form/fmsrcimp.cxx svx/source/gallery2/galtheme.cxx svx/source/inc/docrecovery.hxx svx/source/sdr/event/eventhandler.cxx svx/source/svdraw/svdedtv2.cxx svx/source/svdraw/svdedxv.cxx svx/source/svdraw/svdhdl.cxx svx/source/svdraw/svdobj.cxx svx/source/svdraw/svdograf.cxx svx/source/svdraw/svdoole2.cxx svx/source/svdraw/svdotxtr.cxx svx/source/svdraw/svdundo.cxx svx/source/svdraw/svdxcgv.cxx svx/source/unodialogs/textconversiondlgs/chinese_translationdialog.cxx sw/inc/SwNumberTree.hxx sw/inc/ndnotxt.hxx sw/source/core/access/acccell.cxx sw/source/core/access/acccell.hxx sw/source/core/access/accframebase.cxx sw/source/core/access/accframebase.hxx sw/source/core/access/accmap.cxx sw/source/core/access/accpage.cxx sw/source/core/access/accpage.hxx sw/source/core/access/accpara.cxx sw/source/core/access/accpara.hxx sw/source/core/bastyp/swrect.cxx sw/source/core/crsr/findtxt.cxx sw/source/core/doc/docdde.cxx sw/source/core/doc/notxtfrm.cxx sw/source/core/docnode/section.cxx sw/source/core/draw/dcontact.cxx sw/source/core/edit/edlingu.cxx sw/source/core/inc/anchoredobjectposition.hxx sw/source/core/layout/paintfrm.cxx sw/source/core/layout/tabfrm.cxx sw/source/core/layout/trvlfrm.cxx sw/source/core/ole/ndole.cxx sw/source/core/text/atrstck.cxx sw/source/core/text/inftxt.cxx sw/source/core/text/itratr.cxx sw/source/core/text/itrform2.cxx sw/source/core/text/itrform2.hxx sw/source/core/text/porfld.cxx sw/source/core/text/txtfly.cxx sw/source/core/txtnode/thints.cxx sw/source/core/txtnode/txtedt.cxx sw/source/core/uibase/dochdl/swdtflvr.cxx sw/source/core/uibase/docvw/PostItMgr.cxx sw/source/core/uibase/docvw/SidebarWin.cxx sw/source/core/uibase/docvw/edtwin.cxx sw/source/core/uibase/envelp/labimg.cxx sw/source/core/uibase/uiview/pview.cxx sw/source/core/uibase/uno/unomailmerge.cxx sw/source/core/undo/unattr.cxx sw/source/core/undo/untbl.cxx sw/source/core/unocore/unochart.cxx sw/source/core/view/vdraw.cxx sw/source/core/view/vnew.cxx sw/source/filter/basflt/fltini.cxx sw/source/filter/html/wrthtml.cxx sw/source/filter/inc/wwstyles.hxx sw/source/filter/rtf/rtffly.cxx sw/source/filter/rtf/swparrtf.cxx sw/source/filter/ww8/docxattributeoutput.cxx sw/source/filter/ww8/dump/msvbasic.cxx sw/source/filter/ww8/dump/ww8scan.cxx sw/source/filter/ww8/dump/ww8scan.hxx sw/source/filter/ww8/dump/ww8struc.hxx sw/source/filter/ww8/wrtww8.cxx sw/source/filter/ww8/ww8graf.cxx sw/source/filter/ww8/ww8par.cxx sw/source/filter/ww8/ww8par2.cxx sw/source/filter/ww8/ww8par2.hxx sw/source/filter/ww8/ww8par3.cxx sw/source/filter/ww8/ww8par6.cxx sw/source/filter/ww8/ww8scan.cxx sw/source/filter/ww8/ww8scan.hxx sw/source/ui/dbui/dbinsdlg.cxx sw/source/ui/inc/tablemgr.hxx sw/source/ui/inc/uitool.hxx sw/source/ui/lingu/olmenu.cxx sw/source/ui/uiview/viewport.cxx sysui/desktop/productversion.mk sysui/desktop/slackware/makefile.mk testgraphical/source/CallExternals.pm testgraphical/source/fill_documents_loop.pl testgraphical/ui/java/ConvwatchGUIProject/src/IniFile.java toolkit/doc/layout/notes.txt toolkit/doc/layout/oldnotes.txt toolkit/source/awt/vclxtabcontrol.cxx toolkit/src2xml/source/srcparser.py toolkit/workben/layout/editor.cxx tools/inc/tools/simplerm.hxx tools/inc/tools/solar.h tools/source/communi/geninfo.cxx tools/source/fsys/dirent.cxx tools/source/fsys/filecopy.cxx tools/source/fsys/os2.cxx tools/source/inet/inetmime.cxx tools/source/rc/resmgr.cxx ucb/source/core/ucbcmds.cxx ucb/source/ucp/file/filglob.cxx ucb/source/ucp/odma/odma_content.cxx ucb/source/ucp/tdoc/ucptdoc.xml ucb/source/ucp/webdav/makefile.mk ucbhelper/inc/ucbhelper/simplecertificatevalidationrequest.hxx ucbhelper/source/client/content.cxx ucbhelper/source/client/interceptedinteraction.cxx udkapi/com/sun/star/beans/XPropertiesChangeListener.idl udkapi/com/sun/star/io/ObjectOutputStream.idl udkapi/com/sun/star/io/XMarkableStream.idl udkapi/com/sun/star/io/XTextOutputStream.idl udkapi/com/sun/star/reflection/CoreReflection.idl udkapi/com/sun/star/reflection/XTypeDescriptionEnumerationAccess.idl udkapi/com/sun/star/test/XSimpleTest.idl unodevtools/source/skeletonmaker/skeletoncommon.cxx unodevtools/source/skeletonmaker/skeletoncommon.hxx unotools/inc/unotools/cacheoptions.hxx unotools/inc/unotools/cmdoptions.hxx unotools/inc/unotools/dynamicmenuoptions.hxx unotools/inc/unotools/extendedsecurityoptions.hxx unotools/inc/unotools/fontoptions.hxx unotools/inc/unotools/historyoptions.hxx unotools/inc/unotools/idhelper.hxx unotools/inc/unotools/internaloptions.hxx unotools/inc/unotools/localisationoptions.hxx unotools/inc/unotools/moduleoptions.hxx unotools/inc/unotools/printwarningoptions.hxx unotools/inc/unotools/securityoptions.hxx unotools/inc/unotools/startoptions.hxx unotools/inc/unotools/workingsetoptions.hxx unotools/source/config/cmdoptions.cxx unotools/source/config/compatibility.cxx unotools/source/config/configitem.cxx unotools/source/config/configmgr.cxx unotools/source/config/dynamicmenuoptions.cxx unotools/source/config/fontcfg.cxx unotools/source/config/itemholder1.hxx unotools/source/config/moduleoptions.cxx unotools/source/config/pathoptions.cxx unotools/source/config/viewoptions.cxx unotools/source/misc/sharedunocomponent.cxx uui/source/fltdlg.cxx uui/source/iahndl-filter.cxx vbahelper/inc/vbahelper/collectionbase.hxx vbahelper/source/msforms/vbacontrol.cxx vbahelper/source/vbahelper/collectionbase.cxx vcl/aqua/source/gdi/atsfonts.cxx vcl/inc/aqua/salmathutils.hxx vcl/inc/graphite_cache.hxx vcl/inc/jobset.h vcl/inc/os2/salgdi.h vcl/inc/osx/saldata.hxx vcl/inc/salgdi.hxx vcl/inc/salwtype.hxx vcl/inc/unx/wmadaptor.hxx vcl/inc/vcl/print.hxx vcl/inc/vcl/strhelper.hxx vcl/os2/source/app/salinst.cxx vcl/os2/source/app/saltimer.cxx vcl/os2/source/gdi/salgdi2.cxx vcl/osx/salframeview.mm vcl/osx/salprn.cxx vcl/qa/cppunit/dndtest.cxx vcl/source/app/dbggui.cxx vcl/source/control/ilstbox.cxx vcl/source/gdi/cvtsvm.cxx vcl/source/gdi/gdimtf.cxx vcl/source/gdi/outdev4.cxx vcl/source/gdi/outdev6.cxx vcl/source/gdi/pdfwriter_impl.cxx vcl/source/gdi/pdfwriter_impl2.cxx vcl/source/gdi/print.cxx vcl/source/gdi/print2.cxx vcl/source/glyphs/gcach_layout.cxx vcl/source/glyphs/glyphcache.cxx vcl/source/glyphs/graphite_layout.cxx vcl/source/window/printdlg.cxx vcl/source/window/tabdlg.cxx vcl/source/window/window.cxx vcl/source/window/winproc.cxx vcl/unx/generic/app/saldisp.cxx vcl/unx/generic/dtrans/X11_selection.hxx vcl/unx/gtk/app/gtkdata.cxx vcl/win/source/gdi/salgdi2.cxx vcl/win/source/gdi/salgdi3.cxx vcl/win/source/window/salframe.cxx vos/inc/vos/pipe.hxx vos/inc/vos/process.hxx vos/inc/vos/signal.hxx vos/inc/vos/socket.hxx vos/inc/vos/thread.hxx vos/source/pipe.cxx vos/source/socket.cxx wizards/com/sun/star/wizards/agenda/AgendaTemplate.java wizards/com/sun/star/wizards/agenda/AgendaWizardDialogImpl.java wizards/com/sun/star/wizards/agenda/TopicsControl.java wizards/com/sun/star/wizards/web/FTPDialog.java wizards/com/sun/star/wizards/web/ImageListDialog.java wizards/com/sun/star/wizards/web/Process.java wizards/com/sun/star/wizards/web/ProcessStatusRenderer.java wizards/com/sun/star/wizards/web/TOCPreview.java wizards/com/sun/star/wizards/web/WWD_Startup.java wizards/com/sun/star/wizards/web/data/TypeDetection.java wizards/com/sun/star/wizards/web/export/ImpressHTMLExporter.java writerfilter/inc/doctok/WW8Document.hxx writerfilter/source/dmapper/DomainMapper.cxx writerfilter/source/dmapper/NumberingManager.cxx writerfilter/source/dmapper/PropertyMap.cxx writerfilter/source/dmapper/StyleSheetTable.cxx writerfilter/source/doctok/WW8StructBase.hxx writerfilter/source/doctok/resources.xmi writerfilter/source/ooxml/README.efforts xmerge/source/activesync/XMergeFilter.cpp xmerge/source/minicalc/java/org/openoffice/xmerge/converter/xml/sxc/minicalc/SxcDocumentDeserializerImpl.java xmerge/source/palmtests/qa/comparator/pdbcomparison.java xmerge/source/palmtests/qa/test_spec/convertor_test_spec.html xmerge/source/pexcel/java/org/openoffice/xmerge/converter/xml/sxc/pexcel/records/DefinedName.java xmerge/source/pexcel/java/org/openoffice/xmerge/converter/xml/sxc/pexcel/records/Workbook.java xmerge/source/pexcel/java/org/openoffice/xmerge/converter/xml/sxc/pexcel/records/Worksheet.java xmerge/source/pexcel/java/org/openoffice/xmerge/converter/xml/sxc/pexcel/records/formula/SymbolLookup.java xmerge/source/pocketword/java/org/openoffice/xmerge/converter/xml/sxw/pocketword/DocumentDescriptor.java xmerge/workben/jstyle.pl xmlhelp/source/cxxhelp/provider/databases.hxx xmlhelp/source/cxxhelp/provider/provider.cxx xmlhelp/source/treeview/tvread.cxx xmloff/inc/txtfldi.hxx xmloff/inc/xmloff/xmlmultiimagehelper.hxx xmloff/inc/xmloff/xmluconv.hxx xmloff/source/core/xmlexp.cxx xmloff/source/draw/shapeexport2.cxx xmloff/source/draw/shapeexport3.cxx xmloff/source/meta/xmlversion.cxx xmloff/source/style/impastp4.cxx xmloff/source/style/xmlaustp.cxx xmloff/source/text/XMLSectionExport.cxx xmloff/source/text/txtflde.cxx xmloff/source/text/txtimp.cxx xmloff/source/text/txtparae.cxx xmloff/source/text/txtparai.cxx xmloff/source/text/txtvfldi.cxx xmlscript/source/xmldlg_imexp/xmldlg_impmodels.cxx Change-Id: Ie072e7c3a60c5dae16a67ac36d1f372c5065c99c
320 lines
15 KiB
C++
320 lines
15 KiB
C++
/* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
|
|
/*
|
|
* This file is part of the LibreOffice project.
|
|
*
|
|
* This Source Code Form is subject to the terms of the Mozilla Public
|
|
* License, v. 2.0. If a copy of the MPL was not distributed with this
|
|
* file, You can obtain one at http://mozilla.org/MPL/2.0/.
|
|
*
|
|
* This file incorporates work covered by the following license notice:
|
|
*
|
|
* Licensed to the Apache Software Foundation (ASF) under one or more
|
|
* contributor license agreements. See the NOTICE file distributed
|
|
* with this work for additional information regarding copyright
|
|
* ownership. The ASF licenses this file to you under the Apache
|
|
* License, Version 2.0 (the "License"); you may not use this file
|
|
* except in compliance with the License. You may obtain a copy of
|
|
* the License at http://www.apache.org/licenses/LICENSE-2.0 .
|
|
*/
|
|
#ifndef INCLUDED_TOOLS_WINTYPES_HXX
|
|
#define INCLUDED_TOOLS_WINTYPES_HXX
|
|
|
|
#include <sal/types.h>
|
|
|
|
// Window-Types
|
|
|
|
typedef sal_uInt16 WindowType;
|
|
#define WINDOW_BASE 0x0100
|
|
#define WINDOW_FIRST (WINDOW_BASE + 0x30)
|
|
#define WINDOW_MESSBOX (WINDOW_FIRST)
|
|
#define WINDOW_INFOBOX (WINDOW_FIRST + 0x01)
|
|
#define WINDOW_WARNINGBOX (WINDOW_FIRST + 0x02)
|
|
#define WINDOW_ERRORBOX (WINDOW_FIRST + 0x03)
|
|
#define WINDOW_QUERYBOX (WINDOW_FIRST + 0x04)
|
|
#define WINDOW_WINDOW (WINDOW_FIRST + 0x05)
|
|
#define WINDOW_SYSWINDOW (WINDOW_FIRST + 0x06)
|
|
#define WINDOW_WORKWINDOW (WINDOW_FIRST + 0x07)
|
|
#define WINDOW_CONTAINER (WINDOW_FIRST + 0x08)
|
|
#define WINDOW_FLOATINGWINDOW (WINDOW_FIRST + 0x09)
|
|
#define WINDOW_DIALOG (WINDOW_FIRST + 0x0a)
|
|
#define WINDOW_MODELESSDIALOG (WINDOW_FIRST + 0x0b)
|
|
#define WINDOW_MODALDIALOG (WINDOW_FIRST + 0x0c)
|
|
#define WINDOW_SYSTEMDIALOG (WINDOW_FIRST + 0x0d)
|
|
#define WINDOW_PATHDIALOG (WINDOW_FIRST + 0x0e)
|
|
#define WINDOW_FILEDIALOG (WINDOW_FIRST + 0x0f)
|
|
#define WINDOW_PRINTERSETUPDIALOG (WINDOW_FIRST + 0x10)
|
|
#define WINDOW_PRINTDIALOG (WINDOW_FIRST + 0x11)
|
|
#define WINDOW_COLORDIALOG (WINDOW_FIRST + 0x12)
|
|
#define WINDOW_FONTDIALOG (WINDOW_FIRST + 0x13)
|
|
#define WINDOW_CONTROL (WINDOW_FIRST + 0x14)
|
|
#define WINDOW_BUTTON (WINDOW_FIRST + 0x15)
|
|
#define WINDOW_PUSHBUTTON (WINDOW_FIRST + 0x16)
|
|
#define WINDOW_OKBUTTON (WINDOW_FIRST + 0x17)
|
|
#define WINDOW_CANCELBUTTON (WINDOW_FIRST + 0x18)
|
|
#define WINDOW_HELPBUTTON (WINDOW_FIRST + 0x19)
|
|
#define WINDOW_IMAGEBUTTON (WINDOW_FIRST + 0x1a)
|
|
#define WINDOW_MENUBUTTON (WINDOW_FIRST + 0x1b)
|
|
#define WINDOW_MOREBUTTON (WINDOW_FIRST + 0x1c)
|
|
#define WINDOW_SPINBUTTON (WINDOW_FIRST + 0x1d)
|
|
#define WINDOW_RADIOBUTTON (WINDOW_FIRST + 0x1e)
|
|
#define WINDOW_IMAGERADIOBUTTON (WINDOW_FIRST + 0x1f)
|
|
#define WINDOW_CHECKBOX (WINDOW_FIRST + 0x20)
|
|
#define WINDOW_TRISTATEBOX (WINDOW_FIRST + 0x21)
|
|
#define WINDOW_EDIT (WINDOW_FIRST + 0x22)
|
|
#define WINDOW_MULTILINEEDIT (WINDOW_FIRST + 0x23)
|
|
#define WINDOW_COMBOBOX (WINDOW_FIRST + 0x24)
|
|
#define WINDOW_LISTBOX (WINDOW_FIRST + 0x25)
|
|
#define WINDOW_MULTILISTBOX (WINDOW_FIRST + 0x26)
|
|
#define WINDOW_FIXEDTEXT (WINDOW_FIRST + 0x27)
|
|
#define WINDOW_FIXEDLINE (WINDOW_FIRST + 0x28)
|
|
#define WINDOW_FIXEDBITMAP (WINDOW_FIRST + 0x29)
|
|
#define WINDOW_FIXEDIMAGE (WINDOW_FIRST + 0x2a)
|
|
#define WINDOW_GROUPBOX (WINDOW_FIRST + 0x2c)
|
|
#define WINDOW_SCROLLBAR (WINDOW_FIRST + 0x2d)
|
|
#define WINDOW_SCROLLBARBOX (WINDOW_FIRST + 0x2e)
|
|
#define WINDOW_SPLITTER (WINDOW_FIRST + 0x2f)
|
|
#define WINDOW_SPLITWINDOW (WINDOW_FIRST + 0x30)
|
|
#define WINDOW_SPINFIELD (WINDOW_FIRST + 0x31)
|
|
#define WINDOW_PATTERNFIELD (WINDOW_FIRST + 0x32)
|
|
#define WINDOW_NUMERICFIELD (WINDOW_FIRST + 0x33)
|
|
#define WINDOW_METRICFIELD (WINDOW_FIRST + 0x34)
|
|
#define WINDOW_CURRENCYFIELD (WINDOW_FIRST + 0x35)
|
|
#define WINDOW_DATEFIELD (WINDOW_FIRST + 0x36)
|
|
#define WINDOW_TIMEFIELD (WINDOW_FIRST + 0x37)
|
|
#define WINDOW_PATTERNBOX (WINDOW_FIRST + 0x38)
|
|
#define WINDOW_NUMERICBOX (WINDOW_FIRST + 0x39)
|
|
#define WINDOW_METRICBOX (WINDOW_FIRST + 0x3a)
|
|
#define WINDOW_CURRENCYBOX (WINDOW_FIRST + 0x3b)
|
|
#define WINDOW_DATEBOX (WINDOW_FIRST + 0x3c)
|
|
#define WINDOW_TIMEBOX (WINDOW_FIRST + 0x3d)
|
|
#define WINDOW_LONGCURRENCYFIELD (WINDOW_FIRST + 0x3e)
|
|
#define WINDOW_LONGCURRENCYBOX (WINDOW_FIRST + 0x3f)
|
|
#define WINDOW_SCROLLWINDOW (WINDOW_FIRST + 0x40)
|
|
#define WINDOW_TOOLBOX (WINDOW_FIRST + 0x41)
|
|
#define WINDOW_DOCKINGWINDOW (WINDOW_FIRST + 0x42)
|
|
#define WINDOW_STATUSBAR (WINDOW_FIRST + 0x43)
|
|
#define WINDOW_TABPAGE (WINDOW_FIRST + 0x44)
|
|
#define WINDOW_TABCONTROL (WINDOW_FIRST + 0x45)
|
|
#define WINDOW_TABDIALOG (WINDOW_FIRST + 0x46)
|
|
#define WINDOW_BORDERWINDOW (WINDOW_FIRST + 0x47)
|
|
#define WINDOW_BUTTONDIALOG (WINDOW_FIRST + 0x48)
|
|
#define WINDOW_SYSTEMCHILDWINDOW (WINDOW_FIRST + 0x49)
|
|
#define WINDOW_SLIDER (WINDOW_FIRST + 0x4a)
|
|
#define WINDOW_MENUBARWINDOW (WINDOW_FIRST + 0x4b)
|
|
#define WINDOW_TREELISTBOX (WINDOW_FIRST + 0x4c)
|
|
#define WINDOW_HELPTEXTWINDOW (WINDOW_FIRST + 0x4d)
|
|
#define WINDOW_INTROWINDOW (WINDOW_FIRST + 0x4e)
|
|
#define WINDOW_LISTBOXWINDOW (WINDOW_FIRST + 0x4f)
|
|
#define WINDOW_DOCKINGAREA (WINDOW_FIRST + 0x50)
|
|
#define WINDOW_RULER (WINDOW_FIRST + 0x51)
|
|
#define WINDOW_CALCINPUTLINE (WINDOW_FIRST + 0x52)
|
|
#define WINDOW_LAST (WINDOW_CALCINPUTLINE)
|
|
|
|
// Window-Bits
|
|
|
|
typedef sal_Int64 WinBits;
|
|
|
|
// Window-Bits for Window
|
|
#define WB_CLIPCHILDREN ((WinBits)0x00000001)
|
|
#define WB_DIALOGCONTROL ((WinBits)0x00000002)
|
|
#define WB_NODIALOGCONTROL ((WinBits)0x00000004)
|
|
#define WB_BORDER ((WinBits)0x00000008)
|
|
#define WB_NOBORDER ((WinBits)0x00000010)
|
|
#define WB_SIZEABLE ((WinBits)0x00000020)
|
|
#define WB_3DLOOK ((WinBits)0x00000040)
|
|
#define WB_AUTOSIZE ((WinBits)0x00000080)
|
|
|
|
// Window-Bits for SystemWindows
|
|
#define WB_MOVEABLE ((WinBits)0x00000100)
|
|
#define WB_ROLLABLE ((WinBits)0x00000200)
|
|
#define WB_CLOSEABLE ((WinBits)0x00000400)
|
|
#define WB_STANDALONE ((WinBits)0x00000800)
|
|
#define WB_APP ((WinBits)0x00001000)
|
|
#define WB_PINABLE ((WinBits)0x00002000)
|
|
#define WB_SYSTEMWINDOW ((WinBits)SAL_CONST_INT64(0x40000000))
|
|
// warning: do not confuse WB_SYSTEMCHILDWINDOW with the SystemChildWindow class
|
|
//
|
|
// the SystemChildWindow class was there first and is a very specialized
|
|
// system child window type for plugged applications. The SystemChildWindow class
|
|
// explicitly should never use the WB_SYSTEMCHILDWINDOW WinBit
|
|
//
|
|
// WB_SYSTEMCHILDWINDOW on the other hand is to be used on system windows
|
|
// which should be created as system child windows with (more or less)
|
|
// normal event handling
|
|
#define WB_SYSTEMCHILDWINDOW ((WinBits)SAL_CONST_INT64(0x8000000000))
|
|
#define WB_SIZEMOVE (WB_SIZEABLE | WB_MOVEABLE)
|
|
|
|
// Standard-Window-Bits for ChildWindows
|
|
#define WB_TABSTOP ((WinBits)0x00000100)
|
|
#define WB_NOTABSTOP ((WinBits)0x00000200)
|
|
#define WB_GROUP ((WinBits)0x00000400)
|
|
#define WB_NOGROUP ((WinBits)0x00000800)
|
|
#define WB_HORZ ((WinBits)0x00001000)
|
|
#define WB_VERT ((WinBits)0x00002000)
|
|
#define WB_LEFT ((WinBits)0x00004000)
|
|
#define WB_CENTER ((WinBits)0x00008000)
|
|
#define WB_RIGHT ((WinBits)0x00010000)
|
|
#define WB_TOP ((WinBits)0x00020000)
|
|
#define WB_VCENTER ((WinBits)0x00040000)
|
|
#define WB_BOTTOM ((WinBits)0x00080000)
|
|
#define WB_DRAG ((WinBits)0x00100000)
|
|
#define WB_SPIN ((WinBits)0x00200000)
|
|
#define WB_REPEAT ((WinBits)0x00400000)
|
|
#define WB_NOPOINTERFOCUS ((WinBits)0x00800000)
|
|
#define WB_WORDBREAK ((WinBits)0x01000000)
|
|
#define WB_NOLABEL ((WinBits)0x02000000)
|
|
#define WB_SORT ((WinBits)0x04000000)
|
|
#define WB_DROPDOWN ((WinBits)0x08000000)
|
|
#define WB_HIDE ((WinBits)SAL_CONST_INT64(0x80000000))
|
|
#define WB_AUTOHSCROLL ((WinBits)SAL_CONST_INT64(0x10000000))
|
|
#define WB_DOCKABLE ((WinBits)SAL_CONST_INT64(0x20000000))
|
|
#define WB_AUTOVSCROLL ((WinBits)SAL_CONST_INT64(0x40000000))
|
|
#define WB_HYPHENATION (((WinBits)SAL_CONST_INT64(0x800000000)) | WB_WORDBREAK)
|
|
#define WB_CHILDDLGCTRL ((WinBits)SAL_CONST_INT64(0x100000000000))
|
|
#define WB_REFMODE ((WinBits)SAL_CONST_INT64(0x200000000000))
|
|
|
|
// system floating window
|
|
#define WB_SYSTEMFLOATWIN ((WinBits)SAL_CONST_INT64(0x100000000))
|
|
#define WB_INTROWIN ((WinBits)SAL_CONST_INT64(0x200000000))
|
|
#define WB_NOSHADOW ((WinBits)SAL_CONST_INT64(0x400000000))
|
|
#define WB_TOOLTIPWIN ((WinBits)SAL_CONST_INT64(0x800000000))
|
|
#define WB_OWNERDRAWDECORATION ((WinBits)SAL_CONST_INT64(0x2000000000))
|
|
#define WB_DEFAULTWIN ((WinBits)SAL_CONST_INT64(0x4000000000))
|
|
#define WB_NEEDSFOCUS ((WinBits)SAL_CONST_INT64(0x1000000000))
|
|
#define WB_POPUP ((WinBits)SAL_CONST_INT64(0x20000000))
|
|
|
|
#define WB_HSCROLL WB_HORZ
|
|
#define WB_VSCROLL WB_VERT
|
|
#define WB_TOPIMAGE WB_TOP
|
|
|
|
// Window-Bits for PushButtons
|
|
#define WB_DEFBUTTON ((WinBits)0x10000000)
|
|
#define WB_NOLIGHTBORDER ((WinBits)0x20000000)
|
|
#define WB_RECTSTYLE ((WinBits)0x08000000)
|
|
#define WB_SMALLSTYLE ((WinBits)0x04000000)
|
|
#define WB_TOGGLE ((WinBits)SAL_CONST_INT64(0x1000000000))
|
|
#define WB_BEVELBUTTON ((WinBits)SAL_CONST_INT64(0x2000000000))
|
|
#define WB_FLATBUTTON ((WinBits)SAL_CONST_INT64(0x4000000000))
|
|
|
|
// Window-Bits for FixedText
|
|
#define WB_PATHELLIPSIS ((WinBits)0x00100000)
|
|
#define WB_EXTRAOFFSET ((WinBits)0x02000000)
|
|
#define WB_NOMULTILINE ((WinBits)0x10000000)
|
|
#define WB_INFO ((WinBits)0x20000000)
|
|
|
|
// Window-Bits for CheckBox
|
|
#define WB_CBLINESTYLE ((WinBits)SAL_CONST_INT64(0x2000000000))
|
|
#define WB_EARLYTOGGLE ((WinBits)SAL_CONST_INT64(0x4000000000))
|
|
|
|
// Window-Bits for Edit
|
|
#define WB_PASSWORD ((WinBits)0x01000000)
|
|
#define WB_READONLY ((WinBits)0x02000000)
|
|
#define WB_NOHIDESELECTION ((WinBits)SAL_CONST_INT64(0x1000000000))
|
|
#define WB_FORCECTRLBACKGROUND ((WinBits)0x80000000)
|
|
|
|
// Window-Bits for MultiLineEdit
|
|
#define WB_IGNORETAB ((WinBits)0x20000000)
|
|
|
|
// Window-Bits for ListBox and MultiListBox
|
|
#define WB_SIMPLEMODE ((WinBits)0x20000000)
|
|
|
|
// Window-Bits for FixedBitmap
|
|
#define WB_FAST ((WinBits)0x04000000)
|
|
#define WB_SCALE ((WinBits)0x08000000)
|
|
#define WB_TOPLEFTVISIBLE ((WinBits)0x10000000)
|
|
|
|
// Window-Bits for ToolBox
|
|
#define WB_LINESPACING ((WinBits)0x01000000)
|
|
#define WB_SCROLL ((WinBits)0x02000000)
|
|
#define WB_FORCETABCYCLE ((WinBits)0x04000000)
|
|
|
|
// Window-Bits for DockingWindows
|
|
#define WB_DOCKBORDER ((WinBits)0x00001000)
|
|
|
|
// Window-Bits for SplitWindow
|
|
#define WB_NOSPLITDRAW ((WinBits)0x01000000)
|
|
#define WB_FLATSPLITDRAW ((WinBits)0x02000000)
|
|
|
|
// Window-Bits for MessageBoxen
|
|
#define WB_OK ((WinBits)0x00100000)
|
|
#define WB_OK_CANCEL ((WinBits)0x00200000)
|
|
#define WB_YES_NO ((WinBits)0x00400000)
|
|
#define WB_YES_NO_CANCEL ((WinBits)0x00800000)
|
|
#define WB_RETRY_CANCEL ((WinBits)0x01000000)
|
|
#define WB_DEF_OK ((WinBits)0x02000000)
|
|
#define WB_DEF_CANCEL ((WinBits)0x04000000)
|
|
#define WB_DEF_RETRY ((WinBits)0x08000000)
|
|
#define WB_DEF_YES ((WinBits)SAL_CONST_INT64(0x10000000))
|
|
#define WB_DEF_NO ((WinBits)SAL_CONST_INT64(0x20000000))
|
|
#define WB_ABORT_RETRY_IGNORE ((WinBits)SAL_CONST_INT64(0x1000000000))
|
|
#define WB_DEF_IGNORE ((WinBits)SAL_CONST_INT64(0x2000000000))
|
|
|
|
// Standard-WinBits
|
|
#define WB_STDWORK (WB_SIZEMOVE | WB_CLOSEABLE)
|
|
#define WB_STDDOCKWIN (WB_DOCKABLE | WB_MOVEABLE | WB_CLOSEABLE)
|
|
#define WB_STDFLOATWIN (WB_SIZEMOVE | WB_CLOSEABLE | WB_ROLLABLE)
|
|
#define WB_STDDIALOG (WB_MOVEABLE | WB_CLOSEABLE)
|
|
#define WB_STDMODELESS (WB_STDDIALOG)
|
|
#define WB_STDMODAL (WB_STDDIALOG)
|
|
#define WB_STDTABDIALOG (WB_STDDIALOG)
|
|
#define WB_STDTABCONTROL 0
|
|
#define WB_STDPOPUP (WB_BORDER | WB_POPUP | WB_SYSTEMWINDOW | WB_3DLOOK | WB_DIALOGCONTROL)
|
|
|
|
// For TreeListBox
|
|
#define WB_HASBUTTONS ((WinBits)SAL_CONST_INT64(0x000100000000))
|
|
#define WB_HASLINES ((WinBits)SAL_CONST_INT64(0x000200000000))
|
|
#define WB_HASLINESATROOT ((WinBits)SAL_CONST_INT64(0x000400000000))
|
|
#define WB_HASBUTTONSATROOT ((WinBits)SAL_CONST_INT64(0x000800000000))
|
|
#define WB_NOINITIALSELECTION ((WinBits)SAL_CONST_INT64(0x001000000000))
|
|
#define WB_HIDESELECTION ((WinBits)SAL_CONST_INT64(0x002000000000))
|
|
#define WB_FORCE_MAKEVISIBLE ((WinBits)SAL_CONST_INT64(0x004000000000))
|
|
// DO NOT USE: 0x008000000000, that's WB_SYSTEMCHILDWINDOW
|
|
#define WB_QUICK_SEARCH ((WinBits)SAL_CONST_INT64(0x010000000000))
|
|
|
|
// For FileOpen Dialog
|
|
#define WB_PATH ((WinBits)0x00100000)
|
|
#define WB_OPEN ((WinBits)0x00200000)
|
|
#define WB_SAVEAS ((WinBits)0x00400000)
|
|
|
|
// For Slider
|
|
// Window-Bits for TabControl
|
|
#define WB_SLIDERSET ((WinBits)0x02000000)
|
|
|
|
// extended WinBits
|
|
#define WB_EXT_DOCUMENT ((WinBits)0x00000001)
|
|
#define WB_EXT_DOCMODIFIED ((WinBits)0x00000002)
|
|
|
|
// WindowAlign
|
|
|
|
enum WindowAlign { WINDOWALIGN_LEFT, WINDOWALIGN_TOP, WINDOWALIGN_RIGHT, WINDOWALIGN_BOTTOM };
|
|
enum ImageAlign { IMAGEALIGN_LEFT, IMAGEALIGN_TOP, IMAGEALIGN_RIGHT, IMAGEALIGN_BOTTOM,
|
|
IMAGEALIGN_LEFT_TOP, IMAGEALIGN_LEFT_BOTTOM, IMAGEALIGN_TOP_LEFT,
|
|
IMAGEALIGN_TOP_RIGHT, IMAGEALIGN_RIGHT_TOP, IMAGEALIGN_RIGHT_BOTTOM,
|
|
IMAGEALIGN_BOTTOM_LEFT, IMAGEALIGN_BOTTOM_RIGHT, IMAGEALIGN_CENTER };
|
|
enum SymbolAlign { SYMBOLALIGN_LEFT, SYMBOLALIGN_RIGHT };
|
|
|
|
// ButtonDialog-Types
|
|
|
|
typedef sal_uInt16 StandardButtonType;
|
|
#define BUTTON_OK ((StandardButtonType)0)
|
|
#define BUTTON_CANCEL ((StandardButtonType)1)
|
|
#define BUTTON_YES ((StandardButtonType)2)
|
|
#define BUTTON_NO ((StandardButtonType)3)
|
|
#define BUTTON_RETRY ((StandardButtonType)4)
|
|
#define BUTTON_HELP ((StandardButtonType)5)
|
|
#define BUTTON_CLOSE ((StandardButtonType)6)
|
|
#define BUTTON_MORE ((StandardButtonType)7)
|
|
#define BUTTON_IGNORE ((StandardButtonType)8)
|
|
#define BUTTON_ABORT ((StandardButtonType)9)
|
|
#define BUTTON_LESS ((StandardButtonType)10)
|
|
#define BUTTON_RESET ((StandardButtonType)11)
|
|
#define BUTTON_COUNT 12
|
|
|
|
// prominent place for ListBox window types
|
|
|
|
enum ProminentEntry { PROMINENT_TOP, PROMINENT_MIDDLE };
|
|
|
|
#endif
|
|
|
|
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
|