summaryrefslogtreecommitdiff
path: root/sd
diff options
context:
space:
mode:
Diffstat (limited to 'sd')
-rw-r--r--sd/inc/CustomAnimationCloner.hxx2
-rw-r--r--sd/inc/CustomAnimationEffect.hxx164
-rw-r--r--sd/inc/CustomAnimationPreset.hxx8
-rw-r--r--sd/inc/EffectMigration.hxx2
-rw-r--r--sd/inc/FactoryIds.hxx2
-rw-r--r--sd/inc/Outliner.hxx32
-rw-r--r--sd/inc/OutlinerIterator.hxx28
-rw-r--r--sd/inc/SdShapeTypes.hxx6
-rw-r--r--sd/inc/TransitionPreset.hxx4
-rw-r--r--sd/inc/anmdef.hxx4
-rw-r--r--sd/inc/anminfo.hxx52
-rwxr-xr-xsd/inc/app.hrc436
-rw-r--r--sd/inc/app.hxx2
-rw-r--r--sd/inc/cusshow.hxx2
-rw-r--r--sd/inc/diadef.h2
-rw-r--r--sd/inc/drawdoc.hxx108
-rw-r--r--sd/inc/eetext.hxx4
-rw-r--r--sd/inc/fadedef.h4
-rwxr-xr-xsd/inc/glob.hrc58
-rw-r--r--sd/inc/glob.hxx30
-rw-r--r--sd/inc/helper/simplereferencecomponent.hxx2
-rw-r--r--sd/inc/helpids.h194
-rw-r--r--sd/inc/imapinfo.hxx10
-rw-r--r--sd/inc/misc.hxx2
-rw-r--r--sd/inc/misc/scopelock.hxx6
-rw-r--r--sd/inc/movedef.hxx4
-rw-r--r--sd/inc/pch/precompiled_sd.cxx2
-rw-r--r--sd/inc/pch/precompiled_sd.hxx2
-rw-r--r--sd/inc/pglink.hxx4
-rw-r--r--sd/inc/pres.hxx34
-rw-r--r--sd/inc/prlayout.hxx2
-rw-r--r--sd/inc/resltn.hxx2
-rw-r--r--sd/inc/sd_primitivetypes2d.hxx10
-rw-r--r--sd/inc/sdabstdlg.hxx102
-rw-r--r--sd/inc/sdattr.hrc344
-rw-r--r--sd/inc/sdattr.hxx30
-rw-r--r--sd/inc/sdcgmfilter.hxx2
-rw-r--r--sd/inc/sddll.hxx6
-rw-r--r--sd/inc/sddllapi.h2
-rw-r--r--sd/inc/sdenumdef.hxx2
-rw-r--r--sd/inc/sderror.hxx14
-rw-r--r--sd/inc/sdfilter.hxx28
-rw-r--r--sd/inc/sdgrffilter.hxx6
-rw-r--r--sd/inc/sdhtmlfilter.hxx10
-rw-r--r--sd/inc/sdiocmpt.hxx20
-rw-r--r--sd/inc/sdmod.hxx52
-rw-r--r--sd/inc/sdobjfac.hxx2
-rw-r--r--sd/inc/sdpage.hxx174
-rw-r--r--sd/inc/sdpptwrp.hxx6
-rw-r--r--sd/inc/sdresid.hxx2
-rw-r--r--sd/inc/sduiks.hrc48
-rw-r--r--sd/inc/sdundo.hxx8
-rw-r--r--sd/inc/sdxmlwrp.hxx18
-rw-r--r--sd/inc/shapelist.hxx6
-rw-r--r--sd/inc/stlfamily.hxx12
-rw-r--r--sd/inc/stlpool.hxx34
-rw-r--r--sd/inc/stlsheet.hxx26
-rw-r--r--sd/inc/strmname.h2
-rw-r--r--sd/inc/textapi.hxx12
-rw-r--r--sd/inc/undo/undofactory.hxx4
-rw-r--r--sd/inc/undo/undomanager.hxx18
-rw-r--r--sd/inc/undo/undoobjects.hxx16
-rw-r--r--sd/inc/undoanim.hxx6
-rw-r--r--sd/sdi/SlideSorterController.sdi2
-rw-r--r--sd/sdi/ToolPanelViewShell.sdi32
-rwxr-xr-xsd/sdi/ViewShellBase.sdi2
-rw-r--r--sd/sdi/_docsh.sdi2
-rwxr-xr-xsd/sdi/_drvwsh.sdi22
-rw-r--r--sd/sdi/docshell.sdi2
-rwxr-xr-xsd/sdi/drtxtob.sdi20
-rw-r--r--sd/sdi/drviewsh.sdi6
-rw-r--r--sd/sdi/grdocsh.sdi2
-rw-r--r--sd/sdi/grviewsh.sdi4
-rwxr-xr-xsd/sdi/outlnvsh.sdi4
-rw-r--r--sd/sdi/sdgslots.sdi2
-rw-r--r--sd/sdi/sdnew.sdi30
-rw-r--r--sd/sdi/sdslots.hrc2
-rwxr-xr-xsd/sdi/sdslots.sdi4
-rw-r--r--sd/sdi/tables.sdi6
-rw-r--r--sd/source/core/CustomAnimationCloner.cxx2
-rw-r--r--sd/source/core/CustomAnimationEffect.cxx94
-rw-r--r--sd/source/core/CustomAnimationPreset.cxx12
-rw-r--r--sd/source/core/EffectMigration.cxx210
-rw-r--r--sd/source/core/PageListWatcher.cxx12
-rw-r--r--sd/source/core/PageListWatcher.hxx12
-rw-r--r--sd/source/core/TransitionPreset.cxx2
-rw-r--r--sd/source/core/anminfo.cxx84
-rw-r--r--sd/source/core/annotations/Annotation.cxx44
-rw-r--r--sd/source/core/annotations/AnnotationEnumeration.cxx2
-rw-r--r--sd/source/core/cusshow.cxx2
-rw-r--r--sd/source/core/drawdoc.cxx24
-rw-r--r--sd/source/core/drawdoc2.cxx72
-rw-r--r--sd/source/core/drawdoc3.cxx96
-rw-r--r--sd/source/core/drawdoc4.cxx84
-rw-r--r--sd/source/core/drawdoc_animations.cxx2
-rwxr-xr-xsd/source/core/glob.src6
-rw-r--r--sd/source/core/pglink.cxx4
-rw-r--r--sd/source/core/sdattr.cxx10
-rw-r--r--sd/source/core/sdiocmpt.cxx60
-rw-r--r--sd/source/core/sdobjfac.cxx2
-rw-r--r--sd/source/core/sdpage.cxx174
-rw-r--r--sd/source/core/sdpage2.cxx54
-rw-r--r--sd/source/core/sdpage_animations.cxx2
-rw-r--r--sd/source/core/shapelist.cxx2
-rw-r--r--sd/source/core/stlfamily.cxx22
-rw-r--r--sd/source/core/stlpool.cxx116
-rw-r--r--sd/source/core/stlsheet.cxx120
-rw-r--r--sd/source/core/text/textapi.cxx50
-rw-r--r--sd/source/core/typemap.cxx50
-rw-r--r--sd/source/core/undo/undofactory.cxx2
-rw-r--r--sd/source/core/undo/undomanager.cxx2
-rw-r--r--sd/source/core/undo/undoobjects.cxx20
-rw-r--r--sd/source/core/undoanim.cxx8
-rw-r--r--sd/source/filter/cgm/sdcgmfilter.cxx36
-rw-r--r--sd/source/filter/eppt/epptdef.hxx110
-rw-r--r--sd/source/filter/eppt/epptso.cxx6
-rw-r--r--sd/source/filter/eppt/escherex.cxx30
-rw-r--r--sd/source/filter/eppt/escherex.hxx20
-rw-r--r--sd/source/filter/eppt/pptexanimations.cxx2
-rw-r--r--sd/source/filter/eppt/pptexanimations.hxx6
-rw-r--r--sd/source/filter/eppt/pptexsoundcollection.cxx6
-rw-r--r--sd/source/filter/eppt/pptexsoundcollection.hxx30
-rw-r--r--sd/source/filter/eppt/pptx-epptbase.cxx2
-rw-r--r--sd/source/filter/grf/sdgrffilter.cxx32
-rw-r--r--sd/source/filter/html/HtmlOptionsDialog.cxx6
-rw-r--r--sd/source/filter/html/buttonset.cxx2
-rw-r--r--sd/source/filter/html/buttonset.hxx4
-rw-r--r--sd/source/filter/html/htmlattr.cxx2
-rw-r--r--sd/source/filter/html/htmlattr.hxx8
-rw-r--r--sd/source/filter/html/htmlex.cxx82
-rw-r--r--sd/source/filter/html/htmlex.hxx108
-rw-r--r--sd/source/filter/html/pubdlg.cxx164
-rw-r--r--sd/source/filter/html/pubdlg.src4
-rw-r--r--sd/source/filter/html/sdhtmlfilter.cxx2
-rw-r--r--sd/source/filter/ppt/ppt97animations.cxx68
-rw-r--r--sd/source/filter/ppt/ppt97animations.hxx32
-rw-r--r--sd/source/filter/ppt/pptanimations.hxx670
-rw-r--r--sd/source/filter/ppt/pptatom.cpp6
-rw-r--r--sd/source/filter/ppt/pptatom.hxx2
-rw-r--r--sd/source/filter/ppt/pptin.cxx348
-rw-r--r--sd/source/filter/ppt/pptin.hxx38
-rw-r--r--sd/source/filter/ppt/pptinanimations.cxx136
-rw-r--r--sd/source/filter/ppt/pptinanimations.hxx14
-rw-r--r--sd/source/filter/ppt/propread.cxx108
-rw-r--r--sd/source/filter/ppt/propread.hxx184
-rw-r--r--sd/source/filter/sdfilter.cxx60
-rw-r--r--sd/source/filter/sdpptwrp.cxx14
-rw-r--r--sd/source/filter/xml/sdtransform.cxx12
-rw-r--r--sd/source/filter/xml/sdxmlwrp.cxx40
-rw-r--r--sd/source/helper/simplereferencecomponent.cxx8
-rw-r--r--sd/source/ui/accessibility/AccessibleDocumentViewBase.cxx120
-rw-r--r--sd/source/ui/accessibility/AccessibleDrawDocumentView.cxx42
-rw-r--r--sd/source/ui/accessibility/AccessibleOutlineEditSource.cxx32
-rw-r--r--sd/source/ui/accessibility/AccessibleOutlineView.cxx18
-rw-r--r--sd/source/ui/accessibility/AccessiblePageShape.cxx6
-rw-r--r--sd/source/ui/accessibility/AccessiblePresentationGraphicShape.cxx10
-rw-r--r--sd/source/ui/accessibility/AccessiblePresentationOLEShape.cxx16
-rw-r--r--sd/source/ui/accessibility/AccessiblePresentationShape.cxx12
-rw-r--r--sd/source/ui/accessibility/AccessibleScrollPanel.cxx8
-rw-r--r--sd/source/ui/accessibility/AccessibleSlideSorterObject.cxx50
-rw-r--r--sd/source/ui/accessibility/AccessibleSlideSorterView.cxx82
-rw-r--r--sd/source/ui/accessibility/AccessibleTreeNode.cxx60
-rw-r--r--sd/source/ui/accessibility/AccessibleViewForwarder.cxx4
-rw-r--r--sd/source/ui/accessibility/SdShapeTypes.cxx46
-rw-r--r--sd/source/ui/accessibility/accessibility.hrc32
-rw-r--r--sd/source/ui/accessibility/accessibility.src2
-rw-r--r--sd/source/ui/animations/CustomAnimation.hrc200
-rw-r--r--sd/source/ui/animations/CustomAnimation.src20
-rw-r--r--sd/source/ui/animations/CustomAnimationCreateDialog.cxx34
-rw-r--r--sd/source/ui/animations/CustomAnimationCreateDialog.hrc12
-rw-r--r--sd/source/ui/animations/CustomAnimationCreateDialog.hxx2
-rw-r--r--sd/source/ui/animations/CustomAnimationCreateDialog.src8
-rw-r--r--sd/source/ui/animations/CustomAnimationDialog.cxx90
-rw-r--r--sd/source/ui/animations/CustomAnimationDialog.hrc102
-rw-r--r--sd/source/ui/animations/CustomAnimationDialog.hxx18
-rw-r--r--sd/source/ui/animations/CustomAnimationDialog.src84
-rw-r--r--sd/source/ui/animations/CustomAnimationList.cxx70
-rw-r--r--sd/source/ui/animations/CustomAnimationList.hxx24
-rw-r--r--sd/source/ui/animations/CustomAnimationPane.cxx88
-rw-r--r--sd/source/ui/animations/CustomAnimationPane.hrc56
-rw-r--r--sd/source/ui/animations/CustomAnimationPane.hxx48
-rw-r--r--sd/source/ui/animations/CustomAnimationPane.src40
-rw-r--r--sd/source/ui/animations/DialogListBox.cxx14
-rw-r--r--sd/source/ui/animations/STLPropertySet.cxx2
-rw-r--r--sd/source/ui/animations/STLPropertySet.hxx2
-rw-r--r--sd/source/ui/animations/SlideTransitionPane.cxx14
-rw-r--r--sd/source/ui/animations/SlideTransitionPane.hrc2
-rw-r--r--sd/source/ui/animations/SlideTransitionPane.hxx2
-rw-r--r--sd/source/ui/animations/SlideTransitionPane.src2
-rw-r--r--sd/source/ui/animations/motionpathtag.cxx118
-rw-r--r--sd/source/ui/animations/motionpathtag.hxx8
-rw-r--r--sd/source/ui/annotations/annotationmanager.cxx254
-rw-r--r--sd/source/ui/annotations/annotationmanagerimpl.hxx36
-rw-r--r--sd/source/ui/annotations/annotations.hrc52
-rw-r--r--sd/source/ui/annotations/annotations.src6
-rw-r--r--sd/source/ui/annotations/annotationtag.cxx98
-rw-r--r--sd/source/ui/annotations/annotationtag.hxx14
-rw-r--r--sd/source/ui/annotations/annotationwindow.cxx46
-rw-r--r--sd/source/ui/annotations/annotationwindow.hxx90
-rw-r--r--sd/source/ui/app/_app.hrc2
-rw-r--r--sd/source/ui/app/accel_tmpl.src4
-rw-r--r--sd/source/ui/app/accelids_tmpl.src2
-rw-r--r--sd/source/ui/app/app.src2
-rw-r--r--sd/source/ui/app/menu_tmpl.src4
-rwxr-xr-xsd/source/ui/app/menuids2_tmpl.src40
-rw-r--r--sd/source/ui/app/menuids3_tmpl.src2
-rw-r--r--sd/source/ui/app/menuids4_tmpl.src4
-rw-r--r--sd/source/ui/app/menuids_tmpl.src4
-rw-r--r--sd/source/ui/app/menuportal_tmpl.src10
-rw-r--r--sd/source/ui/app/optsitem.cxx250
-rw-r--r--sd/source/ui/app/popup.src6
-rw-r--r--sd/source/ui/app/popup2_tmpl.src16
-rwxr-xr-xsd/source/ui/app/res_bmp.src8
-rw-r--r--sd/source/ui/app/sddll.cxx2
-rw-r--r--sd/source/ui/app/sddll1.cxx2
-rw-r--r--sd/source/ui/app/sddll2.cxx8
-rw-r--r--sd/source/ui/app/sdmod.cxx12
-rw-r--r--sd/source/ui/app/sdmod1.cxx8
-rw-r--r--sd/source/ui/app/sdmod2.cxx22
-rw-r--r--sd/source/ui/app/sdpopup.cxx52
-rw-r--r--sd/source/ui/app/sdresid.cxx2
-rw-r--r--sd/source/ui/app/sdstring.src2
-rw-r--r--sd/source/ui/app/sdxfer.cxx80
-rwxr-xr-xsd/source/ui/app/strings.src4
-rw-r--r--sd/source/ui/app/tbx_ww.src2
-rw-r--r--sd/source/ui/app/tbxids_tmpl.src2
-rw-r--r--sd/source/ui/app/tbxww.cxx20
-rw-r--r--sd/source/ui/app/tmplctrl.cxx10
-rw-r--r--sd/source/ui/app/toolbox.src2
-rw-r--r--sd/source/ui/app/toolbox2_tmpl.src2
-rw-r--r--sd/source/ui/controller/slidelayoutcontroller.cxx14
-rw-r--r--sd/source/ui/controller/slidelayoutcontroller.hxx4
-rw-r--r--sd/source/ui/dlg/AnimationChildWindow.cxx4
-rw-r--r--sd/source/ui/dlg/LayerDialog.src2
-rw-r--r--sd/source/ui/dlg/LayerDialogChildWindow.cxx10
-rw-r--r--sd/source/ui/dlg/LayerDialogContent.cxx2
-rw-r--r--sd/source/ui/dlg/LayerTabBar.cxx26
-rw-r--r--sd/source/ui/dlg/NavigatorChildWindow.cxx4
-rw-r--r--sd/source/ui/dlg/PaneChildWindows.cxx26
-rw-r--r--sd/source/ui/dlg/PaneDockingWindow.cxx2
-rwxr-xr-xsd/source/ui/dlg/PaneDockingWindow.src8
-rw-r--r--sd/source/ui/dlg/PaneShells.cxx2
-rw-r--r--sd/source/ui/dlg/SpellDialogChildWindow.cxx10
-rw-r--r--sd/source/ui/dlg/TemplateScanner.cxx32
-rw-r--r--sd/source/ui/dlg/animobjs.cxx102
-rw-r--r--sd/source/ui/dlg/animobjs.src2
-rw-r--r--sd/source/ui/dlg/assclass.cxx2
-rw-r--r--sd/source/ui/dlg/brkdlg.cxx28
-rw-r--r--sd/source/ui/dlg/brkdlg.src2
-rw-r--r--sd/source/ui/dlg/celltempl.cxx2
-rw-r--r--sd/source/ui/dlg/celltempl.src2
-rw-r--r--sd/source/ui/dlg/copydlg.cxx18
-rw-r--r--sd/source/ui/dlg/copydlg.src2
-rw-r--r--sd/source/ui/dlg/custsdlg.cxx52
-rw-r--r--sd/source/ui/dlg/custsdlg.src2
-rw-r--r--sd/source/ui/dlg/diactrl.cxx14
-rw-r--r--sd/source/ui/dlg/dlg_char.src4
-rw-r--r--sd/source/ui/dlg/dlgass.cxx198
-rw-r--r--sd/source/ui/dlg/dlgass.src4
-rw-r--r--sd/source/ui/dlg/dlgassim.cxx8
-rw-r--r--sd/source/ui/dlg/dlgassim.hxx8
-rw-r--r--sd/source/ui/dlg/dlgchar.cxx6
-rw-r--r--sd/source/ui/dlg/dlgctrls.cxx6
-rw-r--r--sd/source/ui/dlg/dlgfield.cxx62
-rw-r--r--sd/source/ui/dlg/dlgfield.src2
-rw-r--r--sd/source/ui/dlg/dlgolbul.cxx14
-rw-r--r--sd/source/ui/dlg/dlgolbul.src2
-rw-r--r--sd/source/ui/dlg/dlgpage.cxx6
-rw-r--r--sd/source/ui/dlg/dlgpage.src2
-rw-r--r--sd/source/ui/dlg/dlgsnap.cxx18
-rw-r--r--sd/source/ui/dlg/dlgsnap.src2
-rw-r--r--sd/source/ui/dlg/docprev.cxx18
-rw-r--r--sd/source/ui/dlg/filedlg.cxx24
-rw-r--r--sd/source/ui/dlg/gluectrl.cxx20
-rw-r--r--sd/source/ui/dlg/headerfooterdlg.cxx70
-rw-r--r--sd/source/ui/dlg/headerfooterdlg.src96
-rw-r--r--sd/source/ui/dlg/ins_paste.cxx2
-rw-r--r--sd/source/ui/dlg/ins_paste.src2
-rw-r--r--sd/source/ui/dlg/inspagob.cxx26
-rw-r--r--sd/source/ui/dlg/inspagob.src2
-rw-r--r--sd/source/ui/dlg/layeroptionsdlg.cxx2
-rw-r--r--sd/source/ui/dlg/layeroptionsdlg.src4
-rw-r--r--sd/source/ui/dlg/masterlayoutdlg.cxx14
-rw-r--r--sd/source/ui/dlg/masterlayoutdlg.src12
-rw-r--r--sd/source/ui/dlg/morphdlg.cxx38
-rw-r--r--sd/source/ui/dlg/morphdlg.src2
-rw-r--r--sd/source/ui/dlg/navigatr.cxx46
-rw-r--r--sd/source/ui/dlg/navigatr.src16
-rw-r--r--sd/source/ui/dlg/paragr.cxx14
-rw-r--r--sd/source/ui/dlg/paragr.src4
-rw-r--r--sd/source/ui/dlg/present.cxx32
-rw-r--r--sd/source/ui/dlg/present.src12
-rw-r--r--sd/source/ui/dlg/prltempl.cxx18
-rw-r--r--sd/source/ui/dlg/prltempl.src8
-rw-r--r--sd/source/ui/dlg/prntopts.cxx12
-rw-r--r--sd/source/ui/dlg/prntopts.src2
-rw-r--r--sd/source/ui/dlg/sdabstdlg.cxx2
-rw-r--r--sd/source/ui/dlg/sddlgfact.cxx38
-rw-r--r--sd/source/ui/dlg/sddlgfact.hxx170
-rw-r--r--sd/source/ui/dlg/sdpreslt.cxx22
-rw-r--r--sd/source/ui/dlg/sdpreslt.src2
-rw-r--r--sd/source/ui/dlg/sdtreelb.cxx104
-rw-r--r--sd/source/ui/dlg/sduiexp.cxx2
-rw-r--r--sd/source/ui/dlg/tabtempl.cxx18
-rw-r--r--sd/source/ui/dlg/tabtempl.src4
-rw-r--r--sd/source/ui/dlg/tpaction.cxx72
-rw-r--r--sd/source/ui/dlg/tpaction.src8
-rw-r--r--sd/source/ui/dlg/tpoption.cxx42
-rw-r--r--sd/source/ui/dlg/tpoption.src2
-rw-r--r--sd/source/ui/dlg/unchss.cxx2
-rw-r--r--sd/source/ui/dlg/vectdlg.cxx86
-rw-r--r--sd/source/ui/dlg/vectdlg.src2
-rw-r--r--sd/source/ui/docshell/docshel2.cxx42
-rw-r--r--sd/source/ui/docshell/docshel3.cxx10
-rw-r--r--sd/source/ui/docshell/docshel4.cxx36
-rw-r--r--sd/source/ui/docshell/docshell.cxx20
-rw-r--r--sd/source/ui/docshell/grdocsh.cxx2
-rw-r--r--sd/source/ui/docshell/sdclient.cxx6
-rw-r--r--sd/source/ui/framework/configuration/ChangeRequestQueue.cxx2
-rw-r--r--sd/source/ui/framework/configuration/ChangeRequestQueue.hxx2
-rw-r--r--sd/source/ui/framework/configuration/ChangeRequestQueueProcessor.cxx4
-rw-r--r--sd/source/ui/framework/configuration/ChangeRequestQueueProcessor.hxx4
-rw-r--r--sd/source/ui/framework/configuration/Configuration.cxx22
-rw-r--r--sd/source/ui/framework/configuration/ConfigurationClassifier.cxx12
-rw-r--r--sd/source/ui/framework/configuration/ConfigurationClassifier.hxx2
-rw-r--r--sd/source/ui/framework/configuration/ConfigurationController.cxx24
-rw-r--r--sd/source/ui/framework/configuration/ConfigurationControllerBroadcaster.cxx8
-rw-r--r--sd/source/ui/framework/configuration/ConfigurationControllerBroadcaster.hxx2
-rw-r--r--sd/source/ui/framework/configuration/ConfigurationControllerResourceManager.cxx14
-rw-r--r--sd/source/ui/framework/configuration/ConfigurationControllerResourceManager.hxx10
-rw-r--r--sd/source/ui/framework/configuration/ConfigurationTracer.cxx2
-rw-r--r--sd/source/ui/framework/configuration/ConfigurationTracer.hxx2
-rw-r--r--sd/source/ui/framework/configuration/ConfigurationUpdater.cxx10
-rw-r--r--sd/source/ui/framework/configuration/ConfigurationUpdater.hxx10
-rw-r--r--sd/source/ui/framework/configuration/GenericConfigurationChangeRequest.cxx6
-rw-r--r--sd/source/ui/framework/configuration/GenericConfigurationChangeRequest.hxx10
-rw-r--r--sd/source/ui/framework/configuration/ResourceFactoryManager.cxx4
-rw-r--r--sd/source/ui/framework/configuration/ResourceFactoryManager.hxx4
-rw-r--r--sd/source/ui/framework/configuration/ResourceId.cxx10
-rw-r--r--sd/source/ui/framework/configuration/UpdateRequest.cxx4
-rw-r--r--sd/source/ui/framework/configuration/UpdateRequest.hxx6
-rw-r--r--sd/source/ui/framework/factories/BasicPaneFactory.cxx12
-rw-r--r--sd/source/ui/framework/factories/BasicPaneFactory.hxx14
-rw-r--r--sd/source/ui/framework/factories/BasicToolBarFactory.cxx8
-rw-r--r--sd/source/ui/framework/factories/BasicToolBarFactory.hxx16
-rw-r--r--sd/source/ui/framework/factories/BasicViewFactory.cxx26
-rw-r--r--sd/source/ui/framework/factories/BasicViewFactory.hxx14
-rw-r--r--sd/source/ui/framework/factories/ChildWindowPane.cxx14
-rw-r--r--sd/source/ui/framework/factories/ChildWindowPane.hxx4
-rw-r--r--sd/source/ui/framework/factories/FrameWindowPane.cxx2
-rw-r--r--sd/source/ui/framework/factories/FrameWindowPane.hxx2
-rw-r--r--sd/source/ui/framework/factories/FullScreenPane.cxx14
-rw-r--r--sd/source/ui/framework/factories/FullScreenPane.hxx4
-rw-r--r--sd/source/ui/framework/factories/Pane.cxx12
-rw-r--r--sd/source/ui/framework/factories/PresentationFactory.cxx14
-rw-r--r--sd/source/ui/framework/factories/TaskPanelFactory.cxx14
-rw-r--r--sd/source/ui/framework/factories/TaskPanelFactory.hxx10
-rw-r--r--sd/source/ui/framework/factories/ViewShellWrapper.cxx12
-rw-r--r--sd/source/ui/framework/module/CenterViewFocusModule.cxx8
-rw-r--r--sd/source/ui/framework/module/CenterViewFocusModule.hxx8
-rw-r--r--sd/source/ui/framework/module/DrawModule.cxx2
-rw-r--r--sd/source/ui/framework/module/ImpressModule.cxx2
-rw-r--r--sd/source/ui/framework/module/ModuleController.cxx6
-rw-r--r--sd/source/ui/framework/module/PresentationModule.cxx2
-rw-r--r--sd/source/ui/framework/module/ReadOnlyModeObserver.cxx8
-rw-r--r--sd/source/ui/framework/module/ReadOnlyModeObserver.hxx10
-rw-r--r--sd/source/ui/framework/module/ResourceManager.cxx2
-rw-r--r--sd/source/ui/framework/module/ResourceManager.hxx10
-rw-r--r--sd/source/ui/framework/module/ShellStackGuard.cxx6
-rw-r--r--sd/source/ui/framework/module/ShellStackGuard.hxx8
-rw-r--r--sd/source/ui/framework/module/SlideSorterModule.cxx6
-rw-r--r--sd/source/ui/framework/module/SlideSorterModule.hxx6
-rw-r--r--sd/source/ui/framework/module/ToolBarModule.cxx4
-rw-r--r--sd/source/ui/framework/module/ToolBarModule.hxx8
-rw-r--r--sd/source/ui/framework/module/ToolPanelModule.cxx10
-rw-r--r--sd/source/ui/framework/module/ToolPanelModule.hxx2
-rw-r--r--sd/source/ui/framework/module/ViewTabBarModule.cxx10
-rw-r--r--sd/source/ui/framework/module/ViewTabBarModule.hxx8
-rw-r--r--sd/source/ui/framework/tools/FrameworkHelper.cxx30
-rw-r--r--sd/source/ui/func/bulmaper.cxx4
-rw-r--r--sd/source/ui/func/fuarea.cxx4
-rw-r--r--sd/source/ui/func/fubullet.cxx26
-rw-r--r--sd/source/ui/func/fuchar.cxx2
-rw-r--r--sd/source/ui/func/fucon3d.cxx28
-rw-r--r--sd/source/ui/func/fuconarc.cxx30
-rw-r--r--sd/source/ui/func/fuconbez.cxx20
-rw-r--r--sd/source/ui/func/fuconcs.cxx14
-rw-r--r--sd/source/ui/func/fuconnct.cxx8
-rw-r--r--sd/source/ui/func/fuconrec.cxx64
-rw-r--r--sd/source/ui/func/fuconstr.cxx16
-rw-r--r--sd/source/ui/func/fuconuno.cxx14
-rw-r--r--sd/source/ui/func/fucopy.cxx48
-rw-r--r--sd/source/ui/func/fucushow.cxx14
-rw-r--r--sd/source/ui/func/fudraw.cxx18
-rw-r--r--sd/source/ui/func/fudspord.cxx4
-rw-r--r--sd/source/ui/func/fuediglu.cxx6
-rw-r--r--sd/source/ui/func/fuexpand.cxx8
-rw-r--r--sd/source/ui/func/fuformatpaintbrush.cxx14
-rw-r--r--sd/source/ui/func/fuhhconv.cxx2
-rw-r--r--sd/source/ui/func/fuinsert.cxx20
-rw-r--r--sd/source/ui/func/fuinsfil.cxx48
-rw-r--r--sd/source/ui/func/fuline.cxx10
-rw-r--r--sd/source/ui/func/fulinend.cxx2
-rw-r--r--sd/source/ui/func/fulink.cxx2
-rw-r--r--sd/source/ui/func/fumeasur.cxx8
-rw-r--r--sd/source/ui/func/fumorph.cxx80
-rw-r--r--sd/source/ui/func/fuoaprms.cxx30
-rw-r--r--sd/source/ui/func/fuolbull.cxx2
-rw-r--r--sd/source/ui/func/fuoltext.cxx2
-rw-r--r--sd/source/ui/func/fuoutl.cxx12
-rw-r--r--sd/source/ui/func/fupage.cxx20
-rw-r--r--sd/source/ui/func/fuparagr.cxx2
-rw-r--r--sd/source/ui/func/fupoor.cxx88
-rw-r--r--sd/source/ui/func/fuprlout.cxx18
-rw-r--r--sd/source/ui/func/fuprobjs.cxx10
-rw-r--r--sd/source/ui/func/fuscale.cxx10
-rw-r--r--sd/source/ui/func/fusearch.cxx2
-rw-r--r--sd/source/ui/func/fusel.cxx2
-rw-r--r--sd/source/ui/func/fusldlg.cxx28
-rw-r--r--sd/source/ui/func/fusnapln.cxx18
-rw-r--r--sd/source/ui/func/fusumry.cxx8
-rw-r--r--sd/source/ui/func/futempl.cxx10
-rw-r--r--sd/source/ui/func/futext.cxx24
-rw-r--r--sd/source/ui/func/futhes.cxx2
-rw-r--r--sd/source/ui/func/futransf.cxx2
-rw-r--r--sd/source/ui/func/futxtatt.cxx8
-rw-r--r--sd/source/ui/func/fuvect.cxx16
-rw-r--r--sd/source/ui/func/fuzoom.cxx6
-rw-r--r--sd/source/ui/func/sdundo.cxx2
-rw-r--r--sd/source/ui/func/sdundogr.cxx6
-rw-r--r--sd/source/ui/func/smarttag.cxx12
-rw-r--r--sd/source/ui/func/undoback.cxx8
-rw-r--r--sd/source/ui/func/undoheaderfooter.cxx6
-rw-r--r--sd/source/ui/func/undolayer.cxx10
-rw-r--r--sd/source/ui/func/undopage.cxx2
-rw-r--r--sd/source/ui/func/unmovss.cxx4
-rw-r--r--sd/source/ui/func/unoaprms.cxx16
-rw-r--r--sd/source/ui/func/unprlout.cxx2
-rw-r--r--sd/source/ui/inc/3dchld.hxx4
-rw-r--r--sd/source/ui/inc/AccessibleDocumentViewBase.hxx88
-rw-r--r--sd/source/ui/inc/AccessibleDrawDocumentView.hxx22
-rw-r--r--sd/source/ui/inc/AccessibleOutlineEditSource.hxx52
-rw-r--r--sd/source/ui/inc/AccessibleOutlineView.hxx30
-rw-r--r--sd/source/ui/inc/AccessiblePageShape.hxx36
-rw-r--r--sd/source/ui/inc/AccessiblePresentationGraphicShape.hxx14
-rw-r--r--sd/source/ui/inc/AccessiblePresentationOLEShape.hxx14
-rw-r--r--sd/source/ui/inc/AccessiblePresentationShape.hxx16
-rw-r--r--sd/source/ui/inc/AccessibleScrollPanel.hxx8
-rw-r--r--sd/source/ui/inc/AccessibleSlideSorterObject.hxx40
-rw-r--r--sd/source/ui/inc/AccessibleSlideSorterView.hxx80
-rw-r--r--sd/source/ui/inc/AccessibleSlideView.hxx46
-rw-r--r--sd/source/ui/inc/AccessibleTreeNode.hxx72
-rw-r--r--sd/source/ui/inc/AccessibleViewForwarder.hxx18
-rw-r--r--sd/source/ui/inc/AnimationChildWindow.hxx8
-rw-r--r--sd/source/ui/inc/BezierObjectBar.hxx4
-rw-r--r--sd/source/ui/inc/BreakDlg.hxx36
-rw-r--r--sd/source/ui/inc/Client.hxx18
-rw-r--r--sd/source/ui/inc/ClientView.hxx6
-rw-r--r--sd/source/ui/inc/CustomAnimation.hxx4
-rw-r--r--sd/source/ui/inc/DialogListBox.hxx40
-rw-r--r--sd/source/ui/inc/DocumentRenderer.hxx6
-rw-r--r--sd/source/ui/inc/DrawController.hxx24
-rw-r--r--sd/source/ui/inc/DrawDocShell.hxx68
-rw-r--r--sd/source/ui/inc/DrawSubController.hxx2
-rw-r--r--sd/source/ui/inc/DrawViewShell.hxx198
-rw-r--r--sd/source/ui/inc/EventMultiplexer.hxx22
-rw-r--r--sd/source/ui/inc/FormShellManager.hxx4
-rw-r--r--sd/source/ui/inc/FrameView.hxx64
-rw-r--r--sd/source/ui/inc/GraphicDocShell.hxx2
-rw-r--r--sd/source/ui/inc/GraphicObjectBar.hxx16
-rw-r--r--sd/source/ui/inc/GraphicViewShell.hxx4
-rw-r--r--sd/source/ui/inc/GraphicViewShellBase.hxx2
-rw-r--r--sd/source/ui/inc/ImpressViewShellBase.hxx2
-rw-r--r--sd/source/ui/inc/LayerDialog.hrc4
-rw-r--r--sd/source/ui/inc/LayerDialogChildWindow.hxx6
-rw-r--r--sd/source/ui/inc/LayerDialogContent.hxx8
-rw-r--r--sd/source/ui/inc/LayerTabBar.hxx34
-rw-r--r--sd/source/ui/inc/MasterPageObserver.hxx10
-rw-r--r--sd/source/ui/inc/MediaObjectBar.hxx10
-rw-r--r--sd/source/ui/inc/MutexOwner.hxx4
-rw-r--r--sd/source/ui/inc/NavigatorChildWindow.hxx8
-rw-r--r--sd/source/ui/inc/NotesChildWindow.hrc2
-rw-r--r--sd/source/ui/inc/NotesChildWindow.hxx4
-rw-r--r--sd/source/ui/inc/OutlineBulletDlg.hxx16
-rw-r--r--sd/source/ui/inc/OutlineView.hxx80
-rw-r--r--sd/source/ui/inc/OutlineViewShell.hxx14
-rw-r--r--sd/source/ui/inc/OutlineViewShellBase.hxx2
-rw-r--r--sd/source/ui/inc/OutlinerIteratorImpl.hxx28
-rw-r--r--sd/source/ui/inc/PaneChildWindows.hxx10
-rwxr-xr-xsd/source/ui/inc/PaneDockingWindow.hrc2
-rw-r--r--sd/source/ui/inc/PaneDockingWindow.hxx2
-rw-r--r--sd/source/ui/inc/PaneShells.hxx10
-rw-r--r--sd/source/ui/inc/PresentationViewShell.hxx8
-rw-r--r--sd/source/ui/inc/PresentationViewShellBase.hxx2
-rw-r--r--sd/source/ui/inc/PreviewRenderer.hxx8
-rw-r--r--sd/source/ui/inc/Ruler.hxx18
-rw-r--r--sd/source/ui/inc/SdUnoDrawView.hxx24
-rw-r--r--sd/source/ui/inc/SdUnoOutlineView.hxx22
-rw-r--r--sd/source/ui/inc/SdUnoSlideView.hxx16
-rw-r--r--sd/source/ui/inc/ShellFactory.hxx2
-rw-r--r--sd/source/ui/inc/SlideSorter.hxx10
-rw-r--r--sd/source/ui/inc/SlideSorterChildWindow.hrc2
-rw-r--r--sd/source/ui/inc/SlideSorterChildWindow.hxx10
-rw-r--r--sd/source/ui/inc/SlideSorterViewShell.hxx22
-rw-r--r--sd/source/ui/inc/SlideSorterViewShellBase.hxx2
-rw-r--r--sd/source/ui/inc/SlideView.hxx48
-rw-r--r--sd/source/ui/inc/SlideViewShell.hxx26
-rw-r--r--sd/source/ui/inc/SpellDialogChildWindow.hxx6
-rw-r--r--sd/source/ui/inc/TabControl.hxx60
-rw-r--r--sd/source/ui/inc/TemplateScanner.hxx4
-rw-r--r--sd/source/ui/inc/TextLogger.hxx2
-rw-r--r--sd/source/ui/inc/TextObjectBar.hxx6
-rw-r--r--sd/source/ui/inc/ToolBarManager.hxx4
-rw-r--r--sd/source/ui/inc/UpdateLockManager.hxx2
-rw-r--r--sd/source/ui/inc/View.hxx94
-rw-r--r--sd/source/ui/inc/ViewClipboard.hxx2
-rw-r--r--sd/source/ui/inc/ViewShell.hxx92
-rw-r--r--sd/source/ui/inc/ViewShellBase.hxx6
-rw-r--r--sd/source/ui/inc/ViewShellHint.hxx2
-rw-r--r--sd/source/ui/inc/ViewShellImplementation.hxx6
-rw-r--r--sd/source/ui/inc/ViewShellManager.hxx12
-rw-r--r--sd/source/ui/inc/ViewTabBar.hxx16
-rw-r--r--sd/source/ui/inc/ViewTabControl.hxx60
-rw-r--r--sd/source/ui/inc/Window.hxx54
-rw-r--r--sd/source/ui/inc/WindowUpdater.hxx2
-rw-r--r--sd/source/ui/inc/animobjs.hrc2
-rw-r--r--sd/source/ui/inc/animobjs.hxx104
-rw-r--r--sd/source/ui/inc/annotationmanager.hxx6
-rw-r--r--sd/source/ui/inc/assclass.hxx2
-rw-r--r--sd/source/ui/inc/bmcache.hxx16
-rw-r--r--sd/source/ui/inc/brkdlg.hrc10
-rw-r--r--sd/source/ui/inc/bulmaper.hxx2
-rw-r--r--sd/source/ui/inc/celltempl.hrc4
-rw-r--r--sd/source/ui/inc/celltempl.hxx14
-rw-r--r--sd/source/ui/inc/cfgids.hxx56
-rw-r--r--sd/source/ui/inc/copydlg.hrc2
-rw-r--r--sd/source/ui/inc/copydlg.hxx72
-rw-r--r--sd/source/ui/inc/custsdlg.hrc6
-rw-r--r--sd/source/ui/inc/custsdlg.hxx78
-rw-r--r--sd/source/ui/inc/diactrl.hxx12
-rw-r--r--sd/source/ui/inc/dialogs.hrc12
-rw-r--r--sd/source/ui/inc/dlg_char.hrc4
-rw-r--r--sd/source/ui/inc/dlg_char.hxx6
-rw-r--r--sd/source/ui/inc/dlgass.hrc94
-rw-r--r--sd/source/ui/inc/dlgass.hxx2
-rw-r--r--sd/source/ui/inc/dlgctrls.hxx10
-rw-r--r--sd/source/ui/inc/dlgfield.hrc2
-rw-r--r--sd/source/ui/inc/dlgfield.hxx36
-rw-r--r--sd/source/ui/inc/dlgolbul.hrc4
-rw-r--r--sd/source/ui/inc/dlgpage.hrc4
-rw-r--r--sd/source/ui/inc/dlgpage.hxx12
-rw-r--r--sd/source/ui/inc/dlgsnap.hrc2
-rw-r--r--sd/source/ui/inc/dlgsnap.hxx38
-rw-r--r--sd/source/ui/inc/docprev.hxx24
-rw-r--r--sd/source/ui/inc/drawview.hxx16
-rw-r--r--sd/source/ui/inc/enumdlg.hrc2
-rw-r--r--sd/source/ui/inc/filedlg.hxx14
-rw-r--r--sd/source/ui/inc/fontwork.hrc2
-rw-r--r--sd/source/ui/inc/framework/Configuration.hxx16
-rw-r--r--sd/source/ui/inc/framework/ConfigurationController.hxx24
-rw-r--r--sd/source/ui/inc/framework/DrawModule.hxx2
-rw-r--r--sd/source/ui/inc/framework/FrameworkHelper.hxx16
-rw-r--r--sd/source/ui/inc/framework/ImpressModule.hxx2
-rw-r--r--sd/source/ui/inc/framework/ModuleController.hxx16
-rw-r--r--sd/source/ui/inc/framework/Pane.hxx14
-rw-r--r--sd/source/ui/inc/framework/PresentationFactory.hxx10
-rw-r--r--sd/source/ui/inc/framework/PresentationModule.hxx2
-rw-r--r--sd/source/ui/inc/framework/ResourceId.hxx6
-rw-r--r--sd/source/ui/inc/framework/ViewShellWrapper.hxx12
-rw-r--r--sd/source/ui/inc/fuarea.hxx8
-rw-r--r--sd/source/ui/inc/fubullet.hxx6
-rw-r--r--sd/source/ui/inc/fuchar.hxx10
-rw-r--r--sd/source/ui/inc/fucon3d.hxx10
-rw-r--r--sd/source/ui/inc/fuconarc.hxx12
-rw-r--r--sd/source/ui/inc/fuconbez.hxx16
-rw-r--r--sd/source/ui/inc/fuconcs.hxx8
-rw-r--r--sd/source/ui/inc/fuconnct.hxx10
-rw-r--r--sd/source/ui/inc/fuconrec.hxx12
-rw-r--r--sd/source/ui/inc/fuconstr.hxx18
-rw-r--r--sd/source/ui/inc/fuconuno.hxx14
-rw-r--r--sd/source/ui/inc/fucopy.hxx10
-rw-r--r--sd/source/ui/inc/fucushow.hxx10
-rw-r--r--sd/source/ui/inc/fudraw.hxx20
-rw-r--r--sd/source/ui/inc/fudspord.hxx24
-rw-r--r--sd/source/ui/inc/fuediglu.hxx16
-rw-r--r--sd/source/ui/inc/fuexpand.hxx10
-rw-r--r--sd/source/ui/inc/fuformatpaintbrush.hxx8
-rw-r--r--sd/source/ui/inc/fugrid.hxx10
-rw-r--r--sd/source/ui/inc/fuhhconv.hxx14
-rw-r--r--sd/source/ui/inc/fuinsert.hxx30
-rw-r--r--sd/source/ui/inc/fuinsfil.hxx14
-rw-r--r--sd/source/ui/inc/fuline.hxx10
-rw-r--r--sd/source/ui/inc/fulinend.hxx10
-rw-r--r--sd/source/ui/inc/fulink.hxx10
-rw-r--r--sd/source/ui/inc/fumeasur.hxx10
-rw-r--r--sd/source/ui/inc/fumorph.hxx18
-rw-r--r--sd/source/ui/inc/fuoaprms.hxx6
-rw-r--r--sd/source/ui/inc/fuolbull.hxx10
-rw-r--r--sd/source/ui/inc/fuoltext.hxx14
-rw-r--r--sd/source/ui/inc/fuoutl.hxx10
-rw-r--r--sd/source/ui/inc/fupage.hxx32
-rw-r--r--sd/source/ui/inc/fuparagr.hxx10
-rw-r--r--sd/source/ui/inc/fupoor.hxx58
-rw-r--r--sd/source/ui/inc/fuprlout.hxx10
-rw-r--r--sd/source/ui/inc/fuprobjs.hxx10
-rw-r--r--sd/source/ui/inc/fuscale.hxx10
-rw-r--r--sd/source/ui/inc/fusearch.hxx8
-rw-r--r--sd/source/ui/inc/fusel.hxx20
-rw-r--r--sd/source/ui/inc/fusldlg.hxx10
-rw-r--r--sd/source/ui/inc/fuslhide.hxx10
-rw-r--r--sd/source/ui/inc/fuslid.hxx12
-rw-r--r--sd/source/ui/inc/fuslsel.hxx40
-rw-r--r--sd/source/ui/inc/fusnapln.hxx10
-rw-r--r--sd/source/ui/inc/fusumry.hxx10
-rw-r--r--sd/source/ui/inc/futempl.hxx10
-rw-r--r--sd/source/ui/inc/futext.hxx20
-rw-r--r--sd/source/ui/inc/futhes.hxx10
-rw-r--r--sd/source/ui/inc/futransf.hxx10
-rw-r--r--sd/source/ui/inc/futxtatt.hxx10
-rw-r--r--sd/source/ui/inc/fuvect.hxx10
-rw-r--r--sd/source/ui/inc/fuzoom.hxx28
-rw-r--r--sd/source/ui/inc/gluectrl.hxx10
-rw-r--r--sd/source/ui/inc/headerfooterdlg.hrc58
-rw-r--r--sd/source/ui/inc/headerfooterdlg.hxx20
-rw-r--r--sd/source/ui/inc/ins_paste.hrc14
-rw-r--r--sd/source/ui/inc/ins_paste.hxx10
-rw-r--r--sd/source/ui/inc/inspagob.hrc2
-rw-r--r--sd/source/ui/inc/inspagob.hxx28
-rw-r--r--sd/source/ui/inc/layeroptionsdlg.hrc2
-rw-r--r--sd/source/ui/inc/layeroptionsdlg.hxx32
-rw-r--r--sd/source/ui/inc/masterlayoutdlg.hrc18
-rw-r--r--sd/source/ui/inc/masterlayoutdlg.hxx28
-rw-r--r--sd/source/ui/inc/morphdlg.hrc20
-rw-r--r--sd/source/ui/inc/morphdlg.hxx36
-rw-r--r--sd/source/ui/inc/navigatr.hrc2
-rw-r--r--sd/source/ui/inc/navigatr.hxx104
-rw-r--r--sd/source/ui/inc/optdlg.hrc10
-rw-r--r--sd/source/ui/inc/optdlg.hxx8
-rw-r--r--sd/source/ui/inc/optsitem.hxx612
-rw-r--r--sd/source/ui/inc/packgdlg.hrc30
-rw-r--r--sd/source/ui/inc/paragr.hrc4
-rw-r--r--sd/source/ui/inc/paragr.hxx4
-rw-r--r--sd/source/ui/inc/pgjump.hxx2
-rw-r--r--sd/source/ui/inc/present.hrc10
-rw-r--r--sd/source/ui/inc/present.hxx70
-rw-r--r--sd/source/ui/inc/preview.hrc2
-rw-r--r--sd/source/ui/inc/prltempl.hrc8
-rw-r--r--sd/source/ui/inc/prltempl.hxx38
-rw-r--r--sd/source/ui/inc/prntopts.hrc10
-rw-r--r--sd/source/ui/inc/prntopts.hxx34
-rw-r--r--sd/source/ui/inc/pubdlg.hrc182
-rw-r--r--sd/source/ui/inc/pubdlg.hxx198
-rwxr-xr-xsd/source/ui/inc/res_bmp.hrc492
-rw-r--r--sd/source/ui/inc/sdpopup.hxx12
-rw-r--r--sd/source/ui/inc/sdpreslt.hrc2
-rw-r--r--sd/source/ui/inc/sdpreslt.hxx30
-rw-r--r--sd/source/ui/inc/sdstring.hrc6
-rw-r--r--sd/source/ui/inc/sdtreelb.hxx116
-rw-r--r--sd/source/ui/inc/sdundogr.hxx12
-rw-r--r--sd/source/ui/inc/sdxfer.hxx86
-rw-r--r--sd/source/ui/inc/slideshow.hxx36
-rw-r--r--sd/source/ui/inc/smarttag.hxx16
-rw-r--r--sd/source/ui/inc/sprite.hxx48
-rwxr-xr-xsd/source/ui/inc/strings.hrc698
-rw-r--r--sd/source/ui/inc/tabtempl.hrc6
-rw-r--r--sd/source/ui/inc/tabtempl.hxx36
-rw-r--r--sd/source/ui/inc/taskpane/ControlContainer.hxx2
-rw-r--r--sd/source/ui/inc/taskpane/ILayoutableWindow.hxx10
-rw-r--r--sd/source/ui/inc/taskpane/PanelId.hxx2
-rw-r--r--sd/source/ui/inc/taskpane/ScrollPanel.hxx6
-rw-r--r--sd/source/ui/inc/taskpane/SlideSorterCacheDisplay.hxx12
-rw-r--r--sd/source/ui/inc/taskpane/SubToolPanel.hxx2
-rw-r--r--sd/source/ui/inc/taskpane/TaskPaneControlFactory.hxx2
-rw-r--r--sd/source/ui/inc/taskpane/TaskPaneTreeNode.hxx10
-rw-r--r--sd/source/ui/inc/taskpane/TitleBar.hxx2
-rw-r--r--sd/source/ui/inc/taskpane/TitledControl.hxx10
-rw-r--r--sd/source/ui/inc/taskpane/ToolPanelViewShell.hxx8
-rw-r--r--sd/source/ui/inc/tbx_ww.hrc2
-rw-r--r--sd/source/ui/inc/tbx_ww.hxx20
-rw-r--r--sd/source/ui/inc/tmplctrl.hxx4
-rw-r--r--sd/source/ui/inc/tools/AsynchronousCall.hxx8
-rw-r--r--sd/source/ui/inc/tools/AsynchronousTask.hxx4
-rw-r--r--sd/source/ui/inc/tools/ConfigurationAccess.hxx6
-rw-r--r--sd/source/ui/inc/tools/IconCache.hxx4
-rw-r--r--sd/source/ui/inc/tools/IdleDetection.hxx4
-rw-r--r--sd/source/ui/inc/tools/PropertySet.hxx10
-rw-r--r--sd/source/ui/inc/tools/SdGlobalResourceContainer.hxx4
-rw-r--r--sd/source/ui/inc/tools/SlotStateListener.hxx10
-rw-r--r--sd/source/ui/inc/tools/TimerBasedTaskExecution.hxx6
-rw-r--r--sd/source/ui/inc/tpaction.hrc2
-rw-r--r--sd/source/ui/inc/tpaction.hxx60
-rw-r--r--sd/source/ui/inc/tpoption.hrc2
-rw-r--r--sd/source/ui/inc/tpoption.hxx38
-rw-r--r--sd/source/ui/inc/unchss.hxx2
-rw-r--r--sd/source/ui/inc/undoback.hxx12
-rw-r--r--sd/source/ui/inc/undoheaderfooter.hxx8
-rw-r--r--sd/source/ui/inc/undolayer.hxx6
-rw-r--r--sd/source/ui/inc/undopage.hxx92
-rw-r--r--sd/source/ui/inc/unmodpg.hxx18
-rw-r--r--sd/source/ui/inc/unmovss.hxx8
-rw-r--r--sd/source/ui/inc/unoaprms.hxx24
-rw-r--r--sd/source/ui/inc/unokywds.hxx164
-rw-r--r--sd/source/ui/inc/unomodel.hxx20
-rw-r--r--sd/source/ui/inc/unoprnms.hxx124
-rw-r--r--sd/source/ui/inc/unosrch.hxx8
-rw-r--r--sd/source/ui/inc/unprlout.hxx2
-rw-r--r--sd/source/ui/inc/unslsel.hxx6
-rw-r--r--sd/source/ui/inc/vectdlg.hrc40
-rw-r--r--sd/source/ui/inc/vectdlg.hxx78
-rw-r--r--sd/source/ui/inc/view/viewoverlaymanager.hxx6
-rw-r--r--sd/source/ui/inc/zoomlist.hxx16
-rw-r--r--sd/source/ui/notes/EditWindow.cxx18
-rw-r--r--sd/source/ui/notes/EditWindow.hxx52
-rw-r--r--sd/source/ui/notes/NotesChildWindow.cxx10
-rwxr-xr-xsd/source/ui/notes/NotesChildWindow.src2
-rw-r--r--sd/source/ui/notes/NotesDockingWindow.cxx2
-rw-r--r--sd/source/ui/notes/NotesDockingWindow.hxx2
-rw-r--r--sd/source/ui/notes/TextLogger.cxx6
-rw-r--r--sd/source/ui/presenter/CanvasUpdateRequester.cxx2
-rw-r--r--sd/source/ui/presenter/CanvasUpdateRequester.hxx10
-rw-r--r--sd/source/ui/presenter/PresenterCanvas.cxx34
-rw-r--r--sd/source/ui/presenter/PresenterCanvas.hxx64
-rw-r--r--sd/source/ui/presenter/PresenterCanvasFactory.cxx8
-rw-r--r--sd/source/ui/presenter/PresenterHelper.cxx12
-rw-r--r--sd/source/ui/presenter/PresenterHelper.hxx8
-rw-r--r--sd/source/ui/presenter/PresenterPreviewCache.cxx12
-rw-r--r--sd/source/ui/presenter/PresenterPreviewCache.hxx8
-rw-r--r--sd/source/ui/presenter/PresenterTextView.cxx2
-rw-r--r--sd/source/ui/presenter/PresenterTextView.hxx4
-rw-r--r--sd/source/ui/presenter/SlideRenderer.cxx8
-rw-r--r--sd/source/ui/presenter/SlideRenderer.hxx10
-rw-r--r--sd/source/ui/slideshow/PaneHider.cxx2
-rw-r--r--sd/source/ui/slideshow/PaneHider.hxx2
-rw-r--r--sd/source/ui/slideshow/SlideShowRestarter.cxx6
-rw-r--r--sd/source/ui/slideshow/SlideShowRestarter.hxx2
-rw-r--r--sd/source/ui/slideshow/showwin.cxx68
-rw-r--r--sd/source/ui/slideshow/showwindow.hxx78
-rw-r--r--sd/source/ui/slideshow/slideshow.cxx54
-rw-r--r--sd/source/ui/slideshow/slideshow.hrc52
-rw-r--r--sd/source/ui/slideshow/slideshow.src12
-rw-r--r--sd/source/ui/slideshow/slideshowimpl.cxx218
-rw-r--r--sd/source/ui/slideshow/slideshowimpl.hxx72
-rw-r--r--sd/source/ui/slideshow/slideshowviewimpl.cxx42
-rw-r--r--sd/source/ui/slideshow/slideshowviewimpl.hxx60
-rw-r--r--sd/source/ui/slidesorter/cache/SlsBitmapCache.cxx22
-rw-r--r--sd/source/ui/slidesorter/cache/SlsBitmapCache.hxx8
-rw-r--r--sd/source/ui/slidesorter/cache/SlsBitmapCompressor.cxx8
-rw-r--r--sd/source/ui/slidesorter/cache/SlsBitmapCompressor.hxx2
-rw-r--r--sd/source/ui/slidesorter/cache/SlsBitmapFactory.cxx2
-rw-r--r--sd/source/ui/slidesorter/cache/SlsBitmapFactory.hxx2
-rw-r--r--sd/source/ui/slidesorter/cache/SlsCacheCompactor.cxx10
-rw-r--r--sd/source/ui/slidesorter/cache/SlsCacheCompactor.hxx8
-rw-r--r--sd/source/ui/slidesorter/cache/SlsCacheConfiguration.cxx4
-rw-r--r--sd/source/ui/slidesorter/cache/SlsCacheConfiguration.hxx4
-rw-r--r--sd/source/ui/slidesorter/cache/SlsGenericPageCache.cxx4
-rw-r--r--sd/source/ui/slidesorter/cache/SlsGenericPageCache.hxx8
-rw-r--r--sd/source/ui/slidesorter/cache/SlsPageCache.cxx2
-rw-r--r--sd/source/ui/slidesorter/cache/SlsPageCacheManager.cxx20
-rw-r--r--sd/source/ui/slidesorter/cache/SlsQueueProcessor.cxx4
-rw-r--r--sd/source/ui/slidesorter/cache/SlsQueueProcessor.hxx8
-rw-r--r--sd/source/ui/slidesorter/cache/SlsQueueProcessorThread.hxx60
-rw-r--r--sd/source/ui/slidesorter/cache/SlsRequestFactory.cxx2
-rw-r--r--sd/source/ui/slidesorter/cache/SlsRequestFactory.hxx2
-rw-r--r--sd/source/ui/slidesorter/cache/SlsRequestPriorityClass.hxx6
-rw-r--r--sd/source/ui/slidesorter/cache/SlsRequestQueue.cxx4
-rw-r--r--sd/source/ui/slidesorter/cache/SlsRequestQueue.hxx4
-rw-r--r--sd/source/ui/slidesorter/controller/SlideSorterController.cxx14
-rw-r--r--sd/source/ui/slidesorter/controller/SlsAnimator.cxx6
-rw-r--r--sd/source/ui/slidesorter/controller/SlsClipboard.cxx82
-rw-r--r--sd/source/ui/slidesorter/controller/SlsCommand.hxx2
-rw-r--r--sd/source/ui/slidesorter/controller/SlsCurrentSlideManager.cxx2
-rw-r--r--sd/source/ui/slidesorter/controller/SlsFocusManager.cxx10
-rw-r--r--sd/source/ui/slidesorter/controller/SlsHideSlideFunction.cxx8
-rw-r--r--sd/source/ui/slidesorter/controller/SlsHideSlideFunction.hxx8
-rw-r--r--sd/source/ui/slidesorter/controller/SlsListener.cxx20
-rw-r--r--sd/source/ui/slidesorter/controller/SlsListener.hxx12
-rw-r--r--sd/source/ui/slidesorter/controller/SlsPageObjectFactory.cxx10
-rw-r--r--sd/source/ui/slidesorter/controller/SlsPageSelector.cxx4
-rw-r--r--sd/source/ui/slidesorter/controller/SlsProperties.cxx2
-rw-r--r--sd/source/ui/slidesorter/controller/SlsScrollBarManager.cxx46
-rw-r--r--sd/source/ui/slidesorter/controller/SlsSelectionCommand.cxx6
-rw-r--r--sd/source/ui/slidesorter/controller/SlsSelectionCommand.hxx2
-rw-r--r--sd/source/ui/slidesorter/controller/SlsSelectionFunction.cxx26
-rw-r--r--sd/source/ui/slidesorter/controller/SlsSelectionManager.cxx2
-rw-r--r--sd/source/ui/slidesorter/controller/SlsSlideFunction.cxx4
-rw-r--r--sd/source/ui/slidesorter/controller/SlsSlotManager.cxx14
-rw-r--r--sd/source/ui/slidesorter/controller/SlsTransferable.cxx6
-rw-r--r--sd/source/ui/slidesorter/controller/SlsTransferable.hxx12
-rw-r--r--sd/source/ui/slidesorter/inc/cache/SlsCacheContext.hxx2
-rw-r--r--sd/source/ui/slidesorter/inc/cache/SlsPageCache.hxx2
-rw-r--r--sd/source/ui/slidesorter/inc/cache/SlsPageCacheManager.hxx6
-rw-r--r--sd/source/ui/slidesorter/inc/controller/SlideSorterController.hxx6
-rw-r--r--sd/source/ui/slidesorter/inc/controller/SlsAnimator.hxx2
-rw-r--r--sd/source/ui/slidesorter/inc/controller/SlsClipboard.hxx16
-rw-r--r--sd/source/ui/slidesorter/inc/controller/SlsCurrentSlideManager.hxx4
-rw-r--r--sd/source/ui/slidesorter/inc/controller/SlsFocusManager.hxx8
-rw-r--r--sd/source/ui/slidesorter/inc/controller/SlsPageObjectFactory.hxx4
-rw-r--r--sd/source/ui/slidesorter/inc/controller/SlsPageSelector.hxx8
-rw-r--r--sd/source/ui/slidesorter/inc/controller/SlsProperties.hxx2
-rw-r--r--sd/source/ui/slidesorter/inc/controller/SlsScrollBarManager.hxx8
-rw-r--r--sd/source/ui/slidesorter/inc/controller/SlsSelectionFunction.hxx18
-rw-r--r--sd/source/ui/slidesorter/inc/controller/SlsSelectionManager.hxx6
-rw-r--r--sd/source/ui/slidesorter/inc/controller/SlsSlideFunction.hxx2
-rw-r--r--sd/source/ui/slidesorter/inc/controller/SlsSlotManager.hxx4
-rw-r--r--sd/source/ui/slidesorter/inc/model/SlideSorterModel.hxx4
-rw-r--r--sd/source/ui/slidesorter/inc/model/SlsEnumeration.hxx4
-rw-r--r--sd/source/ui/slidesorter/inc/model/SlsPageDescriptor.hxx16
-rw-r--r--sd/source/ui/slidesorter/inc/model/SlsPageEnumeration.hxx4
-rw-r--r--sd/source/ui/slidesorter/inc/model/SlsPageEnumerationProvider.hxx6
-rw-r--r--sd/source/ui/slidesorter/inc/model/SlsSharedPageDescriptor.hxx2
-rw-r--r--sd/source/ui/slidesorter/inc/view/SlideSorterView.hxx8
-rw-r--r--sd/source/ui/slidesorter/inc/view/SlsFontProvider.hxx2
-rw-r--r--sd/source/ui/slidesorter/inc/view/SlsLayouter.hxx26
-rw-r--r--sd/source/ui/slidesorter/inc/view/SlsPageObject.hxx4
-rw-r--r--sd/source/ui/slidesorter/inc/view/SlsPageObjectViewContact.hxx8
-rw-r--r--sd/source/ui/slidesorter/inc/view/SlsPageObjectViewObjectContact.hxx6
-rw-r--r--sd/source/ui/slidesorter/inc/view/SlsViewOverlay.hxx6
-rw-r--r--sd/source/ui/slidesorter/model/SlideSorterModel.cxx10
-rw-r--r--sd/source/ui/slidesorter/model/SlsPageDescriptor.cxx4
-rw-r--r--sd/source/ui/slidesorter/model/SlsPageEnumeration.cxx14
-rw-r--r--sd/source/ui/slidesorter/model/SlsPageEnumerationProvider.cxx4
-rw-r--r--sd/source/ui/slidesorter/shell/SlideSorter.cxx18
-rw-r--r--sd/source/ui/slidesorter/shell/SlideSorterChildWindow.cxx14
-rw-r--r--sd/source/ui/slidesorter/shell/SlideSorterChildWindow.src2
-rw-r--r--sd/source/ui/slidesorter/shell/SlideSorterService.cxx16
-rw-r--r--sd/source/ui/slidesorter/shell/SlideSorterService.hxx34
-rw-r--r--sd/source/ui/slidesorter/shell/SlideSorterViewShell.cxx44
-rw-r--r--sd/source/ui/slidesorter/view/SlideSorterView.cxx48
-rw-r--r--sd/source/ui/slidesorter/view/SlsFontProvider.cxx8
-rw-r--r--sd/source/ui/slidesorter/view/SlsLayouter.cxx100
-rw-r--r--sd/source/ui/slidesorter/view/SlsPageObject.cxx2
-rw-r--r--sd/source/ui/slidesorter/view/SlsPageObjectViewContact.cxx10
-rw-r--r--sd/source/ui/slidesorter/view/SlsPageObjectViewObjectContact.cxx114
-rw-r--r--sd/source/ui/slidesorter/view/SlsViewCacheContext.cxx2
-rw-r--r--sd/source/ui/slidesorter/view/SlsViewCacheContext.hxx4
-rw-r--r--sd/source/ui/slidesorter/view/SlsViewOverlay.cxx20
-rw-r--r--sd/source/ui/table/TableDesignPane.cxx20
-rw-r--r--sd/source/ui/table/TableDesignPane.hrc20
-rw-r--r--sd/source/ui/table/TableDesignPane.hxx12
-rw-r--r--sd/source/ui/table/TableDesignPane.src30
-rw-r--r--sd/source/ui/table/tablefunction.cxx4
-rw-r--r--sd/source/ui/table/tableobjectbar.cxx10
-rw-r--r--sd/source/ui/table/tableobjectbar.hxx8
-rw-r--r--sd/source/ui/toolpanel/ConstrainedIterator.cxx10
-rw-r--r--sd/source/ui/toolpanel/ConstrainedIterator.hxx8
-rw-r--r--sd/source/ui/toolpanel/ControlContainer.cxx10
-rw-r--r--sd/source/ui/toolpanel/ControlContainerDescriptor.hxx6
-rw-r--r--sd/source/ui/toolpanel/ControlList.hxx2
-rw-r--r--sd/source/ui/toolpanel/LayoutMenu.cxx42
-rw-r--r--sd/source/ui/toolpanel/LayoutMenu.hxx4
-rw-r--r--sd/source/ui/toolpanel/MethodGuard.hxx2
-rw-r--r--sd/source/ui/toolpanel/ScrollPanel.cxx42
-rw-r--r--sd/source/ui/toolpanel/SlideSorterCacheDisplay.cxx10
-rw-r--r--sd/source/ui/toolpanel/SubToolPanel.cxx12
-rw-r--r--sd/source/ui/toolpanel/TaskPaneControlFactory.cxx2
-rw-r--r--sd/source/ui/toolpanel/TaskPaneFocusManager.cxx10
-rw-r--r--sd/source/ui/toolpanel/TaskPaneFocusManager.hxx6
-rw-r--r--sd/source/ui/toolpanel/TaskPaneShellManager.cxx2
-rw-r--r--sd/source/ui/toolpanel/TaskPaneShellManager.hxx6
-rw-r--r--sd/source/ui/toolpanel/TaskPaneTreeNode.cxx4
-rw-r--r--sd/source/ui/toolpanel/TestMenu.cxx18
-rw-r--r--sd/source/ui/toolpanel/TestMenu.hxx2
-rw-r--r--sd/source/ui/toolpanel/TestPanel.cxx8
-rw-r--r--sd/source/ui/toolpanel/TestPanel.hxx2
-rw-r--r--sd/source/ui/toolpanel/TitleBar.cxx18
-rw-r--r--sd/source/ui/toolpanel/TitledControl.cxx24
-rw-r--r--sd/source/ui/toolpanel/ToolPanel.cxx4
-rw-r--r--sd/source/ui/toolpanel/ToolPanel.hxx2
-rw-r--r--sd/source/ui/toolpanel/ToolPanelDescriptor.hxx6
-rw-r--r--sd/source/ui/toolpanel/ToolPanelFactory.cxx2
-rw-r--r--sd/source/ui/toolpanel/ToolPanelUIElement.cxx8
-rw-r--r--sd/source/ui/toolpanel/ToolPanelUIElement.hxx2
-rw-r--r--sd/source/ui/toolpanel/ToolPanelViewShell.cxx8
-rw-r--r--sd/source/ui/toolpanel/controls/AllMasterPagesSelector.cxx4
-rw-r--r--sd/source/ui/toolpanel/controls/AllMasterPagesSelector.hxx4
-rw-r--r--sd/source/ui/toolpanel/controls/AnimationSchemesPanel.cxx4
-rw-r--r--sd/source/ui/toolpanel/controls/AnimationSchemesPanel.hxx4
-rw-r--r--sd/source/ui/toolpanel/controls/CurrentMasterPagesSelector.cxx8
-rw-r--r--sd/source/ui/toolpanel/controls/CurrentMasterPagesSelector.hxx6
-rw-r--r--sd/source/ui/toolpanel/controls/CustomAnimationPanel.cxx8
-rw-r--r--sd/source/ui/toolpanel/controls/CustomAnimationPanel.hxx4
-rw-r--r--sd/source/ui/toolpanel/controls/DocumentHelper.cxx28
-rw-r--r--sd/source/ui/toolpanel/controls/DocumentHelper.hxx4
-rw-r--r--sd/source/ui/toolpanel/controls/MasterPageContainer.cxx24
-rw-r--r--sd/source/ui/toolpanel/controls/MasterPageContainer.hxx16
-rw-r--r--sd/source/ui/toolpanel/controls/MasterPageContainerFiller.cxx8
-rw-r--r--sd/source/ui/toolpanel/controls/MasterPageContainerFiller.hxx8
-rw-r--r--sd/source/ui/toolpanel/controls/MasterPageContainerProviders.cxx18
-rw-r--r--sd/source/ui/toolpanel/controls/MasterPageContainerProviders.hxx2
-rw-r--r--sd/source/ui/toolpanel/controls/MasterPageContainerQueue.cxx10
-rw-r--r--sd/source/ui/toolpanel/controls/MasterPageContainerQueue.hxx12
-rw-r--r--sd/source/ui/toolpanel/controls/MasterPageDescriptor.cxx26
-rw-r--r--sd/source/ui/toolpanel/controls/MasterPageDescriptor.hxx30
-rw-r--r--sd/source/ui/toolpanel/controls/MasterPageObserver.cxx26
-rw-r--r--sd/source/ui/toolpanel/controls/MasterPagesPanel.cxx12
-rw-r--r--sd/source/ui/toolpanel/controls/MasterPagesPanel.hxx4
-rw-r--r--sd/source/ui/toolpanel/controls/MasterPagesSelector.cxx22
-rw-r--r--sd/source/ui/toolpanel/controls/MasterPagesSelector.hxx8
-rw-r--r--sd/source/ui/toolpanel/controls/PreviewValueSet.cxx12
-rw-r--r--sd/source/ui/toolpanel/controls/PreviewValueSet.hxx6
-rw-r--r--sd/source/ui/toolpanel/controls/RecentMasterPagesSelector.cxx6
-rw-r--r--sd/source/ui/toolpanel/controls/RecentMasterPagesSelector.hxx4
-rw-r--r--sd/source/ui/toolpanel/controls/RecentlyUsedMasterPages.cxx8
-rw-r--r--sd/source/ui/toolpanel/controls/RecentlyUsedMasterPages.hxx6
-rw-r--r--sd/source/ui/toolpanel/controls/SlideTransitionPanel.cxx2
-rw-r--r--sd/source/ui/toolpanel/controls/SlideTransitionPanel.hxx2
-rw-r--r--sd/source/ui/toolpanel/controls/TableDesignPanel.cxx8
-rw-r--r--sd/source/ui/toolpanel/controls/TableDesignPanel.hxx4
-rw-r--r--sd/source/ui/tools/AsynchronousCall.cxx2
-rw-r--r--sd/source/ui/tools/ConfigurationAccess.cxx14
-rw-r--r--sd/source/ui/tools/EventMultiplexer.cxx38
-rw-r--r--sd/source/ui/tools/IconCache.cxx6
-rw-r--r--sd/source/ui/tools/IdleDetection.cxx4
-rw-r--r--sd/source/ui/tools/PreviewRenderer.cxx42
-rw-r--r--sd/source/ui/tools/PropertySet.cxx4
-rw-r--r--sd/source/ui/tools/SdGlobalResourceContainer.cxx16
-rw-r--r--sd/source/ui/tools/SlotStateListener.cxx4
-rw-r--r--sd/source/ui/tools/TimerBasedTaskExecution.cxx4
-rw-r--r--sd/source/ui/unoidl/DrawController.cxx66
-rw-r--r--sd/source/ui/unoidl/SdUnoDrawView.cxx26
-rw-r--r--sd/source/ui/unoidl/SdUnoOutlineView.cxx18
-rw-r--r--sd/source/ui/unoidl/SdUnoSlideView.cxx10
-rw-r--r--sd/source/ui/unoidl/UnoDocumentSettings.cxx94
-rw-r--r--sd/source/ui/unoidl/UnoDocumentSettings.hxx2
-rw-r--r--sd/source/ui/unoidl/detreg.cxx12
-rw-r--r--sd/source/ui/unoidl/facreg.cxx8
-rw-r--r--sd/source/ui/unoidl/randomnode.cxx16
-rw-r--r--sd/source/ui/unoidl/sddetect.cxx2
-rw-r--r--sd/source/ui/unoidl/sddetect.hxx2
-rw-r--r--sd/source/ui/unoidl/unocpres.cxx14
-rw-r--r--sd/source/ui/unoidl/unocpres.hxx10
-rw-r--r--sd/source/ui/unoidl/unodoc.cxx4
-rw-r--r--sd/source/ui/unoidl/unohelp.hxx2
-rw-r--r--sd/source/ui/unoidl/unokywds.cxx2
-rw-r--r--sd/source/ui/unoidl/unolayer.cxx84
-rw-r--r--sd/source/ui/unoidl/unolayer.hxx20
-rw-r--r--sd/source/ui/unoidl/unomodel.cxx104
-rw-r--r--sd/source/ui/unoidl/unomodule.cxx2
-rw-r--r--sd/source/ui/unoidl/unomodule.hxx24
-rw-r--r--sd/source/ui/unoidl/unoobj.cxx206
-rw-r--r--sd/source/ui/unoidl/unoobj.hxx6
-rw-r--r--sd/source/ui/unoidl/unopage.cxx302
-rw-r--r--sd/source/ui/unoidl/unopage.hxx8
-rw-r--r--sd/source/ui/unoidl/unopback.cxx30
-rw-r--r--sd/source/ui/unoidl/unopback.hxx8
-rw-r--r--sd/source/ui/unoidl/unopool.cxx10
-rw-r--r--sd/source/ui/unoidl/unosrch.cxx22
-rw-r--r--sd/source/ui/unoidl/unowcntr.cxx4
-rw-r--r--sd/source/ui/unoidl/unowcntr.hxx10
-rw-r--r--sd/source/ui/view/DocumentRenderer.cxx164
-rw-r--r--sd/source/ui/view/DocumentRenderer.hrc2
-rwxr-xr-xsd/source/ui/view/DocumentRenderer.src24
-rw-r--r--sd/source/ui/view/FormShellManager.cxx6
-rw-r--r--sd/source/ui/view/GraphicObjectBar.cxx14
-rw-r--r--sd/source/ui/view/GraphicViewShellBase.cxx4
-rw-r--r--sd/source/ui/view/ImpressViewShellBase.cxx4
-rw-r--r--sd/source/ui/view/MediaObjectBar.cxx26
-rw-r--r--sd/source/ui/view/OutlineViewShellBase.cxx6
-rw-r--r--sd/source/ui/view/Outliner.cxx4
-rw-r--r--sd/source/ui/view/OutlinerIterator.cxx68
-rw-r--r--sd/source/ui/view/PresentationViewShellBase.cxx8
-rw-r--r--sd/source/ui/view/SlideSorterViewShellBase.cxx6
-rw-r--r--sd/source/ui/view/ToolBarManager.cxx4
-rw-r--r--sd/source/ui/view/UpdateLockManager.cxx12
-rw-r--r--sd/source/ui/view/ViewClipboard.cxx24
-rw-r--r--sd/source/ui/view/ViewShellBase.cxx32
-rw-r--r--sd/source/ui/view/ViewShellHint.cxx2
-rw-r--r--sd/source/ui/view/ViewShellImplementation.cxx16
-rw-r--r--sd/source/ui/view/ViewShellManager.cxx52
-rw-r--r--sd/source/ui/view/ViewTabBar.cxx26
-rw-r--r--sd/source/ui/view/WindowUpdater.cxx4
-rw-r--r--sd/source/ui/view/bmcache.cxx6
-rw-r--r--sd/source/ui/view/clview.cxx2
-rw-r--r--sd/source/ui/view/drawview.cxx12
-rw-r--r--sd/source/ui/view/drbezob.cxx12
-rw-r--r--sd/source/ui/view/drtxtob.cxx16
-rw-r--r--sd/source/ui/view/drtxtob1.cxx8
-rw-r--r--sd/source/ui/view/drviews1.cxx16
-rw-r--r--sd/source/ui/view/drviews2.cxx14
-rw-r--r--sd/source/ui/view/drviews3.cxx18
-rw-r--r--sd/source/ui/view/drviews4.cxx46
-rw-r--r--sd/source/ui/view/drviews5.cxx18
-rw-r--r--sd/source/ui/view/drviews6.cxx34
-rw-r--r--sd/source/ui/view/drviews7.cxx26
-rw-r--r--sd/source/ui/view/drviews8.cxx10
-rw-r--r--sd/source/ui/view/drviews9.cxx50
-rw-r--r--sd/source/ui/view/drviewsa.cxx24
-rw-r--r--sd/source/ui/view/drviewsb.cxx28
-rw-r--r--sd/source/ui/view/drviewsc.cxx32
-rw-r--r--sd/source/ui/view/drviewsd.cxx2
-rw-r--r--sd/source/ui/view/drviewse.cxx14
-rw-r--r--sd/source/ui/view/drviewsf.cxx16
-rw-r--r--sd/source/ui/view/drviewsg.cxx16
-rw-r--r--sd/source/ui/view/drviewsh.cxx8
-rw-r--r--sd/source/ui/view/drviewsi.cxx8
-rw-r--r--sd/source/ui/view/drviewsj.cxx36
-rw-r--r--sd/source/ui/view/drvwshrg.cxx4
-rw-r--r--sd/source/ui/view/frmview.cxx76
-rw-r--r--sd/source/ui/view/grviewsh.cxx4
-rw-r--r--sd/source/ui/view/outlnvs2.cxx12
-rw-r--r--sd/source/ui/view/outlnvsh.cxx96
-rw-r--r--sd/source/ui/view/outlview.cxx70
-rw-r--r--sd/source/ui/view/presvish.cxx2
-rw-r--r--sd/source/ui/view/sdruler.cxx8
-rw-r--r--sd/source/ui/view/sdview.cxx80
-rw-r--r--sd/source/ui/view/sdview2.cxx126
-rw-r--r--sd/source/ui/view/sdview3.cxx124
-rw-r--r--sd/source/ui/view/sdview4.cxx38
-rw-r--r--sd/source/ui/view/sdview5.cxx8
-rw-r--r--sd/source/ui/view/sdwindow.cxx38
-rw-r--r--sd/source/ui/view/tabcontr.cxx16
-rw-r--r--sd/source/ui/view/unmodpg.cxx24
-rw-r--r--sd/source/ui/view/viewoverlaymanager.cxx30
-rw-r--r--sd/source/ui/view/viewshe2.cxx8
-rw-r--r--sd/source/ui/view/viewshe3.cxx14
-rw-r--r--sd/source/ui/view/viewshel.cxx18
-rw-r--r--sd/source/ui/view/zoomlist.cxx4
-rw-r--r--sd/uiconfig/sdraw/toolbar/arrowshapes.xml22
-rw-r--r--sd/uiconfig/sdraw/toolbar/basicshapes.xml14
-rw-r--r--sd/uiconfig/sdraw/toolbar/flowchartshapes.xml24
-rw-r--r--sd/uiconfig/sdraw/toolbar/symbolshapes.xml6
-rw-r--r--sd/uiconfig/sdraw/toolbar/toolbar.xml2
-rw-r--r--sd/uiconfig/simpress/toolbar/arrowshapes.xml22
-rw-r--r--sd/uiconfig/simpress/toolbar/basicshapes.xml14
-rw-r--r--sd/uiconfig/simpress/toolbar/flowchartshapes.xml26
-rw-r--r--sd/uiconfig/simpress/toolbar/symbolshapes.xml6
-rw-r--r--sd/util/hidother.hrc8
-rw-r--r--sd/util/hidother.src114
-rw-r--r--sd/workben/custompanel/ctp_panel.cxx4
-rw-r--r--sd/workben/custompanel/ctp_panel.hxx2
-rw-r--r--sd/xml/AccessibleDrawDocumentView.xml2
-rw-r--r--sd/xml/DrawingView.xml2
-rw-r--r--sd/xml/effects.xml4
-rw-r--r--sd/xml/transitions.xml12
1034 files changed, 13050 insertions, 13050 deletions
diff --git a/sd/inc/CustomAnimationCloner.hxx b/sd/inc/CustomAnimationCloner.hxx
index 71d895e22270..7369efaed324 100644
--- a/sd/inc/CustomAnimationCloner.hxx
+++ b/sd/inc/CustomAnimationCloner.hxx
@@ -2,7 +2,7 @@
/*************************************************************************
*
* 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
diff --git a/sd/inc/CustomAnimationEffect.hxx b/sd/inc/CustomAnimationEffect.hxx
index 6acd804369cf..b886877269f0 100644
--- a/sd/inc/CustomAnimationEffect.hxx
+++ b/sd/inc/CustomAnimationEffect.hxx
@@ -2,7 +2,7 @@
/*************************************************************************
*
* 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
@@ -82,88 +82,88 @@ public:
CustomAnimationEffectPtr clone() const;
// attributes
- const rtl::OUString& getPresetId() const { return maPresetId; }
- const rtl::OUString& getPresetSubType() const { return maPresetSubType; }
- const rtl::OUString& getProperty() const { return maProperty; }
-
- sal_Int16 getPresetClass() const { return mnPresetClass; }
- void setPresetClass( sal_Int16 nPresetClass );
+ const rtl::OUString& getPresetId() const { return maPresetId; }
+ const rtl::OUString& getPresetSubType() const { return maPresetSubType; }
+ const rtl::OUString& getProperty() const { return maProperty; }
- sal_Int16 getNodeType() const { return mnNodeType; }
- SD_DLLPUBLIC void setNodeType( sal_Int16 nNodeType );
+ sal_Int16 getPresetClass() const { return mnPresetClass; }
+ void setPresetClass( sal_Int16 nPresetClass );
- ::com::sun::star::uno::Any getRepeatCount() const;
- void setRepeatCount( const ::com::sun::star::uno::Any& rRepeatCount );
+ sal_Int16 getNodeType() const { return mnNodeType; }
+ SD_DLLPUBLIC void setNodeType( sal_Int16 nNodeType );
- ::com::sun::star::uno::Any getEnd() const;
- void setEnd( const ::com::sun::star::uno::Any& rEnd );
+ ::com::sun::star::uno::Any getRepeatCount() const;
+ void setRepeatCount( const ::com::sun::star::uno::Any& rRepeatCount );
- sal_Int16 getFill() const;
- void setFill( sal_Int16 nFill );
+ ::com::sun::star::uno::Any getEnd() const;
+ void setEnd( const ::com::sun::star::uno::Any& rEnd );
- double getBegin() const { return mfBegin; }
- SD_DLLPUBLIC void setBegin( double fBegin );
+ sal_Int16 getFill() const;
+ void setFill( sal_Int16 nFill );
+
+ double getBegin() const { return mfBegin; }
+ SD_DLLPUBLIC void setBegin( double fBegin );
- double getDuration() const { return mfDuration; }
- SD_DLLPUBLIC void setDuration( double fDuration );
+ double getDuration() const { return mfDuration; }
+ SD_DLLPUBLIC void setDuration( double fDuration );
+
+ double getAbsoluteDuration() const { return mfAbsoluteDuration; }
- double getAbsoluteDuration() const { return mfAbsoluteDuration; }
+ const String& getName() const { return maName; }
+ void setName( const String& rName ) { maName = rName; }
- const String& getName() const { return maName; }
- void setName( const String& rName ) { maName = rName; }
+ sal_Int16 getIterateType() const { return mnIterateType; }
+ SD_DLLPUBLIC void setIterateType( sal_Int16 nIterateType );
- sal_Int16 getIterateType() const { return mnIterateType; }
- SD_DLLPUBLIC void setIterateType( sal_Int16 nIterateType );
+ double getIterateInterval() const { return mfIterateInterval; }
+ SD_DLLPUBLIC void setIterateInterval( double fIterateInterval );
- double getIterateInterval() const { return mfIterateInterval; }
- SD_DLLPUBLIC void setIterateInterval( double fIterateInterval );
+ ::com::sun::star::uno::Any getTarget() const { return maTarget; }
+ SD_DLLPUBLIC void setTarget( const ::com::sun::star::uno::Any& rTarget );
- ::com::sun::star::uno::Any getTarget() const { return maTarget; }
- SD_DLLPUBLIC void setTarget( const ::com::sun::star::uno::Any& rTarget );
+ sal_Bool hasAfterEffect() const { return mbHasAfterEffect; }
+ void setHasAfterEffect( sal_Bool bHasAfterEffect ) { mbHasAfterEffect = bHasAfterEffect; }
- sal_Bool hasAfterEffect() const { return mbHasAfterEffect; }
- void setHasAfterEffect( sal_Bool bHasAfterEffect ) { mbHasAfterEffect = bHasAfterEffect; }
+ ::com::sun::star::uno::Any getDimColor() const { return maDimColor; }
+ void setDimColor( ::com::sun::star::uno::Any aDimColor ) { maDimColor = aDimColor; }
- ::com::sun::star::uno::Any getDimColor() const { return maDimColor; }
- void setDimColor( ::com::sun::star::uno::Any aDimColor ) { maDimColor = aDimColor; }
+ bool IsAfterEffectOnNext() const { return mbAfterEffectOnNextEffect; }
+ void setAfterEffectOnNext( bool bOnNextEffect ) { mbAfterEffectOnNextEffect = bOnNextEffect; }
- bool IsAfterEffectOnNext() const { return mbAfterEffectOnNextEffect; }
- void setAfterEffectOnNext( bool bOnNextEffect ) { mbAfterEffectOnNextEffect = bOnNextEffect; }
+ sal_Int32 getParaDepth() const { return mnParaDepth; }
- sal_Int32 getParaDepth() const { return mnParaDepth; }
+ sal_Bool hasText() const { return mbHasText; }
- sal_Bool hasText() const { return mbHasText; }
+ sal_Int16 getCommand() const { return mnCommand; }
- sal_Int16 getCommand() const { return mnCommand; }
+ double getAcceleration() const { return mfAcceleration; }
+ void setAcceleration( double fAcceleration );
- double getAcceleration() const { return mfAcceleration; }
- void setAcceleration( double fAcceleration );
+ double getDecelerate() const { return mfDecelerate; }
+ void setDecelerate( double fDecelerate );
- double getDecelerate() const { return mfDecelerate; }
- void setDecelerate( double fDecelerate );
+ sal_Bool getAutoReverse() const { return mbAutoReverse; }
+ void setAutoReverse( sal_Bool bAutoReverse );
- sal_Bool getAutoReverse() const { return mbAutoReverse; }
- void setAutoReverse( sal_Bool bAutoReverse );
+ ::com::sun::star::uno::Any getProperty( sal_Int32 nNodeType, const rtl::OUString& rAttributeName, EValue eValue );
+ bool setProperty( sal_Int32 nNodeType, const rtl::OUString& rAttributeName, EValue eValue, const ::com::sun::star::uno::Any& rValue );
- ::com::sun::star::uno::Any getProperty( sal_Int32 nNodeType, const rtl::OUString& rAttributeName, EValue eValue );
- bool setProperty( sal_Int32 nNodeType, const rtl::OUString& rAttributeName, EValue eValue, const ::com::sun::star::uno::Any& rValue );
+ ::com::sun::star::uno::Any getTransformationProperty( sal_Int32 nTransformType, EValue eValue );
+ bool setTransformationProperty( sal_Int32 nTransformType, EValue eValue, const ::com::sun::star::uno::Any& rValue );
- ::com::sun::star::uno::Any getTransformationProperty( sal_Int32 nTransformType, EValue eValue );
- bool setTransformationProperty( sal_Int32 nTransformType, EValue eValue, const ::com::sun::star::uno::Any& rValue );
+ ::com::sun::star::uno::Any getColor( sal_Int32 nIndex );
+ void setColor( sal_Int32 nIndex, const ::com::sun::star::uno::Any& rColor );
- ::com::sun::star::uno::Any getColor( sal_Int32 nIndex );
- void setColor( sal_Int32 nIndex, const ::com::sun::star::uno::Any& rColor );
+ ::com::sun::star::uno::Any getRotation();
+ void setRotation( const ::com::sun::star::uno::Any& rRotation );
- ::com::sun::star::uno::Any getRotation();
- void setRotation( const ::com::sun::star::uno::Any& rRotation );
+ sal_Int32 getGroupId() const { return mnGroupId; }
+ void setGroupId( sal_Int32 nGroupId );
- sal_Int32 getGroupId() const { return mnGroupId; }
- void setGroupId( sal_Int32 nGroupId );
+ sal_Int16 getTargetSubItem() const { return mnTargetSubItem; }
+ SD_DLLPUBLIC void setTargetSubItem( sal_Int16 nSubItem );
- sal_Int16 getTargetSubItem() const { return mnTargetSubItem; }
- SD_DLLPUBLIC void setTargetSubItem( sal_Int16 nSubItem );
-
- ::rtl::OUString getPath() const;
+ ::rtl::OUString getPath() const;
void setPath( const ::rtl::OUString& rPath );
bool checkForText();
@@ -176,7 +176,7 @@ public:
void removeAudio();
const ::com::sun::star::uno::Reference< ::com::sun::star::animations::XAudio >& getAudio() const { return mxAudio; }
- EffectSequenceHelper* getEffectSequence() const { return mpEffectSequence; }
+ EffectSequenceHelper* getEffectSequence() const { return mpEffectSequence; }
// helper
::com::sun::star::uno::Reference< ::com::sun::star::animations::XAnimationNode > createAfterEffectNode() const throw (com::sun::star::uno::Exception);
@@ -194,36 +194,36 @@ protected:
void setEffectSequence( EffectSequenceHelper* pSequence ) { mpEffectSequence = pSequence; }
private:
- sal_Int16 mnNodeType;
- rtl::OUString maPresetId;
- rtl::OUString maPresetSubType;
- rtl::OUString maProperty;
- sal_Int16 mnPresetClass;
- double mfBegin;
- double mfDuration; // this is the maximum duration of the subeffects
- double mfAbsoluteDuration; // this is the maximum duration of the subeffects including possible iterations
- sal_Int32 mnGroupId;
- sal_Int16 mnIterateType;
- double mfIterateInterval;
- sal_Int32 mnParaDepth;
- sal_Bool mbHasText;
- double mfAcceleration;
- double mfDecelerate;
- sal_Bool mbAutoReverse;
- sal_Int16 mnTargetSubItem;
- sal_Int16 mnCommand;
+ sal_Int16 mnNodeType;
+ rtl::OUString maPresetId;
+ rtl::OUString maPresetSubType;
+ rtl::OUString maProperty;
+ sal_Int16 mnPresetClass;
+ double mfBegin;
+ double mfDuration; // this is the maximum duration of the subeffects
+ double mfAbsoluteDuration; // this is the maximum duration of the subeffects including possible iterations
+ sal_Int32 mnGroupId;
+ sal_Int16 mnIterateType;
+ double mfIterateInterval;
+ sal_Int32 mnParaDepth;
+ sal_Bool mbHasText;
+ double mfAcceleration;
+ double mfDecelerate;
+ sal_Bool mbAutoReverse;
+ sal_Int16 mnTargetSubItem;
+ sal_Int16 mnCommand;
EffectSequenceHelper* mpEffectSequence;
- String maName;
+ String maName;
::com::sun::star::uno::Reference< ::com::sun::star::animations::XAnimationNode > mxNode;
::com::sun::star::uno::Reference< ::com::sun::star::animations::XAudio > mxAudio;
::com::sun::star::uno::Any maTarget;
- sal_Bool mbHasAfterEffect;
+ sal_Bool mbHasAfterEffect;
::com::sun::star::uno::Any maDimColor;
- bool mbAfterEffectOnNextEffect;
+ bool mbAfterEffectOnNextEffect;
};
struct stl_CustomAnimationEffect_search_node_predict
@@ -267,7 +267,7 @@ public:
private:
EffectSequence maEffects;
::com::sun::star::uno::Reference< com::sun::star::drawing::XShape > maTarget;
-
+
sal_Int32 mnTextGrouping;
sal_Bool mbAnimateForm;
sal_Bool mbTextReverse;
@@ -333,7 +333,7 @@ public:
// text group methods
CustomAnimationTextGroupPtr findGroup( sal_Int32 nGroupId );
- SD_DLLPUBLIC CustomAnimationTextGroupPtr createTextGroup( CustomAnimationEffectPtr pEffect, sal_Int32 nTextGrouping, double fTextGroupingAuto, sal_Bool bAnimateForm, sal_Bool bTextReverse );
+ SD_DLLPUBLIC CustomAnimationTextGroupPtr createTextGroup( CustomAnimationEffectPtr pEffect, sal_Int32 nTextGrouping, double fTextGroupingAuto, sal_Bool bAnimateForm, sal_Bool bTextReverse );
void setTextGrouping( CustomAnimationTextGroupPtr pTextGroup, sal_Int32 nTextGrouping );
void setAnimateForm( CustomAnimationTextGroupPtr pTextGroup, sal_Bool bAnimateForm );
void setTextGroupingAuto( CustomAnimationTextGroupPtr pTextGroup, double fTextGroupingAuto );
@@ -384,7 +384,7 @@ public:
private:
virtual void implRebuild();
- MainSequence* mpMainSequence;
+ MainSequence* mpMainSequence;
};
typedef boost::shared_ptr< InteractiveSequence > InteractiveSequencePtr;
diff --git a/sd/inc/CustomAnimationPreset.hxx b/sd/inc/CustomAnimationPreset.hxx
index 83e0427183ae..9c1d57b9aad1 100644
--- a/sd/inc/CustomAnimationPreset.hxx
+++ b/sd/inc/CustomAnimationPreset.hxx
@@ -2,7 +2,7 @@
/*************************************************************************
*
* 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
@@ -107,8 +107,8 @@ public:
::com::sun::star::uno::Reference< ::com::sun::star::animations::XAnimationNode > getRandomPreset( sal_Int16 nPresetClass ) const;
SD_DLLPUBLIC CustomAnimationPresetPtr getEffectDescriptor( const rtl::OUString& rPresetId ) const;
-// const AnimationEffect* getEffect( const rtl::OUString& rPresetId ) const;
-// const AnimationEffect* getEffect( const rtl::OUString& rPresetId, const rtl::OUString& rPresetSubType ) const;
+// const AnimationEffect* getEffect( const rtl::OUString& rPresetId ) const;
+// const AnimationEffect* getEffect( const rtl::OUString& rPresetId, const rtl::OUString& rPresetSubType ) const;
const rtl::OUString& getUINameForPresetId( const rtl::OUString& rPresetId ) const;
const rtl::OUString& getUINameForProperty( const rtl::OUString& rProperty ) const;
@@ -141,7 +141,7 @@ private:
PresetCategoryList maMotionPathsPresets;
PresetCategoryList maMiscPresets;
- static CustomAnimationPresets* mpCustomAnimationPresets;
+ static CustomAnimationPresets* mpCustomAnimationPresets;
};
typedef boost::shared_ptr< CustomAnimationPresets > CustomAnimationPresetsPtr;
diff --git a/sd/inc/EffectMigration.hxx b/sd/inc/EffectMigration.hxx
index 03fd55303422..f5eb7fe4f8a2 100644
--- a/sd/inc/EffectMigration.hxx
+++ b/sd/inc/EffectMigration.hxx
@@ -2,7 +2,7 @@
/*************************************************************************
*
* 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
diff --git a/sd/inc/FactoryIds.hxx b/sd/inc/FactoryIds.hxx
index d9bd8e38077c..ff56c4ca8b1a 100644
--- a/sd/inc/FactoryIds.hxx
+++ b/sd/inc/FactoryIds.hxx
@@ -2,7 +2,7 @@
/*************************************************************************
*
* 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
diff --git a/sd/inc/Outliner.hxx b/sd/inc/Outliner.hxx
index 97fda4af09e3..2a798412fc3f 100644
--- a/sd/inc/Outliner.hxx
+++ b/sd/inc/Outliner.hxx
@@ -2,7 +2,7 @@
/*************************************************************************
*
* 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
@@ -26,7 +26,7 @@
*
************************************************************************/
-#ifndef SD_OUTLINER_HXX
+#ifndef SD_OUTLINER_HXX
#define SD_OUTLINER_HXX
#include <svx/svdobj.hxx>
@@ -93,7 +93,7 @@ class Window;
<p>Some related pieces of information:
The search dialog (<type>SvxSearchDialog</type>) can be controlled in
more than one way:
- <ul><li>A set of option flags returned by the slot call
+ <ul><li>A set of option flags returned by the slot call
SID_SEARCH_OPTIONS handled by the
<member>SdDrawDocument::GetState()</member> method.</li>
<li>The contents of the search item of type
@@ -104,7 +104,7 @@ class Window;
queried. This is only sufficient for searching the outline view.
</p>
*/
-class Outliner
+class Outliner
: public SdrOutliner
{
public:
@@ -131,7 +131,7 @@ public:
checking.
*/
void PrepareSpelling (void);
-
+
/** Initialize a spell check but do not start it yet. This method
is a better candiate for the name PrepareSpelling.
*/
@@ -162,9 +162,9 @@ public:
/** callback for textconversion */
sal_Bool ConvertNextDocument (void);
- /** Starts the text conversion (hangul/hanja or Chinese simplified/traditional)
+ /** Starts the text conversion (hangul/hanja or Chinese simplified/traditional)
for the current viewshell */
- void StartConversion( INT16 nSourceLanguage, INT16 nTargetLanguage,
+ void StartConversion( INT16 nSourceLanguage, INT16 nTargetLanguage,
const Font *pTargetFont, INT32 nOptions, BOOL bIsInteractive );
/** This is called internaly when text conversion is started.
@@ -180,9 +180,9 @@ public:
enum ChangeHint { CH_VIEW_SHELL_INVALID, CH_VIEW_SHELL_VALID };
- int GetIgnoreCurrentPageChangesLevel() const { return mnIgnoreCurrentPageChangesLevel; };
- void IncreIgnoreCurrentPageChangesLevel() { mnIgnoreCurrentPageChangesLevel++; };
- void DecreIgnoreCurrentPageChangesLevel() { mnIgnoreCurrentPageChangesLevel--; };
+ int GetIgnoreCurrentPageChangesLevel() const { return mnIgnoreCurrentPageChangesLevel; };
+ void IncreIgnoreCurrentPageChangesLevel() { mnIgnoreCurrentPageChangesLevel++; };
+ void DecreIgnoreCurrentPageChangesLevel() { mnIgnoreCurrentPageChangesLevel--; };
private:
class Implementation;
@@ -224,7 +224,7 @@ private:
/// The number of pages in the current view.
USHORT mnPageCount;
-
+
/// Number of objects on the current page / in the current selection.
INT32 mnObjectCount;
@@ -327,7 +327,7 @@ private:
/** This flag remebers a selection change between a call to the
selection change listener callback and the next
- <member>DetectChange()</member> method call.
+ <member>DetectChange()</member> method call.
*/
bool mbSelectionHasChanged;
@@ -335,7 +335,7 @@ private:
to a programatical change of the selection.
*/
bool mbExpectingSelectionChangeEvent;
-
+
/** This flag is set to true when the whole document has been
processed once 'officially', i.e. a message box has been shown
that tells the user so.
@@ -367,7 +367,7 @@ private:
/** Do search and replace for whole document.
*/
bool SearchAndReplaceAll (void);
-
+
/** Do search and replace for next match.
@return
The return value specifies whether the search ended (</TRUE>) or
@@ -451,7 +451,7 @@ private:
void PrepareSearchAndReplace (void);
/** Prepare to do a text conversion on the current text
- object. This includes putting it into edit mode.
+ object. This includes putting it into edit mode.
*/
void PrepareConversion (void);
@@ -464,7 +464,7 @@ private:
/** Switch to the page or master page specified by the
<member>mnPage</member> index. Master page mode is specified by
- <member>meEditMode</member>.
+ <member>meEditMode</member>.
@param eEditMode
The new edit mode.
@param nPageIndex
diff --git a/sd/inc/OutlinerIterator.hxx b/sd/inc/OutlinerIterator.hxx
index e66325fdbf15..c86ef0f24641 100644
--- a/sd/inc/OutlinerIterator.hxx
+++ b/sd/inc/OutlinerIterator.hxx
@@ -2,7 +2,7 @@
/*************************************************************************
*
* 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
@@ -38,7 +38,7 @@
class SdDrawDocument;
-namespace sd {
+namespace sd {
class ViewShell;
class Outliner;
@@ -75,16 +75,16 @@ enum IteratorType {SELECTION,SINGLE_VIEW,DOCUMENT};
/** This iterator can be used to iterate over all <type>SdrObject</type>
objects of one of three set denoted by the <type>IteratorType</type>:
<ul><li>All objects of the current mark list (selection)
- (type==SELECTION).</li>
+ (type==SELECTION).</li>
<li>All objects in the current view (type==SINGLE_VIEW).</li>
<li>All objects in all views (type=DOCUMENT).</li></ul>
-
+
<p>Note that the iterator does not change pages or views. It is the
task of the user of the iterator to take the information provided by the
<type>IteratorPosition</type> as returned by the
<member>operator*()</member> method and set view, visible page, and
selection/edit mode markers to reflect this position.</p>
-
+
<p>A simple forward iteration from the first to the last object would
instantiate the iterator with
<code>Iterator(pDocument,pViewShell,true,BEGIN)</code> for some document
@@ -111,7 +111,7 @@ public:
explicit Iterator (IteratorImplBase* pObject);
~Iterator (void);
-
+
/** Assign the iterator from the given one. The implementation object
of this iterator will be a copy of the given iterator.
@param rIterator
@@ -257,9 +257,9 @@ private:
*/
Iterator CreateSelectionIterator (
const ::std::vector<SdrObjectWeakRef>& rObjectList,
- SdDrawDocument* pDocument,
+ SdDrawDocument* pDocument,
const ::boost::shared_ptr<ViewShell>& rpViewShell,
- bool bDirectionIsForward=true,
+ bool bDirectionIsForward=true,
IteratorLocation aLocation=BEGIN);
/** Create an iterator that iterates over all <type>SdrObjects</type>
@@ -274,9 +274,9 @@ private:
This specifies at which object the iterator points initially.
*/
Iterator CreateDocumentIterator (
- SdDrawDocument* pDocument,
+ SdDrawDocument* pDocument,
const ::boost::shared_ptr<ViewShell>& rpViewShell,
- bool bDirectionIsForward=true,
+ bool bDirectionIsForward=true,
IteratorLocation aLocation=BEGIN);
/** Return the index of a page that contains an object that a new
@@ -297,10 +297,10 @@ private:
This specifies at which object the iterator points initially.
*/
sal_Int32 GetPageIndex (
- SdDrawDocument* pDocument,
+ SdDrawDocument* pDocument,
const ::boost::shared_ptr<ViewShell>& rpViewShell,
- PageKind ePageKind,
- EditMode eEditMode,
+ PageKind ePageKind,
+ EditMode eEditMode,
bool bDirectionIsForward,
IteratorLocation aLocation);
@@ -348,7 +348,7 @@ public:
values in both position objects.
*/
bool operator== (const IteratorPosition& aPosition) const;
-
+
/// Pointer to the actual <type>SdrObject</type> object.
SdrObjectWeakRef mxObject;
diff --git a/sd/inc/SdShapeTypes.hxx b/sd/inc/SdShapeTypes.hxx
index 5bdabcf09cb5..a00a028f8471 100644
--- a/sd/inc/SdShapeTypes.hxx
+++ b/sd/inc/SdShapeTypes.hxx
@@ -2,7 +2,7 @@
/*************************************************************************
*
* 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
@@ -64,9 +64,9 @@ enum SdShapeTypes
type of the given shape.
*/
AccessibleShape*
- CreateSdAccessibleShape (const ::com::sun::star::uno::Reference<
+ CreateSdAccessibleShape (const ::com::sun::star::uno::Reference<
::com::sun::star::accessibility::XAccessible>& rxParent,
- const ::com::sun::star::uno::Reference<
+ const ::com::sun::star::uno::Reference<
::com::sun::star::drawing::XShape>& rxShape
);
diff --git a/sd/inc/TransitionPreset.hxx b/sd/inc/TransitionPreset.hxx
index 51d909ebe57f..8be992ec8e26 100644
--- a/sd/inc/TransitionPreset.hxx
+++ b/sd/inc/TransitionPreset.hxx
@@ -2,7 +2,7 @@
/*************************************************************************
*
* 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
@@ -37,7 +37,7 @@
#include <list>
#include <hash_map>
-namespace com { namespace sun { namespace star {
+namespace com { namespace sun { namespace star {
namespace animations { class XAnimationNode; }
namespace uno { template<class X> class Reference; }
} } }
diff --git a/sd/inc/anmdef.hxx b/sd/inc/anmdef.hxx
index 1e7b8fb8d396..161349a2179b 100644
--- a/sd/inc/anmdef.hxx
+++ b/sd/inc/anmdef.hxx
@@ -2,7 +2,7 @@
/*************************************************************************
*
* 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
@@ -38,6 +38,6 @@
// muss angepasst werden!
#define CLICK_ACTION_COUNT 14
-#endif // _SD_ANIMATIONDEF_HXX
+#endif // _SD_ANIMATIONDEF_HXX
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/sd/inc/anminfo.hxx b/sd/inc/anminfo.hxx
index 6efe1c95e778..bd8798d535ba 100644
--- a/sd/inc/anminfo.hxx
+++ b/sd/inc/anminfo.hxx
@@ -2,7 +2,7 @@
/*************************************************************************
*
* 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
@@ -49,31 +49,31 @@ class SdDrawDocument;
class SdAnimationInfo : public SdrObjUserData
{
public:
- PresObjKind mePresObjKind;
+ PresObjKind mePresObjKind;
/* deprecated animation infos */
- ::com::sun::star::presentation::AnimationEffect meEffect; // Animationseffekt
- ::com::sun::star::presentation::AnimationEffect meTextEffect; // Animationseffekt fuer Textinhalt
- ::com::sun::star::presentation::AnimationSpeed meSpeed; // Geschwindigkeit der Animation
- BOOL mbActive; // eingeschaltet ?
- BOOL mbDimPrevious; // Objekt abblenden
- BOOL mbIsMovie; // wenn Gruppenobjekt, dann Sequenz aus den
- BOOL mbDimHide; // verstecken statt abblenden
- Color maBlueScreen; // identifiziert "Hintergrundpixel"
- Color maDimColor; // zum Abblenden des Objekts
- String maSoundFile; // Pfad zum Soundfile in MSDOS-Notation
- BOOL mbSoundOn; // Sound ein/aus
- BOOL mbPlayFull; // Sound ganz abspielen
- SdrPathObj* mpPathObj; // das Pfadobjekt
- ::com::sun::star::presentation::ClickAction meClickAction; // Aktion bei Mausklick
- ::com::sun::star::presentation::AnimationEffect meSecondEffect; // fuer Objekt ausblenden
- ::com::sun::star::presentation::AnimationSpeed meSecondSpeed; // fuer Objekt ausblenden
- String maSecondSoundFile; // fuer Objekt ausblenden
- BOOL mbSecondSoundOn; // fuer Objekt ausblenden
- BOOL mbSecondPlayFull;// fuer Objekt ausblenden
-// String maBookmark; // Sprung zu Objekt/Seite
- USHORT mnVerb; // fuer OLE-Objekt
- ULONG mnPresOrder;
+ ::com::sun::star::presentation::AnimationEffect meEffect; // Animationseffekt
+ ::com::sun::star::presentation::AnimationEffect meTextEffect; // Animationseffekt fuer Textinhalt
+ ::com::sun::star::presentation::AnimationSpeed meSpeed; // Geschwindigkeit der Animation
+ BOOL mbActive; // eingeschaltet ?
+ BOOL mbDimPrevious; // Objekt abblenden
+ BOOL mbIsMovie; // wenn Gruppenobjekt, dann Sequenz aus den
+ BOOL mbDimHide; // verstecken statt abblenden
+ Color maBlueScreen; // identifiziert "Hintergrundpixel"
+ Color maDimColor; // zum Abblenden des Objekts
+ String maSoundFile; // Pfad zum Soundfile in MSDOS-Notation
+ BOOL mbSoundOn; // Sound ein/aus
+ BOOL mbPlayFull; // Sound ganz abspielen
+ SdrPathObj* mpPathObj; // das Pfadobjekt
+ ::com::sun::star::presentation::ClickAction meClickAction; // Aktion bei Mausklick
+ ::com::sun::star::presentation::AnimationEffect meSecondEffect; // fuer Objekt ausblenden
+ ::com::sun::star::presentation::AnimationSpeed meSecondSpeed; // fuer Objekt ausblenden
+ String maSecondSoundFile; // fuer Objekt ausblenden
+ BOOL mbSecondSoundOn; // fuer Objekt ausblenden
+ BOOL mbSecondPlayFull;// fuer Objekt ausblenden
+// String maBookmark; // Sprung zu Objekt/Seite
+ USHORT mnVerb; // fuer OLE-Objekt
+ ULONG mnPresOrder;
SdrObject& mrObject;
SD_DLLPUBLIC void SetBookmark( const String& rBookmark );
@@ -81,9 +81,9 @@ public:
public:
SdAnimationInfo(SdrObject& rObject);
SdAnimationInfo(const SdAnimationInfo& rAnmInfo, SdrObject& rObject);
- virtual ~SdAnimationInfo();
+ virtual ~SdAnimationInfo();
- virtual SdrObjUserData* Clone(SdrObject* pObject) const;
+ virtual SdrObjUserData* Clone(SdrObject* pObject) const;
};
#endif // _SD_ANMINFO_HXX
diff --git a/sd/inc/app.hrc b/sd/inc/app.hrc
index eb622351dc1b..7609c06c9d90 100755
--- a/sd/inc/app.hrc
+++ b/sd/inc/app.hrc
@@ -1,7 +1,7 @@
/*************************************************************************
*
* 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
@@ -62,7 +62,7 @@
#define SID_MOREBACK (SID_SD_START+32)
// #i68101#
-#define SID_OBJECT_TITLE_DESCRIPTION (SID_SD_START+33)
+#define SID_OBJECT_TITLE_DESCRIPTION (SID_SD_START+33)
#define SID_VERTICAL (SID_SD_START+34)
#define SID_HORIZONTAL (SID_SD_START+35)
@@ -118,8 +118,8 @@
#define SID_CONNECT (SID_SD_START+93)
#define SID_BREAK (SID_SD_START+94)
#define SID_OBJECT_CHOOSE_MODE (SID_SD_START+95)
-#define SID_ENTER_GROUP (SID_SD_START+96)
-#define SID_LEAVE_GROUP (SID_SD_START+97)
+#define SID_ENTER_GROUP (SID_SD_START+96)
+#define SID_LEAVE_GROUP (SID_SD_START+97)
#define SID_SIZE_PAGE_WIDTH (SID_SD_START+98)
#define SID_SIZE_OPTIMAL (SID_SD_START+99)
#define SID_OBJECT_TRANSPARENCE (SID_SD_START+100)
@@ -137,7 +137,7 @@
#define SID_ANIMATOR_STATE (SID_SD_START+112)
#define SID_PRESENTATIONOBJECT (SID_SD_START+113)
#define SID_SIZE_VISAREA (SID_SD_START+114)
-#define SID_CLEAR_UNDO_STACK (SID_SD_START+115)
+#define SID_CLEAR_UNDO_STACK (SID_SD_START+115)
#define SID_BEHIND_OBJ (SID_SD_START+116)
#define SID_REVERSE_ORDER (SID_SD_START+117)
#define SID_SDOPTIONS (SID_SD_START+118)
@@ -171,16 +171,16 @@
#define SID_CONNECTOR_LINES_CIRCLES (SID_SD_START+145)
// Options-Leisten Slot-IDs
-#define SID_HANDLES_DRAFT (SID_SD_START+150)
-#define SID_SOLID_CREATE (SID_SD_START+151)
-#define SID_HELPLINES_USE (SID_SD_START+152)
-#define SID_HELPLINES_MOVE (SID_SD_START+153)
-#define SID_GRID_USE (SID_SD_START+154)
-#define SID_SNAP_BORDER (SID_SD_START+155)
-#define SID_SNAP_FRAME (SID_SD_START+156)
-#define SID_SNAP_POINTS (SID_SD_START+157)
-#define SID_QUICKEDIT (SID_SD_START+158)
-#define SID_PICK_THROUGH (SID_SD_START+159)
+#define SID_HANDLES_DRAFT (SID_SD_START+150)
+#define SID_SOLID_CREATE (SID_SD_START+151)
+#define SID_HELPLINES_USE (SID_SD_START+152)
+#define SID_HELPLINES_MOVE (SID_SD_START+153)
+#define SID_GRID_USE (SID_SD_START+154)
+#define SID_SNAP_BORDER (SID_SD_START+155)
+#define SID_SNAP_FRAME (SID_SD_START+156)
+#define SID_SNAP_POINTS (SID_SD_START+157)
+#define SID_QUICKEDIT (SID_SD_START+158)
+#define SID_PICK_THROUGH (SID_SD_START+159)
#define SID_COLORRESOLUTION (SID_SD_START+160)
#define SID_CONVERT_TO_1BIT_THRESHOLD (SID_SD_START+161)
#define SID_CONVERT_TO_1BIT_MATRIX (SID_SD_START+162)
@@ -189,171 +189,171 @@
#define SID_CONVERT_TO_8BIT_GRAYS (SID_SD_START+165)
#define SID_CONVERT_TO_8BIT_COLORS (SID_SD_START+166)
#define SID_CONVERT_TO_24BIT (SID_SD_START+167)
-#define SID_BIG_HANDLES (SID_SD_START+168)
+#define SID_BIG_HANDLES (SID_SD_START+168)
#define SID_DOUBLECLICK_TEXTEDIT (SID_SD_START+169)
#define SID_CLICK_CHANGE_ROTATION (SID_SD_START+170)
-#define SID_DRAWTBX_ARROWS (SID_SD_START+171)
-#define SID_LINE_ARROW_START (SID_SD_START+172)
-#define SID_LINE_ARROW_END (SID_SD_START+173)
-#define SID_LINE_ARROWS (SID_SD_START+174)
-#define SID_LINE_ARROW_CIRCLE (SID_SD_START+175)
-#define SID_LINE_CIRCLE_ARROW (SID_SD_START+176)
-#define SID_LINE_ARROW_SQUARE (SID_SD_START+177)
-#define SID_LINE_SQUARE_ARROW (SID_SD_START+178)
+#define SID_DRAWTBX_ARROWS (SID_SD_START+171)
+#define SID_LINE_ARROW_START (SID_SD_START+172)
+#define SID_LINE_ARROW_END (SID_SD_START+173)
+#define SID_LINE_ARROWS (SID_SD_START+174)
+#define SID_LINE_ARROW_CIRCLE (SID_SD_START+175)
+#define SID_LINE_CIRCLE_ARROW (SID_SD_START+176)
+#define SID_LINE_ARROW_SQUARE (SID_SD_START+177)
+#define SID_LINE_SQUARE_ARROW (SID_SD_START+178)
// und noch weitere...
-#define ID_VAL_ENDINTENS (SID_SD_START+197)
-#define ID_VAL_STARTINTENS (SID_SD_START+198)
-#define ID_VAL_BORDER (SID_SD_START+199)
-#define ID_VAL_MOUSESTART_X (SID_SD_START+200)
-#define ID_VAL_MOUSESTART_Y (SID_SD_START+201)
-#define ID_VAL_LENGTH_X (SID_SD_START+202)
-#define ID_VAL_LENGTH_Y (SID_SD_START+203)
-#define ID_VAL_MOUSEEND_X (SID_SD_START+204)
-#define ID_VAL_MOUSEEND_Y (SID_SD_START+205)
-#define ID_VAL_AXIS_X (SID_SD_START+206)
-#define ID_VAL_AXIS_Y (SID_SD_START+207)
-#define ID_VAL_ANGLESTART (SID_SD_START+208)
-#define ID_VAL_ANGLEEND (SID_SD_START+209)
-#define ID_VAL_CENTER_X (SID_SD_START+210)
-#define ID_VAL_CENTER_Y (SID_SD_START+211)
-#define ID_VAL_WHATPAGE (SID_SD_START+212)
-#define ID_VAL_WHATLAYER (SID_SD_START+213)
-#define ID_VAL_ANGLE (SID_SD_START+214)
-#define ID_VAL_MIRRORVERT (SID_SD_START+215)
-#define ID_VAL_ISACTIVE (SID_SD_START+216)
-#define ID_VAL_WHATKIND (SID_SD_START+217)
-#define ID_VAL_PAGEWIDTH (SID_SD_START+218)
-#define ID_VAL_PAGEMARGIN (SID_SD_START+219)
-#define ID_VAL_PAGETOP (SID_SD_START+220)
-#define ID_VAL_PAGEBOTTOM (SID_SD_START+221)
-#define ID_VAL_PAGELEFT (SID_SD_START+222)
-#define ID_VAL_PAGERIGHT (SID_SD_START+223)
-#define ID_VAL_SCALEOBJECTS (SID_SD_START+224)
-#define ID_VAL_PAGENAME (SID_SD_START+225)
-#define ID_VAL_WHATLAYOUT (SID_SD_START+226)
-#define ID_VAL_ISPAGEBACK (SID_SD_START+227)
-#define ID_VAL_ISPAGEOBJ (SID_SD_START+228)
-#define ID_VAL_LAYERNAME (SID_SD_START+229)
-#define ID_VAL_ISVISIBLE (SID_SD_START+230)
-#define ID_VAL_ISLOCKED (SID_SD_START+231)
-#define ID_VAL_ISPRINTABLE (SID_SD_START+232)
-#define ID_VAL_PAGEHEIGHT (SID_SD_START+233)
-#define ID_VAL_ZOOM (SID_SD_START+234)
-#define ID_VAL_ANCHOR_X (SID_SD_START+235)
-#define ID_VAL_ANCHOR_Y (SID_SD_START+236)
-#define ID_VAL_RED (SID_SD_START+237)
-#define ID_VAL_GREEN (SID_SD_START+238)
-#define ID_VAL_BLUE (SID_SD_START+239)
-#define ID_VAL_STYLE (SID_SD_START+240)
-#define ID_VAL_DOTS (SID_SD_START+241)
-#define ID_VAL_DOTLEN (SID_SD_START+242)
-#define ID_VAL_DASHES (SID_SD_START+243)
-#define ID_VAL_DASHLEN (SID_SD_START+244)
-#define ID_VAL_DISTANCE (SID_SD_START+245)
-#define ID_VAL_INDEX (SID_SD_START+246)
-#define ID_VAL_WIDTH (SID_SD_START+247)
-#define ID_VAL_HEIGHT (SID_SD_START+248)
-#define ID_VAL_PANEL_INDEX (SID_SD_START+249)
+#define ID_VAL_ENDINTENS (SID_SD_START+197)
+#define ID_VAL_STARTINTENS (SID_SD_START+198)
+#define ID_VAL_BORDER (SID_SD_START+199)
+#define ID_VAL_MOUSESTART_X (SID_SD_START+200)
+#define ID_VAL_MOUSESTART_Y (SID_SD_START+201)
+#define ID_VAL_LENGTH_X (SID_SD_START+202)
+#define ID_VAL_LENGTH_Y (SID_SD_START+203)
+#define ID_VAL_MOUSEEND_X (SID_SD_START+204)
+#define ID_VAL_MOUSEEND_Y (SID_SD_START+205)
+#define ID_VAL_AXIS_X (SID_SD_START+206)
+#define ID_VAL_AXIS_Y (SID_SD_START+207)
+#define ID_VAL_ANGLESTART (SID_SD_START+208)
+#define ID_VAL_ANGLEEND (SID_SD_START+209)
+#define ID_VAL_CENTER_X (SID_SD_START+210)
+#define ID_VAL_CENTER_Y (SID_SD_START+211)
+#define ID_VAL_WHATPAGE (SID_SD_START+212)
+#define ID_VAL_WHATLAYER (SID_SD_START+213)
+#define ID_VAL_ANGLE (SID_SD_START+214)
+#define ID_VAL_MIRRORVERT (SID_SD_START+215)
+#define ID_VAL_ISACTIVE (SID_SD_START+216)
+#define ID_VAL_WHATKIND (SID_SD_START+217)
+#define ID_VAL_PAGEWIDTH (SID_SD_START+218)
+#define ID_VAL_PAGEMARGIN (SID_SD_START+219)
+#define ID_VAL_PAGETOP (SID_SD_START+220)
+#define ID_VAL_PAGEBOTTOM (SID_SD_START+221)
+#define ID_VAL_PAGELEFT (SID_SD_START+222)
+#define ID_VAL_PAGERIGHT (SID_SD_START+223)
+#define ID_VAL_SCALEOBJECTS (SID_SD_START+224)
+#define ID_VAL_PAGENAME (SID_SD_START+225)
+#define ID_VAL_WHATLAYOUT (SID_SD_START+226)
+#define ID_VAL_ISPAGEBACK (SID_SD_START+227)
+#define ID_VAL_ISPAGEOBJ (SID_SD_START+228)
+#define ID_VAL_LAYERNAME (SID_SD_START+229)
+#define ID_VAL_ISVISIBLE (SID_SD_START+230)
+#define ID_VAL_ISLOCKED (SID_SD_START+231)
+#define ID_VAL_ISPRINTABLE (SID_SD_START+232)
+#define ID_VAL_PAGEHEIGHT (SID_SD_START+233)
+#define ID_VAL_ZOOM (SID_SD_START+234)
+#define ID_VAL_ANCHOR_X (SID_SD_START+235)
+#define ID_VAL_ANCHOR_Y (SID_SD_START+236)
+#define ID_VAL_RED (SID_SD_START+237)
+#define ID_VAL_GREEN (SID_SD_START+238)
+#define ID_VAL_BLUE (SID_SD_START+239)
+#define ID_VAL_STYLE (SID_SD_START+240)
+#define ID_VAL_DOTS (SID_SD_START+241)
+#define ID_VAL_DOTLEN (SID_SD_START+242)
+#define ID_VAL_DASHES (SID_SD_START+243)
+#define ID_VAL_DASHLEN (SID_SD_START+244)
+#define ID_VAL_DISTANCE (SID_SD_START+245)
+#define ID_VAL_INDEX (SID_SD_START+246)
+#define ID_VAL_WIDTH (SID_SD_START+247)
+#define ID_VAL_HEIGHT (SID_SD_START+248)
+#define ID_VAL_PANEL_INDEX (SID_SD_START+249)
// nur zum austesten, um nicht jedesmal APP:HRC ff. durchbuilden zu muessen
-#define ID_VAL_DUMMY0 (SID_SD_START+230)
-#define ID_VAL_DUMMY1 (SID_SD_START+231)
-#define ID_VAL_DUMMY2 (SID_SD_START+232)
-#define ID_VAL_DUMMY3 (SID_SD_START+233)
-#define ID_VAL_DUMMY4 (SID_SD_START+234)
-#define ID_VAL_DUMMY5 (SID_SD_START+235)
-#define ID_VAL_DUMMY6 (SID_SD_START+236)
-#define ID_VAL_DUMMY7 (SID_SD_START+237)
-#define ID_VAL_DUMMY8 (SID_SD_START+238)
-#define ID_VAL_DUMMY9 (SID_SD_START+239)
+#define ID_VAL_DUMMY0 (SID_SD_START+230)
+#define ID_VAL_DUMMY1 (SID_SD_START+231)
+#define ID_VAL_DUMMY2 (SID_SD_START+232)
+#define ID_VAL_DUMMY3 (SID_SD_START+233)
+#define ID_VAL_DUMMY4 (SID_SD_START+234)
+#define ID_VAL_DUMMY5 (SID_SD_START+235)
+#define ID_VAL_DUMMY6 (SID_SD_START+236)
+#define ID_VAL_DUMMY7 (SID_SD_START+237)
+#define ID_VAL_DUMMY8 (SID_SD_START+238)
+#define ID_VAL_DUMMY9 (SID_SD_START+239)
-#define SID_MOVETO (SID_SD_START+250)
-#define SID_LINETO (SID_SD_START+251)
-#define SID_BEZIERTO (SID_SD_START+252)
-#define SID_PAGESIZE (SID_SD_START+253)
-#define SID_PAGEMARGIN (SID_SD_START+254)
-#define SID_ZOOMING (SID_SD_START+255)
-#define SID_SELECTAT (SID_SD_START+256)
-#define SID_COLORVIEW (SID_SD_START+257)
+#define SID_MOVETO (SID_SD_START+250)
+#define SID_LINETO (SID_SD_START+251)
+#define SID_BEZIERTO (SID_SD_START+252)
+#define SID_PAGESIZE (SID_SD_START+253)
+#define SID_PAGEMARGIN (SID_SD_START+254)
+#define SID_ZOOMING (SID_SD_START+255)
+#define SID_SELECTAT (SID_SD_START+256)
+#define SID_COLORVIEW (SID_SD_START+257)
-#define SID_GETRED (SID_SD_START+259)
-#define SID_GETBLUE (SID_SD_START+260)
-#define SID_GETGREEN (SID_SD_START+261)
-#define SID_SETFILLSTYLE (SID_SD_START+262)
-#define SID_SETFILLCOLOR (SID_SD_START+263)
-#define SID_GRADIENT (SID_SD_START+264)
-#define SID_SETLINESTYLE (SID_SD_START+265)
-#define SID_SETLINEWIDTH (SID_SD_START+266)
-#define SID_DASH (SID_SD_START+267)
-#define SID_RENAMEPAGE (SID_SD_START+268)
-#define SID_RENAMELAYER (SID_SD_START+269)
-#define SID_HATCH (SID_SD_START+270)
-#define SID_GETFILLSTYLE (SID_SD_START+271)
-#define SID_GETLINESTYLE (SID_SD_START+272)
-#define SID_GETLINEWIDTH (SID_SD_START+273)
-#define SID_SETLINECOLOR (SID_SD_START+274)
-#define SID_SETHATCHCOLOR (SID_SD_START+275)
-#define SID_SETGRADSTARTCOLOR (SID_SD_START+276)
-#define SID_SETGRADENDCOLOR (SID_SD_START+277)
-#define SID_SELECTGRADIENT (SID_SD_START+278)
-#define SID_SELECTHATCH (SID_SD_START+279)
-#define SID_UNSELECT (SID_SD_START+280)
-#define SID_TEXTATTR_DLG (SID_SD_START+281)
-#define SID_ORIGINAL_SIZE (SID_SD_START+282)
-#define SID_PAGES_PER_ROW (SID_SD_START+284)
-#define SID_TEXT_FITTOSIZE (SID_SD_START+285)
-#define SID_TEXT_FITTOSIZE_VERTICAL (SID_SD_START+286)
-#define SID_NAVIGATOR_PAGENAME (SID_SD_START+287)
-#define SID_NAVIGATOR_STATE (SID_SD_START+288)
-#define SID_NAVIGATOR_INIT (SID_SD_START+289)
-#define SID_NAVIGATOR_PEN (SID_SD_START+291)
-#define SID_NAVIGATOR_PAGE (SID_SD_START+292)
-#define SID_NAVIGATOR_OBJECT (SID_SD_START+293)
-#define SID_ANIMATOR_INIT (SID_SD_START+294)
-#define SID_DRAWTBX_3D_OBJECTS (SID_SD_START+295)
-#define SID_3D_CUBE (SID_SD_START+296)
-#define SID_3D_SPHERE (SID_SD_START+297)
-#define SID_3D_CYLINDER (SID_SD_START+298)
-#define SID_3D_CONE (SID_SD_START+299)
-#define SID_3D_PYRAMID (SID_SD_START+300)
-#define SID_GLUE_EDITMODE (SID_SD_START+301)
-#define SID_GLUE_INSERT_POINT (SID_SD_START+302)
-#define SID_GLUE_PERCENT (SID_SD_START+303)
-#define SID_GLUE_ESCDIR (SID_SD_START+304)
-#define SID_GLUE_HORZALIGN_CENTER (SID_SD_START+305)
-#define SID_GLUE_HORZALIGN_LEFT (SID_SD_START+306)
-#define SID_GLUE_HORZALIGN_RIGHT (SID_SD_START+307)
-#define SID_GLUE_VERTALIGN_CENTER (SID_SD_START+308)
-#define SID_GLUE_VERTALIGN_TOP (SID_SD_START+309)
-#define SID_GLUE_VERTALIGN_BOTTOM (SID_SD_START+310)
-#define SID_3D_SHELL (SID_SD_START+311)
-#define SID_3D_TORUS (SID_SD_START+312)
-#define SID_3D_HALF_SPHERE (SID_SD_START+313)
-#define SID_GLUE_ESCDIR_LEFT (SID_SD_START+314)
-#define SID_GLUE_ESCDIR_RIGHT (SID_SD_START+315)
-#define SID_GLUE_ESCDIR_TOP (SID_SD_START+316)
-#define SID_GLUE_ESCDIR_BOTTOM (SID_SD_START+317)
-#define SID_DRAWTBX_INSERT (SID_SD_START+318)
-#define SID_POLYGON_MORPHING (SID_SD_START+319)
-#define SID_MEASURE_DLG (SID_SD_START+320)
-#define SID_EXPORT (SID_SD_START+321)
-#define SID_GRID_VISIBLE (SID_SD_START+322)
-#define SID_GRID_FRONT (SID_SD_START+323)
-#define SID_HELPLINES_VISIBLE (SID_SD_START+324)
-#define SID_HELPLINES_FRONT (SID_SD_START+325)
-#define SID_BEFORE_OBJ (SID_SD_START+326)
-#define SID_PREVIEW_WIN (SID_SD_START+327)
-#define SID_CUSTOM_ANIMATION_PANEL (SID_SD_START+328)
-#define SID_PREVIEW_STATE (SID_SD_START+329)
+#define SID_GETRED (SID_SD_START+259)
+#define SID_GETBLUE (SID_SD_START+260)
+#define SID_GETGREEN (SID_SD_START+261)
+#define SID_SETFILLSTYLE (SID_SD_START+262)
+#define SID_SETFILLCOLOR (SID_SD_START+263)
+#define SID_GRADIENT (SID_SD_START+264)
+#define SID_SETLINESTYLE (SID_SD_START+265)
+#define SID_SETLINEWIDTH (SID_SD_START+266)
+#define SID_DASH (SID_SD_START+267)
+#define SID_RENAMEPAGE (SID_SD_START+268)
+#define SID_RENAMELAYER (SID_SD_START+269)
+#define SID_HATCH (SID_SD_START+270)
+#define SID_GETFILLSTYLE (SID_SD_START+271)
+#define SID_GETLINESTYLE (SID_SD_START+272)
+#define SID_GETLINEWIDTH (SID_SD_START+273)
+#define SID_SETLINECOLOR (SID_SD_START+274)
+#define SID_SETHATCHCOLOR (SID_SD_START+275)
+#define SID_SETGRADSTARTCOLOR (SID_SD_START+276)
+#define SID_SETGRADENDCOLOR (SID_SD_START+277)
+#define SID_SELECTGRADIENT (SID_SD_START+278)
+#define SID_SELECTHATCH (SID_SD_START+279)
+#define SID_UNSELECT (SID_SD_START+280)
+#define SID_TEXTATTR_DLG (SID_SD_START+281)
+#define SID_ORIGINAL_SIZE (SID_SD_START+282)
+#define SID_PAGES_PER_ROW (SID_SD_START+284)
+#define SID_TEXT_FITTOSIZE (SID_SD_START+285)
+#define SID_TEXT_FITTOSIZE_VERTICAL (SID_SD_START+286)
+#define SID_NAVIGATOR_PAGENAME (SID_SD_START+287)
+#define SID_NAVIGATOR_STATE (SID_SD_START+288)
+#define SID_NAVIGATOR_INIT (SID_SD_START+289)
+#define SID_NAVIGATOR_PEN (SID_SD_START+291)
+#define SID_NAVIGATOR_PAGE (SID_SD_START+292)
+#define SID_NAVIGATOR_OBJECT (SID_SD_START+293)
+#define SID_ANIMATOR_INIT (SID_SD_START+294)
+#define SID_DRAWTBX_3D_OBJECTS (SID_SD_START+295)
+#define SID_3D_CUBE (SID_SD_START+296)
+#define SID_3D_SPHERE (SID_SD_START+297)
+#define SID_3D_CYLINDER (SID_SD_START+298)
+#define SID_3D_CONE (SID_SD_START+299)
+#define SID_3D_PYRAMID (SID_SD_START+300)
+#define SID_GLUE_EDITMODE (SID_SD_START+301)
+#define SID_GLUE_INSERT_POINT (SID_SD_START+302)
+#define SID_GLUE_PERCENT (SID_SD_START+303)
+#define SID_GLUE_ESCDIR (SID_SD_START+304)
+#define SID_GLUE_HORZALIGN_CENTER (SID_SD_START+305)
+#define SID_GLUE_HORZALIGN_LEFT (SID_SD_START+306)
+#define SID_GLUE_HORZALIGN_RIGHT (SID_SD_START+307)
+#define SID_GLUE_VERTALIGN_CENTER (SID_SD_START+308)
+#define SID_GLUE_VERTALIGN_TOP (SID_SD_START+309)
+#define SID_GLUE_VERTALIGN_BOTTOM (SID_SD_START+310)
+#define SID_3D_SHELL (SID_SD_START+311)
+#define SID_3D_TORUS (SID_SD_START+312)
+#define SID_3D_HALF_SPHERE (SID_SD_START+313)
+#define SID_GLUE_ESCDIR_LEFT (SID_SD_START+314)
+#define SID_GLUE_ESCDIR_RIGHT (SID_SD_START+315)
+#define SID_GLUE_ESCDIR_TOP (SID_SD_START+316)
+#define SID_GLUE_ESCDIR_BOTTOM (SID_SD_START+317)
+#define SID_DRAWTBX_INSERT (SID_SD_START+318)
+#define SID_POLYGON_MORPHING (SID_SD_START+319)
+#define SID_MEASURE_DLG (SID_SD_START+320)
+#define SID_EXPORT (SID_SD_START+321)
+#define SID_GRID_VISIBLE (SID_SD_START+322)
+#define SID_GRID_FRONT (SID_SD_START+323)
+#define SID_HELPLINES_VISIBLE (SID_SD_START+324)
+#define SID_HELPLINES_FRONT (SID_SD_START+325)
+#define SID_BEFORE_OBJ (SID_SD_START+326)
+#define SID_PREVIEW_WIN (SID_SD_START+327)
+#define SID_CUSTOM_ANIMATION_PANEL (SID_SD_START+328)
+#define SID_PREVIEW_STATE (SID_SD_START+329)
#define SID_CUSTOM_ANIMATION_SCHEMES_PANEL (SID_SD_START+333)
-#define SID_SLIDE_TRANSITIONS_PANEL (SID_SD_START+334)
+#define SID_SLIDE_TRANSITIONS_PANEL (SID_SD_START+334)
// free
-#define SID_CONNECTION_DLG (SID_SD_START+338)
-#define SID_PRESENTATION_DLG (SID_SD_START+339)
-#define SID_HYPHENATION (SID_SD_START+340)
-#define SID_CONNECTION_NEW_ROUTING (SID_SD_START+341)
+#define SID_CONNECTION_DLG (SID_SD_START+338)
+#define SID_PRESENTATION_DLG (SID_SD_START+339)
+#define SID_HYPHENATION (SID_SD_START+340)
+#define SID_CONNECTION_NEW_ROUTING (SID_SD_START+341)
#define SID_DUPLICATE_PAGE (SID_SD_START+342)
#define SID_EXPAND_PAGE (SID_SD_START+343)
#define SID_SUMMARY_PAGE (SID_SD_START+344)
@@ -365,76 +365,76 @@
#define SID_NOTES_MASTERPAGE (SID_SD_START+350)
#define SID_TITLE_MASTERPAGE (SID_SD_START+351)
#define SID_INSERTPAGE_QUICK (SID_SD_START+352)
-#define SID_SAVEGRAPHIC (SID_SD_START+353)
+#define SID_SAVEGRAPHIC (SID_SD_START+353)
// free
-#define SID_INSERT_FLD_DATE_VAR (SID_SD_START+357)
-#define SID_INSERT_FLD_DATE_FIX (SID_SD_START+358)
-#define SID_INSERT_FLD_TIME_VAR (SID_SD_START+359)
-#define SID_INSERT_FLD_TIME_FIX (SID_SD_START+360)
-#define SID_INSERT_FLD_PAGE (SID_SD_START+361)
-#define SID_MODIFY_FIELD (SID_SD_START+362)
-#define SID_INSERT_FLD_FILE (SID_SD_START+363)
-#define SID_INSERT_FLD_AUTHOR (SID_SD_START+364)
-#define SID_CUSTOMSHOW_DLG (SID_SD_START+365)
+#define SID_INSERT_FLD_DATE_VAR (SID_SD_START+357)
+#define SID_INSERT_FLD_DATE_FIX (SID_SD_START+358)
+#define SID_INSERT_FLD_TIME_VAR (SID_SD_START+359)
+#define SID_INSERT_FLD_TIME_FIX (SID_SD_START+360)
+#define SID_INSERT_FLD_PAGE (SID_SD_START+361)
+#define SID_MODIFY_FIELD (SID_SD_START+362)
+#define SID_INSERT_FLD_FILE (SID_SD_START+363)
+#define SID_INSERT_FLD_AUTHOR (SID_SD_START+364)
+#define SID_CUSTOMSHOW_DLG (SID_SD_START+365)
-#define SID_OUTPUT_QUALITY_COLOR (SID_SD_START+366)
-#define SID_OUTPUT_QUALITY_GRAYSCALE (SID_SD_START+367)
-#define SID_OUTPUT_QUALITY_BLACKWHITE (SID_SD_START+368)
-#define SID_PREVIEW_QUALITY_COLOR (SID_SD_START+369)
-#define SID_PREVIEW_QUALITY_GRAYSCALE (SID_SD_START+370)
-#define SID_PREVIEW_QUALITY_BLACKWHITE (SID_SD_START+371)
-#define SID_VECTORIZE (SID_SD_START+372)
+#define SID_OUTPUT_QUALITY_COLOR (SID_SD_START+366)
+#define SID_OUTPUT_QUALITY_GRAYSCALE (SID_SD_START+367)
+#define SID_OUTPUT_QUALITY_BLACKWHITE (SID_SD_START+368)
+#define SID_PREVIEW_QUALITY_COLOR (SID_SD_START+369)
+#define SID_PREVIEW_QUALITY_GRAYSCALE (SID_SD_START+370)
+#define SID_PREVIEW_QUALITY_BLACKWHITE (SID_SD_START+371)
+#define SID_VECTORIZE (SID_SD_START+372)
-#define SID_INSERT_FLD_PAGES (SID_SD_START+373)
+#define SID_INSERT_FLD_PAGES (SID_SD_START+373)
-#define SID_CONVERT_TO_BITMAP (SID_SD_START+378)
-#define SID_CONVERT_TO_METAFILE (SID_SD_START+379)
+#define SID_CONVERT_TO_BITMAP (SID_SD_START+378)
+#define SID_CONVERT_TO_METAFILE (SID_SD_START+379)
-#define SID_PACKNGO (SID_SD_START+380)
+#define SID_PACKNGO (SID_SD_START+380)
-#define SID_CONVERT_TO_CONTOUR (SID_SD_START+381)
+#define SID_CONVERT_TO_CONTOUR (SID_SD_START+381)
-#define SID_EDIT_HYPERLINK (SID_SD_START+382)
+#define SID_EDIT_HYPERLINK (SID_SD_START+382)
-#define SID_GRAFFILTER_SOBEL (SID_SD_START+390)
-#define SID_GRAFFILTER_MOSAIC (SID_SD_START+391)
-#define SID_GRAFFILTER_EMBOSS (SID_SD_START+392)
-#define SID_GRAFFILTER_POSTER (SID_SD_START+393)
-#define SID_GRAFFILTER_POPART (SID_SD_START+394)
-#define SID_GRAFFILTER_SEPIA (SID_SD_START+395)
-#define SID_GRAFFILTER_SOLARIZE (SID_SD_START+396)
+#define SID_GRAFFILTER_SOBEL (SID_SD_START+390)
+#define SID_GRAFFILTER_MOSAIC (SID_SD_START+391)
+#define SID_GRAFFILTER_EMBOSS (SID_SD_START+392)
+#define SID_GRAFFILTER_POSTER (SID_SD_START+393)
+#define SID_GRAFFILTER_POPART (SID_SD_START+394)
+#define SID_GRAFFILTER_SEPIA (SID_SD_START+395)
+#define SID_GRAFFILTER_SOLARIZE (SID_SD_START+396)
-#define SID_OUTPUT_QUALITY_CONTRAST (SID_SD_START+400)
-#define SID_PREVIEW_QUALITY_CONTRAST (SID_SD_START+401)
+#define SID_OUTPUT_QUALITY_CONTRAST (SID_SD_START+400)
+#define SID_PREVIEW_QUALITY_CONTRAST (SID_SD_START+401)
#define SID_RENAMEPAGE_QUICK (SID_SD_START+405)
#define SID_SWITCH_SHELL (SID_SD_START+406)
-#define SID_HEADER_AND_FOOTER (SID_SD_START+407)
-#define SID_MASTER_LAYOUTS (SID_SD_START+408)
+#define SID_HEADER_AND_FOOTER (SID_SD_START+407)
+#define SID_MASTER_LAYOUTS (SID_SD_START+408)
/*
-#define SID_MASTER_LAYOUTS_NOTES (SID_SD_START+409)
-#define SID_MASTER_LAYOUTS_HANDOUTS (SID_SD_START+410)
+#define SID_MASTER_LAYOUTS_NOTES (SID_SD_START+409)
+#define SID_MASTER_LAYOUTS_HANDOUTS (SID_SD_START+410)
*/
-#define SID_INSERT_PAGE_NUMBER (SID_SD_START+411)
-#define SID_INSERT_DATE_TIME (SID_SD_START+412)
+#define SID_INSERT_PAGE_NUMBER (SID_SD_START+411)
+#define SID_INSERT_DATE_TIME (SID_SD_START+412)
-#define SID_SDMODE_FLAG (SID_SD_START+413)
-#define SD_DRAW_MODE 1
-#define SD_IMPRESS_MODE 2
+#define SID_SDMODE_FLAG (SID_SD_START+413)
+#define SD_DRAW_MODE 1
+#define SD_IMPRESS_MODE 2
#define SID_LEFT_PANE_IMPRESS (SID_SD_START+414)
#define SID_LEFT_PANE_DRAW (SID_SD_START+415)
// FREE
#define SID_NOTES_WINDOW (SID_SD_START+417)
#define SID_SWITCH_SHELL_PANE (SID_SD_START+418)
-#define SID_LAYER_DIALOG_WIN (SID_SD_START+419)
-#define SID_NORMAL_MULTI_PANE_GUI (SID_SD_START+420)
-#define SID_SLIDE_SORTER_MULTI_PANE_GUI (SID_SD_START+421)
+#define SID_LAYER_DIALOG_WIN (SID_SD_START+419)
+#define SID_NORMAL_MULTI_PANE_GUI (SID_SD_START+420)
+#define SID_SLIDE_SORTER_MULTI_PANE_GUI (SID_SD_START+421)
-#define SID_SELECT_BACKGROUND (SID_SD_START+422)
-#define SID_OBJECT_CROP (SID_SD_START+423)
+#define SID_SELECT_BACKGROUND (SID_SD_START+422)
+#define SID_OBJECT_CROP (SID_SD_START+423)
// Slots for the tool pane popup
#define SID_TP_APPLY_TO_ALL_SLIDES (SID_SD_START+425)
@@ -451,13 +451,13 @@
#define SID_DISPLAY_MASTER_BACKGROUND (SID_SD_START+436)
#define SID_DISPLAY_MASTER_OBJECTS (SID_SD_START+437)
#define SID_INSERTPAGE_LAYOUT_MENU (SID_SD_START+438)
-#define SID_TP_EDIT_MASTER (SID_SD_START+439)
+#define SID_TP_EDIT_MASTER (SID_SD_START+439)
#define SID_OUTLINE_TEXT_AUTOFIT (SID_SD_START+440)
// Add companion for the SID_HIDE_SLIDE (that is defined in svx)
#define SID_SHOW_SLIDE (SID_SD_START+441)
-#define SID_ADD_MOTION_PATH (SID_SD_START+442)
-#define SID_TABLE_TOOLBOX (SID_SD_START+443)
+#define SID_ADD_MOTION_PATH (SID_SD_START+442)
+#define SID_TABLE_TOOLBOX (SID_SD_START+443)
#endif
diff --git a/sd/inc/app.hxx b/sd/inc/app.hxx
index e44485a9c2c5..68a6fe0f2255 100644
--- a/sd/inc/app.hxx
+++ b/sd/inc/app.hxx
@@ -2,7 +2,7 @@
/*************************************************************************
*
* 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
diff --git a/sd/inc/cusshow.hxx b/sd/inc/cusshow.hxx
index 1f981e9a770e..d7a2ec3f7895 100644
--- a/sd/inc/cusshow.hxx
+++ b/sd/inc/cusshow.hxx
@@ -2,7 +2,7 @@
/*************************************************************************
*
* 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
diff --git a/sd/inc/diadef.h b/sd/inc/diadef.h
index df5296f6e4ce..922c75628302 100644
--- a/sd/inc/diadef.h
+++ b/sd/inc/diadef.h
@@ -2,7 +2,7 @@
/*************************************************************************
*
* 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
diff --git a/sd/inc/drawdoc.hxx b/sd/inc/drawdoc.hxx
index 4a765346be27..7dc116515951 100644
--- a/sd/inc/drawdoc.hxx
+++ b/sd/inc/drawdoc.hxx
@@ -2,7 +2,7 @@
/*************************************************************************
*
* 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
@@ -162,11 +162,11 @@ namespace sd
class SdDrawDocument : public FmFormModel
{
private:
- ::sd::Outliner* mpOutliner; // local outliner for outline mode
- ::sd::Outliner* mpInternalOutliner; // internal outliner for creation of text objects
- Timer* mpWorkStartupTimer;
+ ::sd::Outliner* mpOutliner; // local outliner for outline mode
+ ::sd::Outliner* mpInternalOutliner; // internal outliner for creation of text objects
+ Timer* mpWorkStartupTimer;
Timer* mpOnlineSpellingTimer;
- sd::ShapeList* mpOnlineSpellingList;
+ sd::ShapeList* mpOnlineSpellingList;
SvxSearchItem* mpOnlineSearchItem;
List* mpFrameViewList;
List* mpCustomShowList;
@@ -174,26 +174,26 @@ private:
SdTransferable * mpCreatingTransferable;
BOOL mbHasOnlineSpellErrors;
BOOL mbInitialOnlineSpellingEnabled;
- String maBookmarkFile;
- ::sd::DrawDocShellRef mxBookmarkDocShRef;
+ String maBookmarkFile;
+ ::sd::DrawDocShellRef mxBookmarkDocShRef;
sd::PresentationSettings maPresentationSettings;
::com::sun::star::uno::Reference< ::com::sun::star::presentation::XPresentation2 > mxPresentation;
- BOOL mbNewOrLoadCompleted;
+ BOOL mbNewOrLoadCompleted;
- BOOL mbOnlineSpell;
+ BOOL mbOnlineSpell;
BOOL mbSummationOfParagraphs;
- bool mbStartWithPresentation; // is set to true when starting with command line parameter -start
- LanguageType meLanguage;
- LanguageType meLanguageCJK;
- LanguageType meLanguageCTL;
- SvxNumType mePageNumType;
+ bool mbStartWithPresentation; // is set to true when starting with command line parameter -start
+ LanguageType meLanguage;
+ LanguageType meLanguageCJK;
+ LanguageType meLanguageCTL;
+ SvxNumType mePageNumType;
::sd::DrawDocShellRef mxAllocedDocShRef; // => AllocModel()
- BOOL mbAllocDocSh; // => AllocModel()
+ BOOL mbAllocDocSh; // => AllocModel()
DocumentType meDocType;
- CharClass* mpCharClass;
+ CharClass* mpCharClass;
::com::sun::star::lang::Locale* mpLocale;
// #109538#
@@ -210,7 +210,7 @@ private:
DECL_LINK(OnlineSpellEventHdl, EditStatus*);
std::vector< rtl::OUString > maAnnotationAuthors;
-
+
protected:
virtual ::com::sun::star::uno::Reference< ::com::sun::star::uno::XInterface > createUnoModel();
@@ -232,46 +232,46 @@ public:
virtual void SetChanged(sal_Bool bFlag = sal_True);
virtual SvStream* GetDocumentStream(SdrDocumentStreamInfo& rStreamInfo) const;
- SfxItemPool& GetPool() { return( *pItemPool ); }
+ SfxItemPool& GetPool() { return( *pItemPool ); }
::sd::Outliner* GetOutliner(BOOL bCreateOutliner=TRUE);
SD_DLLPUBLIC ::sd::Outliner* GetInternalOutliner(BOOL bCreateOutliner=TRUE);
-
+
::sd::DrawDocShell* GetDocSh() const { return mpDocSh; }
- LanguageType GetLanguage( const USHORT nId ) const;
- void SetLanguage( const LanguageType eLang, const USHORT nId );
+ LanguageType GetLanguage( const USHORT nId ) const;
+ void SetLanguage( const LanguageType eLang, const USHORT nId );
SvxNumType GetPageNumType() const;
- void SetPageNumType(SvxNumType eType) { mePageNumType = eType; }
+ void SetPageNumType(SvxNumType eType) { mePageNumType = eType; }
SD_DLLPUBLIC String CreatePageNumValue(USHORT nNum) const;
DocumentType GetDocumentType() const { return meDocType; }
- void SetAllocDocSh(BOOL bAlloc);
-
- void CreatingDataObj( SdTransferable* pTransferable ) { mpCreatingTransferable = pTransferable; }
+ void SetAllocDocSh(BOOL bAlloc);
+ void CreatingDataObj( SdTransferable* pTransferable ) { mpCreatingTransferable = pTransferable; }
+
/** if the document does not contain at least one handout, one slide and one notes page with
at least one master each this methods creates them.
If a reference document is given, the sizes and border settings of that document are used
for newly created slides.
*/
- SD_DLLPUBLIC void CreateFirstPages( SdDrawDocument* pRefDocument = 0 );
+ SD_DLLPUBLIC void CreateFirstPages( SdDrawDocument* pRefDocument = 0 );
SD_DLLPUBLIC BOOL CreateMissingNotesAndHandoutPages();
- void MovePage(USHORT nPgNum, USHORT nNewPos);
- void InsertPage(SdrPage* pPage, USHORT nPos=0xFFFF);
- void DeletePage(USHORT nPgNum);
+ void MovePage(USHORT nPgNum, USHORT nNewPos);
+ void InsertPage(SdrPage* pPage, USHORT nPos=0xFFFF);
+ void DeletePage(USHORT nPgNum);
SdrPage* RemovePage(USHORT nPgNum);
virtual void InsertMasterPage(SdrPage* pPage, USHORT nPos=0xFFFF);
virtual SdrPage* RemoveMasterPage(USHORT nPgNum);
- void RemoveUnnecessaryMasterPages( SdPage* pMaster=NULL, BOOL bOnlyDuplicatePages=FALSE, BOOL bUndo=TRUE );
- SD_DLLPUBLIC void SetMasterPage(USHORT nSdPageNum, const String& rLayoutName,
+ void RemoveUnnecessaryMasterPages( SdPage* pMaster=NULL, BOOL bOnlyDuplicatePages=FALSE, BOOL bUndo=TRUE );
+ SD_DLLPUBLIC void SetMasterPage(USHORT nSdPageNum, const String& rLayoutName,
SdDrawDocument* pSourceDoc, BOOL bMaster, BOOL bCheckMasters);
-
+
SD_DLLPUBLIC SdDrawDocument* OpenBookmarkDoc(const String& rBookmarkFile);
SdDrawDocument* OpenBookmarkDoc(SfxMedium& rMedium);
BOOL InsertBookmark(List* pBookmarkList, List* pExchangeList, BOOL bLink,
@@ -335,11 +335,11 @@ public:
BOOL InsertBookmarkAsObject(List* pBookmarkList, List* pExchangeListL,
BOOL bLink, ::sd::DrawDocShell* pBookmarkDocSh,
Point* pObjPos);
- void IterateBookmarkPages( SdDrawDocument* pBookmarkDoc, List* pBookmarkList,
+ void IterateBookmarkPages( SdDrawDocument* pBookmarkDoc, List* pBookmarkList,
USHORT nBMSdPageCount,
InsertBookmarkAsPage_PageFunctorBase& rPageIterator );
- SD_DLLPUBLIC void CloseBookmarkDoc();
-
+ SD_DLLPUBLIC void CloseBookmarkDoc();
+
SdrObject* GetObj(const String& rObjName) const;
/** Return the first page that has the given name. Regular pages and
@@ -357,23 +357,23 @@ public:
*/
USHORT GetPageByName(const String& rPgName, BOOL& rbIsMasterPage ) const;
SD_DLLPUBLIC SdPage*GetSdPage(USHORT nPgNum, PageKind ePgKind) const;
- SD_DLLPUBLIC USHORT GetSdPageCount(PageKind ePgKind) const;
-
- void SetSelected(SdPage* pPage, BOOL bSelect);
- BOOL MovePages(USHORT nTargetPage);
+ SD_DLLPUBLIC USHORT GetSdPageCount(PageKind ePgKind) const;
+ void SetSelected(SdPage* pPage, BOOL bSelect);
+ BOOL MovePages(USHORT nTargetPage);
+
SD_DLLPUBLIC SdPage*GetMasterSdPage(USHORT nPgNum, PageKind ePgKind);
- SD_DLLPUBLIC USHORT GetMasterSdPageCount(PageKind ePgKind) const;
-
- USHORT GetMasterPageUserCount(SdrPage* pMaster) const;
-
+ SD_DLLPUBLIC USHORT GetMasterSdPageCount(PageKind ePgKind) const;
+
+ USHORT GetMasterPageUserCount(SdrPage* pMaster) const;
+
const sd::PresentationSettings& getPresentationSettings() const { return maPresentationSettings; }
sd::PresentationSettings& getPresentationSettings() { return maPresentationSettings; }
-
+
const ::com::sun::star::uno::Reference< ::com::sun::star::presentation::XPresentation2 >& getPresentation() const;
void SetSummationOfParagraphs( BOOL bOn = TRUE ) { mbSummationOfParagraphs = bOn; }
- BOOL IsSummationOfParagraphs() const { return mbSummationOfParagraphs; }
+ BOOL IsSummationOfParagraphs() const { return mbSummationOfParagraphs; }
/** Set the mode that controls whether (and later how) the formatting of the document
depends on the current printer metrics.
@@ -411,20 +411,20 @@ public:
List* GetFrameViewList() const { return mpFrameViewList; }
SD_DLLPUBLIC List* GetCustomShowList(BOOL bCreate = FALSE);
-
+
void NbcSetChanged(sal_Bool bFlag = sal_True);
void SetTextDefaults() const;
void CreateLayoutTemplates();
void RenameLayoutTemplate(const String& rOldLayoutName, const String& rNewName);
-
- void CreateDefaultCellStyles();
+
+ void CreateDefaultCellStyles();
SD_DLLPUBLIC void StopWorkStartupDelay();
-
+
void NewOrLoadCompleted(DocCreationMode eMode);
- void NewOrLoadCompleted( SdPage* pPage, SdStyleSheetPool* pSPool );
+ void NewOrLoadCompleted( SdPage* pPage, SdStyleSheetPool* pSPool );
BOOL IsNewOrLoadCompleted() const {return mbNewOrLoadCompleted; }
::sd::FrameView* GetFrameView(ULONG nPos) {
@@ -434,16 +434,16 @@ public:
/** deprecated*/
SdAnimationInfo* GetAnimationInfo(SdrObject* pObject) const;
- SD_DLLPUBLIC static SdAnimationInfo* GetShapeUserData(SdrObject& rObject, bool bCreate = false );
+ SD_DLLPUBLIC static SdAnimationInfo* GetShapeUserData(SdrObject& rObject, bool bCreate = false );
SdIMapInfo* GetIMapInfo( SdrObject* pObject ) const;
IMapObject* GetHitIMapObject( SdrObject* pObject, const Point& rWinPoint, const ::Window& rCmpWnd );
- CharClass* GetCharClass() const { return mpCharClass; }
+ CharClass* GetCharClass() const { return mpCharClass; }
void RestoreLayerNames();
- void UpdateAllLinks();
+ void UpdateAllLinks();
void CheckMasterPages();
@@ -452,7 +452,7 @@ public:
USHORT nDestPos=0xFFFF,
bool bMergeMasterPages = false, bool bAllMasterPages = false,
bool bUndo = true, bool bTreadSourceAsConst = false);
-
+
SD_DLLPUBLIC ::com::sun::star::text::WritingMode GetDefaultWritingMode() const;
void SetDefaultWritingMode( ::com::sun::star::text::WritingMode eMode );
diff --git a/sd/inc/eetext.hxx b/sd/inc/eetext.hxx
index 59e7b3e35a83..c49cac4d8e52 100644
--- a/sd/inc/eetext.hxx
+++ b/sd/inc/eetext.hxx
@@ -2,7 +2,7 @@
/*************************************************************************
*
* 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
@@ -30,7 +30,7 @@
#include <editeng/outliner.hxx>
-#endif // EETEXT_HXX
+#endif // EETEXT_HXX
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/sd/inc/fadedef.h b/sd/inc/fadedef.h
index 732c68baa6bd..25d7c91ae489 100644
--- a/sd/inc/fadedef.h
+++ b/sd/inc/fadedef.h
@@ -2,7 +2,7 @@
/*************************************************************************
*
* 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
@@ -41,6 +41,6 @@ enum FadeSpeed
// muss angepasst werden!
#define FADE_SPEED_COUNT 3
-#endif // _SD_FADEDEF_H
+#endif // _SD_FADEDEF_H
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/sd/inc/glob.hrc b/sd/inc/glob.hrc
index 73189f135e62..eebb52f02c89 100755
--- a/sd/inc/glob.hrc
+++ b/sd/inc/glob.hrc
@@ -1,7 +1,7 @@
/*************************************************************************
*
* 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
@@ -98,13 +98,13 @@
#define STR_POOLSHEET_HEADLINE1 RID_GLOB_START+66
#define STR_POOLSHEET_HEADLINE2 RID_GLOB_START+67
#define STR_POOLSHEET_MEASURE RID_GLOB_START+68
-#define STR_POOLSHEET_ARROW RID_GLOB_START+69
+#define STR_POOLSHEET_ARROW RID_GLOB_START+69
//
-#define STR_POOLSHEET_BANDED_CELL RID_GLOB_START+70
-#define STR_POOLSHEET_HEADER RID_GLOB_START+71
-#define STR_POOLSHEET_TOTAL RID_GLOB_START+72
-#define STR_POOLSHEET_FIRST_COLUMN RID_GLOB_START+73
-#define STR_POOLSHEET_LAST_COLUMN RID_GLOB_START+74
+#define STR_POOLSHEET_BANDED_CELL RID_GLOB_START+70
+#define STR_POOLSHEET_HEADER RID_GLOB_START+71
+#define STR_POOLSHEET_TOTAL RID_GLOB_START+72
+#define STR_POOLSHEET_FIRST_COLUMN RID_GLOB_START+73
+#define STR_POOLSHEET_LAST_COLUMN RID_GLOB_START+74
//
#define STR_PSEUDOSHEET_TITLE RID_GLOB_START+80
#define STR_PSEUDOSHEET_OUTLINE RID_GLOB_START+81
@@ -116,23 +116,23 @@
#define STR_EMPTY_STYLESHEET_NAME RID_GLOB_START+91
#define STR_LAYER_MEASURELINES RID_GLOB_START+92
#define STR_LAYOUT_DEFAULT_TITLE_NAME RID_GLOB_START+93
-#define STR_GRAFOBJECTBARSHELL RID_GLOB_START+94
-#define STR_POWERPOINT_IMPORT RID_GLOB_START+95
-#define STR_STAROFFICE_XML_DRAW RID_GLOB_START+96
-#define STR_STAROFFICE_XML_IMPRESS RID_GLOB_START+97
-#define STR_PRESVIEWSHELL RID_GLOB_START+98
-#define STR_LOAD_DOC RID_GLOB_START+99
-#define STR_SAVE_DOC RID_GLOB_START+100
-#define STR_PREVIEWVIEWSHELL RID_GLOB_START+101
-#define RID_SD_ERRHDL RID_GLOB_START+102
+#define STR_GRAFOBJECTBARSHELL RID_GLOB_START+94
+#define STR_POWERPOINT_IMPORT RID_GLOB_START+95
+#define STR_STAROFFICE_XML_DRAW RID_GLOB_START+96
+#define STR_STAROFFICE_XML_IMPRESS RID_GLOB_START+97
+#define STR_PRESVIEWSHELL RID_GLOB_START+98
+#define STR_LOAD_DOC RID_GLOB_START+99
+#define STR_SAVE_DOC RID_GLOB_START+100
+#define STR_PREVIEWVIEWSHELL RID_GLOB_START+101
+#define RID_SD_ERRHDL RID_GLOB_START+102
#define STR_VIEWSHELLBASE RID_GLOB_START+103
-#define STR_3DOBJECTBARSHELL RID_GLOB_START+104
-#define STR_FONTWORKOBJECTBARSHELL RID_GLOB_START+105
+#define STR_3DOBJECTBARSHELL RID_GLOB_START+104
+#define STR_FONTWORKOBJECTBARSHELL RID_GLOB_START+105
#define STR_SLIDESORTERVIEWSHELL RID_GLOB_START+106
#define STR_TASKPANEVIEWSHELL RID_GLOB_START+107
#define STR_MASTERPAGESSELECTOR RID_GLOB_START+108
#define STR_TASKPANELAYOUTMENU RID_GLOB_START+109
-#define STR_MEDIAOBJECTBARSHELL RID_GLOB_START+110
+#define STR_MEDIAOBJECTBARSHELL RID_GLOB_START+110
#define STR_PAGE_NAME RID_GLOB_START+111
#define STR_SLIDE_NAME RID_GLOB_START+112
#define STR_LEFT_IMPRESS_PANE_SHELL RID_GLOB_START+113
@@ -140,17 +140,17 @@
#define STR_RIGHT_PANE_SHELL RID_GLOB_START+115
#define STR_TOOL_PANEL_SHELL RID_GLOB_START+116
-#define RID_CUSTOMANIMATION_START RID_GLOB_START+120
-#define RID_CUSTOMANIMATION_END RID_GLOB_START+199
-#define RID_ANNOTATIONS_START RID_GLOB_START+200
-#define RID_ANNOTATIONS_END RID_GLOB_START+220
-#define STR_UNDO_ANIMATION RID_GLOB_START+221
-#define STR_UNDO_SLIDE_PARAMS RID_GLOB_START+222
-#define RID_SLIDESHOW_CONTEXTMENU RID_GLOB_START+223
+#define RID_CUSTOMANIMATION_START RID_GLOB_START+120
+#define RID_CUSTOMANIMATION_END RID_GLOB_START+199
+#define RID_ANNOTATIONS_START RID_GLOB_START+200
+#define RID_ANNOTATIONS_END RID_GLOB_START+220
+#define STR_UNDO_ANIMATION RID_GLOB_START+221
+#define STR_UNDO_SLIDE_PARAMS RID_GLOB_START+222
+#define RID_SLIDESHOW_CONTEXTMENU RID_GLOB_START+223
-#define DLG_TABLEDESIGNPANE RID_GLOB_START+224
-#define STR_TABLEOBJECTBARSHELL RID_GLOB_START+225
-#define RID_TABPAGE_PARA_NUMBERING RID_GLOB_START+226
+#define DLG_TABLEDESIGNPANE RID_GLOB_START+224
+#define STR_TABLEOBJECTBARSHELL RID_GLOB_START+225
+#define RID_TABPAGE_PARA_NUMBERING RID_GLOB_START+226
#define STR_CUSTOMANIMATIONPANE RID_GLOB_START+227
#define STR_SLIDE_TRANSITION_PANE RID_GLOB_START+228
diff --git a/sd/inc/glob.hxx b/sd/inc/glob.hxx
index 77adcd8503eb..8264dca6382c 100644
--- a/sd/inc/glob.hxx
+++ b/sd/inc/glob.hxx
@@ -2,7 +2,7 @@
/*************************************************************************
*
* 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
@@ -35,9 +35,9 @@
//------------------------------------------------------------------
-#define DIA_SLOW 0
-#define DIA_MEDIUM 1
-#define DIA_FAST 2
+#define DIA_SLOW 0
+#define DIA_MEDIUM 1
+#define DIA_FAST 2
#define SD_IF_SDAPP SFX_INTERFACE_SD_START + 0
#define SD_IF_SDDRAWDOCSHELL SFX_INTERFACE_SD_START + 1
@@ -51,21 +51,21 @@
#define SD_IF_SDGRAPHICDOCSHELL SFX_INTERFACE_SD_START + 10
#define SD_IF_SDGRAPHICVIEWSHELL SFX_INTERFACE_SD_START + 11
#define SD_IF_SDGRAPHICSTDOBJECTBAR SFX_INTERFACE_SD_START + 12
-#define SD_IF_SDDRAWGRAFOBJECTBAR SFX_INTERFACE_SD_START + 13
+#define SD_IF_SDDRAWGRAFOBJECTBAR SFX_INTERFACE_SD_START + 13
#define SD_IF_SDPRESVIEWSHELL SFX_INTERFACE_SD_START + 14
#define SD_IF_SDPREVIEWVIEWSHELL SFX_INTERFACE_SD_START + 15
#define SD_IF_SDVIEWSHELLBASE SFX_INTERFACE_SD_START + 16
-#define SD_IF_SD3DOBJECTBAR SFX_INTERFACE_SD_START + 17
-#define SD_IF_SDFONTWORKOBJECTBAR SFX_INTERFACE_SD_START + 18
+#define SD_IF_SD3DOBJECTBAR SFX_INTERFACE_SD_START + 17
+#define SD_IF_SDFONTWORKOBJECTBAR SFX_INTERFACE_SD_START + 18
#define SD_IF_SDSLIDESORTERVIEWSHELL SFX_INTERFACE_SD_START + 19
#define SD_IF_SDTASKPANEVIEWSHELL SFX_INTERFACE_SD_START + 20
#define SD_IF_SDMASTERPAGESSELECTOR SFX_INTERFACE_SD_START + 21
#define SD_IF_SDLAYOUTMENU SFX_INTERFACE_SD_START + 22
-#define SD_IF_SDDRAWMEDIAOBJECTBAR SFX_INTERFACE_SD_START + 23
+#define SD_IF_SDDRAWMEDIAOBJECTBAR SFX_INTERFACE_SD_START + 23
#define SD_IF_SDLEFTIMPRESSPANESHELL SFX_INTERFACE_SD_START + 24
#define SD_IF_SDLEFTDRAWPANESHELL SFX_INTERFACE_SD_START + 25
#define SD_IF_SDRIGHTPANESHELL SFX_INTERFACE_SD_START + 26
-#define SD_IF_SDDRAWTABLEOBJECTBAR SFX_INTERFACE_SD_START + 27
+#define SD_IF_SDDRAWTABLEOBJECTBAR SFX_INTERFACE_SD_START + 27
#define SD_IF_SDANNOTATIONSHELL SFX_INTERFACE_SD_START + 28
#define SD_IF_SDTOOLPANELPANESHELL SFX_INTERFACE_SD_START + 29
#define SD_IF_SDTOOLPANELSHELL SFX_INTERFACE_SD_START + 30
@@ -78,19 +78,19 @@ const UINT32 SdUDInventor=UINT32('S')*0x00000001+
// Object-Ids fuer StarDraw UserData
#define SD_ANIMATIONINFO_ID 1
-#define SD_IMAPINFO_ID 2
+#define SD_IMAPINFO_ID 2
// FamilyId der Praesentationsvorlagen
-#define SD_STYLE_FAMILY_GRAPHICS SFX_STYLE_FAMILY_PARA
-#define SD_STYLE_FAMILY_PSEUDO SFX_STYLE_FAMILY_PSEUDO
-#define SD_STYLE_FAMILY_CELL SFX_STYLE_FAMILY_FRAME
-#define SD_STYLE_FAMILY_MASTERPAGE SFX_STYLE_FAMILY_PAGE // ex LT_FAMILY
+#define SD_STYLE_FAMILY_GRAPHICS SFX_STYLE_FAMILY_PARA
+#define SD_STYLE_FAMILY_PSEUDO SFX_STYLE_FAMILY_PSEUDO
+#define SD_STYLE_FAMILY_CELL SFX_STYLE_FAMILY_FRAME
+#define SD_STYLE_FAMILY_MASTERPAGE SFX_STYLE_FAMILY_PAGE // ex LT_FAMILY
// Trennzeichen zwischen Layoutname und Vorlagenname der Praesentationsvorlagen
#define SD_LT_SEPARATOR "~LT~"
// Optionsstream-Identifier
-#define SD_OPTION_MORPHING "Morph"
+#define SD_OPTION_MORPHING "Morph"
#define SD_OPTION_VECTORIZE "Vectorize"
//------------------------------------------------------------------
diff --git a/sd/inc/helper/simplereferencecomponent.hxx b/sd/inc/helper/simplereferencecomponent.hxx
index 45194d8b8153..eee7cefde688 100644
--- a/sd/inc/helper/simplereferencecomponent.hxx
+++ b/sd/inc/helper/simplereferencecomponent.hxx
@@ -2,7 +2,7 @@
/*************************************************************************
*
* 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
diff --git a/sd/inc/helpids.h b/sd/inc/helpids.h
index 9a0bad271409..41d2c341d6c0 100644
--- a/sd/inc/helpids.h
+++ b/sd/inc/helpids.h
@@ -2,7 +2,7 @@
/*************************************************************************
*
* 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
@@ -59,65 +59,65 @@
#define HID_SD_OPTIONS_CONTENTS (HID_SD_START + 21)
#define HID_SD_OPTIONS_MISC (HID_SD_START + 22)
-#define HID_SD_EFFECT_PREVIEW (HID_SD_START + 23)
-#define HID_SD_CTL_NEWFOIL (HID_SD_START + 24)
-#define HID_SD_NAVIGATOR_TLB (HID_SD_START + 25)
-#define HID_SD_NAVIGATOR (HID_SD_START + 26)
+#define HID_SD_EFFECT_PREVIEW (HID_SD_START + 23)
+#define HID_SD_CTL_NEWFOIL (HID_SD_START + 24)
+#define HID_SD_NAVIGATOR_TLB (HID_SD_START + 25)
+#define HID_SD_NAVIGATOR (HID_SD_START + 26)
-#define HID_SD_CTL_EFFECTS (HID_SD_START + 27)
-#define HID_SD_CTL_TEXT_EFFECTS (HID_SD_START + 28)
+#define HID_SD_CTL_EFFECTS (HID_SD_START + 27)
+#define HID_SD_CTL_TEXT_EFFECTS (HID_SD_START + 28)
-#define HID_SD_CTL_SLIDE_CHANGE (HID_SD_START + 29)
+#define HID_SD_CTL_SLIDE_CHANGE (HID_SD_START + 29)
-#define HID_SD_NAVIGATOR_TBX (HID_SD_START + 30)
-#define HID_SD_NAVIGATOR_LB (HID_SD_START + 31)
+#define HID_SD_NAVIGATOR_TBX (HID_SD_START + 30)
+#define HID_SD_NAVIGATOR_LB (HID_SD_START + 31)
-#define HID_SD_NAVIGATOR_TBI_PEN (HID_SD_START + 33)
+#define HID_SD_NAVIGATOR_TBI_PEN (HID_SD_START + 33)
#define HID_SD_NAVIGATOR_TBI_FIRST (HID_SD_START + 34)
#define HID_SD_NAVIGATOR_TBI_PREV (HID_SD_START + 35)
#define HID_SD_NAVIGATOR_TBI_NEXT (HID_SD_START + 36)
#define HID_SD_NAVIGATOR_TBI_LAST (HID_SD_START + 37)
-#define HID_SD_NAVIGATOR_TBI_DRAGTYPE (HID_SD_START + 38)
+#define HID_SD_NAVIGATOR_TBI_DRAGTYPE (HID_SD_START + 38)
#define HID_SD_NAVIGATOR_TBI_SHAPE_FILTER (HID_SD_START + 39)
// Toolboxen
-#define HID_SD_DRAW_DEFAULTTOOLBOX (HID_SD_START + 40)
-#define HID_SD_PLUGINTOOLBOX (HID_SD_START + 41)
-#define HID_SD_DRAW_TOOLBOX (HID_SD_START + 42)
-#define HID_SD_SLIDE_TOOLBOX (HID_SD_START + 43)
-#define HID_SD_OUTLINE_TOOLBOX (HID_SD_START + 44)
-#define HID_SD_DRAW_OBJ_TOOLBOX (HID_SD_START + 45)
-#define HID_SD_DRAW_OPTIONS_TOOLBOX (HID_SD_START + 46)
-#define HID_SD_DRAW_COMMONTASK_TOOLBOX (HID_SD_START + 47)
-#define HID_SD_BEZIER_TOOLBOX (HID_SD_START + 48)
-#define HID_SD_TEXT_TOOLBOX (HID_SD_START + 49)
-#define HID_SD_GLUEPOINTS_TOOLBOX (HID_SD_START + 50)
-#define HID_SD_SLIDE_OBJ_TOOLBOX (HID_SD_START + 51)
+#define HID_SD_DRAW_DEFAULTTOOLBOX (HID_SD_START + 40)
+#define HID_SD_PLUGINTOOLBOX (HID_SD_START + 41)
+#define HID_SD_DRAW_TOOLBOX (HID_SD_START + 42)
+#define HID_SD_SLIDE_TOOLBOX (HID_SD_START + 43)
+#define HID_SD_OUTLINE_TOOLBOX (HID_SD_START + 44)
+#define HID_SD_DRAW_OBJ_TOOLBOX (HID_SD_START + 45)
+#define HID_SD_DRAW_OPTIONS_TOOLBOX (HID_SD_START + 46)
+#define HID_SD_DRAW_COMMONTASK_TOOLBOX (HID_SD_START + 47)
+#define HID_SD_BEZIER_TOOLBOX (HID_SD_START + 48)
+#define HID_SD_TEXT_TOOLBOX (HID_SD_START + 49)
+#define HID_SD_GLUEPOINTS_TOOLBOX (HID_SD_START + 50)
+#define HID_SD_SLIDE_OBJ_TOOLBOX (HID_SD_START + 51)
// FloatingWindows
-#define HID_SD_FW_ALIGNMENT (HID_SD_START + 52)
-#define HID_SD_FW_ZOOM (HID_SD_START + 53)
-#define HID_SD_FW_CHOOSE_MODE (HID_SD_START + 54)
-#define HID_SD_FW_TEXT (HID_SD_START + 55)
-#define HID_SD_FW_RECTANGLES (HID_SD_START + 56)
-#define HID_SD_FW_ELLIPSES (HID_SD_START + 57)
-#define HID_SD_FW_LINES (HID_SD_START + 58)
-#define HID_SD_FW_ARROWS (HID_SD_START + 59)
-#define HID_SD_FW_3D_OBJECTS (HID_SD_START + 60)
-#define HID_SD_FW_CONNECTORS (HID_SD_START + 61)
-#define HID_SD_FW_INSERT (HID_SD_START + 62)
-#define HID_SD_FW_POSITION (HID_SD_START + 63)
-
-#define HID_SD_BTN_PREVIEW (HID_SD_START + 64)
-
-#define HID_SD_NAVIGATOR_MENU1 (HID_SD_START + 65)
-#define HID_SD_NAVIGATOR_MENU2 (HID_SD_START + 66)
-#define HID_SD_NAVIGATOR_MENU3 (HID_SD_START + 67)
-
-#define HID_SD_WIN_PRESENTATION (HID_SD_START + 68)
+#define HID_SD_FW_ALIGNMENT (HID_SD_START + 52)
+#define HID_SD_FW_ZOOM (HID_SD_START + 53)
+#define HID_SD_FW_CHOOSE_MODE (HID_SD_START + 54)
+#define HID_SD_FW_TEXT (HID_SD_START + 55)
+#define HID_SD_FW_RECTANGLES (HID_SD_START + 56)
+#define HID_SD_FW_ELLIPSES (HID_SD_START + 57)
+#define HID_SD_FW_LINES (HID_SD_START + 58)
+#define HID_SD_FW_ARROWS (HID_SD_START + 59)
+#define HID_SD_FW_3D_OBJECTS (HID_SD_START + 60)
+#define HID_SD_FW_CONNECTORS (HID_SD_START + 61)
+#define HID_SD_FW_INSERT (HID_SD_START + 62)
+#define HID_SD_FW_POSITION (HID_SD_START + 63)
+
+#define HID_SD_BTN_PREVIEW (HID_SD_START + 64)
+
+#define HID_SD_NAVIGATOR_MENU1 (HID_SD_START + 65)
+#define HID_SD_NAVIGATOR_MENU2 (HID_SD_START + 66)
+#define HID_SD_NAVIGATOR_MENU3 (HID_SD_START + 67)
+
+#define HID_SD_WIN_PRESENTATION (HID_SD_START + 68)
// HelpIDs fuer Vorlagen
-#define HID_STANDARD_STYLESHEET_NAME (HID_SD_START + 70)
+#define HID_STANDARD_STYLESHEET_NAME (HID_SD_START + 70)
#define HID_POOLSHEET_OBJWITHARROW (HID_SD_START + 71)
#define HID_POOLSHEET_OBJWITHSHADOW (HID_SD_START + 72)
#define HID_POOLSHEET_OBJWITHOUTFILL (HID_SD_START + 73)
@@ -148,8 +148,8 @@
#define HID_PSEUDOSHEET_BACKGROUND (HID_SD_START + 97)
#define HID_PSEUDOSHEET_NOTES (HID_SD_START + 98)
-#define HID_DLG_DEFINE_CUSTOMSHOW (HID_SD_START + 99)
-#define HID_DLG_DEFINE_CUSTOMSHOW_CTL (HID_SD_START + 100)
+#define HID_DLG_DEFINE_CUSTOMSHOW (HID_SD_START + 99)
+#define HID_DLG_DEFINE_CUSTOMSHOW_CTL (HID_SD_START + 100)
#define HID_PSEUDOSHEET_SUBTITLE (HID_SD_START + 101)
@@ -165,23 +165,23 @@
#define HID_SD_HTMLEXPORT_PAGE5 (HID_SD_START + 109)
#define HID_SD_HTMLEXPORT_PAGE6 (HID_SD_START + 110)
-#define HID_SD_CHGFOIL_LAYOUT (HID_SD_START + 111)
-#define HID_SD_CHGFOIL_BACKGROUND (HID_SD_START + 112)
-#define HID_SD_CHGFOIL_OBJECTS (HID_SD_START + 113)
-#define HID_SD_CHGFOIL_NAME (HID_SD_START + 114)
+#define HID_SD_CHGFOIL_LAYOUT (HID_SD_START + 111)
+#define HID_SD_CHGFOIL_BACKGROUND (HID_SD_START + 112)
+#define HID_SD_CHGFOIL_OBJECTS (HID_SD_START + 113)
+#define HID_SD_CHGFOIL_NAME (HID_SD_START + 114)
-#define HID_SD_HTMLEXPORT_DLG_DNAME (HID_SD_START + 115)
+#define HID_SD_HTMLEXPORT_DLG_DNAME (HID_SD_START + 115)
-#define HID_FM_CTL_SELECTION (HID_SD_START + 116)
+#define HID_FM_CTL_SELECTION (HID_SD_START + 116)
-#define HID_SD_AUTOPILOT_REGION (HID_SD_START + 117)
-#define HID_SD_AUTOPILOT_TEMPLATES (HID_SD_START + 118)
-#define HID_SD_AUTOPILOT_OPEN (HID_SD_START + 119)
-#define HID_SD_AUTOPILOT_PAGETEMPLATES (HID_SD_START + 120)
+#define HID_SD_AUTOPILOT_REGION (HID_SD_START + 117)
+#define HID_SD_AUTOPILOT_TEMPLATES (HID_SD_START + 118)
+#define HID_SD_AUTOPILOT_OPEN (HID_SD_START + 119)
+#define HID_SD_AUTOPILOT_PAGETEMPLATES (HID_SD_START + 120)
-#define HID_SD_DRAW_GRAF_TOOLBOX (HID_SD_START + 121)
+#define HID_SD_DRAW_GRAF_TOOLBOX (HID_SD_START + 121)
-#define HID_SD_FW_GRAFFILTERS (HID_SD_START + 122)
+#define HID_SD_FW_GRAFFILTERS (HID_SD_START + 122)
#define HID_SD_TABBAR_PAGES (HID_SD_START + 123)
#define HID_SD_TABBAR_LAYERS (HID_SD_START + 124)
@@ -189,19 +189,19 @@
#define HID_SD_UNDODELETEWARNING_DLG (HID_SD_START + 125)
#define HID_SD_UNDODELETEWARNING_CBX (HID_SD_START + 126)
-#define HID_SD_PAGEOBJSTLB (HID_SD_START + 127)
+#define HID_SD_PAGEOBJSTLB (HID_SD_START + 127)
-#define HID_SD_NAMEDIALOG_OBJECT (HID_SD_START + 128)
-#define HID_SD_NAMEDIALOG_PAGE (HID_SD_START + 129)
-#define HID_SD_NAMEDIALOG_LINEEND (HID_SD_START + 130)
+#define HID_SD_NAMEDIALOG_OBJECT (HID_SD_START + 128)
+#define HID_SD_NAMEDIALOG_PAGE (HID_SD_START + 129)
+#define HID_SD_NAMEDIALOG_LINEEND (HID_SD_START + 130)
-#define HID_SD_DRAW_3D_TOOLBOX (HID_SD_START + 131)
-#define HID_SD_DRAW_FONTWORK_TOOLBOX (HID_SD_START + 132)
+#define HID_SD_DRAW_3D_TOOLBOX (HID_SD_START + 131)
+#define HID_SD_DRAW_FONTWORK_TOOLBOX (HID_SD_START + 132)
-#define HID_SD_TABPAGE_HEADERFOOTER_SLIDE (HID_SD_START + 133)
-#define HID_SD_TABPAGE_HEADERFOOTER_NOTESHANDOUT (HID_SD_START + 134)
+#define HID_SD_TABPAGE_HEADERFOOTER_SLIDE (HID_SD_START + 133)
+#define HID_SD_TABPAGE_HEADERFOOTER_NOTESHANDOUT (HID_SD_START + 134)
-#define HID_SD_DRAW_MEDIA_TOOLBOX (HID_SD_START + 135)
+#define HID_SD_DRAW_MEDIA_TOOLBOX (HID_SD_START + 135)
#define HID_SD_TASK_PANE (HID_SD_START + 136)
#define HID_SD_SLIDE_DESIGNS (HID_SD_START + 137)
@@ -250,34 +250,34 @@
#define HID_SD_TASK_PANE_PREVIEW_ALL (HID_SD_START + 176)
#define HID_SD_TASK_PANE_PREVIEW_LAYOUTS (HID_SD_START + 177)
-#define HID_SD_CUSTOMANIMATIONDIALOG_ENTRANCE (HID_SD_START + 178)
-#define HID_SD_CUSTOMANIMATIONDIALOG_EMPHASIS (HID_SD_START + 179)
-#define HID_SD_CUSTOMANIMATIONDIALOG_EXIT (HID_SD_START + 180)
-#define HID_SD_CUSTOMANIMATIONDIALOG_MOTIONPATH (HID_SD_START + 181)
-#define HID_SD_CUSTOMANIMATIONDIALOG_MISCEFFECTS (HID_SD_START + 182)
-
-#define HID_SD_CUSTOMANIMATIONPANE_PRESETPROPERTYBOX (HID_SD_START + 183)
-#define HID_SD_CUSTOMANIMATIONPANE_COLORPROPERTYBOX (HID_SD_START + 184)
-#define HID_SD_CUSTOMANIMATIONPANE_FONTPROPERTYBOX (HID_SD_START + 185)
-#define HID_SD_CUSTOMANIMATIONPANE_CHARHEIGHTPROPERTYBOX (HID_SD_START + 186)
-#define HID_SD_CUSTOMANIMATIONPANE_ROTATIONPROPERTYBOX (HID_SD_START + 187)
-#define HID_SD_CUSTOMANIMATIONPANE_TRANSPARENCYPROPERTYBOX (HID_SD_START + 188)
-#define HID_SD_CUSTOMANIMATIONPANE_SCALEPROPERTYBOX (HID_SD_START + 189)
-#define HID_SD_CUSTOMANIMATIONPANE_FONTSTYLEPROPERTYBOX (HID_SD_START + 190)
-
-#define HID_SD_SLIDESHOW_DISPLAY (HID_SD_START + 191)
-
-#define HID_SD_RULER_HORIZONTAL (HID_SD_START + 192)
-#define HID_SD_RULER_VERTICAL (HID_SD_START + 193)
-
-#define HID_SD_CELL_STYLE_DEFAULT (HID_SD_START + 194)
-#define HID_SD_CELL_STYLE_BANDED (HID_SD_START + 195)
-#define HID_SD_CELL_STYLE_HEADER (HID_SD_START + 196)
-#define HID_SD_CELL_STYLE_TOTAL (HID_SD_START + 197)
-#define HID_SD_CELL_STYLE_FIRST_COLUMN (HID_SD_START + 198)
-#define HID_SD_CELL_STYLE_LAST_COLUMN (HID_SD_START + 199)
-
-#define HID_SD_TABLE_DESIGN (HID_SD_START + 200)
-#define HID_SD_ANNOTATIONS (HID_SD_START + 201)
+#define HID_SD_CUSTOMANIMATIONDIALOG_ENTRANCE (HID_SD_START + 178)
+#define HID_SD_CUSTOMANIMATIONDIALOG_EMPHASIS (HID_SD_START + 179)
+#define HID_SD_CUSTOMANIMATIONDIALOG_EXIT (HID_SD_START + 180)
+#define HID_SD_CUSTOMANIMATIONDIALOG_MOTIONPATH (HID_SD_START + 181)
+#define HID_SD_CUSTOMANIMATIONDIALOG_MISCEFFECTS (HID_SD_START + 182)
+
+#define HID_SD_CUSTOMANIMATIONPANE_PRESETPROPERTYBOX (HID_SD_START + 183)
+#define HID_SD_CUSTOMANIMATIONPANE_COLORPROPERTYBOX (HID_SD_START + 184)
+#define HID_SD_CUSTOMANIMATIONPANE_FONTPROPERTYBOX (HID_SD_START + 185)
+#define HID_SD_CUSTOMANIMATIONPANE_CHARHEIGHTPROPERTYBOX (HID_SD_START + 186)
+#define HID_SD_CUSTOMANIMATIONPANE_ROTATIONPROPERTYBOX (HID_SD_START + 187)
+#define HID_SD_CUSTOMANIMATIONPANE_TRANSPARENCYPROPERTYBOX (HID_SD_START + 188)
+#define HID_SD_CUSTOMANIMATIONPANE_SCALEPROPERTYBOX (HID_SD_START + 189)
+#define HID_SD_CUSTOMANIMATIONPANE_FONTSTYLEPROPERTYBOX (HID_SD_START + 190)
+
+#define HID_SD_SLIDESHOW_DISPLAY (HID_SD_START + 191)
+
+#define HID_SD_RULER_HORIZONTAL (HID_SD_START + 192)
+#define HID_SD_RULER_VERTICAL (HID_SD_START + 193)
+
+#define HID_SD_CELL_STYLE_DEFAULT (HID_SD_START + 194)
+#define HID_SD_CELL_STYLE_BANDED (HID_SD_START + 195)
+#define HID_SD_CELL_STYLE_HEADER (HID_SD_START + 196)
+#define HID_SD_CELL_STYLE_TOTAL (HID_SD_START + 197)
+#define HID_SD_CELL_STYLE_FIRST_COLUMN (HID_SD_START + 198)
+#define HID_SD_CELL_STYLE_LAST_COLUMN (HID_SD_START + 199)
+
+#define HID_SD_TABLE_DESIGN (HID_SD_START + 200)
+#define HID_SD_ANNOTATIONS (HID_SD_START + 201)
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/sd/inc/imapinfo.hxx b/sd/inc/imapinfo.hxx
index c50740cd04e2..65473c4bfa3d 100644
--- a/sd/inc/imapinfo.hxx
+++ b/sd/inc/imapinfo.hxx
@@ -2,7 +2,7 @@
/*************************************************************************
*
* 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
@@ -44,7 +44,7 @@
class SdIMapInfo : public SdrObjUserData, public SfxListener
{
- ImageMap aImageMap;
+ ImageMap aImageMap;
public:
SdIMapInfo() :
@@ -59,15 +59,15 @@ public:
SfxListener(),
aImageMap( rIMapInfo.aImageMap ) {};
- virtual ~SdIMapInfo() {};
+ virtual ~SdIMapInfo() {};
virtual SdrObjUserData* Clone( SdrObject* ) const { return new SdIMapInfo( *this ); }
- void SetImageMap( const ImageMap& rIMap ) { aImageMap = rIMap; }
+ void SetImageMap( const ImageMap& rIMap ) { aImageMap = rIMap; }
const ImageMap& GetImageMap() const { return aImageMap; }
};
-#endif // _SD_IMAPINFO_HXX
+#endif // _SD_IMAPINFO_HXX
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/sd/inc/misc.hxx b/sd/inc/misc.hxx
index 476a79dd1ef6..ff6a9d722dad 100644
--- a/sd/inc/misc.hxx
+++ b/sd/inc/misc.hxx
@@ -2,7 +2,7 @@
/*************************************************************************
*
* 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
diff --git a/sd/inc/misc/scopelock.hxx b/sd/inc/misc/scopelock.hxx
index a0bef3a1004f..81ef0dea7ec9 100644
--- a/sd/inc/misc/scopelock.hxx
+++ b/sd/inc/misc/scopelock.hxx
@@ -2,7 +2,7 @@
/*************************************************************************
*
* 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
@@ -42,7 +42,7 @@ private:
void lock() { mnLock++; }
void unlock() { mnLock--; }
- sal_Int32 mnLock;
+ sal_Int32 mnLock;
};
class ScopeLockGuard
@@ -56,6 +56,6 @@ private:
} // namespace sd
-#endif // _SD_UNDOMANAGER_HXX
+#endif // _SD_UNDOMANAGER_HXX
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/sd/inc/movedef.hxx b/sd/inc/movedef.hxx
index b9ee484363f7..2cdb6549cb14 100644
--- a/sd/inc/movedef.hxx
+++ b/sd/inc/movedef.hxx
@@ -2,7 +2,7 @@
/*************************************************************************
*
* 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
@@ -39,6 +39,6 @@ enum MoveSpeed
// muss angepasst werden!
#define MOVE_SPEED_COUNT 3
-#endif // _SD_MOVEDEF_HXX
+#endif // _SD_MOVEDEF_HXX
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/sd/inc/pch/precompiled_sd.cxx b/sd/inc/pch/precompiled_sd.cxx
index 4251e9bbd7c5..43c69b04a8f4 100644
--- a/sd/inc/pch/precompiled_sd.cxx
+++ b/sd/inc/pch/precompiled_sd.cxx
@@ -2,7 +2,7 @@
/*************************************************************************
*
* 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
diff --git a/sd/inc/pch/precompiled_sd.hxx b/sd/inc/pch/precompiled_sd.hxx
index 700f1ba965c3..0c897bb2d813 100644
--- a/sd/inc/pch/precompiled_sd.hxx
+++ b/sd/inc/pch/precompiled_sd.hxx
@@ -2,7 +2,7 @@
/************************************************************************cherex
*
* 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
diff --git a/sd/inc/pglink.hxx b/sd/inc/pglink.hxx
index 359bd302622d..9f22e3ad085e 100644
--- a/sd/inc/pglink.hxx
+++ b/sd/inc/pglink.hxx
@@ -2,7 +2,7 @@
/*************************************************************************
*
* 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
@@ -57,7 +57,7 @@ class SdPageLink;
#endif
-#endif // _PGLINK_HXX
+#endif // _PGLINK_HXX
diff --git a/sd/inc/pres.hxx b/sd/inc/pres.hxx
index fc181482a881..0b1371601714 100644
--- a/sd/inc/pres.hxx
+++ b/sd/inc/pres.hxx
@@ -2,7 +2,7 @@
/*************************************************************************
*
* 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
@@ -49,7 +49,7 @@ enum PresObjKind
PRESOBJ_SLIDENUMBER,
PRESOBJ_CALC,
PRESOBJ_MEDIA,
-
+
PRESOBJ_MAX
};
@@ -57,22 +57,22 @@ enum AutoLayout
{
// new layouts with enum/text/chart/org/clip merged to content
AUTOLAYOUT__START = 0,
- AUTOLAYOUT_TITLE = 0, // Title Slide
- AUTOLAYOUT_TITLE_CONTENT = 1, // Title, Content
- AUTOLAYOUT_TITLE_2CONTENT = 3, // Title and 2 Content
- AUTOLAYOUT_TITLE_ONLY = 19, // Title Only
- AUTOLAYOUT_NONE = 20, // Blank Slide
- AUTOLAYOUT_ONLY_TEXT = 32, // Centered Text
- AUTOLAYOUT_TITLE_CONTENT_2CONTENT = 12, // Title, Content and 2 Content
- AUTOLAYOUT_TITLE_2CONTENT_CONTENT = 15, // Title, 2 Content and Content
+ AUTOLAYOUT_TITLE = 0, // Title Slide
+ AUTOLAYOUT_TITLE_CONTENT = 1, // Title, Content
+ AUTOLAYOUT_TITLE_2CONTENT = 3, // Title and 2 Content
+ AUTOLAYOUT_TITLE_ONLY = 19, // Title Only
+ AUTOLAYOUT_NONE = 20, // Blank Slide
+ AUTOLAYOUT_ONLY_TEXT = 32, // Centered Text
+ AUTOLAYOUT_TITLE_CONTENT_2CONTENT = 12, // Title, Content and 2 Content
+ AUTOLAYOUT_TITLE_2CONTENT_CONTENT = 15, // Title, 2 Content and Content
AUTOLAYOUT_TITLE_2CONTENT_OVER_CONTENT = 16,// Title, 2 Content over Content
- AUTOLAYOUT_TITLE_CONTENT_OVER_CONTENT = 14, // Title, Content over Content
- AUTOLAYOUT_TITLE_4CONTENT = 18, // Title, 4 Content
- AUTOLAYOUT_TITLE_6CONTENT = 34, // Title, 6 Content
+ AUTOLAYOUT_TITLE_CONTENT_OVER_CONTENT = 14, // Title, Content over Content
+ AUTOLAYOUT_TITLE_4CONTENT = 18, // Title, 4 Content
+ AUTOLAYOUT_TITLE_6CONTENT = 34, // Title, 6 Content
AUTOLAYOUT_VTITLE_VCONTENT_OVER_VCONTENT = 27, // Vertical Title, Vertical Content over Vertical Content
- AUTOLAYOUT_VTITLE_VCONTENT = 28, // Vertical Title, Vertical Content over Vertical Content
- AUTOLAYOUT_TITLE_VCONTENT = 29, // Title, Vertical Content
- AUTOLAYOUT_TITLE_2VTEXT = 30, // Title, 2 Vertical Content
+ AUTOLAYOUT_VTITLE_VCONTENT = 28, // Vertical Title, Vertical Content over Vertical Content
+ AUTOLAYOUT_TITLE_VCONTENT = 29, // Title, Vertical Content
+ AUTOLAYOUT_TITLE_2VTEXT = 30, // Title, 2 Vertical Content
// deprecated
AUTOLAYOUT_ENUM = 1,
@@ -138,6 +138,6 @@ enum NavigatorDragType
};
#define NAVIGATOR_DRAGTYPE_COUNT 4
-#endif // _PRESENTATION_HXX
+#endif // _PRESENTATION_HXX
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/sd/inc/prlayout.hxx b/sd/inc/prlayout.hxx
index be02ec67e3c3..cd2f712978a7 100644
--- a/sd/inc/prlayout.hxx
+++ b/sd/inc/prlayout.hxx
@@ -2,7 +2,7 @@
/*************************************************************************
*
* 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
diff --git a/sd/inc/resltn.hxx b/sd/inc/resltn.hxx
index 27645db0ca48..dcca7feffe36 100644
--- a/sd/inc/resltn.hxx
+++ b/sd/inc/resltn.hxx
@@ -2,7 +2,7 @@
/*************************************************************************
*
* 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
diff --git a/sd/inc/sd_primitivetypes2d.hxx b/sd/inc/sd_primitivetypes2d.hxx
index bf2667e7de7a..519b9e78bcf0 100644
--- a/sd/inc/sd_primitivetypes2d.hxx
+++ b/sd/inc/sd_primitivetypes2d.hxx
@@ -2,7 +2,7 @@
/*************************************************************************
*
* 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
@@ -33,10 +33,10 @@
//////////////////////////////////////////////////////////////////////////////
-#define PRIMITIVE2D_ID_SDPAGEOBJECTFOCUSPRIMITIVE (PRIMITIVE2D_ID_RANGE_SD| 0)
-#define PRIMITIVE2D_ID_SDPAGEOBJECTSELECTPRIMITIVE (PRIMITIVE2D_ID_RANGE_SD| 1)
-#define PRIMITIVE2D_ID_SDPAGEOBJECTPAGEBITMAPPRIMITIVE (PRIMITIVE2D_ID_RANGE_SD| 2)
-#define PRIMITIVE2D_ID_SDPAGEOBJECTBORDERPRIMITIVE (PRIMITIVE2D_ID_RANGE_SD| 3)
+#define PRIMITIVE2D_ID_SDPAGEOBJECTFOCUSPRIMITIVE (PRIMITIVE2D_ID_RANGE_SD| 0)
+#define PRIMITIVE2D_ID_SDPAGEOBJECTSELECTPRIMITIVE (PRIMITIVE2D_ID_RANGE_SD| 1)
+#define PRIMITIVE2D_ID_SDPAGEOBJECTPAGEBITMAPPRIMITIVE (PRIMITIVE2D_ID_RANGE_SD| 2)
+#define PRIMITIVE2D_ID_SDPAGEOBJECTBORDERPRIMITIVE (PRIMITIVE2D_ID_RANGE_SD| 3)
#define PRIMITIVE2D_ID_SDPAGEOBJECTFADENAMENUMBERPRIMITIVE (PRIMITIVE2D_ID_RANGE_SD| 4)
#define PRIMITIVE2D_ID_SDMOUSEOVEREFFECTPRIMITIVE (PRIMITIVE2D_ID_RANGE_SD| 5)
diff --git a/sd/inc/sdabstdlg.hxx b/sd/inc/sdabstdlg.hxx
index 936f0d11dc30..8d75a56001c8 100644
--- a/sd/inc/sdabstdlg.hxx
+++ b/sd/inc/sdabstdlg.hxx
@@ -2,7 +2,7 @@
/*************************************************************************
*
* 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
@@ -75,14 +75,14 @@ class ViewShell;
class AbstractCopyDlg : public VclAbstractDialog //add for CopyDlg
{
public:
- virtual void GetAttr( SfxItemSet& rOutAttrs ) = 0;
+ virtual void GetAttr( SfxItemSet& rOutAttrs ) = 0;
};
class AbstractSdCustomShowDlg : public VclAbstractDialog //add for SdCustomShowDlg
{
public:
- virtual BOOL IsModified() const = 0;
- virtual BOOL IsCustomShow() const = 0;
+ virtual BOOL IsModified() const = 0;
+ virtual BOOL IsCustomShow() const = 0;
};
class AbstractAssistentDlg : public VclAbstractDialog //add for AssistentDlg
@@ -101,8 +101,8 @@ public:
class AbstractSdModifyFieldDlg : public VclAbstractDialog //add for SdModifyFieldDlg
{
public:
- virtual SvxFieldData* GetField() = 0;
- virtual SfxItemSet GetItemSet() = 0;
+ virtual SvxFieldData* GetField() = 0;
+ virtual SfxItemSet GetItemSet() = 0;
};
class AbstractSdSnapLineDlg : public VclAbstractDialog //add for SdSnapLineDlg
@@ -119,7 +119,7 @@ public:
class AbstractSdInsertLayerDlg : public VclAbstractDialog //add for SdInsertLayerDlg
{
public:
- virtual void GetAttr( SfxItemSet& rOutAttrs ) = 0;
+ virtual void GetAttr( SfxItemSet& rOutAttrs ) = 0;
//from class ::Window
virtual void SetHelpId( ULONG nHelpId ) = 0;
};
@@ -127,43 +127,43 @@ public:
class AbstractSdInsertPasteDlg : public VclAbstractDialog //add for SdInsertPasteDlg
{
public:
- virtual BOOL IsInsertBefore() const = 0;
+ virtual BOOL IsInsertBefore() const = 0;
};
class AbstractSdInsertPagesObjsDlg : public VclAbstractDialog //add for SdInsertPagesObjsDlg
{
public:
- virtual ::Window* GetWindow() = 0; //this method is added for return a ::Window type pointer
- virtual List* GetList( USHORT nType ) = 0;
- virtual BOOL IsLink() = 0;
- virtual BOOL IsRemoveUnnessesaryMasterPages() const = 0;
+ virtual ::Window* GetWindow() = 0; //this method is added for return a ::Window type pointer
+ virtual List* GetList( USHORT nType ) = 0;
+ virtual BOOL IsLink() = 0;
+ virtual BOOL IsRemoveUnnessesaryMasterPages() const = 0;
};
class AbstractMorphDlg : public VclAbstractDialog //add for MorphDlg
{
public:
- virtual void SaveSettings() const = 0;
- virtual USHORT GetFadeSteps() const = 0;
- virtual BOOL IsAttributeFade() const = 0;
- virtual BOOL IsOrientationFade() const = 0;
+ virtual void SaveSettings() const = 0;
+ virtual USHORT GetFadeSteps() const = 0;
+ virtual BOOL IsAttributeFade() const = 0;
+ virtual BOOL IsOrientationFade() const = 0;
};
class AbstractSdStartPresDlg : public VclAbstractDialog //add for SdStartPresentationDlg
{
public:
- virtual void GetAttr( SfxItemSet& rOutAttrs ) = 0;
+ virtual void GetAttr( SfxItemSet& rOutAttrs ) = 0;
};
class AbstractSdPresLayoutDlg : public VclAbstractDialog //add for SdPresLayoutDlg
{
public:
- virtual void GetAttr(SfxItemSet& rOutAttrs) = 0;
+ virtual void GetAttr(SfxItemSet& rOutAttrs) = 0;
};
class AbstractSdVectorizeDlg : public VclAbstractDialog //add for SdVectorizeDlg
{
public:
- virtual const GDIMetaFile& GetGDIMetaFile() const = 0;
+ virtual const GDIMetaFile& GetGDIMetaFile() const = 0;
};
class AbstractSdPublishingDlg : public VclAbstractDialog //add for SdPublishingDlg
@@ -181,46 +181,46 @@ public:
};
//---------------------------------------------------------
-class SdAbstractDialogFactory
+class SdAbstractDialogFactory
{
public:
- static SdAbstractDialogFactory* Create();
-
- virtual VclAbstractDialog* CreateBreakDlg(::Window* pWindow, ::sd::DrawView* pDrView, ::sd::DrawDocShell* pShell, ULONG nSumActionCount, ULONG nObjCount ) = 0;
- virtual AbstractCopyDlg* CreateCopyDlg( ::Window* pWindow, const SfxItemSet& rInAttrs, XColorTable* pColTab, ::sd::View* pView ) = 0;
- virtual AbstractSdCustomShowDlg* CreateSdCustomShowDlg( ::Window* pWindow, SdDrawDocument& rDrawDoc ) = 0;
- virtual SfxAbstractTabDialog* CreateSdTabCharDialog( ::Window* pParent, const SfxItemSet* pAttr, SfxObjectShell* pDocShell ) = 0;
- virtual SfxAbstractTabDialog* CreateSdTabPageDialog( ::Window* pParent, const SfxItemSet* pAttr, SfxObjectShell* pDocShell, BOOL bAreaPage = TRUE ) = 0;
- virtual AbstractAssistentDlg* CreateAssistentDlg( ::Window* pParent, BOOL bAutoPilot) = 0;
- virtual AbstractSdModifyFieldDlg* CreateSdModifyFieldDlg( ::Window* pWindow, const SvxFieldData* pInField, const SfxItemSet& rSet ) = 0;
- virtual AbstractSdSnapLineDlg* CreateSdSnapLineDlg( ::Window* pWindow, const SfxItemSet& rInAttrs, ::sd::View* pView) = 0;
- virtual AbstractSdInsertLayerDlg* CreateSdInsertLayerDlg( ::Window* pWindow, const SfxItemSet& rInAttrs, bool bDeletable, String aStr ) = 0;
- virtual AbstractSdInsertPasteDlg* CreateSdInsertPasteDlg( ::Window* pWindow ) = 0;
+ static SdAbstractDialogFactory* Create();
+
+ virtual VclAbstractDialog* CreateBreakDlg(::Window* pWindow, ::sd::DrawView* pDrView, ::sd::DrawDocShell* pShell, ULONG nSumActionCount, ULONG nObjCount ) = 0;
+ virtual AbstractCopyDlg* CreateCopyDlg( ::Window* pWindow, const SfxItemSet& rInAttrs, XColorTable* pColTab, ::sd::View* pView ) = 0;
+ virtual AbstractSdCustomShowDlg* CreateSdCustomShowDlg( ::Window* pWindow, SdDrawDocument& rDrawDoc ) = 0;
+ virtual SfxAbstractTabDialog* CreateSdTabCharDialog( ::Window* pParent, const SfxItemSet* pAttr, SfxObjectShell* pDocShell ) = 0;
+ virtual SfxAbstractTabDialog* CreateSdTabPageDialog( ::Window* pParent, const SfxItemSet* pAttr, SfxObjectShell* pDocShell, BOOL bAreaPage = TRUE ) = 0;
+ virtual AbstractAssistentDlg* CreateAssistentDlg( ::Window* pParent, BOOL bAutoPilot) = 0;
+ virtual AbstractSdModifyFieldDlg* CreateSdModifyFieldDlg( ::Window* pWindow, const SvxFieldData* pInField, const SfxItemSet& rSet ) = 0;
+ virtual AbstractSdSnapLineDlg* CreateSdSnapLineDlg( ::Window* pWindow, const SfxItemSet& rInAttrs, ::sd::View* pView) = 0;
+ virtual AbstractSdInsertLayerDlg* CreateSdInsertLayerDlg( ::Window* pWindow, const SfxItemSet& rInAttrs, bool bDeletable, String aStr ) = 0;
+ virtual AbstractSdInsertPasteDlg* CreateSdInsertPasteDlg( ::Window* pWindow ) = 0;
virtual AbstractSdInsertPagesObjsDlg* CreateSdInsertPagesObjsDlg( ::Window* pParent, const SdDrawDocument* pDoc, SfxMedium* pSfxMedium, const String& rFileName ) = 0;
- virtual AbstractMorphDlg* CreateMorphDlg( ::Window* pParent, const SdrObject* pObj1, const SdrObject* pObj2) = 0;
- virtual SfxAbstractTabDialog* CreateSdOutlineBulletTabDlg ( ::Window* pParent, const SfxItemSet* pAttr, ::sd::View* pView = NULL ) = 0;
- virtual SfxAbstractTabDialog* CreateSdParagraphTabDlg ( ::Window* pParent, const SfxItemSet* pAttr ) = 0;
- virtual AbstractSdStartPresDlg* CreateSdStartPresentationDlg( ::Window* pWindow, const SfxItemSet& rInAttrs, List& rPageNames, List* pCSList ) = 0;
- virtual SfxAbstractTabDialog* CreateSdPresLayoutTemplateDlg( SfxObjectShell* pDocSh, ::Window* pParent, SdResId DlgId, SfxStyleSheetBase& rStyleBase, PresentationObjects ePO, SfxStyleSheetBasePool* pSSPool ) = 0;
- virtual AbstractSdPresLayoutDlg* CreateSdPresLayoutDlg( ::sd::DrawDocShell* pDocShell, ::sd::ViewShell* pViewShell, ::Window* pWindow, const SfxItemSet& rInAttrs) = 0;
- virtual SfxAbstractTabDialog* CreateSdTabTemplateDlg( ::Window* pParent, const SfxObjectShell* pDocShell, SfxStyleSheetBase& rStyleBase, SdrModel* pModel, SdrView* pView ) = 0;
- virtual SfxAbstractDialog* CreatSdActionDialog( ::Window* pParent, const SfxItemSet* pAttr, ::sd::View* pView ) = 0;
- virtual AbstractSdVectorizeDlg* CreateSdVectorizeDlg( ::Window* pParent, const Bitmap& rBmp, ::sd::DrawDocShell* pDocShell ) = 0;
- virtual AbstractSdPublishingDlg* CreateSdPublishingDlg( ::Window* pWindow, DocumentType eDocType) = 0;
-
- virtual VclAbstractDialog* CreateMasterLayoutDialog( ::Window* pParent,
+ virtual AbstractMorphDlg* CreateMorphDlg( ::Window* pParent, const SdrObject* pObj1, const SdrObject* pObj2) = 0;
+ virtual SfxAbstractTabDialog* CreateSdOutlineBulletTabDlg ( ::Window* pParent, const SfxItemSet* pAttr, ::sd::View* pView = NULL ) = 0;
+ virtual SfxAbstractTabDialog* CreateSdParagraphTabDlg ( ::Window* pParent, const SfxItemSet* pAttr ) = 0;
+ virtual AbstractSdStartPresDlg* CreateSdStartPresentationDlg( ::Window* pWindow, const SfxItemSet& rInAttrs, List& rPageNames, List* pCSList ) = 0;
+ virtual SfxAbstractTabDialog* CreateSdPresLayoutTemplateDlg( SfxObjectShell* pDocSh, ::Window* pParent, SdResId DlgId, SfxStyleSheetBase& rStyleBase, PresentationObjects ePO, SfxStyleSheetBasePool* pSSPool ) = 0;
+ virtual AbstractSdPresLayoutDlg* CreateSdPresLayoutDlg( ::sd::DrawDocShell* pDocShell, ::sd::ViewShell* pViewShell, ::Window* pWindow, const SfxItemSet& rInAttrs) = 0;
+ virtual SfxAbstractTabDialog* CreateSdTabTemplateDlg( ::Window* pParent, const SfxObjectShell* pDocShell, SfxStyleSheetBase& rStyleBase, SdrModel* pModel, SdrView* pView ) = 0;
+ virtual SfxAbstractDialog* CreatSdActionDialog( ::Window* pParent, const SfxItemSet* pAttr, ::sd::View* pView ) = 0;
+ virtual AbstractSdVectorizeDlg* CreateSdVectorizeDlg( ::Window* pParent, const Bitmap& rBmp, ::sd::DrawDocShell* pDocShell ) = 0;
+ virtual AbstractSdPublishingDlg* CreateSdPublishingDlg( ::Window* pWindow, DocumentType eDocType) = 0;
+
+ virtual VclAbstractDialog* CreateMasterLayoutDialog( ::Window* pParent,
SdDrawDocument* pDoc,
SdPage* ) = 0; // add for MasterLayoutDialog
- virtual AbstractHeaderFooterDialog* CreateHeaderFooterDialog( ViewShell* pViewShell,
- ::Window* pParent,
- SdDrawDocument* pDoc,
+ virtual AbstractHeaderFooterDialog* CreateHeaderFooterDialog( ViewShell* pViewShell,
+ ::Window* pParent,
+ SdDrawDocument* pDoc,
SdPage* pCurrentPage ) = 0; // add for HeaderFooterDialog
- virtual CreateTabPage GetSdOptionsContentsTabPageCreatorFunc() = 0;
- virtual CreateTabPage GetSdPrintOptionsTabPageCreatorFunc() = 0;
- virtual CreateTabPage GetSdOptionsMiscTabPageCreatorFunc() = 0;
- virtual CreateTabPage GetSdOptionsSnapTabPageCreatorFunc() = 0;
+ virtual CreateTabPage GetSdOptionsContentsTabPageCreatorFunc() = 0;
+ virtual CreateTabPage GetSdPrintOptionsTabPageCreatorFunc() = 0;
+ virtual CreateTabPage GetSdOptionsMiscTabPageCreatorFunc() = 0;
+ virtual CreateTabPage GetSdOptionsSnapTabPageCreatorFunc() = 0;
};
#endif
diff --git a/sd/inc/sdattr.hrc b/sd/inc/sdattr.hrc
index 29ef8f128248..e3791ab03c56 100644
--- a/sd/inc/sdattr.hrc
+++ b/sd/inc/sdattr.hrc
@@ -1,7 +1,7 @@
/*************************************************************************
*
* 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
@@ -33,33 +33,33 @@
#endif
// Anfang Page-Attribute
-#define ATTR_PAGE_START SID_SD_START + 1234
-#define ATTR_PAGE_NAME ATTR_PAGE_START
-#define ATTR_PAGE_BACKGROUND ATTR_PAGE_START + 1
-#define ATTR_PAGE_OBJECTS ATTR_PAGE_START + 2
-#define ATTR_PAGE_LAYOUT ATTR_PAGE_START + 3
-#define ATTR_PAGE_END ATTR_PAGE_LAYOUT
+#define ATTR_PAGE_START SID_SD_START + 1234
+#define ATTR_PAGE_NAME ATTR_PAGE_START
+#define ATTR_PAGE_BACKGROUND ATTR_PAGE_START + 1
+#define ATTR_PAGE_OBJECTS ATTR_PAGE_START + 2
+#define ATTR_PAGE_LAYOUT ATTR_PAGE_START + 3
+#define ATTR_PAGE_END ATTR_PAGE_LAYOUT
// Layer-Attribute
-#define ATTR_LAYER_START ATTR_PAGE_END + 1
-#define ATTR_LAYER_NAME ATTR_LAYER_START
-#define ATTR_LAYER_VISIBLE ATTR_LAYER_START + 1
-#define ATTR_LAYER_PRINTABLE ATTR_LAYER_START + 2
-#define ATTR_LAYER_LOCKED ATTR_LAYER_START + 3
-#define ATTR_LAYER_THISPAGE ATTR_LAYER_START + 4
-#define ATTR_LAYER_TITLE ATTR_LAYER_START + 5
-#define ATTR_LAYER_DESC ATTR_LAYER_START + 6
-#define ATTR_LAYER_END ATTR_LAYER_DESC
+#define ATTR_LAYER_START ATTR_PAGE_END + 1
+#define ATTR_LAYER_NAME ATTR_LAYER_START
+#define ATTR_LAYER_VISIBLE ATTR_LAYER_START + 1
+#define ATTR_LAYER_PRINTABLE ATTR_LAYER_START + 2
+#define ATTR_LAYER_LOCKED ATTR_LAYER_START + 3
+#define ATTR_LAYER_THISPAGE ATTR_LAYER_START + 4
+#define ATTR_LAYER_TITLE ATTR_LAYER_START + 5
+#define ATTR_LAYER_DESC ATTR_LAYER_START + 6
+#define ATTR_LAYER_END ATTR_LAYER_DESC
// Anfang Dia-Attribute
-#define ATTR_DIA_START ATTR_LAYER_END + 1
-#define ATTR_DIA_EFFECT ATTR_DIA_START
-#define ATTR_DIA_SPEED ATTR_DIA_START + 1
-#define ATTR_DIA_AUTO ATTR_DIA_START + 2
-#define ATTR_DIA_TIME ATTR_DIA_START + 3
-#define ATTR_DIA_SOUND ATTR_DIA_START + 4
-#define ATTR_DIA_SOUNDFILE ATTR_DIA_START + 5
-#define ATTR_DIA_END ATTR_DIA_SOUNDFILE
+#define ATTR_DIA_START ATTR_LAYER_END + 1
+#define ATTR_DIA_EFFECT ATTR_DIA_START
+#define ATTR_DIA_SPEED ATTR_DIA_START + 1
+#define ATTR_DIA_AUTO ATTR_DIA_START + 2
+#define ATTR_DIA_TIME ATTR_DIA_START + 3
+#define ATTR_DIA_SOUND ATTR_DIA_START + 4
+#define ATTR_DIA_SOUNDFILE ATTR_DIA_START + 5
+#define ATTR_DIA_END ATTR_DIA_SOUNDFILE
// Praesentations-Attribute
#define ATTR_PRESENT_START ATTR_DIA_END + 1
@@ -76,170 +76,170 @@
#define ATTR_PRESENT_FULLSCREEN ATTR_PRESENT_START + 10
#define ATTR_PRESENT_START_ACTUAL_PAGE ATTR_PRESENT_START + 11
#define ATTR_PRESENT_ANIMATION_ALLOWED ATTR_PRESENT_START + 12
-#define ATTR_PRESENT_PAUSE_TIMEOUT ATTR_PRESENT_START + 13
-#define ATTR_PRESENT_SHOW_PAUSELOGO ATTR_PRESENT_START + 14
-#define ATTR_PRESENT_DISPLAY ATTR_PRESENT_START + 15
+#define ATTR_PRESENT_PAUSE_TIMEOUT ATTR_PRESENT_START + 13
+#define ATTR_PRESENT_SHOW_PAUSELOGO ATTR_PRESENT_START + 14
+#define ATTR_PRESENT_DISPLAY ATTR_PRESENT_START + 15
#define ATTR_PRESENT_END ATTR_PRESENT_DISPLAY
// Transformations-Attribute
-#define ATTR_TRANSF_START ATTR_PRESENT_END + 1
-#define ATTR_TRANSF_POS_X ATTR_TRANSF_START
-#define ATTR_TRANSF_POS_Y ATTR_TRANSF_START + 1
-#define ATTR_TRANSF_WIDTH ATTR_TRANSF_START + 2
-#define ATTR_TRANSF_HEIGHT ATTR_TRANSF_START + 3
-#define ATTR_TRANSF_SIZE_POINT ATTR_TRANSF_START + 4
-#define ATTR_TRANSF_ROT_X ATTR_TRANSF_START + 5
-#define ATTR_TRANSF_ROT_Y ATTR_TRANSF_START + 6
-#define ATTR_TRANSF_ANGLE ATTR_TRANSF_START + 7
-#define ATTR_TRANSF_END ATTR_TRANSF_ANGLE
+#define ATTR_TRANSF_START ATTR_PRESENT_END + 1
+#define ATTR_TRANSF_POS_X ATTR_TRANSF_START
+#define ATTR_TRANSF_POS_Y ATTR_TRANSF_START + 1
+#define ATTR_TRANSF_WIDTH ATTR_TRANSF_START + 2
+#define ATTR_TRANSF_HEIGHT ATTR_TRANSF_START + 3
+#define ATTR_TRANSF_SIZE_POINT ATTR_TRANSF_START + 4
+#define ATTR_TRANSF_ROT_X ATTR_TRANSF_START + 5
+#define ATTR_TRANSF_ROT_Y ATTR_TRANSF_START + 6
+#define ATTR_TRANSF_ANGLE ATTR_TRANSF_START + 7
+#define ATTR_TRANSF_END ATTR_TRANSF_ANGLE
// Raster-Attribute
-#define ATTR_GRID_START ATTR_TRANSF_END + 1
-#define ATTR_GRID_USE ATTR_GRID_START
-#define ATTR_GRID_DRAW_X ATTR_GRID_START + 1
-#define ATTR_GRID_DRAW_Y ATTR_GRID_START + 2
-#define ATTR_GRID_DIVISION_X ATTR_GRID_START + 3
-#define ATTR_GRID_DIVISION_Y ATTR_GRID_START + 4
-#define ATTR_GRID_SNAP_X ATTR_GRID_START + 5
-#define ATTR_GRID_SNAP_Y ATTR_GRID_START + 6
-#define ATTR_GRID_ORIGIN_X ATTR_GRID_START + 7
-#define ATTR_GRID_ORIGIN_Y ATTR_GRID_START + 8
-#define ATTR_GRID_END ATTR_GRID_ORIGIN_Y
+#define ATTR_GRID_START ATTR_TRANSF_END + 1
+#define ATTR_GRID_USE ATTR_GRID_START
+#define ATTR_GRID_DRAW_X ATTR_GRID_START + 1
+#define ATTR_GRID_DRAW_Y ATTR_GRID_START + 2
+#define ATTR_GRID_DIVISION_X ATTR_GRID_START + 3
+#define ATTR_GRID_DIVISION_Y ATTR_GRID_START + 4
+#define ATTR_GRID_SNAP_X ATTR_GRID_START + 5
+#define ATTR_GRID_SNAP_Y ATTR_GRID_START + 6
+#define ATTR_GRID_ORIGIN_X ATTR_GRID_START + 7
+#define ATTR_GRID_ORIGIN_Y ATTR_GRID_START + 8
+#define ATTR_GRID_END ATTR_GRID_ORIGIN_Y
// Bildschirm-Attribute
-#define ATTR_DISPLAY_START ATTR_GRID_END + 1
-#define ATTR_DISPLAY_FUNCTIONBAR ATTR_DISPLAY_START
-#define ATTR_DISPLAY_OBJECTBAR ATTR_DISPLAY_START + 1
-#define ATTR_DISPLAY_STATUSBAR ATTR_DISPLAY_START + 2
-#define ATTR_DISPLAY_TOOLBAR ATTR_DISPLAY_START + 3
-#define ATTR_DISPLAY_GRID ATTR_DISPLAY_START + 4
-#define ATTR_DISPLAY_RULER ATTR_DISPLAY_START + 5
-#define ATTR_DISPLAY_HELPLINES ATTR_DISPLAY_START + 6
-#define ATTR_DISPLAY_STRANGE_GRAPHIC ATTR_DISPLAY_START + 7
-#define ATTR_DISPLAY_ADJUSTLINES ATTR_DISPLAY_START + 8
-#define ATTR_DISPLAY_END ATTR_DISPLAY_ADJUSTLINES
-
-#define ATTR_TBX_DUMMY ATTR_DISPLAY_END + 1
+#define ATTR_DISPLAY_START ATTR_GRID_END + 1
+#define ATTR_DISPLAY_FUNCTIONBAR ATTR_DISPLAY_START
+#define ATTR_DISPLAY_OBJECTBAR ATTR_DISPLAY_START + 1
+#define ATTR_DISPLAY_STATUSBAR ATTR_DISPLAY_START + 2
+#define ATTR_DISPLAY_TOOLBAR ATTR_DISPLAY_START + 3
+#define ATTR_DISPLAY_GRID ATTR_DISPLAY_START + 4
+#define ATTR_DISPLAY_RULER ATTR_DISPLAY_START + 5
+#define ATTR_DISPLAY_HELPLINES ATTR_DISPLAY_START + 6
+#define ATTR_DISPLAY_STRANGE_GRAPHIC ATTR_DISPLAY_START + 7
+#define ATTR_DISPLAY_ADJUSTLINES ATTR_DISPLAY_START + 8
+#define ATTR_DISPLAY_END ATTR_DISPLAY_ADJUSTLINES
+
+#define ATTR_TBX_DUMMY ATTR_DISPLAY_END + 1
// Animations-Attribute
-#define ATTR_ANIMATION_START ATTR_TBX_DUMMY + 1
-#define ATTR_ANIMATION_ACTIVE ATTR_ANIMATION_START
-#define ATTR_ANIMATION_EFFECT ATTR_ANIMATION_START + 1
-#define ATTR_ANIMATION_SPEED ATTR_ANIMATION_START + 2
-#define ATTR_ANIMATION_INVISIBLE ATTR_ANIMATION_START + 3
-#define ATTR_ANIMATION_FADEOUT ATTR_ANIMATION_START + 4
-#define ATTR_ANIMATION_COLOR ATTR_ANIMATION_START + 5
-#define ATTR_ANIMATION_SOUNDON ATTR_ANIMATION_START + 6
-#define ATTR_ANIMATION_SOUNDFILE ATTR_ANIMATION_START + 7
-#define ATTR_ANIMATION_PLAYFULL ATTR_ANIMATION_START + 8
-#define ATTR_ANIMATION_TRANSPCOLOR ATTR_ANIMATION_START + 9
+#define ATTR_ANIMATION_START ATTR_TBX_DUMMY + 1
+#define ATTR_ANIMATION_ACTIVE ATTR_ANIMATION_START
+#define ATTR_ANIMATION_EFFECT ATTR_ANIMATION_START + 1
+#define ATTR_ANIMATION_SPEED ATTR_ANIMATION_START + 2
+#define ATTR_ANIMATION_INVISIBLE ATTR_ANIMATION_START + 3
+#define ATTR_ANIMATION_FADEOUT ATTR_ANIMATION_START + 4
+#define ATTR_ANIMATION_COLOR ATTR_ANIMATION_START + 5
+#define ATTR_ANIMATION_SOUNDON ATTR_ANIMATION_START + 6
+#define ATTR_ANIMATION_SOUNDFILE ATTR_ANIMATION_START + 7
+#define ATTR_ANIMATION_PLAYFULL ATTR_ANIMATION_START + 8
+#define ATTR_ANIMATION_TRANSPCOLOR ATTR_ANIMATION_START + 9
#define ATTR_ANIMATION_TEXTEFFECT ATTR_ANIMATION_START + 10
#define ATTR_ANIMATION_END ATTR_ANIMATION_TEXTEFFECT
-#define ATTR_ACTION_START ATTR_ANIMATION_END + 1
-#define ATTR_ACTION ATTR_ACTION_START
-#define ATTR_ACTION_EFFECT ATTR_ACTION_START + 1
-#define ATTR_ACTION_EFFECTSPEED ATTR_ACTION_START + 2
-#define ATTR_ACTION_FILENAME ATTR_ACTION_START + 3
-#define ATTR_ACTION_SOUNDON ATTR_ACTION_START + 4
-#define ATTR_ACTION_PLAYFULL ATTR_ACTION_START + 5
-#define ATTR_ACTION_END ATTR_ACTION_PLAYFULL
-
-#define ATTR_PRINTOPTIONS_START ATTR_ACTION_END + 1
-#define ATTR_PRINTOPTIONS_PRINT ATTR_PRINTOPTIONS_START
-#define ATTR_PRINTOPTIONS_PAGESIZE ATTR_PRINTOPTIONS_START + 1
-#define ATTR_PRINTOPTIONS_FADEOUT ATTR_PRINTOPTIONS_START + 2
-#define ATTR_PRINTOPTIONS_DATE ATTR_PRINTOPTIONS_START + 3
-#define ATTR_PRINTOPTIONS_TIME ATTR_PRINTOPTIONS_START + 4
-#define ATTR_PRINTOPTIONS_PAGENAME ATTR_PRINTOPTIONS_START + 5
-#define ATTR_PRINTOPTIONS_END ATTR_PRINTOPTIONS_PAGENAME
-
-#define ATTR_COPY_START ATTR_PRINTOPTIONS_END + 1
-#define ATTR_COPY_NUMBER ATTR_COPY_START
-#define ATTR_COPY_MOVE_X ATTR_COPY_START + 1
-#define ATTR_COPY_MOVE_Y ATTR_COPY_START + 2
-#define ATTR_COPY_ANGLE ATTR_COPY_START + 3
-#define ATTR_COPY_WIDTH ATTR_COPY_START + 4
-#define ATTR_COPY_HEIGHT ATTR_COPY_START + 5
-#define ATTR_COPY_START_COLOR ATTR_COPY_START + 6
-#define ATTR_COPY_END_COLOR ATTR_COPY_START + 7
-#define ATTR_COPY_END ATTR_COPY_END_COLOR
-
-#define ATTR_SNAPLINE_START ATTR_COPY_END + 1
-#define ATTR_SNAPLINE_KIND ATTR_SNAPLINE_START
-#define ATTR_SNAPLINE_X ATTR_SNAPLINE_START + 1
-#define ATTR_SNAPLINE_Y ATTR_SNAPLINE_START + 2
-#define ATTR_SNAPLINE_END ATTR_SNAPLINE_Y
-
-#define ATTR_OPTIONS_START ATTR_SNAPLINE_END + 1
-#define ATTR_OPTIONS ATTR_OPTIONS_START
-#define ATTR_OPTIONS_LAYOUT ATTR_OPTIONS_START + 1
-#define ATTR_OPTIONS_CONTENTS ATTR_OPTIONS_START + 2
-#define ATTR_OPTIONS_MISC ATTR_OPTIONS_START + 3
-#define ATTR_OPTIONS_SNAP ATTR_OPTIONS_START + 4
-#define ATTR_OPTIONS_PRINT ATTR_OPTIONS_START + 5
-#define ATTR_OPTIONS_END ATTR_OPTIONS_PRINT
-
-#define ATTR_OPTIONS_SCALE_START ATTR_OPTIONS_END + 1
-#define ATTR_OPTIONS_SCALE_X ATTR_OPTIONS_SCALE_START
-#define ATTR_OPTIONS_SCALE_Y ATTR_OPTIONS_SCALE_START + 1
-#define ATTR_OPTIONS_SCALE_WIDTH ATTR_OPTIONS_SCALE_START + 2
-#define ATTR_OPTIONS_SCALE_HEIGHT ATTR_OPTIONS_SCALE_START + 3
-#define ATTR_OPTIONS_SCALE_END ATTR_OPTIONS_SCALE_HEIGHT
-
-#define ATTR_PUBLISH_START ATTR_OPTIONS_SCALE_END + 1
-#define ATTR_PUBLISH_LOCATION ATTR_PUBLISH_START
-#define ATTR_PUBLISH_WITHCONTENTSPAGE ATTR_PUBLISH_START + 1
-#define ATTR_PUBLISH_RESOLUTION ATTR_PUBLISH_START + 2
-#define ATTR_PUBLISH_MODE ATTR_PUBLISH_START + 3
-#define ATTR_PUBLISH_FORMAT ATTR_PUBLISH_START + 4
-#define ATTR_PUBLISH_COMPRESSION ATTR_PUBLISH_START + 5
-#define ATTR_PUBLISH_WITHNOTES ATTR_PUBLISH_START + 6
-#define ATTR_PUBLISH_AUTHOR ATTR_PUBLISH_START + 9
-#define ATTR_PUBLISH_EMAIL ATTR_PUBLISH_START + 10
-#define ATTR_PUBLISH_WWW ATTR_PUBLISH_START + 11
-#define ATTR_PUBLISH_INFO ATTR_PUBLISH_START + 12
-#define ATTR_PUBLISH_WITHDOWNLOAD ATTR_PUBLISH_START + 13
-#define ATTR_PUBLISH_WITHSTAROFFICE ATTR_PUBLISH_START + 14
-#define ATTR_PUBLISH_BUTTONS ATTR_PUBLISH_START + 15
-#define ATTR_PUBLISH_USERATTR ATTR_PUBLISH_START + 16
-#define ATTR_PUBLISH_BACKCOLOR ATTR_PUBLISH_START + 17
-#define ATTR_PUBLISH_TEXTCOLOR ATTR_PUBLISH_START + 18
-#define ATTR_PUBLISH_LINKCOLOR ATTR_PUBLISH_START + 19
-#define ATTR_PUBLISH_VLINKCOLOR ATTR_PUBLISH_START + 20
-#define ATTR_PUBLISH_ALINKCOLOR ATTR_PUBLISH_START + 21
-#define ATTR_PUBLISH_USEATTRIBS ATTR_PUBLISH_START + 22
-#define ATTR_PUBLISH_USECOLOR ATTR_PUBLISH_START + 23
-#define ATTR_PUBLISH_WEBSHOW ATTR_PUBLISH_START + 24
-#define ATTR_PUBLISH_SCRIPT ATTR_PUBLISH_START + 25
-#define ATTR_PUBLISH_URLPATH ATTR_PUBLISH_START + 26
-#define ATTR_PUBLISH_CGIPATH ATTR_PUBLISH_START + 27
-#define ATTR_PUBLISH_INDEX ATTR_PUBLISH_START + 28
-#define ATTR_PUBLISH_SLIDECHG ATTR_PUBLISH_START + 29
-#define ATTR_PUBLISH_SLIDEDURATION ATTR_PUBLISH_START + 30
-#define ATTR_PUBLISH_ENDLESS ATTR_PUBLISH_START + 31
-#define ATTR_PUBLISH_SLIDESOUND ATTR_PUBLISH_START + 32
-#define ATTR_PUBLISH_END ATTR_PUBLISH_SLIDESOUND
-
-#define ATTR_PRESLAYOUT_START ATTR_PUBLISH_END + 1
-#define ATTR_PRESLAYOUT_NAME ATTR_PRESLAYOUT_START
-#define ATTR_PRESLAYOUT_LOAD ATTR_PRESLAYOUT_START + 1
-#define ATTR_PRESLAYOUT_MASTER_PAGE ATTR_PRESLAYOUT_START + 2
-#define ATTR_PRESLAYOUT_CHECK_MASTERS ATTR_PRESLAYOUT_START + 3
-#define ATTR_PRESLAYOUT_END ATTR_PRESLAYOUT_CHECK_MASTERS
+#define ATTR_ACTION_START ATTR_ANIMATION_END + 1
+#define ATTR_ACTION ATTR_ACTION_START
+#define ATTR_ACTION_EFFECT ATTR_ACTION_START + 1
+#define ATTR_ACTION_EFFECTSPEED ATTR_ACTION_START + 2
+#define ATTR_ACTION_FILENAME ATTR_ACTION_START + 3
+#define ATTR_ACTION_SOUNDON ATTR_ACTION_START + 4
+#define ATTR_ACTION_PLAYFULL ATTR_ACTION_START + 5
+#define ATTR_ACTION_END ATTR_ACTION_PLAYFULL
+
+#define ATTR_PRINTOPTIONS_START ATTR_ACTION_END + 1
+#define ATTR_PRINTOPTIONS_PRINT ATTR_PRINTOPTIONS_START
+#define ATTR_PRINTOPTIONS_PAGESIZE ATTR_PRINTOPTIONS_START + 1
+#define ATTR_PRINTOPTIONS_FADEOUT ATTR_PRINTOPTIONS_START + 2
+#define ATTR_PRINTOPTIONS_DATE ATTR_PRINTOPTIONS_START + 3
+#define ATTR_PRINTOPTIONS_TIME ATTR_PRINTOPTIONS_START + 4
+#define ATTR_PRINTOPTIONS_PAGENAME ATTR_PRINTOPTIONS_START + 5
+#define ATTR_PRINTOPTIONS_END ATTR_PRINTOPTIONS_PAGENAME
+
+#define ATTR_COPY_START ATTR_PRINTOPTIONS_END + 1
+#define ATTR_COPY_NUMBER ATTR_COPY_START
+#define ATTR_COPY_MOVE_X ATTR_COPY_START + 1
+#define ATTR_COPY_MOVE_Y ATTR_COPY_START + 2
+#define ATTR_COPY_ANGLE ATTR_COPY_START + 3
+#define ATTR_COPY_WIDTH ATTR_COPY_START + 4
+#define ATTR_COPY_HEIGHT ATTR_COPY_START + 5
+#define ATTR_COPY_START_COLOR ATTR_COPY_START + 6
+#define ATTR_COPY_END_COLOR ATTR_COPY_START + 7
+#define ATTR_COPY_END ATTR_COPY_END_COLOR
+
+#define ATTR_SNAPLINE_START ATTR_COPY_END + 1
+#define ATTR_SNAPLINE_KIND ATTR_SNAPLINE_START
+#define ATTR_SNAPLINE_X ATTR_SNAPLINE_START + 1
+#define ATTR_SNAPLINE_Y ATTR_SNAPLINE_START + 2
+#define ATTR_SNAPLINE_END ATTR_SNAPLINE_Y
+
+#define ATTR_OPTIONS_START ATTR_SNAPLINE_END + 1
+#define ATTR_OPTIONS ATTR_OPTIONS_START
+#define ATTR_OPTIONS_LAYOUT ATTR_OPTIONS_START + 1
+#define ATTR_OPTIONS_CONTENTS ATTR_OPTIONS_START + 2
+#define ATTR_OPTIONS_MISC ATTR_OPTIONS_START + 3
+#define ATTR_OPTIONS_SNAP ATTR_OPTIONS_START + 4
+#define ATTR_OPTIONS_PRINT ATTR_OPTIONS_START + 5
+#define ATTR_OPTIONS_END ATTR_OPTIONS_PRINT
+
+#define ATTR_OPTIONS_SCALE_START ATTR_OPTIONS_END + 1
+#define ATTR_OPTIONS_SCALE_X ATTR_OPTIONS_SCALE_START
+#define ATTR_OPTIONS_SCALE_Y ATTR_OPTIONS_SCALE_START + 1
+#define ATTR_OPTIONS_SCALE_WIDTH ATTR_OPTIONS_SCALE_START + 2
+#define ATTR_OPTIONS_SCALE_HEIGHT ATTR_OPTIONS_SCALE_START + 3
+#define ATTR_OPTIONS_SCALE_END ATTR_OPTIONS_SCALE_HEIGHT
+
+#define ATTR_PUBLISH_START ATTR_OPTIONS_SCALE_END + 1
+#define ATTR_PUBLISH_LOCATION ATTR_PUBLISH_START
+#define ATTR_PUBLISH_WITHCONTENTSPAGE ATTR_PUBLISH_START + 1
+#define ATTR_PUBLISH_RESOLUTION ATTR_PUBLISH_START + 2
+#define ATTR_PUBLISH_MODE ATTR_PUBLISH_START + 3
+#define ATTR_PUBLISH_FORMAT ATTR_PUBLISH_START + 4
+#define ATTR_PUBLISH_COMPRESSION ATTR_PUBLISH_START + 5
+#define ATTR_PUBLISH_WITHNOTES ATTR_PUBLISH_START + 6
+#define ATTR_PUBLISH_AUTHOR ATTR_PUBLISH_START + 9
+#define ATTR_PUBLISH_EMAIL ATTR_PUBLISH_START + 10
+#define ATTR_PUBLISH_WWW ATTR_PUBLISH_START + 11
+#define ATTR_PUBLISH_INFO ATTR_PUBLISH_START + 12
+#define ATTR_PUBLISH_WITHDOWNLOAD ATTR_PUBLISH_START + 13
+#define ATTR_PUBLISH_WITHSTAROFFICE ATTR_PUBLISH_START + 14
+#define ATTR_PUBLISH_BUTTONS ATTR_PUBLISH_START + 15
+#define ATTR_PUBLISH_USERATTR ATTR_PUBLISH_START + 16
+#define ATTR_PUBLISH_BACKCOLOR ATTR_PUBLISH_START + 17
+#define ATTR_PUBLISH_TEXTCOLOR ATTR_PUBLISH_START + 18
+#define ATTR_PUBLISH_LINKCOLOR ATTR_PUBLISH_START + 19
+#define ATTR_PUBLISH_VLINKCOLOR ATTR_PUBLISH_START + 20
+#define ATTR_PUBLISH_ALINKCOLOR ATTR_PUBLISH_START + 21
+#define ATTR_PUBLISH_USEATTRIBS ATTR_PUBLISH_START + 22
+#define ATTR_PUBLISH_USECOLOR ATTR_PUBLISH_START + 23
+#define ATTR_PUBLISH_WEBSHOW ATTR_PUBLISH_START + 24
+#define ATTR_PUBLISH_SCRIPT ATTR_PUBLISH_START + 25
+#define ATTR_PUBLISH_URLPATH ATTR_PUBLISH_START + 26
+#define ATTR_PUBLISH_CGIPATH ATTR_PUBLISH_START + 27
+#define ATTR_PUBLISH_INDEX ATTR_PUBLISH_START + 28
+#define ATTR_PUBLISH_SLIDECHG ATTR_PUBLISH_START + 29
+#define ATTR_PUBLISH_SLIDEDURATION ATTR_PUBLISH_START + 30
+#define ATTR_PUBLISH_ENDLESS ATTR_PUBLISH_START + 31
+#define ATTR_PUBLISH_SLIDESOUND ATTR_PUBLISH_START + 32
+#define ATTR_PUBLISH_END ATTR_PUBLISH_SLIDESOUND
+
+#define ATTR_PRESLAYOUT_START ATTR_PUBLISH_END + 1
+#define ATTR_PRESLAYOUT_NAME ATTR_PRESLAYOUT_START
+#define ATTR_PRESLAYOUT_LOAD ATTR_PRESLAYOUT_START + 1
+#define ATTR_PRESLAYOUT_MASTER_PAGE ATTR_PRESLAYOUT_START + 2
+#define ATTR_PRESLAYOUT_CHECK_MASTERS ATTR_PRESLAYOUT_START + 3
+#define ATTR_PRESLAYOUT_END ATTR_PRESLAYOUT_CHECK_MASTERS
// Pack & Go Attribute
#define ATTR_PACKNGO_START ATTR_PRESLAYOUT_END + 1
-#define ATTR_PACKNGO_UNLINK ATTR_PACKNGO_START
-#define ATTR_PACKNGO_COMPRESS ATTR_PACKNGO_START + 1
-#define ATTR_PACKNGO_SPANNING ATTR_PACKNGO_START + 2
-#define ATTR_PACKNGO_MEDIUMSIZE ATTR_PACKNGO_START + 3
-#define ATTR_PACKNGO_END ATTR_PACKNGO_MEDIUMSIZE
+#define ATTR_PACKNGO_UNLINK ATTR_PACKNGO_START
+#define ATTR_PACKNGO_COMPRESS ATTR_PACKNGO_START + 1
+#define ATTR_PACKNGO_SPANNING ATTR_PACKNGO_START + 2
+#define ATTR_PACKNGO_MEDIUMSIZE ATTR_PACKNGO_START + 3
+#define ATTR_PACKNGO_END ATTR_PACKNGO_MEDIUMSIZE
// paragraph numbering attributes
-#define ATTR_PARANUMBERING_START ATTR_PACKNGO_MEDIUMSIZE + 1
-#define ATTR_NUMBER_NEWSTART ATTR_PARANUMBERING_START
-#define ATTR_NUMBER_NEWSTART_AT ATTR_PARANUMBERING_START + 1
-#define ATTR_PARANUMBERING_END ATTR_NUMBER_NEWSTART_AT
+#define ATTR_PARANUMBERING_START ATTR_PACKNGO_MEDIUMSIZE + 1
+#define ATTR_NUMBER_NEWSTART ATTR_PARANUMBERING_START
+#define ATTR_NUMBER_NEWSTART_AT ATTR_PARANUMBERING_START + 1
+#define ATTR_PARANUMBERING_END ATTR_NUMBER_NEWSTART_AT
#endif // _SDATTR_HRC
diff --git a/sd/inc/sdattr.hxx b/sd/inc/sdattr.hxx
index 7f055caf633a..4f1ad34d5a20 100644
--- a/sd/inc/sdattr.hxx
+++ b/sd/inc/sdattr.hxx
@@ -2,7 +2,7 @@
/*************************************************************************
*
* 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
@@ -44,7 +44,7 @@
//==================================================================
-// Layer-Attribute
+// Layer-Attribute
//==================================================================
class SdAttrLayerName : public SfxStringItem
@@ -119,10 +119,10 @@ public:
DiaEffectItem( ::com::sun::star::presentation::FadeEffect eFade = com::sun::star::presentation::FadeEffect_NONE );
DiaEffectItem( SvStream& rIn );
- virtual SfxPoolItem* Clone( SfxItemPool* pPool = 0 ) const;
- virtual SfxPoolItem* Create( SvStream& rIn, USHORT nVer ) const;
- USHORT GetValueCount() const { return FADE_EFFECT_COUNT; }
- ::com::sun::star::presentation::FadeEffect GetValue() const
+ virtual SfxPoolItem* Clone( SfxItemPool* pPool = 0 ) const;
+ virtual SfxPoolItem* Create( SvStream& rIn, USHORT nVer ) const;
+ USHORT GetValueCount() const { return FADE_EFFECT_COUNT; }
+ ::com::sun::star::presentation::FadeEffect GetValue() const
{ return (::com::sun::star::presentation::FadeEffect) SfxEnumItem::GetValue(); }
};
@@ -135,10 +135,10 @@ public:
DiaSpeedItem( FadeSpeed = FADE_SPEED_MEDIUM );
DiaSpeedItem( SvStream& rIn );
- virtual SfxPoolItem* Clone( SfxItemPool* pPool = 0 ) const;
- virtual SfxPoolItem* Create( SvStream& rIn, USHORT nVer ) const;
- USHORT GetValueCount() const { return FADE_SPEED_COUNT; }
- FadeSpeed GetValue() const
+ virtual SfxPoolItem* Clone( SfxItemPool* pPool = 0 ) const;
+ virtual SfxPoolItem* Create( SvStream& rIn, USHORT nVer ) const;
+ USHORT GetValueCount() const { return FADE_SPEED_COUNT; }
+ FadeSpeed GetValue() const
{ return (FadeSpeed) SfxEnumItem::GetValue(); }
};
@@ -151,10 +151,10 @@ public:
DiaAutoItem( PresChange = PRESCHANGE_MANUAL );
DiaAutoItem( SvStream& rIn );
- virtual SfxPoolItem* Clone( SfxItemPool* pPool = 0 ) const;
- virtual SfxPoolItem* Create( SvStream& rIn, USHORT nVer ) const;
- USHORT GetValueCount() const { return PRESCHANGE_COUNT; }
- PresChange GetValue() const { return (PresChange) SfxEnumItem::GetValue(); }
+ virtual SfxPoolItem* Clone( SfxItemPool* pPool = 0 ) const;
+ virtual SfxPoolItem* Create( SvStream& rIn, USHORT nVer ) const;
+ USHORT GetValueCount() const { return PRESCHANGE_COUNT; }
+ PresChange GetValue() const { return (PresChange) SfxEnumItem::GetValue(); }
};
//------------------------------------------------------------------
@@ -166,7 +166,7 @@ public:
DiaTimeItem( UINT32 nValue = 0L );
virtual SfxPoolItem* Clone( SfxItemPool* pPool = 0 ) const;
- virtual int operator==( const SfxPoolItem& ) const;
+ virtual int operator==( const SfxPoolItem& ) const;
};
#endif // _SDATTR_HXX
diff --git a/sd/inc/sdcgmfilter.hxx b/sd/inc/sdcgmfilter.hxx
index b960249751e2..c7591710ee69 100644
--- a/sd/inc/sdcgmfilter.hxx
+++ b/sd/inc/sdcgmfilter.hxx
@@ -2,7 +2,7 @@
/*************************************************************************
*
* 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
diff --git a/sd/inc/sddll.hxx b/sd/inc/sddll.hxx
index b59114de95c3..5511dc209b2e 100644
--- a/sd/inc/sddll.hxx
+++ b/sd/inc/sddll.hxx
@@ -2,7 +2,7 @@
/*************************************************************************
*
* 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
@@ -62,8 +62,8 @@ public:
~SdDLL();
// static-init/exit-code must be linked to the application
- static void LibInit(); // called from SfxApplication-subclass::Init()
- static void LibExit(); // called from SfxApplication-subclass::Exit()
+ static void LibInit(); // called from SfxApplication-subclass::Init()
+ static void LibExit(); // called from SfxApplication-subclass::Exit()
// DLL-init/exit-code must be linked to the DLL only
static void Init(); // called directly after loading the DLL
diff --git a/sd/inc/sddllapi.h b/sd/inc/sddllapi.h
index c07c4792e6f1..c9e7040405e1 100644
--- a/sd/inc/sddllapi.h
+++ b/sd/inc/sddllapi.h
@@ -2,7 +2,7 @@
/*************************************************************************
*
* 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
diff --git a/sd/inc/sdenumdef.hxx b/sd/inc/sdenumdef.hxx
index 38563d720fb4..30ba42fdb2f5 100644
--- a/sd/inc/sdenumdef.hxx
+++ b/sd/inc/sdenumdef.hxx
@@ -2,7 +2,7 @@
/*************************************************************************
*
* 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
diff --git a/sd/inc/sderror.hxx b/sd/inc/sderror.hxx
index 1eb815eef6e1..3957f53f24a2 100644
--- a/sd/inc/sderror.hxx
+++ b/sd/inc/sderror.hxx
@@ -2,7 +2,7 @@
/*************************************************************************
*
* 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
@@ -31,13 +31,13 @@
#include <tools/errcode.hxx>
-#define ERROR_SD_BASE (ERRCODE_AREA_SD)
-#define ERROR_SD_READ_BASE (ERROR_SD_BASE | ERRCODE_CLASS_READ)
-#define ERROR_SD_WRITE_BASE (ERROR_SD_BASE | ERRCODE_CLASS_WRITE)
+#define ERROR_SD_BASE (ERRCODE_AREA_SD)
+#define ERROR_SD_READ_BASE (ERROR_SD_BASE | ERRCODE_CLASS_READ)
+#define ERROR_SD_WRITE_BASE (ERROR_SD_BASE | ERRCODE_CLASS_WRITE)
-#define WARN_SD_BASE (ERRCODE_AREA_SD | ERRCODE_WARNING_MASK)
-#define WARN_SD_READ_BASE (WARN_SD_BASE | ERRCODE_CLASS_READ )
-#define WARN_SD_WRITE_BASE (WARN_SD_BASE | ERRCODE_CLASS_WRITE )
+#define WARN_SD_BASE (ERRCODE_AREA_SD | ERRCODE_WARNING_MASK)
+#define WARN_SD_READ_BASE (WARN_SD_BASE | ERRCODE_CLASS_READ )
+#define WARN_SD_WRITE_BASE (WARN_SD_BASE | ERRCODE_CLASS_WRITE )
// Import errors
diff --git a/sd/inc/sdfilter.hxx b/sd/inc/sdfilter.hxx
index 7e649ba99085..9c06ba80d6c2 100644
--- a/sd/inc/sdfilter.hxx
+++ b/sd/inc/sdfilter.hxx
@@ -2,7 +2,7 @@
/*************************************************************************
*
* 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
@@ -53,27 +53,27 @@ public:
SdFilter( SfxMedium& rMedium, ::sd::DrawDocShell& rDocShell, sal_Bool bShowProgress );
virtual ~SdFilter();
- sal_Bool IsProgress() const { return mbShowProgress; }
- sal_Bool IsDraw() const { return mbIsDraw; }
- sal_Bool IsImpress() const { return !mbIsDraw; }
+ sal_Bool IsProgress() const { return mbShowProgress; }
+ sal_Bool IsDraw() const { return mbIsDraw; }
+ sal_Bool IsImpress() const { return !mbIsDraw; }
virtual sal_Bool Export() = 0;
protected:
- ::com::sun::star::uno::Reference< ::com::sun::star::frame::XModel > mxModel;
- ::com::sun::star::uno::Reference< ::com::sun::star::task::XStatusIndicator > mxStatusIndicator;
+ ::com::sun::star::uno::Reference< ::com::sun::star::frame::XModel > mxModel;
+ ::com::sun::star::uno::Reference< ::com::sun::star::task::XStatusIndicator > mxStatusIndicator;
- SfxMedium& mrMedium;
- ::sd::DrawDocShell& mrDocShell;
- SdDrawDocument& mrDocument;
- sal_Bool mbIsDraw : 1;
- sal_Bool mbShowProgress : 1;
+ SfxMedium& mrMedium;
+ ::sd::DrawDocShell& mrDocShell;
+ SdDrawDocument& mrDocument;
+ sal_Bool mbIsDraw : 1;
+ sal_Bool mbShowProgress : 1;
- ::osl::Module* OpenLibrary( const ::rtl::OUString& rLibraryName ) const;
- void CreateStatusIndicator();
+ ::osl::Module* OpenLibrary( const ::rtl::OUString& rLibraryName ) const;
+ void CreateStatusIndicator();
private:
- ::rtl::OUString ImplGetFullLibraryName( const ::rtl::OUString& rLibraryName ) const;
+ ::rtl::OUString ImplGetFullLibraryName( const ::rtl::OUString& rLibraryName ) const;
};
diff --git a/sd/inc/sdgrffilter.hxx b/sd/inc/sdgrffilter.hxx
index 83d4eae50800..70cbdc374f2e 100644
--- a/sd/inc/sdgrffilter.hxx
+++ b/sd/inc/sdgrffilter.hxx
@@ -2,7 +2,7 @@
/*************************************************************************
*
* 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
@@ -50,8 +50,8 @@ public:
sal_Bool Import();
sal_Bool Export();
- static void SaveGraphic( const ::com::sun::star::uno::Reference< ::com::sun::star::drawing::XShape >& xShape );
- static void HandleGraphicFilterError( USHORT nFilterError, ULONG nStreamError = ERRCODE_NONE );
+ static void SaveGraphic( const ::com::sun::star::uno::Reference< ::com::sun::star::drawing::XShape >& xShape );
+ static void HandleGraphicFilterError( USHORT nFilterError, ULONG nStreamError = ERRCODE_NONE );
};
#endif // _SD_SDGRFFILTER_HXX
diff --git a/sd/inc/sdhtmlfilter.hxx b/sd/inc/sdhtmlfilter.hxx
index 28f8df649a10..64ae3a9c0226 100644
--- a/sd/inc/sdhtmlfilter.hxx
+++ b/sd/inc/sdhtmlfilter.hxx
@@ -2,7 +2,7 @@
/*************************************************************************
*
* 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
@@ -35,17 +35,17 @@
// - SdHTMLFilter -
// ----------------
-class SdHTMLFilter
+class SdHTMLFilter
: public SdFilter
{
public:
SdHTMLFilter (
- SfxMedium& rMedium,
- ::sd::DrawDocShell& rDocShell,
+ SfxMedium& rMedium,
+ ::sd::DrawDocShell& rDocShell,
sal_Bool bShowProgress);
virtual ~SdHTMLFilter (void);
- virtual sal_Bool Export();
+ virtual sal_Bool Export();
private:
DECL_LINK( IOProgressHdl, USHORT* );
diff --git a/sd/inc/sdiocmpt.hxx b/sd/inc/sdiocmpt.hxx
index 36fd3eb8e39b..7e71ea57c6aa 100644
--- a/sd/inc/sdiocmpt.hxx
+++ b/sd/inc/sdiocmpt.hxx
@@ -2,7 +2,7 @@
/*************************************************************************
*
* 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
@@ -34,14 +34,14 @@
//////////////////////////////////////////////////////////////////////////////
class SvStream;
-class old_SdrDownCompat
+class old_SdrDownCompat
{
protected:
- SvStream& rStream;
- UINT32 nSubRecSiz;
- UINT32 nSubRecPos;
- UINT16 nMode;
- BOOL bOpen;
+ SvStream& rStream;
+ UINT32 nSubRecSiz;
+ UINT32 nSubRecPos;
+ UINT16 nMode;
+ BOOL bOpen;
protected:
void Read();
@@ -65,14 +65,14 @@ private:
public:
// nNewMode: STREAM_READ oder STREAM_WRITE
- // nVer: nur beim Schreiben angeben
+ // nVer: nur beim Schreiben angeben
SdIOCompat(SvStream& rNewStream, USHORT nNewMode,
UINT16 nVer = SDIOCOMPAT_VERSIONDONTKNOW);
~SdIOCompat();
- UINT16 GetVersion() const { return nVersion; }
+ UINT16 GetVersion() const { return nVersion; }
};
-#endif // _SD_SDIOCMPT_HXX
+#endif // _SD_SDIOCMPT_HXX
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/sd/inc/sdmod.hxx b/sd/inc/sdmod.hxx
index 29aad772d6c3..4fe78517555b 100644
--- a/sd/inc/sdmod.hxx
+++ b/sd/inc/sdmod.hxx
@@ -2,7 +2,7 @@
/*************************************************************************
*
* 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
@@ -106,25 +106,25 @@ public:
DECL_LINK( CalcFieldValueHdl, EditFieldInfo* );
SdModule(SfxObjectFactory* pDrawObjFact, SfxObjectFactory* pGraphicObjFact);
- virtual ~SdModule();
+ virtual ~SdModule();
- SdTransferable* pTransferClip;
- SdTransferable* pTransferDrag;
- SdTransferable* pTransferSelection;
+ SdTransferable* pTransferClip;
+ SdTransferable* pTransferDrag;
+ SdTransferable* pTransferSelection;
- void Execute(SfxRequest& rReq);
- void GetState(SfxItemSet&);
+ void Execute(SfxRequest& rReq);
+ void GetState(SfxItemSet&);
- virtual void FillStatusBar(StatusBar& rBar);
+ virtual void FillStatusBar(StatusBar& rBar);
- SdOptions* GetSdOptions(DocumentType eDocType);
- SD_DLLPUBLIC SvStorageStreamRef GetOptionStream( const String& rOptionName, SdOptionStreamMode eMode );
+ SdOptions* GetSdOptions(DocumentType eDocType);
+ SD_DLLPUBLIC SvStorageStreamRef GetOptionStream( const String& rOptionName, SdOptionStreamMode eMode );
- BOOL GetWaterCan() const { return bWaterCan; }
- void SetWaterCan( BOOL bWC ) { bWaterCan = bWC; }
+ BOOL GetWaterCan() const { return bWaterCan; }
+ void SetWaterCan( BOOL bWC ) { bWaterCan = bWC; }
- SvxSearchItem* GetSearchItem() { return (pSearchItem); }
- void SetSearchItem(SvxSearchItem* pItem) { pSearchItem = pItem; }
+ SvxSearchItem* GetSearchItem() { return (pSearchItem); }
+ void SetSearchItem(SvxSearchItem* pItem) { pSearchItem = pItem; }
/** Return the virtual device that can be used for printer independent
layout.
@@ -140,30 +140,30 @@ public:
*/
OutputDevice* GetRefDevice (::sd::DrawDocShell& rDocShell);
- SD_DLLPUBLIC SvNumberFormatter* GetNumberFormatter();
+ SD_DLLPUBLIC SvNumberFormatter* GetNumberFormatter();
//virtuelle Methoden fuer den Optionendialog
- virtual SfxItemSet* CreateItemSet( USHORT nId );
- virtual void ApplyItemSet( USHORT nId, const SfxItemSet& rSet );
- virtual SfxTabPage* CreateTabPage( USHORT nId, Window* pParent, const SfxItemSet& rSet );
+ virtual SfxItemSet* CreateItemSet( USHORT nId );
+ virtual void ApplyItemSet( USHORT nId, const SfxItemSet& rSet );
+ virtual SfxTabPage* CreateTabPage( USHORT nId, Window* pParent, const SfxItemSet& rSet );
protected:
- SdOptions* pImpressOptions;
- SdOptions* pDrawOptions;
- SvxSearchItem* pSearchItem;
+ SdOptions* pImpressOptions;
+ SdOptions* pDrawOptions;
+ SvxSearchItem* pSearchItem;
SvNumberFormatter* pNumberFormatter;
- SvStorageRef xOptionStorage;
- BOOL bAutoSave;
- BOOL bWaterCan;
- SfxErrorHandler* mpErrorHdl;
+ SvStorageRef xOptionStorage;
+ BOOL bAutoSave;
+ BOOL bWaterCan;
+ SfxErrorHandler* mpErrorHdl;
/** This device is used for printer independent layout. It is virtual
in the sense that it does not represent a printer. The pointer may
be NULL when the virtual device could not be created.
*/
OutputDevice* mpVirtualRefDevice;
- virtual void Notify( SfxBroadcaster& rBC, const SfxHint& rHint );
+ virtual void Notify( SfxBroadcaster& rBC, const SfxHint& rHint );
private:
SfxFrame* ExecuteNewDocument( SfxRequest& rReq );
diff --git a/sd/inc/sdobjfac.hxx b/sd/inc/sdobjfac.hxx
index 7c31d3a542bb..962badaa099e 100644
--- a/sd/inc/sdobjfac.hxx
+++ b/sd/inc/sdobjfac.hxx
@@ -2,7 +2,7 @@
/*************************************************************************
*
* 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
diff --git a/sd/inc/sdpage.hxx b/sd/inc/sdpage.hxx
index bd330616969c..937d966e41f3 100644
--- a/sd/inc/sdpage.hxx
+++ b/sd/inc/sdpage.hxx
@@ -2,7 +2,7 @@
/*************************************************************************
*
* 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
@@ -94,7 +94,7 @@ namespace sd {
bool mbDateTimeVisible;
bool mbDateTimeIsFixed;
String maDateTimeText;
- int meDateTimeFormat;
+ int meDateTimeFormat;
HeaderFooterSettings();
@@ -122,31 +122,31 @@ friend class sd::UndoGeoObject;
friend class sd::UndoAttrObject;
protected:
- PageKind mePageKind; // Seitentyp
- AutoLayout meAutoLayout; // AutoLayout
- sd::ShapeList maPresentationShapeList; // Praesentationsobjekte
+ PageKind mePageKind; // Seitentyp
+ AutoLayout meAutoLayout; // AutoLayout
+ sd::ShapeList maPresentationShapeList; // Praesentationsobjekte
sd::ScopeLock maLockAutoLayoutArrangement;
- BOOL mbSelected; // Selektionskennung
- PresChange mePresChange; // manuell/automatisch/halbautomatisch
- UINT32 mnTime; // Anzeigedauer in Sekunden
- BOOL mbSoundOn; // mit/ohne Sound (TRUE/FALSE)
- BOOL mbExcluded; // wird in der Show nicht/doch
+ BOOL mbSelected; // Selektionskennung
+ PresChange mePresChange; // manuell/automatisch/halbautomatisch
+ UINT32 mnTime; // Anzeigedauer in Sekunden
+ BOOL mbSoundOn; // mit/ohne Sound (TRUE/FALSE)
+ BOOL mbExcluded; // wird in der Show nicht/doch
// angezeigt (TRUE/FALSE)
- String maLayoutName; // Name des Layouts
+ String maLayoutName; // Name des Layouts
String maSoundFile; // Pfad zum Soundfile (MSDOS-Notation)
- bool mbLoopSound;
- bool mbStopSound;
+ bool mbLoopSound;
+ bool mbStopSound;
String maCreatedPageName; // von GetPageName erzeugter Seitenname
String maFileName; // Filename
- String maBookmarkName; // Bookmarkname
- BOOL mbScaleObjects; // Objekte sollen skaliert werden
- BOOL mbBackgroundFullSize; // Hintergrundobjekt auf ganze Seite darstellen
+ String maBookmarkName; // Bookmarkname
+ BOOL mbScaleObjects; // Objekte sollen skaliert werden
+ BOOL mbBackgroundFullSize; // Hintergrundobjekt auf ganze Seite darstellen
rtl_TextEncoding meCharSet; // Text-Encoding
USHORT mnPaperBin; // PaperBin
Orientation meOrientation; // Print-Orientation
- SdPageLink* mpPageLink; // PageLink (nur bei gelinkten Seiten)
+ SdPageLink* mpPageLink; // PageLink (nur bei gelinkten Seiten)
- sd::AnnotationVector maAnnotations;
+ sd::AnnotationVector maAnnotations;
/** holds the smil animation sequences for this page */
::com::sun::star::uno::Reference< ::com::sun::star::animations::XAnimationNode > mxAnimationNode;
@@ -156,11 +156,11 @@ protected:
virtual ::com::sun::star::uno::Reference< ::com::sun::star::uno::XInterface > createUnoPage();
- SfxItemSet* mpItems;
+ SfxItemSet* mpItems;
SfxItemSet* getOrCreateItems();
- sd::HeaderFooterSettings maHeaderFooterSettings;
+ sd::HeaderFooterSettings maHeaderFooterSettings;
// new transition settings
sal_Int16 mnTransitionType;
@@ -178,40 +178,40 @@ public:
virtual SdrPage* Clone() const;
virtual SdrPage* Clone(SdrModel* pNewModel) const;
- virtual void SetSize(const Size& aSize);
- virtual void SetBorder(INT32 nLft, INT32 nUpp, INT32 nRgt, INT32 Lwr);
- virtual void SetLftBorder(INT32 nBorder);
- virtual void SetRgtBorder(INT32 nBorder);
- virtual void SetUppBorder(INT32 nBorder);
- virtual void SetLwrBorder(INT32 nBorder);
- virtual void SetModel(SdrModel* pNewModel);
+ virtual void SetSize(const Size& aSize);
+ virtual void SetBorder(INT32 nLft, INT32 nUpp, INT32 nRgt, INT32 Lwr);
+ virtual void SetLftBorder(INT32 nBorder);
+ virtual void SetRgtBorder(INT32 nBorder);
+ virtual void SetUppBorder(INT32 nBorder);
+ virtual void SetLwrBorder(INT32 nBorder);
+ virtual void SetModel(SdrModel* pNewModel);
virtual bool IsReadOnly() const;
- sd::ShapeList& GetPresentationShapeList() { return maPresentationShapeList; }
+ sd::ShapeList& GetPresentationShapeList() { return maPresentationShapeList; }
void EnsureMasterPageDefaultBackground();
SdrObject* CreatePresObj(PresObjKind eObjKind, BOOL bVertical, const Rectangle& rRect, BOOL bInsert=FALSE);
- SdrObject* CreateDefaultPresObj(PresObjKind eObjKind, bool bInsert);
- SdrObject* GetPresObj(PresObjKind eObjKind, int nIndex = 1, bool bFuzzySearch = false );
+ SdrObject* CreateDefaultPresObj(PresObjKind eObjKind, bool bInsert);
+ SdrObject* GetPresObj(PresObjKind eObjKind, int nIndex = 1, bool bFuzzySearch = false );
PresObjKind GetPresObjKind(SdrObject* pObj) const;
String GetPresObjText(PresObjKind eObjKind) const;
SfxStyleSheet* GetStyleSheetForMasterPageBackground() const;
- SfxStyleSheet* GetStyleSheetForPresObj(PresObjKind eObjKind) const;
- bool RestoreDefaultText( SdrObject* pObj );
+ SfxStyleSheet* GetStyleSheetForPresObj(PresObjKind eObjKind) const;
+ bool RestoreDefaultText( SdrObject* pObj );
/** returns true if the given SdrObject is inside the presentation object list */
- bool IsPresObj(const SdrObject* pObj);
+ bool IsPresObj(const SdrObject* pObj);
/** removes the given SdrObject from the presentation object list */
- void RemovePresObj(const SdrObject* pObj);
+ void RemovePresObj(const SdrObject* pObj);
/** inserts the given SdrObject into the presentation object list */
- void InsertPresObj(SdrObject* pObj, PresObjKind eKind );
+ void InsertPresObj(SdrObject* pObj, PresObjKind eKind );
- void SetAutoLayout(AutoLayout eLayout, BOOL bInit=FALSE, BOOL bCreate=FALSE);
- AutoLayout GetAutoLayout() const { return meAutoLayout; }
+ void SetAutoLayout(AutoLayout eLayout, BOOL bInit=FALSE, BOOL bCreate=FALSE);
+ AutoLayout GetAutoLayout() const { return meAutoLayout; }
void CreateTitleAndLayout(BOOL bInit=FALSE, BOOL bCreate=FALSE);
- SdrObject* InsertAutoLayoutShape(SdrObject* pObj, PresObjKind eObjKind, bool bVertical, Rectangle aRect, bool bInit );
+ SdrObject* InsertAutoLayoutShape(SdrObject* pObj, PresObjKind eObjKind, bool bVertical, Rectangle aRect, bool bInit );
virtual void NbcInsertObject(SdrObject* pObj, ULONG nPos=CONTAINER_APPEND,
const SdrInsertReason* pReason=NULL);
@@ -225,86 +225,86 @@ public:
virtual void SetLinkData(const String& rLinkName, const String& rLinkData);
- void SetObjText(SdrTextObj* pObj, SdrOutliner* pOutliner, PresObjKind eObjKind, const String& rStr );
+ void SetObjText(SdrTextObj* pObj, SdrOutliner* pOutliner, PresObjKind eObjKind, const String& rStr );
- void SetPageKind(PageKind ePgType) { mePageKind = ePgType; }
- PageKind GetPageKind() const { return mePageKind; }
+ void SetPageKind(PageKind ePgType) { mePageKind = ePgType; }
+ PageKind GetPageKind() const { return mePageKind; }
- void SetSelected(BOOL bSel) { mbSelected = bSel; }
- BOOL IsSelected() const { return mbSelected; }
+ void SetSelected(BOOL bSel) { mbSelected = bSel; }
+ BOOL IsSelected() const { return mbSelected; }
- void SetFadeEffect(::com::sun::star::presentation::FadeEffect eNewEffect);
- ::com::sun::star::presentation::FadeEffect GetFadeEffect() const;
+ void SetFadeEffect(::com::sun::star::presentation::FadeEffect eNewEffect);
+ ::com::sun::star::presentation::FadeEffect GetFadeEffect() const;
- void SetPresChange(PresChange eChange) { mePresChange = eChange; }
- PresChange GetPresChange() const { return mePresChange; }
+ void SetPresChange(PresChange eChange) { mePresChange = eChange; }
+ PresChange GetPresChange() const { return mePresChange; }
- void SetTime(UINT32 nNewTime) { mnTime = nNewTime; }
- UINT32 GetTime() const { return mnTime; }
+ void SetTime(UINT32 nNewTime) { mnTime = nNewTime; }
+ UINT32 GetTime() const { return mnTime; }
- void SetSound(BOOL bNewSoundOn) { mbSoundOn = bNewSoundOn; }
- BOOL IsSoundOn() const { return mbSoundOn; }
+ void SetSound(BOOL bNewSoundOn) { mbSoundOn = bNewSoundOn; }
+ BOOL IsSoundOn() const { return mbSoundOn; }
- void SetExcluded(BOOL bNewExcluded) { mbExcluded = bNewExcluded; }
- BOOL IsExcluded() const { return mbExcluded; }
+ void SetExcluded(BOOL bNewExcluded) { mbExcluded = bNewExcluded; }
+ BOOL IsExcluded() const { return mbExcluded; }
- void SetScaleObjects(BOOL bScale) { mbScaleObjects = bScale; }
- BOOL IsScaleObjects() const { return mbScaleObjects; }
+ void SetScaleObjects(BOOL bScale) { mbScaleObjects = bScale; }
+ BOOL IsScaleObjects() const { return mbScaleObjects; }
- void SetSoundFile(const String& rStr) { maSoundFile = rStr; }
- String GetSoundFile() const { return maSoundFile; }
+ void SetSoundFile(const String& rStr) { maSoundFile = rStr; }
+ String GetSoundFile() const { return maSoundFile; }
- void SetLoopSound( bool bLoopSound ) { mbLoopSound = bLoopSound; }
- bool IsLoopSound() const { return mbLoopSound; }
+ void SetLoopSound( bool bLoopSound ) { mbLoopSound = bLoopSound; }
+ bool IsLoopSound() const { return mbLoopSound; }
- void SetStopSound( bool bStopSound ) { mbStopSound = bStopSound; }
- bool IsStopSound() const { return mbStopSound; }
+ void SetStopSound( bool bStopSound ) { mbStopSound = bStopSound; }
+ bool IsStopSound() const { return mbStopSound; }
- sal_Int16 getTransitionType() const;
- void setTransitionType( sal_Int16 nTransitionType );
+ sal_Int16 getTransitionType() const;
+ void setTransitionType( sal_Int16 nTransitionType );
- sal_Int16 getTransitionSubtype() const;
- void setTransitionSubtype( sal_Int16 nTransitionSubtype );
+ sal_Int16 getTransitionSubtype() const;
+ void setTransitionSubtype( sal_Int16 nTransitionSubtype );
- sal_Bool getTransitionDirection() const;
- void setTransitionDirection( sal_Bool bTransitionbDirection );
+ sal_Bool getTransitionDirection() const;
+ void setTransitionDirection( sal_Bool bTransitionbDirection );
- sal_Int32 getTransitionFadeColor() const;
- void setTransitionFadeColor( sal_Int32 nTransitionFadeColor );
+ sal_Int32 getTransitionFadeColor() const;
+ void setTransitionFadeColor( sal_Int32 nTransitionFadeColor );
- double getTransitionDuration() const;
- void setTransitionDuration( double fTranstionDuration );
+ double getTransitionDuration() const;
+ void setTransitionDuration( double fTranstionDuration );
// Virtuelle Methoden von SdrObjUserCall
virtual void Changed(const SdrObject& rObj, SdrUserCallType eType,
const Rectangle& rOldBoundRect);
- void SetLayoutName(String aName);
- virtual String GetLayoutName() const { return maLayoutName; }
+ void SetLayoutName(String aName);
+ virtual String GetLayoutName() const { return maLayoutName; }
- void SetFileName(const String& aName) { maFileName = aName; }
- virtual String GetFileName() const { return maFileName; }
- void SetBookmarkName(const String& aName) { maBookmarkName = aName; }
- virtual String GetBookmarkName() const { return maBookmarkName; }
- SdPageLink* GetLink() { return mpPageLink; }
+ void SetFileName(const String& aName) { maFileName = aName; }
+ virtual String GetFileName() const { return maFileName; }
+ void SetBookmarkName(const String& aName) { maBookmarkName = aName; }
+ virtual String GetBookmarkName() const { return maBookmarkName; }
+ SdPageLink* GetLink() { return mpPageLink; }
- void ConnectLink();
- void DisconnectLink();
+ void ConnectLink();
+ void DisconnectLink();
void ScaleObjects(const Size& rNewPageSize, const Rectangle& rNewBorderRect,
BOOL bScaleAllObj);
const String& GetName() const;
- String GetRealName() const { return FmFormPage::GetName(); };
+ String GetRealName() const { return FmFormPage::GetName(); };
void SetPresentationLayout(const String& rLayoutName,
BOOL bReplaceStyleSheets = TRUE,
BOOL bSetMasterPage = TRUE,
BOOL bReverseOrder = FALSE);
- void EndListenOutlineText();
+ void EndListenOutlineText();
- void SetBackgroundFullSize( BOOL bIn );
- BOOL IsBackgroundFullSize() const { return mbBackgroundFullSize; }
+ void SetBackgroundFullSize( BOOL bIn );
+ BOOL IsBackgroundFullSize() const { return mbBackgroundFullSize; }
rtl_TextEncoding GetCharSet() { return(meCharSet); }
@@ -352,8 +352,8 @@ public:
like printing.
*/
virtual bool checkVisibility(
- const sdr::contact::ViewObjectContact& rOriginal,
- const sdr::contact::DisplayInfo& rDisplayInfo,
+ const sdr::contact::ViewObjectContact& rOriginal,
+ const sdr::contact::DisplayInfo& rDisplayInfo,
bool bEdit );
/** callback from the sd::View when a new paragraph for one object on this page is created */
@@ -407,6 +407,6 @@ private:
void onRemoveObject( SdrObject* pObject );
};
-#endif // _SDPAGE_HXX
+#endif // _SDPAGE_HXX
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/sd/inc/sdpptwrp.hxx b/sd/inc/sdpptwrp.hxx
index b2f9925651cd..9b7f87c691ae 100644
--- a/sd/inc/sdpptwrp.hxx
+++ b/sd/inc/sdpptwrp.hxx
@@ -2,7 +2,7 @@
/*************************************************************************
*
* 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
@@ -48,10 +48,10 @@ public:
sal_Bool Export();
// these methods are necassary for the export to PowerPoint
- void PreSaveBasic(); // restaures the original basic storage
+ void PreSaveBasic(); // restaures the original basic storage
private:
- SvMemoryStream* pBas;
+ SvMemoryStream* pBas;
};
#endif // _SD_PPTWRP_HXX
diff --git a/sd/inc/sdresid.hxx b/sd/inc/sdresid.hxx
index 617957b6b9e2..f75cfaaa5541 100644
--- a/sd/inc/sdresid.hxx
+++ b/sd/inc/sdresid.hxx
@@ -2,7 +2,7 @@
/*************************************************************************
*
* 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
diff --git a/sd/inc/sduiks.hrc b/sd/inc/sduiks.hrc
index 6904cc2999d1..218b4ee8c76f 100644
--- a/sd/inc/sduiks.hrc
+++ b/sd/inc/sduiks.hrc
@@ -1,7 +1,7 @@
/*************************************************************************
*
* 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
@@ -29,29 +29,29 @@
#include <usr/uiks.hrc>
-#define SD_UIK_SHAPE_FACTORY UIK_DRAWING(00)
-#define SD_UIK_POLYGON_FACTORY UIK_DRAWING(01)
-#define SD_UIK_3D_SHAPE_FACTORY UIK_DRAWING(02)
-#define SD_UIK_TEXT_FACTORY UIK_DRAWING(03)
-#define SD_UIK_SNAP_FACTORY UIK_DRAWING(04)
+#define SD_UIK_SHAPE_FACTORY UIK_DRAWING(00)
+#define SD_UIK_POLYGON_FACTORY UIK_DRAWING(01)
+#define SD_UIK_3D_SHAPE_FACTORY UIK_DRAWING(02)
+#define SD_UIK_TEXT_FACTORY UIK_DRAWING(03)
+#define SD_UIK_SNAP_FACTORY UIK_DRAWING(04)
-#define SD_UIK_DRAW_PAGES UIK_DRAWING(10)
-#define SD_UIK_DRAW_PAGE_MANIPULATOR UIK_DRAWING(11)
+#define SD_UIK_DRAW_PAGES UIK_DRAWING(10)
+#define SD_UIK_DRAW_PAGE_MANIPULATOR UIK_DRAWING(11)
-#define SD_UIK_SHAPE UIK_DRAWING(20)
-#define SD_UIK_CONNECTOR UIK_DRAWING(21)
-#define SD_UIK_CONNECTABLE UIK_DRAWING(22)
-#define SD_UIK_SHAPE_3D UIK_DRAWING(23)
+#define SD_UIK_SHAPE UIK_DRAWING(20)
+#define SD_UIK_CONNECTOR UIK_DRAWING(21)
+#define SD_UIK_CONNECTABLE UIK_DRAWING(22)
+#define SD_UIK_SHAPE_3D UIK_DRAWING(23)
#define SD_UIK_SHAPE_GROUP UIK_DRAWING(24)
#define SD_UIK_SHAPE_MIRRORER UIK_DRAWING(25)
-#define SD_UIK_SHAPE_ALIGNER UIK_DRAWING(26)
-#define SD_UIK_SHAPE_ARRANGER UIK_DRAWING(27)
-#define SD_UIK_SHAPE_CONVERTER UIK_DRAWING(28)
-#define SD_UIK_ANIMATOR UIK_DRAWING(29)
+#define SD_UIK_SHAPE_ALIGNER UIK_DRAWING(26)
+#define SD_UIK_SHAPE_ARRANGER UIK_DRAWING(27)
+#define SD_UIK_SHAPE_CONVERTER UIK_DRAWING(28)
+#define SD_UIK_ANIMATOR UIK_DRAWING(29)
-#define SD_UIK_DRAW_PAGE UIK_DRAWING(30)
-#define SD_UIK_SHAPES UIK_DRAWING(31)
-#define SD_UIK_GROUP UIK_DRAWING(32)
+#define SD_UIK_DRAW_PAGE UIK_DRAWING(30)
+#define SD_UIK_SHAPES UIK_DRAWING(31)
+#define SD_UIK_GROUP UIK_DRAWING(32)
#define SD_UIK_COMBINE UIK_DRAWING(33)
#define SD_UIK_CONNECT UIK_DRAWING(34)
#define SD_UIK_CONNECT UIK_DRAWING(35)
@@ -59,12 +59,12 @@
#define SD_UIK_PRESENTATION UIK_DRAWING(40)
#define SD_UIK_PRESENTATION_NAVIGATION UIK_DRAWING(41)
#define SD_UIK_CUSTOM_PRESENTATION UIK_DRAWING(42)
-#define SD_UIK_CUSTOM_PRESENTATIONS UIK_DRAWING(43)
-#define SD_UIK_CUSTOM_PRESENTATIONS UIK_DRAWING(44)
+#define SD_UIK_CUSTOM_PRESENTATIONS UIK_DRAWING(43)
+#define SD_UIK_CUSTOM_PRESENTATIONS UIK_DRAWING(44)
-#define SD_UIK_ZOOM UIK_DRAWING(50)
-#define SD_UIK_DRAW_VIEW UIK_DRAWING(51)
-#define SD_UIK_OUTLINE_VIEW UIK_DRAWING(52)
+#define SD_UIK_ZOOM UIK_DRAWING(50)
+#define SD_UIK_DRAW_VIEW UIK_DRAWING(51)
+#define SD_UIK_OUTLINE_VIEW UIK_DRAWING(52)
#define SD_UIK_SLIDE_VIEW UIK_DRAWING(53)
#define SD_UIK_SLIDE_VIEW UIK_DRAWING(53)
diff --git a/sd/inc/sdundo.hxx b/sd/inc/sdundo.hxx
index bbf39e2076b0..daa0b534d032 100644
--- a/sd/inc/sdundo.hxx
+++ b/sd/inc/sdundo.hxx
@@ -2,7 +2,7 @@
/*************************************************************************
*
* 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
@@ -40,9 +40,9 @@ public:
TYPEINFO();
SdUndoAction(SdDrawDocument* pSdDrawDocument)
: mpDoc(pSdDrawDocument) {}
- virtual ~SdUndoAction() {}
+ virtual ~SdUndoAction() {}
- void SetComment(String& rStr) { maComment = rStr; }
+ void SetComment(String& rStr) { maComment = rStr; }
virtual String GetComment() const { return maComment; }
virtual SdUndoAction* Clone() const { return NULL; }
@@ -51,6 +51,6 @@ protected:
String maComment;
};
-#endif // _SD_SDUNDO_HXX
+#endif // _SD_SDUNDO_HXX
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/sd/inc/sdxmlwrp.hxx b/sd/inc/sdxmlwrp.hxx
index 46f534c509b2..0ca8aa1a07e9 100644
--- a/sd/inc/sdxmlwrp.hxx
+++ b/sd/inc/sdxmlwrp.hxx
@@ -2,7 +2,7 @@
/*************************************************************************
*
* 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
@@ -37,18 +37,18 @@
enum SdXMLFilterMode
{
- SDXMLMODE_Normal, // standard load and save of the complete document
- SDXMLMODE_Preview, // only for import, only the first draw page and its master page is loaded
- SDXMLMODE_Organizer // only for import, only the styles are loaded
+ SDXMLMODE_Normal, // standard load and save of the complete document
+ SDXMLMODE_Preview, // only for import, only the first draw page and its master page is loaded
+ SDXMLMODE_Organizer // only for import, only the styles are loaded
};
class SdXMLFilter : public SdFilter
{
public:
- SdXMLFilter(
- SfxMedium& rMedium,
- ::sd::DrawDocShell& rDocShell,
- sal_Bool bShowProgress,
+ SdXMLFilter(
+ SfxMedium& rMedium,
+ ::sd::DrawDocShell& rDocShell,
+ sal_Bool bShowProgress,
SdXMLFilterMode eFilterMode = SDXMLMODE_Normal,
ULONG nStoreVer = SOFFICE_FILEFORMAT_8 );
virtual ~SdXMLFilter (void);
@@ -61,6 +61,6 @@ private:
ULONG mnStoreVer;
};
-#endif // _SDXMLWRP_HXX
+#endif // _SDXMLWRP_HXX
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/sd/inc/shapelist.hxx b/sd/inc/shapelist.hxx
index f2b97694bb5e..4896d062e122 100644
--- a/sd/inc/shapelist.hxx
+++ b/sd/inc/shapelist.hxx
@@ -2,7 +2,7 @@
/*************************************************************************
*
* 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
@@ -76,7 +76,7 @@ namespace sd
bool hasMore() const;
const std::list< SdrObject* >& getList() const { return maShapeList; }
-
+
private:
virtual void ObjectInDestruction(const SdrObject& rObject);
@@ -86,6 +86,6 @@ namespace sd
};
}
-#endif // _SHAPELIST_HXX
+#endif // _SHAPELIST_HXX
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/sd/inc/stlfamily.hxx b/sd/inc/stlfamily.hxx
index 9f1d21b2713a..5d97f16a350b 100644
--- a/sd/inc/stlfamily.hxx
+++ b/sd/inc/stlfamily.hxx
@@ -2,7 +2,7 @@
/*************************************************************************
*
* 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
@@ -88,9 +88,9 @@ public:
virtual css::uno::Any SAL_CALL getByIndex( sal_Int32 Index ) throw(css::lang::IndexOutOfBoundsException, css::lang::WrappedTargetException, css::uno::RuntimeException);
// XNameContainer
- virtual void SAL_CALL insertByName( const ::rtl::OUString& aName, const css::uno::Any& aElement ) throw(css::lang::IllegalArgumentException, css::container::ElementExistException, css::lang::WrappedTargetException, css::uno::RuntimeException);
- virtual void SAL_CALL removeByName( const ::rtl::OUString& Name ) throw(css::container::NoSuchElementException, css::lang::WrappedTargetException, css::uno::RuntimeException);
-
+ virtual void SAL_CALL insertByName( const ::rtl::OUString& aName, const css::uno::Any& aElement ) throw(css::lang::IllegalArgumentException, css::container::ElementExistException, css::lang::WrappedTargetException, css::uno::RuntimeException);
+ virtual void SAL_CALL removeByName( const ::rtl::OUString& Name ) throw(css::container::NoSuchElementException, css::lang::WrappedTargetException, css::uno::RuntimeException);
+
// XNameReplace
virtual void SAL_CALL replaceByName( const ::rtl::OUString& aName, const css::uno::Any& aElement ) throw(css::lang::IllegalArgumentException, css::container::NoSuchElementException, css::lang::WrappedTargetException, css::uno::RuntimeException);
@@ -119,11 +119,11 @@ private:
SfxStyleFamily mnFamily;
rtl::Reference< SfxStyleSheetPool > mxPool;
- SdStyleFamilyImpl* mpImpl;
+ SdStyleFamilyImpl* mpImpl;
};
typedef rtl::Reference< SdStyleFamily > SdStyleFamilyRef;
-#endif // _SD_STLFAMILY_HXX
+#endif // _SD_STLFAMILY_HXX
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/sd/inc/stlpool.hxx b/sd/inc/stlpool.hxx
index 93197a03c730..212892c5ffd7 100644
--- a/sd/inc/stlpool.hxx
+++ b/sd/inc/stlpool.hxx
@@ -2,7 +2,7 @@
/*************************************************************************
*
* 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
@@ -65,8 +65,8 @@ class SdStyleSheetPool : public SdStyleSheetPoolBase, public SfxListener
public:
SdStyleSheetPool(SfxItemPool const& rPool, SdDrawDocument* pDocument);
- void SetActualStyleSheet(SfxStyleSheetBase* pActStyleSheet) { mpActualStyleSheet = pActStyleSheet; }
- SfxStyleSheetBase* GetActualStyleSheet() { return mpActualStyleSheet; }
+ void SetActualStyleSheet(SfxStyleSheetBase* pActStyleSheet) { mpActualStyleSheet = pActStyleSheet; }
+ SfxStyleSheetBase* GetActualStyleSheet() { return mpActualStyleSheet; }
SfxStyleSheetBase* GetTitleSheet(const String& rLayoutName);
@@ -76,27 +76,27 @@ public:
/** creates all layout style sheets for the givin layout name if they
don't exist yet.
- @param rLayoutName Must be the name of a master page
- @param bCheck If set to true, the debug version will assert if a style
+ @param rLayoutName Must be the name of a master page
+ @param bCheck If set to true, the debug version will assert if a style
had to be created. This is used to assert errors in documents
when styles are missing.
*/
SD_DLLPUBLIC void CreateLayoutStyleSheets(const String& rLayoutName, sal_Bool bCheck = sal_False );
List* CreateLayoutSheetNames(const String& rLayoutName) const;
- void CreateLayoutSheetList(const String& rLayoutName, SdStyleSheetVector& rLayoutSheets);
+ void CreateLayoutSheetList(const String& rLayoutName, SdStyleSheetVector& rLayoutSheets);
void CopyLayoutSheets(const String& rLayoutName, SdStyleSheetPool& rSourcePool, SdStyleSheetVector& rCreatedSheets );
void CopyGraphicSheets(SdStyleSheetPool& rSourcePool);
void CopyCellSheets(SdStyleSheetPool& rSourcePool);
void CopyTableStyles(SdStyleSheetPool& rSourcePool);
void CreatePseudosIfNecessary();
- void UpdateStdNames();
- static void PutNumBulletItem( SfxStyleSheetBase* pSheet, Font& rBulletFont );
+ void UpdateStdNames();
+ static void PutNumBulletItem( SfxStyleSheetBase* pSheet, Font& rBulletFont );
Font GetBulletFont() const;
- SdDrawDocument* GetDoc() const { return mpDoc; }
+ SdDrawDocument* GetDoc() const { return mpDoc; }
- static SdStyleSheetVector CreateChildList( SdStyleSheet* pSheet );
+ static SdStyleSheetVector CreateChildList( SdStyleSheet* pSheet );
public:
@@ -140,15 +140,15 @@ protected:
void RemoveStyleFamily( const SdPage* pPage );
private:
- SfxStyleSheetBase* mpActualStyleSheet;
- SdDrawDocument* mpDoc;
- SdStyleFamilyRef mxGraphicFamily;
- SdStyleFamilyRef mxCellFamily;
- SdStyleFamilyMap maStyleFamilyMap;
+ SfxStyleSheetBase* mpActualStyleSheet;
+ SdDrawDocument* mpDoc;
+ SdStyleFamilyRef mxGraphicFamily;
+ SdStyleFamilyRef mxCellFamily;
+ SdStyleFamilyMap maStyleFamilyMap;
::com::sun::star::uno::Reference< ::com::sun::star::container::XNameAccess > mxTableFamily;
- rtl::OUString msTableFamilyName;
+ rtl::OUString msTableFamilyName;
};
-#endif // _SD_STLPOOL_HXX
+#endif // _SD_STLPOOL_HXX
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/sd/inc/stlsheet.hxx b/sd/inc/stlsheet.hxx
index 633510d7633e..d7d7c6ed8cc5 100644
--- a/sd/inc/stlsheet.hxx
+++ b/sd/inc/stlsheet.hxx
@@ -2,7 +2,7 @@
/*************************************************************************
*
* 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
@@ -50,7 +50,7 @@
class ModifyListenerForewarder;
-typedef cppu::ImplInheritanceHelper5< SfxUnoStyleSheet,
+typedef cppu::ImplInheritanceHelper5< SfxUnoStyleSheet,
::com::sun::star::beans::XPropertySet,
::com::sun::star::lang::XServiceInfo,
::com::sun::star::beans::XPropertyState,
@@ -63,14 +63,14 @@ public:
SdStyleSheet( const rtl::OUString& rDisplayName, SfxStyleSheetBasePool& rPool, SfxStyleFamily eFamily, USHORT nMask );
SdStyleSheet( const SdStyleSheet& );
- virtual BOOL SetParent (const String& rParentName);
+ virtual BOOL SetParent (const String& rParentName);
virtual SfxItemSet& GetItemSet();
- virtual BOOL IsUsed() const;
- virtual BOOL HasFollowSupport() const;
- virtual BOOL HasParentSupport() const;
- virtual BOOL HasClearParentSupport() const;
- virtual BOOL SetName( const UniString& );
- virtual void SetHelpId( const String& r, ULONG nId );
+ virtual BOOL IsUsed() const;
+ virtual BOOL HasFollowSupport() const;
+ virtual BOOL HasParentSupport() const;
+ virtual BOOL HasClearParentSupport() const;
+ virtual BOOL SetName( const UniString& );
+ virtual void SetHelpId( const String& r, ULONG nId );
void AdjustToFontHeight(SfxItemSet& rSet, BOOL bOnlyMissingItems = TRUE);
@@ -135,13 +135,13 @@ protected:
virtual void Store(SvStream& rOut);
virtual void Notify(SfxBroadcaster& rBC, const SfxHint& rHint);
- virtual ~SdStyleSheet();
+ virtual ~SdStyleSheet();
void throwIfDisposed() throw (::com::sun::star::uno::RuntimeException);
virtual void disposing();
- rtl::OUString msApiName;
+ rtl::OUString msApiName;
rtl::Reference< SfxStyleSheetBasePool > mxPool;
/** boradcast helper for events */
@@ -150,13 +150,13 @@ protected:
boost::scoped_ptr< ModifyListenerForewarder > mpModifyListenerForewarder;
private:
- SdStyleSheet& operator=( const SdStyleSheet& ); // not implemented
+ SdStyleSheet& operator=( const SdStyleSheet& ); // not implemented
};
typedef rtl::Reference< SdStyleSheet > SdStyleSheetRef;
typedef std::vector< SdStyleSheetRef > SdStyleSheetVector;
-#endif // _SD_STLSHEET_HXX
+#endif // _SD_STLSHEET_HXX
diff --git a/sd/inc/strmname.h b/sd/inc/strmname.h
index 04de56085f19..8d8c929cb538 100644
--- a/sd/inc/strmname.h
+++ b/sd/inc/strmname.h
@@ -2,7 +2,7 @@
/*************************************************************************
*
* 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
diff --git a/sd/inc/textapi.hxx b/sd/inc/textapi.hxx
index e3691ff3f837..5fa582174706 100644
--- a/sd/inc/textapi.hxx
+++ b/sd/inc/textapi.hxx
@@ -2,7 +2,7 @@
/*************************************************************************
*
* 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
@@ -49,13 +49,13 @@ class TextApiObject : public SvxUnoText
public:
static rtl::Reference< TextApiObject > create( SdDrawDocument* pDoc );
- virtual ~TextApiObject() throw();
-
+ virtual ~TextApiObject() throw();
+
virtual void SAL_CALL dispose() throw(::com::sun::star::uno::RuntimeException);
-
+
OutlinerParaObject* CreateText();
- void SetText( OutlinerParaObject& rText );
- String GetText();
+ void SetText( OutlinerParaObject& rText );
+ String GetText();
static TextApiObject* getImplementation( const ::com::sun::star::uno::Reference< ::com::sun::star::text::XText >& );
diff --git a/sd/inc/undo/undofactory.hxx b/sd/inc/undo/undofactory.hxx
index 6ac774ce8f50..cd1e7d6bec80 100644
--- a/sd/inc/undo/undofactory.hxx
+++ b/sd/inc/undo/undofactory.hxx
@@ -2,7 +2,7 @@
/*************************************************************************
*
* 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
@@ -48,6 +48,6 @@ public:
}
-#endif // _SD_UNDOMANAGER_HXX
+#endif // _SD_UNDOMANAGER_HXX
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/sd/inc/undo/undomanager.hxx b/sd/inc/undo/undomanager.hxx
index 9702fff68ac5..75ad9e4045ce 100644
--- a/sd/inc/undo/undomanager.hxx
+++ b/sd/inc/undo/undomanager.hxx
@@ -2,7 +2,7 @@
/*************************************************************************
*
* 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
@@ -41,15 +41,15 @@ public:
UndoManager( USHORT nMaxUndoActionCount = 20 );
virtual void EnterListAction(const UniString &rComment, const UniString& rRepeatComment, USHORT nId=0);
- virtual void LeaveListAction();
+ virtual void LeaveListAction();
- virtual void AddUndoAction( SfxUndoAction *pAction, BOOL bTryMerg=FALSE );
+ virtual void AddUndoAction( SfxUndoAction *pAction, BOOL bTryMerg=FALSE );
- bool isInListAction() const { return mnListLevel != 0; }
- bool isInUndo() const { return maIsInUndoLock.isLocked(); }
+ bool isInListAction() const { return mnListLevel != 0; }
+ bool isInUndo() const { return maIsInUndoLock.isLocked(); }
- virtual BOOL Undo( USHORT nCount=1 );
- virtual BOOL Redo( USHORT nCount=1 );
+ virtual BOOL Undo( USHORT nCount=1 );
+ virtual BOOL Redo( USHORT nCount=1 );
/** Set or reset the undo manager linked with the called undo manager.
*/
@@ -59,7 +59,7 @@ private:
using SfxUndoManager::Undo;
using SfxUndoManager::Redo;
- int mnListLevel;
+ int mnListLevel;
ScopeLock maIsInUndoLock;
/** Used when the outline view is visible as a last resort to
@@ -79,6 +79,6 @@ private:
}
-#endif // _SD_UNDOMANAGER_HXX
+#endif // _SD_UNDOMANAGER_HXX
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/sd/inc/undo/undoobjects.hxx b/sd/inc/undo/undoobjects.hxx
index 6b53e4b2f3ed..c0975ed1e3aa 100644
--- a/sd/inc/undo/undoobjects.hxx
+++ b/sd/inc/undo/undoobjects.hxx
@@ -2,7 +2,7 @@
/*************************************************************************
*
* 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
@@ -53,9 +53,9 @@ protected:
virtual void Redo();
private:
- SfxUndoAction* mpUndoUsercall;
- SfxUndoAction* mpUndoAnimation;
- SfxUndoAction* mpUndoPresObj;
+ SfxUndoAction* mpUndoUsercall;
+ SfxUndoAction* mpUndoAnimation;
+ SfxUndoAction* mpUndoPresObj;
};
///////////////////////////////////////////////////////////////////////
@@ -113,7 +113,7 @@ public:
private:
SfxUndoAction* mpUndoAnimation;
- bool mbNewEmptyPresObj;
+ bool mbNewEmptyPresObj;
SdrObjectWeakRef mxSdrObject;
};
@@ -129,8 +129,8 @@ public:
virtual void Redo();
protected:
- SdrObjUserCall* mpOldUserCall;
- SdrObjUserCall* mpNewUserCall;
+ SdrObjUserCall* mpOldUserCall;
+ SdrObjUserCall* mpNewUserCall;
SdrObjectWeakRef mxSdrObject;
};
@@ -200,6 +200,6 @@ protected:
} // namespace sd
-#endif // _SD_UNDOOBJECTS_HXX
+#endif // _SD_UNDOOBJECTS_HXX
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/sd/inc/undoanim.hxx b/sd/inc/undoanim.hxx
index 9af802794671..0e626c5d4b2c 100644
--- a/sd/inc/undoanim.hxx
+++ b/sd/inc/undoanim.hxx
@@ -2,7 +2,7 @@
/*************************************************************************
*
* 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
@@ -54,7 +54,7 @@ public:
virtual String GetComment() const;
private:
- UndoAnimationImpl* mpImpl;
+ UndoAnimationImpl* mpImpl;
};
struct UndoAnimationPathImpl;
@@ -87,7 +87,7 @@ public:
virtual String GetComment() const;
private:
- UndoTransitionImpl* mpImpl;
+ UndoTransitionImpl* mpImpl;
};
}
diff --git a/sd/sdi/SlideSorterController.sdi b/sd/sdi/SlideSorterController.sdi
index a261f7a7d14a..38115b852bb9 100644
--- a/sd/sdi/SlideSorterController.sdi
+++ b/sd/sdi/SlideSorterController.sdi
@@ -1,7 +1,7 @@
/*************************************************************************
*
* 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
diff --git a/sd/sdi/ToolPanelViewShell.sdi b/sd/sdi/ToolPanelViewShell.sdi
index a72342c52da5..c954a6312089 100644
--- a/sd/sdi/ToolPanelViewShell.sdi
+++ b/sd/sdi/ToolPanelViewShell.sdi
@@ -1,6 +1,6 @@
/*************************************************************************
* 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
@@ -177,26 +177,26 @@ SfxVoidItem TaskPaneEditMaster SID_TP_EDIT_MASTER
SfxVoidItem TaskPaneInsertPage SID_INSERTPAGE_LAYOUT_MENU
[
- /* flags: */
- AutoUpdate = FALSE,
- Cachable = Cachable,
- FastCall = FALSE,
- HasCoreId = FALSE,
- HasDialog = FALSE,
- ReadOnlyDoc = FALSE,
- Toggle = FALSE,
- Container = FALSE,
- RecordAbsolute = FALSE,
+ /* flags: */
+ AutoUpdate = FALSE,
+ Cachable = Cachable,
+ FastCall = FALSE,
+ HasCoreId = FALSE,
+ HasDialog = FALSE,
+ ReadOnlyDoc = FALSE,
+ Toggle = FALSE,
+ Container = FALSE,
+ RecordAbsolute = FALSE,
RecordPerSet;
Synchron;
Readonly = TRUE,
- /* config: */
- AccelConfig = TRUE,
- MenuConfig = TRUE,
- StatusBarConfig = FALSE,
- ToolBoxConfig = TRUE,
+ /* config: */
+ AccelConfig = TRUE,
+ MenuConfig = TRUE,
+ StatusBarConfig = FALSE,
+ ToolBoxConfig = TRUE,
GroupId = GID_INSERT;
]
diff --git a/sd/sdi/ViewShellBase.sdi b/sd/sdi/ViewShellBase.sdi
index 3602e711db1b..82eaced38258 100755
--- a/sd/sdi/ViewShellBase.sdi
+++ b/sd/sdi/ViewShellBase.sdi
@@ -1,7 +1,7 @@
/*************************************************************************
*
* 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
diff --git a/sd/sdi/_docsh.sdi b/sd/sdi/_docsh.sdi
index c63d20c0f5f6..cb534cf5cdc8 100644
--- a/sd/sdi/_docsh.sdi
+++ b/sd/sdi/_docsh.sdi
@@ -1,7 +1,7 @@
/*************************************************************************
*
* 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
diff --git a/sd/sdi/_drvwsh.sdi b/sd/sdi/_drvwsh.sdi
index b8200ec93d5e..c57424bac1a0 100755
--- a/sd/sdi/_drvwsh.sdi
+++ b/sd/sdi/_drvwsh.sdi
@@ -1,7 +1,7 @@
/*************************************************************************
*
* 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
@@ -715,7 +715,7 @@ interface DrawView
ExecMethod = FuPermanent ;
StateMethod = GetMenuState ;
]
-
+
SID_OBJECT_CROP // ole : no, status : play rec
[
ExecMethod = FuPermanent ;
@@ -2207,13 +2207,13 @@ interface DrawView
ExecMethod = FuSupport ;
StateMethod = GetMenuState ;
]
-
+
SID_FORMATPAINTBRUSH //
[
ExecMethod = FuPermanent ;
StateMethod = GetMenuState ;
]
-
+
SID_HEADER_AND_FOOTER // ole : no, status : ?
[
ExecMethod = ExecCtrl ;
@@ -2231,13 +2231,13 @@ interface DrawView
ExecMethod = ExecCtrl ;
StateMethod = GetMenuState ;
]
-
+
SID_MASTER_LAYOUTS
[
ExecMethod = ExecCtrl ;
StateMethod = GetMenuState ;
]
-
+
SID_OPT_LOCALE_CHANGED // ole : no, status : ?
[
ExecMethod = ExecCtrl ;
@@ -2288,7 +2288,7 @@ interface DrawView
[
ExecMethod = FuTemporary ;
StateMethod = GetMenuState ;
- ]
+ ]
SID_EXTRUSION_DIRECTION_FLOATER
[
ExecMethod = FuTemporary ;
@@ -2388,17 +2388,17 @@ interface DrawView
[
ExecMethod = FuTemporary ;
StateMethod = GetMenuState ;
- ]
+ ]
SID_DRAW_FONTWORK
[
ExecMethod = FuTemporary ;
StateMethod = GetMenuState ;
- ]
+ ]
SID_DRAW_FONTWORK_VERTICAL
[
ExecMethod = FuTemporary ;
StateMethod = GetMenuState ;
- ]
+ ]
SID_DRAWTBX_CS_BASIC
[
ExecMethod = FuPermanent ;
@@ -2433,7 +2433,7 @@ interface DrawView
[
ExecMethod = FuPermanent ;
StateMethod = GetMenuState ;
- ]
+ ]
SID_AVMEDIA_PLAYER // ole : yes, status : ?
[
ExecMethod = FuTemporary ;
diff --git a/sd/sdi/docshell.sdi b/sd/sdi/docshell.sdi
index b69a5bc9c041..7817dee02fc6 100644
--- a/sd/sdi/docshell.sdi
+++ b/sd/sdi/docshell.sdi
@@ -1,7 +1,7 @@
/*************************************************************************
*
* 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
diff --git a/sd/sdi/drtxtob.sdi b/sd/sdi/drtxtob.sdi
index f4133f0f4643..a2d48deece88 100755
--- a/sd/sdi/drtxtob.sdi
+++ b/sd/sdi/drtxtob.sdi
@@ -74,63 +74,63 @@ shell TextObjectBar
[
ExecMethod = Execute;
StateMethod = GetAttrState;
-// Cachable, AutoUpdate;
+// Cachable, AutoUpdate;
]
SID_ATTR_PARA_ADJUST_CENTER // ole : ?, status : ?
[
ExecMethod = Execute;
StateMethod = GetAttrState;
-// Cachable, AutoUpdate;
+// Cachable, AutoUpdate;
]
SID_ATTR_PARA_ADJUST_RIGHT // ole : ?, status : ?
[
ExecMethod = Execute;
StateMethod = GetAttrState;
-// Cachable, AutoUpdate;
+// Cachable, AutoUpdate;
]
SID_ATTR_PARA_ADJUST_BLOCK // ole : ?, status : ?
[
ExecMethod = Execute;
StateMethod = GetAttrState;
-// Cachable, AutoUpdate;
+// Cachable, AutoUpdate;
]
SID_ATTR_PARA_LEFT_TO_RIGHT // ole : ?, status : ?
[
ExecMethod = Execute;
StateMethod = GetAttrState;
-// Cachable, AutoUpdate;
+// Cachable, AutoUpdate;
]
SID_ATTR_PARA_RIGHT_TO_LEFT // ole : ?, status : ?
[
ExecMethod = Execute;
StateMethod = GetAttrState;
-// Cachable, AutoUpdate;
+// Cachable, AutoUpdate;
]
SID_ATTR_PARA_LINESPACE_10 // ole : ?, status : ?
[
ExecMethod = Execute;
StateMethod = GetAttrState;
-// Cachable, AutoUpdate;
+// Cachable, AutoUpdate;
]
SID_ATTR_PARA_LINESPACE_15 // ole : ?, status : ?
[
ExecMethod = Execute;
StateMethod = GetAttrState;
-// Cachable, AutoUpdate;
+// Cachable, AutoUpdate;
]
SID_ATTR_PARA_LINESPACE_20 // ole : ?, status : ?
[
ExecMethod = Execute;
StateMethod = GetAttrState;
-// Cachable, AutoUpdate;
+// Cachable, AutoUpdate;
]
SID_SET_SUPER_SCRIPT // ole : ?, status : ?
@@ -208,5 +208,5 @@ shell TextObjectBar
StateMethod = GetAttrState ;
]
-
+
}
diff --git a/sd/sdi/drviewsh.sdi b/sd/sdi/drviewsh.sdi
index 600bbdf19a06..c2465d5cc720 100644
--- a/sd/sdi/drviewsh.sdi
+++ b/sd/sdi/drviewsh.sdi
@@ -1,7 +1,7 @@
/*************************************************************************
*
* 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
@@ -211,12 +211,12 @@ interface ImpressEditView : DrawView
[
ExecMethod = ExecuteAnnotation;
StateMethod = GetAnnotationState;
- ]
+ ]
SID_DELETEALLBYAUTHOR_POSTIT
[
ExecMethod = ExecuteAnnotation;
StateMethod = GetAnnotationState;
- ]
+ ]
}
shell DrawViewShell
diff --git a/sd/sdi/grdocsh.sdi b/sd/sdi/grdocsh.sdi
index d033c02b2824..865d6d83465e 100644
--- a/sd/sdi/grdocsh.sdi
+++ b/sd/sdi/grdocsh.sdi
@@ -1,7 +1,7 @@
/*************************************************************************
*
* 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
diff --git a/sd/sdi/grviewsh.sdi b/sd/sdi/grviewsh.sdi
index 7fd5b74cb7c0..cce326b1a97b 100644
--- a/sd/sdi/grviewsh.sdi
+++ b/sd/sdi/grviewsh.sdi
@@ -1,7 +1,7 @@
/*************************************************************************
*
* 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
@@ -81,7 +81,7 @@ shell GraphicViewShell
[
ExecMethod = ExecuteAnnotation;
StateMethod = GetAnnotationState;
- ]
+ ]
SID_DELETEALLBYAUTHOR_POSTIT
[
ExecMethod = ExecuteAnnotation;
diff --git a/sd/sdi/outlnvsh.sdi b/sd/sdi/outlnvsh.sdi
index 9639f1adc9dc..e4f3b2a6482f 100755
--- a/sd/sdi/outlnvsh.sdi
+++ b/sd/sdi/outlnvsh.sdi
@@ -1,7 +1,7 @@
/*************************************************************************
*
* 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
@@ -80,7 +80,7 @@ interface OutlineView
[
ExecMethod = FuTemporary ;
StateMethod = GetStatusBarState ;
- ]
+ ]
SID_ZOOM_OUT // ole : no, status : play rec
[
ExecMethod = FuTemporary ;
diff --git a/sd/sdi/sdgslots.sdi b/sd/sdi/sdgslots.sdi
index e52bd8ea59e8..54634565d554 100644
--- a/sd/sdi/sdgslots.sdi
+++ b/sd/sdi/sdgslots.sdi
@@ -1,7 +1,7 @@
/*************************************************************************
*
* 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
diff --git a/sd/sdi/sdnew.sdi b/sd/sdi/sdnew.sdi
index 2c94a4d59786..9b5e9e32c94c 100644
--- a/sd/sdi/sdnew.sdi
+++ b/sd/sdi/sdnew.sdi
@@ -56,22 +56,22 @@ SvxObjectItem RulerObject SID_RULER_OBJECT
SfxBoolItem OutputQualityContrast SID_OUTPUT_QUALITY_CONTRAST
[
- /* flags: */
- AutoUpdate = FALSE,
- Cachable = Cachable,
- FastCall = FALSE,
- HasCoreId = FALSE,
- HasDialog = FALSE,
- ReadOnlyDoc = TRUE,
- Toggle = FALSE,
- Container = FALSE,
+ /* flags: */
+ AutoUpdate = FALSE,
+ Cachable = Cachable,
+ FastCall = FALSE,
+ HasCoreId = FALSE,
+ HasDialog = FALSE,
+ ReadOnlyDoc = TRUE,
+ Toggle = FALSE,
+ Container = FALSE,
Asynchron;
- Readonly = FALSE,
- /* config: */
- AccelConfig = TRUE,
- MenuConfig = TRUE,
- StatusBarConfig = FALSE,
- ToolBoxConfig = TRUE,
+ Readonly = FALSE,
+ /* config: */
+ AccelConfig = TRUE,
+ MenuConfig = TRUE,
+ StatusBarConfig = FALSE,
+ ToolBoxConfig = TRUE,
GroupId = GID_VIEW;
]
diff --git a/sd/sdi/sdslots.hrc b/sd/sdi/sdslots.hrc
index 472f794be479..5001e9fce283 100644
--- a/sd/sdi/sdslots.hrc
+++ b/sd/sdi/sdslots.hrc
@@ -1,7 +1,7 @@
/*************************************************************************
*
* 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
diff --git a/sd/sdi/sdslots.sdi b/sd/sdi/sdslots.sdi
index fbfc8da1903b..10c07bbffc78 100755
--- a/sd/sdi/sdslots.sdi
+++ b/sd/sdi/sdslots.sdi
@@ -1,7 +1,7 @@
/*************************************************************************
*
* 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
@@ -103,6 +103,6 @@ ModulePrefix( "Sd" )
include "SlideSorterController.sdi"
include "ViewShellBase.sdi"
include "mediaob.sdi"
- include "tables.sdi"
+ include "tables.sdi"
include "ToolPanelViewShell.sdi"
}
diff --git a/sd/sdi/tables.sdi b/sd/sdi/tables.sdi
index 8126df09b75a..9dc9f5951410 100644
--- a/sd/sdi/tables.sdi
+++ b/sd/sdi/tables.sdi
@@ -1,7 +1,7 @@
/*************************************************************************
*
* 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
@@ -31,7 +31,7 @@ shell TableObjectBar
[
ExecMethod = Execute ;
StateMethod = GetState ;
- ]
+ ]
SID_FRAME_LINESTYLE
[
ExecMethod = Execute;
@@ -42,7 +42,7 @@ shell TableObjectBar
ExecMethod = Execute;
StateMethod = GetAttrState;
]
- SID_ATTR_BORDER
+ SID_ATTR_BORDER
[
ExecMethod = Execute;
StateMethod = GetAttrState;
diff --git a/sd/source/core/CustomAnimationCloner.cxx b/sd/source/core/CustomAnimationCloner.cxx
index 4b7cf5dee74c..b1a7e9bf45b3 100644
--- a/sd/source/core/CustomAnimationCloner.cxx
+++ b/sd/source/core/CustomAnimationCloner.cxx
@@ -2,7 +2,7 @@
/*************************************************************************
*
* 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
diff --git a/sd/source/core/CustomAnimationEffect.cxx b/sd/source/core/CustomAnimationEffect.cxx
index 0c51d6739187..2ee456775ad8 100644
--- a/sd/source/core/CustomAnimationEffect.cxx
+++ b/sd/source/core/CustomAnimationEffect.cxx
@@ -2,7 +2,7 @@
/*************************************************************************
*
* 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
@@ -111,7 +111,7 @@ using ::com::sun::star::util::XChangesNotifier;
using ::com::sun::star::util::XChangesListener;
namespace sd
-{
+{
class MainSequenceChangeGuard
{
public:
@@ -141,7 +141,7 @@ private:
};
CustomAnimationEffect::CustomAnimationEffect( const ::com::sun::star::uno::Reference< ::com::sun::star::animations::XAnimationNode >& xNode )
-: mnNodeType(-1),
+: mnNodeType(-1),
mnPresetClass(-1),
mfBegin(-1.0),
mfDuration(-1.0),
@@ -358,7 +358,7 @@ sal_Int32 CustomAnimationEffect::getNumberOfSubitems( const Any& aTarget, sal_In
}
else
{
- sal_Int32 nDone;
+ sal_Int32 nDone;
for( nPos = 0; nPos < nEndPos; nPos++ )
{
nPos = xBI->nextCharacters(aText, nPos, aLocale, i18n::CharacterIteratorMode::SKIPCELL, 0, nDone);
@@ -644,7 +644,7 @@ bool CustomAnimationEffect::calculateIterateDuration()
}
}
- // if we also animate the form first, we have to add the
+ // if we also animate the form first, we have to add the
// sub effect duration to the whole effect duration
if( mnTargetSubItem == ShapeAnimationSubType::AS_WHOLE )
fDuration += fSubEffectDuration;
@@ -697,7 +697,7 @@ void CustomAnimationEffect::setTarget( const ::com::sun::star::uno::Any& rTarget
Reference< XCommand > xCommand( aElem, UNO_QUERY );
if( xCommand.is() )
xCommand->setTarget( rTarget );
- }
+ }
}
}
}
@@ -757,7 +757,7 @@ void CustomAnimationEffect::setDuration( double fDuration )
double fScale = fDuration / mfDuration;
mfDuration = fDuration;
mfAbsoluteDuration = mfDuration;
-
+
// calculate effect duration and get target shape
Reference< XEnumerationAccess > xEnumerationAccess( mxNode, UNO_QUERY );
if( xEnumerationAccess.is() )
@@ -912,7 +912,7 @@ Reference< XShape > CustomAnimationEffect::getTargetShape() const
// --------------------------------------------------------------------
-Any CustomAnimationEffect::getRepeatCount() const
+Any CustomAnimationEffect::getRepeatCount() const
{
if( mxNode.is() )
{
@@ -927,7 +927,7 @@ Any CustomAnimationEffect::getRepeatCount() const
// --------------------------------------------------------------------
-Any CustomAnimationEffect::getEnd() const
+Any CustomAnimationEffect::getEnd() const
{
if( mxNode.is() )
{
@@ -982,9 +982,9 @@ Reference< XAnimationNode > CustomAnimationEffect::createAfterEffectNode() const
Reference< XMultiServiceFactory > xMsf( ::comphelper::getProcessServiceFactory() );
- const char* pServiceName = maDimColor.hasValue() ?
+ const char* pServiceName = maDimColor.hasValue() ?
"com.sun.star.animations.AnimateColor" : "com.sun.star.animations.AnimateSet";
-
+
Reference< XAnimate > xAnimate( xMsf->createInstance(OUString::createFromAscii(pServiceName) ), UNO_QUERY_THROW );
Any aTo;
@@ -1005,7 +1005,7 @@ Reference< XAnimationNode > CustomAnimationEffect::createAfterEffectNode() const
if( !mbAfterEffectOnNextEffect ) // sameClick
{
Event aEvent;
-
+
aEvent.Source <<= getNode();
aEvent.Trigger = EventTrigger::END_EVENT;
aEvent.Repeat = 0;
@@ -1042,7 +1042,7 @@ void CustomAnimationEffect::setIterateType( sal_Int16 nIterateType )
Reference< XMultiServiceFactory > xMsf( ::comphelper::getProcessServiceFactory() );
const char * pServiceName =
nIterateType ? "com.sun.star.animations.IterateContainer" : "com.sun.star.animations.ParallelTimeContainer";
- Reference< XTimeContainer > xNewContainer(
+ Reference< XTimeContainer > xNewContainer(
xMsf->createInstance( OUString::createFromAscii(pServiceName) ), UNO_QUERY_THROW );
Reference< XTimeContainer > xOldContainer( mxNode, UNO_QUERY_THROW );
@@ -1140,7 +1140,7 @@ void CustomAnimationEffect::setIterateInterval( double fIterateInterval )
// --------------------------------------------------------------------
-::rtl::OUString CustomAnimationEffect::getPath() const
+::rtl::OUString CustomAnimationEffect::getPath() const
{
::rtl::OUString aPath;
@@ -1227,7 +1227,7 @@ Any CustomAnimationEffect::getProperty( sal_Int32 nNodeType, const OUString& rAt
{
Sequence<Any> aValues( xAnimate->getValues() );
if( aValues.hasElements() )
- aProperty = aValues[ eValue == VALUE_FIRST ? 0 : aValues.getLength() - 1 ];
+ aProperty = aValues[ eValue == VALUE_FIRST ? 0 : aValues.getLength() - 1 ];
}
break;
}
@@ -1274,7 +1274,7 @@ bool CustomAnimationEffect::setProperty( sal_Int32 nNodeType, const OUString& rA
case VALUE_FROM:
if( xAnimate->getFrom() != rValue )
{
- xAnimate->setFrom( rValue );
+ xAnimate->setFrom( rValue );
bChanged = true;
}
break;
@@ -1283,9 +1283,9 @@ bool CustomAnimationEffect::setProperty( sal_Int32 nNodeType, const OUString& rA
{
xAnimate->setTo( rValue );
bChanged = true;
- }
+ }
break;
- case VALUE_BY:
+ case VALUE_BY:
if( xAnimate->getTo() != rValue )
{
xAnimate->setBy( rValue );
@@ -1303,7 +1303,7 @@ bool CustomAnimationEffect::setProperty( sal_Int32 nNodeType, const OUString& rA
if( aValues[ nIndex ] != rValue )
{
- aValues[ nIndex ] = rValue;
+ aValues[ nIndex ] = rValue;
xAnimate->setValues( aValues );
bChanged = true;
}
@@ -1424,7 +1424,7 @@ void CustomAnimationEffect::setColor( sal_Int32 nIndex, const Any& rColor )
xAnimate->setTo(rColor);
}
break;
-
+
}
}
}
@@ -1468,7 +1468,7 @@ Any CustomAnimationEffect::getTransformationProperty( sal_Int32 nTransformType,
{
Sequence<Any> aValues( xTransform->getValues() );
if( aValues.hasElements() )
- aProperty = aValues[ eValue == VALUE_FIRST ? 0 : aValues.getLength() - 1 ];
+ aProperty = aValues[ eValue == VALUE_FIRST ? 0 : aValues.getLength() - 1 ];
}
break;
}
@@ -1512,7 +1512,7 @@ bool CustomAnimationEffect::setTransformationProperty( sal_Int32 nTransformType,
case VALUE_FROM:
if( xTransform->getFrom() != rValue )
{
- xTransform->setFrom( rValue );
+ xTransform->setFrom( rValue );
bChanged = true;
}
break;
@@ -1835,7 +1835,7 @@ CustomAnimationEffectPtr EffectSequenceHelper::append( const CustomAnimationPres
}
p++;
}
-
+
if( bFilter )
{
aUserData = ::comphelper::containerToSequence< NamedValue, std::vector< NamedValue > >( aNewUserData );
@@ -1846,9 +1846,9 @@ CustomAnimationEffectPtr EffectSequenceHelper::append( const CustomAnimationPres
Any aTarget( rTarget );
sal_Int16 nSubItem = ShapeAnimationSubType::AS_WHOLE;
- if( aTarget.getValueType() == ::getCppuType((const ParagraphTarget*)0) )
+ if( aTarget.getValueType() == ::getCppuType((const ParagraphTarget*)0) )
{
- nSubItem = ShapeAnimationSubType::ONLY_TEXT;
+ nSubItem = ShapeAnimationSubType::ONLY_TEXT;
}
else if( pPreset->isTextOnly() )
{
@@ -1858,7 +1858,7 @@ CustomAnimationEffectPtr EffectSequenceHelper::append( const CustomAnimationPres
{
// thats bad, we target a shape here but the effect is only for text
// so change subitem
- nSubItem = ShapeAnimationSubType::ONLY_TEXT;
+ nSubItem = ShapeAnimationSubType::ONLY_TEXT;
}
}
@@ -1869,7 +1869,7 @@ CustomAnimationEffectPtr EffectSequenceHelper::append( const CustomAnimationPres
pEffect->setTargetSubItem( nSubItem );
if( fDuration != -1.0 )
pEffect->setDuration( fDuration );
-
+
maEffects.push_back(pEffect);
rebuild();
@@ -1901,8 +1901,8 @@ CustomAnimationEffectPtr EffectSequenceHelper::append( const SdrPathObj& rPathOb
sal_Int16 nSubItem = ShapeAnimationSubType::AS_WHOLE;
- if( rTarget.getValueType() == ::getCppuType((const ParagraphTarget*)0) )
- nSubItem = ShapeAnimationSubType::ONLY_TEXT;
+ if( rTarget.getValueType() == ::getCppuType((const ParagraphTarget*)0) )
+ nSubItem = ShapeAnimationSubType::ONLY_TEXT;
Reference< XAnimationNode > xEffectNode( xEffectContainer, UNO_QUERY_THROW );
pEffect.reset( new CustomAnimationEffect( xEffectNode ) );
@@ -1918,7 +1918,7 @@ CustomAnimationEffectPtr EffectSequenceHelper::append( const SdrPathObj& rPathOb
pEffect->updatePathFromSdrPathObj( rPathObj );
if( fDuration != -1.0 )
pEffect->setDuration( fDuration );
-
+
maEffects.push_back(pEffect);
rebuild();
@@ -2037,7 +2037,7 @@ void EffectSequenceHelper::implRebuild()
Any aBegin( makeAny( aEvent ) );
if( bFirst )
{
- // if the first node is not a click action, this click container
+ // if the first node is not a click action, this click container
// must not have INDEFINITE begin but start at 0s
bFirst = false;
if( pEffect->getNodeType() != EffectNodeType::ON_CLICK )
@@ -2188,8 +2188,8 @@ void stl_process_after_effect_node_func(AfterEffectNode& rNode)
Reference< XTimeContainer > xClickContainer( xContainer->getParent(), UNO_QUERY_THROW );
Reference< XTimeContainer > xSequenceContainer( xClickContainer->getParent(), UNO_QUERY_THROW );
- Reference< XTimeContainer > xNextContainer;
-
+ Reference< XTimeContainer > xNextContainer;
+
// first try if we have an after effect container
if( !implFindNextContainer( xClickContainer, xContainer, xNextContainer ) )
{
@@ -2214,7 +2214,7 @@ void stl_process_after_effect_node_func(AfterEffectNode& rNode)
{
Reference< XAnimationNode > xNode( xNextContainer, UNO_QUERY_THROW );
xNode->setBegin( makeAny( (double)0.0 ) );
-// xNode->setFill( AnimationFill::HOLD );
+// xNode->setFill( AnimationFill::HOLD );
xNextClickContainer->appendChild( xNode );
}
}
@@ -2245,7 +2245,7 @@ void stl_process_after_effect_node_func(AfterEffectNode& rNode)
{
Reference< XAnimationNode > xNode( xNextContainer, UNO_QUERY_THROW );
xNode->setBegin( makeAny( (double)0.0 ) );
-// xNode->setFill( AnimationFill::HOLD );
+// xNode->setFill( AnimationFill::HOLD );
xNewClickContainer->appendChild( xNode );
}
}
@@ -2456,7 +2456,7 @@ void EffectSequenceHelper::disposeTextRange( const com::sun::star::uno::Any& aTa
// --------------------------------------------------------------------
CustomAnimationTextGroup::CustomAnimationTextGroup( const Reference< XShape >& rTarget, sal_Int32 nGroupId )
-: maTarget( rTarget ),
+: maTarget( rTarget ),
mnGroupId( nGroupId )
{
reset();
@@ -2493,7 +2493,7 @@ void CustomAnimationTextGroup::addEffect( CustomAnimationEffectPtr& pEffect )
if( mnLastPara != -1 )
mbTextReverse = mnLastPara > aParaTarget.Paragraph;
-
+
mnLastPara = aParaTarget.Paragraph;
const sal_Int32 nParaDepth = pEffect->getParaDepth();
@@ -2579,7 +2579,7 @@ void EffectSequenceHelper::updateTextGroups()
// --------------------------------------------------------------------
-CustomAnimationTextGroupPtr EffectSequenceHelper::createTextGroup( CustomAnimationEffectPtr pEffect, sal_Int32 nTextGrouping, double fTextGroupingAuto, sal_Bool bAnimateForm, sal_Bool bTextReverse )
+CustomAnimationTextGroupPtr EffectSequenceHelper::createTextGroup( CustomAnimationEffectPtr pEffect, sal_Int32 nTextGrouping, double fTextGroupingAuto, sal_Bool bAnimateForm, sal_Bool bTextReverse )
{
// first finde a free group-id
sal_Int32 nGroupId = 0;
@@ -2601,7 +2601,7 @@ CustomAnimationTextGroupPtr EffectSequenceHelper::createTextGroup( CustomAnimati
Reference< XShape > xTarget( pEffect->getTargetShape() );
- CustomAnimationTextGroupPtr pTextGroup( new CustomAnimationTextGroup( xTarget, nGroupId ) );
+ CustomAnimationTextGroupPtr pTextGroup( new CustomAnimationTextGroup( xTarget, nGroupId ) );
maGroupMap[nGroupId] = pTextGroup;
bool bUsed = false;
@@ -2610,7 +2610,7 @@ CustomAnimationTextGroupPtr EffectSequenceHelper::createTextGroup( CustomAnimati
if( (nTextGrouping == 0) || bAnimateForm )
{
sal_Int16 nSubItem;
- if( nTextGrouping == 0)
+ if( nTextGrouping == 0)
nSubItem = bAnimateForm ? ShapeAnimationSubType::AS_WHOLE : ShapeAnimationSubType::ONLY_TEXT;
else
nSubItem = ShapeAnimationSubType::ONLY_BACKGROUND;
@@ -2666,7 +2666,7 @@ void EffectSequenceHelper::createTextGroupParagraphEffects( CustomAnimationTextG
{
if( bTextReverse ) // sort them
aParaList.push_front( nPara );
- else
+ else
aParaList.push_back( nPara );
}
}
@@ -2835,7 +2835,7 @@ void EffectSequenceHelper::setAnimateForm( CustomAnimationTextGroupPtr pTextGrou
if( bAnimateForm )
{
EffectSequence::iterator aInsertIter( find( (*aIter) ) );
-
+
CustomAnimationEffectPtr pEffect;
if( (aEffects.size() == 1) && ((*aIter)->getTarget().getValueType() != ::getCppuType((const ParagraphTarget*)0) ) )
{
@@ -2854,7 +2854,7 @@ void EffectSequenceHelper::setAnimateForm( CustomAnimationTextGroupPtr pTextGrou
pTextGroup->addEffect( pEffect );
}
-
+
if( !bAnimateForm && (aEffects.size() == 1) )
{
CustomAnimationEffectPtr pEffect( (*aIter) );
@@ -3187,7 +3187,7 @@ void EffectSequenceHelper::processAfterEffect( const Reference< XAnimationNode >
{
(void)e;
DBG_ERROR( "sd::EffectSequenceHelper::processAfterEffect(), exception cought!" );
- }
+ }
}
/*
@@ -3195,7 +3195,7 @@ double EffectSequenceHelper::calculateIterateNodeDuration(
{
Reference< i18n::XBreakIterator > xBI( ImplGetBreakIterator() );
- sal_Int32 nDone;
+ sal_Int32 nDone;
sal_Int32 nNextCellBreak( xBI->nextCharacters(rTxt, nIdx, rLocale, i18n::CharacterIteratorMode::SKIPCELL, 0, nDone) );
i18n::Boundary nNextWordBoundary( xBI->getWordBoundary(rTxt, nIdx, rLocale, i18n::WordType::ANY_WORD, sal_True) );
sal_Int32 nNextSentenceBreak( xBI->endOfSentence(rTxt, nIdx, rLocale) );
@@ -3494,7 +3494,7 @@ CustomAnimationEffectPtr MainSequence::getEffectFromOffset( sal_Int32 nOffset )
{
if( nOffset < getCount() )
return EffectSequenceHelper::getEffectFromOffset( nOffset );
-
+
nOffset -= getCount();
InteractiveSequenceList::const_iterator aIter( maInteractiveSequenceList.begin() );
@@ -3525,7 +3525,7 @@ bool MainSequence::disposeShape( const Reference< XShape >& xShape )
bChanges = true;
}
else
- {
+ {
bChanges |= (*aIter++)->disposeShape( xShape );
}
}
diff --git a/sd/source/core/CustomAnimationPreset.cxx b/sd/source/core/CustomAnimationPreset.cxx
index 8644c9bf625e..9f983671cc5f 100644
--- a/sd/source/core/CustomAnimationPreset.cxx
+++ b/sd/source/core/CustomAnimationPreset.cxx
@@ -2,7 +2,7 @@
/*************************************************************************
*
* 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
@@ -264,7 +264,7 @@ Reference< XAnimationNode > implImportEffects( const Reference< XMultiServiceFac
try
{
// create stream
- SvStream* pIStm = ::utl::UcbStreamHelper::CreateStream( rPath, STREAM_READ );
+ SvStream* pIStm = ::utl::UcbStreamHelper::CreateStream( rPath, STREAM_READ );
Reference<XInputStream> xInputStream( new utl::OInputStreamWrapper( pIStm, sal_True ) );
// prepare ParserInputSrouce
@@ -632,10 +632,10 @@ Reference< XAnimationNode > CustomAnimationPresets::getRandomPreset( sal_Int16 n
const PresetCategoryList* pCategoryList = 0;
switch( nPresetClass )
{
- case EffectPresetClass::ENTRANCE: pCategoryList = &maEntrancePresets; break;
- case EffectPresetClass::EXIT: pCategoryList = &maExitPresets; break;
- case EffectPresetClass::EMPHASIS: pCategoryList = &maEmphasisPresets; break;
- case EffectPresetClass::MOTIONPATH: pCategoryList = &maMotionPathsPresets; break;
+ case EffectPresetClass::ENTRANCE: pCategoryList = &maEntrancePresets; break;
+ case EffectPresetClass::EXIT: pCategoryList = &maExitPresets; break;
+ case EffectPresetClass::EMPHASIS: pCategoryList = &maEmphasisPresets; break;
+ case EffectPresetClass::MOTIONPATH: pCategoryList = &maMotionPathsPresets; break;
default:
pCategoryList = 0;
}
diff --git a/sd/source/core/EffectMigration.cxx b/sd/source/core/EffectMigration.cxx
index 61b1a4c502d2..8300bbc42f01 100644
--- a/sd/source/core/EffectMigration.cxx
+++ b/sd/source/core/EffectMigration.cxx
@@ -2,7 +2,7 @@
/*************************************************************************
*
* 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
@@ -51,105 +51,105 @@ using ::rtl::OUString;
struct deprecated_FadeEffect_conversion_table_entry
{
- FadeEffect meFadeEffect;
+ FadeEffect meFadeEffect;
const sal_Char* mpPresetId;
}
deprecated_FadeEffect_conversion_table[] =
{
// OOo 1.x transitions
- { FadeEffect_FADE_FROM_LEFT, "wipe-right" },
- { FadeEffect_FADE_FROM_TOP, "wipe-down" },
- { FadeEffect_FADE_FROM_RIGHT, "wipe-left" },
- { FadeEffect_FADE_FROM_BOTTOM, "wipe-up" },
-
- { FadeEffect_CLOCKWISE, "wheel-clockwise-1-spoke" },
-
- { FadeEffect_UNCOVER_TO_LEFT, "uncover-left" },
- { FadeEffect_UNCOVER_TO_UPPERLEFT, "uncover-left-up" },
- { FadeEffect_UNCOVER_TO_TOP, "uncover-up" },
- { FadeEffect_UNCOVER_TO_UPPERRIGHT, "uncover-right-up" },
- { FadeEffect_UNCOVER_TO_RIGHT, "uncover-right" },
- { FadeEffect_UNCOVER_TO_LOWERRIGHT, "uncover-right-down" },
- { FadeEffect_UNCOVER_TO_BOTTOM, "uncover-down" },
- { FadeEffect_UNCOVER_TO_LOWERLEFT, "uncover-left-down" },
-
- { FadeEffect_VERTICAL_LINES, "random-bars-vertical" },
- { FadeEffect_HORIZONTAL_LINES, "random-bars-horizontal" },
-
- { FadeEffect_VERTICAL_CHECKERBOARD, "checkerboard-down" },
- { FadeEffect_HORIZONTAL_CHECKERBOARD, "checkerboard-across" },
-
- { FadeEffect_FADE_TO_CENTER, "box-in" },
- { FadeEffect_FADE_FROM_CENTER, "box-out" },
-
- { FadeEffect_VERTICAL_STRIPES, "venetian-blinds-vertical" },
- { FadeEffect_HORIZONTAL_STRIPES, "venetian-blinds-horizontal" },
-
- { FadeEffect_MOVE_FROM_LEFT, "cover-right" },
- { FadeEffect_MOVE_FROM_TOP, "cover-down" },
- { FadeEffect_MOVE_FROM_RIGHT, "cover-left" },
- { FadeEffect_MOVE_FROM_BOTTOM, "cover-up" },
- { FadeEffect_MOVE_FROM_UPPERLEFT, "cover-right-down" },
- { FadeEffect_MOVE_FROM_UPPERRIGHT, "cover-left-down" },
- { FadeEffect_MOVE_FROM_LOWERRIGHT, "cover-left-up" },
- { FadeEffect_MOVE_FROM_LOWERLEFT, "cover-right-up" },
-
- { FadeEffect_DISSOLVE, "dissolve" },
-
- { FadeEffect_RANDOM, "random-transition" },
-
- { FadeEffect_ROLL_FROM_LEFT, "push-right" },
- { FadeEffect_ROLL_FROM_TOP, "push-down" },
- { FadeEffect_ROLL_FROM_RIGHT, "push-left" },
- { FadeEffect_ROLL_FROM_BOTTOM, "push-up" },
-
- { FadeEffect_CLOSE_VERTICAL, "split-horizontal-in" },
- { FadeEffect_CLOSE_HORIZONTAL, "split-vertical-in" },
- { FadeEffect_OPEN_VERTICAL, "split-horizontal-out" },
- { FadeEffect_OPEN_HORIZONTAL, "split-vertical-out" },
-
- { FadeEffect_FADE_FROM_UPPERLEFT, "diagonal-squares-right-down" },
- { FadeEffect_FADE_FROM_UPPERRIGHT, "diagonal-squares-left-down" },
- { FadeEffect_FADE_FROM_LOWERLEFT, "diagonal-squares-right-up" },
- { FadeEffect_FADE_FROM_LOWERRIGHT, "diagonal-squares-left-up" },
+ { FadeEffect_FADE_FROM_LEFT, "wipe-right" },
+ { FadeEffect_FADE_FROM_TOP, "wipe-down" },
+ { FadeEffect_FADE_FROM_RIGHT, "wipe-left" },
+ { FadeEffect_FADE_FROM_BOTTOM, "wipe-up" },
+
+ { FadeEffect_CLOCKWISE, "wheel-clockwise-1-spoke" },
+
+ { FadeEffect_UNCOVER_TO_LEFT, "uncover-left" },
+ { FadeEffect_UNCOVER_TO_UPPERLEFT, "uncover-left-up" },
+ { FadeEffect_UNCOVER_TO_TOP, "uncover-up" },
+ { FadeEffect_UNCOVER_TO_UPPERRIGHT, "uncover-right-up" },
+ { FadeEffect_UNCOVER_TO_RIGHT, "uncover-right" },
+ { FadeEffect_UNCOVER_TO_LOWERRIGHT, "uncover-right-down" },
+ { FadeEffect_UNCOVER_TO_BOTTOM, "uncover-down" },
+ { FadeEffect_UNCOVER_TO_LOWERLEFT, "uncover-left-down" },
+
+ { FadeEffect_VERTICAL_LINES, "random-bars-vertical" },
+ { FadeEffect_HORIZONTAL_LINES, "random-bars-horizontal" },
+
+ { FadeEffect_VERTICAL_CHECKERBOARD, "checkerboard-down" },
+ { FadeEffect_HORIZONTAL_CHECKERBOARD, "checkerboard-across" },
+
+ { FadeEffect_FADE_TO_CENTER, "box-in" },
+ { FadeEffect_FADE_FROM_CENTER, "box-out" },
+
+ { FadeEffect_VERTICAL_STRIPES, "venetian-blinds-vertical" },
+ { FadeEffect_HORIZONTAL_STRIPES, "venetian-blinds-horizontal" },
+
+ { FadeEffect_MOVE_FROM_LEFT, "cover-right" },
+ { FadeEffect_MOVE_FROM_TOP, "cover-down" },
+ { FadeEffect_MOVE_FROM_RIGHT, "cover-left" },
+ { FadeEffect_MOVE_FROM_BOTTOM, "cover-up" },
+ { FadeEffect_MOVE_FROM_UPPERLEFT, "cover-right-down" },
+ { FadeEffect_MOVE_FROM_UPPERRIGHT, "cover-left-down" },
+ { FadeEffect_MOVE_FROM_LOWERRIGHT, "cover-left-up" },
+ { FadeEffect_MOVE_FROM_LOWERLEFT, "cover-right-up" },
+
+ { FadeEffect_DISSOLVE, "dissolve" },
+
+ { FadeEffect_RANDOM, "random-transition" },
+
+ { FadeEffect_ROLL_FROM_LEFT, "push-right" },
+ { FadeEffect_ROLL_FROM_TOP, "push-down" },
+ { FadeEffect_ROLL_FROM_RIGHT, "push-left" },
+ { FadeEffect_ROLL_FROM_BOTTOM, "push-up" },
+
+ { FadeEffect_CLOSE_VERTICAL, "split-horizontal-in" },
+ { FadeEffect_CLOSE_HORIZONTAL, "split-vertical-in" },
+ { FadeEffect_OPEN_VERTICAL, "split-horizontal-out" },
+ { FadeEffect_OPEN_HORIZONTAL, "split-vertical-out" },
+
+ { FadeEffect_FADE_FROM_UPPERLEFT, "diagonal-squares-right-down" },
+ { FadeEffect_FADE_FROM_UPPERRIGHT, "diagonal-squares-left-down" },
+ { FadeEffect_FADE_FROM_LOWERLEFT, "diagonal-squares-right-up" },
+ { FadeEffect_FADE_FROM_LOWERRIGHT, "diagonal-squares-left-up" },
// OOo 1.x transitions not in OOo 2.x
- { FadeEffect_CLOCKWISE, "clock-wipe-twelve" },
- { FadeEffect_COUNTERCLOCKWISE, "reverse-clock-wipe-twelve" },
- { FadeEffect_SPIRALIN_LEFT, "spiral-wipe-top-left-clockwise" },
- { FadeEffect_SPIRALIN_RIGHT, "spiral-wipe-top-right-counter-clockwise" },
- { FadeEffect_SPIRALOUT_LEFT, "spiral-wipe-out-to-bottom-right-clockwise" },
- { FadeEffect_SPIRALOUT_RIGHT, "spiral-wipe-out-to-bottom-left-counter-clockwise" },
- { FadeEffect_WAVYLINE_FROM_LEFT, "snake-wipe-top-left-vertical" },
- { FadeEffect_WAVYLINE_FROM_TOP, "snake-wipe-top-left-horizontal" },
- { FadeEffect_WAVYLINE_FROM_RIGHT, "snake-wipe-bottom-right-vertical" },
- { FadeEffect_WAVYLINE_FROM_BOTTOM, "snake-wipe-bottom-right-horizontal" },
- { FadeEffect_STRETCH_FROM_LEFT, "wipe-right" }, // todo
- { FadeEffect_STRETCH_FROM_TOP, "wipe-down" }, // todo
- { FadeEffect_STRETCH_FROM_RIGHT, "wipe-left" }, // todo
- { FadeEffect_STRETCH_FROM_BOTTOM, "wipe-up" }, // todo
+ { FadeEffect_CLOCKWISE, "clock-wipe-twelve" },
+ { FadeEffect_COUNTERCLOCKWISE, "reverse-clock-wipe-twelve" },
+ { FadeEffect_SPIRALIN_LEFT, "spiral-wipe-top-left-clockwise" },
+ { FadeEffect_SPIRALIN_RIGHT, "spiral-wipe-top-right-counter-clockwise" },
+ { FadeEffect_SPIRALOUT_LEFT, "spiral-wipe-out-to-bottom-right-clockwise" },
+ { FadeEffect_SPIRALOUT_RIGHT, "spiral-wipe-out-to-bottom-left-counter-clockwise" },
+ { FadeEffect_WAVYLINE_FROM_LEFT, "snake-wipe-top-left-vertical" },
+ { FadeEffect_WAVYLINE_FROM_TOP, "snake-wipe-top-left-horizontal" },
+ { FadeEffect_WAVYLINE_FROM_RIGHT, "snake-wipe-bottom-right-vertical" },
+ { FadeEffect_WAVYLINE_FROM_BOTTOM, "snake-wipe-bottom-right-horizontal" },
+ { FadeEffect_STRETCH_FROM_LEFT, "wipe-right" }, // todo
+ { FadeEffect_STRETCH_FROM_TOP, "wipe-down" }, // todo
+ { FadeEffect_STRETCH_FROM_RIGHT, "wipe-left" }, // todo
+ { FadeEffect_STRETCH_FROM_BOTTOM, "wipe-up" }, // todo
// OOo 1.x not available transitions
- { FadeEffect_CLOCKWISE, "wheel-clockwise-2-spokes" },
- { FadeEffect_CLOCKWISE, "wheel-clockwise-3-spokes" },
- { FadeEffect_CLOCKWISE, "wheel-clockwise-4-spokes" },
- { FadeEffect_CLOCKWISE, "wheel-clockwise-8-spokes" },
+ { FadeEffect_CLOCKWISE, "wheel-clockwise-2-spokes" },
+ { FadeEffect_CLOCKWISE, "wheel-clockwise-3-spokes" },
+ { FadeEffect_CLOCKWISE, "wheel-clockwise-4-spokes" },
+ { FadeEffect_CLOCKWISE, "wheel-clockwise-8-spokes" },
- { FadeEffect_FADE_FROM_CENTER, "shape-circle" },
- { FadeEffect_FADE_FROM_CENTER, "shape-diamond" },
- { FadeEffect_FADE_FROM_CENTER, "shape-plus" },
+ { FadeEffect_FADE_FROM_CENTER, "shape-circle" },
+ { FadeEffect_FADE_FROM_CENTER, "shape-diamond" },
+ { FadeEffect_FADE_FROM_CENTER, "shape-plus" },
- { FadeEffect_CLOCKWISE, "wedge" },
+ { FadeEffect_CLOCKWISE, "wedge" },
- { FadeEffect_DISSOLVE, "fade-through-black" },
+ { FadeEffect_DISSOLVE, "fade-through-black" },
- { FadeEffect_CLOCKWISE, "zoom-rotate-in" },
+ { FadeEffect_CLOCKWISE, "zoom-rotate-in" },
- { FadeEffect_HORIZONTAL_LINES, "comb-horizontal" },
- { FadeEffect_VERTICAL_LINES, "comb-vertical" },
+ { FadeEffect_HORIZONTAL_LINES, "comb-horizontal" },
+ { FadeEffect_VERTICAL_LINES, "comb-vertical" },
- { FadeEffect_DISSOLVE, "fade-smoothly" },
+ { FadeEffect_DISSOLVE, "fade-smoothly" },
{ FadeEffect_NONE, 0 }
};
@@ -202,7 +202,7 @@ FadeEffect EffectMigration::GetFadeEffect( const SdPage* pPage )
const TransitionPresetList::const_iterator aEndIt( rPresetList.end());
for( ; aIt != aEndIt; ++aIt )
{
- if( ( (*aIt)->getTransition() == pPage->getTransitionType() ) &&
+ if( ( (*aIt)->getTransition() == pPage->getTransitionType() ) &&
( (*aIt)->getSubtype() == pPage->getTransitionSubtype() ) &&
( (*aIt)->getDirection() == pPage->getTransitionDirection() ) &&
( (*aIt)->getFadeColor() == pPage->getTransitionFadeColor() ) )
@@ -221,7 +221,7 @@ FadeEffect EffectMigration::GetFadeEffect( const SdPage* pPage )
struct deprecated_AnimationEffect_conversion_table_entry
{
- AnimationEffect meEffect;
+ AnimationEffect meEffect;
const sal_Char* mpPresetId;
const sal_Char* mpPresetSubType;
}
@@ -252,7 +252,7 @@ deprecated_AnimationEffect_conversion_table[] =
{ AnimationEffect_MOVE_FROM_LOWERRIGHT, "ooo-entrance-fly-in","from-bottom-right" },
{ AnimationEffect_MOVE_FROM_LOWERLEFT, "ooo-entrance-fly-in","from-bottom-left" },
- { AnimationEffect_MOVE_FROM_BOTTOM, "ooo-entrance-fly-in-slow", "from-bottom" },
+ { AnimationEffect_MOVE_FROM_BOTTOM, "ooo-entrance-fly-in-slow", "from-bottom" },
{ AnimationEffect_MOVE_FROM_LEFT, "ooo-entrance-fly-in-slow", "from-left" },
{ AnimationEffect_MOVE_FROM_RIGHT, "ooo-entrance-fly-in-slow", "from-right" },
{ AnimationEffect_MOVE_FROM_TOP, "ooo-entrance-fly-in-slow", "from-top" },
@@ -415,7 +415,7 @@ deprecated_AnimationEffect_conversion_table[] =
EffectSequence::iterator ImplFindEffect( MainSequencePtr& pMainSequence, const Reference< XShape >& rShape, sal_Int16 nSubItem )
{
EffectSequence::iterator aIter;
-
+
for( aIter = pMainSequence->getBegin(); aIter != pMainSequence->getEnd(); aIter++ )
{
CustomAnimationEffectPtr pEffect( (*aIter) );
@@ -566,7 +566,7 @@ AnimationEffect EffectMigration::GetAnimationEffect( SvxShape* pShape )
const Reference< XShape > xShape( pShape );
EffectSequence::iterator aIter;
-
+
for( aIter = pMainSequence->getBegin(); aIter != pMainSequence->getEnd(); aIter++ )
{
CustomAnimationEffectPtr pEffect( (*aIter) );
@@ -587,7 +587,7 @@ AnimationEffect EffectMigration::GetAnimationEffect( SvxShape* pShape )
}
// now find old effect
- AnimationEffect eEffect = AnimationEffect_NONE;
+ AnimationEffect eEffect = AnimationEffect_NONE;
if( !ConvertPreset( aPresetId, &aPresetSubType, eEffect ) )
ConvertPreset( aPresetId, 0, eEffect );
@@ -659,7 +659,7 @@ void EffectMigration::SetTextAnimationEffect( SvxShape* pShape, AnimationEffect
{
pShapeEffect = (*aIterOnlyBackground);
}
- else
+ else
{
EffectSequence::iterator aIterAsWhole( ImplFindEffect( pMainSequence, xShape, ShapeAnimationSubType::AS_WHOLE ) );
if( aIterAsWhole != aEnd )
@@ -693,7 +693,7 @@ void EffectMigration::SetTextAnimationEffect( SvxShape* pShape, AnimationEffect
const bool bManual = (pPage == 0) || (pPage->GetPresChange() == PRESCHANGE_MANUAL);
// now create effects for each paragraph
- pGroup =
+ pGroup =
pMainSequence->
createTextGroup( pShapeEffect, 10, bManual ? -1 : 0.0, sal_True, sal_False );
}
@@ -762,7 +762,7 @@ AnimationEffect EffectMigration::GetTextAnimationEffect( SvxShape* pShape )
}
// now find old effect
- AnimationEffect eEffect = AnimationEffect_NONE;
+ AnimationEffect eEffect = AnimationEffect_NONE;
if( !ConvertPreset( aPresetId, &aPresetSubType, eEffect ) )
ConvertPreset( aPresetId, 0, eEffect );
@@ -781,7 +781,7 @@ bool EffectMigration::ConvertPreset( const OUString& rPresetId, const OUString*
deprecated_AnimationEffect_conversion_table_entry* p = deprecated_AnimationEffect_conversion_table;
while( p->mpPresetId )
{
- if( rPresetId.equalsAscii( p->mpPresetId ) &&
+ if( rPresetId.equalsAscii( p->mpPresetId ) &&
(( p->mpPresetSubType == 0 ) ||
( pPresetSubType == 0) ||
( pPresetSubType->equalsAscii( p->mpPresetSubType )) ) )
@@ -855,7 +855,7 @@ void EffectMigration::SetAnimationSpeed( SvxShape* pShape, AnimationSpeed eSpeed
EffectSequence::iterator aIter;
bool bNeedRebuild = false;
-
+
for( aIter = pMainSequence->getBegin(); aIter != pMainSequence->getEnd(); aIter++ )
{
CustomAnimationEffectPtr pEffect( (*aIter) );
@@ -935,7 +935,7 @@ void EffectMigration::SetDimColor( SvxShape* pShape, sal_Int32 nColor )
EffectSequence::iterator aIter;
bool bNeedRebuild = false;
-
+
for( aIter = pMainSequence->getBegin(); aIter != pMainSequence->getEnd(); aIter++ )
{
CustomAnimationEffectPtr pEffect( (*aIter) );
@@ -966,11 +966,11 @@ sal_Int32 EffectMigration::GetDimColor( SvxShape* pShape )
const Reference< XShape > xShape( pShape );
EffectSequence::iterator aIter;
-
+
for( aIter = pMainSequence->getBegin(); aIter != pMainSequence->getEnd(); aIter++ )
{
CustomAnimationEffectPtr pEffect( (*aIter) );
- if( (pEffect->getTargetShape() == xShape) &&
+ if( (pEffect->getTargetShape() == xShape) &&
pEffect->getDimColor().hasValue() &&
pEffect->hasAfterEffect())
{
@@ -1006,7 +1006,7 @@ void EffectMigration::SetDimHide( SvxShape* pShape, sal_Bool bDimHide )
EffectSequence::iterator aIter;
bool bNeedRebuild = false;
-
+
for( aIter = pMainSequence->getBegin(); aIter != pMainSequence->getEnd(); aIter++ )
{
CustomAnimationEffectPtr pEffect( (*aIter) );
@@ -1080,7 +1080,7 @@ void EffectMigration::SetDimPrevious( SvxShape* pShape, sal_Bool bDimPrevious )
EffectSequence::iterator aIter;
bool bNeedRebuild = false;
-
+
for( aIter = pMainSequence->getBegin(); aIter != pMainSequence->getEnd(); aIter++ )
{
CustomAnimationEffectPtr pEffect( (*aIter) );
@@ -1149,7 +1149,7 @@ void EffectMigration::SetPresentationOrder( SvxShape* pShape, sal_Int32 nNewPos
{
Reference< XShape > xThis( pShape );
Reference< XShape > xCurrent;
-
+
EffectSequence::iterator aIter( rSequence.begin() );
EffectSequence::iterator aEnd( rSequence.end() );
for( nPos = 0; aIter != aEnd; aIter++ )
@@ -1196,7 +1196,7 @@ void EffectMigration::SetPresentationOrder( SvxShape* pShape, sal_Int32 nNewPos
aEffects.push_back( (*(*aIter)) );
rSequence.erase( (*aIter++) );
}
-
+
if( nNewPos > nCurrentPos )
nNewPos++;
@@ -1275,7 +1275,7 @@ void EffectMigration::UpdateSoundEffect( SvxShape* pShape, SdAnimationInfo* pInf
EffectSequence::iterator aIter;
bool bNeedRebuild = false;
-
+
OUString aSoundFile;
if( pInfo->mbSoundOn )
aSoundFile = pInfo->maSoundFile;
@@ -1318,8 +1318,8 @@ OUString EffectMigration::GetSoundFile( SvxShape* pShape )
const Reference< XShape > xShape( pShape );
EffectSequence::iterator aIter;
-
- for( aIter = pMainSequence->getBegin();
+
+ for( aIter = pMainSequence->getBegin();
(aSoundFile.getLength() == 0) && (aIter != pMainSequence->getEnd());
aIter++ )
{
diff --git a/sd/source/core/PageListWatcher.cxx b/sd/source/core/PageListWatcher.cxx
index d02eae13f12a..0343c0680641 100644
--- a/sd/source/core/PageListWatcher.cxx
+++ b/sd/source/core/PageListWatcher.cxx
@@ -2,7 +2,7 @@
/*************************************************************************
*
* 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
@@ -106,7 +106,7 @@ SdPage* ImpPageListWatcher::GetSdPage(PageKind ePgKind, sal_uInt32 nPgNum)
pRetval = maPageVectorStandard[nPgNum];
else
{
- DBG_ASSERT(nPgNum <= maPageVectorStandard.size(),
+ DBG_ASSERT(nPgNum <= maPageVectorStandard.size(),
"ImpPageListWatcher::GetSdPage(PK_STANDARD): access out of range");
DBG_WARNING2 (" %d > %d",
nPgNum, nPgNum<maPageVectorStandard.size());
@@ -128,15 +128,15 @@ SdPage* ImpPageListWatcher::GetSdPage(PageKind ePgKind, sal_uInt32 nPgNum)
}
case PK_HANDOUT:
{
-// #11420# for models used to transfer drawing shapes via clipboard its
-// ok to not have a handout page
-// DBG_ASSERT(mpHandoutPage, "ImpPageListWatcher::GetSdPage: access to non existing handout page (!)");
+// #11420# for models used to transfer drawing shapes via clipboard its
+// ok to not have a handout page
+// DBG_ASSERT(mpHandoutPage, "ImpPageListWatcher::GetSdPage: access to non existing handout page (!)");
DBG_ASSERT(nPgNum == 0L, "ImpPageListWatcher::GetSdPage: access to non existing handout page (!)");
if (nPgNum == 0)
pRetval = mpHandoutPage;
else
{
- DBG_ASSERT(nPgNum == 0L,
+ DBG_ASSERT(nPgNum == 0L,
"ImpPageListWatcher::GetSdPage: access to non existing handout page (!)");
}
break;
diff --git a/sd/source/core/PageListWatcher.hxx b/sd/source/core/PageListWatcher.hxx
index ae6b1235abd9..b45f8bf47314 100644
--- a/sd/source/core/PageListWatcher.hxx
+++ b/sd/source/core/PageListWatcher.hxx
@@ -2,7 +2,7 @@
/*************************************************************************
*
* 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
@@ -45,13 +45,13 @@ protected:
// typedefs for a vector of SdPages
typedef ::std::vector< SdPage* > SdPageVector;
- const SdrModel& mrModel;
+ const SdrModel& mrModel;
- SdPageVector maPageVectorStandard;
- SdPageVector maPageVectorNotes;
- SdPage* mpHandoutPage;
+ SdPageVector maPageVectorStandard;
+ SdPageVector maPageVectorNotes;
+ SdPage* mpHandoutPage;
- sal_Bool mbPageListValid;
+ sal_Bool mbPageListValid;
void ImpRecreateSortedPageListOnDemand();
virtual sal_uInt32 ImpGetPageCount() const = 0;
diff --git a/sd/source/core/TransitionPreset.cxx b/sd/source/core/TransitionPreset.cxx
index 46d28a80a423..b567d438b1c0 100644
--- a/sd/source/core/TransitionPreset.cxx
+++ b/sd/source/core/TransitionPreset.cxx
@@ -2,7 +2,7 @@
/*************************************************************************
*
* 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
diff --git a/sd/source/core/anminfo.cxx b/sd/source/core/anminfo.cxx
index e4e3c3ec2fe1..e1a298b724e4 100644
--- a/sd/source/core/anminfo.cxx
+++ b/sd/source/core/anminfo.cxx
@@ -2,7 +2,7 @@
/*************************************************************************
*
* 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
@@ -48,24 +48,24 @@ using namespace ::com::sun::star;
SdAnimationInfo::SdAnimationInfo(SdrObject& rObject)
: SdrObjUserData(SdUDInventor, SD_ANIMATIONINFO_ID, 0),
- mePresObjKind (PRESOBJ_NONE),
- meEffect (presentation::AnimationEffect_NONE),
- meTextEffect (presentation::AnimationEffect_NONE),
- meSpeed (presentation::AnimationSpeed_SLOW),
- mbActive (TRUE),
- mbDimPrevious (FALSE),
- mbIsMovie (FALSE),
- mbDimHide (FALSE),
- mbSoundOn (FALSE),
- mbPlayFull (FALSE),
- mpPathObj (NULL),
- meClickAction (presentation::ClickAction_NONE),
- meSecondEffect (presentation::AnimationEffect_NONE),
- meSecondSpeed (presentation::AnimationSpeed_SLOW),
- mbSecondSoundOn (FALSE),
- mbSecondPlayFull (FALSE),
- mnVerb (0),
- mnPresOrder (LIST_APPEND),
+ mePresObjKind (PRESOBJ_NONE),
+ meEffect (presentation::AnimationEffect_NONE),
+ meTextEffect (presentation::AnimationEffect_NONE),
+ meSpeed (presentation::AnimationSpeed_SLOW),
+ mbActive (TRUE),
+ mbDimPrevious (FALSE),
+ mbIsMovie (FALSE),
+ mbDimHide (FALSE),
+ mbSoundOn (FALSE),
+ mbPlayFull (FALSE),
+ mpPathObj (NULL),
+ meClickAction (presentation::ClickAction_NONE),
+ meSecondEffect (presentation::AnimationEffect_NONE),
+ meSecondSpeed (presentation::AnimationSpeed_SLOW),
+ mbSecondSoundOn (FALSE),
+ mbSecondPlayFull (FALSE),
+ mnVerb (0),
+ mnPresOrder (LIST_APPEND),
mrObject (rObject)
{
maBlueScreen = RGB_Color(COL_LIGHTMAGENTA);
@@ -73,30 +73,30 @@ SdAnimationInfo::SdAnimationInfo(SdrObject& rObject)
}
SdAnimationInfo::SdAnimationInfo(const SdAnimationInfo& rAnmInfo, SdrObject& rObject)
- : SdrObjUserData (rAnmInfo),
- mePresObjKind (PRESOBJ_NONE),
- meEffect (rAnmInfo.meEffect),
- meTextEffect (rAnmInfo.meTextEffect),
- meSpeed (rAnmInfo.meSpeed),
- mbActive (rAnmInfo.mbActive),
- mbDimPrevious (rAnmInfo.mbDimPrevious),
- mbIsMovie (rAnmInfo.mbIsMovie),
- mbDimHide (rAnmInfo.mbDimHide),
- maBlueScreen (rAnmInfo.maBlueScreen),
- maDimColor (rAnmInfo.maDimColor),
- maSoundFile (rAnmInfo.maSoundFile),
- mbSoundOn (rAnmInfo.mbSoundOn),
- mbPlayFull (rAnmInfo.mbPlayFull),
- mpPathObj (NULL),
- meClickAction (rAnmInfo.meClickAction),
- meSecondEffect (rAnmInfo.meSecondEffect),
- meSecondSpeed (rAnmInfo.meSecondSpeed),
+ : SdrObjUserData (rAnmInfo),
+ mePresObjKind (PRESOBJ_NONE),
+ meEffect (rAnmInfo.meEffect),
+ meTextEffect (rAnmInfo.meTextEffect),
+ meSpeed (rAnmInfo.meSpeed),
+ mbActive (rAnmInfo.mbActive),
+ mbDimPrevious (rAnmInfo.mbDimPrevious),
+ mbIsMovie (rAnmInfo.mbIsMovie),
+ mbDimHide (rAnmInfo.mbDimHide),
+ maBlueScreen (rAnmInfo.maBlueScreen),
+ maDimColor (rAnmInfo.maDimColor),
+ maSoundFile (rAnmInfo.maSoundFile),
+ mbSoundOn (rAnmInfo.mbSoundOn),
+ mbPlayFull (rAnmInfo.mbPlayFull),
+ mpPathObj (NULL),
+ meClickAction (rAnmInfo.meClickAction),
+ meSecondEffect (rAnmInfo.meSecondEffect),
+ meSecondSpeed (rAnmInfo.meSecondSpeed),
maSecondSoundFile (rAnmInfo.maSecondSoundFile),
- mbSecondSoundOn (rAnmInfo.mbSecondSoundOn),
- mbSecondPlayFull (rAnmInfo.mbSecondPlayFull),
-// maBookmark (rAnmInfo.maBookmark),
- mnVerb (rAnmInfo.mnVerb),
- mnPresOrder (LIST_APPEND),
+ mbSecondSoundOn (rAnmInfo.mbSecondSoundOn),
+ mbSecondPlayFull (rAnmInfo.mbSecondPlayFull),
+// maBookmark (rAnmInfo.maBookmark),
+ mnVerb (rAnmInfo.mnVerb),
+ mnPresOrder (LIST_APPEND),
mrObject (rObject)
{
// can not be copied
diff --git a/sd/source/core/annotations/Annotation.cxx b/sd/source/core/annotations/Annotation.cxx
index b5cca04f057b..2f46db1a1e6d 100644
--- a/sd/source/core/annotations/Annotation.cxx
+++ b/sd/source/core/annotations/Annotation.cxx
@@ -2,7 +2,7 @@
/*************************************************************************
*
* 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
@@ -61,7 +61,7 @@ extern void NotifyDocumentEvent( SdDrawDocument* pDocument, const rtl::OUString&
namespace sd {
class Annotation : private ::cppu::BaseMutex,
- public ::cppu::WeakComponentImplHelper1< XAnnotation>,
+ public ::cppu::WeakComponentImplHelper1< XAnnotation>,
public ::cppu::PropertySetMixin< XAnnotation >
{
public:
@@ -69,7 +69,7 @@ public:
SdPage* GetPage() const { return mpPage; }
SdrModel* GetModel() { return (mpPage != 0) ? mpPage->GetModel() : 0; }
-
+
// XInterface:
virtual Any SAL_CALL queryInterface(Type const & type) throw (RuntimeException);
virtual void SAL_CALL acquire() throw () { ::cppu::WeakComponentImplHelper1< XAnnotation >::acquire(); }
@@ -85,7 +85,7 @@ public:
virtual void SAL_CALL removeVetoableChangeListener(const OUString & PropertyName, const Reference< XVetoableChangeListener > & aListener) throw (RuntimeException, UnknownPropertyException, WrappedTargetException);
// ::com::sun::star::office::XAnnotation:
- virtual ::com::sun::star::uno::Any SAL_CALL getAnchor() throw (::com::sun::star::uno::RuntimeException);
+ virtual ::com::sun::star::uno::Any SAL_CALL getAnchor() throw (::com::sun::star::uno::RuntimeException);
virtual RealPoint2D SAL_CALL getPosition() throw (RuntimeException);
virtual void SAL_CALL setPosition(const RealPoint2D & the_value) throw (RuntimeException);
virtual ::com::sun::star::geometry::RealSize2D SAL_CALL getSize() throw (::com::sun::star::uno::RuntimeException);
@@ -103,7 +103,7 @@ private:
// destructor is private and will be called indirectly by the release call virtual ~Annotation() {}
void createChangeUndo();
-
+
// overload WeakComponentImplHelperBase::disposing()
// This function is called upon disposing the component,
// if your component needs special work when it becomes
@@ -130,7 +130,7 @@ public:
protected:
rtl::Reference< Annotation > mxAnnotation;
- bool mbInsert;
+ bool mbInsert;
int mnIndex;
};
@@ -146,15 +146,15 @@ struct AnnotationData
m_Position = xAnnotation->getPosition();
m_Size = xAnnotation->getSize();
m_Author = xAnnotation->getAuthor();
- m_DateTime = xAnnotation->getDateTime();
+ m_DateTime = xAnnotation->getDateTime();
}
-
+
void set( const rtl::Reference< Annotation >& xAnnotation )
{
xAnnotation->setPosition(m_Position);
xAnnotation->setSize(m_Size);
xAnnotation->setAuthor(m_Author);
- xAnnotation->setDateTime(m_DateTime);
+ xAnnotation->setDateTime(m_DateTime);
}
};
@@ -175,7 +175,7 @@ protected:
void createAnnotation( Reference< XAnnotation >& xAnnotation, SdPage* pPage )
{
Reference<XComponentContext> xContext (comphelper_getProcessComponentContext());
- xAnnotation.set( new Annotation(xContext, pPage) );
+ xAnnotation.set( new Annotation(xContext, pPage) );
pPage->addAnnotation(xAnnotation);
}
@@ -267,7 +267,7 @@ void SAL_CALL Annotation::setPosition(const RealPoint2D & the_value) throw (Runt
Any(), Any(), 0);
{
osl::MutexGuard g(m_aMutex);
- createChangeUndo();
+ createChangeUndo();
m_Position = the_value;
}
}
@@ -286,7 +286,7 @@ void SAL_CALL Annotation::setSize(const RealSize2D & the_value) throw (RuntimeEx
Any(), Any(), 0);
{
osl::MutexGuard g(m_aMutex);
- createChangeUndo();
+ createChangeUndo();
m_Size = the_value;
}
}
@@ -304,7 +304,7 @@ void SAL_CALL Annotation::setAuthor(const OUString & the_value) throw (RuntimeEx
Any(), Any(), 0);
{
osl::MutexGuard g(m_aMutex);
- createChangeUndo();
+ createChangeUndo();
m_Author = the_value;
}
}
@@ -316,13 +316,13 @@ util::DateTime SAL_CALL Annotation::getDateTime() throw (RuntimeException)
}
void SAL_CALL Annotation::setDateTime(const util::DateTime & the_value) throw (RuntimeException)
-{
+{
prepareSet(
rtl::OUString(RTL_CONSTASCII_USTRINGPARAM("DateTime")),
Any(), Any(), 0);
{
osl::MutexGuard g(m_aMutex);
- createChangeUndo();
+ createChangeUndo();
m_DateTime = the_value;
}
}
@@ -331,8 +331,8 @@ void Annotation::createChangeUndo()
{
SdrModel* pModel = GetModel();
if( pModel && pModel->IsUndoEnabled() )
- pModel->AddUndo( new UndoAnnotation( *this ) );
-
+ pModel->AddUndo( new UndoAnnotation( *this ) );
+
if( pModel )
{
pModel->SetChanged();
@@ -346,7 +346,7 @@ Reference< XText > SAL_CALL Annotation::getTextRange() throw (RuntimeException)
osl::MutexGuard g(m_aMutex);
if( !m_TextRange.is() && (mpPage != 0) )
{
- m_TextRange = TextApiObject::create( static_cast< SdDrawDocument* >( mpPage->GetModel() ) );
+ m_TextRange = TextApiObject::create( static_cast< SdDrawDocument* >( mpPage->GetModel() ) );
}
return Reference< XText >( m_TextRange.get() );
}
@@ -374,14 +374,14 @@ UndoInsertOrRemoveAnnotation::UndoInsertOrRemoveAnnotation( Annotation& rAnnotat
if( pPage )
{
Reference< XAnnotation > xAnnotation( &rAnnotation );
-
+
const AnnotationVector& rVec = pPage->getAnnotations();
for( AnnotationVector::const_iterator iter = rVec.begin(); iter != rVec.end(); iter++ )
{
if( (*iter) == xAnnotation )
break;
-
- mnIndex++;
+
+ mnIndex++;
}
}
}
@@ -411,7 +411,7 @@ void UndoInsertOrRemoveAnnotation::Redo()
if( pPage && pModel )
{
Reference< XAnnotation > xAnnotation( mxAnnotation.get() );
-
+
if( mbInsert )
{
pPage->addAnnotation( xAnnotation, mnIndex );
diff --git a/sd/source/core/annotations/AnnotationEnumeration.cxx b/sd/source/core/annotations/AnnotationEnumeration.cxx
index e270987dc083..db23fbf706dd 100644
--- a/sd/source/core/annotations/AnnotationEnumeration.cxx
+++ b/sd/source/core/annotations/AnnotationEnumeration.cxx
@@ -2,7 +2,7 @@
/*************************************************************************
*
* 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
diff --git a/sd/source/core/cusshow.cxx b/sd/source/core/cusshow.cxx
index 02daee172dee..753d7108ec91 100644
--- a/sd/source/core/cusshow.cxx
+++ b/sd/source/core/cusshow.cxx
@@ -2,7 +2,7 @@
/*************************************************************************
*
* 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
diff --git a/sd/source/core/drawdoc.cxx b/sd/source/core/drawdoc.cxx
index 6e60fdaae507..42db21bcae9e 100644
--- a/sd/source/core/drawdoc.cxx
+++ b/sd/source/core/drawdoc.cxx
@@ -2,7 +2,7 @@
/*************************************************************************
*
* 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
@@ -111,7 +111,7 @@ SdDrawDocument* SdDrawDocument::pDocLockedInsertingLinks = NULL;
//////////////////////////////////////////////////////////////////////////////
PresentationSettings::PresentationSettings()
-: mbAll( true ),
+: mbAll( true ),
mbEndless( false ),
mbCustomShow(false),
mbManual( false ),
@@ -130,7 +130,7 @@ PresentationSettings::PresentationSettings()
// ---------------------------------------------------------------------------
PresentationSettings::PresentationSettings( const PresentationSettings& r )
-: maPresPage( r.maPresPage ),
+: maPresPage( r.maPresPage ),
mbAll( r.mbAll ),
mbEndless( r.mbEndless ),
mbCustomShow( r.mbCustomShow ),
@@ -182,7 +182,7 @@ SdDrawDocument::SdDrawDocument(DocumentType eType, SfxObjectShell* pDrDocSh)
mpMasterPageListWatcher = ::std::auto_ptr<ImpMasterPageListWatcher>(
new ImpMasterPageListWatcher(*this));
- SetObjectShell(pDrDocSh); // fuer das VCDrawModel
+ SetObjectShell(pDrDocSh); // fuer das VCDrawModel
if (mpDocSh)
{
@@ -196,9 +196,9 @@ SdDrawDocument::SdDrawDocument(DocumentType eType, SfxObjectShell* pDrDocSh)
// #92067# Allow UI scale only for draw documents.
if( eType == DOCUMENT_TYPE_DRAW )
- SetUIUnit( (FieldUnit)pOptions->GetMetric(), Fraction( nX, nY ) ); // user-defined
+ SetUIUnit( (FieldUnit)pOptions->GetMetric(), Fraction( nX, nY ) ); // user-defined
else
- SetUIUnit( (FieldUnit)pOptions->GetMetric(), Fraction( 1, 1 ) ); // default
+ SetUIUnit( (FieldUnit)pOptions->GetMetric(), Fraction( 1, 1 ) ); // default
SetScaleUnit(MAP_100TH_MM);
SetScaleFraction(Fraction(1, 1));
@@ -222,7 +222,7 @@ SdDrawDocument::SdDrawDocument(DocumentType eType, SfxObjectShell* pDrDocSh)
// set linguistic options
{
const SvtLinguConfig aLinguConfig;
- SvtLinguOptions aOptions;
+ SvtLinguOptions aOptions;
aLinguConfig.GetOptions( aOptions );
SetLanguage( MsLangId::resolveSystemLanguageByScriptType(aOptions.nDefaultLanguage,
@@ -347,13 +347,13 @@ SdDrawDocument::SdDrawDocument(DocumentType eType, SfxObjectShell* pDrDocSh)
*
* Es werden auf Pages und MasterPages folgende Default-Layer angelegt:
*
- * Layer STR_LAYOUT : Standardlayer fr alle Zeichenobjekte
+ * Layer STR_LAYOUT : Standardlayer fr alle Zeichenobjekte
*
* Layer STR_BCKGRND : Hintergrund der MasterPage
- * (auf normalen Pages z.Z. keine Verwendung)
+ * (auf normalen Pages z.Z. keine Verwendung)
*
* Layer STR_BCKGRNDOBJ: Objekte auf dem Hintergrund der MasterPage
- * (auf normalen Pages z.Z. keine Verwendung)
+ * (auf normalen Pages z.Z. keine Verwendung)
*
* Layer STR_CONTROLS : Standardlayer fr Controls
*
@@ -472,7 +472,7 @@ SdrModel* SdDrawDocument::AllocModel() const
{
// Dokument wird fuer Drag&Drop/Clipboard erzeugt, dafuer muss dem Dokument eine DocShell (SvPersist) bekannt sein
SfxObjectShell* pObj = NULL;
- ::sd::DrawDocShell* pNewDocSh = NULL;
+ ::sd::DrawDocShell* pNewDocSh = NULL;
if( meDocType == DOCUMENT_TYPE_IMPRESS )
mpCreatingTransferable->SetDocShell( new ::sd::DrawDocShell(
@@ -682,7 +682,7 @@ void SdDrawDocument::NewOrLoadCompleted(DocCreationMode eMode)
USHORT nPage, nPageCount;
// #96323# create missing layout style sheets for broken documents
- // that where created with the 5.2
+ // that where created with the 5.2
nPageCount = GetMasterSdPageCount( PK_STANDARD );
for (nPage = 0; nPage < nPageCount; nPage++)
{
diff --git a/sd/source/core/drawdoc2.cxx b/sd/source/core/drawdoc2.cxx
index 2d53d55b0787..2fc528783f12 100644
--- a/sd/source/core/drawdoc2.cxx
+++ b/sd/source/core/drawdoc2.cxx
@@ -2,7 +2,7 @@
/*************************************************************************
*
* 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
@@ -52,7 +52,7 @@
#include <sfx2/linkmgr.hxx>
#include <editeng/editdata.hxx>
#include <svx/dialogs.hrc>
-#include <svx/dialmgr.hxx> // SVX_RESSTR
+#include <svx/dialmgr.hxx> // SVX_RESSTR
#include "eetext.hxx"
#include <svx/svditer.hxx>
@@ -82,7 +82,7 @@
using namespace ::sd;
-const long PRINT_OFFSET = 30; // siehe \svx\source\dialog\page.cxx (PB)
+const long PRINT_OFFSET = 30; // siehe \svx\source\dialog\page.cxx (PB)
using namespace com::sun::star;
@@ -260,15 +260,15 @@ USHORT SdDrawDocument::GetMasterSdPageCount(PageKind ePgKind) const
/*************************************************************************
|*
-|* die in den Seitenobjekten der Notizseiten eingetragenen
-|* Seitennummern anpassen
+|* die in den Seitenobjekten der Notizseiten eingetragenen
+|* Seitennummern anpassen
|*
\************************************************************************/
void SdDrawDocument::UpdatePageObjectsInNotes(USHORT nStartPos)
{
- USHORT nPageCount = GetPageCount();
- SdPage* pPage = NULL;
+ USHORT nPageCount = GetPageCount();
+ SdPage* pPage = NULL;
for (USHORT nPage = nStartPos; nPage < nPageCount; nPage++)
{
@@ -410,7 +410,7 @@ void SdDrawDocument::UpdatePageRelativeURLs(SdPage* pPage, USHORT nPos, sal_Int3
/*************************************************************************
|*
-|* Seite verschieben
+|* Seite verschieben
|*
\************************************************************************/
@@ -426,7 +426,7 @@ void SdDrawDocument::MovePage(USHORT nPgNum, USHORT nNewPos)
/*************************************************************************
|*
-|* Seite einfuegen
+|* Seite einfuegen
|*
\************************************************************************/
@@ -447,7 +447,7 @@ void SdDrawDocument::InsertPage(SdrPage* pPage, USHORT nPos)
/*************************************************************************
|*
-|* Seite loeschen
+|* Seite loeschen
|*
\************************************************************************/
@@ -460,14 +460,14 @@ void SdDrawDocument::DeletePage(USHORT nPgNum)
/*************************************************************************
|*
-|* Seite entfernen
+|* Seite entfernen
|*
\************************************************************************/
SdrPage* SdDrawDocument::RemovePage(USHORT nPgNum)
{
SdrPage* pPage = FmFormModel::RemovePage(nPgNum);
-
+
bool bLast = ((nPgNum+1)/2 == (GetPageCount()+1)/2);
((SdPage*)pPage)->DisconnectLink();
@@ -797,18 +797,18 @@ BOOL SdDrawDocument::CreateMissingNotesAndHandoutPages()
/*************************************************************************
|*
|* - selektierte Seiten hinter genannte Seite schieben
-|* (nTargetPage = (USHORT)-1 --> vor erste Seite schieben)
+|* (nTargetPage = (USHORT)-1 --> vor erste Seite schieben)
|* - ergibt TRUE, wenn Seiten verschoben wurden
|*
\************************************************************************/
BOOL SdDrawDocument::MovePages(USHORT nTargetPage)
{
- SdPage* pTargetPage = NULL;
- SdPage* pPage = NULL;
- USHORT nPage;
- USHORT nNoOfPages = GetSdPageCount(PK_STANDARD);
- BOOL bSomethingHappened = FALSE;
+ SdPage* pTargetPage = NULL;
+ SdPage* pPage = NULL;
+ USHORT nPage;
+ USHORT nNoOfPages = GetSdPageCount(PK_STANDARD);
+ BOOL bSomethingHappened = FALSE;
const bool bUndo = IsUndoEnabled();
@@ -816,7 +816,7 @@ BOOL SdDrawDocument::MovePages(USHORT nTargetPage)
BegUndo(String(SdResId(STR_UNDO_MOVEPAGES)));
// Liste mit selektierten Seiten
- List aPageList;
+ List aPageList;
for (nPage = 0; nPage < nNoOfPages; nPage++)
{
pPage = GetSdPage(nPage, PK_STANDARD);
@@ -871,14 +871,14 @@ BOOL SdDrawDocument::MovePages(USHORT nTargetPage)
{
pTargetPage = GetSdPage(nPage, PK_STANDARD);
nTargetPage = nPage;
- nTargetPage = 2 * nTargetPage + 1; // PK_STANDARD --> absolut
+ nTargetPage = 2 * nTargetPage + 1; // PK_STANDARD --> absolut
while (aPageList.Count() > 0)
{
pPage = (SdPage*)aPageList.GetObject(0);
nPage = pPage->GetPageNum();
if (nPage > nTargetPage)
{
- nTargetPage += 2; // hinter (!) der Seite einfuegen
+ nTargetPage += 2; // hinter (!) der Seite einfuegen
if (nPage != nTargetPage)
{
@@ -997,7 +997,7 @@ IMPL_LINK( SdDrawDocument, WorkStartupHdl, Timer *, EMPTYARG )
if( mpDocSh )
mpDocSh->SetWaitCursor( TRUE );
- BOOL bChanged = IsChanged(); // merken
+ BOOL bChanged = IsChanged(); // merken
// Autolayouts initialisieren
SdPage* pHandoutMPage = GetMasterSdPage(0, PK_HANDOUT);
@@ -1075,8 +1075,8 @@ SdAnimationInfo* SdDrawDocument::GetAnimationInfo(SdrObject* pObject) const
SdAnimationInfo* SdDrawDocument::GetShapeUserData(SdrObject& rObject, bool bCreate /* = false */ )
{
- USHORT nUD = 0;
- USHORT nUDCount = rObject.GetUserDataCount();
+ USHORT nUD = 0;
+ USHORT nUDCount = rObject.GetUserDataCount();
SdrObjUserData* pUD = 0;
SdAnimationInfo* pRet = 0;
@@ -1112,8 +1112,8 @@ SdIMapInfo* SdDrawDocument::GetIMapInfo( SdrObject* pObject ) const
DBG_ASSERT(pObject, "ohne Objekt keine IMapInfo");
SdrObjUserData* pUserData = NULL;
- SdIMapInfo* pIMapInfo = NULL;
- USHORT nCount = pObject->GetUserDataCount();
+ SdIMapInfo* pIMapInfo = NULL;
+ USHORT nCount = pObject->GetUserDataCount();
// gibt es in den User-Daten eine IMap-Information?
for ( USHORT i = 0; i < nCount; i++ )
@@ -1143,19 +1143,19 @@ IMapObject* SdDrawDocument::GetHitIMapObject( SdrObject* pObj,
if ( pIMapInfo )
{
- const MapMode aMap100( MAP_100TH_MM );
- Size aGraphSize;
- Point aRelPoint( rWinPoint );
- ImageMap& rImageMap = (ImageMap&) pIMapInfo->GetImageMap();
- const Rectangle& rRect = pObj->GetLogicRect();
- BOOL bObjSupported = FALSE;
+ const MapMode aMap100( MAP_100TH_MM );
+ Size aGraphSize;
+ Point aRelPoint( rWinPoint );
+ ImageMap& rImageMap = (ImageMap&) pIMapInfo->GetImageMap();
+ const Rectangle& rRect = pObj->GetLogicRect();
+ BOOL bObjSupported = FALSE;
// HitTest ausfuehren
if ( pObj->ISA( SdrGrafObj ) ) // einfaches Grafik-Objekt
{
- const SdrGrafObj* pGrafObj = (const SdrGrafObj*) pObj;
- const GeoStat& rGeo = pGrafObj->GetGeoStat();
- SdrGrafObjGeoData* pGeoData = (SdrGrafObjGeoData*) pGrafObj->GetGeoData();
+ const SdrGrafObj* pGrafObj = (const SdrGrafObj*) pObj;
+ const GeoStat& rGeo = pGrafObj->GetGeoStat();
+ SdrGrafObjGeoData* pGeoData = (SdrGrafObjGeoData*) pGrafObj->GetGeoData();
// Drehung rueckgaengig
if ( rGeo.nDrehWink )
@@ -1206,7 +1206,7 @@ IMapObject* SdDrawDocument::GetHitIMapObject( SdrObject* pObj,
*/
void SdDrawDocument::CheckMasterPages()
{
-// RemoveMasterPage(2); // code to test the creation of notes pages
+// RemoveMasterPage(2); // code to test the creation of notes pages
USHORT nMaxPages = GetMasterPageCount();
diff --git a/sd/source/core/drawdoc3.cxx b/sd/source/core/drawdoc3.cxx
index 2b86af1e09c9..4de9a83c6da6 100644
--- a/sd/source/core/drawdoc3.cxx
+++ b/sd/source/core/drawdoc3.cxx
@@ -2,7 +2,7 @@
/*************************************************************************
*
* 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
@@ -80,9 +80,9 @@
using namespace ::com::sun::star;
-#define POOL_BUFFER_SIZE (USHORT)32768
-#define BASIC_BUFFER_SIZE (USHORT)8192
-#define DOCUMENT_BUFFER_SIZE (USHORT)32768
+#define POOL_BUFFER_SIZE (USHORT)32768
+#define BASIC_BUFFER_SIZE (USHORT)8192
+#define DOCUMENT_BUFFER_SIZE (USHORT)32768
/*************************************************************************
|*
@@ -198,12 +198,12 @@ SdDrawDocument* SdDrawDocument::OpenBookmarkDoc(const String& rBookmarkFile)
\************************************************************************/
BOOL SdDrawDocument::InsertBookmark(
- List* pBookmarkList, // Liste der Namen der einzufuegenden Bookmarks
+ List* pBookmarkList, // Liste der Namen der einzufuegenden Bookmarks
List* pExchangeList, // Liste der zu verwendenen Namen
- BOOL bLink, // Bookmarks sollen als Verknuepfung eingefuegt werden
- BOOL bReplace, // Aktuellen Seiten (Standard&Notiz) werden ersetzt
- USHORT nInsertPos, // Einfuegeposition fuer Seiten
- BOOL bNoDialogs, // Keine Dialoge anzeigen
+ BOOL bLink, // Bookmarks sollen als Verknuepfung eingefuegt werden
+ BOOL bReplace, // Aktuellen Seiten (Standard&Notiz) werden ersetzt
+ USHORT nInsertPos, // Einfuegeposition fuer Seiten
+ BOOL bNoDialogs, // Keine Dialoge anzeigen
::sd::DrawDocShell* pBookmarkDocSh, // Wenn gesetzt, so ist dieses das Source-Dokument
BOOL bCopy, // Seiten werden kopiert
Point* pObjPos) // Einfuegeposition fuer Objekte
@@ -365,10 +365,10 @@ public:
virtual ~InsertBookmarkAsPage_FindDuplicateLayouts() {};
virtual void operator()( SdDrawDocument&, SdPage* );
private:
- List* mpLayoutsToTransfer;
+ List* mpLayoutsToTransfer;
SdDrawDocument* mpBookmarkDoc;
- List* mpBookmarkList;
- USHORT mnBMSdPageCount;
+ List* mpBookmarkList;
+ USHORT mnBMSdPageCount;
};
void InsertBookmarkAsPage_FindDuplicateLayouts::operator()( SdDrawDocument& rDoc, SdPage* pBMMPage )
@@ -383,7 +383,7 @@ void InsertBookmarkAsPage_FindDuplicateLayouts::operator()( SdDrawDocument& rDoc
String* pTest = (String*) mpLayoutsToTransfer->First();
BOOL bFound = FALSE;
- while (pTest && !bFound) // found yet?
+ while (pTest && !bFound) // found yet?
{
if (*pLayout == *pTest)
bFound = TRUE;
@@ -496,17 +496,17 @@ BOOL SdDrawDocument::InsertBookmarkAsPage(
{
SdPage* pBMPage = pBookmarkDoc->GetSdPage(0,PK_STANDARD);
- if (pBMPage->GetSize() != pRefPage->GetSize() ||
- pBMPage->GetLftBorder() != pRefPage->GetLftBorder() ||
- pBMPage->GetRgtBorder() != pRefPage->GetRgtBorder() ||
- pBMPage->GetUppBorder() != pRefPage->GetUppBorder() ||
+ if (pBMPage->GetSize() != pRefPage->GetSize() ||
+ pBMPage->GetLftBorder() != pRefPage->GetLftBorder() ||
+ pBMPage->GetRgtBorder() != pRefPage->GetRgtBorder() ||
+ pBMPage->GetUppBorder() != pRefPage->GetUppBorder() ||
pBMPage->GetLwrBorder() != pRefPage->GetLwrBorder())
{
String aStr(SdResId(STR_SCALE_OBJECTS));
USHORT nBut = QueryBox( NULL, WB_YES_NO_CANCEL, aStr).Execute();
bScaleObjects = nBut == RET_YES;
- bContinue = nBut != RET_CANCEL;
+ bContinue = nBut != RET_CANCEL;
if (!bContinue)
{
@@ -618,19 +618,19 @@ BOOL SdDrawDocument::InsertBookmarkAsPage(
}
Merge(*pBookmarkDoc,
- 1, // Nicht die Handzettelseite
- 0xFFFF, // Aber alle anderen
+ 1, // Nicht die Handzettelseite
+ 0xFFFF, // Aber alle anderen
nActualInsertPos, // An Position einfuegen
bMergeMasterPages, // MasterPages mitnehmen
- FALSE, // Aber nur die benoetigten MasterPages
- TRUE, // Undo-Aktion erzeugen
- bCopy); // Seiten kopieren (oder mergen)
+ FALSE, // Aber nur die benoetigten MasterPages
+ TRUE, // Undo-Aktion erzeugen
+ bCopy); // Seiten kopieren (oder mergen)
for (nBMSdPage=0; nBMSdPage < nBMSdPageCount; nBMSdPage++)
{
- SdPage* pPage = (SdPage*) GetPage(nActualInsertPos);
+ SdPage* pPage = (SdPage*) GetPage(nActualInsertPos);
SdPage* pNotesPage = (SdPage*) GetPage(nActualInsertPos+1);
- String* pName = (String*) aNameList.GetObject(nBMSdPage);
+ String* pName = (String*) aNameList.GetObject(nBMSdPage);
// #95991# delay renaming *after* pages are copied (might destroy source otherwise)
if( aRenameSet.find(nBMSdPage) != aRenameSet.end() )
@@ -713,13 +713,13 @@ BOOL SdDrawDocument::InsertBookmarkAsPage(
}
Merge(*pBookmarkDoc,
- nBMPage, // Von Seite (Standard)
- nBMPage+1, // Bis Seite (Notizen)
+ nBMPage, // Von Seite (Standard)
+ nBMPage+1, // Bis Seite (Notizen)
nActualInsertPos, // An Position einfuegen
bMergeMasterPages, // MasterPages mitnehmen
- FALSE, // Aber nur die benoetigten MasterPages
- TRUE, // Undo-Aktion erzeugen
- bCopy); // Seiten kopieren (oder mergen)
+ FALSE, // Aber nur die benoetigten MasterPages
+ TRUE, // Undo-Aktion erzeugen
+ bCopy); // Seiten kopieren (oder mergen)
if( bReplace )
{
@@ -856,7 +856,7 @@ BOOL SdDrawDocument::InsertBookmarkAsPage(
USHORT nSdPageStart = (nInsertPos - 1) / 2;
USHORT nSdPageEnd = GetSdPageCount(PK_STANDARD) - nSdPageCount +
nSdPageStart - 1;
- const bool bRemoveEmptyPresObj = pBookmarkDoc &&
+ const bool bRemoveEmptyPresObj = pBookmarkDoc &&
(pBookmarkDoc->GetDocumentType() == DOCUMENT_TYPE_IMPRESS) &&
(GetDocumentType() == DOCUMENT_TYPE_DRAW);
@@ -1259,7 +1259,7 @@ SvStream* SdDrawDocument::GetDocumentStream(SdrDocumentStreamInfo& rStreamInfo)
uno::Reference < embed::XStorage > xStor;
if (mpDocSh)
xStor = mpDocSh->GetStorage();
- SvStream* pRet = NULL;
+ SvStream* pRet = NULL;
if( xStor.is() )
{
@@ -1316,7 +1316,7 @@ SvStream* SdDrawDocument::GetDocumentStream(SdrDocumentStreamInfo& rStreamInfo)
const ULONG nStartPos = pRet->Tell();
const ULONG nEndPos = pRet->Seek( STREAM_SEEK_TO_END );
const ULONG nStmLen = nEndPos - nStartPos;
- sal_uChar aTestByte;
+ sal_uChar aTestByte;
// try to read one byte
if( nStmLen )
@@ -1441,7 +1441,7 @@ void SdDrawDocument::RemoveUnnecessaryMasterPages(SdPage* pMasterPage, BOOL bOnl
delete pMaster;
if( bUndo )
- EndUndo(); // schon hier, damit sich Joes Actions ZWISCHEN unsere eigenen schieben
+ EndUndo(); // schon hier, damit sich Joes Actions ZWISCHEN unsere eigenen schieben
// alte Layoutvorlagen loeschen, wenn sie nicht mehr benoetigt werden
BOOL bDeleteOldStyleSheets = TRUE;
@@ -1477,7 +1477,7 @@ void SdDrawDocument::RemoveUnnecessaryMasterPages(SdPage* pMasterPage, BOOL bOnl
}
if (pMasterPage)
- break; // Nur diese eine MasterPage!
+ break; // Nur diese eine MasterPage!
}
}
@@ -1518,12 +1518,12 @@ void SdDrawDocument::SetMasterPage(USHORT nSdPageNum,
}
SdPage* pSelectedPage = GetSdPage(nSdPageNum, PK_STANDARD);
- SdPage* pNotes = (SdPage*) GetPage(pSelectedPage->GetPageNum()+1);
- SdPage& rOldMaster = (SdPage&)pSelectedPage->TRG_GetMasterPage();
+ SdPage* pNotes = (SdPage*) GetPage(pSelectedPage->GetPageNum()+1);
+ SdPage& rOldMaster = (SdPage&)pSelectedPage->TRG_GetMasterPage();
SdPage& rOldNotesMaster = (SdPage&)pNotes->TRG_GetMasterPage();
- SdPage* pMaster = NULL;
- SdPage* pNotesMaster = NULL;
- SdPage* pPage = NULL;
+ SdPage* pMaster = NULL;
+ SdPage* pNotesMaster = NULL;
+ SdPage* pPage = NULL;
String aOldPageLayoutName(pSelectedPage->GetLayoutName());
String aOldLayoutName(aOldPageLayoutName);
aOldLayoutName.Erase(aOldLayoutName.SearchAscii( SD_LT_SEPARATOR ));
@@ -1533,7 +1533,7 @@ void SdDrawDocument::SetMasterPage(USHORT nSdPageNum,
if (pSourceDoc)
{
List* pReplList = NULL;
- BOOL bLayoutReloaded = FALSE; // Wurde ex. Layout wieder geladen?
+ BOOL bLayoutReloaded = FALSE; // Wurde ex. Layout wieder geladen?
/*********************************************************************
|* LayoutName, Page and Notespage
@@ -1613,8 +1613,8 @@ void SdDrawDocument::SetMasterPage(USHORT nSdPageNum,
pSourceStyleSheetPool->SetSearchMask(SD_STYLE_FAMILY_MASTERPAGE);
static_cast<SdStyleSheetPool*>( mxStyleSheetPool.get())->SetSearchMask(SD_STYLE_FAMILY_MASTERPAGE);
- pReplList = new List; // Liste fuer ersetzte StyleSheets
- SdStyleSheetVector aCreatedStyles; // Liste fuer erzeugte StyleSheets
+ pReplList = new List; // Liste fuer ersetzte StyleSheets
+ SdStyleSheetVector aCreatedStyles; // Liste fuer erzeugte StyleSheets
SfxStyleSheetBase* pHisSheet = pSourceStyleSheetPool->First();
@@ -1630,7 +1630,7 @@ void SdDrawDocument::SetMasterPage(USHORT nSdPageNum,
{
// Es ist eine gleichnamige Vorlage vorhanden ist: Inhalte ersetzen
#ifdef DBG_UTIL
- BOOL bTest =
+ BOOL bTest =
#endif
pMySheet->SetName(pHisSheet->GetName());
DBG_ASSERT(bTest, "StyleSheet-Umbenennung fehlgeschlagen");
@@ -1769,7 +1769,7 @@ void SdDrawDocument::SetMasterPage(USHORT nSdPageNum,
List* pPageList = new List;
// #98456, this has to be removed according to CL (KA 07/08/2002)
-// #109884# but we need them again to restore the styles of the presentation objects while undo
+// #109884# but we need them again to restore the styles of the presentation objects while undo
pPageList->Insert(pMaster, LIST_APPEND);
pPageList->Insert(pNotesMaster, LIST_APPEND);
@@ -1874,13 +1874,13 @@ void SdDrawDocument::SetMasterPage(USHORT nSdPageNum,
String aName = String(SdResId(STR_LAYOUT_DEFAULT_NAME));
String aTest;
BOOL bNotANewName = TRUE;
- USHORT nCount = 0;
- USHORT nMPgCount = GetMasterPageCount();
+ USHORT nCount = 0;
+ USHORT nMPgCount = GetMasterPageCount();
for (nCount = 0; bNotANewName; nCount++)
{
// Testnamen bilden
- aTest = aName; // Standard, Standard1, Standard2, ...
+ aTest = aName; // Standard, Standard1, Standard2, ...
if (nCount > 0)
aTest += String::CreateFromInt32( nCount );
diff --git a/sd/source/core/drawdoc4.cxx b/sd/source/core/drawdoc4.cxx
index ee03c551aec8..db1ba0e6c2b5 100644
--- a/sd/source/core/drawdoc4.cxx
+++ b/sd/source/core/drawdoc4.cxx
@@ -2,7 +2,7 @@
/*************************************************************************
*
* 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
@@ -53,7 +53,7 @@
#include <editeng/lspcitem.hxx>
#include <editeng/adjitem.hxx>
#include <svx/dialogs.hrc>
-#include <svx/dialmgr.hxx> // SVX_RESSTR
+#include <svx/dialmgr.hxx> // SVX_RESSTR
#include <editeng/bulitem.hxx>
#include <svx/xtable.hxx>
#include <svx/sxmsuitm.hxx>
@@ -158,16 +158,16 @@ void SdDrawDocument::CreateLayoutTemplates()
SfxItemSet& rISet = pSheet->GetItemSet();
SfxItemPool* pPool = rISet.GetPool();
- String aNullStr;
+ String aNullStr;
::basegfx::B2DPolyPolygon aNullPolyPolygon;
- Color aNullCol(RGB_Color(COL_BLACK));
+ Color aNullCol(RGB_Color(COL_BLACK));
- XDash aNullDash;
+ XDash aNullDash;
XGradient aNullGrad(aNullCol,RGB_Color(COL_WHITE));
aNullGrad.SetStartIntens( 100 );
aNullGrad.SetEndIntens( 100 );
- XHatch aNullHatch(aNullCol);
+ XHatch aNullHatch(aNullCol);
// Linienattribute (Extended OutputDevice)
rISet.Put(XLineStyleItem(XLINE_SOLID));
@@ -196,7 +196,7 @@ void SdDrawDocument::CreateLayoutTemplates()
// Schattenattribute (Drawing Engine)
rISet.Put(SdrShadowItem(FALSE));
rISet.Put(SdrShadowColorItem(aNullStr, RGB_Color(COL_GRAY)));
- rISet.Put(SdrShadowXDistItem(300)); // 3 mm Schattendistanz
+ rISet.Put(SdrShadowXDistItem(300)); // 3 mm Schattendistanz
rISet.Put(SdrShadowYDistItem(300));
Font aLatinFont, aCJKFont, aCTLFont;
@@ -241,7 +241,7 @@ void SdDrawDocument::CreateLayoutTemplates()
rISet.Put(SvxLRSpaceItem(EE_PARA_LRSPACE));
rISet.Put(SvxULSpaceItem(EE_PARA_ULSPACE));
- rISet.Put( SdrTextLeftDistItem( 250 ) ); // sj: (i33745) using text frame distances seems to be a better default
+ rISet.Put( SdrTextLeftDistItem( 250 ) ); // sj: (i33745) using text frame distances seems to be a better default
rISet.Put( SdrTextRightDistItem( 250 ) );
rISet.Put( SdrTextUpperDistItem( 125 ) );
rISet.Put( SdrTextLowerDistItem( 125 ) );
@@ -257,18 +257,18 @@ void SdDrawDocument::CreateLayoutTemplates()
// die sind in allen Ebenen identisch
aBulletItem.SetStyle(BS_BULLET);
aBulletItem.SetStart(1);
- aBulletItem.SetScale(45); // in Prozent
+ aBulletItem.SetScale(45); // in Prozent
Font aBulletFont( pSSPool->GetBulletFont() );
- aBulletFont.SetSize(Size(0,635)); // sj: (i33745) changed default from 24 to 18 pt
+ aBulletFont.SetSize(Size(0,635)); // sj: (i33745) changed default from 24 to 18 pt
aBulletItem.SetFont(aBulletFont);
- aBulletItem.SetSymbol( 0x25CF ); // Punkt
+ aBulletItem.SetSymbol( 0x25CF ); // Punkt
rISet.Put(aBulletItem);
-// SfxUInt16Item aBulletStateItem(EE_PARA_BULLETSTATE, 0); // Bullets nicht sichtbar
-// rISet.Put(aBulletStateItem);
+// SfxUInt16Item aBulletStateItem(EE_PARA_BULLETSTATE, 0); // Bullets nicht sichtbar
+// rISet.Put(aBulletStateItem);
// Neues BulletItem
pSSPool->PutNumBulletItem( pSheet, aBulletFont );
@@ -308,7 +308,7 @@ void SdDrawDocument::CreateLayoutTemplates()
pISet->Put(SdrShadowItem(TRUE));
pISet->Put(SdrShadowColorItem(aNullStr, RGB_Color(COL_GRAY)));
- pISet->Put(SdrShadowXDistItem(300)); // 3 mm Schattendistanz
+ pISet->Put(SdrShadowXDistItem(300)); // 3 mm Schattendistanz
pISet->Put(SdrShadowYDistItem(300));
// ---- Objekt ohne Fllung -------------------------------------------
@@ -370,7 +370,7 @@ void SdDrawDocument::CreateLayoutTemplates()
pISet->Put(XFillStyleItem(XFILL_NONE));
SvxLRSpaceItem aLRSpaceItem( EE_PARA_LRSPACE );
- aLRSpaceItem.SetTxtFirstLineOfst(600); // Erstzeileneinzug 6mm, rechts 0
+ aLRSpaceItem.SetTxtFirstLineOfst(600); // Erstzeileneinzug 6mm, rechts 0
pISet->Put(aLRSpaceItem);
/* #i35937#
@@ -406,7 +406,7 @@ void SdDrawDocument::CreateLayoutTemplates()
pISet->Put(SdrShadowItem(TRUE));
pISet->Put(SdrShadowColorItem(aNullStr, RGB_Color(COL_GRAY)));
- pISet->Put(SdrShadowXDistItem(200)); // 2 mm Schattendistanz
+ pISet->Put(SdrShadowXDistItem(200)); // 2 mm Schattendistanz
pISet->Put(SdrShadowYDistItem(200));
pISet->Put(SvxFontHeightItem(846, 100, EE_CHAR_FONTHEIGHT )); // 24 pt
@@ -430,13 +430,13 @@ void SdDrawDocument::CreateLayoutTemplates()
pISet->Put(SdrShadowItem(TRUE));
pISet->Put(SdrShadowColorItem(aNullStr, RGB_Color(COL_GRAY)));
- pISet->Put(SdrShadowXDistItem(200)); // 2 mm Schattendistanz
+ pISet->Put(SdrShadowXDistItem(200)); // 2 mm Schattendistanz
pISet->Put(SdrShadowYDistItem(200));
pISet->Put(SvxFontHeightItem(1270, 100, EE_CHAR_FONTHEIGHT )); // 36 pt
SvxLRSpaceItem aLRSpItem( 200, 200, 0, 0, EE_PARA_LRSPACE);
- pISet->Put( aLRSpItem ); // Erstzeileneinzug 0 mm, links und rechts 2 mm
+ pISet->Put( aLRSpItem ); // Erstzeileneinzug 0 mm, links und rechts 2 mm
/* #i35937#
// SvxLRSpaceItem hart gesetzt: NumBulletItem anpassen
@@ -580,17 +580,17 @@ void SdDrawDocument::CreateDefaultCellStyles()
pSheet = &(pSSPool->Make(aDefaultCellStyleName, SD_STYLE_FAMILY_CELL, nMask));
pSheet->SetHelpId( aHelpFile, HID_SD_CELL_STYLE_DEFAULT );
SfxItemSet& rISet = pSheet->GetItemSet();
-// SfxItemPool* pPool = rISet.GetPool();
+// SfxItemPool* pPool = rISet.GetPool();
- String aNullStr;
+ String aNullStr;
- Color aNullCol(RGB_Color(COL_BLACK));
+ Color aNullCol(RGB_Color(COL_BLACK));
- XDash aNullDash;
+ XDash aNullDash;
XGradient aNullGrad(aNullCol,RGB_Color(COL_WHITE));
aNullGrad.SetStartIntens( 100 );
aNullGrad.SetEndIntens( 100 );
- XHatch aNullHatch(aNullCol);
+ XHatch aNullHatch(aNullCol);
rISet.Put(XFillStyleItem(XFILL_SOLID));
rISet.Put(XFillColorItem(String(), RGB_Color(0x00ccccff)));
@@ -616,13 +616,13 @@ void SdDrawDocument::CreateDefaultCellStyles()
rISet.Put( SvxFontHeightItem( 635, 100, EE_CHAR_FONTHEIGHT_CJK ) ); // 18 pt
rISet.Put( SvxFontHeightItem( convertFontHeightToCTL( 635 ), 100, EE_CHAR_FONTHEIGHT_CTL ) ); // 18 pt
-// rISet.Put( SvxWeightItem( WEIGHT_NORMAL, EE_CHAR_WEIGHT ) );
-// rISet.Put( SvxWeightItem( WEIGHT_NORMAL, EE_CHAR_WEIGHT_CJK ) );
-// rISet.Put( SvxWeightItem( WEIGHT_NORMAL, EE_CHAR_WEIGHT_CTL ) );
+// rISet.Put( SvxWeightItem( WEIGHT_NORMAL, EE_CHAR_WEIGHT ) );
+// rISet.Put( SvxWeightItem( WEIGHT_NORMAL, EE_CHAR_WEIGHT_CJK ) );
+// rISet.Put( SvxWeightItem( WEIGHT_NORMAL, EE_CHAR_WEIGHT_CTL ) );
-// rISet.Put( SvxPostureItem( ITALIC_NONE, EE_CHAR_ITALIC ) );
-// rISet.Put( SvxPostureItem( ITALIC_NONE, EE_CHAR_ITALIC_CJK ) );
-// rISet.Put( SvxPostureItem( ITALIC_NONE, EE_CHAR_ITALIC_CTL ) );
+// rISet.Put( SvxPostureItem( ITALIC_NONE, EE_CHAR_ITALIC ) );
+// rISet.Put( SvxPostureItem( ITALIC_NONE, EE_CHAR_ITALIC_CJK ) );
+// rISet.Put( SvxPostureItem( ITALIC_NONE, EE_CHAR_ITALIC_CTL ) );
// rISet.Put(SvxContourItem(FALSE, EE_CHAR_OUTLINE ));
// rISet.Put(SvxShadowedItem(FALSE, EE_CHAR_SHADOW ));
@@ -649,7 +649,7 @@ void SdDrawDocument::CreateDefaultCellStyles()
Color aWhite( COL_WHITE );
SvxBorderLine aBorderLine( &aWhite, 1, 0, 0 );
-
+
SvxBoxItem aBoxItem( SDRATTR_TABLE_BORDER );
aBoxItem.SetLine( &aBorderLine, BOX_LINE_TOP );
aBoxItem.SetLine( &aBorderLine, BOX_LINE_BOTTOM );
@@ -678,7 +678,7 @@ void SdDrawDocument::CreateDefaultCellStyles()
// ---- Orange --------------------------------------------------
- Any aOrange1( implMakeSolidCellStyle( pSSPool, OUString( RTL_CONSTASCII_USTRINGPARAM("orange1") ), aDefaultCellStyleName, RGB_COLORDATA(255,204,153)));
+ Any aOrange1( implMakeSolidCellStyle( pSSPool, OUString( RTL_CONSTASCII_USTRINGPARAM("orange1") ), aDefaultCellStyleName, RGB_COLORDATA(255,204,153)));
Any aOrange2( implMakeSolidCellStyle( pSSPool, OUString( RTL_CONSTASCII_USTRINGPARAM("orange2") ), aDefaultCellStyleName, RGB_COLORDATA(255,153,102)));
Any aOrange3( implMakeSolidCellStyle( pSSPool, OUString( RTL_CONSTASCII_USTRINGPARAM("orange3") ), aDefaultCellStyleName, RGB_COLORDATA(255,102,51)));
@@ -998,7 +998,7 @@ void SdDrawDocument::SpellObject(SdrTextObj* pObj)
bLock = pModel->isLocked();
pModel->setLock( sal_True );
}
- // taking text from the outliner
+ // taking text from the outliner
((SdrTextObj*) pObj)->SetOutlinerParaObject( pOutl->CreateParaObject() );
pObj->BroadcastObjectChange();
@@ -1209,9 +1209,9 @@ void SdDrawDocument::RenameLayoutTemplate(const String& rOldLayoutName, const St
aSheetName.Insert(rNewName, 0);
StyleReplaceData* pReplData = new StyleReplaceData;
- pReplData->nFamily = pSheet->GetFamily();
+ pReplData->nFamily = pSheet->GetFamily();
pReplData->nNewFamily = pSheet->GetFamily();
- pReplData->aName = pSheet->GetName();
+ pReplData->aName = pSheet->GetName();
pReplData->aNewName = aSheetName;
aReplList.Insert(pReplData, LIST_APPEND);
@@ -1333,17 +1333,17 @@ void SdDrawDocument::SetTextDefaults() const
// BulletItem und BulletFont fuer Titel und Gliederung
SvxBulletItem aBulletItem(EE_PARA_BULLET);
Font aBulletFont( static_cast<SdStyleSheetPool*>( mxStyleSheetPool.get())->GetBulletFont() );
- aBulletFont.SetSize(Size(0,846)); // 24 pt
+ aBulletFont.SetSize(Size(0,846)); // 24 pt
aBulletItem.SetFont(aBulletFont);
aBulletItem.SetStyle(BS_BULLET);
aBulletItem.SetStart(1);
- aBulletItem.SetScale(45); // in Prozent
- aBulletItem.SetSymbol( 0x25CF ); // Punkt
+ aBulletItem.SetScale(45); // in Prozent
+ aBulletItem.SetSymbol( 0x25CF ); // Punkt
pItemPool->SetPoolDefaultItem( aBulletItem );
// Bullets nicht sichtbar
-// SfxUInt16Item aBulletStateItem(EE_PARA_BULLETSTATE, 0);
-// pItemPool->SetPoolDefaultItem( aBulletStateItem );
+// SfxUInt16Item aBulletStateItem(EE_PARA_BULLETSTATE, 0);
+// pItemPool->SetPoolDefaultItem( aBulletStateItem );
// Neues BulletItem
SvxNumberFormat aNumberFormat(SVX_NUM_CHAR_SPECIAL);
@@ -1435,9 +1435,9 @@ void SdDrawDocument::getDefaultFonts( Font& rLatinFont, Font& rCJKFont, Font& rC
{
LanguageType eLatin = GetLanguage( EE_CHAR_LANGUAGE );
- // #108374# / #107782#: If the UI language is Korean, the default Latin font has to
- // be queried for Korean, too (the Latin language from the document can't be Korean).
- // This is the same logic as in SwDocShell::InitNew.
+ // #108374# / #107782#: If the UI language is Korean, the default Latin font has to
+ // be queried for Korean, too (the Latin language from the document can't be Korean).
+ // This is the same logic as in SwDocShell::InitNew.
LanguageType eUiLanguage = Application::GetSettings().GetUILanguage();
switch( eUiLanguage )
{
diff --git a/sd/source/core/drawdoc_animations.cxx b/sd/source/core/drawdoc_animations.cxx
index 2d024f8a7c84..4eb175597c55 100644
--- a/sd/source/core/drawdoc_animations.cxx
+++ b/sd/source/core/drawdoc_animations.cxx
@@ -2,7 +2,7 @@
/*************************************************************************
*
* 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
diff --git a/sd/source/core/glob.src b/sd/source/core/glob.src
index f1c7058ddf79..24d4f2231ee5 100755
--- a/sd/source/core/glob.src
+++ b/sd/source/core/glob.src
@@ -1,7 +1,7 @@
/*************************************************************************
*
* 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
@@ -372,8 +372,8 @@ String STR_SAVE_DOC
Text [ en-US ] = "Save Document" ;
};
-#define ERR_CODE( class, err ) (class | (err - ERROR_SD_BASE))
-#define WARN_CODE( class, err ) (class | ( err - WARN_SD_BASE))
+#define ERR_CODE( class, err ) (class | (err - ERROR_SD_BASE))
+#define WARN_CODE( class, err ) (class | ( err - WARN_SD_BASE))
Resource RID_SD_ERRHDL
{
diff --git a/sd/source/core/pglink.cxx b/sd/source/core/pglink.cxx
index 6c19008f6c16..cb47af891fc6 100644
--- a/sd/source/core/pglink.cxx
+++ b/sd/source/core/pglink.cxx
@@ -2,7 +2,7 @@
/*************************************************************************
*
* 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
@@ -38,7 +38,7 @@
/*************************************************************************
|*
-|* Ctor
+|* Ctor
|*
\************************************************************************/
diff --git a/sd/source/core/sdattr.cxx b/sd/source/core/sdattr.cxx
index f1e5fd073ea8..41fd0bcea4cf 100644
--- a/sd/source/core/sdattr.cxx
+++ b/sd/source/core/sdattr.cxx
@@ -2,7 +2,7 @@
/*************************************************************************
*
* 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
@@ -36,7 +36,7 @@ using namespace ::com::sun::star;
/*************************************************************************
|*
-|* DiaEffectItem
+|* DiaEffectItem
|*
*************************************************************************/
TYPEINIT1_AUTOFACTORY( DiaEffectItem, SfxEnumItem );
@@ -67,7 +67,7 @@ SfxPoolItem* DiaEffectItem::Create( SvStream& rIn, USHORT ) const
/*************************************************************************
|*
-|* DiaSpeedItem
+|* DiaSpeedItem
|*
*************************************************************************/
TYPEINIT1_AUTOFACTORY( DiaSpeedItem, SfxEnumItem );
@@ -98,7 +98,7 @@ SfxPoolItem* DiaSpeedItem::Create( SvStream& rIn, USHORT ) const
/*************************************************************************
|*
-|* DiaAutoItem
+|* DiaAutoItem
|*
*************************************************************************/
TYPEINIT1_AUTOFACTORY( DiaAutoItem, SfxEnumItem );
@@ -128,7 +128,7 @@ SfxPoolItem* DiaAutoItem::Create( SvStream& rIn, USHORT ) const
/*************************************************************************
|*
-|* DiaTimeItem
+|* DiaTimeItem
|*
*************************************************************************/
TYPEINIT1_AUTOFACTORY( DiaTimeItem, SfxUInt32Item );
diff --git a/sd/source/core/sdiocmpt.cxx b/sd/source/core/sdiocmpt.cxx
index f67f550b984c..1f7cc605f94b 100644
--- a/sd/source/core/sdiocmpt.cxx
+++ b/sd/source/core/sdiocmpt.cxx
@@ -2,7 +2,7 @@
/*************************************************************************
*
* 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
@@ -37,9 +37,9 @@
//////////////////////////////////////////////////////////////////////////////
old_SdrDownCompat::old_SdrDownCompat(SvStream& rNewStream, UINT16 nNewMode)
-: rStream(rNewStream),
- nSubRecSiz(0),
- nSubRecPos(0),
+: rStream(rNewStream),
+ nSubRecSiz(0),
+ nSubRecPos(0),
nMode(nNewMode),
bOpen(FALSE)
{
@@ -54,56 +54,56 @@ old_SdrDownCompat::~old_SdrDownCompat()
void old_SdrDownCompat::Read()
{
- rStream >> nSubRecSiz;
+ rStream >> nSubRecSiz;
}
void old_SdrDownCompat::Write()
{
- rStream << nSubRecSiz;
+ rStream << nSubRecSiz;
}
void old_SdrDownCompat::OpenSubRecord()
{
- if(rStream.GetError())
+ if(rStream.GetError())
return;
+
+ nSubRecPos = rStream.Tell();
- nSubRecPos = rStream.Tell();
-
- if(nMode == STREAM_READ)
+ if(nMode == STREAM_READ)
{
- Read();
- }
- else if(nMode == STREAM_WRITE)
+ Read();
+ }
+ else if(nMode == STREAM_WRITE)
{
- Write();
- }
+ Write();
+ }
bOpen = TRUE;
}
void old_SdrDownCompat::CloseSubRecord()
{
- if(rStream.GetError())
+ if(rStream.GetError())
return;
UINT32 nAktPos(rStream.Tell());
-
- if(nMode == STREAM_READ)
+
+ if(nMode == STREAM_READ)
{
UINT32 nReadAnz(nAktPos - nSubRecPos);
- if(nReadAnz != nSubRecSiz)
+ if(nReadAnz != nSubRecSiz)
{
- rStream.Seek(nSubRecPos + nSubRecSiz);
+ rStream.Seek(nSubRecPos + nSubRecSiz);
}
- }
- else if(nMode == STREAM_WRITE)
+ }
+ else if(nMode == STREAM_WRITE)
{
- nSubRecSiz = nAktPos - nSubRecPos;
- rStream.Seek(nSubRecPos);
- Write();
- rStream.Seek(nAktPos);
- }
-
+ nSubRecSiz = nAktPos - nSubRecPos;
+ rStream.Seek(nSubRecPos);
+ Write();
+ rStream.Seek(nAktPos);
+ }
+
bOpen = FALSE;
}
@@ -114,7 +114,7 @@ void old_SdrDownCompat::CloseSubRecord()
\************************************************************************/
SdIOCompat::SdIOCompat(SvStream& rNewStream, USHORT nNewMode, UINT16 nVer)
-: old_SdrDownCompat(rNewStream, nNewMode), nVersion(nVer)
+: old_SdrDownCompat(rNewStream, nNewMode), nVersion(nVer)
{
if (nNewMode == STREAM_WRITE)
{
@@ -130,7 +130,7 @@ SdIOCompat::SdIOCompat(SvStream& rNewStream, USHORT nNewMode, UINT16 nVer)
}
}
-SdIOCompat::~SdIOCompat()
+SdIOCompat::~SdIOCompat()
{
}
diff --git a/sd/source/core/sdobjfac.cxx b/sd/source/core/sdobjfac.cxx
index 637fb501822d..d761bed5cf05 100644
--- a/sd/source/core/sdobjfac.cxx
+++ b/sd/source/core/sdobjfac.cxx
@@ -2,7 +2,7 @@
/*************************************************************************
*
* 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
diff --git a/sd/source/core/sdpage.cxx b/sd/source/core/sdpage.cxx
index 16469e7b8d44..38af4fabc1de 100644
--- a/sd/source/core/sdpage.cxx
+++ b/sd/source/core/sdpage.cxx
@@ -2,7 +2,7 @@
/*************************************************************************
*
* 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
@@ -94,33 +94,33 @@ TYPEINIT2( SdPage, FmFormPage, SdrObjUserCall );
/*************************************************************************
|*
-|* Ctor
+|* Ctor
|*
\************************************************************************/
SdPage::SdPage(SdDrawDocument& rNewDoc, StarBASIC* pBasic, BOOL bMasterPage)
-: FmFormPage(rNewDoc, pBasic, bMasterPage)
-, SdrObjUserCall()
-, mePageKind(PK_STANDARD)
-, meAutoLayout(AUTOLAYOUT_NONE)
-, mbSelected(FALSE)
-, mePresChange(PRESCHANGE_MANUAL)
-, mnTime(1)
-, mbSoundOn(FALSE)
-, mbExcluded(FALSE)
+: FmFormPage(rNewDoc, pBasic, bMasterPage)
+, SdrObjUserCall()
+, mePageKind(PK_STANDARD)
+, meAutoLayout(AUTOLAYOUT_NONE)
+, mbSelected(FALSE)
+, mePresChange(PRESCHANGE_MANUAL)
+, mnTime(1)
+, mbSoundOn(FALSE)
+, mbExcluded(FALSE)
, mbLoopSound(FALSE)
-, mbStopSound(FALSE)
-, mbScaleObjects(TRUE)
-, mbBackgroundFullSize( FALSE )
-, meCharSet(gsl_getSystemTextEncoding())
-, mnPaperBin(PAPERBIN_PRINTER_SETTINGS)
-, mpPageLink(NULL)
-, mpItems(NULL)
-, mnTransitionType(0)
-, mnTransitionSubtype(0)
-, mbTransitionDirection(sal_True)
-, mnTransitionFadeColor(0)
-, mfTransitionDuration(2.0)
+, mbStopSound(FALSE)
+, mbScaleObjects(TRUE)
+, mbBackgroundFullSize( FALSE )
+, meCharSet(gsl_getSystemTextEncoding())
+, mnPaperBin(PAPERBIN_PRINTER_SETTINGS)
+, mpPageLink(NULL)
+, mpItems(NULL)
+, mnTransitionType(0)
+, mnTransitionSubtype(0)
+, mbTransitionDirection(sal_True)
+, mnTransitionFadeColor(0)
+, mfTransitionDuration(2.0)
, mbIsPrecious(true)
{
// Der Layoutname der Seite wird von SVDRAW benutzt, um die Praesentations-
@@ -255,7 +255,7 @@ SdrObject* SdPage::CreatePresObj(PresObjKind eObjKind, BOOL bVertical, const Rec
SdrObject* pSdrObj = NULL;
- bool bForceText = false; // forces the shape text to be set even if its empty
+ bool bForceText = false; // forces the shape text to be set even if its empty
bool bEmptyPresObj = true;
switch( eObjKind )
@@ -364,7 +364,7 @@ SdrObject* SdPage::CreatePresObj(PresObjKind eObjKind, BOOL bVertical, const Rec
// #i105146# We want no content to be displayed for PK_HANDOUT,
// so just never set a page as content
pSdrObj = new SdrPageObj(0);
-// pSdrObj->SetResizeProtect(TRUE);
+// pSdrObj->SetResizeProtect(TRUE);
}
break;
@@ -592,7 +592,7 @@ SfxStyleSheet* SdPage::GetStyleSheetForMasterPageBackground() const
aName += String(SdResId(STR_LAYOUT_BACKGROUND));
SfxStyleSheetBasePool* pStShPool = pModel->GetStyleSheetPool();
- SfxStyleSheetBase* pResult = pStShPool->Find(aName, SD_STYLE_FAMILY_MASTERPAGE);
+ SfxStyleSheetBase* pResult = pStShPool->Find(aName, SD_STYLE_FAMILY_MASTERPAGE);
return (SfxStyleSheet*)pResult;
}
@@ -641,7 +641,7 @@ SfxStyleSheet* SdPage::GetStyleSheetForPresObj(PresObjKind eObjKind) const
}
SfxStyleSheetBasePool* pStShPool = pModel->GetStyleSheetPool();
- SfxStyleSheetBase* pResult = pStShPool->Find(aName, SD_STYLE_FAMILY_MASTERPAGE);
+ SfxStyleSheetBase* pResult = pStShPool->Find(aName, SD_STYLE_FAMILY_MASTERPAGE);
return (SfxStyleSheet*)pResult;
}
@@ -656,8 +656,8 @@ SdStyleSheet* SdPage::getPresentationStyle( sal_uInt32 nHelpId ) const
sal_uInt16 nNameId;
switch( nHelpId )
{
- case HID_PSEUDOSHEET_TITLE: nNameId = STR_LAYOUT_TITLE; break;
- case HID_PSEUDOSHEET_SUBTITLE: nNameId = STR_LAYOUT_SUBTITLE; break;
+ case HID_PSEUDOSHEET_TITLE: nNameId = STR_LAYOUT_TITLE; break;
+ case HID_PSEUDOSHEET_SUBTITLE: nNameId = STR_LAYOUT_SUBTITLE; break;
case HID_PSEUDOSHEET_OUTLINE1:
case HID_PSEUDOSHEET_OUTLINE2:
case HID_PSEUDOSHEET_OUTLINE3:
@@ -666,10 +666,10 @@ SdStyleSheet* SdPage::getPresentationStyle( sal_uInt32 nHelpId ) const
case HID_PSEUDOSHEET_OUTLINE6:
case HID_PSEUDOSHEET_OUTLINE7:
case HID_PSEUDOSHEET_OUTLINE8:
- case HID_PSEUDOSHEET_OUTLINE9: nNameId = STR_LAYOUT_OUTLINE; break;
- case HID_PSEUDOSHEET_BACKGROUNDOBJECTS: nNameId = STR_LAYOUT_BACKGROUNDOBJECTS; break;
- case HID_PSEUDOSHEET_BACKGROUND: nNameId = STR_LAYOUT_BACKGROUND; break;
- case HID_PSEUDOSHEET_NOTES: nNameId = STR_LAYOUT_NOTES; break;
+ case HID_PSEUDOSHEET_OUTLINE9: nNameId = STR_LAYOUT_OUTLINE; break;
+ case HID_PSEUDOSHEET_BACKGROUNDOBJECTS: nNameId = STR_LAYOUT_BACKGROUNDOBJECTS; break;
+ case HID_PSEUDOSHEET_BACKGROUND: nNameId = STR_LAYOUT_BACKGROUND; break;
+ case HID_PSEUDOSHEET_NOTES: nNameId = STR_LAYOUT_NOTES; break;
default:
DBG_ERROR( "SdPage::getPresentationStyle(), illegal argument!" );
@@ -683,7 +683,7 @@ SdStyleSheet* SdPage::getPresentationStyle( sal_uInt32 nHelpId ) const
}
SfxStyleSheetBasePool* pStShPool = pModel->GetStyleSheetPool();
- SfxStyleSheetBase* pResult = pStShPool->Find(aStyleName, SD_STYLE_FAMILY_MASTERPAGE);
+ SfxStyleSheetBase* pResult = pStShPool->Find(aStyleName, SD_STYLE_FAMILY_MASTERPAGE);
return dynamic_cast<SdStyleSheet*>(pResult);
}
@@ -1102,7 +1102,7 @@ Rectangle SdPage::GetLayoutRect() const
|*
\*************************************************************************/
-const int MAX_PRESOBJS = 7; // maximum number of presentation objects per layout
+const int MAX_PRESOBJS = 7; // maximum number of presentation objects per layout
const int VERTICAL = 0x8000;
struct LayoutDescriptor
@@ -1123,50 +1123,50 @@ LayoutDescriptor::LayoutDescriptor( int nLayout, int k0, int k1, int k2, int k3,
meKind[3] = static_cast<PresObjKind>(k3 & (~VERTICAL)); mbVertical[3] = (k3 & VERTICAL) == VERTICAL;
meKind[4] = static_cast<PresObjKind>(k4 & (~VERTICAL)); mbVertical[4] = (k4 & VERTICAL) == VERTICAL;
meKind[5] = static_cast<PresObjKind>(k5 & (~VERTICAL)); mbVertical[5] = (k5 & VERTICAL) == VERTICAL;
- meKind[6] = static_cast<PresObjKind>(k6 & (~VERTICAL)); mbVertical[6] = (k6 & VERTICAL) == VERTICAL;
+ meKind[6] = static_cast<PresObjKind>(k6 & (~VERTICAL)); mbVertical[6] = (k6 & VERTICAL) == VERTICAL;
}
static const LayoutDescriptor& GetLayoutDescriptor( AutoLayout eLayout )
{
static LayoutDescriptor aLayouts[AUTOLAYOUT__END-AUTOLAYOUT__START] =
{
- LayoutDescriptor( 0, PRESOBJ_TITLE, PRESOBJ_TEXT ), // AUTOLAYOUT_TITLE
- LayoutDescriptor( 0, PRESOBJ_TITLE, PRESOBJ_OUTLINE ), // AUTOLAYOUT_ENUM
- LayoutDescriptor( 0, PRESOBJ_TITLE, PRESOBJ_OUTLINE ), // AUTOLAYOUT_CHART
- LayoutDescriptor( 1, PRESOBJ_TITLE, PRESOBJ_OUTLINE, PRESOBJ_OUTLINE ), // AUTOLAYOUT_2TEXT
- LayoutDescriptor( 1, PRESOBJ_TITLE, PRESOBJ_OUTLINE, PRESOBJ_OUTLINE ), // AUTOLAYOUT_TEXTCHART
- LayoutDescriptor( 0, PRESOBJ_TITLE, PRESOBJ_OUTLINE ), // AUTOLAYOUT_ORG
- LayoutDescriptor( 1, PRESOBJ_TITLE, PRESOBJ_OUTLINE, PRESOBJ_OUTLINE ), // AUTOLAYOUT_TEXTCLbIP
- LayoutDescriptor( 1, PRESOBJ_TITLE, PRESOBJ_OUTLINE, PRESOBJ_OUTLINE ), // AUTOLAYOUT_CHARTTEXT
- LayoutDescriptor( 0, PRESOBJ_TITLE, PRESOBJ_OUTLINE ), // AUTOLAYOUT_TAB
- LayoutDescriptor( 1, PRESOBJ_TITLE, PRESOBJ_OUTLINE, PRESOBJ_OUTLINE ), // AUTOLAYOUT_CLIPTEXT
- LayoutDescriptor( 1, PRESOBJ_TITLE, PRESOBJ_OUTLINE, PRESOBJ_OUTLINE ), // AUTOLAYOUT_TEXTOBJ
- LayoutDescriptor( 0, PRESOBJ_TITLE, PRESOBJ_OBJECT ), // AUTOLAYOUT_OBJ
- LayoutDescriptor( 2, PRESOBJ_TITLE, PRESOBJ_OUTLINE, PRESOBJ_OUTLINE, PRESOBJ_OUTLINE ), // AUTOLAYOUT_TEXT2OBJ
- LayoutDescriptor( 1, PRESOBJ_TITLE, PRESOBJ_OUTLINE, PRESOBJ_OUTLINE ), // AUTOLAYOUT_TEXTOBJ
- LayoutDescriptor( 4, PRESOBJ_TITLE, PRESOBJ_OUTLINE, PRESOBJ_OUTLINE ), // AUTOLAYOUT_OBJOVERTEXT
- LayoutDescriptor( 3, PRESOBJ_TITLE, PRESOBJ_OUTLINE, PRESOBJ_OUTLINE, PRESOBJ_OUTLINE ), // AUTOLAYOUT_2OBJTEXT
- LayoutDescriptor( 5, PRESOBJ_TITLE, PRESOBJ_OUTLINE, PRESOBJ_OUTLINE, PRESOBJ_OUTLINE ), // AUTOLAYOUT_2OBJOVERTEXT
- LayoutDescriptor( 4, PRESOBJ_TITLE, PRESOBJ_OUTLINE, PRESOBJ_OUTLINE ), // AUTOLAYOUT_TEXTOVEROBJ
- LayoutDescriptor( 6, PRESOBJ_TITLE, PRESOBJ_OUTLINE, PRESOBJ_OUTLINE, // AUTOLAYOUT_4OBJ
+ LayoutDescriptor( 0, PRESOBJ_TITLE, PRESOBJ_TEXT ), // AUTOLAYOUT_TITLE
+ LayoutDescriptor( 0, PRESOBJ_TITLE, PRESOBJ_OUTLINE ), // AUTOLAYOUT_ENUM
+ LayoutDescriptor( 0, PRESOBJ_TITLE, PRESOBJ_OUTLINE ), // AUTOLAYOUT_CHART
+ LayoutDescriptor( 1, PRESOBJ_TITLE, PRESOBJ_OUTLINE, PRESOBJ_OUTLINE ), // AUTOLAYOUT_2TEXT
+ LayoutDescriptor( 1, PRESOBJ_TITLE, PRESOBJ_OUTLINE, PRESOBJ_OUTLINE ), // AUTOLAYOUT_TEXTCHART
+ LayoutDescriptor( 0, PRESOBJ_TITLE, PRESOBJ_OUTLINE ), // AUTOLAYOUT_ORG
+ LayoutDescriptor( 1, PRESOBJ_TITLE, PRESOBJ_OUTLINE, PRESOBJ_OUTLINE ), // AUTOLAYOUT_TEXTCLbIP
+ LayoutDescriptor( 1, PRESOBJ_TITLE, PRESOBJ_OUTLINE, PRESOBJ_OUTLINE ), // AUTOLAYOUT_CHARTTEXT
+ LayoutDescriptor( 0, PRESOBJ_TITLE, PRESOBJ_OUTLINE ), // AUTOLAYOUT_TAB
+ LayoutDescriptor( 1, PRESOBJ_TITLE, PRESOBJ_OUTLINE, PRESOBJ_OUTLINE ), // AUTOLAYOUT_CLIPTEXT
+ LayoutDescriptor( 1, PRESOBJ_TITLE, PRESOBJ_OUTLINE, PRESOBJ_OUTLINE ), // AUTOLAYOUT_TEXTOBJ
+ LayoutDescriptor( 0, PRESOBJ_TITLE, PRESOBJ_OBJECT ), // AUTOLAYOUT_OBJ
+ LayoutDescriptor( 2, PRESOBJ_TITLE, PRESOBJ_OUTLINE, PRESOBJ_OUTLINE, PRESOBJ_OUTLINE ), // AUTOLAYOUT_TEXT2OBJ
+ LayoutDescriptor( 1, PRESOBJ_TITLE, PRESOBJ_OUTLINE, PRESOBJ_OUTLINE ), // AUTOLAYOUT_TEXTOBJ
+ LayoutDescriptor( 4, PRESOBJ_TITLE, PRESOBJ_OUTLINE, PRESOBJ_OUTLINE ), // AUTOLAYOUT_OBJOVERTEXT
+ LayoutDescriptor( 3, PRESOBJ_TITLE, PRESOBJ_OUTLINE, PRESOBJ_OUTLINE, PRESOBJ_OUTLINE ), // AUTOLAYOUT_2OBJTEXT
+ LayoutDescriptor( 5, PRESOBJ_TITLE, PRESOBJ_OUTLINE, PRESOBJ_OUTLINE, PRESOBJ_OUTLINE ), // AUTOLAYOUT_2OBJOVERTEXT
+ LayoutDescriptor( 4, PRESOBJ_TITLE, PRESOBJ_OUTLINE, PRESOBJ_OUTLINE ), // AUTOLAYOUT_TEXTOVEROBJ
+ LayoutDescriptor( 6, PRESOBJ_TITLE, PRESOBJ_OUTLINE, PRESOBJ_OUTLINE, // AUTOLAYOUT_4OBJ
PRESOBJ_OUTLINE, PRESOBJ_OUTLINE ),
- LayoutDescriptor( 0, PRESOBJ_TITLE, PRESOBJ_NONE ), // AUTOLAYOUT_ONLY_TITLE
- LayoutDescriptor( 0, PRESOBJ_NONE ), // AUTOLAYOUT_NONE
- LayoutDescriptor( 0, PRESOBJ_PAGE, PRESOBJ_NOTES ), // AUTOLAYOUT_NOTES
- LayoutDescriptor( 0 ), // AUTOLAYOUT_HANDOUT1
- LayoutDescriptor( 0 ), // AUTOLAYOUT_HANDOUT2
- LayoutDescriptor( 0 ), // AUTOLAYOUT_HANDOUT3
- LayoutDescriptor( 0 ), // AUTOLAYOUT_HANDOUT4
- LayoutDescriptor( 0 ), // AUTOLAYOUT_HANDOUT6
+ LayoutDescriptor( 0, PRESOBJ_TITLE, PRESOBJ_NONE ), // AUTOLAYOUT_ONLY_TITLE
+ LayoutDescriptor( 0, PRESOBJ_NONE ), // AUTOLAYOUT_NONE
+ LayoutDescriptor( 0, PRESOBJ_PAGE, PRESOBJ_NOTES ), // AUTOLAYOUT_NOTES
+ LayoutDescriptor( 0 ), // AUTOLAYOUT_HANDOUT1
+ LayoutDescriptor( 0 ), // AUTOLAYOUT_HANDOUT2
+ LayoutDescriptor( 0 ), // AUTOLAYOUT_HANDOUT3
+ LayoutDescriptor( 0 ), // AUTOLAYOUT_HANDOUT4
+ LayoutDescriptor( 0 ), // AUTOLAYOUT_HANDOUT6
LayoutDescriptor( 7, PRESOBJ_TITLE|VERTICAL, PRESOBJ_OUTLINE|VERTICAL, PRESOBJ_OUTLINE ),// AUTOLAYOUT_VERTICAL_TITLE_TEXT_CHART
- LayoutDescriptor( 8, PRESOBJ_TITLE|VERTICAL, PRESOBJ_OUTLINE|VERTICAL ), // AUTOLAYOUT_VERTICAL_TITLE_VERTICAL_OUTLINE
- LayoutDescriptor( 0, PRESOBJ_TITLE, PRESOBJ_OUTLINE|VERTICAL ), // AUTOLAYOUT_TITLE_VERTICAL_OUTLINE
- LayoutDescriptor( 9, PRESOBJ_TITLE, PRESOBJ_OUTLINE|VERTICAL, PRESOBJ_OUTLINE|VERTICAL ), // AUTOLAYOUT_TITLE_VERTICAL_OUTLINE_CLIPART
- LayoutDescriptor( 0 ), // AUTOLAYOUT_HANDOUT9
+ LayoutDescriptor( 8, PRESOBJ_TITLE|VERTICAL, PRESOBJ_OUTLINE|VERTICAL ), // AUTOLAYOUT_VERTICAL_TITLE_VERTICAL_OUTLINE
+ LayoutDescriptor( 0, PRESOBJ_TITLE, PRESOBJ_OUTLINE|VERTICAL ), // AUTOLAYOUT_TITLE_VERTICAL_OUTLINE
+ LayoutDescriptor( 9, PRESOBJ_TITLE, PRESOBJ_OUTLINE|VERTICAL, PRESOBJ_OUTLINE|VERTICAL ), // AUTOLAYOUT_TITLE_VERTICAL_OUTLINE_CLIPART
+ LayoutDescriptor( 0 ), // AUTOLAYOUT_HANDOUT9
LayoutDescriptor( 10, PRESOBJ_TEXT, PRESOBJ_NONE ), // AUTOLAYOUT_ONLY_TEXT
- LayoutDescriptor( 6, PRESOBJ_TITLE, PRESOBJ_OUTLINE, PRESOBJ_OUTLINE, // AUTOLAYOUT_4CLIPART
+ LayoutDescriptor( 6, PRESOBJ_TITLE, PRESOBJ_OUTLINE, PRESOBJ_OUTLINE, // AUTOLAYOUT_4CLIPART
PRESOBJ_GRAPHIC, PRESOBJ_GRAPHIC ),
- LayoutDescriptor( 11, PRESOBJ_TITLE, PRESOBJ_OUTLINE, PRESOBJ_OUTLINE, // AUTOLAYOUT_6CLIPART
+ LayoutDescriptor( 11, PRESOBJ_TITLE, PRESOBJ_OUTLINE, PRESOBJ_OUTLINE, // AUTOLAYOUT_6CLIPART
PRESOBJ_OUTLINE, PRESOBJ_OUTLINE, PRESOBJ_OUTLINE, PRESOBJ_OUTLINE )
};
@@ -1380,7 +1380,7 @@ static void CalcAutoLayoutRectangles( SdPage& rPage, int nLayout, Rectangle* rRe
rRectangle[6] = Rectangle (aLayoutPos, aLayoutSize);
break;
- }
+ }
}
}
@@ -2235,16 +2235,16 @@ SdrObject* convertPresentationObjectImpl( SdPage& rPage, SdrObject* pSourceObj,
/** reuses or creates a presentation shape for an auto layout that fits the given parameter
- @param eObjKind
+ @param eObjKind
The kind of presentation shape we like to have
- @param nIndex
+ @param nIndex
If > 1 we skip the first nIndex-1 shapes with the presentation shape kind eObjKind while
looking for an existing presentation shape
- @param bVertical
+ @param bVertical
If true, the shape is created vertical if bInit is true
- @param aRect
+ @param aRect
The rectangle that should be used to transform the shape
- @param bInit
+ @param bInit
If true the shape is created if not found
@returns
A presentation shape that was either found or created with the given parameters
@@ -2271,10 +2271,10 @@ SdrObject* SdPage::InsertAutoLayoutShape( SdrObject* pObj, PresObjKind eObjKind,
pUndoManager->AddUndoAction( new UndoObjectUserCall( *pObj ) );
}
-// if ( pObj->ISA(SdrGrafObj) && !pObj->IsEmptyPresObj() )
+// if ( pObj->ISA(SdrGrafObj) && !pObj->IsEmptyPresObj() )
( /*(SdrGrafObj*)*/ pObj)->AdjustToMaxRect( aRect );
-// else
-// SetLogicRect( pObj, aRect );
+// else
+// SetLogicRect( pObj, aRect );
pObj->SetUserCall(this);
@@ -2415,7 +2415,7 @@ void SdPage::InsertPresObj(SdrObject* pObj, PresObjKind eKind )
|*
\************************************************************************/
-void SdPage::SetObjText(SdrTextObj* pObj, SdrOutliner* pOutliner, PresObjKind eObjKind, const String& rString )
+void SdPage::SetObjText(SdrTextObj* pObj, SdrOutliner* pOutliner, PresObjKind eObjKind, const String& rString )
{
if ( pObj )
{
@@ -2599,7 +2599,7 @@ const String& SdPage::GetName() const
if ((mePageKind == PK_STANDARD || mePageKind == PK_NOTES) && !mbMaster)
{
// default name for handout pages
- USHORT nNum = (GetPageNum() + 1) / 2;
+ USHORT nNum = (GetPageNum() + 1) / 2;
aCreatedPageName = String(SdResId(STR_PAGE));
aCreatedPageName += sal_Unicode( ' ' );
@@ -2846,7 +2846,7 @@ bool SdPage::checkVisibility(
if((eKind == PRESOBJ_FOOTER) || (eKind == PRESOBJ_HEADER) || (eKind == PRESOBJ_DATETIME) || (eKind == PRESOBJ_SLIDENUMBER) )
{
const bool bSubContentProcessing(rDisplayInfo.GetSubContentActive());
-
+
if( bSubContentProcessing || ( pCheckPage->GetPageKind() == PK_HANDOUT && bIsPrinting ) )
{
// use the page that is currently processed
@@ -2873,7 +2873,7 @@ bool SdPage::checkVisibility(
}
}
} // check for placeholders on master
- else if( (eKind != PRESOBJ_NONE) && pCheckPage->IsMasterPage() && ( pVisualizedPage != pCheckPage ) )
+ else if( (eKind != PRESOBJ_NONE) && pCheckPage->IsMasterPage() && ( pVisualizedPage != pCheckPage ) )
{
// presentation objects on master slide are always invisible if slide is shown.
return false;
@@ -2973,7 +2973,7 @@ void SdPage::CalculateHandoutAreas( SdDrawDocument& rModel, AutoLayout eLayout,
long nBottomBorder = rHandoutMaster.GetLwrBorder();
const long nHeaderFooterHeight = static_cast< long >( (aArea.Height() - nTopBorder - nLeftBorder) * 0.05 );
-
+
nTopBorder += nHeaderFooterHeight;
nBottomBorder += nHeaderFooterHeight;
@@ -2985,7 +2985,7 @@ void SdPage::CalculateHandoutAreas( SdDrawDocument& rModel, AutoLayout eLayout,
const bool bLandscape = aArea.Width() > aArea.Height();
- static sal_uInt16 aOffsets[5][9] =
+ static sal_uInt16 aOffsets[5][9] =
{
{ 0, 1, 2, 3, 4, 5, 6, 7, 8 }, // AUTOLAYOUT_HANDOUT9, Portrait, Horizontal order
{ 0, 2, 4, 1, 3, 5, 0, 0, 0 }, // AUTOLAYOUT_HANDOUT3, Landscape, Vertical
@@ -3003,7 +3003,7 @@ void SdPage::CalculateHandoutAreas( SdDrawDocument& rModel, AutoLayout eLayout,
break;
case AUTOLAYOUT_HANDOUT2:
- if( bLandscape )
+ if( bLandscape )
{
nColCnt = 2; nRowCnt = 1;
}
@@ -3023,7 +3023,7 @@ void SdPage::CalculateHandoutAreas( SdDrawDocument& rModel, AutoLayout eLayout,
nColCnt = 2; nRowCnt = 3;
}
pOffsets = aOffsets[ bLandscape ? 1 : 0 ];
- break;
+ break;
case AUTOLAYOUT_HANDOUT4:
nColCnt = 2; nRowCnt = 2;
@@ -3046,7 +3046,7 @@ void SdPage::CalculateHandoutAreas( SdDrawDocument& rModel, AutoLayout eLayout,
default:
case AUTOLAYOUT_HANDOUT9:
nColCnt = 3; nRowCnt = 3;
-
+
if( !bHorizontal )
pOffsets = aOffsets[4];
break;
diff --git a/sd/source/core/sdpage2.cxx b/sd/source/core/sdpage2.cxx
index 0afbca62c771..74d9a0001cca 100644
--- a/sd/source/core/sdpage2.cxx
+++ b/sd/source/core/sdpage2.cxx
@@ -2,7 +2,7 @@
/*************************************************************************
*
* 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
@@ -69,9 +69,9 @@ extern void NotifyDocumentEvent( SdDrawDocument* pDocument, const rtl::OUString&
|* Vorlagen fuer Praesentationsobjekte
|*
|* Vorraussetzungen: - Die Seite muss bereits das richtige Model kennen!
-|* - Die entsprechende Masterpage muss bereits im Model sein.
-|* - Die entsprechenden StyleSheets muessen bereits im
-|* im StyleSheetPool sein.
+|* - Die entsprechende Masterpage muss bereits im Model sein.
+|* - Die entsprechenden StyleSheets muessen bereits im
+|* im StyleSheetPool sein.
|*
|* bReplaceStyleSheets = TRUE : Benannte StyleSheets werden ausgetauscht
|* FALSE: Alle StyleSheets werden neu zugewiesen
@@ -91,7 +91,7 @@ void SdPage::SetPresentationLayout(const String& rLayoutName,
/*********************************************************************
|* Layoutname der Seite
\********************************************************************/
- String aOldLayoutName(maLayoutName); // merken
+ String aOldLayoutName(maLayoutName); // merken
maLayoutName = rLayoutName;
maLayoutName.AppendAscii( RTL_CONSTASCII_STRINGPARAM( SD_LT_SEPARATOR ));
maLayoutName += String(SdResId(STR_LAYOUT_OUTLINE));
@@ -379,9 +379,9 @@ void SdPage::DisconnectLink()
\************************************************************************/
SdPage::SdPage(const SdPage& rSrcPage)
-: FmFormPage(rSrcPage)
-, SdrObjUserCall()
-, mpItems(NULL)
+: FmFormPage(rSrcPage)
+, SdrObjUserCall()
+, mpItems(NULL)
{
mePageKind = rSrcPage.mePageKind;
meAutoLayout = rSrcPage.meAutoLayout;
@@ -391,20 +391,20 @@ SdPage::SdPage(const SdPage& rSrcPage)
InsertPresObj(GetObj(pObj->GetOrdNum()), rSrcPage.GetPresObjKind(pObj));
mbSelected = FALSE;
- mnTransitionType = rSrcPage.mnTransitionType;
+ mnTransitionType = rSrcPage.mnTransitionType;
mnTransitionSubtype = rSrcPage.mnTransitionSubtype;
mbTransitionDirection = rSrcPage.mbTransitionDirection;
mnTransitionFadeColor = rSrcPage.mnTransitionFadeColor;
mfTransitionDuration = rSrcPage.mfTransitionDuration;
- mePresChange = rSrcPage.mePresChange;
+ mePresChange = rSrcPage.mePresChange;
mnTime = rSrcPage.mnTime;
mbSoundOn = rSrcPage.mbSoundOn;
mbExcluded = rSrcPage.mbExcluded;
maLayoutName = rSrcPage.maLayoutName;
maSoundFile = rSrcPage.maSoundFile;
- mbLoopSound = rSrcPage.mbLoopSound;
- mbStopSound = rSrcPage.mbStopSound;
+ mbLoopSound = rSrcPage.mbLoopSound;
+ mbStopSound = rSrcPage.mbStopSound;
maCreatedPageName = String();
maFileName = rSrcPage.maFileName;
maBookmarkName = rSrcPage.maBookmarkName;
@@ -516,7 +516,7 @@ void SdPage::getAlienAttributes( com::sun::star::uno::Any& rAttributes )
void SdPage::RemoveEmptyPresentationObjects()
{
- SdrObjListIter aShapeIter( *this, IM_DEEPWITHGROUPS );
+ SdrObjListIter aShapeIter( *this, IM_DEEPWITHGROUPS );
SdrObject* pShape;
for( pShape = aShapeIter.Next(); pShape; pShape = aShapeIter.Next() )
@@ -530,58 +530,58 @@ void SdPage::RemoveEmptyPresentationObjects()
}
}
-sal_Int16 SdPage::getTransitionType (void) const
+sal_Int16 SdPage::getTransitionType (void) const
{
- return mnTransitionType;
+ return mnTransitionType;
}
void SdPage::setTransitionType( sal_Int16 nTransitionType )
{
- mnTransitionType = nTransitionType;
+ mnTransitionType = nTransitionType;
ActionChanged();
}
sal_Int16 SdPage::getTransitionSubtype (void) const
{
- return mnTransitionSubtype;
+ return mnTransitionSubtype;
}
void SdPage::setTransitionSubtype ( sal_Int16 nTransitionSubtype )
{
- mnTransitionSubtype = nTransitionSubtype;
+ mnTransitionSubtype = nTransitionSubtype;
ActionChanged();
}
sal_Bool SdPage::getTransitionDirection (void) const
{
- return mbTransitionDirection;
+ return mbTransitionDirection;
}
void SdPage::setTransitionDirection ( sal_Bool bTransitionbDirection )
{
- mbTransitionDirection = bTransitionbDirection;
+ mbTransitionDirection = bTransitionbDirection;
ActionChanged();
}
sal_Int32 SdPage::getTransitionFadeColor (void) const
{
- return mnTransitionFadeColor;
+ return mnTransitionFadeColor;
}
-void SdPage::setTransitionFadeColor ( sal_Int32 nTransitionFadeColor )
+void SdPage::setTransitionFadeColor ( sal_Int32 nTransitionFadeColor )
{
- mnTransitionFadeColor = nTransitionFadeColor;
+ mnTransitionFadeColor = nTransitionFadeColor;
ActionChanged();
}
double SdPage::getTransitionDuration (void) const
{
- return mfTransitionDuration;
+ return mfTransitionDuration;
}
void SdPage::setTransitionDuration ( double fTranstionDuration )
{
- mfTransitionDuration = fTranstionDuration;
+ mfTransitionDuration = fTranstionDuration;
ActionChanged();
}
@@ -605,7 +605,7 @@ void SdPage::addAnnotation( const Reference< XAnnotation >& xAnnotation, int nIn
{
maAnnotations.insert( maAnnotations.begin() + nIndex, xAnnotation );
}
-
+
if( pModel && pModel->IsUndoEnabled() )
{
SdrUndoAction* pAction = CreateUndoInsertOrRemoveAnnotation( xAnnotation, true );
@@ -614,7 +614,7 @@ void SdPage::addAnnotation( const Reference< XAnnotation >& xAnnotation, int nIn
}
SetChanged();
-
+
if( pModel )
{
pModel->SetChanged();
diff --git a/sd/source/core/sdpage_animations.cxx b/sd/source/core/sdpage_animations.cxx
index e40de790cc99..305c96696249 100644
--- a/sd/source/core/sdpage_animations.cxx
+++ b/sd/source/core/sdpage_animations.cxx
@@ -2,7 +2,7 @@
/*************************************************************************
*
* 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
diff --git a/sd/source/core/shapelist.cxx b/sd/source/core/shapelist.cxx
index 09b9a5e5bc3c..2185fbf6d843 100644
--- a/sd/source/core/shapelist.cxx
+++ b/sd/source/core/shapelist.cxx
@@ -2,7 +2,7 @@
/*************************************************************************
*
* 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
diff --git a/sd/source/core/stlfamily.cxx b/sd/source/core/stlfamily.cxx
index bd1e389cf5df..162a361d7c71 100644
--- a/sd/source/core/stlfamily.cxx
+++ b/sd/source/core/stlfamily.cxx
@@ -2,7 +2,7 @@
/*************************************************************************
*
* 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
@@ -82,7 +82,7 @@ PresStyleMap& SdStyleFamilyImpl::getStyleSheets()
String aLayoutName( maLayoutName );
const sal_uInt16 nLen = aLayoutName.Search(String( RTL_CONSTASCII_USTRINGPARAM(SD_LT_SEPARATOR)))+4;
aLayoutName.Erase( nLen );
-
+
if( (maStyleSheets.size() == 0) || !((*maStyleSheets.begin()).second->GetName().Equals( aLayoutName, 0, nLen )) )
{
maStyleSheets.clear();
@@ -130,7 +130,7 @@ SdStyleFamily::~SdStyleFamily()
// ----------------------------------------------------------
-void SdStyleFamily::throwIfDisposed() const throw(RuntimeException)
+void SdStyleFamily::throwIfDisposed() const throw(RuntimeException)
{
if( !mxPool.is() )
throw DisposedException();
@@ -179,7 +179,7 @@ SdStyleSheet* SdStyleFamily::GetSheetByName( const OUString& rName ) throw(NoSuc
}
if( pRet )
return pRet;
-
+
throw NoSuchElementException();
}
@@ -279,7 +279,7 @@ Sequence< OUString > SAL_CALL SdStyleFamily::getElementNames() throw(RuntimeExce
}
}
-// *pNames++ = (*iter++).second->GetApiName();
+// *pNames++ = (*iter++).second->GetApiName();
return aNames;
}
else
@@ -298,7 +298,7 @@ Sequence< OUString > SAL_CALL SdStyleFamily::getElementNames() throw(RuntimeExce
// ----------------------------------------------------------
-sal_Bool SAL_CALL SdStyleFamily::hasByName( const OUString& aName ) throw(RuntimeException)
+sal_Bool SAL_CALL SdStyleFamily::hasByName( const OUString& aName ) throw(RuntimeException)
{
SolarMutexGuard aGuard;
throwIfDisposed();
@@ -454,7 +454,7 @@ void SAL_CALL SdStyleFamily::removeByName( const OUString& rName ) throw(NoSuchE
{
SolarMutexGuard aGuard;
throwIfDisposed();
-
+
SdStyleSheet* pStyle = GetSheetByName( rName );
if( !pStyle->IsUserDefined() )
@@ -560,10 +560,10 @@ Any SdStyleFamily::getPropertyValue( const OUString& PropertyName ) throw (Unkno
OUString sDisplayName;
switch( mnFamily )
{
- case SD_STYLE_FAMILY_MASTERPAGE: sDisplayName = getName(); break;
- case SD_STYLE_FAMILY_CELL: sDisplayName = String( SdResId(STR_CELL_STYLE_FAMILY) ); break;
-// case SD_STYLE_FAMILY_GRAPHICS:
- default: sDisplayName = String( SdResId(STR_GRAPHICS_STYLE_FAMILY) ); break;
+ case SD_STYLE_FAMILY_MASTERPAGE: sDisplayName = getName(); break;
+ case SD_STYLE_FAMILY_CELL: sDisplayName = String( SdResId(STR_CELL_STYLE_FAMILY) ); break;
+// case SD_STYLE_FAMILY_GRAPHICS:
+ default: sDisplayName = String( SdResId(STR_GRAPHICS_STYLE_FAMILY) ); break;
}
return Any( sDisplayName );
}
diff --git a/sd/source/core/stlpool.cxx b/sd/source/core/stlpool.cxx
index c14244506d6d..e24ab8df81ae 100644
--- a/sd/source/core/stlpool.cxx
+++ b/sd/source/core/stlpool.cxx
@@ -2,7 +2,7 @@
/*************************************************************************
*
* 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
@@ -56,7 +56,7 @@
#include <svx/svdattr.hxx>
#include "eetext.hxx"
-#include <svx/xtable.hxx> // fuer RGB_Color
+#include <svx/xtable.hxx> // fuer RGB_Color
#include <editeng/bulitem.hxx>
#include <editeng/lrspitem.hxx>
#include <editeng/adjitem.hxx>
@@ -85,9 +85,9 @@ using namespace ::com::sun::star::container;
// ----------------------------------------------------------
SdStyleSheetPool::SdStyleSheetPool(SfxItemPool const& _rPool, SdDrawDocument* pDocument)
-: SdStyleSheetPoolBase( _rPool )
-, mpActualStyleSheet(NULL)
-, mpDoc(pDocument)
+: SdStyleSheetPoolBase( _rPool )
+, mpActualStyleSheet(NULL)
+, mpDoc(pDocument)
{
if( mpDoc )
{
@@ -96,18 +96,18 @@ SdStyleSheetPool::SdStyleSheetPool(SfxItemPool const& _rPool, SdDrawDocument* pD
// create graphics family
mxGraphicFamily = new SdStyleFamily( xPool, SD_STYLE_FAMILY_GRAPHICS );
mxCellFamily = new SdStyleFamily( xPool, SD_STYLE_FAMILY_CELL );
-
+
mxTableFamily = sdr::table::CreateTableDesignFamily();
Reference< XNamed > xNamed( mxTableFamily, UNO_QUERY );
if( xNamed.is() )
msTableFamilyName = xNamed->getName();
-
+
// create presentation families, one for each master page
const sal_uInt16 nCount = mpDoc->GetMasterSdPageCount(PK_STANDARD);
for( sal_uInt16 nPage = 0; nPage < nCount; ++nPage )
AddStyleFamily( mpDoc->GetMasterSdPage(nPage,PK_STANDARD) );
-// StartListening( *mpDoc );
+// StartListening( *mpDoc );
}
}
@@ -267,7 +267,7 @@ void SdStyleSheetPool::CreateLayoutStyleSheets(const String& rLayoutName, sal_Bo
ULONG nFontSize = 20;
short nFirstIndent = -600;
-// USHORT nIndent = nLevel * 1200;
+// USHORT nIndent = nLevel * 1200;
USHORT nLower = 100;
switch (nLevel)
@@ -381,9 +381,9 @@ void SdStyleSheetPool::CreateLayoutStyleSheets(const String& rLayoutName, sal_Bo
rTitleSet.Put(SvxWeightItem( WEIGHT_NORMAL, EE_CHAR_WEIGHT ) );
rTitleSet.Put(SvxWeightItem( WEIGHT_NORMAL, EE_CHAR_WEIGHT_CJK ) );
rTitleSet.Put(SvxWeightItem( WEIGHT_NORMAL, EE_CHAR_WEIGHT_CTL ) );
- rTitleSet.Put(SvxFontHeightItem( 1552, 100, EE_CHAR_FONTHEIGHT ) ); // 44 pt
- rTitleSet.Put(SvxFontHeightItem( 1552, 100, EE_CHAR_FONTHEIGHT_CJK ) ); // 44 pt
- rTitleSet.Put(SvxFontHeightItem( SdDrawDocument::convertFontHeightToCTL( 1552 ), 100, EE_CHAR_FONTHEIGHT_CTL ) ); // 44 pt
+ rTitleSet.Put(SvxFontHeightItem( 1552, 100, EE_CHAR_FONTHEIGHT ) ); // 44 pt
+ rTitleSet.Put(SvxFontHeightItem( 1552, 100, EE_CHAR_FONTHEIGHT_CJK ) ); // 44 pt
+ rTitleSet.Put(SvxFontHeightItem( SdDrawDocument::convertFontHeightToCTL( 1552 ), 100, EE_CHAR_FONTHEIGHT_CTL ) ); // 44 pt
rTitleSet.Put(SvxUnderlineItem(UNDERLINE_NONE, EE_CHAR_UNDERLINE ));
rTitleSet.Put(SvxOverlineItem(UNDERLINE_NONE, EE_CHAR_OVERLINE ));
rTitleSet.Put(SvxCrossedOutItem(STRIKEOUT_NONE, EE_CHAR_STRIKEOUT ));
@@ -394,11 +394,11 @@ void SdStyleSheetPool::CreateLayoutStyleSheets(const String& rLayoutName, sal_Bo
rTitleSet.Put(SvxColorItem( Color(COL_AUTO), EE_CHAR_COLOR ));
rTitleSet.Put(SvxAdjustItem(SVX_ADJUST_CENTER, EE_PARA_JUST ));
rTitleSet.Put( SdrTextVertAdjustItem( SDRTEXTVERTADJUST_CENTER ) );
-// rTitleSet.Put( SfxUInt16Item(EE_PARA_BULLETSTATE, 0) );
+// rTitleSet.Put( SfxUInt16Item(EE_PARA_BULLETSTATE, 0) );
// #i16874# enable kerning by default but only for new documents
rTitleSet.Put( SvxAutoKernItem( TRUE, EE_CHAR_PAIRKERNING ) );
- aBulletFont.SetSize(Size(0,1552)); // 44 pt
+ aBulletFont.SetSize(Size(0,1552)); // 44 pt
PutNumBulletItem( pSheet, aBulletFont );
}
@@ -427,7 +427,7 @@ void SdStyleSheetPool::CreateLayoutStyleSheets(const String& rLayoutName, sal_Bo
rSubtitleSet.Put(SvxWeightItem( WEIGHT_NORMAL, EE_CHAR_WEIGHT ) );
rSubtitleSet.Put(SvxWeightItem( WEIGHT_NORMAL, EE_CHAR_WEIGHT_CJK ) );
rSubtitleSet.Put(SvxWeightItem( WEIGHT_NORMAL, EE_CHAR_WEIGHT_CTL ) );
- rSubtitleSet.Put( SvxFontHeightItem( 1129, 100, EE_CHAR_FONTHEIGHT ) ); // 32 pt
+ rSubtitleSet.Put( SvxFontHeightItem( 1129, 100, EE_CHAR_FONTHEIGHT ) ); // 32 pt
rSubtitleSet.Put( SvxFontHeightItem( 1129, 100, EE_CHAR_FONTHEIGHT_CJK ) ); // 32 pt
rSubtitleSet.Put( SvxFontHeightItem( SdDrawDocument::convertFontHeightToCTL( 1129 ), 100, EE_CHAR_FONTHEIGHT_CTL ) ); // 32 pt
rSubtitleSet.Put(SvxUnderlineItem(UNDERLINE_NONE, EE_CHAR_UNDERLINE ));
@@ -440,14 +440,14 @@ void SdStyleSheetPool::CreateLayoutStyleSheets(const String& rLayoutName, sal_Bo
rSubtitleSet.Put(SvxColorItem( Color(COL_AUTO), EE_CHAR_COLOR ));
rSubtitleSet.Put(SvxAdjustItem(SVX_ADJUST_CENTER, EE_PARA_JUST ));
rSubtitleSet.Put( SdrTextVertAdjustItem( SDRTEXTVERTADJUST_CENTER ) );
-// rSubtitleSet.Put( SfxUInt16Item(EE_PARA_BULLETSTATE, 0) );
+// rSubtitleSet.Put( SfxUInt16Item(EE_PARA_BULLETSTATE, 0) );
// #i16874# enable kerning by default but only for new documents
rSubtitleSet.Put( SvxAutoKernItem( TRUE, EE_CHAR_PAIRKERNING ) );
aSvxLRSpaceItem.SetTxtLeft(0);
rSubtitleSet.Put(aSvxLRSpaceItem);
Font aTmpFont( GetBulletFont() );
- aTmpFont.SetSize(Size(0, 1129)); // 32 pt
+ aTmpFont.SetSize(Size(0, 1129)); // 32 pt
PutNumBulletItem( pSheet, aTmpFont );
}
@@ -476,7 +476,7 @@ void SdStyleSheetPool::CreateLayoutStyleSheets(const String& rLayoutName, sal_Bo
rNotesSet.Put( SvxWeightItem( WEIGHT_NORMAL, EE_CHAR_WEIGHT ) );
rNotesSet.Put( SvxWeightItem( WEIGHT_NORMAL, EE_CHAR_WEIGHT_CJK ) );
rNotesSet.Put( SvxWeightItem( WEIGHT_NORMAL, EE_CHAR_WEIGHT_CTL ) );
- rNotesSet.Put( SvxFontHeightItem( 705, 100, EE_CHAR_FONTHEIGHT ) ); // 20 pt
+ rNotesSet.Put( SvxFontHeightItem( 705, 100, EE_CHAR_FONTHEIGHT ) ); // 20 pt
rNotesSet.Put( SvxFontHeightItem( 705, 100, EE_CHAR_FONTHEIGHT_CJK ) ); // 20 pt
rNotesSet.Put( SvxFontHeightItem( SdDrawDocument::convertFontHeightToCTL( 705 ), 100, EE_CHAR_FONTHEIGHT_CTL ) ); // 20 pt
rNotesSet.Put( SvxUnderlineItem(UNDERLINE_NONE, EE_CHAR_UNDERLINE ) );
@@ -487,7 +487,7 @@ void SdStyleSheetPool::CreateLayoutStyleSheets(const String& rLayoutName, sal_Bo
rNotesSet.Put( SvxEmphasisMarkItem(EMPHASISMARK_NONE, EE_CHAR_EMPHASISMARK ) );
rNotesSet.Put( SvxCharReliefItem(RELIEF_NONE, EE_CHAR_RELIEF) );
rNotesSet.Put( SvxColorItem( Color(COL_AUTO), EE_CHAR_COLOR ) );
-// rNotesSet.Put( SfxUInt16Item(EE_PARA_BULLETSTATE, 0) );
+// rNotesSet.Put( SfxUInt16Item(EE_PARA_BULLETSTATE, 0) );
rNotesSet.Put( SvxLRSpaceItem( 0, 0, 600, -600, EE_PARA_LRSPACE ) );
// #i16874# enable kerning by default but only for new documents
rNotesSet.Put( SvxAutoKernItem( TRUE, EE_CHAR_PAIRKERNING ) );
@@ -519,7 +519,7 @@ void SdStyleSheetPool::CreateLayoutStyleSheets(const String& rLayoutName, sal_Bo
SfxItemSet& rBackgroundObjectsSet = pSheet->GetItemSet();
rBackgroundObjectsSet.Put(SdrShadowItem(FALSE));
rBackgroundObjectsSet.Put(SdrShadowColorItem(String(), Color(COL_GRAY)));
- rBackgroundObjectsSet.Put(SdrShadowXDistItem(300)); // 3 mm Schattendistanz
+ rBackgroundObjectsSet.Put(SdrShadowXDistItem(300)); // 3 mm Schattendistanz
rBackgroundObjectsSet.Put(SdrShadowYDistItem(300));
// #i16874# enable kerning by default but only for new documents
rBackgroundObjectsSet.Put( SvxAutoKernItem( TRUE, EE_CHAR_PAIRKERNING ) );
@@ -553,7 +553,7 @@ void SdStyleSheetPool::CreateLayoutStyleSheets(const String& rLayoutName, sal_Bo
|* Graphik-StyleSheets aus dem Quellpool in diesen Pool kopieren
|*
|* (rSourcePool kann nicht const sein, weil SfxStyleSheetPoolBase::Find
-|* nicht const ist)
+|* nicht const ist)
|*
\************************************************************************/
@@ -576,7 +576,7 @@ void SdStyleSheetPool::CopyTableStyles(SdStyleSheetPool& rSourcePool)
if( xSource.is() && xFactory.is() && mxTableFamily.is() )
{
for( sal_Int32 nIndex = 0; nIndex < xSource->getCount(); nIndex++ ) try
- {
+ {
Reference< XStyle > xSourceTableStyle( xSource->getByIndex( nIndex ), UNO_QUERY );
if( xSourceTableStyle.is() )
{
@@ -675,7 +675,7 @@ void SdStyleSheetPool::CopySheets(SdStyleSheetPool& rSourcePool, SfxStyleFamily
|* StyleSheets gefuellt.
|*
|* (rSourcePool kann nicht const sein, weil SfxStyleSheetPoolBase::Find
-|* nicht const ist)
+|* nicht const ist)
|*
\************************************************************************/
@@ -904,33 +904,33 @@ void SdStyleSheetPool::UpdateStdNames()
if( !pStyle->IsUserDefined() )
{
- String aOldName = pStyle->GetName();
- ULONG nHelpId = pStyle->GetHelpId( aHelpFile );
- SfxStyleFamily eFam = pStyle->GetFamily();
+ String aOldName = pStyle->GetName();
+ ULONG nHelpId = pStyle->GetHelpId( aHelpFile );
+ SfxStyleFamily eFam = pStyle->GetFamily();
BOOL bHelpKnown = TRUE;
String aNewName;
USHORT nNameId = 0;
switch( nHelpId )
{
- case HID_STANDARD_STYLESHEET_NAME: nNameId = STR_STANDARD_STYLESHEET_NAME; break;
- case HID_POOLSHEET_OBJWITHARROW: nNameId = STR_POOLSHEET_OBJWITHARROW; break;
- case HID_POOLSHEET_OBJWITHSHADOW: nNameId = STR_POOLSHEET_OBJWITHSHADOW; break;
- case HID_POOLSHEET_OBJWITHOUTFILL: nNameId = STR_POOLSHEET_OBJWITHOUTFILL; break;
- case HID_POOLSHEET_TEXT: nNameId = STR_POOLSHEET_TEXT; break;
- case HID_POOLSHEET_TEXTBODY: nNameId = STR_POOLSHEET_TEXTBODY; break;
+ case HID_STANDARD_STYLESHEET_NAME: nNameId = STR_STANDARD_STYLESHEET_NAME; break;
+ case HID_POOLSHEET_OBJWITHARROW: nNameId = STR_POOLSHEET_OBJWITHARROW; break;
+ case HID_POOLSHEET_OBJWITHSHADOW: nNameId = STR_POOLSHEET_OBJWITHSHADOW; break;
+ case HID_POOLSHEET_OBJWITHOUTFILL: nNameId = STR_POOLSHEET_OBJWITHOUTFILL; break;
+ case HID_POOLSHEET_TEXT: nNameId = STR_POOLSHEET_TEXT; break;
+ case HID_POOLSHEET_TEXTBODY: nNameId = STR_POOLSHEET_TEXTBODY; break;
case HID_POOLSHEET_TEXTBODY_JUSTIFY:nNameId = STR_POOLSHEET_TEXTBODY_JUSTIFY;break;
- case HID_POOLSHEET_TEXTBODY_INDENT: nNameId = STR_POOLSHEET_TEXTBODY_INDENT;break;
- case HID_POOLSHEET_TITLE: nNameId = STR_POOLSHEET_TITLE; break;
- case HID_POOLSHEET_TITLE1: nNameId = STR_POOLSHEET_TITLE1; break;
- case HID_POOLSHEET_TITLE2: nNameId = STR_POOLSHEET_TITLE2; break;
- case HID_POOLSHEET_HEADLINE: nNameId = STR_POOLSHEET_HEADLINE; break;
- case HID_POOLSHEET_HEADLINE1: nNameId = STR_POOLSHEET_HEADLINE1; break;
- case HID_POOLSHEET_HEADLINE2: nNameId = STR_POOLSHEET_HEADLINE2; break;
- case HID_POOLSHEET_MEASURE: nNameId = STR_POOLSHEET_MEASURE; break;
-
- case HID_PSEUDOSHEET_TITLE: nNameId = STR_PSEUDOSHEET_TITLE; break;
- case HID_PSEUDOSHEET_SUBTITLE: nNameId = STR_PSEUDOSHEET_SUBTITLE; break;
+ case HID_POOLSHEET_TEXTBODY_INDENT: nNameId = STR_POOLSHEET_TEXTBODY_INDENT;break;
+ case HID_POOLSHEET_TITLE: nNameId = STR_POOLSHEET_TITLE; break;
+ case HID_POOLSHEET_TITLE1: nNameId = STR_POOLSHEET_TITLE1; break;
+ case HID_POOLSHEET_TITLE2: nNameId = STR_POOLSHEET_TITLE2; break;
+ case HID_POOLSHEET_HEADLINE: nNameId = STR_POOLSHEET_HEADLINE; break;
+ case HID_POOLSHEET_HEADLINE1: nNameId = STR_POOLSHEET_HEADLINE1; break;
+ case HID_POOLSHEET_HEADLINE2: nNameId = STR_POOLSHEET_HEADLINE2; break;
+ case HID_POOLSHEET_MEASURE: nNameId = STR_POOLSHEET_MEASURE; break;
+
+ case HID_PSEUDOSHEET_TITLE: nNameId = STR_PSEUDOSHEET_TITLE; break;
+ case HID_PSEUDOSHEET_SUBTITLE: nNameId = STR_PSEUDOSHEET_SUBTITLE; break;
case HID_PSEUDOSHEET_OUTLINE1:
case HID_PSEUDOSHEET_OUTLINE2:
case HID_PSEUDOSHEET_OUTLINE3:
@@ -939,17 +939,17 @@ void SdStyleSheetPool::UpdateStdNames()
case HID_PSEUDOSHEET_OUTLINE6:
case HID_PSEUDOSHEET_OUTLINE7:
case HID_PSEUDOSHEET_OUTLINE8:
- case HID_PSEUDOSHEET_OUTLINE9: nNameId = STR_PSEUDOSHEET_OUTLINE; break;
- case HID_PSEUDOSHEET_BACKGROUNDOBJECTS: nNameId = STR_PSEUDOSHEET_BACKGROUNDOBJECTS; break;
- case HID_PSEUDOSHEET_BACKGROUND: nNameId = STR_PSEUDOSHEET_BACKGROUND; break;
- case HID_PSEUDOSHEET_NOTES: nNameId = STR_PSEUDOSHEET_NOTES; break;
-
- case HID_SD_CELL_STYLE_DEFAULT: nNameId = STR_STANDARD_STYLESHEET_NAME; break;
- case HID_SD_CELL_STYLE_BANDED: nNameId = STR_POOLSHEET_BANDED_CELL; break;
- case HID_SD_CELL_STYLE_HEADER: nNameId = STR_POOLSHEET_HEADER; break;
- case HID_SD_CELL_STYLE_TOTAL: nNameId = STR_POOLSHEET_TOTAL; break;
- case HID_SD_CELL_STYLE_FIRST_COLUMN: nNameId = STR_POOLSHEET_FIRST_COLUMN; break;
- case HID_SD_CELL_STYLE_LAST_COLUMN: nNameId = STR_POOLSHEET_LAST_COLUMN; break;
+ case HID_PSEUDOSHEET_OUTLINE9: nNameId = STR_PSEUDOSHEET_OUTLINE; break;
+ case HID_PSEUDOSHEET_BACKGROUNDOBJECTS: nNameId = STR_PSEUDOSHEET_BACKGROUNDOBJECTS; break;
+ case HID_PSEUDOSHEET_BACKGROUND: nNameId = STR_PSEUDOSHEET_BACKGROUND; break;
+ case HID_PSEUDOSHEET_NOTES: nNameId = STR_PSEUDOSHEET_NOTES; break;
+
+ case HID_SD_CELL_STYLE_DEFAULT: nNameId = STR_STANDARD_STYLESHEET_NAME; break;
+ case HID_SD_CELL_STYLE_BANDED: nNameId = STR_POOLSHEET_BANDED_CELL; break;
+ case HID_SD_CELL_STYLE_HEADER: nNameId = STR_POOLSHEET_HEADER; break;
+ case HID_SD_CELL_STYLE_TOTAL: nNameId = STR_POOLSHEET_TOTAL; break;
+ case HID_SD_CELL_STYLE_FIRST_COLUMN: nNameId = STR_POOLSHEET_FIRST_COLUMN; break;
+ case HID_SD_CELL_STYLE_LAST_COLUMN: nNameId = STR_POOLSHEET_LAST_COLUMN; break;
default:
// 0 oder falsche (alte) HelpId
@@ -974,7 +974,7 @@ void SdStyleSheetPool::UpdateStdNames()
if ( !pSheetFound )
{
// Sheet existiert noch nicht: Altes Sheet wird umbenannt
- pStyle->SetName( aNewName ); // setzt auch Parents um
+ pStyle->SetName( aNewName ); // setzt auch Parents um
}
else
{
@@ -1131,7 +1131,7 @@ void SdStyleSheetPool::PutNumBulletItem( SfxStyleSheetBase* pSheet,
aNumberFormat.SetFirstLineOffset(nFirstLineOffset);
nFontSize = (USHORT)((nFontSize * 2540L) / 72); // Pt --> 1/100 mm
- rBulletFont.SetSize(Size(0,846)); // 24 pt
+ rBulletFont.SetSize(Size(0,846)); // 24 pt
aNumberFormat.SetBulletFont(&rBulletFont);
aNumRule.SetLevel( i, aNumberFormat );
}
@@ -1259,7 +1259,7 @@ Any SAL_CALL SdStyleSheetPool::getByName( const OUString& aName ) throw(NoSuchEl
Sequence< OUString > SAL_CALL SdStyleSheetPool::getElementNames() throw(RuntimeException)
{
throwIfDisposed();
-
+
Sequence< OUString > aNames( maStyleFamilyMap.size() + 3 );
OUString* pNames = aNames.getArray();
@@ -1386,7 +1386,7 @@ void SAL_CALL SdStyleSheetPool::dispose() throw (RuntimeException)
{
}
-// EndListening( *mpDoc );
+// EndListening( *mpDoc );
mpDoc = 0;
Clear();
diff --git a/sd/source/core/stlsheet.cxx b/sd/source/core/stlsheet.cxx
index 2c5ba9cf5258..b58ce02da3e3 100644
--- a/sd/source/core/stlsheet.cxx
+++ b/sd/source/core/stlsheet.cxx
@@ -2,7 +2,7 @@
/*************************************************************************
*
* 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
@@ -78,16 +78,16 @@ using namespace ::com::sun::star::beans;
using namespace ::com::sun::star::container;
using namespace ::com::sun::star::drawing;
-#define WID_STYLE_DISPNAME 7998
-#define WID_STYLE_FAMILY 7999
+#define WID_STYLE_DISPNAME 7998
+#define WID_STYLE_FAMILY 7999
static SvxItemPropertySet& GetStylePropertySet()
{
static const SfxItemPropertyMapEntry aFullPropertyMap_Impl[] =
{
- { RTL_CONSTASCII_STRINGPARAM("Family"), WID_STYLE_FAMILY, &::getCppuType((const OUString*)0), PropertyAttribute::READONLY, 0},
- { RTL_CONSTASCII_STRINGPARAM("UserDefinedAttributes"), SDRATTR_XMLATTRIBUTES, &XNameContainer::static_type(), 0, 0},
- { RTL_CONSTASCII_STRINGPARAM("DisplayName"), WID_STYLE_DISPNAME, &::getCppuType((const OUString*)0), PropertyAttribute::READONLY, 0},
+ { RTL_CONSTASCII_STRINGPARAM("Family"), WID_STYLE_FAMILY, &::getCppuType((const OUString*)0), PropertyAttribute::READONLY, 0},
+ { RTL_CONSTASCII_STRINGPARAM("UserDefinedAttributes"), SDRATTR_XMLATTRIBUTES, &XNameContainer::static_type(), 0, 0},
+ { RTL_CONSTASCII_STRINGPARAM("DisplayName"), WID_STYLE_DISPNAME, &::getCppuType((const OUString*)0), PropertyAttribute::READONLY, 0},
SVX_UNOEDIT_NUMBERING_PROPERTIE,
SHADOW_PROPERTIES
@@ -153,7 +153,7 @@ SdStyleSheet::SdStyleSheet( const SdStyleSheet & r )
SdStyleSheet::~SdStyleSheet()
{
delete pSet;
- pSet = NULL; // damit nachfolgende Destruktoren eine Chance haben
+ pSet = NULL; // damit nachfolgende Destruktoren eine Chance haben
}
void SdStyleSheet::SetApiName( const OUString& rApiName )
@@ -248,20 +248,20 @@ SfxItemSet& SdStyleSheet::GetItemSet()
// ggfs. das ItemSet 'on demand' anlegen
if (!pSet)
{
- USHORT nWhichPairTable[] = { XATTR_LINE_FIRST, XATTR_LINE_LAST,
- XATTR_FILL_FIRST, XATTR_FILL_LAST,
+ USHORT nWhichPairTable[] = { XATTR_LINE_FIRST, XATTR_LINE_LAST,
+ XATTR_FILL_FIRST, XATTR_FILL_LAST,
- SDRATTR_SHADOW_FIRST, SDRATTR_SHADOW_LAST,
- SDRATTR_TEXT_MINFRAMEHEIGHT, SDRATTR_TEXT_CONTOURFRAME,
+ SDRATTR_SHADOW_FIRST, SDRATTR_SHADOW_LAST,
+ SDRATTR_TEXT_MINFRAMEHEIGHT, SDRATTR_TEXT_CONTOURFRAME,
- SDRATTR_TEXT_WORDWRAP, SDRATTR_TEXT_AUTOGROWSIZE,
+ SDRATTR_TEXT_WORDWRAP, SDRATTR_TEXT_AUTOGROWSIZE,
- SDRATTR_EDGE_FIRST, SDRATTR_EDGE_LAST,
- SDRATTR_MEASURE_FIRST, SDRATTR_MEASURE_LAST,
+ SDRATTR_EDGE_FIRST, SDRATTR_EDGE_LAST,
+ SDRATTR_MEASURE_FIRST, SDRATTR_MEASURE_LAST,
- EE_PARA_START, EE_CHAR_END,
+ EE_PARA_START, EE_CHAR_END,
- SDRATTR_XMLATTRIBUTES, SDRATTR_TEXT_USEFIXEDCELLHEIGHT,
+ SDRATTR_XMLATTRIBUTES, SDRATTR_TEXT_USEFIXEDCELLHEIGHT,
SDRATTR_3D_FIRST, SDRATTR_3D_LAST,
0, 0 };
@@ -276,18 +276,18 @@ SfxItemSet& SdStyleSheet::GetItemSet()
{
if (!pSet)
{
- USHORT nWhichPairTable[] = { XATTR_LINE_FIRST, XATTR_LINE_LAST,
- XATTR_FILL_FIRST, XATTR_FILL_LAST,
+ USHORT nWhichPairTable[] = { XATTR_LINE_FIRST, XATTR_LINE_LAST,
+ XATTR_FILL_FIRST, XATTR_FILL_LAST,
- SDRATTR_SHADOW_FIRST, SDRATTR_SHADOW_LAST,
- SDRATTR_TEXT_MINFRAMEHEIGHT, SDRATTR_TEXT_CONTOURFRAME,
+ SDRATTR_SHADOW_FIRST, SDRATTR_SHADOW_LAST,
+ SDRATTR_TEXT_MINFRAMEHEIGHT, SDRATTR_TEXT_CONTOURFRAME,
- SDRATTR_TEXT_WORDWRAP, SDRATTR_TEXT_AUTOGROWSIZE,
+ SDRATTR_TEXT_WORDWRAP, SDRATTR_TEXT_AUTOGROWSIZE,
- EE_PARA_START, EE_CHAR_END,
+ EE_PARA_START, EE_CHAR_END,
- SDRATTR_TABLE_FIRST, SDRATTR_TABLE_LAST,
- SDRATTR_XMLATTRIBUTES, SDRATTR_XMLATTRIBUTES,
+ SDRATTR_TABLE_FIRST, SDRATTR_TABLE_LAST,
+ SDRATTR_XMLATTRIBUTES, SDRATTR_XMLATTRIBUTES,
0, 0 };
@@ -319,14 +319,14 @@ SfxItemSet& SdStyleSheet::GetItemSet()
SDRATTR_SHADOW_FIRST, SDRATTR_SHADOW_LAST,
SDRATTR_TEXT_MINFRAMEHEIGHT, SDRATTR_TEXT_CONTOURFRAME,
- SDRATTR_TEXT_WORDWRAP, SDRATTR_TEXT_AUTOGROWSIZE,
+ SDRATTR_TEXT_WORDWRAP, SDRATTR_TEXT_AUTOGROWSIZE,
SDRATTR_EDGE_FIRST, SDRATTR_EDGE_LAST,
SDRATTR_MEASURE_FIRST, SDRATTR_MEASURE_LAST,
EE_PARA_START, EE_CHAR_END,
- SDRATTR_XMLATTRIBUTES, SDRATTR_TEXT_USEFIXEDCELLHEIGHT,
+ SDRATTR_XMLATTRIBUTES, SDRATTR_TEXT_USEFIXEDCELLHEIGHT,
SDRATTR_3D_FIRST, SDRATTR_3D_LAST,
0, 0 };
@@ -342,7 +342,7 @@ SfxItemSet& SdStyleSheet::GetItemSet()
/*************************************************************************
|*
|* IsUsed(), eine Vorlage gilt als benutzt, wenn sie von eingefuegten Objekten
-|* oder von benutzten Vorlagen referenziert wird
+|* oder von benutzten Vorlagen referenziert wird
|*
\************************************************************************/
@@ -409,7 +409,7 @@ SdStyleSheet* SdStyleSheet::GetRealStyleSheet() const
::sd::DrawViewShell* pDrawViewShell = 0;
- ::sd::ViewShellBase* pBase = dynamic_cast< ::sd::ViewShellBase* >( SfxViewShell::Current() );
+ ::sd::ViewShellBase* pBase = dynamic_cast< ::sd::ViewShellBase* >( SfxViewShell::Current() );
if( pBase )
pDrawViewShell = dynamic_cast< ::sd::DrawViewShell* >( pBase->GetMainViewShell().get() );
@@ -682,31 +682,31 @@ void SdStyleSheet::SetHelpId( const String& r, ULONG nId )
static struct ApiNameMap
{
const sal_Char* mpApiName;
- sal_uInt32 mnApiNameLength;
- sal_uInt32 mnHelpId;
+ sal_uInt32 mnApiNameLength;
+ sal_uInt32 mnHelpId;
}
pApiNameMap[] =
{
- { RTL_CONSTASCII_STRINGPARAM( "title" ), HID_PSEUDOSHEET_TITLE },
- { RTL_CONSTASCII_STRINGPARAM( "subtitle" ), HID_PSEUDOSHEET_SUBTITLE },
- { RTL_CONSTASCII_STRINGPARAM( "background" ), HID_PSEUDOSHEET_BACKGROUND },
+ { RTL_CONSTASCII_STRINGPARAM( "title" ), HID_PSEUDOSHEET_TITLE },
+ { RTL_CONSTASCII_STRINGPARAM( "subtitle" ), HID_PSEUDOSHEET_SUBTITLE },
+ { RTL_CONSTASCII_STRINGPARAM( "background" ), HID_PSEUDOSHEET_BACKGROUND },
{ RTL_CONSTASCII_STRINGPARAM( "backgroundobjects" ),HID_PSEUDOSHEET_BACKGROUNDOBJECTS },
- { RTL_CONSTASCII_STRINGPARAM( "notes" ), HID_PSEUDOSHEET_NOTES },
- { RTL_CONSTASCII_STRINGPARAM( "standard" ), HID_STANDARD_STYLESHEET_NAME },
- { RTL_CONSTASCII_STRINGPARAM( "objectwitharrow" ), HID_POOLSHEET_OBJWITHARROW },
- { RTL_CONSTASCII_STRINGPARAM( "objectwithshadow" ), HID_POOLSHEET_OBJWITHSHADOW },
+ { RTL_CONSTASCII_STRINGPARAM( "notes" ), HID_PSEUDOSHEET_NOTES },
+ { RTL_CONSTASCII_STRINGPARAM( "standard" ), HID_STANDARD_STYLESHEET_NAME },
+ { RTL_CONSTASCII_STRINGPARAM( "objectwitharrow" ), HID_POOLSHEET_OBJWITHARROW },
+ { RTL_CONSTASCII_STRINGPARAM( "objectwithshadow" ), HID_POOLSHEET_OBJWITHSHADOW },
{ RTL_CONSTASCII_STRINGPARAM( "objectwithoutfill" ),HID_POOLSHEET_OBJWITHOUTFILL },
- { RTL_CONSTASCII_STRINGPARAM( "text" ), HID_POOLSHEET_TEXT },
- { RTL_CONSTASCII_STRINGPARAM( "textbody" ), HID_POOLSHEET_TEXTBODY },
- { RTL_CONSTASCII_STRINGPARAM( "textbodyjustfied" ), HID_POOLSHEET_TEXTBODY_JUSTIFY },
- { RTL_CONSTASCII_STRINGPARAM( "textbodyindent" ), HID_POOLSHEET_TEXTBODY_INDENT },
- { RTL_CONSTASCII_STRINGPARAM( "title" ), HID_POOLSHEET_TITLE },
- { RTL_CONSTASCII_STRINGPARAM( "title1" ), HID_POOLSHEET_TITLE1 },
- { RTL_CONSTASCII_STRINGPARAM( "title2" ), HID_POOLSHEET_TITLE2 },
- { RTL_CONSTASCII_STRINGPARAM( "headline" ), HID_POOLSHEET_HEADLINE },
- { RTL_CONSTASCII_STRINGPARAM( "headline1" ), HID_POOLSHEET_HEADLINE1 },
- { RTL_CONSTASCII_STRINGPARAM( "headline2" ), HID_POOLSHEET_HEADLINE2 },
- { RTL_CONSTASCII_STRINGPARAM( "measure" ), HID_POOLSHEET_MEASURE },
+ { RTL_CONSTASCII_STRINGPARAM( "text" ), HID_POOLSHEET_TEXT },
+ { RTL_CONSTASCII_STRINGPARAM( "textbody" ), HID_POOLSHEET_TEXTBODY },
+ { RTL_CONSTASCII_STRINGPARAM( "textbodyjustfied" ), HID_POOLSHEET_TEXTBODY_JUSTIFY },
+ { RTL_CONSTASCII_STRINGPARAM( "textbodyindent" ), HID_POOLSHEET_TEXTBODY_INDENT },
+ { RTL_CONSTASCII_STRINGPARAM( "title" ), HID_POOLSHEET_TITLE },
+ { RTL_CONSTASCII_STRINGPARAM( "title1" ), HID_POOLSHEET_TITLE1 },
+ { RTL_CONSTASCII_STRINGPARAM( "title2" ), HID_POOLSHEET_TITLE2 },
+ { RTL_CONSTASCII_STRINGPARAM( "headline" ), HID_POOLSHEET_HEADLINE },
+ { RTL_CONSTASCII_STRINGPARAM( "headline1" ), HID_POOLSHEET_HEADLINE1 },
+ { RTL_CONSTASCII_STRINGPARAM( "headline2" ), HID_POOLSHEET_HEADLINE2 },
+ { RTL_CONSTASCII_STRINGPARAM( "measure" ), HID_POOLSHEET_MEASURE },
{ 0, 0, 0 }
};
@@ -1113,7 +1113,7 @@ void SAL_CALL SdStyleSheet::setPropertyValue( const OUString& aPropertyName, con
if( pEntry->nWID == WID_STYLE_FAMILY )
throw PropertyVetoException();
-
+
if( (pEntry->nWID == EE_PARA_NUMBULLET) && (GetFamily() == SD_STYLE_FAMILY_MASTERPAGE) )
{
String aStr;
@@ -1136,8 +1136,8 @@ void SAL_CALL SdStyleSheet::setPropertyValue( const OUString& aPropertyName, con
}
throw IllegalArgumentException();
}
-
- SfxItemSet aSet( GetPool().GetPool(), pEntry->nWID, pEntry->nWID);
+
+ SfxItemSet aSet( GetPool().GetPool(), pEntry->nWID, pEntry->nWID);
aSet.Put( rStyleSet );
if( !aSet.Count() )
@@ -1231,12 +1231,12 @@ Any SAL_CALL SdStyleSheet::getPropertyValue( const OUString& PropertyName ) thro
}
else
{
- SfxItemSet aSet( GetPool().GetPool(), pEntry->nWID, pEntry->nWID);
+ SfxItemSet aSet( GetPool().GetPool(), pEntry->nWID, pEntry->nWID);
const SfxPoolItem* pItem;
SfxItemSet& rStyleSet = GetItemSet();
- if( rStyleSet.GetItemState( pEntry->nWID, sal_True, &pItem ) == SFX_ITEM_SET )
+ if( rStyleSet.GetItemState( pEntry->nWID, sal_True, &pItem ) == SFX_ITEM_SET )
aSet.Put( *pItem );
if( !aSet.Count() )
@@ -1246,7 +1246,7 @@ Any SAL_CALL SdStyleSheet::getPropertyValue( const OUString& PropertyName ) thro
return aAny;
// Hole Wert aus ItemSet
- aAny = SvxItemPropertySet_getPropertyValue( GetStylePropertySet(),pEntry, aSet );
+ aAny = SvxItemPropertySet_getPropertyValue( GetStylePropertySet(),pEntry, aSet );
}
if( *pEntry->pType != aAny.getValueType() )
@@ -1327,13 +1327,13 @@ PropertyState SAL_CALL SdStyleSheet::getPropertyState( const OUString& PropertyN
case SFX_ITEM_DEFAULT:
eState = PropertyState_DEFAULT_VALUE;
break;
-// case SFX_ITEM_DONTCARE:
-// case SFX_ITEM_DISABLED:
+// case SFX_ITEM_DONTCARE:
+// case SFX_ITEM_DISABLED:
default:
eState = PropertyState_AMBIGUOUS_VALUE;
break;
}
-
+
// if a item is set, this doesn't mean we want it :)
if( ( PropertyState_DIRECT_VALUE == eState ) )
{
@@ -1351,7 +1351,7 @@ PropertyState SAL_CALL SdStyleSheet::getPropertyState( const OUString& PropertyN
if( ( pItem == NULL ) || ( pItem->GetName().Len() == 0) )
eState = PropertyState_DEFAULT_VALUE;
}
- }
+ }
}
return eState;
@@ -1415,7 +1415,7 @@ Any SAL_CALL SdStyleSheet::getPropertyDefault( const OUString& aPropertyName ) t
const SfxItemPropertySimpleEntry* pEntry = getPropertyMapEntry( aPropertyName );
if( pEntry == NULL )
throw UnknownPropertyException();
- Any aRet;
+ Any aRet;
if( pEntry->nWID == WID_STYLE_FAMILY )
{
aRet <<= GetFamilyString(nFamily);
@@ -1431,7 +1431,7 @@ Any SAL_CALL SdStyleSheet::getPropertyDefault( const OUString& aPropertyName ) t
else
{
SfxItemPool& rMyPool = GetPool().GetPool();
- SfxItemSet aSet( rMyPool, pEntry->nWID, pEntry->nWID);
+ SfxItemSet aSet( rMyPool, pEntry->nWID, pEntry->nWID);
aSet.Put( rMyPool.GetDefaultItem( pEntry->nWID ) );
aRet = SvxItemPropertySet_getPropertyValue( GetStylePropertySet(), pEntry, aSet );
}
diff --git a/sd/source/core/text/textapi.cxx b/sd/source/core/text/textapi.cxx
index de3aff4f0d89..e6b945333d1e 100644
--- a/sd/source/core/text/textapi.cxx
+++ b/sd/source/core/text/textapi.cxx
@@ -2,7 +2,7 @@
/*************************************************************************
*
* 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
@@ -60,8 +60,8 @@ public:
virtual void Redo();
protected:
- OutlinerParaObject* mpOldText;
- OutlinerParaObject* mpNewText;
+ OutlinerParaObject* mpOldText;
+ OutlinerParaObject* mpNewText;
rtl::Reference< TextApiObject > mxTextObj;
};
@@ -83,8 +83,8 @@ void UndoTextAPIChanged::Undo()
{
if( !mpNewText )
mpNewText = mxTextObj->CreateText();
-
- mxTextObj->SetText( *mpOldText );
+
+ mxTextObj->SetText( *mpOldText );
}
void UndoTextAPIChanged::Redo()
@@ -95,32 +95,32 @@ void UndoTextAPIChanged::Redo()
}
}
-struct TextAPIEditSource_Impl
+struct TextAPIEditSource_Impl
{
// needed for "internal" refcounting
- SdDrawDocument* mpDoc;
- Outliner* mpOutliner;
- SvxOutlinerForwarder* mpTextForwarder;
- sal_Int32 mnRef;
+ SdDrawDocument* mpDoc;
+ Outliner* mpOutliner;
+ SvxOutlinerForwarder* mpTextForwarder;
+ sal_Int32 mnRef;
};
class TextAPIEditSource : public SvxEditSource
{
TextAPIEditSource_Impl* pImpl;
- virtual SvxEditSource* Clone() const;
- virtual SvxTextForwarder* GetTextForwarder();
- virtual void UpdateData();
- explicit TextAPIEditSource( const TextAPIEditSource& rSource );
+ virtual SvxEditSource* Clone() const;
+ virtual SvxTextForwarder* GetTextForwarder();
+ virtual void UpdateData();
+ explicit TextAPIEditSource( const TextAPIEditSource& rSource );
public:
TextAPIEditSource(SdDrawDocument* pDoc);
- virtual ~TextAPIEditSource();
+ virtual ~TextAPIEditSource();
- void Dispose();
- void SetText( OutlinerParaObject& rText );
+ void Dispose();
+ void SetText( OutlinerParaObject& rText );
OutlinerParaObject* CreateText();
- String GetText();
+ String GetText();
SdDrawDocument* GetDoc() { return pImpl->mpDoc; }
};
@@ -132,10 +132,10 @@ const SvxItemPropertySet* ImplGetSdTextPortionPropertyMap()
SVX_UNOEDIT_FONT_PROPERTIES,
SVX_UNOEDIT_OUTLINER_PROPERTIES,
SVX_UNOEDIT_PARA_PROPERTIES,
- {MAP_CHAR_LEN("TextField"), EE_FEATURE_FIELD, &::getCppuType((const Reference< XTextField >*)0), PropertyAttribute::READONLY, 0 },
- {MAP_CHAR_LEN("TextPortionType"), WID_PORTIONTYPE, &::getCppuType((const OUString*)0), PropertyAttribute::READONLY, 0 },
- {MAP_CHAR_LEN("TextUserDefinedAttributes"), EE_CHAR_XMLATTRIBS, &::getCppuType((const Reference< XNameContainer >*)0) , 0, 0},
- {MAP_CHAR_LEN("ParaUserDefinedAttributes"), EE_PARA_XMLATTRIBS, &::getCppuType((const Reference< XNameContainer >*)0) , 0, 0},
+ {MAP_CHAR_LEN("TextField"), EE_FEATURE_FIELD, &::getCppuType((const Reference< XTextField >*)0), PropertyAttribute::READONLY, 0 },
+ {MAP_CHAR_LEN("TextPortionType"), WID_PORTIONTYPE, &::getCppuType((const OUString*)0), PropertyAttribute::READONLY, 0 },
+ {MAP_CHAR_LEN("TextUserDefinedAttributes"), EE_CHAR_XMLATTRIBS, &::getCppuType((const Reference< XNameContainer >*)0) , 0, 0},
+ {MAP_CHAR_LEN("ParaUserDefinedAttributes"), EE_PARA_XMLATTRIBS, &::getCppuType((const Reference< XNameContainer >*)0) , 0, 0},
{0,0,0,0,0,0}
};
static SvxItemPropertySet aSdTextPortionPropertyMap( aSdTextPortionPropertyEntries, SdrObject::GetGlobalDrawObjectItemPool() );
@@ -182,9 +182,9 @@ void TextApiObject::SetText( OutlinerParaObject& rText )
SdrModel* pModel = mpSource->GetDoc();
if( pModel && pModel->IsUndoEnabled() )
pModel->AddUndo( new UndoTextAPIChanged( *pModel, this ) );
-
+
mpSource->SetText( rText );
- maSelection.nStartPara = 0xffff;
+ maSelection.nStartPara = 0xffff;
}
String TextApiObject::GetText()
@@ -273,7 +273,7 @@ void TextAPIEditSource::SetText( OutlinerParaObject& rText )
pImpl->mpOutliner = new Outliner( pImpl->mpDoc, OUTLINERMODE_TEXTOBJECT );
pImpl->mpDoc->SetCalcFieldValueHdl( pImpl->mpOutliner );
}
-
+
pImpl->mpOutliner->SetText( rText );
}
}
diff --git a/sd/source/core/typemap.cxx b/sd/source/core/typemap.cxx
index 4c57f5779988..d140d7510388 100644
--- a/sd/source/core/typemap.cxx
+++ b/sd/source/core/typemap.cxx
@@ -2,7 +2,7 @@
/*************************************************************************
*
* 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
@@ -99,30 +99,30 @@
#include <svl/lckbitem.hxx>
-#define CharSetItem SfxUInt16Item
-#define FontFamilyItem SfxUInt16Item
-#define FontPitchItem SfxUInt16Item
-#define FontAlignItem SfxUInt16Item
-#define FontWeightItem SfxUInt16Item
-#define FontUnderlineItem SfxUInt16Item
-#define FontStrikeoutItem SfxUInt16Item
-#define FontItalicItem SfxUInt16Item
-#define SvxDbTypeItem SfxUInt16Item
-#define SvxLineSpaceItem SfxUInt16Item
-#define SvxInterLineSpaceItem SfxUInt16Item
-#define SvxBreakItem SfxUInt16Item
-#define BrushStyleItem SfxUInt16Item
-#define SvxNumTypeItem SfxUInt16Item
-#define SvxShadowLocationItem SfxUInt16Item
-#define SvxDbTypeItem SfxUInt16Item
-//#define SvxChooseControlEnumItem SfxUInt16Item
-#define SvxDrawToolEnumItem SfxUInt16Item
-#define SvxChooseControlItem SfxEnumItem
-#define SvxDrawToolItem SfxUInt16Item
-#define SvxCellHorJustifyEnumItem SfxUInt16Item
-#define SvxCellVerJustifyEnumItem SfxUInt16Item
-#define SvxCellOrientationEnumItem SfxUInt16Item
-#define SvxLanguage SfxUInt16Item
+#define CharSetItem SfxUInt16Item
+#define FontFamilyItem SfxUInt16Item
+#define FontPitchItem SfxUInt16Item
+#define FontAlignItem SfxUInt16Item
+#define FontWeightItem SfxUInt16Item
+#define FontUnderlineItem SfxUInt16Item
+#define FontStrikeoutItem SfxUInt16Item
+#define FontItalicItem SfxUInt16Item
+#define SvxDbTypeItem SfxUInt16Item
+#define SvxLineSpaceItem SfxUInt16Item
+#define SvxInterLineSpaceItem SfxUInt16Item
+#define SvxBreakItem SfxUInt16Item
+#define BrushStyleItem SfxUInt16Item
+#define SvxNumTypeItem SfxUInt16Item
+#define SvxShadowLocationItem SfxUInt16Item
+#define SvxDbTypeItem SfxUInt16Item
+//#define SvxChooseControlEnumItem SfxUInt16Item
+#define SvxDrawToolEnumItem SfxUInt16Item
+#define SvxChooseControlItem SfxEnumItem
+#define SvxDrawToolItem SfxUInt16Item
+#define SvxCellHorJustifyEnumItem SfxUInt16Item
+#define SvxCellVerJustifyEnumItem SfxUInt16Item
+#define SvxCellOrientationEnumItem SfxUInt16Item
+#define SvxLanguage SfxUInt16Item
//#define SfxLockBytesItem SfxPoolItem
#define OfaStringListItem SfxStringListItem
#define avmedia_MediaItem ::avmedia::MediaItem
diff --git a/sd/source/core/undo/undofactory.cxx b/sd/source/core/undo/undofactory.cxx
index 72ad5414e4d0..f097fdbb8865 100644
--- a/sd/source/core/undo/undofactory.cxx
+++ b/sd/source/core/undo/undofactory.cxx
@@ -2,7 +2,7 @@
/*************************************************************************
*
* 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
diff --git a/sd/source/core/undo/undomanager.cxx b/sd/source/core/undo/undomanager.cxx
index 05892631c07f..552e88ff3b98 100644
--- a/sd/source/core/undo/undomanager.cxx
+++ b/sd/source/core/undo/undomanager.cxx
@@ -2,7 +2,7 @@
/*************************************************************************
*
* 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
diff --git a/sd/source/core/undo/undoobjects.cxx b/sd/source/core/undo/undoobjects.cxx
index 8687de4d3c9f..ca73bf0efda8 100644
--- a/sd/source/core/undo/undoobjects.cxx
+++ b/sd/source/core/undo/undoobjects.cxx
@@ -2,7 +2,7 @@
/*************************************************************************
*
* 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
@@ -253,10 +253,10 @@ void UndoObjectSetText::Redo()
// Undo for SdrObject::SetUserCall()
UndoObjectUserCall::UndoObjectUserCall(SdrObject& rObject)
-: SdrUndoObj(rObject)
-, mpOldUserCall((SdPage*)rObject.GetUserCall())
-, mpNewUserCall(0)
-, mxSdrObject( &rObject )
+: SdrUndoObj(rObject)
+, mpOldUserCall((SdPage*)rObject.GetUserCall())
+, mpNewUserCall(0)
+, mxSdrObject( &rObject )
{
}
@@ -287,11 +287,11 @@ void UndoObjectUserCall::Redo()
// Undo for SdPage::InsertPresObj() and SdPage::RemovePresObj()
UndoObjectPresentationKind::UndoObjectPresentationKind(SdrObject& rObject)
-: SdrUndoObj(rObject)
-, meOldKind(PRESOBJ_NONE)
-, meNewKind(PRESOBJ_NONE)
-, mxPage( rObject.GetPage() )
-, mxSdrObject( &rObject )
+: SdrUndoObj(rObject)
+, meOldKind(PRESOBJ_NONE)
+, meNewKind(PRESOBJ_NONE)
+, mxPage( rObject.GetPage() )
+, mxSdrObject( &rObject )
{
DBG_ASSERT( mxPage.is(), "sd::UndoObjectPresentationKind::UndoObjectPresentationKind(), does not work for shapes without a slide!" );
diff --git a/sd/source/core/undoanim.cxx b/sd/source/core/undoanim.cxx
index 307094a5b367..9bbb3036f487 100644
--- a/sd/source/core/undoanim.cxx
+++ b/sd/source/core/undoanim.cxx
@@ -2,7 +2,7 @@
/*************************************************************************
*
* 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
@@ -54,7 +54,7 @@ struct UndoAnimationImpl
SdPage* mpPage;
Reference< XAnimationNode > mxOldNode;
Reference< XAnimationNode > mxNewNode;
- bool mbNewNodeSet;
+ bool mbNewNodeSet;
};
UndoAnimation::UndoAnimation( SdDrawDocument* pDoc, SdPage* pThePage )
@@ -87,7 +87,7 @@ void UndoAnimation::Undo()
if( !mpImpl->mbNewNodeSet )
{
if( mpImpl->mpPage->mxAnimationNode.is() )
- mpImpl->mxNewNode.set( ::sd::Clone( mpImpl->mpPage->mxAnimationNode ) );
+ mpImpl->mxNewNode.set( ::sd::Clone( mpImpl->mpPage->mxAnimationNode ) );
mpImpl->mbNewNodeSet = true;
}
@@ -128,7 +128,7 @@ String UndoAnimation::GetComment() const
struct UndoAnimationPathImpl
{
SdPage* mpPage;
- sal_Int32 mnEffectOffset;
+ sal_Int32 mnEffectOffset;
::rtl::OUString msUndoPath;
::rtl::OUString msRedoPath;
diff --git a/sd/source/filter/cgm/sdcgmfilter.cxx b/sd/source/filter/cgm/sdcgmfilter.cxx
index dc03cd6b3829..3a303e15246e 100644
--- a/sd/source/filter/cgm/sdcgmfilter.cxx
+++ b/sd/source/filter/cgm/sdcgmfilter.cxx
@@ -2,7 +2,7 @@
/*************************************************************************
*
* 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
@@ -45,16 +45,16 @@
// - Defines -
// -----------
-#define CGM_IMPORT_CGM 0x00000001
-#define CGM_IMPORT_IM 0x00000002
+#define CGM_IMPORT_CGM 0x00000001
+#define CGM_IMPORT_IM 0x00000002
-#define CGM_EXPORT_IMPRESS 0x00000100
-#define CGM_EXPORT_META 0x00000200
-#define CGM_EXPORT_COMMENT 0x00000400
+#define CGM_EXPORT_IMPRESS 0x00000100
+#define CGM_EXPORT_META 0x00000200
+#define CGM_EXPORT_COMMENT 0x00000400
-#define CGM_NO_PAD_BYTE 0x00010000
-#define CGM_BIG_ENDIAN 0x00020000
-#define CGM_LITTLE_ENDIAN 0x00040000
+#define CGM_NO_PAD_BYTE 0x00010000
+#define CGM_BIG_ENDIAN 0x00020000
+#define CGM_LITTLE_ENDIAN 0x00040000
// --------------
// - Namespaces -
@@ -91,26 +91,26 @@ SdCGMFilter::~SdCGMFilter()
sal_Bool SdCGMFilter::Import()
{
::osl::Module* pLibrary = OpenLibrary( mrMedium.GetFilter()->GetUserData() );
- sal_Bool bRet = sal_False;
+ sal_Bool bRet = sal_False;
if( pLibrary && mxModel.is() )
{
- ImportCGM FncImportCGM = reinterpret_cast< ImportCGM >( pLibrary->getFunctionSymbol( ::rtl::OUString::createFromAscii( "ImportCGM" ) ) );
- ::rtl::OUString aFileURL( mrMedium.GetURLObject().GetMainURL( INetURLObject::NO_DECODE ) );
- UINT32 nRetValue;
+ ImportCGM FncImportCGM = reinterpret_cast< ImportCGM >( pLibrary->getFunctionSymbol( ::rtl::OUString::createFromAscii( "ImportCGM" ) ) );
+ ::rtl::OUString aFileURL( mrMedium.GetURLObject().GetMainURL( INetURLObject::NO_DECODE ) );
+ UINT32 nRetValue;
if( mrDocument.GetPageCount() == 0L )
mrDocument.CreateFirstPages();
CreateStatusIndicator();
nRetValue = FncImportCGM( aFileURL, mxModel, CGM_IMPORT_CGM | CGM_BIG_ENDIAN | CGM_EXPORT_IMPRESS, mxStatusIndicator );
-
+
if( nRetValue )
{
bRet = TRUE;
-
- if( ( nRetValue &~0xff000000 ) != 0xffffff ) // maybe the backgroundcolor is already white
- { // so we must not set a master page
+
+ if( ( nRetValue &~0xff000000 ) != 0xffffff ) // maybe the backgroundcolor is already white
+ { // so we must not set a master page
mrDocument.StopWorkStartupDelay();
SdPage* pSdPage = mrDocument.GetMasterSdPage(0, PK_STANDARD);
@@ -135,7 +135,7 @@ sal_Bool SdCGMFilter::Import()
sal_Bool SdCGMFilter::Export()
{
::osl::Module* pLibrary = OpenLibrary( mrMedium.GetFilter()->GetUserData() );
- sal_Bool bRet = sal_False;
+ sal_Bool bRet = sal_False;
if( pLibrary && mxModel.is() )
{
diff --git a/sd/source/filter/eppt/epptdef.hxx b/sd/source/filter/eppt/epptdef.hxx
index 7b5f2d17a9b8..a06de1456adc 100644
--- a/sd/source/filter/eppt/epptdef.hxx
+++ b/sd/source/filter/eppt/epptdef.hxx
@@ -2,7 +2,7 @@
/*************************************************************************
*
* 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
@@ -31,7 +31,7 @@
#include <tools/solar.h>
-#define EPP_FLAG_CONTAINER 0x0F // If the version field of a record
+#define EPP_FLAG_CONTAINER 0x0F // If the version field of a record
// header takes on this value, the
// record header marks the start of
// a container.
@@ -55,7 +55,7 @@
#define EPP_Notes 1008
#define EPP_NotesAtom 1009
#define EPP_Environment 1010
-#define EPP_SlidePersistAtom 1011 //0x03F3
+#define EPP_SlidePersistAtom 1011 //0x03F3
#define EPP_Scheme 1012
#define EPP_SchemeAtom 1013
#define EPP_DocViewInfo 1014
@@ -101,8 +101,8 @@
#define EPP_ColorSchemeAtom 2032
// these atoms first was seen in ppt2000 in a private Tag atom
-#define EPP_PST_ExtendedBuGraContainer 2040 // consist of 4041
-#define EPP_PST_ExtendedBuGraAtom 2041 // the instance of this atom indices the current graphic
+#define EPP_PST_ExtendedBuGraContainer 2040 // consist of 4041
+#define EPP_PST_ExtendedBuGraAtom 2041 // the instance of this atom indices the current graphic
#define EPP_OEShape 3008
#define EPP_ExObjRefAtom 3009
@@ -129,13 +129,13 @@
#define EPP_DefaultRulerAtom 4011
// these atoms first was seen in ppt2000 in a private Tag atom
-#define EPP_PST_ExtendedParagraphAtom 4012
-#define EPP_PST_ExtendedParagraphMasterAtom 4013
-#define EPP_PST_ExtendedPresRuleContainer 4014 // consist of 4012, 4015,
-#define EPP_PST_ExtendedParagraphHeaderAtom 4015 // the instance of this atom indices the current presobj
+#define EPP_PST_ExtendedParagraphAtom 4012
+#define EPP_PST_ExtendedParagraphMasterAtom 4013
+#define EPP_PST_ExtendedPresRuleContainer 4014 // consist of 4012, 4015,
+#define EPP_PST_ExtendedParagraphHeaderAtom 4015 // the instance of this atom indices the current presobj
// the first UINT32 in this atom indices the current slideId
-#define EPP_FontEnityAtom 4023
+#define EPP_FontEnityAtom 4023
#define EPP_FontEmbedData 4024
#define EPP_TypeFace 4025
#define EPP_CString 4026
@@ -177,7 +177,7 @@
#define EPP_ExSubscriptionSection 4077
#define EPP_ExControl 4078
#define EPP_ExControlAtom 4091
-#define EPP_SlideListWithText 4080 // 0x0FF0
+#define EPP_SlideListWithText 4080 // 0x0FF0
#define EPP_AnimationInfoAtom 4081
#define EPP_InteractiveInfo 4082
#define EPP_InteractiveInfoAtom 4083
@@ -212,54 +212,54 @@
#define EPP_GscalingAtom 10001
#define EPP_GrColorAtom 10002
#define EPP_GLPointAtom 10003
-#define EPP_Comment10 12000
-#define EPP_CommentAtom10 12001
+#define EPP_Comment10 12000
+#define EPP_CommentAtom10 12001
-#define EPP_PLACEHOLDER_NONE 0 // 0 None
-#define EPP_PLACEHOLDER_MASTERTITLE 1 // 1 Master title
-#define EPP_PLACEHOLDER_MASTERBODY 2 // 2 Master body
-#define EPP_PLACEHOLDER_MASTERCENTEREDTITLE 3 // 3 Master centered title
-#define EPP_PLACEHOLDER_MASTERSUBTITLE 4 // 10 Master subtitle
-#define EPP_PLACEHOLDER_MASTERNOTESSLIDEIMAGE 5 // 4 Master notes slide image
-#define EPP_PLACEHOLDER_MASTERNOTESBODYIMAGE 6 // 5 Master notes body image
-#define EPP_PLACEHOLDER_MASTERDATE 7 // 6 Master date
-#define EPP_PLACEHOLDER_MASTERSLIDENUMBER 8 // 7 Master slide number
-#define EPP_PLACEHOLDER_MASTERFOOTER 9 // 8 Master footer
-#define EPP_PLACEHOLDER_MASTERHEADER 10 // 9 Master header
-#define EPP_PLACEHOLDER_GENERICTEXTOBJECT // 11 Generic text object
-#define EPP_PLACEHOLDER_TITLE 13 // 12 Title
-#define EPP_PLACEHOLDER_BODY 14 // 13 Body
-#define EPP_PLACEHOLDER_NOTESBODY 12 // 14 Notes body
-#define EPP_PLACEHOLDER_CENTEREDTITLE 15 // 15 Centered title
-#define EPP_PLACEHOLDER_SUBTITLE 16 // 16 Subtitle
-#define EPP_PLACEHOLDER_VERTICALTEXTTITLE 17 // 17 Vertical text title
-#define EPP_PLACEHOLDER_VERTICALTEXTBODY 18 // 18 Vertical text body
-#define EPP_PLACEHOLDER_NOTESSLIDEIMAGE 11 // 19 Notes slide image
-#define EPP_PLACEHOLDER_OBJECT 19 // 20 Object (no matter the size)
-#define EPP_PLACEHOLDER_GRAPH 20 // 21 Graph
-#define EPP_PLACEHOLDER_TABLE 21 // 22 Table
-#define EPP_PLACEHOLDER_CLIPART 22 // 23 Clip Art
-#define EPP_PLACEHOLDER_ORGANISZATIONCHART 23 // 24 Organization Chart
-#define EPP_PLACEHOLDER_MEDIACLIP 24 // 25 Media Clip
+#define EPP_PLACEHOLDER_NONE 0 // 0 None
+#define EPP_PLACEHOLDER_MASTERTITLE 1 // 1 Master title
+#define EPP_PLACEHOLDER_MASTERBODY 2 // 2 Master body
+#define EPP_PLACEHOLDER_MASTERCENTEREDTITLE 3 // 3 Master centered title
+#define EPP_PLACEHOLDER_MASTERSUBTITLE 4 // 10 Master subtitle
+#define EPP_PLACEHOLDER_MASTERNOTESSLIDEIMAGE 5 // 4 Master notes slide image
+#define EPP_PLACEHOLDER_MASTERNOTESBODYIMAGE 6 // 5 Master notes body image
+#define EPP_PLACEHOLDER_MASTERDATE 7 // 6 Master date
+#define EPP_PLACEHOLDER_MASTERSLIDENUMBER 8 // 7 Master slide number
+#define EPP_PLACEHOLDER_MASTERFOOTER 9 // 8 Master footer
+#define EPP_PLACEHOLDER_MASTERHEADER 10 // 9 Master header
+#define EPP_PLACEHOLDER_GENERICTEXTOBJECT // 11 Generic text object
+#define EPP_PLACEHOLDER_TITLE 13 // 12 Title
+#define EPP_PLACEHOLDER_BODY 14 // 13 Body
+#define EPP_PLACEHOLDER_NOTESBODY 12 // 14 Notes body
+#define EPP_PLACEHOLDER_CENTEREDTITLE 15 // 15 Centered title
+#define EPP_PLACEHOLDER_SUBTITLE 16 // 16 Subtitle
+#define EPP_PLACEHOLDER_VERTICALTEXTTITLE 17 // 17 Vertical text title
+#define EPP_PLACEHOLDER_VERTICALTEXTBODY 18 // 18 Vertical text body
+#define EPP_PLACEHOLDER_NOTESSLIDEIMAGE 11 // 19 Notes slide image
+#define EPP_PLACEHOLDER_OBJECT 19 // 20 Object (no matter the size)
+#define EPP_PLACEHOLDER_GRAPH 20 // 21 Graph
+#define EPP_PLACEHOLDER_TABLE 21 // 22 Table
+#define EPP_PLACEHOLDER_CLIPART 22 // 23 Clip Art
+#define EPP_PLACEHOLDER_ORGANISZATIONCHART 23 // 24 Organization Chart
+#define EPP_PLACEHOLDER_MEDIACLIP 24 // 25 Media Clip
-#define EPP_TEXTTYPE_Title 0
-#define EPP_TEXTTYPE_Body 1
-#define EPP_TEXTTYPE_Notes 2
-#define EPP_TEXTTYPE_notUsed 3
-#define EPP_TEXTTYPE_Other 4 // ( Text in a shape )
-#define EPP_TEXTTYPE_CenterBody 5 // ( subtitle in title slide )
-#define EPP_TEXTTYPE_CenterTitle 6 // ( title in title slide )
-#define EPP_TEXTTYPE_HalfBody 7 // ( body in two-column slide )
-#define EPP_TEXTTYPE_QuarterBody 8 // ( body in four-body slide )
+#define EPP_TEXTTYPE_Title 0
+#define EPP_TEXTTYPE_Body 1
+#define EPP_TEXTTYPE_Notes 2
+#define EPP_TEXTTYPE_notUsed 3
+#define EPP_TEXTTYPE_Other 4 // ( Text in a shape )
+#define EPP_TEXTTYPE_CenterBody 5 // ( subtitle in title slide )
+#define EPP_TEXTTYPE_CenterTitle 6 // ( title in title slide )
+#define EPP_TEXTTYPE_HalfBody 7 // ( body in two-column slide )
+#define EPP_TEXTTYPE_QuarterBody 8 // ( body in four-body slide )
-#define EPP_SLIDESIZE_TYPEONSCREEN 0
-#define EPP_SLIDESIZE_TYPELETTERSIZERPAPER 1
-#define EPP_SLIDESIZE_TYPEA4PAPER 2
-#define EPP_SLIDESIZE_TYPE35MM 3
-#define EPP_SLIDESIZE_TYPEOVERHEAD 4
-#define EPP_SLIDESIZE_TYPEBANNER 5
-#define EPP_SLIDESIZE_TYPECUSTOM 6
+#define EPP_SLIDESIZE_TYPEONSCREEN 0
+#define EPP_SLIDESIZE_TYPELETTERSIZERPAPER 1
+#define EPP_SLIDESIZE_TYPEA4PAPER 2
+#define EPP_SLIDESIZE_TYPE35MM 3
+#define EPP_SLIDESIZE_TYPEOVERHEAD 4
+#define EPP_SLIDESIZE_TYPEBANNER 5
+#define EPP_SLIDESIZE_TYPECUSTOM 6
#endif
diff --git a/sd/source/filter/eppt/epptso.cxx b/sd/source/filter/eppt/epptso.cxx
index 55f143ee9849..df9e4b6795e1 100644
--- a/sd/source/filter/eppt/epptso.cxx
+++ b/sd/source/filter/eppt/epptso.cxx
@@ -3442,7 +3442,7 @@ void PPTWriter::ImplWritePage( const PHLayout& rLayout, EscherSolverContainer& a
ImplFlipBoundingBox( aPropOpt );
aPropOpt.CreateShapeProperties( mXShape );
aPropOpt.Commit( *mpStrm );
- if ( GetCurrentGroupLevel() > 0 )
+ if ( GetCurrentGroupLevel() > 0 )
mpPptEscherEx->AddChildAnchor( maRect );
else
mpPptEscherEx->AddClientAnchor( maRect );
@@ -3515,7 +3515,7 @@ void PPTWriter::ImplWritePage( const PHLayout& rLayout, EscherSolverContainer& a
aPropOpt.CreateShapeProperties( mXShape );
aPropOpt.Commit( *mpStrm );
- if ( GetCurrentGroupLevel() > 0 )
+ if ( GetCurrentGroupLevel() > 0 )
mpPptEscherEx->AddChildAnchor( maRect );
else
mpPptEscherEx->AddClientAnchor( maRect );
@@ -3665,7 +3665,7 @@ void PPTWriter::ImplCreateTable( uno::Reference< drawing::XShape >& rXShape, Esc
aPropOpt.CreateShapeProperties( rXShape );
aPropOpt.Commit( *mpStrm );
aPropOpt2.Commit( *mpStrm, 3, ESCHER_UDefProp );
- if ( GetCurrentGroupLevel() > 0 )
+ if ( GetCurrentGroupLevel() > 0 )
mpPptEscherEx->AddChildAnchor( maRect );
else
mpPptEscherEx->AddClientAnchor( maRect );
diff --git a/sd/source/filter/eppt/escherex.cxx b/sd/source/filter/eppt/escherex.cxx
index c40cf5043038..f6db4e1ea4e3 100644
--- a/sd/source/filter/eppt/escherex.cxx
+++ b/sd/source/filter/eppt/escherex.cxx
@@ -39,7 +39,7 @@
PptEscherEx::PptEscherEx( SvStream& rOutStrm ) :
EscherEx( EscherExGlobalRef( new EscherExGlobal ), rOutStrm )
{
- mnCurrentDg = 0;
+ mnCurrentDg = 0;
}
// ---------------------------------------------------------------------------------------------
@@ -52,7 +52,7 @@ sal_uInt32 PptEscherEx::DrawingGroupContainerSize()
void PptEscherEx::WriteDrawingGroupContainer( SvStream& rSt )
{
UINT32 nSize = DrawingGroupContainerSize();
- rSt << (sal_uInt32)( 0xf | ( 1035 << 16 ) ) // EPP_PPDrawingGroup
+ rSt << (sal_uInt32)( 0xf | ( 1035 << 16 ) ) // EPP_PPDrawingGroup
<< (sal_uInt32)( nSize - 8 );
ImplWriteDggContainer( rSt );
@@ -107,18 +107,18 @@ void PptEscherEx::ImplWriteOptAtom( SvStream& rSt )
{
rSt << (sal_uInt32)( ( ESCHER_OPT << 16 ) | ( ESCHER_OPT_COUNT << 4 ) | 0x3 )
<< (sal_uInt32)( nSize - 8 )
- << (sal_uInt16)ESCHER_Prop_fillColor << (sal_uInt32)0xffb800
- << (sal_uInt16)ESCHER_Prop_fillBackColor << (sal_uInt32)0
- << (sal_uInt16)ESCHER_Prop_fNoFillHitTest << (sal_uInt32)0x00100010
- << (sal_uInt16)ESCHER_Prop_lineColor << (sal_uInt32)0x8000001
- << (sal_uInt16)ESCHER_Prop_fNoLineDrawDash << (sal_uInt32)0x00080008
- << (sal_uInt16)ESCHER_Prop_shadowColor << (sal_uInt32)0x8000002;
+ << (sal_uInt16)ESCHER_Prop_fillColor << (sal_uInt32)0xffb800
+ << (sal_uInt16)ESCHER_Prop_fillBackColor << (sal_uInt32)0
+ << (sal_uInt16)ESCHER_Prop_fNoFillHitTest << (sal_uInt32)0x00100010
+ << (sal_uInt16)ESCHER_Prop_lineColor << (sal_uInt32)0x8000001
+ << (sal_uInt16)ESCHER_Prop_fNoLineDrawDash << (sal_uInt32)0x00080008
+ << (sal_uInt16)ESCHER_Prop_shadowColor << (sal_uInt32)0x8000002;
}
}
// ---------------------------------------------------------------------------------------------
-#define ESCHER_SPLIT_MENU_COLORS_COUNT 4
+#define ESCHER_SPLIT_MENU_COLORS_COUNT 4
sal_uInt32 PptEscherEx::ImplSplitMenuColorsAtomSize()
{
@@ -167,8 +167,8 @@ void PptEscherEx::OpenContainer( UINT16 n_EscherContainer, int nRecInstance )
mnCurrentDg = mxGlobal->GenerateDrawingId();
AddAtom( 8, ESCHER_Dg, 0, mnCurrentDg );
PtReplaceOrInsert( ESCHER_Persist_Dg | mnCurrentDg, mpOutStrm->Tell() );
- *mpOutStrm << (UINT32)0 // The number of shapes in this drawing
- << (UINT32)0; // The last MSOSPID given to an SP in this DG
+ *mpOutStrm << (UINT32)0 // The number of shapes in this drawing
+ << (UINT32)0; // The last MSOSPID given to an SP in this DG
}
}
break;
@@ -258,17 +258,17 @@ sal_uInt32 PptEscherEx::EnterGroup( Rectangle* pBoundRect, SvMemoryStream* pClie
OpenContainer( ESCHER_SpContainer );
AddAtom( 16, ESCHER_Spgr, 1 );
PtReplaceOrInsert( ESCHER_Persist_Grouping_Snap | mnGroupLevel, mpOutStrm->Tell() );
- *mpOutStrm << (INT32)aRect.Left() // Bounding box fuer die Gruppierten shapes an die sie attached werden
+ *mpOutStrm << (INT32)aRect.Left() // Bounding box fuer die Gruppierten shapes an die sie attached werden
<< (INT32)aRect.Top()
<< (INT32)aRect.Right()
<< (INT32)aRect.Bottom();
nShapeId = GenerateShapeId();
if ( !mnGroupLevel )
- AddShape( ESCHER_ShpInst_Min, 5, nShapeId ); // Flags: Group | Patriarch
+ AddShape( ESCHER_ShpInst_Min, 5, nShapeId ); // Flags: Group | Patriarch
else
{
- AddShape( ESCHER_ShpInst_Min, 0x201, nShapeId ); // Flags: Group | HaveAnchor
+ AddShape( ESCHER_ShpInst_Min, 0x201, nShapeId ); // Flags: Group | HaveAnchor
if ( mnGroupLevel == 1 )
{
AddAtom( 8, ESCHER_ClientAnchor );
@@ -296,7 +296,7 @@ sal_uInt32 PptEscherEx::EnterGroup( Rectangle* pBoundRect, SvMemoryStream* pClie
mpOutStrm->Write( pClientData->GetData(), nSize );
}
}
- CloseContainer(); // ESCHER_SpContainer
+ CloseContainer(); // ESCHER_SpContainer
}
mnGroupLevel++;
return nShapeId;
diff --git a/sd/source/filter/eppt/escherex.hxx b/sd/source/filter/eppt/escherex.hxx
index 4589ea8f5c6c..f646195d13cf 100644
--- a/sd/source/filter/eppt/escherex.hxx
+++ b/sd/source/filter/eppt/escherex.hxx
@@ -49,27 +49,27 @@ enum PPT_TextHeader
class PptEscherEx : public EscherEx
{
- sal_uInt32 ImplDggContainerSize();
- void ImplWriteDggContainer( SvStream& rSt );
+ sal_uInt32 ImplDggContainerSize();
+ void ImplWriteDggContainer( SvStream& rSt );
- sal_uInt32 ImplOptAtomSize();
- void ImplWriteOptAtom( SvStream& rSt );
+ sal_uInt32 ImplOptAtomSize();
+ void ImplWriteOptAtom( SvStream& rSt );
- sal_uInt32 ImplSplitMenuColorsAtomSize();
- void ImplWriteSplitMenuColorsAtom( SvStream& rSt );
+ sal_uInt32 ImplSplitMenuColorsAtomSize();
+ void ImplWriteSplitMenuColorsAtom( SvStream& rSt );
public:
PptEscherEx( SvStream& rOut );
~PptEscherEx();
- void OpenContainer( UINT16 n_EscherContainer, int nRecInstance = 0 );
- void CloseContainer();
+ void OpenContainer( UINT16 n_EscherContainer, int nRecInstance = 0 );
+ void CloseContainer();
sal_uInt32 EnterGroup( Rectangle* pBoundRect, SvMemoryStream* pClientData );
- UINT32 DrawingGroupContainerSize();
- void WriteDrawingGroupContainer( SvStream& rSt );
+ UINT32 DrawingGroupContainerSize();
+ void WriteDrawingGroupContainer( SvStream& rSt );
using EscherEx::EnterGroup;
};
diff --git a/sd/source/filter/eppt/pptexanimations.cxx b/sd/source/filter/eppt/pptexanimations.cxx
index 23381d6ae002..9ce1c572ec1e 100644
--- a/sd/source/filter/eppt/pptexanimations.cxx
+++ b/sd/source/filter/eppt/pptexanimations.cxx
@@ -1809,7 +1809,7 @@ Reference< XShape > AnimationExporter::getTargetElementShape( const Any& rAny, s
void AnimationExporter::exportAnimateTargetElement( SvStream& rStrm, const Any aAny, const sal_Bool bCreate2b01Atom )
{
- sal_uInt32 nRefMode = 0; // nRefMode == 2 -> Paragraph
+ sal_uInt32 nRefMode = 0; // nRefMode == 2 -> Paragraph
sal_Int32 begin = -1;
sal_Int32 end = -1;
sal_Bool bParagraphTarget;
diff --git a/sd/source/filter/eppt/pptexanimations.hxx b/sd/source/filter/eppt/pptexanimations.hxx
index 448f3c9f7ef1..8459d2b3dc8e 100644
--- a/sd/source/filter/eppt/pptexanimations.hxx
+++ b/sd/source/filter/eppt/pptexanimations.hxx
@@ -2,7 +2,7 @@
/*************************************************************************
*
* 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
@@ -50,7 +50,7 @@ class SdPage;
class SvStream;
namespace ppt
-{
+{
struct AfterEffectNode
{
@@ -86,7 +86,7 @@ class AnimationExporter
void exportAnimPropertyFloat( SvStream& rStrm, const sal_uInt16 nPropertyId, const double& rVal, const TranslateMode eTranslateMode );
void exportAnimPropertyuInt32( SvStream& rStrm, const sal_uInt16 nPropertyId, const sal_uInt32 nVal, const TranslateMode eTranslateMode );
void exportAnimPropertyByte( SvStream& rStrm, const sal_uInt16 nPropertyId, const sal_uInt8 nVal, const TranslateMode eTranslateMode );
-
+
// if available exportAnimPropertySet returns the ::com::sun::star::presentation::EffectNodeType
sal_Int16 exportAnimPropertySet( SvStream& rStrm, const ::com::sun::star::uno::Reference< ::com::sun::star::animations::XAnimationNode >& xNode );
void exportAnimNode( SvStream& rStrm, const ::com::sun::star::uno::Reference< ::com::sun::star::animations::XAnimationNode >& xNode,
diff --git a/sd/source/filter/eppt/pptexsoundcollection.cxx b/sd/source/filter/eppt/pptexsoundcollection.cxx
index 159e3e53d362..62122df0d172 100644
--- a/sd/source/filter/eppt/pptexsoundcollection.cxx
+++ b/sd/source/filter/eppt/pptexsoundcollection.cxx
@@ -2,7 +2,7 @@
/*************************************************************************
*
* 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
@@ -40,8 +40,8 @@ namespace ppt
{
ExSoundEntry::ExSoundEntry( const String& rString )
-: nFileSize( 0 )
-, aSoundURL( rString )
+: nFileSize( 0 )
+, aSoundURL( rString )
{
try
{
diff --git a/sd/source/filter/eppt/pptexsoundcollection.hxx b/sd/source/filter/eppt/pptexsoundcollection.hxx
index 5881bbff3150..d3fa349a64a1 100644
--- a/sd/source/filter/eppt/pptexsoundcollection.hxx
+++ b/sd/source/filter/eppt/pptexsoundcollection.hxx
@@ -2,7 +2,7 @@
/*************************************************************************
*
* 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
@@ -39,42 +39,42 @@
#include <list>
namespace ppt
-{
+{
class ExSoundEntry
{
- sal_uInt32 nFileSize;
- String aSoundURL;
+ sal_uInt32 nFileSize;
+ String aSoundURL;
- String ImplGetName() const;
- String ImplGetExtension() const;
+ String ImplGetName() const;
+ String ImplGetExtension() const;
public :
-
- sal_Bool IsSameURL( const String& rURL ) const;
- sal_uInt32 GetFileSize( ) const { return nFileSize; };
+
+ sal_Bool IsSameURL( const String& rURL ) const;
+ sal_uInt32 GetFileSize( ) const { return nFileSize; };
ExSoundEntry( const String& rSoundURL );
// returns the size of a complete SoundContainer
- sal_uInt32 GetSize( sal_uInt32 nId ) const;
- void Write( SvStream& rSt, sal_uInt32 nId );
+ sal_uInt32 GetSize( sal_uInt32 nId ) const;
+ void Write( SvStream& rSt, sal_uInt32 nId );
};
class ExSoundCollection : private List
{
- const ExSoundEntry* ImplGetByIndex( sal_uInt32 nId ) const;
+ const ExSoundEntry* ImplGetByIndex( sal_uInt32 nId ) const;
public:
ExSoundCollection() {}
~ExSoundCollection();
- sal_uInt32 GetId( const String& );
+ sal_uInt32 GetId( const String& );
// returns the size of a complete SoundCollectionContainer
- sal_uInt32 GetSize() const;
- void Write( SvStream& rSt );
+ sal_uInt32 GetSize() const;
+ void Write( SvStream& rSt );
};
} // namespace ppt
diff --git a/sd/source/filter/eppt/pptx-epptbase.cxx b/sd/source/filter/eppt/pptx-epptbase.cxx
index 47084b9e2179..60091a816507 100644
--- a/sd/source/filter/eppt/pptx-epptbase.cxx
+++ b/sd/source/filter/eppt/pptx-epptbase.cxx
@@ -165,7 +165,7 @@ PPTWriterBase::PPTWriterBase( const Reference< XModel > & rXModel,
PPTWriterBase::~PPTWriterBase()
{
- if ( mbStatusIndicator )
+ if ( mbStatusIndicator && mXStatusIndicator.is() )
mXStatusIndicator->end();
}
diff --git a/sd/source/filter/grf/sdgrffilter.cxx b/sd/source/filter/grf/sdgrffilter.cxx
index 0a1d1d5f47cc..fecf13d87586 100644
--- a/sd/source/filter/grf/sdgrffilter.cxx
+++ b/sd/source/filter/grf/sdgrffilter.cxx
@@ -2,7 +2,7 @@
/*************************************************************************
*
* 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
@@ -121,7 +121,7 @@ class SdGRFFilter_ImplInteractionHdl : public ::cppu::WeakImplHelper1< com::sun:
USHORT GetErrorCode() const { return nFilterError; };
- virtual void SAL_CALL handle( const com::sun::star::uno::Reference< com::sun::star::task::XInteractionRequest >& )
+ virtual void SAL_CALL handle( const com::sun::star::uno::Reference< com::sun::star::task::XInteractionRequest >& )
throw( com::sun::star::uno::RuntimeException );
};
@@ -210,13 +210,13 @@ sal_Bool SdGRFFilter::Import()
const String aFileName( mrMedium.GetURLObject().GetMainURL( INetURLObject::NO_DECODE ) );
GraphicFilter* pGraphicFilter = GraphicFilter::GetGraphicFilter();
const USHORT nFilter = pGraphicFilter->GetImportFormatNumberForTypeName( mrMedium.GetFilter()->GetTypeName() );
- sal_Bool bRet = sal_False;
+ sal_Bool bRet = sal_False;
// ggf. Filterdialog ausfuehren
if ( !pGraphicFilter->HasImportDialog( nFilter ) || pGraphicFilter->DoImportDialog( NULL, nFilter ) )
{
- SvStream* pIStm = mrMedium.GetInStream();
- USHORT nReturn = pIStm ? pGraphicFilter->ImportGraphic( aGraphic, aFileName, *pIStm, nFilter ) : 1;
+ SvStream* pIStm = mrMedium.GetInStream();
+ USHORT nReturn = pIStm ? pGraphicFilter->ImportGraphic( aGraphic, aFileName, *pIStm, nFilter ) : 1;
if( nReturn )
HandleGraphicFilterError( nReturn, pGraphicFilter->GetLastError().nStreamError );
@@ -225,10 +225,10 @@ sal_Bool SdGRFFilter::Import()
if( mrDocument.GetPageCount() == 0L )
mrDocument.CreateFirstPages();
- SdPage* pPage = mrDocument.GetSdPage( 0, PK_STANDARD );
- Point aPos;
- Size aPagSize( pPage->GetSize() );
- Size aGrfSize( OutputDevice::LogicToLogic( aGraphic.GetPrefSize(),
+ SdPage* pPage = mrDocument.GetSdPage( 0, PK_STANDARD );
+ Point aPos;
+ Size aPagSize( pPage->GetSize() );
+ Size aGrfSize( OutputDevice::LogicToLogic( aGraphic.GetPrefSize(),
aGraphic.GetPrefMapMode(), MAP_100TH_MM ) );
aPagSize.Width() -= pPage->GetLftBorder() + pPage->GetRgtBorder();
@@ -238,8 +238,8 @@ sal_Bool SdGRFFilter::Import()
if ( ( ( aGrfSize.Height() > aPagSize.Height() ) || ( aGrfSize.Width() > aPagSize.Width() ) ) &&
aGrfSize.Height() && aPagSize.Height() )
{
- double fGrfWH = (double) aGrfSize.Width() / aGrfSize.Height();
- double fWinWH = (double) aPagSize.Width() / aPagSize.Height();
+ double fGrfWH = (double) aGrfSize.Width() / aGrfSize.Height();
+ double fWinWH = (double) aPagSize.Width() / aPagSize.Height();
// Grafik an Pagesize anpassen (skaliert)
if( fGrfWH < fWinWH )
@@ -286,8 +286,8 @@ sal_Bool SdGRFFilter::Export()
( xComponent, uno::UNO_QUERY );
if ( xExporter.is() && xFilter.is() )
{
- SdPage* pPage = NULL;
- sd::DrawViewShell* pDrawViewShell = static_cast< ::sd::DrawViewShell* >
+ SdPage* pPage = NULL;
+ sd::DrawViewShell* pDrawViewShell = static_cast< ::sd::DrawViewShell* >
( ( ( mrDocShell.GetViewShell() && mrDocShell.GetViewShell()->ISA(::sd::DrawViewShell ) ) ? mrDocShell.GetViewShell() : NULL ) );
PageKind ePageKind = PK_STANDARD;
@@ -326,8 +326,8 @@ sal_Bool SdGRFFilter::Export()
rtl::OUString sFilterName( RTL_CONSTASCII_USTRINGPARAM( "FilterName" ) );
rtl::OUString sShortName( pGraphicFilter->GetExportFormatShortName( nFilter ) );
- sal_Bool bFilterNameFound = sal_False;
- sal_Int32 i, nCount;
+ sal_Bool bFilterNameFound = sal_False;
+ sal_Int32 i, nCount;
for ( i = 0, nCount = aArgs.getLength(); i < nCount; i++ )
{
rtl::OUString& rStr = aArgs[ i ].Name;
@@ -455,7 +455,7 @@ void SdGRFFilter::SaveGraphic( const ::com::sun::star::uno::Reference< ::com::su
}
}
// Fallthrough!
-// case ::com::sun::star::graphic::GraphicType::EMPTY:
+// case ::com::sun::star::graphic::GraphicType::EMPTY:
default:
aMimeType = OUString::createFromAscii( "image/png" );
break;
diff --git a/sd/source/filter/html/HtmlOptionsDialog.cxx b/sd/source/filter/html/HtmlOptionsDialog.cxx
index 468a5f07fd8c..c754c8d05550 100644
--- a/sd/source/filter/html/HtmlOptionsDialog.cxx
+++ b/sd/source/filter/html/HtmlOptionsDialog.cxx
@@ -2,7 +2,7 @@
/*************************************************************************
*
* 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
@@ -144,8 +144,8 @@ Sequence< ::rtl::OUString > SAL_CALL SdHtmlOptionsDialog_getSupportedServiceName
// -----------------------------------------------------------------------------
SdHtmlOptionsDialog::SdHtmlOptionsDialog( const Reference< XMultiServiceFactory > & xMgr ) :
- mrxMgr ( xMgr ),
- meDocType ( DOCUMENT_TYPE_DRAW )
+ mrxMgr ( xMgr ),
+ meDocType ( DOCUMENT_TYPE_DRAW )
{
}
diff --git a/sd/source/filter/html/buttonset.cxx b/sd/source/filter/html/buttonset.cxx
index cd47b0e21af7..cd531949d2cf 100644
--- a/sd/source/filter/html/buttonset.cxx
+++ b/sd/source/filter/html/buttonset.cxx
@@ -2,7 +2,7 @@
/*************************************************************************
*
* 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
diff --git a/sd/source/filter/html/buttonset.hxx b/sd/source/filter/html/buttonset.hxx
index bf7a90c431b6..babfe24c3513 100644
--- a/sd/source/filter/html/buttonset.hxx
+++ b/sd/source/filter/html/buttonset.hxx
@@ -2,7 +2,7 @@
/*************************************************************************
*
* 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
@@ -43,7 +43,7 @@ public:
~ButtonSet();
int getCount() const;
-
+
bool getPreview( int nSet, const std::vector< rtl::OUString >& rButtons, Image& rImage );
bool exportButton( int nSet, const rtl::OUString& rPath, const rtl::OUString& rName );
diff --git a/sd/source/filter/html/htmlattr.cxx b/sd/source/filter/html/htmlattr.cxx
index 0e3fdd0cba8c..2b33d280186e 100644
--- a/sd/source/filter/html/htmlattr.cxx
+++ b/sd/source/filter/html/htmlattr.cxx
@@ -2,7 +2,7 @@
/*************************************************************************
*
* 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
diff --git a/sd/source/filter/html/htmlattr.hxx b/sd/source/filter/html/htmlattr.hxx
index e3f001758b45..97b215e79b87 100644
--- a/sd/source/filter/html/htmlattr.hxx
+++ b/sd/source/filter/html/htmlattr.hxx
@@ -2,7 +2,7 @@
/*************************************************************************
*
* 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
@@ -36,16 +36,16 @@ class SdHtmlAttrPreview : public Control
{
protected:
- Color m_aBackColor, m_aTextColor, m_aLinkColor;
+ Color m_aBackColor, m_aTextColor, m_aLinkColor;
Color m_aVLinkColor, m_aALinkColor;
public:
SdHtmlAttrPreview( Window* pParent, const ResId& rResId );
~SdHtmlAttrPreview();
- virtual void Paint( const Rectangle& rRect );
+ virtual void Paint( const Rectangle& rRect );
- void SetColors( Color& aBack, Color& aText, Color& aLink,
+ void SetColors( Color& aBack, Color& aText, Color& aLink,
Color& aVLink, Color& aALink );
};
diff --git a/sd/source/filter/html/htmlex.cxx b/sd/source/filter/html/htmlex.cxx
index ec10650bfed8..149b869c09b9 100644
--- a/sd/source/filter/html/htmlex.cxx
+++ b/sd/source/filter/html/htmlex.cxx
@@ -2,7 +2,7 @@
/*************************************************************************
*
* 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
@@ -104,7 +104,7 @@ using namespace ::com::sun::star::frame;
using namespace ::com::sun::star::lang;
using namespace ::com::sun::star::document;
-#define KEY_QUALITY "JPG-EXPORT-QUALITY"
+#define KEY_QUALITY "JPG-EXPORT-QUALITY"
// Parameter aus Itemset abfragen
@@ -128,21 +128,21 @@ const char *pButtonNames[NUM_BUTTONS] =
"collapse.png",
};
-#define BTN_FIRST_0 0
-#define BTN_FIRST_1 1
-#define BTN_PREV_0 2
-#define BTN_PREV_1 3
-#define BTN_NEXT_0 4
-#define BTN_NEXT_1 5
-#define BTN_LAST_0 6
-#define BTN_LAST_1 7
-#define BTN_INDEX 8
-#define BTN_TEXT 9
-#define BTN_MORE 10
-#define BTN_LESS 11
+#define BTN_FIRST_0 0
+#define BTN_FIRST_1 1
+#define BTN_PREV_0 2
+#define BTN_PREV_1 3
+#define BTN_NEXT_0 4
+#define BTN_NEXT_1 5
+#define BTN_LAST_0 6
+#define BTN_LAST_1 7
+#define BTN_INDEX 8
+#define BTN_TEXT 9
+#define BTN_MORE 10
+#define BTN_LESS 11
// Fuer Detectfilter
-#define CALC_OPTIONS "9,34,SYSTEM"
+#define CALC_OPTIONS "9,34,SYSTEM"
// *********************************************************************
// Hilfsklasse fuer das simple erzeugen von Dateien lokal/remote
@@ -150,9 +150,9 @@ const char *pButtonNames[NUM_BUTTONS] =
class EasyFile
{
private:
- SvStream* pOStm;
- SfxMedium* pMedium;
- bool bOpen;
+ SvStream* pOStm;
+ SfxMedium* pMedium;
+ bool bOpen;
public:
@@ -380,7 +380,7 @@ HtmlExport::HtmlExport(
const Sequence< PropertyValue >& rParams,
SdDrawDocument* pExpDoc,
::sd::DrawDocShell* pDocShell )
- : maPath( aPath ),
+ : maPath( aPath ),
mpDoc(pExpDoc),
mpDocSh( pDocShell ),
meEC(NULL),
@@ -677,7 +677,7 @@ void HtmlExport::InitExportParameters( const Sequence< PropertyValue >& rParams
INetURLObject aINetURLObj( maPath );
DBG_ASSERT( aINetURLObj.GetProtocol() != INET_PROT_NOT_VALID, "invalid URL" );
- maExportPath = aINetURLObj.GetPartBeforeLastName(); // with trailing '/'
+ maExportPath = aINetURLObj.GetPartBeforeLastName(); // with trailing '/'
maIndex = aINetURLObj.GetLastName();
mnSdPageCount = mpDoc->GetSdPageCount( PK_STANDARD );
@@ -1060,9 +1060,9 @@ bool HtmlExport::CreateImagesForPresPages()
// =====================================================================
SdrTextObj* HtmlExport::GetLayoutTextObject(SdrPage* pPage)
{
- ULONG nObjectCount = pPage->GetObjCount();
- SdrObject* pObject = NULL;
- SdrTextObj* pResult = NULL;
+ ULONG nObjectCount = pPage->GetObjCount();
+ SdrObject* pObject = NULL;
+ SdrTextObj* pResult = NULL;
for (ULONG nObject = 0; nObject < nObjectCount; nObject++)
{
@@ -1107,7 +1107,7 @@ bool HtmlExport::CreateHtmlTextForPresPages()
if( mbDocColors )
{
SetDocColors( pPage );
-// maBackColor = pPage->GetPageBackgroundColor();
+// maBackColor = pPage->GetPageBackgroundColor();
}
// HTML Kopf
@@ -1640,12 +1640,12 @@ bool HtmlExport::CreateHtmlForPresPages()
for (ULONG nObject = 0; nObject < nClickableObjectCount; nObject++)
{
SdrObject* pObject = (SdrObject*)aClickableObjects.GetObject(nObject);
- SdAnimationInfo* pInfo = mpDoc->GetAnimationInfo(pObject);
- SdIMapInfo* pIMapInfo = mpDoc->GetIMapInfo(pObject);
+ SdAnimationInfo* pInfo = mpDoc->GetAnimationInfo(pObject);
+ SdIMapInfo* pIMapInfo = mpDoc->GetIMapInfo(pObject);
Rectangle aRect(pObject->GetCurrentBoundRect());
- Point aLogPos(aRect.TopLeft());
- bool bIsSquare = aRect.GetWidth() == aRect.GetHeight();
+ Point aLogPos(aRect.TopLeft());
+ bool bIsSquare = aRect.GetWidth() == aRect.GetHeight();
ULONG nPageWidth = pPage->GetSize().Width() - pPage->GetLftBorder() -
pPage->GetRgtBorder();
@@ -1691,7 +1691,7 @@ bool HtmlExport::CreateHtmlForPresPages()
}
if (nPgNum != SDRPAGE_NOTFOUND)
{
- nPgNum = (nPgNum - 1) / 2; // SdrPageNum --> SdPageNum
+ nPgNum = (nPgNum - 1) / 2; // SdrPageNum --> SdPageNum
aURL = CreatePageURL(nPgNum);
}
@@ -1756,14 +1756,14 @@ bool HtmlExport::CreateHtmlForPresPages()
\************************************************************/
if( pInfo )
{
- String aHRef;
+ String aHRef;
presentation::ClickAction eClickAction = pInfo->meClickAction;
switch( eClickAction )
{
case presentation::ClickAction_BOOKMARK:
{
- BOOL bIsMasterPage;
+ BOOL bIsMasterPage;
USHORT nPgNum = mpDoc->GetPageByName( pInfo->GetBookmark(), bIsMasterPage );
SdrObject* pObj = NULL;
@@ -2106,7 +2106,7 @@ void HtmlExport::CreateFileNames()
mpPageNames = new String*[mnSdPageCount];
mpTextFiles = new String*[mnSdPageCount];
- mbHeader = false; // Ueberschrift auf Uebersichtsseite?
+ mbHeader = false; // Ueberschrift auf Uebersichtsseite?
for (USHORT nSdPage = 0; nSdPage < mnSdPageCount; nSdPage++)
{
@@ -2501,7 +2501,7 @@ bool HtmlExport::CreateNavBarFrames()
if(mnButtonThema != -1)
aButton = CreateImage(GetButtonName(BTN_TEXT), aButton);
- String aText0( RTL_CONSTASCII_USTRINGPARAM("text0"));
+ String aText0( RTL_CONSTASCII_USTRINGPARAM("text0"));
aText0 += maHTMLExtension;
aStr += CreateLink( aText0, aButton, String(RTL_CONSTASCII_USTRINGPARAM("_top")));
aStr.AppendAscii( "\r\n" );
@@ -2634,7 +2634,7 @@ String HtmlExport::CreateNavBar( USHORT nSdPage, bool bIsText ) const
// to Previous page
if(nSdPage > 0)
aStr += CreateLink( bIsText?*mpTextFiles[nSdPage-1]:
- *mpHTMLFiles[nSdPage-1], aStrNavPrev);
+ *mpHTMLFiles[nSdPage-1], aStrNavPrev);
else
aStr += aStrNavPrev;
aStr.Append(sal_Unicode(' '));
@@ -2835,7 +2835,7 @@ String HtmlExport::CreateHTMLCircleArea( ULONG nRadius,
String HtmlExport::CreateHTMLPolygonArea( const ::basegfx::B2DPolyPolygon& rPolyPolygon,
Size aShift, double fFactor, const String& rHRef ) const
{
- String aStr;
+ String aStr;
const sal_uInt32 nNoOfPolygons(rPolyPolygon.count());
for ( sal_uInt32 nXPoly = 0L; nXPoly < nNoOfPolygons; nXPoly++ )
@@ -2923,16 +2923,16 @@ String HtmlExport::CreatePageURL( USHORT nPgNum )
bool HtmlExport::CopyScript( const String& rPath, const String& rSource, const String& rDest, bool bUnix /* = false */ )
{
- INetURLObject aURL( SvtPathOptions().GetConfigPath() );
- String aScript;
+ INetURLObject aURL( SvtPathOptions().GetConfigPath() );
+ String aScript;
aURL.Append( String( RTL_CONSTASCII_USTRINGPARAM("webcast") ) );
aURL.Append( rSource );
meEC.SetContext( STR_HTMLEXP_ERROR_OPEN_FILE, rSource );
- ULONG nErr = 0;
- SvStream* pIStm = ::utl::UcbStreamHelper::CreateStream( aURL.GetMainURL( INetURLObject::NO_DECODE ), STREAM_READ );
+ ULONG nErr = 0;
+ SvStream* pIStm = ::utl::UcbStreamHelper::CreateStream( aURL.GetMainURL( INetURLObject::NO_DECODE ), STREAM_READ );
if( pIStm )
{
@@ -3098,8 +3098,8 @@ String HtmlExport::InsertSound( const String& rSoundFile )
if( rSoundFile.Len() == 0 )
return rSoundFile;
- String aStr( RTL_CONSTASCII_USTRINGPARAM("<embed src=\"") );
- INetURLObject aURL( rSoundFile );
+ String aStr( RTL_CONSTASCII_USTRINGPARAM("<embed src=\"") );
+ INetURLObject aURL( rSoundFile );
DBG_ASSERT( aURL.GetProtocol() != INET_PROT_NOT_VALID, "invalid URL" );
diff --git a/sd/source/filter/html/htmlex.hxx b/sd/source/filter/html/htmlex.hxx
index fd5a30fa2f0c..61ed24f6061f 100644
--- a/sd/source/filter/html/htmlex.hxx
+++ b/sd/source/filter/html/htmlex.hxx
@@ -2,7 +2,7 @@
/*************************************************************************
*
* 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
@@ -51,12 +51,12 @@
#define NUM_BUTTONS 12
-#define PUB_LOWRES_WIDTH 640
-#define PUB_LOWRES_HEIGHT 480
-#define PUB_MEDRES_WIDTH 800
-#define PUB_MEDRES_HEIGHT 600
-#define PUB_HIGHRES_WIDTH 1024
-#define PUB_HIGHRES_HEIGHT 768
+#define PUB_LOWRES_WIDTH 640
+#define PUB_LOWRES_HEIGHT 480
+#define PUB_MEDRES_WIDTH 800
+#define PUB_MEDRES_HEIGHT 600
+#define PUB_HIGHRES_WIDTH 1024
+#define PUB_HIGHRES_HEIGHT 768
#define HtmlButtonThemaStr = "private://gallery/hidden/HtmlExportButtons";
@@ -77,18 +77,18 @@ class View;
class HtmlErrorContext : public ErrorContext
{
private:
- USHORT mnResId;
- String maURL1;
- String maURL2;
+ USHORT mnResId;
+ String maURL1;
+ String maURL2;
public:
HtmlErrorContext(Window *pWin=0);
~HtmlErrorContext() {};
- virtual BOOL GetString( ULONG nErrId, String& rCtxStr );
+ virtual BOOL GetString( ULONG nErrId, String& rCtxStr );
- void SetContext( USHORT nResId, const String& rURL );
- void SetContext( USHORT nResId, const String& rURL1, const String& rURL2 );
+ void SetContext( USHORT nResId, const String& rURL );
+ void SetContext( USHORT nResId, const String& rURL1, const String& rURL2 );
};
// =====================================================================
@@ -132,13 +132,13 @@ class HtmlExport
bool mbDownload;
bool mbAutoSlide;
- UINT32 mnSlideDuration;
+ UINT32 mnSlideDuration;
bool mbSlideSound;
bool mbHiddenSlides;
bool mbEndless;
- bool mbUserAttr; // die folgenden Farben werden fuer das <body>
- Color maTextColor; // tag genutzt, wenn mbUserAttr true ist
+ bool mbUserAttr; // die folgenden Farben werden fuer das <body>
+ Color maTextColor; // tag genutzt, wenn mbUserAttr true ist
Color maBackColor;
Color maLinkColor;
Color maVLinkColor;
@@ -146,13 +146,13 @@ class HtmlExport
Color maFirstPageColor;
bool mbDocColors;
- String maHTMLExtension;
+ String maHTMLExtension;
String** mpHTMLFiles;
String** mpImageFiles;
String** mpPageNames;
String** mpTextFiles;
- String maExportPath; // Das Ausgabeverzeichnes bzw. die URL
+ String maExportPath; // Das Ausgabeverzeichnes bzw. die URL
String maIndexUrl;
String maURLPath;
String maCGIPath;
@@ -166,49 +166,49 @@ class HtmlExport
void SetDocColors( SdPage* pPage = NULL );
- bool CreateImagesForPresPages();
- bool CreateHtmlTextForPresPages();
- bool CreateHtmlForPresPages();
- bool CreateContentPage();
- void CreateFileNames();
- bool CreateBitmaps();
- bool CreateOutlinePages();
- bool CreateFrames();
- bool CreateNotesPages();
- bool CreateNavBarFrames();
-
- bool CreateASPScripts();
- bool CreatePERLScripts();
- bool CreateImageFileList();
- bool CreateImageNumberFile();
-
- bool checkForExistingFiles();
- bool checkFileExists( ::com::sun::star::uno::Reference< ::com::sun::star::ucb::XSimpleFileAccess >& xFileAccess, String const & aFileName );
+ bool CreateImagesForPresPages();
+ bool CreateHtmlTextForPresPages();
+ bool CreateHtmlForPresPages();
+ bool CreateContentPage();
+ void CreateFileNames();
+ bool CreateBitmaps();
+ bool CreateOutlinePages();
+ bool CreateFrames();
+ bool CreateNotesPages();
+ bool CreateNavBarFrames();
+
+ bool CreateASPScripts();
+ bool CreatePERLScripts();
+ bool CreateImageFileList();
+ bool CreateImageNumberFile();
+
+ bool checkForExistingFiles();
+ bool checkFileExists( ::com::sun::star::uno::Reference< ::com::sun::star::ucb::XSimpleFileAccess >& xFileAccess, String const & aFileName );
String getDocumentTitle();
- bool SavePresentation();
+ bool SavePresentation();
- String CreateLink( const String& aLink, const String& aText,
+ String CreateLink( const String& aLink, const String& aText,
const String& aTarget = String()) const;
- String CreateImage( const String& aImage, const String& aAltText, INT16 nWidth = -1, INT16 nHeight = -1 ) const;
- String CreateNavBar( USHORT nSdPage, bool bIsText ) const;
- String CreateBodyTag() const;
+ String CreateImage( const String& aImage, const String& aAltText, INT16 nWidth = -1, INT16 nHeight = -1 ) const;
+ String CreateNavBar( USHORT nSdPage, bool bIsText ) const;
+ String CreateBodyTag() const;
- String ParagraphToHTMLString( SdrOutliner* pOutliner, ULONG nPara, const Color& rBackgroundColor );
- String TextAttribToHTMLString( SfxItemSet* pSet, HtmlState* pState, const Color& rBackgroundColor );
+ String ParagraphToHTMLString( SdrOutliner* pOutliner, ULONG nPara, const Color& rBackgroundColor );
+ String TextAttribToHTMLString( SfxItemSet* pSet, HtmlState* pState, const Color& rBackgroundColor );
- String CreateTextForTitle( SdrOutliner* pOutliner, SdPage* pPage, const Color& rBackgroundColor );
- String CreateTextForPage( SdrOutliner* pOutliner, SdPage* pPage, bool bHeadLine, const Color& rBackgroundColor );
- String CreateTextForNotesPage( SdrOutliner* pOutliner, SdPage* pPage, bool bHeadLine, const Color& rBackgroundColor );
+ String CreateTextForTitle( SdrOutliner* pOutliner, SdPage* pPage, const Color& rBackgroundColor );
+ String CreateTextForPage( SdrOutliner* pOutliner, SdPage* pPage, bool bHeadLine, const Color& rBackgroundColor );
+ String CreateTextForNotesPage( SdrOutliner* pOutliner, SdPage* pPage, bool bHeadLine, const Color& rBackgroundColor );
- String CreateHTMLCircleArea( ULONG nRadius, ULONG nCenterX,
+ String CreateHTMLCircleArea( ULONG nRadius, ULONG nCenterX,
ULONG nCenterY, const String& rHRef ) const;
- String CreateHTMLPolygonArea( const ::basegfx::B2DPolyPolygon& rPolyPoly, Size aShift, double fFactor, const String& rHRef ) const;
- String CreateHTMLRectArea( const Rectangle& rRect,
+ String CreateHTMLPolygonArea( const ::basegfx::B2DPolyPolygon& rPolyPoly, Size aShift, double fFactor, const String& rHRef ) const;
+ String CreateHTMLRectArea( const Rectangle& rRect,
const String& rHRef ) const;
- String CreatePageURL( USHORT nPgNum );
-
+ String CreatePageURL( USHORT nPgNum );
+
String InsertSound( const String& rSoundFile );
bool CopyFile( const String& rSourceFile, const String& rDestPath );
bool CopyScript( const String& rPath, const String& rSource, const String& rDest, bool bUnix = false );
@@ -230,9 +230,9 @@ class HtmlExport
HtmlExport( rtl::OUString aPath, const com::sun::star::uno::Sequence< com::sun::star::beans::PropertyValue >& rParams, SdDrawDocument* pExpDoc, ::sd::DrawDocShell* pDocShell );
virtual ~HtmlExport();
- static String ColorToHTMLString( Color aColor );
- static String StringToHTMLString( const String& rString );
- static String StringToURL( const String& rURL );
+ static String ColorToHTMLString( Color aColor );
+ static String StringToHTMLString( const String& rString );
+ static String StringToURL( const String& rURL );
};
#endif // _SD_HTMLEX_HXX
diff --git a/sd/source/filter/html/pubdlg.cxx b/sd/source/filter/html/pubdlg.cxx
index 6c0e4de2d3f9..48a2f85ad5a0 100644
--- a/sd/source/filter/html/pubdlg.cxx
+++ b/sd/source/filter/html/pubdlg.cxx
@@ -2,7 +2,7 @@
/*************************************************************************
*
* 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
@@ -78,7 +78,7 @@ extern void InterpolateFixedBitmap( FixedBitmap * pBitmap );
const UINT16 nMagic = (UINT16)0x1977;
// Key fuer die soffice.ini
-#define KEY_QUALITY "JPG-EXPORT-QUALITY"
+#define KEY_QUALITY "JPG-EXPORT-QUALITY"
// Die Help Ids der einzelnen Seiten
ULONG aPageHelpIds[NOOFPAGES] =
@@ -97,49 +97,49 @@ ULONG aPageHelpIds[NOOFPAGES] =
class SdPublishingDesign
{
public:
- String m_aDesignName;
+ String m_aDesignName;
- HtmlPublishMode m_eMode;
+ HtmlPublishMode m_eMode;
// special WebCast options
PublishingScript m_eScript;
- String m_aCGI;
- String m_aURL;
+ String m_aCGI;
+ String m_aURL;
// special Kiosk options
- BOOL m_bAutoSlide;
- UINT32 m_nSlideDuration;
- BOOL m_bEndless;
+ BOOL m_bAutoSlide;
+ UINT32 m_nSlideDuration;
+ BOOL m_bEndless;
// special HTML options
- BOOL m_bContentPage;
- BOOL m_bNotes;
+ BOOL m_bContentPage;
+ BOOL m_bNotes;
// misc options
- UINT16 m_nResolution;
- String m_aCompression;
+ UINT16 m_nResolution;
+ String m_aCompression;
PublishingFormat m_eFormat;
- BOOL m_bSlideSound;
+ BOOL m_bSlideSound;
BOOL m_bHiddenSlides;
// titel page information
- String m_aAuthor;
- String m_aEMail;
- String m_aWWW;
- String m_aMisc;
- BOOL m_bDownload;
- BOOL m_bCreated; // not used
+ String m_aAuthor;
+ String m_aEMail;
+ String m_aWWW;
+ String m_aMisc;
+ BOOL m_bDownload;
+ BOOL m_bCreated; // not used
// buttons and colorscheme
- INT16 m_nButtonThema;
- BOOL m_bUserAttr;
- Color m_aBackColor;
- Color m_aTextColor;
+ INT16 m_nButtonThema;
+ BOOL m_bUserAttr;
+ Color m_aBackColor;
+ Color m_aTextColor;
Color m_aLinkColor;
- Color m_aVLinkColor;
- Color m_aALinkColor;
- BOOL m_bUseAttribs;
- BOOL m_bUseColor;
+ Color m_aVLinkColor;
+ Color m_aALinkColor;
+ BOOL m_bUseAttribs;
+ BOOL m_bUseColor;
SdPublishingDesign();
@@ -159,7 +159,7 @@ SdPublishingDesign::SdPublishingDesign()
m_eFormat = FORMAT_PNG;
- String aFilterConfigPath( RTL_CONSTASCII_USTRINGPARAM( "Office.Common/Filter/Graphic/Export/JPG" ) );
+ String aFilterConfigPath( RTL_CONSTASCII_USTRINGPARAM( "Office.Common/Filter/Graphic/Export/JPG" ) );
FilterConfigItem aFilterConfigItem( aFilterConfigPath );
sal_Int32 nCompression = aFilterConfigItem.ReadInt32( String( RTL_CONSTASCII_USTRINGPARAM( KEY_QUALITY ) ), 75 );
m_aCompression = UniString::CreateFromInt32( nCompression );
@@ -167,33 +167,33 @@ SdPublishingDesign::SdPublishingDesign()
SvtUserOptions aUserOptions;
- m_nResolution = PUB_LOWRES_WIDTH;
+ m_nResolution = PUB_LOWRES_WIDTH;
m_aAuthor = aUserOptions.GetFirstName();
if( m_aAuthor.Len() && aUserOptions.GetLastName().getLength() )
- m_aAuthor += sal_Unicode(' ');
+ m_aAuthor += sal_Unicode(' ');
m_aAuthor += (String)aUserOptions.GetLastName();
m_aEMail = aUserOptions.GetEmail();
- m_bDownload = FALSE;
-//-/ m_bCreated = TRUE;
- m_nButtonThema = -1;
+ m_bDownload = FALSE;
+//-/ m_bCreated = TRUE;
+ m_nButtonThema = -1;
- m_bUserAttr = FALSE;
- m_bUseAttribs = TRUE;
- m_bUseColor = TRUE;
+ m_bUserAttr = FALSE;
+ m_bUseAttribs = TRUE;
+ m_bUseColor = TRUE;
m_aBackColor = COL_WHITE;
m_aTextColor = COL_BLACK;
m_aLinkColor = COL_BLUE;
- m_aVLinkColor = COL_LIGHTBLUE;
- m_aALinkColor = COL_GRAY;
+ m_aVLinkColor = COL_LIGHTBLUE;
+ m_aALinkColor = COL_GRAY;
- m_eScript = SCRIPT_ASP;
+ m_eScript = SCRIPT_ASP;
- m_bAutoSlide = TRUE;
+ m_bAutoSlide = TRUE;
m_nSlideDuration = 15;
- m_bEndless = TRUE;
+ m_bEndless = TRUE;
- m_bSlideSound = TRUE;
+ m_bSlideSound = TRUE;
m_bHiddenSlides = FALSE;
}
@@ -204,22 +204,22 @@ int SdPublishingDesign::operator ==(const SdPublishingDesign & rDesign) const
{
return
(
- m_eMode == rDesign.m_eMode &&
+ m_eMode == rDesign.m_eMode &&
m_nResolution == rDesign.m_nResolution &&
m_aCompression == rDesign.m_aCompression &&
- m_eFormat == rDesign.m_eFormat &&
+ m_eFormat == rDesign.m_eFormat &&
m_bHiddenSlides == rDesign.m_bHiddenSlides &&
( // compare html options
(m_eMode != PUBLISH_HTML && m_eMode != PUBLISH_FRAMES) ||
(
m_bContentPage == rDesign.m_bContentPage &&
- m_bNotes == rDesign.m_bNotes &&
- m_aAuthor == rDesign.m_aAuthor &&
- m_aEMail == rDesign.m_aEMail &&
- m_aWWW == rDesign.m_aWWW &&
- m_aMisc == rDesign.m_aMisc &&
+ m_bNotes == rDesign.m_bNotes &&
+ m_aAuthor == rDesign.m_aAuthor &&
+ m_aEMail == rDesign.m_aEMail &&
+ m_aWWW == rDesign.m_aWWW &&
+ m_aMisc == rDesign.m_aMisc &&
m_bDownload == rDesign.m_bDownload &&
-//-/ m_bCreated == rDesign.m_bCreated &&
+//-/ m_bCreated == rDesign.m_bCreated &&
m_nButtonThema == rDesign.m_nButtonThema &&
m_bUserAttr == rDesign.m_bUserAttr &&
m_aBackColor == rDesign.m_aBackColor &&
@@ -232,7 +232,7 @@ int SdPublishingDesign::operator ==(const SdPublishingDesign & rDesign) const
m_bUseColor == rDesign.m_bUseColor
)
) &&
- ( // compare kiosk options
+ ( // compare kiosk options
(m_eMode != PUBLISH_KIOSK) ||
(
m_bAutoSlide == rDesign.m_bAutoSlide &&
@@ -246,7 +246,7 @@ int SdPublishingDesign::operator ==(const SdPublishingDesign & rDesign) const
)
)
) &&
- ( // compare WebCast options
+ ( // compare WebCast options
(m_eMode != PUBLISH_WEBCAST) ||
(
m_eScript == rDesign.m_eScript &&
@@ -285,7 +285,7 @@ SvStream& operator >> (SvStream& rIn, SdPublishingDesign& rDesign)
rIn.ReadByteString( rDesign.m_aWWW, RTL_TEXTENCODING_UTF8 );
rIn.ReadByteString( rDesign.m_aMisc, RTL_TEXTENCODING_UTF8 );
rIn >> rDesign.m_bDownload;
- rIn >> rDesign.m_bCreated; // not used
+ rIn >> rDesign.m_bCreated; // not used
rIn >> rDesign.m_nButtonThema;
rIn >> rDesign.m_bUserAttr;
rIn >> rDesign.m_aBackColor;
@@ -332,7 +332,7 @@ SvStream& operator << (SvStream& rOut, const SdPublishingDesign& rDesign)
rOut.WriteByteString( rDesign.m_aWWW, RTL_TEXTENCODING_UTF8 );
rOut.WriteByteString( rDesign.m_aMisc, RTL_TEXTENCODING_UTF8 );
rOut << rDesign.m_bDownload;
- rOut << rDesign.m_bCreated; // not used
+ rOut << rDesign.m_bCreated; // not used
rOut << rDesign.m_nButtonThema;
rOut << rDesign.m_bUserAttr;
rOut << rDesign.m_aBackColor;
@@ -362,9 +362,9 @@ SvStream& operator << (SvStream& rOut, const SdPublishingDesign& rDesign)
class SdDesignNameDlg : public ModalDialog
{
private:
- Edit m_aEdit;
- OKButton m_aBtnOK;
- CancelButton m_aBtnCancel;
+ Edit m_aEdit;
+ OKButton m_aBtnOK;
+ CancelButton m_aBtnCancel;
public:
SdDesignNameDlg(Window* pWindow, const String& aName );
@@ -381,18 +381,18 @@ public:
// Konstruktor des Dialogs
// =====================================================================
SdPublishingDlg::SdPublishingDlg(Window* pWindow, DocumentType eDocType)
-: ModalDialog(pWindow, SdResId( DLG_PUBLISHING ))
-, mpButtonSet( new ButtonSet() )
-, aBottomLine( this, SdResId( BOTTOM_LINE ) )
-, aHelpButton(this,SdResId(BUT_HELP))
-, aCancelButton(this,SdResId(BUT_CANCEL))
-, aLastPageButton(this,SdResId(BUT_LAST))
-, aNextPageButton(this,SdResId(BUT_NEXT))
-, aFinishButton(this,SdResId(BUT_FINISH))
-, aAssistentFunc(NOOFPAGES)
-, m_bButtonsDirty(TRUE)
-, m_bDesignListDirty(FALSE)
-, m_pDesign(NULL)
+: ModalDialog(pWindow, SdResId( DLG_PUBLISHING ))
+, mpButtonSet( new ButtonSet() )
+, aBottomLine( this, SdResId( BOTTOM_LINE ) )
+, aHelpButton(this,SdResId(BUT_HELP))
+, aCancelButton(this,SdResId(BUT_CANCEL))
+, aLastPageButton(this,SdResId(BUT_LAST))
+, aNextPageButton(this,SdResId(BUT_NEXT))
+, aFinishButton(this,SdResId(BUT_FINISH))
+, aAssistentFunc(NOOFPAGES)
+, m_bButtonsDirty(TRUE)
+, m_bDesignListDirty(FALSE)
+, m_pDesign(NULL)
{
m_bImpress = eDocType == DOCUMENT_TYPE_IMPRESS;
@@ -426,7 +426,7 @@ SdPublishingDlg::SdPublishingDlg(Window* pWindow, DocumentType eDocType)
pPage2_ASP->SetClickHdl(LINK(this,SdPublishingDlg,WebServerHdl));
pPage2_PERL->SetClickHdl(LINK(this,SdPublishingDlg,WebServerHdl));
- String aText( UniString::CreateFromAscii( RTL_CONSTASCII_STRINGPARAM("index")) );
+ String aText( UniString::CreateFromAscii( RTL_CONSTASCII_STRINGPARAM("index")) );
aText += String(SdResId(STR_HTMLEXP_DEFAULT_EXTENSION));
pPage2_Index->SetText(aText);
pPage2_CGI->SetText( UniString::CreateFromAscii( RTL_CONSTASCII_STRINGPARAM( "/cgi-bin/" ) ) );
@@ -490,7 +490,7 @@ SdPublishingDlg::~SdPublishingDlg()
{
if( m_pDesignList )
{
- for( UINT16 nIndex = 0; nIndex < m_pDesignList->Count(); nIndex++ )
+ for( UINT16 nIndex = 0; nIndex < m_pDesignList->Count(); nIndex++ )
delete (SdPublishingDesign*)m_pDesignList->GetObject(nIndex);
}
@@ -639,8 +639,8 @@ void SdPublishingDlg::CreatePages()
if(m_bImpress)
aAssistentFunc.InsertControl(4,
pPage4_Download = new CheckBox(this,SdResId(PAGE4_DOWNLOAD)));
-//-/ aAssistentFunc.InsertControl(4,
-//-/ pPage4_Created = new CheckBox(this,SdResId(PAGE4_CREATED)));
+//-/ aAssistentFunc.InsertControl(4,
+//-/ pPage4_Created = new CheckBox(this,SdResId(PAGE4_CREATED)));
// Seite 5
aAssistentFunc.InsertControl(5,
@@ -766,7 +766,7 @@ void SdPublishingDlg::RemovePages()
delete pPage4_Misc;
if(m_bImpress)
delete pPage4_Download;
-//-/ delete pPage4_Created;
+//-/ delete pPage4_Created;
delete pPage5_Bmp;
delete pPage5_Titel;
@@ -906,7 +906,7 @@ void SdPublishingDlg::GetParameterSequence( Sequence< PropertyValue >& rParams )
// #92433# try to guess protocol for user's homepage
INetURLObject aHomeURL( pPage4_WWW->GetText(),
- INET_PROT_HTTP, // default proto is HTTP
+ INET_PROT_HTTP, // default proto is HTTP
INetURLObject::ENCODE_ALL );
aValue.Name = OUString( RTL_CONSTASCII_USTRINGPARAM( "HomepageURL" ) );
@@ -964,7 +964,7 @@ void SdPublishingDlg::GetParameterSequence( Sequence< PropertyValue >& rParams )
}
// Seite 6
-// aSet.Put(SfxBoolItem(ATTR_PUBLISH_SLIDESOUND,pPage6_Sound->IsChecked()));
+// aSet.Put(SfxBoolItem(ATTR_PUBLISH_SLIDESOUND,pPage6_Sound->IsChecked()));
rParams.realloc( aProps.size() );
@@ -1001,7 +1001,7 @@ IMPL_LINK( SdPublishingDlg, DesignHdl, RadioButton *, pButton )
if(pPage1_Designs->GetSelectEntryCount() == 0)
pPage1_Designs->SelectEntryPos(0);
- USHORT nPos = pPage1_Designs->GetSelectEntryPos();
+ USHORT nPos = pPage1_Designs->GetSelectEntryPos();
m_pDesign = (SdPublishingDesign*)m_pDesignList->GetObject(nPos);
DBG_ASSERT(m_pDesign, "Kein Design? Das darf nicht sein! (CL)");
@@ -1516,7 +1516,7 @@ void SdPublishingDlg::SetDesign( SdPublishingDesign* pDesign )
pPage4_Misc->SetText(pDesign->m_aMisc);
if(m_bImpress)
pPage4_Download->Check(pDesign->m_bDownload);
-//-/ pPage4_Created->Check(pDesign->m_bCreated);
+//-/ pPage4_Created->Check(pDesign->m_bCreated);
pPage5_TextOnly->Check(pDesign->m_nButtonThema == -1);
if(pDesign->m_nButtonThema != -1)
@@ -1552,7 +1552,7 @@ void SdPublishingDlg::GetDesign( SdPublishingDesign* pDesign )
if(!pDesign)
return;
- pDesign->m_eMode = pPage2_Standard->IsChecked()?PUBLISH_HTML:
+ pDesign->m_eMode = pPage2_Standard->IsChecked()?PUBLISH_HTML:
pPage2_Frames->IsChecked()?PUBLISH_FRAMES:
pPage2_Kiosk->IsChecked()?PUBLISH_KIOSK:
PUBLISH_WEBCAST;
@@ -1581,7 +1581,7 @@ void SdPublishingDlg::GetDesign( SdPublishingDesign* pDesign )
pDesign->m_aWWW = pPage4_WWW->GetText();
pDesign->m_aMisc = pPage4_Misc->GetText();
pDesign->m_bDownload = m_bImpress?pPage4_Download->IsChecked():FALSE;
-//-/ pDesign->m_bCreated = pPage4_Created->IsChecked();
+//-/ pDesign->m_bCreated = pPage4_Created->IsChecked();
if(pPage5_TextOnly->IsChecked())
pDesign->m_nButtonThema = -1;
@@ -1723,7 +1723,7 @@ BOOL SdPublishingDlg::Save()
// =====================================================================
SdDesignNameDlg::SdDesignNameDlg(Window* pWindow, const String& aName):
ModalDialog (pWindow, SdResId( DLG_DESIGNNAME )),
- m_aEdit (this, SdResId(EDT_NAME)),
+ m_aEdit (this, SdResId(EDT_NAME)),
m_aBtnOK (this, SdResId(BTN_SAVE)),
m_aBtnCancel (this, SdResId(BTN_NOSAVE))
{
diff --git a/sd/source/filter/html/pubdlg.src b/sd/source/filter/html/pubdlg.src
index 00e9b4af75e4..cc57ab31b4af 100644
--- a/sd/source/filter/html/pubdlg.src
+++ b/sd/source/filter/html/pubdlg.src
@@ -1,7 +1,7 @@
/*************************************************************************
*
* 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
@@ -386,7 +386,7 @@ ModalDialog DLG_PUBLISHING
Size = MAP_APPFONT( 116, 10 );
Text [ en-US ] = "~PNG";
};
-
+
RadioButton PAGE3_GIF
{
Pos = MAP_APPFONT( 12, 63 );
diff --git a/sd/source/filter/html/sdhtmlfilter.cxx b/sd/source/filter/html/sdhtmlfilter.cxx
index e484fea74b4a..ce59fd03b60d 100644
--- a/sd/source/filter/html/sdhtmlfilter.cxx
+++ b/sd/source/filter/html/sdhtmlfilter.cxx
@@ -2,7 +2,7 @@
/*************************************************************************
*
* 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
diff --git a/sd/source/filter/ppt/ppt97animations.cxx b/sd/source/filter/ppt/ppt97animations.cxx
index f22df66795dd..02970068ad7b 100644
--- a/sd/source/filter/ppt/ppt97animations.cxx
+++ b/sd/source/filter/ppt/ppt97animations.cxx
@@ -2,7 +2,7 @@
/*************************************************************************
*
* 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
@@ -230,7 +230,7 @@ void Ppt97Animation::SetAnimateAssociatedShape( bool bAnimate )
DBG_WARNING("you tried to deselect the animation of the form for random animation-> this has been refused");
return;
}
-
+
}
if(bAnimate)
@@ -290,7 +290,7 @@ void Ppt97Animation::UpdateCacheData() const
return;
ClearCacheData();
-
+
if( !HasEffect() )
{
m_bDirtyCache = false;
@@ -300,19 +300,19 @@ void Ppt97Animation::UpdateCacheData() const
switch( m_aAtom.nFlyMethod )
{
case 0x0:
- //eRetval = ::com::sun::star::presentation::AnimationEffect_APPEAR;
+ //eRetval = ::com::sun::star::presentation::AnimationEffect_APPEAR;
m_aPresetId = ::rtl::OUString::createFromAscii("ooo-entrance-appear"); // --- appear ---
break;
case 0x01:
- //eRetval = ::com::sun::star::presentation::AnimationEffect_RANDOM;
+ //eRetval = ::com::sun::star::presentation::AnimationEffect_RANDOM;
m_aPresetId = ::rtl::OUString::createFromAscii("ooo-entrance-random"); // --- random ---
break;
- case 0x02: // --- blinds effect ---
+ case 0x02: // --- blinds effect ---
{
switch ( m_aAtom.nFlyDirection )
{
case 0x0:
- //eRetval = ::com::sun::star::presentation::AnimationEffect_VERTICAL_STRIPES;
+ //eRetval = ::com::sun::star::presentation::AnimationEffect_VERTICAL_STRIPES;
m_aPresetId = ::rtl::OUString::createFromAscii("ooo-entrance-venetian-blinds");
m_aSubType = ::rtl::OUString::createFromAscii("horizontal"); // horizontal
break;
@@ -324,7 +324,7 @@ void Ppt97Animation::UpdateCacheData() const
}
}
break;
- case 0x03: // --- (hor/ver) shifted appear ---
+ case 0x03: // --- (hor/ver) shifted appear ---
{
switch ( m_aAtom.nFlyDirection )
{
@@ -342,10 +342,10 @@ void Ppt97Animation::UpdateCacheData() const
}
break;
case 0x05:
- //eRetval = ::com::sun::star::presentation::AnimationEffect_DISSOLVE; // --- dissolve ----
+ //eRetval = ::com::sun::star::presentation::AnimationEffect_DISSOLVE; // --- dissolve ----
m_aPresetId = ::rtl::OUString::createFromAscii("ooo-entrance-dissolve-in");
break;
- case 0x08: // --- (hor/ver) lines ---
+ case 0x08: // --- (hor/ver) lines ---
{
switch ( m_aAtom.nFlyDirection )
{
@@ -355,56 +355,56 @@ void Ppt97Animation::UpdateCacheData() const
m_aSubType = ::rtl::OUString::createFromAscii("vertical"); // horizontal ???
break;
case 0x1:
- //eRetval = ::com::sun::star::presentation::AnimationEffect_VERTICAL_LINES;
+ //eRetval = ::com::sun::star::presentation::AnimationEffect_VERTICAL_LINES;
m_aPresetId = ::rtl::OUString::createFromAscii("ooo-entrance-random-bars");
m_aSubType = rtl::OUString::createFromAscii("horizontal"); // vertical ???
break;
}
}
break;
- case 0x09: // --- diagonal ---
+ case 0x09: // --- diagonal ---
{
switch ( m_aAtom.nFlyDirection )
{
case 0x4:
- //eRetval = ::com::sun::star::presentation::AnimationEffect_FADE_FROM_LOWERRIGHT;
+ //eRetval = ::com::sun::star::presentation::AnimationEffect_FADE_FROM_LOWERRIGHT;
m_aPresetId = ::rtl::OUString::createFromAscii("ooo-entrance-diagonal-squares");
m_aSubType = rtl::OUString::createFromAscii("left-to-top"); // to left top
break;
case 0x5:
- //eRetval = ::com::sun::star::presentation::AnimationEffect_FADE_FROM_LOWERLEFT;
+ //eRetval = ::com::sun::star::presentation::AnimationEffect_FADE_FROM_LOWERLEFT;
m_aPresetId = ::rtl::OUString::createFromAscii("ooo-entrance-diagonal-squares");
m_aSubType = rtl::OUString::createFromAscii("right-to-top"); // to right top
break;
case 0x6:
- //eRetval = ::com::sun::star::presentation::AnimationEffect_FADE_FROM_UPPERRIGHT;
+ //eRetval = ::com::sun::star::presentation::AnimationEffect_FADE_FROM_UPPERRIGHT;
m_aPresetId = ::rtl::OUString::createFromAscii("ooo-entrance-diagonal-squares");
m_aSubType = rtl::OUString::createFromAscii("left-to-bottom"); // to left bottom
break;
case 0x7:
- //eRetval = ::com::sun::star::presentation::AnimationEffect_FADE_FROM_UPPERLEFT;
+ //eRetval = ::com::sun::star::presentation::AnimationEffect_FADE_FROM_UPPERLEFT;
m_aPresetId = ::rtl::OUString::createFromAscii("ooo-entrance-diagonal-squares");
m_aSubType = rtl::OUString::createFromAscii("right-to-bottom"); // to right bottom
break;
}
}
break;
- case 0x0a: // --- roll/wipe ---
+ case 0x0a: // --- roll/wipe ---
{
switch ( m_aAtom.nFlyDirection )
{
case 0x0:
- //eRetval = ::com::sun::star::presentation::AnimationEffect_FADE_FROM_RIGHT;
+ //eRetval = ::com::sun::star::presentation::AnimationEffect_FADE_FROM_RIGHT;
m_aPresetId = ::rtl::OUString::createFromAscii("ooo-entrance-wipe");
m_aSubType = rtl::OUString::createFromAscii("from-right"); // from right
break;
case 0x1:
- //eRetval = ::com::sun::star::presentation::AnimationEffect_FADE_FROM_BOTTOM;
+ //eRetval = ::com::sun::star::presentation::AnimationEffect_FADE_FROM_BOTTOM;
m_aPresetId = ::rtl::OUString::createFromAscii("ooo-entrance-wipe");
m_aSubType = rtl::OUString::createFromAscii("from-bottom"); // from bottom
break;
case 0x2:
- //eRetval = ::com::sun::star::presentation::AnimationEffect_FADE_FROM_LEFT;
+ //eRetval = ::com::sun::star::presentation::AnimationEffect_FADE_FROM_LEFT;
m_aPresetId = ::rtl::OUString::createFromAscii("ooo-entrance-wipe");
m_aSubType = rtl::OUString::createFromAscii("from-left"); // from left
break;
@@ -416,7 +416,7 @@ void Ppt97Animation::UpdateCacheData() const
}
}
break;
- case 0x0b: //--- fade in ---
+ case 0x0b: //--- fade in ---
{
switch ( m_aAtom.nFlyDirection )
{
@@ -433,7 +433,7 @@ void Ppt97Animation::UpdateCacheData() const
}
}
break;
- case 0x0c: // --- text effects ---
+ case 0x0c: // --- text effects ---
{
switch ( m_aAtom.nFlyDirection )
{
@@ -441,7 +441,7 @@ void Ppt97Animation::UpdateCacheData() const
//eRetval = ::com::sun::star::presentation::AnimationEffect_MOVE_FROM_LEFT;
m_aPresetId = ::rtl::OUString::createFromAscii("ooo-entrance-fly-in");
m_aSubType = rtl::OUString::createFromAscii("from-left");
-
+
break;
case 0x1:
//eRetval = ::com::sun::star::presentation::AnimationEffect_MOVE_FROM_TOP;
@@ -481,7 +481,7 @@ void Ppt97Animation::UpdateCacheData() const
case 0x8: // -- short text effects --
//eRetval = ::com::sun::star::presentation::AnimationEffect_MOVE_SHORT_FROM_LEFT;
m_aPresetId = ::rtl::OUString::createFromAscii("ooo-entrance-peek-in");
- m_aSubType = rtl::OUString::createFromAscii("from-left");
+ m_aSubType = rtl::OUString::createFromAscii("from-left");
break;
case 0x9:
//eRetval = ::com::sun::star::presentation::AnimationEffect_MOVE_SHORT_FROM_BOTTOM;
@@ -597,12 +597,12 @@ void Ppt97Animation::UpdateCacheData() const
}
}
break;
- case 0x0d: // --- open/close ---
+ case 0x0d: // --- open/close ---
{
switch ( m_aAtom.nFlyDirection )
{
case 0x0:
- //eRetval = ::com::sun::star::presentation::AnimationEffect_OPEN_VERTICAL ; // ???
+ //eRetval = ::com::sun::star::presentation::AnimationEffect_OPEN_VERTICAL ; // ???
m_aPresetId = ::rtl::OUString::createFromAscii("ooo-entrance-split");
m_aSubType = rtl::OUString::createFromAscii("horizontal-out"); //horizontal open
break;
@@ -624,7 +624,7 @@ void Ppt97Animation::UpdateCacheData() const
}
}
break;
- case 0x0e: // --- blink ---
+ case 0x0e: // --- blink ---
{
m_aPresetId = ::rtl::OUString::createFromAscii("ooo-entrance-flash-once");
switch ( m_aAtom.nFlyDirection )
@@ -706,7 +706,7 @@ void Ppt97Animation::createAndSetCustomAnimationEffect( SdrObject* pObj )
// some effects need a different duration than that of the mapped preset effect
double fDurationInSeconds = 1.0;//in secunden
if( this->GetSpecialDuration( fDurationInSeconds ) )
- pEffect->setDuration( fDurationInSeconds );
+ pEffect->setDuration( fDurationInSeconds );
// set after effect
if( this->HasAfterEffect() )
@@ -724,11 +724,11 @@ void Ppt97Animation::createAndSetCustomAnimationEffect( SdrObject* pObj )
// text iteration
pEffect->setIterateType( this->GetTextAnimationType() );
-
+
// some effects need a different delay between text iteration than that of the mapped preset effect
double fTextIterationDelay = 1.0;
if( this->GetSpecialTextIterationDelay( fTextIterationDelay ) )
- pEffect->setIterateInterval( fTextIterationDelay );
+ pEffect->setIterateInterval( fTextIterationDelay );
// is the effect started on click or after the last effect (Another possible value is EffectNodeType::WITH_PREVIOUS )
pEffect->setNodeType( this->GetEffectNodeType() );
@@ -755,16 +755,16 @@ void Ppt97Animation::createAndSetCustomAnimationEffect( SdrObject* pObj )
double fDelaySeconds = this->GetDelayTimeInSeconds();
sal_Bool bAnimateAssociatedShape = this->HasAnimateAssociatedShape();//or only text
sal_Bool bTextReverse = this->HasReverseOrder();
-
+
// now create effects for each paragraph
- ::sd::CustomAnimationTextGroupPtr pGroup = pMainSequence->
+ ::sd::CustomAnimationTextGroupPtr pGroup = pMainSequence->
createTextGroup( pEffect, nParagraphLevel, fDelaySeconds, bAnimateAssociatedShape, bTextReverse );
-
+
if( pGroup )
{
const ::sd::EffectSequence& rEffects = pGroup->getEffects();
::sd::EffectSequence::const_iterator aIter = rEffects.begin();
-
+
::sd::CustomAnimationEffectPtr pLastEffect;
sal_Int32 nIndex = 0;
for( ; aIter != rEffects.end(); aIter++ )
diff --git a/sd/source/filter/ppt/ppt97animations.hxx b/sd/source/filter/ppt/ppt97animations.hxx
index b524add6d5fc..09d84ca7f8d4 100644
--- a/sd/source/filter/ppt/ppt97animations.hxx
+++ b/sd/source/filter/ppt/ppt97animations.hxx
@@ -2,7 +2,7 @@
/*************************************************************************
*
* 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
@@ -41,22 +41,22 @@ class Ppt97AnimationInfoAtom
friend class Ppt97Animation;
//-- member
- UINT32 nDimColor;
- UINT32 nFlags; // 0x0004: time instead of click
- UINT32 nSoundRef;
- INT32 nDelayTime; // 1/1000 sec
- UINT16 nOrderID;
- UINT16 nSlideCount;
- UINT8 nBuildType;
- UINT8 nFlyMethod;
- UINT8 nFlyDirection;
- UINT8 nAfterEffect; //nAfterEffect: 0: none; 1: change color; 2: dim on next effect; 3: dim after effect;
- UINT8 nSubEffect;
- UINT8 nOLEVerb;
+ UINT32 nDimColor;
+ UINT32 nFlags; // 0x0004: time instead of click
+ UINT32 nSoundRef;
+ INT32 nDelayTime; // 1/1000 sec
+ UINT16 nOrderID;
+ UINT16 nSlideCount;
+ UINT8 nBuildType;
+ UINT8 nFlyMethod;
+ UINT8 nFlyDirection;
+ UINT8 nAfterEffect; //nAfterEffect: 0: none; 1: change color; 2: dim on next effect; 3: dim after effect;
+ UINT8 nSubEffect;
+ UINT8 nOLEVerb;
// unknown, because whole size needs to be 28
- UINT8 nUnknown1;
- UINT8 nUnknown2;
+ UINT8 nUnknown1;
+ UINT8 nUnknown2;
//-- methods
void ReadStream( SvStream& rIn );
@@ -69,7 +69,7 @@ class Ppt97AnimationInfoAtom
1088 0x00000440 10001000000 stop previous sound and mouseclick
1044 0x00000414 10000010100 play sound automatic
1041 0x00000411 10000010001
- | | | | | |
+ | | | | | |
| | | | | reverse order
| | | | after previous
| | | sound
diff --git a/sd/source/filter/ppt/pptanimations.hxx b/sd/source/filter/ppt/pptanimations.hxx
index ed1d5f091510..df7f107e264f 100644
--- a/sd/source/filter/ppt/pptanimations.hxx
+++ b/sd/source/filter/ppt/pptanimations.hxx
@@ -2,7 +2,7 @@
/*************************************************************************
*
* 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
@@ -40,10 +40,10 @@
class SvStream;
namespace ppt
-{
+{
// old transition types
-#define PPT_TRANSITION_TYPE_NONE 0
+#define PPT_TRANSITION_TYPE_NONE 0
#define PPT_TRANSITION_TYPE_RANDOM 1
#define PPT_TRANSITION_TYPE_BLINDS 2
#define PPT_TRANSITION_TYPE_CHECKER 3
@@ -58,119 +58,119 @@ namespace ppt
#define PPT_TRANSITION_TYPE_SPLIT 13
// effects, new in xp
-#define PPT_TRANSITION_TYPE_DIAMOND 17
-#define PPT_TRANSITION_TYPE_PLUS 18
-#define PPT_TRANSITION_TYPE_WEDGE 19
-#define PPT_TRANSITION_TYPE_PUSH 20
-#define PPT_TRANSITION_TYPE_COMB 21
-#define PPT_TRANSITION_TYPE_NEWSFLASH 22
-#define PPT_TRANSITION_TYPE_SMOOTHFADE 23
-#define PPT_TRANSITION_TYPE_WHEEL 26
-#define PPT_TRANSITION_TYPE_CIRCLE 27
-
-
-
-// atoms
-#define DFF_msofbtAnimEvent 0xf125
-#define DFF_msofbtAnimNode 0xf127
-#define DFF_msofbtAnimTrigger 0xf128
-#define DFF_msofbtAnimValue 0xf129
-#define DFF_msofbtAnimateTarget 0xf12a
-#define DFF_msofbtAnimate 0xf12b
-#define DFF_msofbtAnimateColor 0xf12c
-#define DFF_msofbtAnimateFilter 0xf12d
-#define DFF_msofbtAnimateMotion 0xf12e
-#define DFF_msofbtAnimateRotation 0xf12f
-#define DFF_msofbtAnimateScale 0xf130
-#define DFF_msofbtAnimateSet 0xf131
-#define DFF_msofbtAnimCommand 0xf132
-#define DFF_msofbtAnimateTargetSettings 0xf133
-#define DFF_msofbtAnimateData 0xf134
-#define DFF_msofbtAnimateColorData 0xf135
-#define DFF_msofbtAnimateFilterData 0xf136
-#define DFF_msofbtAnimateMotionData 0xf137
-#define DFF_msofbtAnimateScaleData 0xf139
-#define DFF_msofbtAnimateSetData 0xf13a
-#define DFF_msofbtCommandData 0xf13b
-#define DFF_msofbtAnimateTargetElement 0xf13c
-#define DFF_msofbtAnimPropertySet 0xf13d
-#define DFF_msofbtAnimateAttributeNames 0xf13e
-#define DFF_msofbtAnimKeyPoints 0xf13f
-#define DFF_msofbtAnimIteration 0xf140
-#define DFF_msofbtAnimAction 0xf141 // correct name??
-#define DFF_msofbtAnimAttributeValue 0xf142
-#define DFF_msofbtAnimKeyTime 0xf143
-#define DFF_msofbtAnimGroup 0xf144
-#define DFF_msofbtAnimSubGoup 0xf145
-#define DFF_msofbtAnimateRotationData 0xf138
-#define DFF_msofbtAnimReference 0x2afb
+#define PPT_TRANSITION_TYPE_DIAMOND 17
+#define PPT_TRANSITION_TYPE_PLUS 18
+#define PPT_TRANSITION_TYPE_WEDGE 19
+#define PPT_TRANSITION_TYPE_PUSH 20
+#define PPT_TRANSITION_TYPE_COMB 21
+#define PPT_TRANSITION_TYPE_NEWSFLASH 22
+#define PPT_TRANSITION_TYPE_SMOOTHFADE 23
+#define PPT_TRANSITION_TYPE_WHEEL 26
+#define PPT_TRANSITION_TYPE_CIRCLE 27
+
+
+
+// atoms
+#define DFF_msofbtAnimEvent 0xf125
+#define DFF_msofbtAnimNode 0xf127
+#define DFF_msofbtAnimTrigger 0xf128
+#define DFF_msofbtAnimValue 0xf129
+#define DFF_msofbtAnimateTarget 0xf12a
+#define DFF_msofbtAnimate 0xf12b
+#define DFF_msofbtAnimateColor 0xf12c
+#define DFF_msofbtAnimateFilter 0xf12d
+#define DFF_msofbtAnimateMotion 0xf12e
+#define DFF_msofbtAnimateRotation 0xf12f
+#define DFF_msofbtAnimateScale 0xf130
+#define DFF_msofbtAnimateSet 0xf131
+#define DFF_msofbtAnimCommand 0xf132
+#define DFF_msofbtAnimateTargetSettings 0xf133
+#define DFF_msofbtAnimateData 0xf134
+#define DFF_msofbtAnimateColorData 0xf135
+#define DFF_msofbtAnimateFilterData 0xf136
+#define DFF_msofbtAnimateMotionData 0xf137
+#define DFF_msofbtAnimateScaleData 0xf139
+#define DFF_msofbtAnimateSetData 0xf13a
+#define DFF_msofbtCommandData 0xf13b
+#define DFF_msofbtAnimateTargetElement 0xf13c
+#define DFF_msofbtAnimPropertySet 0xf13d
+#define DFF_msofbtAnimateAttributeNames 0xf13e
+#define DFF_msofbtAnimKeyPoints 0xf13f
+#define DFF_msofbtAnimIteration 0xf140
+#define DFF_msofbtAnimAction 0xf141 // correct name??
+#define DFF_msofbtAnimAttributeValue 0xf142
+#define DFF_msofbtAnimKeyTime 0xf143
+#define DFF_msofbtAnimGroup 0xf144
+#define DFF_msofbtAnimSubGoup 0xf145
+#define DFF_msofbtAnimateRotationData 0xf138
+#define DFF_msofbtAnimReference 0x2afb
// property ids
-#define DFF_ANIM_ID 1
-#define DFF_ANIM_RUNTIMECONTEXT 2
-#define DFF_ANIM_PATH_EDIT_MODE 3
-#define DFF_ANIM_COLORSPACE 4
-#define DFF_ANIM_DIRECTION 5 // TODO: Conflict?
-#define DFF_ANIM_MASTERREL 5 // TODO: Conflict?
-#define DFF_ANIM_OVERRIDE 6
-#define DFF_ANIM_PRESET_ID 9
-#define DFF_ANIM_PRESET_SUB_TYPE 10
-#define DFF_ANIM_PRESET_CLASS 11
-#define DFF_ANIM_AFTEREFFECT 13
-#define DFF_ANIM_ENDAFTERSLIDE 15
-#define DFF_ANIM_TIMEFILTER 16
-#define DFF_ANIM_EVENT_FILTER 17
-#define DFF_ANIM_GROUP_ID 19
-#define DFF_ANIM_NODE_TYPE 20
-#define DFF_ANIM_VOLUME 22
-#define DFF_ANIM_PROPERTY_ID_COUNT DFF_ANIM_VOLUME
+#define DFF_ANIM_ID 1
+#define DFF_ANIM_RUNTIMECONTEXT 2
+#define DFF_ANIM_PATH_EDIT_MODE 3
+#define DFF_ANIM_COLORSPACE 4
+#define DFF_ANIM_DIRECTION 5 // TODO: Conflict?
+#define DFF_ANIM_MASTERREL 5 // TODO: Conflict?
+#define DFF_ANIM_OVERRIDE 6
+#define DFF_ANIM_PRESET_ID 9
+#define DFF_ANIM_PRESET_SUB_TYPE 10
+#define DFF_ANIM_PRESET_CLASS 11
+#define DFF_ANIM_AFTEREFFECT 13
+#define DFF_ANIM_ENDAFTERSLIDE 15
+#define DFF_ANIM_TIMEFILTER 16
+#define DFF_ANIM_EVENT_FILTER 17
+#define DFF_ANIM_GROUP_ID 19
+#define DFF_ANIM_NODE_TYPE 20
+#define DFF_ANIM_VOLUME 22
+#define DFF_ANIM_PROPERTY_ID_COUNT DFF_ANIM_VOLUME
// property types
-#define DFF_ANIM_PROP_TYPE_BYTE 0
-#define DFF_ANIM_PROP_TYPE_INT32 1
-#define DFF_ANIM_PROP_TYPE_FLOAT 2
-#define DFF_ANIM_PROP_TYPE_UNISTRING 3
-
-#define DFF_ANIM_PATH_EDIT_MODE_FIXED 0
-#define DFF_ANIM_PATH_EDIT_MODE_RELATIVE 1
-
-#define DFF_ANIM_PRESS_CLASS_USER_DEFINED 0
-#define DFF_ANIM_PRESS_CLASS_ENTRANCE 1
-#define DFF_ANIM_PRESS_CLASS_EXIT 2
-#define DFF_ANIM_PRESS_CLASS_EMPHASIS 3
-#define DFF_ANIM_PRESS_CLASS_MOTIONPATH 4
-#define DFF_ANIM_PRESS_CLASS_OLE_ACTION 5
-#define DFF_ANIM_PRESS_CLASS_MEDIACALL 6
-
-#define DFF_ANIM_NODE_TYPE_ON_CLICK 1
-#define DFF_ANIM_NODE_TYPE_WITH_PREVIOUS 2
-#define DFF_ANIM_NODE_TYPE_AFTER_PREVIOUS 3
-#define DFF_ANIM_NODE_TYPE_MAIN_SEQUENCE 4
-#define DFF_ANIM_NODE_TYPE_INTERACTIVE_SEQ 5
-#define DFF_ANIM_NODE_TYPE_TIMING_ROOT 9
-
-#define DFF_ANIM_PROPERTY_AFTEREFFECT 20
+#define DFF_ANIM_PROP_TYPE_BYTE 0
+#define DFF_ANIM_PROP_TYPE_INT32 1
+#define DFF_ANIM_PROP_TYPE_FLOAT 2
+#define DFF_ANIM_PROP_TYPE_UNISTRING 3
+
+#define DFF_ANIM_PATH_EDIT_MODE_FIXED 0
+#define DFF_ANIM_PATH_EDIT_MODE_RELATIVE 1
+
+#define DFF_ANIM_PRESS_CLASS_USER_DEFINED 0
+#define DFF_ANIM_PRESS_CLASS_ENTRANCE 1
+#define DFF_ANIM_PRESS_CLASS_EXIT 2
+#define DFF_ANIM_PRESS_CLASS_EMPHASIS 3
+#define DFF_ANIM_PRESS_CLASS_MOTIONPATH 4
+#define DFF_ANIM_PRESS_CLASS_OLE_ACTION 5
+#define DFF_ANIM_PRESS_CLASS_MEDIACALL 6
+
+#define DFF_ANIM_NODE_TYPE_ON_CLICK 1
+#define DFF_ANIM_NODE_TYPE_WITH_PREVIOUS 2
+#define DFF_ANIM_NODE_TYPE_AFTER_PREVIOUS 3
+#define DFF_ANIM_NODE_TYPE_MAIN_SEQUENCE 4
+#define DFF_ANIM_NODE_TYPE_INTERACTIVE_SEQ 5
+#define DFF_ANIM_NODE_TYPE_TIMING_ROOT 9
+
+#define DFF_ANIM_PROPERTY_AFTEREFFECT 20
/* constants for fill entry in AnimationNode */
-const sal_Int32 mso_Anim_GroupType_PAR = 0;
-const sal_Int32 mso_Anim_GroupType_SEQ = 1;
-const sal_Int32 mso_Anim_GroupType_NODE = 3;
-const sal_Int32 mso_Anim_GroupType_MEDIA = 4;
+const sal_Int32 mso_Anim_GroupType_PAR = 0;
+const sal_Int32 mso_Anim_GroupType_SEQ = 1;
+const sal_Int32 mso_Anim_GroupType_NODE = 3;
+const sal_Int32 mso_Anim_GroupType_MEDIA = 4;
/* constants for fill entry in AnimationNode */
-const sal_Int32 mso_Anim_Fill_ALWAYS = 1;
-const sal_Int32 mso_Anim_Fill_WHENOFF = 2;
-const sal_Int32 mso_Anim_Fill_NEVER = 3;
+const sal_Int32 mso_Anim_Fill_ALWAYS = 1;
+const sal_Int32 mso_Anim_Fill_WHENOFF = 2;
+const sal_Int32 mso_Anim_Fill_NEVER = 3;
/* constants for fill entry in AnimationNode */
-const sal_Int32 mso_Anim_Fill_REMOVE = 1;
-const sal_Int32 mso_Anim_Fill_FREEZE = 2;
-const sal_Int32 mso_Anim_Fill_HOLD = 3;
+const sal_Int32 mso_Anim_Fill_REMOVE = 1;
+const sal_Int32 mso_Anim_Fill_FREEZE = 2;
+const sal_Int32 mso_Anim_Fill_HOLD = 3;
/* constants for behaviour entry in PPtAnimationNode */
-const sal_Int32 mso_Anim_Behaviour_FILTER = 24;
+const sal_Int32 mso_Anim_Behaviour_FILTER = 24;
const sal_Int32 mso_Anim_Behaviour_ANIMATION= 25;
typedef ::std::map< sal_Int32, ::com::sun::star::uno::Any > PropertySetMap_t;
@@ -195,7 +195,7 @@ enum MS_AttributeNames
struct ImplAttributeNameConversion
{
- MS_AttributeNames meAttribute;
+ MS_AttributeNames meAttribute;
const char* mpMSName;
const char* mpAPIName;
};
@@ -209,16 +209,16 @@ public:
/** see mso_Anim_Restart_? */
sal_Int32 mnRestart;
-
+
/** see mso_Anim_Fill_? */
sal_Int32 mnFill;
-
+
/** see mso_Anim_Behaviour_? */
sal_Int32 mnNodeType;
/** duration of this group in 1000th seconds */
sal_Int32 mnDuration;
-
+
sal_Int32 mnU1, mnU3, mnU4;
public:
@@ -227,29 +227,29 @@ public:
friend SvStream& operator<<(SvStream& rOut, AnimationNode& rAtom);
};
-static const ImplAttributeNameConversion gImplConversionList[] =
+static const ImplAttributeNameConversion gImplConversionList[] =
{
- { MS_PPT_X, "ppt_x", "X" },
- { MS_PPT_Y, "ppt_y", "Y" },
- { MS_PPT_W, "ppt_w", "Width" },
- { MS_PPT_H, "ppt_h", "Height" },
- { MS_PPT_C, "ppt_c", "DimColor" },
- { MS_R, "r", "Rotate" },
- { MS_XSHEAR, "xshear", "SkewX" },
- { MS_FILLCOLOR, "fillColor", "FillColor" },
- { MS_FILLCOLOR, "fillcolor", "FillColor" },
- { MS_FILLTYPE, "fill.type", "FillStyle" },
- { MS_STROKECOLOR, "stroke.color", "LineColor" },
- { MS_STROKEON, "stroke.on", "LineStyle" },
- { MS_STYLECOLOR, "style.color", "CharColor" },
- { MS_STYLEROTATION, "style.rotation", "Rotate" },
- { MS_FONTWEIGHT, "style.fontWeight", "CharWeight" },
- { MS_STYLEUNDERLINE, "style.textDecorationUnderline","CharUnderline" },
- { MS_STYLEFONTFAMILY, "style.fontFamily", "CharFontName" },
- { MS_STYLEFONTSIZE, "style.fontSize", "CharHeight" },
- { MS_STYLEFONTSTYLE, "style.fontStyle", "CharPosture" },
- { MS_STYLEVISIBILITY, "style.visibility", "Visibility" },
- { MS_STYLEOPACITY, "style.opacity", "Opacity" },
+ { MS_PPT_X, "ppt_x", "X" },
+ { MS_PPT_Y, "ppt_y", "Y" },
+ { MS_PPT_W, "ppt_w", "Width" },
+ { MS_PPT_H, "ppt_h", "Height" },
+ { MS_PPT_C, "ppt_c", "DimColor" },
+ { MS_R, "r", "Rotate" },
+ { MS_XSHEAR, "xshear", "SkewX" },
+ { MS_FILLCOLOR, "fillColor", "FillColor" },
+ { MS_FILLCOLOR, "fillcolor", "FillColor" },
+ { MS_FILLTYPE, "fill.type", "FillStyle" },
+ { MS_STROKECOLOR, "stroke.color", "LineColor" },
+ { MS_STROKEON, "stroke.on", "LineStyle" },
+ { MS_STYLECOLOR, "style.color", "CharColor" },
+ { MS_STYLEROTATION, "style.rotation", "Rotate" },
+ { MS_FONTWEIGHT, "style.fontWeight", "CharWeight" },
+ { MS_STYLEUNDERLINE, "style.textDecorationUnderline","CharUnderline" },
+ { MS_STYLEFONTFAMILY, "style.fontFamily", "CharFontName" },
+ { MS_STYLEFONTSIZE, "style.fontSize", "CharHeight" },
+ { MS_STYLEFONTSTYLE, "style.fontStyle", "CharPosture" },
+ { MS_STYLEVISIBILITY, "style.visibility", "Visibility" },
+ { MS_STYLEOPACITY, "style.opacity", "Opacity" },
{ MS_UNKNOWN, NULL, NULL }
};
@@ -301,7 +301,7 @@ static const transition gTransitions[] =
{ "slide(fromTop)", ::com::sun::star::animations::TransitionType::SLIDEWIPE, ::com::sun::star::animations::TransitionSubType::FROMTOP, sal_True },
{ "slide(fromRight)", ::com::sun::star::animations::TransitionType::SLIDEWIPE, ::com::sun::star::animations::TransitionSubType::FROMRIGHT, sal_True },
{ "slide(fromLeft)", ::com::sun::star::animations::TransitionType::SLIDEWIPE, ::com::sun::star::animations::TransitionSubType::FROMLEFT, sal_True },
-{ "slide(fromBottom)", ::com::sun::star::animations::TransitionType::SLIDEWIPE, ::com::sun::star::animations::TransitionSubType::FROMBOTTOM, sal_True },
+{ "slide(fromBottom)", ::com::sun::star::animations::TransitionType::SLIDEWIPE, ::com::sun::star::animations::TransitionSubType::FROMBOTTOM, sal_True },
{ "dissolve", ::com::sun::star::animations::TransitionType::DISSOLVE, ::com::sun::star::animations::TransitionSubType::DEFAULT, sal_True },
{ "image", ::com::sun::star::animations::TransitionType::DISSOLVE, ::com::sun::star::animations::TransitionSubType::DEFAULT, sal_True }, // TODO
{ NULL, 0, 0, sal_False }
@@ -340,216 +340,216 @@ static const convert_subtype gConvertArray[] =
struct preset_maping
{
- sal_Int32 mnPresetClass;
- sal_Int32 mnPresetId;
- const sal_Char* mpStrPresetId;
+ sal_Int32 mnPresetClass;
+ sal_Int32 mnPresetId;
+ const sal_Char* mpStrPresetId;
};
static const preset_maping gPresetMaping[] =
{
- { ::com::sun::star::presentation::EffectPresetClass::ENTRANCE, 1 ,"ooo-entrance-appear" },
- { ::com::sun::star::presentation::EffectPresetClass::ENTRANCE, 2 ,"ooo-entrance-fly-in" },
- { ::com::sun::star::presentation::EffectPresetClass::ENTRANCE, 3 ,"ooo-entrance-venetian-blinds" },
- { ::com::sun::star::presentation::EffectPresetClass::ENTRANCE, 4 ,"ooo-entrance-box" },
- { ::com::sun::star::presentation::EffectPresetClass::ENTRANCE, 5 ,"ooo-entrance-checkerboard" },
- { ::com::sun::star::presentation::EffectPresetClass::ENTRANCE, 6 ,"ooo-entrance-circle" },
- { ::com::sun::star::presentation::EffectPresetClass::ENTRANCE, 7 ,"ooo-entrance-fly-in-slow" },
- { ::com::sun::star::presentation::EffectPresetClass::ENTRANCE, 8 ,"ooo-entrance-diamond" },
- { ::com::sun::star::presentation::EffectPresetClass::ENTRANCE, 9 ,"ooo-entrance-dissolve-in" },
- { ::com::sun::star::presentation::EffectPresetClass::ENTRANCE, 10 ,"ooo-entrance-fade-in" },
- { ::com::sun::star::presentation::EffectPresetClass::ENTRANCE, 11 ,"ooo-entrance-flash-once" },
- { ::com::sun::star::presentation::EffectPresetClass::ENTRANCE, 12 ,"ooo-entrance-peek-in" },
- { ::com::sun::star::presentation::EffectPresetClass::ENTRANCE, 13 ,"ooo-entrance-plus" },
- { ::com::sun::star::presentation::EffectPresetClass::ENTRANCE, 14 ,"ooo-entrance-random-bars" },
- { ::com::sun::star::presentation::EffectPresetClass::ENTRANCE, 15 ,"ooo-entrance-spiral-in" },
- { ::com::sun::star::presentation::EffectPresetClass::ENTRANCE, 16 ,"ooo-entrance-split" },
- { ::com::sun::star::presentation::EffectPresetClass::ENTRANCE, 17 ,"ooo-entrance-stretchy" },
- { ::com::sun::star::presentation::EffectPresetClass::ENTRANCE, 18 ,"ooo-entrance-diagonal-squares" },
- { ::com::sun::star::presentation::EffectPresetClass::ENTRANCE, 19 ,"ooo-entrance-swivel" },
- { ::com::sun::star::presentation::EffectPresetClass::ENTRANCE, 20 ,"ooo-entrance-wedge" },
- { ::com::sun::star::presentation::EffectPresetClass::ENTRANCE, 21 ,"ooo-entrance-wheel" },
- { ::com::sun::star::presentation::EffectPresetClass::ENTRANCE, 22 ,"ooo-entrance-wipe" },
- { ::com::sun::star::presentation::EffectPresetClass::ENTRANCE, 23 ,"ooo-entrance-zoom" },
- { ::com::sun::star::presentation::EffectPresetClass::ENTRANCE, 24 ,"ooo-entrance-random" },
- { ::com::sun::star::presentation::EffectPresetClass::ENTRANCE, 25 ,"ooo-entrance-boomerang" },
- { ::com::sun::star::presentation::EffectPresetClass::ENTRANCE, 26 ,"ooo-entrance-bounce" },
- { ::com::sun::star::presentation::EffectPresetClass::ENTRANCE, 27 ,"ooo-entrance-colored-lettering" },
- { ::com::sun::star::presentation::EffectPresetClass::ENTRANCE, 28 ,"ooo-entrance-movie-credits" },
- { ::com::sun::star::presentation::EffectPresetClass::ENTRANCE, 29 ,"ooo-entrance-ease-in" },
- { ::com::sun::star::presentation::EffectPresetClass::ENTRANCE, 30 ,"ooo-entrance-float" },
- { ::com::sun::star::presentation::EffectPresetClass::ENTRANCE, 31 ,"ooo-entrance-turn-and-grow" },
- { ::com::sun::star::presentation::EffectPresetClass::ENTRANCE, 34 ,"ooo-entrance-breaks" },
- { ::com::sun::star::presentation::EffectPresetClass::ENTRANCE, 35 ,"ooo-entrance-pinwheel" },
- { ::com::sun::star::presentation::EffectPresetClass::ENTRANCE, 37 ,"ooo-entrance-rise-up" },
- { ::com::sun::star::presentation::EffectPresetClass::ENTRANCE, 38 ,"ooo-entrance-falling-in" },
- { ::com::sun::star::presentation::EffectPresetClass::ENTRANCE, 39 ,"ooo-entrance-thread" },
- { ::com::sun::star::presentation::EffectPresetClass::ENTRANCE, 40 ,"ooo-entrance-unfold" },
- { ::com::sun::star::presentation::EffectPresetClass::ENTRANCE, 41 ,"ooo-entrance-whip" },
- { ::com::sun::star::presentation::EffectPresetClass::ENTRANCE, 42 ,"ooo-entrance-ascend" },
- { ::com::sun::star::presentation::EffectPresetClass::ENTRANCE, 43 ,"ooo-entrance-center-revolve" },
- { ::com::sun::star::presentation::EffectPresetClass::ENTRANCE, 45 ,"ooo-entrance-fade-in-and-swivel" },
- { ::com::sun::star::presentation::EffectPresetClass::ENTRANCE, 47 ,"ooo-entrance-descend" },
- { ::com::sun::star::presentation::EffectPresetClass::ENTRANCE, 48 ,"ooo-entrance-sling" },
- { ::com::sun::star::presentation::EffectPresetClass::ENTRANCE, 49 ,"ooo-entrance-spin-in" },
- { ::com::sun::star::presentation::EffectPresetClass::ENTRANCE, 50 ,"ooo-entrance-compress" },
- { ::com::sun::star::presentation::EffectPresetClass::ENTRANCE, 51 ,"ooo-entrance-magnify" },
- { ::com::sun::star::presentation::EffectPresetClass::ENTRANCE, 52 ,"ooo-entrance-curve-up" },
- { ::com::sun::star::presentation::EffectPresetClass::ENTRANCE, 53 ,"ooo-entrance-fade-in-and-zoom" },
- { ::com::sun::star::presentation::EffectPresetClass::ENTRANCE, 54 ,"ooo-entrance-glide" },
- { ::com::sun::star::presentation::EffectPresetClass::ENTRANCE, 55 ,"ooo-entrance-expand" },
- { ::com::sun::star::presentation::EffectPresetClass::ENTRANCE, 56 ,"ooo-entrance-flip" },
- { ::com::sun::star::presentation::EffectPresetClass::ENTRANCE, 58 ,"ooo-entrance-fold" },
- { ::com::sun::star::presentation::EffectPresetClass::EMPHASIS, 1 ,"ooo-emphasis-fill-color" },
- { ::com::sun::star::presentation::EffectPresetClass::EMPHASIS, 2 ,"ooo-emphasis-font" },
- { ::com::sun::star::presentation::EffectPresetClass::EMPHASIS, 3 ,"ooo-emphasis-font-color" },
- { ::com::sun::star::presentation::EffectPresetClass::EMPHASIS, 4 ,"ooo-emphasis-font-size" },
- { ::com::sun::star::presentation::EffectPresetClass::EMPHASIS, 5 ,"ooo-emphasis-font-style" },
- { ::com::sun::star::presentation::EffectPresetClass::EMPHASIS, 6 ,"ooo-emphasis-grow-and-shrink" },
- { ::com::sun::star::presentation::EffectPresetClass::EMPHASIS, 7 ,"ooo-emphasis-line-color" },
- { ::com::sun::star::presentation::EffectPresetClass::EMPHASIS, 8 ,"ooo-emphasis-spin" },
- { ::com::sun::star::presentation::EffectPresetClass::EMPHASIS, 9 ,"ooo-emphasis-transparency" },
- { ::com::sun::star::presentation::EffectPresetClass::EMPHASIS, 10 ,"ooo-emphasis-bold-flash" },
- { ::com::sun::star::presentation::EffectPresetClass::EMPHASIS, 14 ,"ooo-emphasis-blast" },
- { ::com::sun::star::presentation::EffectPresetClass::EMPHASIS, 15 ,"ooo-emphasis-bold-reveal" },
- { ::com::sun::star::presentation::EffectPresetClass::EMPHASIS, 16 ,"ooo-emphasis-color-over-by-word" },
- { ::com::sun::star::presentation::EffectPresetClass::EMPHASIS, 18 ,"ooo-emphasis-reveal-underline" },
- { ::com::sun::star::presentation::EffectPresetClass::EMPHASIS, 19 ,"ooo-emphasis-color-blend" },
- { ::com::sun::star::presentation::EffectPresetClass::EMPHASIS, 20 ,"ooo-emphasis-color-over-by-letter" },
- { ::com::sun::star::presentation::EffectPresetClass::EMPHASIS, 21 ,"ooo-emphasis-complementary-color" },
- { ::com::sun::star::presentation::EffectPresetClass::EMPHASIS, 22 ,"ooo-emphasis-complementary-color-2" },
- { ::com::sun::star::presentation::EffectPresetClass::EMPHASIS, 23 ,"ooo-emphasis-contrasting-color" },
- { ::com::sun::star::presentation::EffectPresetClass::EMPHASIS, 24 ,"ooo-emphasis-darken" },
- { ::com::sun::star::presentation::EffectPresetClass::EMPHASIS, 25 ,"ooo-emphasis-desaturate" },
- { ::com::sun::star::presentation::EffectPresetClass::EMPHASIS, 26 ,"ooo-emphasis-flash-bulb" },
- { ::com::sun::star::presentation::EffectPresetClass::EMPHASIS, 27 ,"ooo-emphasis-flicker" },
- { ::com::sun::star::presentation::EffectPresetClass::EMPHASIS, 28 ,"ooo-emphasis-grow-with-color" },
- { ::com::sun::star::presentation::EffectPresetClass::EMPHASIS, 30 ,"ooo-emphasis-lighten" },
- { ::com::sun::star::presentation::EffectPresetClass::EMPHASIS, 31 ,"ooo-emphasis-style-emphasis" },
- { ::com::sun::star::presentation::EffectPresetClass::EMPHASIS, 32 ,"ooo-emphasis-teeter" },
- { ::com::sun::star::presentation::EffectPresetClass::EMPHASIS, 33 ,"ooo-emphasis-vertical-highlight" },
- { ::com::sun::star::presentation::EffectPresetClass::EMPHASIS, 34 ,"ooo-emphasis-wave" },
- { ::com::sun::star::presentation::EffectPresetClass::EMPHASIS, 35 ,"ooo-emphasis-blink" },
- { ::com::sun::star::presentation::EffectPresetClass::EMPHASIS, 36 ,"ooo-emphasis-shimmer" },
- { ::com::sun::star::presentation::EffectPresetClass::EXIT, 1 ,"ooo-exit-disappear" },
- { ::com::sun::star::presentation::EffectPresetClass::EXIT, 2 ,"ooo-exit-fly-out" },
- { ::com::sun::star::presentation::EffectPresetClass::EXIT, 3 ,"ooo-exit-venetian-blinds" },
- { ::com::sun::star::presentation::EffectPresetClass::EXIT, 4 ,"ooo-exit-box" },
- { ::com::sun::star::presentation::EffectPresetClass::EXIT, 5 ,"ooo-exit-checkerboard" },
- { ::com::sun::star::presentation::EffectPresetClass::EXIT, 6 ,"ooo-exit-circle" },
- { ::com::sun::star::presentation::EffectPresetClass::EXIT, 7 ,"ooo-exit-crawl-out" },
- { ::com::sun::star::presentation::EffectPresetClass::EXIT, 8 ,"ooo-exit-diamond" },
- { ::com::sun::star::presentation::EffectPresetClass::EXIT, 9 ,"ooo-exit-dissolve" },
- { ::com::sun::star::presentation::EffectPresetClass::EXIT, 10 ,"ooo-exit-fade-out" },
- { ::com::sun::star::presentation::EffectPresetClass::EXIT, 11 ,"ooo-exit-flash-once" },
- { ::com::sun::star::presentation::EffectPresetClass::EXIT, 12 ,"ooo-exit-peek-out" },
- { ::com::sun::star::presentation::EffectPresetClass::EXIT, 13 ,"ooo-exit-plus" },
- { ::com::sun::star::presentation::EffectPresetClass::EXIT, 14 ,"ooo-exit-random-bars" },
- { ::com::sun::star::presentation::EffectPresetClass::EXIT, 15 ,"ooo-exit-spiral-out" },
- { ::com::sun::star::presentation::EffectPresetClass::EXIT, 16 ,"ooo-exit-split" },
- { ::com::sun::star::presentation::EffectPresetClass::EXIT, 17 ,"ooo-exit-collapse" },
- { ::com::sun::star::presentation::EffectPresetClass::EXIT, 18 ,"ooo-exit-diagonal-squares" },
- { ::com::sun::star::presentation::EffectPresetClass::EXIT, 19 ,"ooo-exit-swivel" },
- { ::com::sun::star::presentation::EffectPresetClass::EXIT, 20 ,"ooo-exit-wedge" },
- { ::com::sun::star::presentation::EffectPresetClass::EXIT, 21 ,"ooo-exit-wheel" },
- { ::com::sun::star::presentation::EffectPresetClass::EXIT, 22 ,"ooo-exit-wipe" },
- { ::com::sun::star::presentation::EffectPresetClass::EXIT, 23 ,"ooo-exit-zoom" },
- { ::com::sun::star::presentation::EffectPresetClass::EXIT, 24 ,"ooo-exit-random" },
- { ::com::sun::star::presentation::EffectPresetClass::EXIT, 25 ,"ooo-exit-boomerang" },
- { ::com::sun::star::presentation::EffectPresetClass::EXIT, 26 ,"ooo-exit-bounce" },
- { ::com::sun::star::presentation::EffectPresetClass::EXIT, 27 ,"ooo-exit-colored-lettering" },
- { ::com::sun::star::presentation::EffectPresetClass::EXIT, 28 ,"ooo-exit-movie-credits" },
- { ::com::sun::star::presentation::EffectPresetClass::EXIT, 29 ,"ooo-exit-ease-out" },
- { ::com::sun::star::presentation::EffectPresetClass::EXIT, 30 ,"ooo-exit-float" },
- { ::com::sun::star::presentation::EffectPresetClass::EXIT, 31 ,"ooo-exit-turn-and-grow" },
- { ::com::sun::star::presentation::EffectPresetClass::EXIT, 34 ,"ooo-exit-breaks" },
- { ::com::sun::star::presentation::EffectPresetClass::EXIT, 35 ,"ooo-exit-pinwheel" },
- { ::com::sun::star::presentation::EffectPresetClass::EXIT, 37 ,"ooo-exit-sink-down" },
- { ::com::sun::star::presentation::EffectPresetClass::EXIT, 38 ,"ooo-exit-swish" },
- { ::com::sun::star::presentation::EffectPresetClass::EXIT, 39 ,"ooo-exit-thread" },
- { ::com::sun::star::presentation::EffectPresetClass::EXIT, 40 ,"ooo-exit-unfold" },
- { ::com::sun::star::presentation::EffectPresetClass::EXIT, 41 ,"ooo-exit-whip" },
- { ::com::sun::star::presentation::EffectPresetClass::EXIT, 42 ,"ooo-exit-descend" },
- { ::com::sun::star::presentation::EffectPresetClass::EXIT, 43 ,"ooo-exit-center-revolve" },
- { ::com::sun::star::presentation::EffectPresetClass::EXIT, 45 ,"ooo-exit-fade-out-and-swivel" },
- { ::com::sun::star::presentation::EffectPresetClass::EXIT, 47 ,"ooo-exit-ascend" },
- { ::com::sun::star::presentation::EffectPresetClass::EXIT, 48 ,"ooo-exit-sling" },
- { ::com::sun::star::presentation::EffectPresetClass::EXIT, 53 ,"ooo-exit-fade-out-and-zoom" },
- { ::com::sun::star::presentation::EffectPresetClass::EXIT, 55 ,"ooo-exit-contract" },
- { ::com::sun::star::presentation::EffectPresetClass::EXIT, 49 ,"ooo-exit-spin-out" },
- { ::com::sun::star::presentation::EffectPresetClass::EXIT, 50 ,"ooo-exit-stretchy" },
- { ::com::sun::star::presentation::EffectPresetClass::EXIT, 51 ,"ooo-exit-magnify" },
- { ::com::sun::star::presentation::EffectPresetClass::EXIT, 52 ,"ooo-exit-curve-down" },
- { ::com::sun::star::presentation::EffectPresetClass::EXIT, 54 ,"ooo-exit-glide" },
- { ::com::sun::star::presentation::EffectPresetClass::EXIT, 56 ,"ooo-exit-flip" },
- { ::com::sun::star::presentation::EffectPresetClass::EXIT, 58 ,"ooo-exit-fold" },
-
-
-
-
- { ::com::sun::star::presentation::EffectPresetClass::MOTIONPATH, 16 ,"ooo-motionpath-4-point-star" },
- { ::com::sun::star::presentation::EffectPresetClass::MOTIONPATH, 5 ,"ooo-motionpath-5-point-star" },
- { ::com::sun::star::presentation::EffectPresetClass::MOTIONPATH, 11 ,"ooo-motionpath-6-point-star" },
- { ::com::sun::star::presentation::EffectPresetClass::MOTIONPATH, 17 ,"ooo-motionpath-8-point-star" },
- { ::com::sun::star::presentation::EffectPresetClass::MOTIONPATH, 1 ,"ooo-motionpath-circle" },
- { ::com::sun::star::presentation::EffectPresetClass::MOTIONPATH, 6 ,"ooo-motionpath-crescent-moon" },
- { ::com::sun::star::presentation::EffectPresetClass::MOTIONPATH, 3 ,"ooo-motionpath-diamond" },
- { ::com::sun::star::presentation::EffectPresetClass::MOTIONPATH, 13 ,"ooo-motionpath-equal-triangle" },
- { ::com::sun::star::presentation::EffectPresetClass::MOTIONPATH, 12 ,"ooo-motionpath-oval" },
- { ::com::sun::star::presentation::EffectPresetClass::MOTIONPATH, 9 ,"ooo-motionpath-heart" },
- { ::com::sun::star::presentation::EffectPresetClass::MOTIONPATH, 4 ,"ooo-motionpath-hexagon" },
- { ::com::sun::star::presentation::EffectPresetClass::MOTIONPATH, 10 ,"ooo-motionpath-octagon" },
- { ::com::sun::star::presentation::EffectPresetClass::MOTIONPATH, 14 ,"ooo-motionpath-parallelogram" },
- { ::com::sun::star::presentation::EffectPresetClass::MOTIONPATH, 15 ,"ooo-motionpath-pentagon" },
- { ::com::sun::star::presentation::EffectPresetClass::MOTIONPATH, 2 ,"ooo-motionpath-right-triangle" },
- { ::com::sun::star::presentation::EffectPresetClass::MOTIONPATH, 7 ,"ooo-motionpath-square" },
- { ::com::sun::star::presentation::EffectPresetClass::MOTIONPATH, 18 ,"ooo-motionpath-teardrop" },
- { ::com::sun::star::presentation::EffectPresetClass::MOTIONPATH, 8 ,"ooo-motionpath-trapezoid" },
- { ::com::sun::star::presentation::EffectPresetClass::MOTIONPATH, 37 ,"ooo-motionpath-arc-down" },
- { ::com::sun::star::presentation::EffectPresetClass::MOTIONPATH, 51 ,"ooo-motionpath-arc-left" },
- { ::com::sun::star::presentation::EffectPresetClass::MOTIONPATH, 58 ,"ooo-motionpath-arc-right" },
- { ::com::sun::star::presentation::EffectPresetClass::MOTIONPATH, 44 ,"ooo-motionpath-arc-up" },
- { ::com::sun::star::presentation::EffectPresetClass::MOTIONPATH, 41 ,"ooo-motionpath-bounce-left" },
- { ::com::sun::star::presentation::EffectPresetClass::MOTIONPATH, 54 ,"ooo-motionpath-bounce-right" },
- { ::com::sun::star::presentation::EffectPresetClass::MOTIONPATH, 48 ,"ooo-motionpath-curvy-left" },
- { ::com::sun::star::presentation::EffectPresetClass::MOTIONPATH, 61 ,"ooo-motionpath-curvy-right" },
- { ::com::sun::star::presentation::EffectPresetClass::MOTIONPATH, 60 ,"ooo-motionpath-decaying-wave" },
- { ::com::sun::star::presentation::EffectPresetClass::MOTIONPATH, 49 ,"ooo-motionpath-diagonal-down-right" },
- { ::com::sun::star::presentation::EffectPresetClass::MOTIONPATH, 56 ,"ooo-motionpath-diagonal-up-right" },
- { ::com::sun::star::presentation::EffectPresetClass::MOTIONPATH, 42 ,"ooo-motionpath-down" },
- { ::com::sun::star::presentation::EffectPresetClass::MOTIONPATH, 52 ,"ooo-motionpath-funnel" },
- { ::com::sun::star::presentation::EffectPresetClass::MOTIONPATH, 53 ,"ooo-motionpath-spring" },
- { ::com::sun::star::presentation::EffectPresetClass::MOTIONPATH, 62 ,"ooo-motionpath-stairs-down" },
- { ::com::sun::star::presentation::EffectPresetClass::MOTIONPATH, 50 ,"ooo-motionpath-turn-down" },
- { ::com::sun::star::presentation::EffectPresetClass::MOTIONPATH, 36 ,"ooo-motionpath-turn-down-right" },
- { ::com::sun::star::presentation::EffectPresetClass::MOTIONPATH, 43 ,"ooo-motionpath-turn-up" },
- { ::com::sun::star::presentation::EffectPresetClass::MOTIONPATH, 57 ,"ooo-motionpath-turn-up-right" },
- { ::com::sun::star::presentation::EffectPresetClass::MOTIONPATH, 64 ,"ooo-motionpath-up" },
- { ::com::sun::star::presentation::EffectPresetClass::MOTIONPATH, 47 ,"ooo-motionpath-wave" },
- { ::com::sun::star::presentation::EffectPresetClass::MOTIONPATH, 38 ,"ooo-motionpath-zigzag" },
- { ::com::sun::star::presentation::EffectPresetClass::MOTIONPATH, 31 ,"ooo-motionpath-bean" },
- { ::com::sun::star::presentation::EffectPresetClass::MOTIONPATH, 25 ,"ooo-motionpath-buzz-saw" },
- { ::com::sun::star::presentation::EffectPresetClass::MOTIONPATH, 20 ,"ooo-motionpath-curved-square" },
- { ::com::sun::star::presentation::EffectPresetClass::MOTIONPATH, 21 ,"ooo-motionpath-curved-x" },
- { ::com::sun::star::presentation::EffectPresetClass::MOTIONPATH, 23 ,"ooo-motionpath-curvy-star" },
- { ::com::sun::star::presentation::EffectPresetClass::MOTIONPATH, 28 ,"ooo-motionpath-figure-8-four" },
- { ::com::sun::star::presentation::EffectPresetClass::MOTIONPATH, 26 ,"ooo-motionpath-horizontal-figure-8" },
- { ::com::sun::star::presentation::EffectPresetClass::MOTIONPATH, 34 ,"ooo-motionpath-inverted-square" },
- { ::com::sun::star::presentation::EffectPresetClass::MOTIONPATH, 33 ,"ooo-motionpath-inverted-triangle" },
- { ::com::sun::star::presentation::EffectPresetClass::MOTIONPATH, 24 ,"ooo-motionpath-loop-de-loop" },
- { ::com::sun::star::presentation::EffectPresetClass::MOTIONPATH, 29 ,"ooo-motionpath-neutron" },
- { ::com::sun::star::presentation::EffectPresetClass::MOTIONPATH, 27 ,"ooo-motionpath-peanut" },
- { ::com::sun::star::presentation::EffectPresetClass::MOTIONPATH, 32 ,"ooo-motionpath-clover" },
- { ::com::sun::star::presentation::EffectPresetClass::MOTIONPATH, 19 ,"ooo-motionpath-pointy-star" },
- { ::com::sun::star::presentation::EffectPresetClass::MOTIONPATH, 30 ,"ooo-motionpath-swoosh" },
- { ::com::sun::star::presentation::EffectPresetClass::MOTIONPATH, 22 ,"ooo-motionpath-vertical-figure-8" },
- { ::com::sun::star::presentation::EffectPresetClass::MOTIONPATH, 35 ,"ooo-motionpath-left" },
- { ::com::sun::star::presentation::EffectPresetClass::MOTIONPATH, 63 ,"ooo-motionpath-right" },
- { ::com::sun::star::presentation::EffectPresetClass::MOTIONPATH, 55 ,"ooo-motionpath-spiral-left" },
- { ::com::sun::star::presentation::EffectPresetClass::MOTIONPATH, 46 ,"ooo-motionpath-spiral-right" },
- { ::com::sun::star::presentation::EffectPresetClass::MOTIONPATH, 40 ,"ooo-motionpath-sine-wave" },
- { ::com::sun::star::presentation::EffectPresetClass::MOTIONPATH, 59 ,"ooo-motionpath-s-curve-1" },
- { ::com::sun::star::presentation::EffectPresetClass::MOTIONPATH, 39 ,"ooo-motionpath-s-curve-2" },
- { ::com::sun::star::presentation::EffectPresetClass::MOTIONPATH, 45 ,"ooo-motionpath-heartbeat" },
+ { ::com::sun::star::presentation::EffectPresetClass::ENTRANCE, 1 ,"ooo-entrance-appear" },
+ { ::com::sun::star::presentation::EffectPresetClass::ENTRANCE, 2 ,"ooo-entrance-fly-in" },
+ { ::com::sun::star::presentation::EffectPresetClass::ENTRANCE, 3 ,"ooo-entrance-venetian-blinds" },
+ { ::com::sun::star::presentation::EffectPresetClass::ENTRANCE, 4 ,"ooo-entrance-box" },
+ { ::com::sun::star::presentation::EffectPresetClass::ENTRANCE, 5 ,"ooo-entrance-checkerboard" },
+ { ::com::sun::star::presentation::EffectPresetClass::ENTRANCE, 6 ,"ooo-entrance-circle" },
+ { ::com::sun::star::presentation::EffectPresetClass::ENTRANCE, 7 ,"ooo-entrance-fly-in-slow" },
+ { ::com::sun::star::presentation::EffectPresetClass::ENTRANCE, 8 ,"ooo-entrance-diamond" },
+ { ::com::sun::star::presentation::EffectPresetClass::ENTRANCE, 9 ,"ooo-entrance-dissolve-in" },
+ { ::com::sun::star::presentation::EffectPresetClass::ENTRANCE, 10 ,"ooo-entrance-fade-in" },
+ { ::com::sun::star::presentation::EffectPresetClass::ENTRANCE, 11 ,"ooo-entrance-flash-once" },
+ { ::com::sun::star::presentation::EffectPresetClass::ENTRANCE, 12 ,"ooo-entrance-peek-in" },
+ { ::com::sun::star::presentation::EffectPresetClass::ENTRANCE, 13 ,"ooo-entrance-plus" },
+ { ::com::sun::star::presentation::EffectPresetClass::ENTRANCE, 14 ,"ooo-entrance-random-bars" },
+ { ::com::sun::star::presentation::EffectPresetClass::ENTRANCE, 15 ,"ooo-entrance-spiral-in" },
+ { ::com::sun::star::presentation::EffectPresetClass::ENTRANCE, 16 ,"ooo-entrance-split" },
+ { ::com::sun::star::presentation::EffectPresetClass::ENTRANCE, 17 ,"ooo-entrance-stretchy" },
+ { ::com::sun::star::presentation::EffectPresetClass::ENTRANCE, 18 ,"ooo-entrance-diagonal-squares" },
+ { ::com::sun::star::presentation::EffectPresetClass::ENTRANCE, 19 ,"ooo-entrance-swivel" },
+ { ::com::sun::star::presentation::EffectPresetClass::ENTRANCE, 20 ,"ooo-entrance-wedge" },
+ { ::com::sun::star::presentation::EffectPresetClass::ENTRANCE, 21 ,"ooo-entrance-wheel" },
+ { ::com::sun::star::presentation::EffectPresetClass::ENTRANCE, 22 ,"ooo-entrance-wipe" },
+ { ::com::sun::star::presentation::EffectPresetClass::ENTRANCE, 23 ,"ooo-entrance-zoom" },
+ { ::com::sun::star::presentation::EffectPresetClass::ENTRANCE, 24 ,"ooo-entrance-random" },
+ { ::com::sun::star::presentation::EffectPresetClass::ENTRANCE, 25 ,"ooo-entrance-boomerang" },
+ { ::com::sun::star::presentation::EffectPresetClass::ENTRANCE, 26 ,"ooo-entrance-bounce" },
+ { ::com::sun::star::presentation::EffectPresetClass::ENTRANCE, 27 ,"ooo-entrance-colored-lettering" },
+ { ::com::sun::star::presentation::EffectPresetClass::ENTRANCE, 28 ,"ooo-entrance-movie-credits" },
+ { ::com::sun::star::presentation::EffectPresetClass::ENTRANCE, 29 ,"ooo-entrance-ease-in" },
+ { ::com::sun::star::presentation::EffectPresetClass::ENTRANCE, 30 ,"ooo-entrance-float" },
+ { ::com::sun::star::presentation::EffectPresetClass::ENTRANCE, 31 ,"ooo-entrance-turn-and-grow" },
+ { ::com::sun::star::presentation::EffectPresetClass::ENTRANCE, 34 ,"ooo-entrance-breaks" },
+ { ::com::sun::star::presentation::EffectPresetClass::ENTRANCE, 35 ,"ooo-entrance-pinwheel" },
+ { ::com::sun::star::presentation::EffectPresetClass::ENTRANCE, 37 ,"ooo-entrance-rise-up" },
+ { ::com::sun::star::presentation::EffectPresetClass::ENTRANCE, 38 ,"ooo-entrance-falling-in" },
+ { ::com::sun::star::presentation::EffectPresetClass::ENTRANCE, 39 ,"ooo-entrance-thread" },
+ { ::com::sun::star::presentation::EffectPresetClass::ENTRANCE, 40 ,"ooo-entrance-unfold" },
+ { ::com::sun::star::presentation::EffectPresetClass::ENTRANCE, 41 ,"ooo-entrance-whip" },
+ { ::com::sun::star::presentation::EffectPresetClass::ENTRANCE, 42 ,"ooo-entrance-ascend" },
+ { ::com::sun::star::presentation::EffectPresetClass::ENTRANCE, 43 ,"ooo-entrance-center-revolve" },
+ { ::com::sun::star::presentation::EffectPresetClass::ENTRANCE, 45 ,"ooo-entrance-fade-in-and-swivel" },
+ { ::com::sun::star::presentation::EffectPresetClass::ENTRANCE, 47 ,"ooo-entrance-descend" },
+ { ::com::sun::star::presentation::EffectPresetClass::ENTRANCE, 48 ,"ooo-entrance-sling" },
+ { ::com::sun::star::presentation::EffectPresetClass::ENTRANCE, 49 ,"ooo-entrance-spin-in" },
+ { ::com::sun::star::presentation::EffectPresetClass::ENTRANCE, 50 ,"ooo-entrance-compress" },
+ { ::com::sun::star::presentation::EffectPresetClass::ENTRANCE, 51 ,"ooo-entrance-magnify" },
+ { ::com::sun::star::presentation::EffectPresetClass::ENTRANCE, 52 ,"ooo-entrance-curve-up" },
+ { ::com::sun::star::presentation::EffectPresetClass::ENTRANCE, 53 ,"ooo-entrance-fade-in-and-zoom" },
+ { ::com::sun::star::presentation::EffectPresetClass::ENTRANCE, 54 ,"ooo-entrance-glide" },
+ { ::com::sun::star::presentation::EffectPresetClass::ENTRANCE, 55 ,"ooo-entrance-expand" },
+ { ::com::sun::star::presentation::EffectPresetClass::ENTRANCE, 56 ,"ooo-entrance-flip" },
+ { ::com::sun::star::presentation::EffectPresetClass::ENTRANCE, 58 ,"ooo-entrance-fold" },
+ { ::com::sun::star::presentation::EffectPresetClass::EMPHASIS, 1 ,"ooo-emphasis-fill-color" },
+ { ::com::sun::star::presentation::EffectPresetClass::EMPHASIS, 2 ,"ooo-emphasis-font" },
+ { ::com::sun::star::presentation::EffectPresetClass::EMPHASIS, 3 ,"ooo-emphasis-font-color" },
+ { ::com::sun::star::presentation::EffectPresetClass::EMPHASIS, 4 ,"ooo-emphasis-font-size" },
+ { ::com::sun::star::presentation::EffectPresetClass::EMPHASIS, 5 ,"ooo-emphasis-font-style" },
+ { ::com::sun::star::presentation::EffectPresetClass::EMPHASIS, 6 ,"ooo-emphasis-grow-and-shrink" },
+ { ::com::sun::star::presentation::EffectPresetClass::EMPHASIS, 7 ,"ooo-emphasis-line-color" },
+ { ::com::sun::star::presentation::EffectPresetClass::EMPHASIS, 8 ,"ooo-emphasis-spin" },
+ { ::com::sun::star::presentation::EffectPresetClass::EMPHASIS, 9 ,"ooo-emphasis-transparency" },
+ { ::com::sun::star::presentation::EffectPresetClass::EMPHASIS, 10 ,"ooo-emphasis-bold-flash" },
+ { ::com::sun::star::presentation::EffectPresetClass::EMPHASIS, 14 ,"ooo-emphasis-blast" },
+ { ::com::sun::star::presentation::EffectPresetClass::EMPHASIS, 15 ,"ooo-emphasis-bold-reveal" },
+ { ::com::sun::star::presentation::EffectPresetClass::EMPHASIS, 16 ,"ooo-emphasis-color-over-by-word" },
+ { ::com::sun::star::presentation::EffectPresetClass::EMPHASIS, 18 ,"ooo-emphasis-reveal-underline" },
+ { ::com::sun::star::presentation::EffectPresetClass::EMPHASIS, 19 ,"ooo-emphasis-color-blend" },
+ { ::com::sun::star::presentation::EffectPresetClass::EMPHASIS, 20 ,"ooo-emphasis-color-over-by-letter" },
+ { ::com::sun::star::presentation::EffectPresetClass::EMPHASIS, 21 ,"ooo-emphasis-complementary-color" },
+ { ::com::sun::star::presentation::EffectPresetClass::EMPHASIS, 22 ,"ooo-emphasis-complementary-color-2" },
+ { ::com::sun::star::presentation::EffectPresetClass::EMPHASIS, 23 ,"ooo-emphasis-contrasting-color" },
+ { ::com::sun::star::presentation::EffectPresetClass::EMPHASIS, 24 ,"ooo-emphasis-darken" },
+ { ::com::sun::star::presentation::EffectPresetClass::EMPHASIS, 25 ,"ooo-emphasis-desaturate" },
+ { ::com::sun::star::presentation::EffectPresetClass::EMPHASIS, 26 ,"ooo-emphasis-flash-bulb" },
+ { ::com::sun::star::presentation::EffectPresetClass::EMPHASIS, 27 ,"ooo-emphasis-flicker" },
+ { ::com::sun::star::presentation::EffectPresetClass::EMPHASIS, 28 ,"ooo-emphasis-grow-with-color" },
+ { ::com::sun::star::presentation::EffectPresetClass::EMPHASIS, 30 ,"ooo-emphasis-lighten" },
+ { ::com::sun::star::presentation::EffectPresetClass::EMPHASIS, 31 ,"ooo-emphasis-style-emphasis" },
+ { ::com::sun::star::presentation::EffectPresetClass::EMPHASIS, 32 ,"ooo-emphasis-teeter" },
+ { ::com::sun::star::presentation::EffectPresetClass::EMPHASIS, 33 ,"ooo-emphasis-vertical-highlight" },
+ { ::com::sun::star::presentation::EffectPresetClass::EMPHASIS, 34 ,"ooo-emphasis-wave" },
+ { ::com::sun::star::presentation::EffectPresetClass::EMPHASIS, 35 ,"ooo-emphasis-blink" },
+ { ::com::sun::star::presentation::EffectPresetClass::EMPHASIS, 36 ,"ooo-emphasis-shimmer" },
+ { ::com::sun::star::presentation::EffectPresetClass::EXIT, 1 ,"ooo-exit-disappear" },
+ { ::com::sun::star::presentation::EffectPresetClass::EXIT, 2 ,"ooo-exit-fly-out" },
+ { ::com::sun::star::presentation::EffectPresetClass::EXIT, 3 ,"ooo-exit-venetian-blinds" },
+ { ::com::sun::star::presentation::EffectPresetClass::EXIT, 4 ,"ooo-exit-box" },
+ { ::com::sun::star::presentation::EffectPresetClass::EXIT, 5 ,"ooo-exit-checkerboard" },
+ { ::com::sun::star::presentation::EffectPresetClass::EXIT, 6 ,"ooo-exit-circle" },
+ { ::com::sun::star::presentation::EffectPresetClass::EXIT, 7 ,"ooo-exit-crawl-out" },
+ { ::com::sun::star::presentation::EffectPresetClass::EXIT, 8 ,"ooo-exit-diamond" },
+ { ::com::sun::star::presentation::EffectPresetClass::EXIT, 9 ,"ooo-exit-dissolve" },
+ { ::com::sun::star::presentation::EffectPresetClass::EXIT, 10 ,"ooo-exit-fade-out" },
+ { ::com::sun::star::presentation::EffectPresetClass::EXIT, 11 ,"ooo-exit-flash-once" },
+ { ::com::sun::star::presentation::EffectPresetClass::EXIT, 12 ,"ooo-exit-peek-out" },
+ { ::com::sun::star::presentation::EffectPresetClass::EXIT, 13 ,"ooo-exit-plus" },
+ { ::com::sun::star::presentation::EffectPresetClass::EXIT, 14 ,"ooo-exit-random-bars" },
+ { ::com::sun::star::presentation::EffectPresetClass::EXIT, 15 ,"ooo-exit-spiral-out" },
+ { ::com::sun::star::presentation::EffectPresetClass::EXIT, 16 ,"ooo-exit-split" },
+ { ::com::sun::star::presentation::EffectPresetClass::EXIT, 17 ,"ooo-exit-collapse" },
+ { ::com::sun::star::presentation::EffectPresetClass::EXIT, 18 ,"ooo-exit-diagonal-squares" },
+ { ::com::sun::star::presentation::EffectPresetClass::EXIT, 19 ,"ooo-exit-swivel" },
+ { ::com::sun::star::presentation::EffectPresetClass::EXIT, 20 ,"ooo-exit-wedge" },
+ { ::com::sun::star::presentation::EffectPresetClass::EXIT, 21 ,"ooo-exit-wheel" },
+ { ::com::sun::star::presentation::EffectPresetClass::EXIT, 22 ,"ooo-exit-wipe" },
+ { ::com::sun::star::presentation::EffectPresetClass::EXIT, 23 ,"ooo-exit-zoom" },
+ { ::com::sun::star::presentation::EffectPresetClass::EXIT, 24 ,"ooo-exit-random" },
+ { ::com::sun::star::presentation::EffectPresetClass::EXIT, 25 ,"ooo-exit-boomerang" },
+ { ::com::sun::star::presentation::EffectPresetClass::EXIT, 26 ,"ooo-exit-bounce" },
+ { ::com::sun::star::presentation::EffectPresetClass::EXIT, 27 ,"ooo-exit-colored-lettering" },
+ { ::com::sun::star::presentation::EffectPresetClass::EXIT, 28 ,"ooo-exit-movie-credits" },
+ { ::com::sun::star::presentation::EffectPresetClass::EXIT, 29 ,"ooo-exit-ease-out" },
+ { ::com::sun::star::presentation::EffectPresetClass::EXIT, 30 ,"ooo-exit-float" },
+ { ::com::sun::star::presentation::EffectPresetClass::EXIT, 31 ,"ooo-exit-turn-and-grow" },
+ { ::com::sun::star::presentation::EffectPresetClass::EXIT, 34 ,"ooo-exit-breaks" },
+ { ::com::sun::star::presentation::EffectPresetClass::EXIT, 35 ,"ooo-exit-pinwheel" },
+ { ::com::sun::star::presentation::EffectPresetClass::EXIT, 37 ,"ooo-exit-sink-down" },
+ { ::com::sun::star::presentation::EffectPresetClass::EXIT, 38 ,"ooo-exit-swish" },
+ { ::com::sun::star::presentation::EffectPresetClass::EXIT, 39 ,"ooo-exit-thread" },
+ { ::com::sun::star::presentation::EffectPresetClass::EXIT, 40 ,"ooo-exit-unfold" },
+ { ::com::sun::star::presentation::EffectPresetClass::EXIT, 41 ,"ooo-exit-whip" },
+ { ::com::sun::star::presentation::EffectPresetClass::EXIT, 42 ,"ooo-exit-descend" },
+ { ::com::sun::star::presentation::EffectPresetClass::EXIT, 43 ,"ooo-exit-center-revolve" },
+ { ::com::sun::star::presentation::EffectPresetClass::EXIT, 45 ,"ooo-exit-fade-out-and-swivel" },
+ { ::com::sun::star::presentation::EffectPresetClass::EXIT, 47 ,"ooo-exit-ascend" },
+ { ::com::sun::star::presentation::EffectPresetClass::EXIT, 48 ,"ooo-exit-sling" },
+ { ::com::sun::star::presentation::EffectPresetClass::EXIT, 53 ,"ooo-exit-fade-out-and-zoom" },
+ { ::com::sun::star::presentation::EffectPresetClass::EXIT, 55 ,"ooo-exit-contract" },
+ { ::com::sun::star::presentation::EffectPresetClass::EXIT, 49 ,"ooo-exit-spin-out" },
+ { ::com::sun::star::presentation::EffectPresetClass::EXIT, 50 ,"ooo-exit-stretchy" },
+ { ::com::sun::star::presentation::EffectPresetClass::EXIT, 51 ,"ooo-exit-magnify" },
+ { ::com::sun::star::presentation::EffectPresetClass::EXIT, 52 ,"ooo-exit-curve-down" },
+ { ::com::sun::star::presentation::EffectPresetClass::EXIT, 54 ,"ooo-exit-glide" },
+ { ::com::sun::star::presentation::EffectPresetClass::EXIT, 56 ,"ooo-exit-flip" },
+ { ::com::sun::star::presentation::EffectPresetClass::EXIT, 58 ,"ooo-exit-fold" },
+
+
+
+
+ { ::com::sun::star::presentation::EffectPresetClass::MOTIONPATH, 16 ,"ooo-motionpath-4-point-star" },
+ { ::com::sun::star::presentation::EffectPresetClass::MOTIONPATH, 5 ,"ooo-motionpath-5-point-star" },
+ { ::com::sun::star::presentation::EffectPresetClass::MOTIONPATH, 11 ,"ooo-motionpath-6-point-star" },
+ { ::com::sun::star::presentation::EffectPresetClass::MOTIONPATH, 17 ,"ooo-motionpath-8-point-star" },
+ { ::com::sun::star::presentation::EffectPresetClass::MOTIONPATH, 1 ,"ooo-motionpath-circle" },
+ { ::com::sun::star::presentation::EffectPresetClass::MOTIONPATH, 6 ,"ooo-motionpath-crescent-moon" },
+ { ::com::sun::star::presentation::EffectPresetClass::MOTIONPATH, 3 ,"ooo-motionpath-diamond" },
+ { ::com::sun::star::presentation::EffectPresetClass::MOTIONPATH, 13 ,"ooo-motionpath-equal-triangle" },
+ { ::com::sun::star::presentation::EffectPresetClass::MOTIONPATH, 12 ,"ooo-motionpath-oval" },
+ { ::com::sun::star::presentation::EffectPresetClass::MOTIONPATH, 9 ,"ooo-motionpath-heart" },
+ { ::com::sun::star::presentation::EffectPresetClass::MOTIONPATH, 4 ,"ooo-motionpath-hexagon" },
+ { ::com::sun::star::presentation::EffectPresetClass::MOTIONPATH, 10 ,"ooo-motionpath-octagon" },
+ { ::com::sun::star::presentation::EffectPresetClass::MOTIONPATH, 14 ,"ooo-motionpath-parallelogram" },
+ { ::com::sun::star::presentation::EffectPresetClass::MOTIONPATH, 15 ,"ooo-motionpath-pentagon" },
+ { ::com::sun::star::presentation::EffectPresetClass::MOTIONPATH, 2 ,"ooo-motionpath-right-triangle" },
+ { ::com::sun::star::presentation::EffectPresetClass::MOTIONPATH, 7 ,"ooo-motionpath-square" },
+ { ::com::sun::star::presentation::EffectPresetClass::MOTIONPATH, 18 ,"ooo-motionpath-teardrop" },
+ { ::com::sun::star::presentation::EffectPresetClass::MOTIONPATH, 8 ,"ooo-motionpath-trapezoid" },
+ { ::com::sun::star::presentation::EffectPresetClass::MOTIONPATH, 37 ,"ooo-motionpath-arc-down" },
+ { ::com::sun::star::presentation::EffectPresetClass::MOTIONPATH, 51 ,"ooo-motionpath-arc-left" },
+ { ::com::sun::star::presentation::EffectPresetClass::MOTIONPATH, 58 ,"ooo-motionpath-arc-right" },
+ { ::com::sun::star::presentation::EffectPresetClass::MOTIONPATH, 44 ,"ooo-motionpath-arc-up" },
+ { ::com::sun::star::presentation::EffectPresetClass::MOTIONPATH, 41 ,"ooo-motionpath-bounce-left" },
+ { ::com::sun::star::presentation::EffectPresetClass::MOTIONPATH, 54 ,"ooo-motionpath-bounce-right" },
+ { ::com::sun::star::presentation::EffectPresetClass::MOTIONPATH, 48 ,"ooo-motionpath-curvy-left" },
+ { ::com::sun::star::presentation::EffectPresetClass::MOTIONPATH, 61 ,"ooo-motionpath-curvy-right" },
+ { ::com::sun::star::presentation::EffectPresetClass::MOTIONPATH, 60 ,"ooo-motionpath-decaying-wave" },
+ { ::com::sun::star::presentation::EffectPresetClass::MOTIONPATH, 49 ,"ooo-motionpath-diagonal-down-right" },
+ { ::com::sun::star::presentation::EffectPresetClass::MOTIONPATH, 56 ,"ooo-motionpath-diagonal-up-right" },
+ { ::com::sun::star::presentation::EffectPresetClass::MOTIONPATH, 42 ,"ooo-motionpath-down" },
+ { ::com::sun::star::presentation::EffectPresetClass::MOTIONPATH, 52 ,"ooo-motionpath-funnel" },
+ { ::com::sun::star::presentation::EffectPresetClass::MOTIONPATH, 53 ,"ooo-motionpath-spring" },
+ { ::com::sun::star::presentation::EffectPresetClass::MOTIONPATH, 62 ,"ooo-motionpath-stairs-down" },
+ { ::com::sun::star::presentation::EffectPresetClass::MOTIONPATH, 50 ,"ooo-motionpath-turn-down" },
+ { ::com::sun::star::presentation::EffectPresetClass::MOTIONPATH, 36 ,"ooo-motionpath-turn-down-right" },
+ { ::com::sun::star::presentation::EffectPresetClass::MOTIONPATH, 43 ,"ooo-motionpath-turn-up" },
+ { ::com::sun::star::presentation::EffectPresetClass::MOTIONPATH, 57 ,"ooo-motionpath-turn-up-right" },
+ { ::com::sun::star::presentation::EffectPresetClass::MOTIONPATH, 64 ,"ooo-motionpath-up" },
+ { ::com::sun::star::presentation::EffectPresetClass::MOTIONPATH, 47 ,"ooo-motionpath-wave" },
+ { ::com::sun::star::presentation::EffectPresetClass::MOTIONPATH, 38 ,"ooo-motionpath-zigzag" },
+ { ::com::sun::star::presentation::EffectPresetClass::MOTIONPATH, 31 ,"ooo-motionpath-bean" },
+ { ::com::sun::star::presentation::EffectPresetClass::MOTIONPATH, 25 ,"ooo-motionpath-buzz-saw" },
+ { ::com::sun::star::presentation::EffectPresetClass::MOTIONPATH, 20 ,"ooo-motionpath-curved-square" },
+ { ::com::sun::star::presentation::EffectPresetClass::MOTIONPATH, 21 ,"ooo-motionpath-curved-x" },
+ { ::com::sun::star::presentation::EffectPresetClass::MOTIONPATH, 23 ,"ooo-motionpath-curvy-star" },
+ { ::com::sun::star::presentation::EffectPresetClass::MOTIONPATH, 28 ,"ooo-motionpath-figure-8-four" },
+ { ::com::sun::star::presentation::EffectPresetClass::MOTIONPATH, 26 ,"ooo-motionpath-horizontal-figure-8" },
+ { ::com::sun::star::presentation::EffectPresetClass::MOTIONPATH, 34 ,"ooo-motionpath-inverted-square" },
+ { ::com::sun::star::presentation::EffectPresetClass::MOTIONPATH, 33 ,"ooo-motionpath-inverted-triangle" },
+ { ::com::sun::star::presentation::EffectPresetClass::MOTIONPATH, 24 ,"ooo-motionpath-loop-de-loop" },
+ { ::com::sun::star::presentation::EffectPresetClass::MOTIONPATH, 29 ,"ooo-motionpath-neutron" },
+ { ::com::sun::star::presentation::EffectPresetClass::MOTIONPATH, 27 ,"ooo-motionpath-peanut" },
+ { ::com::sun::star::presentation::EffectPresetClass::MOTIONPATH, 32 ,"ooo-motionpath-clover" },
+ { ::com::sun::star::presentation::EffectPresetClass::MOTIONPATH, 19 ,"ooo-motionpath-pointy-star" },
+ { ::com::sun::star::presentation::EffectPresetClass::MOTIONPATH, 30 ,"ooo-motionpath-swoosh" },
+ { ::com::sun::star::presentation::EffectPresetClass::MOTIONPATH, 22 ,"ooo-motionpath-vertical-figure-8" },
+ { ::com::sun::star::presentation::EffectPresetClass::MOTIONPATH, 35 ,"ooo-motionpath-left" },
+ { ::com::sun::star::presentation::EffectPresetClass::MOTIONPATH, 63 ,"ooo-motionpath-right" },
+ { ::com::sun::star::presentation::EffectPresetClass::MOTIONPATH, 55 ,"ooo-motionpath-spiral-left" },
+ { ::com::sun::star::presentation::EffectPresetClass::MOTIONPATH, 46 ,"ooo-motionpath-spiral-right" },
+ { ::com::sun::star::presentation::EffectPresetClass::MOTIONPATH, 40 ,"ooo-motionpath-sine-wave" },
+ { ::com::sun::star::presentation::EffectPresetClass::MOTIONPATH, 59 ,"ooo-motionpath-s-curve-1" },
+ { ::com::sun::star::presentation::EffectPresetClass::MOTIONPATH, 39 ,"ooo-motionpath-s-curve-2" },
+ { ::com::sun::star::presentation::EffectPresetClass::MOTIONPATH, 45 ,"ooo-motionpath-heartbeat" },
{ 0,0,0 }
diff --git a/sd/source/filter/ppt/pptatom.cpp b/sd/source/filter/ppt/pptatom.cpp
index dc309652a6fd..530fa3b7a66f 100644
--- a/sd/source/filter/ppt/pptatom.cpp
+++ b/sd/source/filter/ppt/pptatom.cpp
@@ -2,7 +2,7 @@
/*************************************************************************
*
* 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
@@ -50,13 +50,13 @@ Atom::Atom( const DffRecordHeader& rRecordHeader, SvStream& rStream )
Atom* pLastAtom = NULL;
- // retrieve file size (to allow sanity checks)
+ // retrieve file size (to allow sanity checks)
const sal_Size nStreamPos = mrStream.Tell();
mrStream.Seek( STREAM_SEEK_TO_END );
const sal_Size nStreamSize = mrStream.Tell();
mrStream.Seek( nStreamPos );
- while( (mrStream.GetError() == 0 )
+ while( (mrStream.GetError() == 0 )
&& ( mrStream.Tell() < nStreamSize )
&& ( mrStream.Tell() < maRecordHeader.GetRecEndFilePos() ) )
{
diff --git a/sd/source/filter/ppt/pptatom.hxx b/sd/source/filter/ppt/pptatom.hxx
index a9b159f8a42e..235247572ce6 100644
--- a/sd/source/filter/ppt/pptatom.hxx
+++ b/sd/source/filter/ppt/pptatom.hxx
@@ -2,7 +2,7 @@
/*************************************************************************
*
* 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
diff --git a/sd/source/filter/ppt/pptin.cxx b/sd/source/filter/ppt/pptin.cxx
index 2e0159a1fa13..b16f44592cde 100644
--- a/sd/source/filter/ppt/pptin.cxx
+++ b/sd/source/filter/ppt/pptin.cxx
@@ -2,7 +2,7 @@
/*************************************************************************
*
* 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
@@ -92,7 +92,7 @@
#include <editeng/editstat.hxx>
#include <unotools/pathoptions.hxx>
#include <sfx2/docfac.hxx>
-#define MAX_USER_MOVE 2
+#define MAX_USER_MOVE 2
#include "pptinanimations.hxx"
#include "ppt97animations.hxx"
@@ -175,16 +175,16 @@ SdPPTImport::~SdPPTImport()
}
ImplSdPPTImport::ImplSdPPTImport( SdDrawDocument* pDocument, SvStorage& rStorage_, SfxMedium& rMedium, PowerPointImportParam& rParam )
-: SdrPowerPointImport ( rParam, rMedium.GetBaseURL() )
-, mrMed ( rMedium )
-, mrStorage ( rStorage_ )
-, mbDocumentFound ( FALSE )
-, mnFilterOptions ( 0 )
+: SdrPowerPointImport ( rParam, rMedium.GetBaseURL() )
+, mrMed ( rMedium )
+, mrStorage ( rStorage_ )
+, mbDocumentFound ( FALSE )
+, mnFilterOptions ( 0 )
{
mpDoc = pDocument;
if ( bOk )
{
- mbDocumentFound = SeekToDocument( &maDocHd ); // maDocHd = the latest DocumentHeader
+ mbDocumentFound = SeekToDocument( &maDocHd ); // maDocHd = the latest DocumentHeader
while ( SeekToRec( rStCtrl, PPT_PST_Document, nStreamLen, &maDocHd ) )
mbDocumentFound = TRUE;
@@ -299,10 +299,10 @@ sal_Bool ImplSdPPTImport::Import()
aPropItem >> nSlideCount;
if ( nSlideCount && pSection->GetProperty( PID_HEADINGPAIR, aPropItem ) )
{
- UINT32 nSlideTitleIndex = 0, nSlideTitleCount = 0;
- UINT32 nFontIndex, nFontCount = 0;
- UINT32 nDesignTemplateIndex, nDesignTemplateCount = 0;
- UINT32 i, nTemp, nEntryCount = 0;
+ UINT32 nSlideTitleIndex = 0, nSlideTitleCount = 0;
+ UINT32 nFontIndex, nFontCount = 0;
+ UINT32 nDesignTemplateIndex, nDesignTemplateCount = 0;
+ UINT32 i, nTemp, nEntryCount = 0;
String aUString;
@@ -405,7 +405,7 @@ sal_Bool ImplSdPPTImport::Import()
{
UINT32 i;
- nPropCount /= 6; // 6 propertys a hyperlink
+ nPropCount /= 6; // 6 propertys a hyperlink
SdHyperlinkEntry* pHyperlink = 0;
for ( i = 0; i < nPropCount; i++ )
@@ -553,8 +553,8 @@ sal_Bool ImplSdPPTImport::Import()
Size aVisAreaSize;
switch ( aUserEditAtom.eLastViewType )
{
- case 5 : // notes master
- case 3 : // notes
+ case 5 : // notes master
+ case 3 : // notes
aVisAreaSize = aDocAtom.GetNotesPageSize();
break;
default :
@@ -571,7 +571,7 @@ sal_Bool ImplSdPPTImport::Import()
UINT32 nImportedPages = 0;
{
- UINT16 nMasterAnz = GetPageCount( PPT_MASTERPAGE );
+ UINT16 nMasterAnz = GetPageCount( PPT_MASTERPAGE );
for ( USHORT nMasterNum = 0; nMasterNum < nMasterAnz; nMasterNum++ )
{
@@ -633,7 +633,7 @@ sal_Bool ImplSdPPTImport::Import()
aLayoutName += String::CreateFromInt32( (sal_Int32)( ( nMasterNum + 1 ) / 2 - 1 ) );
( (SdStyleSheetPool*)mpDoc->GetStyleSheetPool() )->CreateLayoutStyleSheets( aLayoutName );
}
- else // Notizseite: Praesentationslayout von der Standardseite verwenden
+ else // Notizseite: Praesentationslayout von der Standardseite verwenden
aLayoutName = ( (SdPage*)mpDoc->GetMasterPage( nMasterNum - 1 ) )->GetName();
}
pPage->SetName( aLayoutName );
@@ -648,12 +648,12 @@ sal_Bool ImplSdPPTImport::Import()
{
UINT32 nTitleInstance = TSS_TYPE_PAGETITLE;
UINT32 nOutlinerInstance = TSS_TYPE_BODY;
-// BOOL bSwapStyleSheet = pSlideLayout->eLayout == PPT_LAYOUT_TITLEMASTERSLIDE;
-// if ( bSwapStyleSheet )
-// {
-// nTitleInstance = TSS_TYPE_TITLE;
-// nOutlinerInstance = TSS_TYPE_SUBTITLE;
-// }
+// BOOL bSwapStyleSheet = pSlideLayout->eLayout == PPT_LAYOUT_TITLEMASTERSLIDE;
+// if ( bSwapStyleSheet )
+// {
+// nTitleInstance = TSS_TYPE_TITLE;
+// nOutlinerInstance = TSS_TYPE_SUBTITLE;
+// }
/////////////////////
// titelstylesheet //
/////////////////////
@@ -732,7 +732,7 @@ sal_Bool ImplSdPPTImport::Import()
{
SetPageNum( i, PPT_MASTERPAGE );
/////////////////////////////////////////////
- // importing master page objects //
+ // importing master page objects //
/////////////////////////////////////////////
PptSlidePersistList* pList = GetPageList( eAktPageKind );
PptSlidePersistEntry* pPersist = ( pList && ( nAktPageNum < pList->Count() ) )
@@ -762,7 +762,7 @@ sal_Bool ImplSdPPTImport::Import()
else
pE = (*pList)[ nNextMaster ];
}
- SdrObject* pObj = ImportPageBackgroundObject( *pMPage, pE->nBackgroundOffset, TRUE ); // import background
+ SdrObject* pObj = ImportPageBackgroundObject( *pMPage, pE->nBackgroundOffset, TRUE ); // import background
if ( pObj )
pMPage->NbcInsertObject( pObj );
@@ -802,7 +802,7 @@ sal_Bool ImplSdPPTImport::Import()
rStCtrl >> aHd2;
if ( ( aHd2.nRecType == DFF_msofbtSpContainer ) || ( aHd2.nRecType == DFF_msofbtSpgrContainer ) )
{
- if ( nObjCount++ ) // skipping the first object
+ if ( nObjCount++ ) // skipping the first object
{
Rectangle aEmpty;
aHd2.SeekToBegOfRecord( rStCtrl );
@@ -879,7 +879,7 @@ sal_Bool ImplSdPPTImport::Import()
}
else
{
- // without StyleSheet, set attributes directly. This
+ // without StyleSheet, set attributes directly. This
// should not be done at all and is an error (will be asserted by SdrPage)
pMPage->getSdrPageProperties().ClearItem();
pMPage->getSdrPageProperties().PutItemSet(pObj->GetMergedItemSet());
@@ -895,12 +895,12 @@ sal_Bool ImplSdPPTImport::Import()
pStbMgr->SetState( nImportedPages++ );
}
////////////////////////////////////
- // importing slide pages //
+ // importing slide pages //
////////////////////////////////////
{
- UINT32 nFPosMerk = rStCtrl.Tell();
- PptPageKind ePageKind = eAktPageKind;
- UINT16 nPageNum = nAktPageNum;
+ UINT32 nFPosMerk = rStCtrl.Tell();
+ PptPageKind ePageKind = eAktPageKind;
+ UINT16 nPageNum = nAktPageNum;
SdPage* pHandoutPage = (SdPage*)MakeBlancPage( FALSE );
pHandoutPage->SetPageKind( PK_HANDOUT );
@@ -927,8 +927,8 @@ sal_Bool ImplSdPPTImport::Import()
pPage->SetLayoutName(((SdPage&)pPage->TRG_GetMasterPage()).GetLayoutName());
}
pPage->SetPageKind( PK_STANDARD );
- pSdrModel->InsertPage( pPage ); // SJ: #i29625# because of form controls, the
- ImportPage( pPage, pMasterPersist ); // page must be inserted before importing
+ pSdrModel->InsertPage( pPage ); // SJ: #i29625# because of form controls, the
+ ImportPage( pPage, pMasterPersist ); // page must be inserted before importing
SetHeaderFooterPageSettings( pPage, pMasterPersist );
// CWS preseng01: pPage->SetPageKind( PK_STANDARD );
@@ -969,11 +969,11 @@ sal_Bool ImplSdPPTImport::Import()
}
break;
- case PPT_PST_NewlyAddedAtomByXP11008 : // ???
+ case PPT_PST_NewlyAddedAtomByXP11008 : // ???
break;
- case PPT_PST_NewlyAddedAtomByXP12011 : // ??? don't know, this atom is always 8 bytes big
- break; // and is appearing in nearly every l10 progtag
+ case PPT_PST_NewlyAddedAtomByXP12011 : // ??? don't know, this atom is always 8 bytes big
+ break; // and is appearing in nearly every l10 progtag
}
aProgTagContentHd.SeekToEndOfRecord( rStCtrl );
}
@@ -1015,8 +1015,8 @@ sal_Bool ImplSdPPTImport::Import()
}
pNotesPage->SetPageKind( PK_NOTES );
pNotesPage->TRG_SetMasterPage(*pSdrModel->GetMasterPage(nNotesMasterNum));
- pSdrModel->InsertPage( pNotesPage ); // SJ: #i29625# because of form controls, the
- ImportPage( pNotesPage, pMasterPersist2 ); // page must be inserted before importing
+ pSdrModel->InsertPage( pNotesPage ); // SJ: #i29625# because of form controls, the
+ ImportPage( pNotesPage, pMasterPersist2 ); // page must be inserted before importing
SetHeaderFooterPageSettings( pNotesPage, pMasterPersist2 );
pNotesPage->SetAutoLayout( AUTOLAYOUT_NOTES, FALSE );
}
@@ -1075,7 +1075,7 @@ sal_Bool ImplSdPPTImport::Import()
rStCtrl.Seek( nFPosMerk );
}
///////////////////////////////////////////////////////////////////
- // Handzettel und Notiz-Seiten erzeugen //
+ // Handzettel und Notiz-Seiten erzeugen //
///////////////////////////////////////////////////////////////////
bOk = mpDoc->CreateMissingNotesAndHandoutPages();
if ( bOk )
@@ -1091,7 +1091,7 @@ sal_Bool ImplSdPPTImport::Import()
const PptSlideLayoutAtom* pSlideLayout = GetSlideLayoutAtom();
if ( pSlideLayout )
{
- switch ( pSlideLayout->eLayout ) // Praesentationslayouts fuer Standard-Seiten
+ switch ( pSlideLayout->eLayout ) // Praesentationslayouts fuer Standard-Seiten
{
case PPT_LAYOUT_TITLEANDBODYSLIDE :
{
@@ -1189,11 +1189,11 @@ sal_Bool ImplSdPPTImport::Import()
case PPT_LAYOUT_BOTTOMROW2COLUMNS :
case PPT_LAYOUT_BLANCSLIDE :
- case PPT_LAYOUT_MASTERSLIDE : // Layout der Standard- und Titel-MasterPage
+ case PPT_LAYOUT_MASTERSLIDE : // Layout der Standard- und Titel-MasterPage
case PPT_LAYOUT_TITLEMASTERSLIDE :
- case PPT_LAYOUT_MASTERNOTES : // Layout der Notizen-MasterPage
- case PPT_LAYOUT_NOTESTITLEBODY : // Praesentationslayout fuer Notiz-Seiten
- case PPT_LAYOUT_HANDOUTLAYOUT : // Praesentationslayout fuer Handzettelseiten
+ case PPT_LAYOUT_MASTERNOTES : // Layout der Notizen-MasterPage
+ case PPT_LAYOUT_NOTESTITLEBODY : // Praesentationslayout fuer Notiz-Seiten
+ case PPT_LAYOUT_HANDOUTLAYOUT : // Praesentationslayout fuer Handzettelseiten
eAutoLayout = AUTOLAYOUT_NONE;
break;
}
@@ -1202,7 +1202,7 @@ sal_Bool ImplSdPPTImport::Import()
}
}
//////////////////////////////////////////////////////////////
- // Handzettel-MasterPage: Autolayout setzen //
+ // Handzettel-MasterPage: Autolayout setzen //
//////////////////////////////////////////////////////////////
SdPage* pHandoutMPage = mpDoc->GetMasterSdPage( 0, PK_HANDOUT );
pHandoutMPage->SetAutoLayout( AUTOLAYOUT_HANDOUT6, TRUE, TRUE );
@@ -1239,44 +1239,44 @@ sal_Bool ImplSdPPTImport::Import()
}
if ( pFrameView )
{
- sal_uInt16 nSelectedPage = 0;
- PageKind ePageKind = PK_STANDARD;
- EditMode eEditMode = EM_PAGE;
+ sal_uInt16 nSelectedPage = 0;
+ PageKind ePageKind = PK_STANDARD;
+ EditMode eEditMode = EM_PAGE;
switch ( aUserEditAtom.eLastViewType )
{
- case 7 : // outliner view
+ case 7 : // outliner view
{
SfxItemSet* pSet = mrMed.GetItemSet();
if ( pSet )
pSet->Put( SfxUInt16Item( SID_VIEW_ID, 3 ) );
}
break;
- case 8 : // slide sorter
+ case 8 : // slide sorter
{
SfxItemSet* pSet = mrMed.GetItemSet();
if ( pSet )
pSet->Put( SfxUInt16Item( SID_VIEW_ID, 2 ) );
}
break;
- case 10 : // titlemaster
+ case 10 : // titlemaster
nSelectedPage = 1;
- case 2 : // master
+ case 2 : // master
{
ePageKind = PK_STANDARD;
eEditMode = EM_MASTERPAGE;
}
break;
- case 5 : // notes master
+ case 5 : // notes master
eEditMode = EM_MASTERPAGE;
- case 3 : // notes
+ case 3 : // notes
ePageKind = PK_NOTES;
break;
- case 4 : // handout
+ case 4 : // handout
ePageKind = PK_HANDOUT;
break;
default :
- case 1 : // normal
+ case 1 : // normal
break;
}
pFrameView->SetPageKind( ePageKind );
@@ -1341,12 +1341,12 @@ sal_Bool ImplSdPPTImport::Import()
}
}
// this is defaulted, maybe there is no SSDocInfoAtom
- String aCustomShow;
- sal_uInt32 nFlags = 1; // Bit 0: Auto advance
- sal_uInt32 nPenColor = 0x1000000;
- sal_Int32 nRestartTime = 0x7fffffff;
- sal_uInt16 nStartSlide = 0;
- sal_Int16 nEndSlide = 0;
+ String aCustomShow;
+ sal_uInt32 nFlags = 1; // Bit 0: Auto advance
+ sal_uInt32 nPenColor = 0x1000000;
+ sal_Int32 nRestartTime = 0x7fffffff;
+ sal_uInt16 nStartSlide = 0;
+ sal_Int16 nEndSlide = 0;
// read the pres. configuration
rStCtrl.Seek( maDocHd.GetRecBegFilePos() + 8 );
@@ -1395,8 +1395,8 @@ sal_Bool ImplSdPPTImport::Import()
rPresSettings.mbCustomShow = ( nFlags & 8 ) != 0;
rPresSettings.mbEndless = ( nFlags & 0x80 ) != 0;
rPresSettings.mbFullScreen = ( nFlags & 0x10 ) == 0;
-// rPresSettings.mnPauseTimeout;
-// rPresSettings.mbShowLogo;
+// rPresSettings.mnPauseTimeout;
+// rPresSettings.mbShowLogo;
if ( nStartSlide && ( nStartSlide <= GetPageCount() ) )
{
SdPage* pPage = mpDoc->GetSdPage( nStartSlide - 1, PK_STANDARD );
@@ -1531,7 +1531,7 @@ void ImplSdPPTImport::ImportPageEffect( SdPage* pPage, const sal_Bool bNewAnimat
if ( pActualSlidePersist && ( eAktPageKind == PPT_SLIDEPAGE ) )
{
- if ( ! ( pActualSlidePersist->aSlideAtom.nFlags & 1 ) ) // do not follow master objects ?
+ if ( ! ( pActualSlidePersist->aSlideAtom.nFlags & 1 ) ) // do not follow master objects ?
{
if(pPage->TRG_HasMasterPage())
{
@@ -1569,12 +1569,12 @@ void ImplSdPPTImport::ImportPageEffect( SdPage* pPage, const sal_Bool bNewAnimat
sal_Int8 nDirection, nTransitionType, nByteDummy, nSpeed;
sal_Int16 nBuildFlags;
sal_Int32 nSlideTime, nSoundRef;
- rStCtrl >> nSlideTime // Standzeit (in Ticks)
- >> nSoundRef // Index in SoundCollection
- >> nDirection // Richtung des Ueberblendeffekts
- >> nTransitionType // Ueberblendeffekt
- >> nBuildFlags // Buildflags (s.u.)
- >> nSpeed // Geschwindigkeit (langsam, mittel, schnell)
+ rStCtrl >> nSlideTime // Standzeit (in Ticks)
+ >> nSoundRef // Index in SoundCollection
+ >> nDirection // Richtung des Ueberblendeffekts
+ >> nTransitionType // Ueberblendeffekt
+ >> nBuildFlags // Buildflags (s.u.)
+ >> nSpeed // Geschwindigkeit (langsam, mittel, schnell)
>> nByteDummy >> nByteDummy >> nByteDummy;
switch ( nTransitionType )
@@ -1598,21 +1598,21 @@ void ImplSdPPTImport::ImportPageEffect( SdPage* pPage, const sal_Bool bNewAnimat
case PPT_TRANSITION_TYPE_COVER :
{
if ( nDirection == 0 )
- pPage->SetFadeEffect( ::com::sun::star::presentation::FadeEffect_MOVE_FROM_RIGHT ); // Von rechts ueberdecken
+ pPage->SetFadeEffect( ::com::sun::star::presentation::FadeEffect_MOVE_FROM_RIGHT ); // Von rechts ueberdecken
else if ( nDirection == 1 )
- pPage->SetFadeEffect( ::com::sun::star::presentation::FadeEffect_MOVE_FROM_BOTTOM ); // Von unten ueberdecken
+ pPage->SetFadeEffect( ::com::sun::star::presentation::FadeEffect_MOVE_FROM_BOTTOM ); // Von unten ueberdecken
else if ( nDirection == 2 )
- pPage->SetFadeEffect( ::com::sun::star::presentation::FadeEffect_MOVE_FROM_LEFT ); // Von links ueberdecken
+ pPage->SetFadeEffect( ::com::sun::star::presentation::FadeEffect_MOVE_FROM_LEFT ); // Von links ueberdecken
else if ( nDirection == 3 )
- pPage->SetFadeEffect( ::com::sun::star::presentation::FadeEffect_MOVE_FROM_TOP ); // Von oben ueberdecken
+ pPage->SetFadeEffect( ::com::sun::star::presentation::FadeEffect_MOVE_FROM_TOP ); // Von oben ueberdecken
else if ( nDirection == 4 )
pPage->SetFadeEffect( ::com::sun::star::presentation::FadeEffect_MOVE_FROM_LOWERRIGHT );// Von rechts unten ueberdecken ??
else if ( nDirection == 5 )
- pPage->SetFadeEffect( ::com::sun::star::presentation::FadeEffect_MOVE_FROM_LOWERLEFT ); // Von links unten ueberdecken ??
+ pPage->SetFadeEffect( ::com::sun::star::presentation::FadeEffect_MOVE_FROM_LOWERLEFT ); // Von links unten ueberdecken ??
else if ( nDirection == 6 )
pPage->SetFadeEffect( ::com::sun::star::presentation::FadeEffect_MOVE_FROM_UPPERRIGHT );// Von rechts oben ueberdecken
else if ( nDirection == 7 )
- pPage->SetFadeEffect( ::com::sun::star::presentation::FadeEffect_MOVE_FROM_UPPERLEFT ); // Von links oben ueberdecken ??
+ pPage->SetFadeEffect( ::com::sun::star::presentation::FadeEffect_MOVE_FROM_UPPERLEFT ); // Von links oben ueberdecken ??
}
break;
case PPT_TRANSITION_TYPE_NONE :
@@ -1620,7 +1620,7 @@ void ImplSdPPTImport::ImportPageEffect( SdPage* pPage, const sal_Bool bNewAnimat
if ( nBuildFlags )
{
if ( nDirection == 0 )
- pPage->SetFadeEffect( ::com::sun::star::presentation::FadeEffect_NONE ); // Direkt
+ pPage->SetFadeEffect( ::com::sun::star::presentation::FadeEffect_NONE ); // Direkt
else if ( nDirection == 1 )
{
pPage->setTransitionType( animations::TransitionType::BARWIPE );
@@ -1633,22 +1633,22 @@ void ImplSdPPTImport::ImportPageEffect( SdPage* pPage, const sal_Bool bNewAnimat
}
break;
case PPT_TRANSITION_TYPE_DISSOLVE :
- pPage->SetFadeEffect(::com::sun::star::presentation::FadeEffect_DISSOLVE); // Aufloesen
+ pPage->SetFadeEffect(::com::sun::star::presentation::FadeEffect_DISSOLVE); // Aufloesen
break;
case PPT_TRANSITION_TYPE_RANDOM_BARS :
{
if ( nDirection == 0 )
- pPage->SetFadeEffect( ::com::sun::star::presentation::FadeEffect_HORIZONTAL_LINES ); // Horizontale Linien
+ pPage->SetFadeEffect( ::com::sun::star::presentation::FadeEffect_HORIZONTAL_LINES ); // Horizontale Linien
else if ( nDirection == 1 )
- pPage->SetFadeEffect( ::com::sun::star::presentation::FadeEffect_VERTICAL_LINES ); // Vertikale Linien
+ pPage->SetFadeEffect( ::com::sun::star::presentation::FadeEffect_VERTICAL_LINES ); // Vertikale Linien
}
break;
case PPT_TRANSITION_TYPE_SPLIT :
{
if ( nDirection == 0 )
- pPage->SetFadeEffect( ::com::sun::star::presentation::FadeEffect_OPEN_VERTICAL ); // Horizontal oeffnen
+ pPage->SetFadeEffect( ::com::sun::star::presentation::FadeEffect_OPEN_VERTICAL ); // Horizontal oeffnen
else if ( nDirection == 1 )
- pPage->SetFadeEffect( ::com::sun::star::presentation::FadeEffect_CLOSE_VERTICAL ); // Horizontal schliessen
+ pPage->SetFadeEffect( ::com::sun::star::presentation::FadeEffect_CLOSE_VERTICAL ); // Horizontal schliessen
else if ( nDirection == 2 )
pPage->SetFadeEffect( ::com::sun::star::presentation::FadeEffect_OPEN_HORIZONTAL ); // Vertikal oeffnen
else if ( nDirection == 3 )
@@ -1670,13 +1670,13 @@ void ImplSdPPTImport::ImportPageEffect( SdPage* pPage, const sal_Bool bNewAnimat
case PPT_TRANSITION_TYPE_PULL :
{
if ( nDirection == 0 )
- pPage->SetFadeEffect( ::com::sun::star::presentation::FadeEffect_UNCOVER_TO_LEFT ); // Nach links aufdecken
+ pPage->SetFadeEffect( ::com::sun::star::presentation::FadeEffect_UNCOVER_TO_LEFT ); // Nach links aufdecken
else if ( nDirection == 1 )
- pPage->SetFadeEffect( ::com::sun::star::presentation::FadeEffect_UNCOVER_TO_TOP ); // Nach oben aufdecken
+ pPage->SetFadeEffect( ::com::sun::star::presentation::FadeEffect_UNCOVER_TO_TOP ); // Nach oben aufdecken
else if ( nDirection == 2 )
- pPage->SetFadeEffect( ::com::sun::star::presentation::FadeEffect_UNCOVER_TO_RIGHT ); // Nach rechts aufdecken
+ pPage->SetFadeEffect( ::com::sun::star::presentation::FadeEffect_UNCOVER_TO_RIGHT ); // Nach rechts aufdecken
else if ( nDirection == 3 )
- pPage->SetFadeEffect( ::com::sun::star::presentation::FadeEffect_UNCOVER_TO_BOTTOM ); // Nach unten aufdecken
+ pPage->SetFadeEffect( ::com::sun::star::presentation::FadeEffect_UNCOVER_TO_BOTTOM ); // Nach unten aufdecken
else if ( nDirection == 4 )
pPage->SetFadeEffect( ::com::sun::star::presentation::FadeEffect_UNCOVER_TO_UPPERLEFT );// Nach links oben aufdecken
else if ( nDirection == 5 )
@@ -1694,13 +1694,13 @@ void ImplSdPPTImport::ImportPageEffect( SdPage* pPage, const sal_Bool bNewAnimat
else if ( nDirection == 1 )
pPage->SetFadeEffect( ::com::sun::star::presentation::FadeEffect_FADE_FROM_BOTTOM );// Von unten rollen
else if ( nDirection == 2 )
- pPage->SetFadeEffect( ::com::sun::star::presentation::FadeEffect_FADE_FROM_LEFT ); // Von links rollen
+ pPage->SetFadeEffect( ::com::sun::star::presentation::FadeEffect_FADE_FROM_LEFT ); // Von links rollen
else if ( nDirection == 3 )
- pPage->SetFadeEffect( ::com::sun::star::presentation::FadeEffect_FADE_FROM_TOP ); // Von oben rollen
+ pPage->SetFadeEffect( ::com::sun::star::presentation::FadeEffect_FADE_FROM_TOP ); // Von oben rollen
}
break;
case PPT_TRANSITION_TYPE_RANDOM :
- pPage->SetFadeEffect( ::com::sun::star::presentation::FadeEffect_RANDOM ); // Automatisch
+ pPage->SetFadeEffect( ::com::sun::star::presentation::FadeEffect_RANDOM ); // Automatisch
break;
case PPT_TRANSITION_TYPE_FADE :
{
@@ -1714,7 +1714,7 @@ void ImplSdPPTImport::ImportPageEffect( SdPage* pPage, const sal_Bool bNewAnimat
if ( nDirection == 0 )
pPage->SetFadeEffect( ::com::sun::star::presentation::FadeEffect_FADE_FROM_CENTER );// Von innen einblenden
else if ( nDirection == 1 )
- pPage->SetFadeEffect( ::com::sun::star::presentation::FadeEffect_FADE_TO_CENTER ); // Von aussen einblenden
+ pPage->SetFadeEffect( ::com::sun::star::presentation::FadeEffect_FADE_TO_CENTER ); // Von aussen einblenden
}
break;
case PPT_TRANSITION_TYPE_DIAMOND :
@@ -1729,7 +1729,7 @@ void ImplSdPPTImport::ImportPageEffect( SdPage* pPage, const sal_Bool bNewAnimat
pPage->setTransitionSubtype( animations::TransitionSubType::CORNERSOUT );
}
break;
- case PPT_TRANSITION_TYPE_CIRCLE :
+ case PPT_TRANSITION_TYPE_CIRCLE :
{
pPage->setTransitionType( animations::TransitionType::ELLIPSEWIPE );
pPage->setTransitionSubtype( animations::TransitionSubType::CIRCLE );
@@ -1793,11 +1793,11 @@ void ImplSdPPTImport::ImportPageEffect( SdPage* pPage, const sal_Bool bNewAnimat
}
if ( nSpeed == 0 )
- pPage->setTransitionDuration( 3.0 ); // langsam
+ pPage->setTransitionDuration( 3.0 ); // langsam
else if ( nSpeed == 1 )
- pPage->setTransitionDuration( 2.0 ); // mittel
+ pPage->setTransitionDuration( 2.0 ); // mittel
else if ( nSpeed == 2 )
- pPage->setTransitionDuration( 1.0 ); // schnell
+ pPage->setTransitionDuration( 1.0 ); // schnell
if ( nBuildFlags & 0x400 ) // slidechange by time
{ // Standzeit (in Ticks)
@@ -1807,20 +1807,20 @@ void ImplSdPPTImport::ImportPageEffect( SdPage* pPage, const sal_Bool bNewAnimat
else
pPage->SetPresChange( mePresChange );
-// if ( nBuildFlags & 1 ) // slidechange by mouseclick
-// pPage->SetPresChange( mePresChange );
+// if ( nBuildFlags & 1 ) // slidechange by mouseclick
+// pPage->SetPresChange( mePresChange );
if ( nBuildFlags & 4 )
- pPage->SetExcluded( TRUE ); // Dia nicht anzeigen
+ pPage->SetExcluded( TRUE ); // Dia nicht anzeigen
if ( nBuildFlags & 16 )
- { // Dia mit Soundeffekt
+ { // Dia mit Soundeffekt
pPage->SetSound( TRUE );
String aSoundFile( ReadSound( nSoundRef ) );
pPage->SetSoundFile( aSoundFile );
}
- if ( nBuildFlags & ( 1 << 6 ) ) // Loop until next sound
+ if ( nBuildFlags & ( 1 << 6 ) ) // Loop until next sound
pPage->SetLoopSound( sal_True );
- if ( nBuildFlags & ( 1 << 8 ) ) // Stop the previous sound
+ if ( nBuildFlags & ( 1 << 8 ) ) // Stop the previous sound
pPage->SetStopSound( sal_True );
break;
}
@@ -1942,16 +1942,16 @@ String ImplSdPPTImport::ReadSound(UINT32 nSoundRef) const
// ueberpruefen, ob diese Sound-Datei schon
// existiert. Wenn nicht, exportiere diese
// in unser lokales Sound-Verzeichnis.
- BOOL bSoundExists = FALSE;
- List* pSoundList = new List();
+ BOOL bSoundExists = FALSE;
+ List* pSoundList = new List();
GalleryExplorer::FillObjList( GALLERY_THEME_SOUNDS, *pSoundList );
GalleryExplorer::FillObjList( GALLERY_THEME_USERSOUNDS, *pSoundList );
for( ULONG n = 0; ( n < pSoundList->Count() ) && !bSoundExists; n++ )
{
- INetURLObject aURL( *(String*)pSoundList->GetObject( n ) );
- String aSoundName( aURL.GetName() );
+ INetURLObject aURL( *(String*)pSoundList->GetObject( n ) );
+ String aSoundName( aURL.GetName() );
if( aSoundName == aRetval )
{
@@ -1971,8 +1971,8 @@ String ImplSdPPTImport::ReadSound(UINT32 nSoundRef) const
DffRecordHeader aSoundDataRecHd;
if ( SeekToRec( rStCtrl, PPT_PST_SoundData, nStrLen, &aSoundDataRecHd, 0 ) )
{
- String aGalleryDir( SvtPathOptions().GetGalleryPath() );
- INetURLObject aGalleryUserSound( aGalleryDir.GetToken( aGalleryDir.GetTokenCount( ';' ) - 1 ) );
+ String aGalleryDir( SvtPathOptions().GetGalleryPath() );
+ INetURLObject aGalleryUserSound( aGalleryDir.GetToken( aGalleryDir.GetTokenCount( ';' ) - 1 ) );
aGalleryUserSound.Append( aRetval );
UINT32 nSoundDataLen = aSoundDataRecHd.nRecLen;
@@ -2086,51 +2086,51 @@ void ImplSdPPTImport::FillSdAnimationInfo( SdAnimationInfo* pInfo, PptInteractiv
// Lokale Informationen in pInfo eintragen
if( pIAtom->nSoundRef )
{
- pInfo->SetBookmark( ReadSound( pIAtom->nSoundRef ) ); // Pfad zum Soundfile in MSDOS-Notation
- pInfo->meClickAction = ::com::sun::star::presentation::ClickAction_SOUND; // RunProgramAction
+ pInfo->SetBookmark( ReadSound( pIAtom->nSoundRef ) ); // Pfad zum Soundfile in MSDOS-Notation
+ pInfo->meClickAction = ::com::sun::star::presentation::ClickAction_SOUND; // RunProgramAction
}
-// if ( nFlags & 0x01 ) // koennen wir nicht ( beim Anklicken markieren )
+// if ( nFlags & 0x01 ) // koennen wir nicht ( beim Anklicken markieren )
switch ( pIAtom->nAction )
{
-// case 0x01 : // MacroAction
-// {
-// pInfo->meClickAction = ::com::sun::star::presentation::::com::sun::star::presentation::ClickAction_MACRO;
-// // aMacro liegt in folgender Form vor:
-// // "Macroname.Modulname.Libname.Dokumentname" oder
-// // "Macroname.Modulname.Libname.Applikationsname"
-// pInfo->maBookmark = aMacroName;
-// }
-// break;
- case 0x02 : // RunProgramAction
+// case 0x01 : // MacroAction
+// {
+// pInfo->meClickAction = ::com::sun::star::presentation::::com::sun::star::presentation::ClickAction_MACRO;
+// // aMacro liegt in folgender Form vor:
+// // "Macroname.Modulname.Libname.Dokumentname" oder
+// // "Macroname.Modulname.Libname.Applikationsname"
+// pInfo->maBookmark = aMacroName;
+// }
+// break;
+ case 0x02 : // RunProgramAction
{
pInfo->meClickAction = ::com::sun::star::presentation::ClickAction_PROGRAM;
- pInfo->SetBookmark( aMacroName ); // Programmname in aBookmark
+ pInfo->SetBookmark( aMacroName ); // Programmname in aBookmark
}
break;
- case 0x03 : // JumpAction
+ case 0x03 : // JumpAction
{
switch( pIAtom->nJump )
{
case 0x01 :
- pInfo->meClickAction = ::com::sun::star::presentation::ClickAction_NEXTPAGE; // Next slide
+ pInfo->meClickAction = ::com::sun::star::presentation::ClickAction_NEXTPAGE; // Next slide
break;
case 0x02 :
- pInfo->meClickAction = ::com::sun::star::presentation::ClickAction_PREVPAGE; // Previous slide
+ pInfo->meClickAction = ::com::sun::star::presentation::ClickAction_PREVPAGE; // Previous slide
break;
case 0x03 :
- pInfo->meClickAction = ::com::sun::star::presentation::ClickAction_FIRSTPAGE; // First slide
+ pInfo->meClickAction = ::com::sun::star::presentation::ClickAction_FIRSTPAGE; // First slide
break;
case 0x04 :
- pInfo->meClickAction = ::com::sun::star::presentation::ClickAction_LASTPAGE; // last Slide
+ pInfo->meClickAction = ::com::sun::star::presentation::ClickAction_LASTPAGE; // last Slide
break;
case 0x05 :
- pInfo->meClickAction = ::com::sun::star::presentation::ClickAction_PREVPAGE; // Last slide viewed
+ pInfo->meClickAction = ::com::sun::star::presentation::ClickAction_PREVPAGE; // Last slide viewed
break;
case 0x06 :
pInfo->meClickAction = ::com::sun::star::presentation::ClickAction_STOPPRESENTATION; // End show
break;
default :
- pInfo->meClickAction = ::com::sun::star::presentation::ClickAction_NONE; // 0x00: no action, else unknown
+ pInfo->meClickAction = ::com::sun::star::presentation::ClickAction_NONE; // 0x00: no action, else unknown
break;
}
}
@@ -2148,7 +2148,7 @@ void ImplSdPPTImport::FillSdAnimationInfo( SdAnimationInfo* pInfo, PptInteractiv
switch( pIAtom->nHyperlinkType )
{
case 9:
- case 8: // hyperlink : URL
+ case 8: // hyperlink : URL
{
if ( pPtr->aTarget.Len() )
{
@@ -2172,7 +2172,7 @@ void ImplSdPPTImport::FillSdAnimationInfo( SdAnimationInfo* pInfo, PptInteractiv
case 10:
break;
- case 7: // hyperlink auf eine Seite
+ case 7: // hyperlink auf eine Seite
{
if ( pPtr->aConvSubString.Len() )
{
@@ -2185,10 +2185,10 @@ void ImplSdPPTImport::FillSdAnimationInfo( SdAnimationInfo* pInfo, PptInteractiv
}
}
break;
- case 0x05 : // OLEAction ( OLEVerb to use, 0==first, 1==secnd, .. )
- case 0x06 : // MediaAction
- case 0x07 : // CustomShowAction
- default : // 0x00: no action, else unknown action
+ case 0x05 : // OLEAction ( OLEVerb to use, 0==first, 1==secnd, .. )
+ case 0x06 : // MediaAction
+ case 0x07 : // CustomShowAction
+ default : // 0x00: no action, else unknown action
break;
}
}
@@ -2196,9 +2196,9 @@ void ImplSdPPTImport::FillSdAnimationInfo( SdAnimationInfo* pInfo, PptInteractiv
SdrObject* ImplSdPPTImport::ApplyTextObj( PPTTextObj* pTextObj, SdrTextObj* pObj, SdPage* pPage,
SfxStyleSheet* pSheet, SfxStyleSheet** ppStyleSheetAry ) const
{
- SfxStyleSheet* pStyleSheetAry[ 9 ];
- SdrTextObj* pText = pObj;
- SdrObject* pRet = pText;
+ SfxStyleSheet* pStyleSheetAry[ 9 ];
+ SdrTextObj* pText = pObj;
+ SdrObject* pRet = pText;
ppStyleSheetAry = NULL;
@@ -2217,7 +2217,7 @@ SdrObject* ImplSdPPTImport::ApplyTextObj( PPTTextObj* pTextObj, SdrTextObj* pObj
aPresentationText = pPage->GetPresObjText( ePresKind );
}
break;
- case PPT_PLACEHOLDER_MASTERBODY :
+ case PPT_PLACEHOLDER_MASTERBODY :
{
ePresKind = PRESOBJ_OUTLINE;
aPresentationText = pPage->GetPresObjText( ePresKind );
@@ -2235,10 +2235,10 @@ SdrObject* ImplSdPPTImport::ApplyTextObj( PPTTextObj* pTextObj, SdrTextObj* pObj
aPresentationText = pPage->GetPresObjText( ePresKind );
}
break;
- case PPT_PLACEHOLDER_MASTERDATE : ePresKind = PRESOBJ_DATETIME; break;
- case PPT_PLACEHOLDER_MASTERSLIDENUMBER : ePresKind = PRESOBJ_SLIDENUMBER;break;
- case PPT_PLACEHOLDER_MASTERFOOTER : ePresKind = PRESOBJ_FOOTER; break;
- case PPT_PLACEHOLDER_MASTERHEADER : ePresKind = PRESOBJ_HEADER; break;
+ case PPT_PLACEHOLDER_MASTERDATE : ePresKind = PRESOBJ_DATETIME; break;
+ case PPT_PLACEHOLDER_MASTERSLIDENUMBER : ePresKind = PRESOBJ_SLIDENUMBER;break;
+ case PPT_PLACEHOLDER_MASTERFOOTER : ePresKind = PRESOBJ_FOOTER; break;
+ case PPT_PLACEHOLDER_MASTERHEADER : ePresKind = PRESOBJ_HEADER; break;
}
}
switch ( pTextObj->GetDestinationInstance() )
@@ -2395,15 +2395,15 @@ SdrObject* ImplSdPPTImport::ApplyTextObj( PPTTextObj* pTextObj, SdrTextObj* pObj
bEmptyPresObj = sal_False;
switch ( nPlaceholderId )
{
- case PPT_PLACEHOLDER_NOTESBODY : ePresObjKind = PRESOBJ_NOTES; break;
+ case PPT_PLACEHOLDER_NOTESBODY : ePresObjKind = PRESOBJ_NOTES; break;
case PPT_PLACEHOLDER_VERTICALTEXTTITLE :
bVertical = sal_True; // PASSTHROUGH !!!
- case PPT_PLACEHOLDER_TITLE : ePresObjKind = PRESOBJ_TITLE; break;
+ case PPT_PLACEHOLDER_TITLE : ePresObjKind = PRESOBJ_TITLE; break;
case PPT_PLACEHOLDER_VERTICALTEXTBODY :
bVertical = sal_True; // PASSTHROUGH !!!
- case PPT_PLACEHOLDER_BODY : ePresObjKind = PRESOBJ_OUTLINE; break;
- case PPT_PLACEHOLDER_CENTEREDTITLE : ePresObjKind = PRESOBJ_TITLE; break;
- case PPT_PLACEHOLDER_SUBTITLE : ePresObjKind = PRESOBJ_TEXT; break; // PRESOBJ_OUTLINE
+ case PPT_PLACEHOLDER_BODY : ePresObjKind = PRESOBJ_OUTLINE; break;
+ case PPT_PLACEHOLDER_CENTEREDTITLE : ePresObjKind = PRESOBJ_TITLE; break;
+ case PPT_PLACEHOLDER_SUBTITLE : ePresObjKind = PRESOBJ_TEXT; break; // PRESOBJ_OUTLINE
default :
{
@@ -2460,7 +2460,7 @@ SdrObject* ImplSdPPTImport::ApplyTextObj( PPTTextObj* pTextObj, SdrTextObj* pObj
Rectangle aTitleRect;
Rectangle aOutlineRect;
- Size aOutlineSize;
+ Size aOutlineSize;
if ( pTitleObj )
aTitleRect = pTitleObj->GetLogicRect();
@@ -2470,11 +2470,11 @@ SdrObject* ImplSdPPTImport::ApplyTextObj( PPTTextObj* pTextObj, SdrTextObj* pObj
aOutlineSize = aOutlineRect.GetSize();
}
Rectangle aLogicRect( pPresObj->GetLogicRect() );
- Size aLogicSize( aLogicRect.GetSize() );
+ Size aLogicSize( aLogicRect.GetSize() );
switch ( pSlideLayout->aPlacementId[ i ] )
{
- case 0 : // Lage im Titelbereich
+ case 0 : // Lage im Titelbereich
{
if ( aLogicRect != aTitleRect )
pPresObj->SetUserCall( NULL );
@@ -2484,23 +2484,23 @@ SdrObject* ImplSdPPTImport::ApplyTextObj( PPTTextObj* pTextObj, SdrTextObj* pObj
case 1:
{
if ( pSlideLayout->eLayout == PPT_LAYOUT_TITLEANDBODYSLIDE )
- { // Lage im Outlinebereich
+ { // Lage im Outlinebereich
if ( aLogicRect != aOutlineRect )
pPresObj->SetUserCall( NULL );
}
else if ( pSlideLayout->eLayout == PPT_LAYOUT_2COLUMNSANDTITLE )
- { // Lage im Outlinebereich links
- if (Abs(aLogicRect.Left() - aOutlineRect.Left()) > MAX_USER_MOVE ||
- Abs(aLogicRect.Top() - aOutlineRect.Top()) > MAX_USER_MOVE ||
+ { // Lage im Outlinebereich links
+ if (Abs(aLogicRect.Left() - aOutlineRect.Left()) > MAX_USER_MOVE ||
+ Abs(aLogicRect.Top() - aOutlineRect.Top()) > MAX_USER_MOVE ||
Abs(aLogicRect.Bottom() - aOutlineRect.Bottom()) > MAX_USER_MOVE ||
- aLogicSize.Width() / aOutlineSize.Width() < 0.48 ||
- aLogicSize.Width() / aOutlineSize.Width() > 0.5)
+ aLogicSize.Width() / aOutlineSize.Width() < 0.48 ||
+ aLogicSize.Width() / aOutlineSize.Width() > 0.5)
{
pPresObj->SetUserCall(NULL);
}
}
else if ( pSlideLayout->eLayout == PPT_LAYOUT_2ROWSANDTITLE )
- { // Lage im Outlinebereich oben
+ { // Lage im Outlinebereich oben
if (Abs(aLogicRect.Left() - aOutlineRect.Left()) > MAX_USER_MOVE ||
Abs(aLogicRect.Top() - aOutlineRect.Top()) > MAX_USER_MOVE ||
Abs(aLogicRect.Right() - aOutlineRect.Right()) > MAX_USER_MOVE)
@@ -2510,7 +2510,7 @@ SdrObject* ImplSdPPTImport::ApplyTextObj( PPTTextObj* pTextObj, SdrTextObj* pObj
}
else if (Abs(aLogicRect.Left() - aOutlineRect.Left()) > MAX_USER_MOVE ||
Abs(aLogicRect.Top() - aOutlineRect.Top()) > MAX_USER_MOVE)
- { // Lage im Outlinebereich links oben
+ { // Lage im Outlinebereich links oben
pPresObj->SetUserCall( NULL );
}
}
@@ -2519,36 +2519,36 @@ SdrObject* ImplSdPPTImport::ApplyTextObj( PPTTextObj* pTextObj, SdrTextObj* pObj
case 2:
{
if ( pSlideLayout->eLayout == PPT_LAYOUT_2COLUMNSANDTITLE )
- { // Lage im Outlinebereich rechts
- if (Abs(aLogicRect.Right() - aOutlineRect.Right()) > MAX_USER_MOVE ||
- Abs(aLogicRect.Top() - aOutlineRect.Top()) > MAX_USER_MOVE ||
+ { // Lage im Outlinebereich rechts
+ if (Abs(aLogicRect.Right() - aOutlineRect.Right()) > MAX_USER_MOVE ||
+ Abs(aLogicRect.Top() - aOutlineRect.Top()) > MAX_USER_MOVE ||
Abs(aLogicRect.Bottom() - aOutlineRect.Bottom()) > MAX_USER_MOVE ||
- aLogicSize.Width() / aOutlineSize.Width() < 0.48 ||
- aLogicSize.Width() / aOutlineSize.Width() > 0.5)
+ aLogicSize.Width() / aOutlineSize.Width() < 0.48 ||
+ aLogicSize.Width() / aOutlineSize.Width() > 0.5)
{
pPresObj->SetUserCall( NULL );
}
}
else if ( pSlideLayout->eLayout == PPT_LAYOUT_2ROWSANDTITLE )
- { // Lage im Outlinebereich unten
- if (Abs(aLogicRect.Left() - aOutlineRect.Left()) > MAX_USER_MOVE ||
+ { // Lage im Outlinebereich unten
+ if (Abs(aLogicRect.Left() - aOutlineRect.Left()) > MAX_USER_MOVE ||
Abs(aLogicRect.Bottom() - aOutlineRect.Bottom()) > MAX_USER_MOVE ||
- Abs(aLogicRect.Right() - aOutlineRect.Right()) > MAX_USER_MOVE)
+ Abs(aLogicRect.Right() - aOutlineRect.Right()) > MAX_USER_MOVE)
{
pPresObj->SetUserCall( NULL );
}
}
else if (Abs(aLogicRect.Right() - aOutlineRect.Right()) > MAX_USER_MOVE ||
- Abs(aLogicRect.Top() - aOutlineRect.Top()) > MAX_USER_MOVE)
- { // Lage im Outlinebereich rechts oben
+ Abs(aLogicRect.Top() - aOutlineRect.Top()) > MAX_USER_MOVE)
+ { // Lage im Outlinebereich rechts oben
pPresObj->SetUserCall(NULL);
}
}
break;
case 3:
- { // Lage im Outlinebereich links unten
- if (Abs(aLogicRect.Left() - aOutlineRect.Left()) > MAX_USER_MOVE ||
+ { // Lage im Outlinebereich links unten
+ if (Abs(aLogicRect.Left() - aOutlineRect.Left()) > MAX_USER_MOVE ||
Abs(aLogicRect.Bottom() - aOutlineRect.Bottom()) > MAX_USER_MOVE)
{
pPresObj->SetUserCall( NULL );
@@ -2557,8 +2557,8 @@ SdrObject* ImplSdPPTImport::ApplyTextObj( PPTTextObj* pTextObj, SdrTextObj* pObj
break;
case 4:
- { // Lage im Outlinebereich rechts unten
- if (Abs(aLogicRect.Right() - aOutlineRect.Right()) > MAX_USER_MOVE ||
+ { // Lage im Outlinebereich rechts unten
+ if (Abs(aLogicRect.Right() - aOutlineRect.Right()) > MAX_USER_MOVE ||
Abs(aLogicRect.Bottom() - aOutlineRect.Bottom()) > MAX_USER_MOVE)
{
pObj->SetUserCall( NULL );
@@ -2567,7 +2567,7 @@ SdrObject* ImplSdPPTImport::ApplyTextObj( PPTTextObj* pTextObj, SdrTextObj* pObj
break;
}
}
- pRet = NULL; // return zero cause this obj was already inserted by CreatePresObj
+ pRet = NULL; // return zero cause this obj was already inserted by CreatePresObj
}
}
else if ( !pTextObj->Count() )
@@ -2711,7 +2711,7 @@ SdrObject* ImplSdPPTImport::ProcessObj( SvStream& rSt, DffObjData& rObjData, voi
}
//--
- SdrObject::Free( pObj ), pObj = pMediaObj; // SJ: hoping that pObj is not inserted in any list
+ SdrObject::Free( pObj ), pObj = pMediaObj; // SJ: hoping that pObj is not inserted in any list
pMediaObj->setURL( aMediaURL );
}
}
diff --git a/sd/source/filter/ppt/pptin.hxx b/sd/source/filter/ppt/pptin.hxx
index f45505d75e1f..f7bebc216285 100644
--- a/sd/source/filter/ppt/pptin.hxx
+++ b/sd/source/filter/ppt/pptin.hxx
@@ -2,7 +2,7 @@
/*************************************************************************
*
* 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
@@ -57,34 +57,34 @@ typedef std::vector< std::pair< SdrObject*, Ppt97AnimationPtr > > tAnimationVect
class ImplSdPPTImport : public SdrPowerPointImport
{
- SfxMedium& mrMed;
- SvStorage& mrStorage;
-// SvStream* mpPicStream;
- DffRecordHeader maDocHd;
- List maSlideNameList;
- BOOL mbDocumentFound;
- sal_uInt32 mnFilterOptions;
- SdDrawDocument* mpDoc;
- PresChange mePresChange;
- SdrLayerID mnBackgroundLayerID;
- SdrLayerID mnBackgroundObjectsLayerID;
+ SfxMedium& mrMed;
+ SvStorage& mrStorage;
+// SvStream* mpPicStream;
+ DffRecordHeader maDocHd;
+ List maSlideNameList;
+ BOOL mbDocumentFound;
+ sal_uInt32 mnFilterOptions;
+ SdDrawDocument* mpDoc;
+ PresChange mePresChange;
+ SdrLayerID mnBackgroundLayerID;
+ SdrLayerID mnBackgroundObjectsLayerID;
tAnimationMap maAnimations;
- void SetHeaderFooterPageSettings( SdPage* pPage, const PptSlidePersistEntry* pMasterPersist );
- void ImportPageEffect( SdPage* pPage, const sal_Bool bNewAnimationsUsed );
+ void SetHeaderFooterPageSettings( SdPage* pPage, const PptSlidePersistEntry* pMasterPersist );
+ void ImportPageEffect( SdPage* pPage, const sal_Bool bNewAnimationsUsed );
void FillSdAnimationInfo( SdAnimationInfo* pInfo, PptInteractiveInfoAtom* pIAtom, String aMacroName );
- virtual SdrObject* ProcessObj( SvStream& rSt, DffObjData& rData, void* pData, Rectangle& rTextRect, SdrObject* pObj );
- virtual SdrObject* ApplyTextObj( PPTTextObj* pTextObj, SdrTextObj* pText, SdPage* pPage,
+ virtual SdrObject* ProcessObj( SvStream& rSt, DffObjData& rData, void* pData, Rectangle& rTextRect, SdrObject* pObj );
+ virtual SdrObject* ApplyTextObj( PPTTextObj* pTextObj, SdrTextObj* pText, SdPage* pPage,
SfxStyleSheet*, SfxStyleSheet** ) const;
public:
- String ReadSound( sal_uInt32 nSoundRef ) const;
- String ReadMedia( sal_uInt32 nMediaRef ) const;
-
+ String ReadSound( sal_uInt32 nSoundRef ) const;
+ String ReadMedia( sal_uInt32 nMediaRef ) const;
+
ImplSdPPTImport( SdDrawDocument* pDoc, SvStorage& rStorage, SfxMedium& rMed, PowerPointImportParam& );
~ImplSdPPTImport();
diff --git a/sd/source/filter/ppt/pptinanimations.cxx b/sd/source/filter/ppt/pptinanimations.cxx
index 21a776ef77c1..8e13691fa848 100644
--- a/sd/source/filter/ppt/pptinanimations.cxx
+++ b/sd/source/filter/ppt/pptinanimations.cxx
@@ -2,7 +2,7 @@
/*************************************************************************
*
* 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
@@ -266,7 +266,7 @@ void AnimationImporter::import( const Reference< XDrawPage >& xPage, const DffRe
processAfterEffectNodes();
}
}
-
+
#ifdef DBG_ANIM_LOG
fclose( mpFile );
#endif
@@ -367,7 +367,7 @@ static bool is_random( const AnimationNode& rNode, const PropertySet& rSet, sal_
switch( nPresetClass )
{
- case DFF_ANIM_PRESS_CLASS_ENTRANCE: rPresetClass = EffectPresetClass::ENTRANCE; return true;
+ case DFF_ANIM_PRESS_CLASS_ENTRANCE: rPresetClass = EffectPresetClass::ENTRANCE; return true;
case DFF_ANIM_PRESS_CLASS_EXIT: rPresetClass = EffectPresetClass::EXIT; return true;
}
return false;
@@ -423,7 +423,7 @@ void AnimationImporter::importAnimationContainer( const Atom* pAtom, const Refer
dump( "<par" );
dump( aNode );
dump( aSet );
- importTimeContainer( pAtom, xNode );
+ importTimeContainer( pAtom, xNode );
dump( "</par>\n" );
// for iteration containers, map target from childs to iteration
@@ -474,7 +474,7 @@ void AnimationImporter::importAnimationContainer( const Atom* pAtom, const Refer
dump( "<seq" );
dump( aNode );
dump( aSet );
- importTimeContainer( pAtom, xNode );
+ importTimeContainer( pAtom, xNode );
dump( "</seq>\n" );
if( aSet.hasProperty( DFF_ANIM_NODE_TYPE ) )
@@ -555,7 +555,7 @@ void AnimationImporter::importAnimationContainer( const Atom* pAtom, const Refer
dump( "<audio" );
dump( aNode );
dump( aSet );
- importAudioContainer( pAtom, xNode );
+ importAudioContainer( pAtom, xNode );
dump( "</audio>\n" );
}
break;
@@ -814,7 +814,7 @@ bool AnimationImporter::convertAnimationNode( const Reference< XAnimationNode >&
if( nMasterRel != 2 )
{
Event aEvent;
-
+
aEvent.Source <<= xParent;
aEvent.Trigger = EventTrigger::END_EVENT;
aEvent.Repeat = 0;
@@ -1086,7 +1086,7 @@ static OUString getConvertedSubType( sal_Int16 nPresetClass, sal_Int32 nPresetId
// strips
switch( nPresetSubType )
{
- case 3: pStr = "right-to-top"; break;
+ case 3: pStr = "right-to-top"; break;
case 6: pStr = "right-to-bottom"; break;
case 9: pStr = "left-to-top"; break;
case 12: pStr = "left-to-bottom"; break;
@@ -1185,11 +1185,11 @@ void AnimationImporter::fillNode( Reference< XAnimationNode >& xNode, const Anim
sal_Int16 nNodeType = ::com::sun::star::presentation::EffectNodeType::DEFAULT;
switch( nPPTNodeType )
{
- case DFF_ANIM_NODE_TYPE_ON_CLICK: nNodeType = ::com::sun::star::presentation::EffectNodeType::ON_CLICK; break;
- case DFF_ANIM_NODE_TYPE_WITH_PREVIOUS: nNodeType = ::com::sun::star::presentation::EffectNodeType::WITH_PREVIOUS; break;
- case DFF_ANIM_NODE_TYPE_AFTER_PREVIOUS: nNodeType = ::com::sun::star::presentation::EffectNodeType::AFTER_PREVIOUS; break;
- case DFF_ANIM_NODE_TYPE_MAIN_SEQUENCE: nNodeType = ::com::sun::star::presentation::EffectNodeType::MAIN_SEQUENCE; break;
- case DFF_ANIM_NODE_TYPE_TIMING_ROOT: nNodeType = ::com::sun::star::presentation::EffectNodeType::TIMING_ROOT; break;
+ case DFF_ANIM_NODE_TYPE_ON_CLICK: nNodeType = ::com::sun::star::presentation::EffectNodeType::ON_CLICK; break;
+ case DFF_ANIM_NODE_TYPE_WITH_PREVIOUS: nNodeType = ::com::sun::star::presentation::EffectNodeType::WITH_PREVIOUS; break;
+ case DFF_ANIM_NODE_TYPE_AFTER_PREVIOUS: nNodeType = ::com::sun::star::presentation::EffectNodeType::AFTER_PREVIOUS; break;
+ case DFF_ANIM_NODE_TYPE_MAIN_SEQUENCE: nNodeType = ::com::sun::star::presentation::EffectNodeType::MAIN_SEQUENCE; break;
+ case DFF_ANIM_NODE_TYPE_TIMING_ROOT: nNodeType = ::com::sun::star::presentation::EffectNodeType::TIMING_ROOT; break;
case DFF_ANIM_NODE_TYPE_INTERACTIVE_SEQ:nNodeType = ::com::sun::star::presentation::EffectNodeType::INTERACTIVE_SEQUENCE; break;
}
@@ -1222,12 +1222,12 @@ void AnimationImporter::fillNode( Reference< XAnimationNode >& xNode, const Anim
{
switch( nPresetClass )
{
- case DFF_ANIM_PRESS_CLASS_ENTRANCE: nEffectPresetClass = EffectPresetClass::ENTRANCE; break;
- case DFF_ANIM_PRESS_CLASS_EXIT: nEffectPresetClass = EffectPresetClass::EXIT; break;
- case DFF_ANIM_PRESS_CLASS_EMPHASIS: nEffectPresetClass = EffectPresetClass::EMPHASIS; break;
- case DFF_ANIM_PRESS_CLASS_MOTIONPATH: nEffectPresetClass = EffectPresetClass::MOTIONPATH; break;
- case DFF_ANIM_PRESS_CLASS_OLE_ACTION: nEffectPresetClass = EffectPresetClass::OLEACTION; break;
- case DFF_ANIM_PRESS_CLASS_MEDIACALL: nEffectPresetClass = EffectPresetClass::MEDIACALL; break;
+ case DFF_ANIM_PRESS_CLASS_ENTRANCE: nEffectPresetClass = EffectPresetClass::ENTRANCE; break;
+ case DFF_ANIM_PRESS_CLASS_EXIT: nEffectPresetClass = EffectPresetClass::EXIT; break;
+ case DFF_ANIM_PRESS_CLASS_EMPHASIS: nEffectPresetClass = EffectPresetClass::EMPHASIS; break;
+ case DFF_ANIM_PRESS_CLASS_MOTIONPATH: nEffectPresetClass = EffectPresetClass::MOTIONPATH; break;
+ case DFF_ANIM_PRESS_CLASS_OLE_ACTION: nEffectPresetClass = EffectPresetClass::OLEACTION; break;
+ case DFF_ANIM_PRESS_CLASS_MEDIACALL: nEffectPresetClass = EffectPresetClass::MEDIACALL; break;
}
sal_Int32 nSize = aUserData.getLength();
aUserData.realloc(nSize+1);
@@ -1343,7 +1343,7 @@ void AnimationImporter::fillNode( Reference< XAnimationNode >& xNode, const Anim
if( aString.getLength() )
{
sal_Int32 nElements = 1; // a non empty string has at least one value
-
+
sal_Int32 fromIndex = 0;
while(true)
{
@@ -1354,7 +1354,7 @@ void AnimationImporter::fillNode( Reference< XAnimationNode >& xNode, const Anim
fromIndex++;
nElements++;
}
-
+
Sequence< TimeFilterPair > aTimeFilter( nElements );
TimeFilterPair* pValues = aTimeFilter.getArray();
@@ -1373,7 +1373,7 @@ void AnimationImporter::fillNode( Reference< XAnimationNode >& xNode, const Anim
}
xAnim->setTimeFilter( aTimeFilter );
- }
+ }
}
}
@@ -1480,7 +1480,7 @@ void AnimationImporter::importTimeContainer( const Atom* pAtom, const Reference<
switch( nTextUnitEffect )
{
case 1: nIterateType = TextAnimationType::BY_WORD; break;
- case 2: nIterateType = TextAnimationType::BY_LETTER; break;
+ case 2: nIterateType = TextAnimationType::BY_LETTER; break;
}
xIter->setIterateType( nIterateType );
xIter->setIterateInterval( (double)fInterval );
@@ -1518,7 +1518,7 @@ void AnimationImporter::importTimeContainer( const Atom* pAtom, const Reference<
pChildAtom = pAtom->findNextChildAtom( pChildAtom );
}
- }
+ }
}
// --------------------------------------------------------------------
@@ -1572,7 +1572,7 @@ void AnimationImporter::importAnimationNodeContainer( const Atom* pAtom, const R
case DFF_msofbtAnimateMotion:
importAnimateMotionContainer( pChildAtom, xNode );
break;
-
+
case DFF_msofbtAnimCommand:
importCommandContainer( pChildAtom, xNode );
break;
@@ -1587,8 +1587,8 @@ void AnimationImporter::importAnimationNodeContainer( const Atom* pAtom, const R
}
pChildAtom = pAtom->findNextChildAtom( pChildAtom );
- }
- }
+ }
+ }
}
// --------------------------------------------------------------------
@@ -1739,7 +1739,7 @@ void AnimationImporter::importAnimateAttributeTargetContainer( const Atom* pAtom
sal_Int16 nTemp = AnimationAdditiveMode::BASE;
switch( nAdditive )
{
- case 1: nTemp = AnimationAdditiveMode::SUM; break;
+ case 1: nTemp = AnimationAdditiveMode::SUM; break;
case 2: nTemp = AnimationAdditiveMode::REPLACE; break;
case 3: nTemp = AnimationAdditiveMode::MULTIPLY; break;
case 4: nTemp = AnimationAdditiveMode::NONE; break;
@@ -2246,7 +2246,7 @@ void AnimationImporter::importCommandContainer( const Atom* pAtom, const Referen
switch( nType )
{
- case 0: // event
+ case 0: // event
case 1: // call
if( aParam.equalsAsciiL( RTL_CONSTASCII_STRINGPARAM( "onstopaudio" ) ) )
{
@@ -2544,7 +2544,7 @@ void AnimationImporter::importAnimateRotationContainer( const Atom* pAtom, const
pChildAtom = pAtom->findNextChildAtom( pChildAtom );
}
- }
+ }
}
// --------------------------------------------------------------------
@@ -2756,8 +2756,8 @@ void AnimationImporter::importAnimateKeyPoints( const Atom* pAtom, const Referen
dump( ";" );
if( aValues[i] >>= aStr )
- dump( "%s",
- ::rtl::OUStringToOString( aStr,
+ dump( "%s",
+ ::rtl::OUStringToOString( aStr,
RTL_TEXTENCODING_ASCII_US ).getStr() );
else if( aValues[i] >>= nVal )
dump( "%f", nVal );
@@ -2768,8 +2768,8 @@ void AnimationImporter::importAnimateKeyPoints( const Atom* pAtom, const Referen
if( aValues[i] >>= aValuePair )
{
if( aValuePair.First >>= aStr )
- dump( "%s",
- ::rtl::OUStringToOString( aStr,
+ dump( "%s",
+ ::rtl::OUStringToOString( aStr,
RTL_TEXTENCODING_ASCII_US ).getStr() );
else if( aValuePair.First >>= nVal )
dump( "%f", nVal );
@@ -2777,8 +2777,8 @@ void AnimationImporter::importAnimateKeyPoints( const Atom* pAtom, const Referen
dump( "%X", (sal_Int32)&aValuePair.First );
if( aValuePair.Second >>= aStr )
- dump( ",%s",
- ::rtl::OUStringToOString( aStr,
+ dump( ",%s",
+ ::rtl::OUStringToOString( aStr,
RTL_TEXTENCODING_ASCII_US ).getStr() );
else if( aValuePair.Second >>= nVal )
dump( ",%f", nVal );
@@ -2827,7 +2827,7 @@ bool AnimationImporter::importAttributeValue( const Atom* pAtom, Any& rAny )
break;
case DFF_ANIM_PROP_TYPE_INT32 :
- {
+ {
if ( nRecLen == 5 )
{
sal_uInt32 nInt32;
@@ -3067,10 +3067,10 @@ sal_Int32 AnimationImporter::importTargetElementContainer( const Atom* pAtom, An
switch( nRefMode )
{
-// default case 0: rSubType = ShapeAnimationSubType::AS_WHOLE; break;
+// default case 0: rSubType = ShapeAnimationSubType::AS_WHOLE; break;
case 6: rSubType = ShapeAnimationSubType::ONLY_BACKGROUND; break;
case 8: rSubType = ShapeAnimationSubType::ONLY_TEXT; break;
- case 2: // one paragraph
+ case 2: // one paragraph
{
if( ((begin == -1) && (end == -1)) || !pSdrObject->ISA( SdrTextObj ) )
break;
@@ -3113,7 +3113,7 @@ sal_Int32 AnimationImporter::importTargetElementContainer( const Atom* pAtom, An
case 2: // sound
{
- OUString aSoundURL( ((ImplSdPPTImport*)mpPPTImport)->ReadSound( nRefId ) );
+ OUString aSoundURL( ((ImplSdPPTImport*)mpPPTImport)->ReadSound( nRefId ) );
rTarget <<= aSoundURL;
dump( " srcRef=\"%s\"", aSoundURL );
}
@@ -3133,14 +3133,14 @@ sal_Int32 AnimationImporter::importTargetElementContainer( const Atom* pAtom, An
}
-// dump( " ref=\"%s\"", nRefMode == 3 ? "source" : ( nRefMode == 0 ? "target" : "unknown" ) );
-// dump( " type=\"%s\"", nRefType == 1 ? "shape" : ( nRefType == 2 ? "sound": "unknown" ) );
-// dump( " id=\"%lu\"", (sal_Int32)nRefId );
+// dump( " ref=\"%s\"", nRefMode == 3 ? "source" : ( nRefMode == 0 ? "target" : "unknown" ) );
+// dump( " type=\"%s\"", nRefType == 1 ? "shape" : ( nRefType == 2 ? "sound": "unknown" ) );
+// dump( " id=\"%lu\"", (sal_Int32)nRefId );
#ifdef DBG_ANIM_LOG
if((begin != -1) || (end != -1) )
{
-// dump( " text_begin=\"%ld\"", begin );
-// dump( " text_end=\"%ld\"", end );
+// dump( " text_begin=\"%ld\"", begin );
+// dump( " text_end=\"%ld\"", end );
}
#endif
}
@@ -3149,9 +3149,9 @@ sal_Int32 AnimationImporter::importTargetElementContainer( const Atom* pAtom, An
{
sal_Int32 nU1;
mrStCtrl >> nU1;
-
+
// HINT: nU1 == 1 : target document. ?
-// dump( " unknown_0x2b01=\"%#lx\"", nU1 );
+// dump( " unknown_0x2b01=\"%#lx\"", nU1 );
}
break;
default:
@@ -3209,7 +3209,7 @@ void AnimationImporter::dump_atom_header( const Atom* pAtom, bool bOpen, bool bA
{
case DFF_msofbtAnimEvent: pTitle = "AnimEvent"; break;
case DFF_msofbtAnimTrigger: pTitle = "AnimTrigger"; break;
- case DFF_msofbtAnimateMotion: pTitle = "AnimateMotion"; break;
+ case DFF_msofbtAnimateMotion: pTitle = "AnimateMotion"; break;
case DFF_msofbtAnimPropertySet: pTitle = "AnimPropertySet"; break;
case DFF_msofbtAnimateAttributeNames: pTitle = "AnimAttributeName"; break;
case DFF_msofbtAnimAttributeValue: pTitle = "AnimAttributeValue"; break;
@@ -3244,7 +3244,7 @@ void AnimationImporter::dump_atom_header( const Atom* pAtom, bool bOpen, bool bA
{
fprintf(mpFile, "<%s", pTitle );
- fprintf(mpFile, " instance=\"%hu\"%s",
+ fprintf(mpFile, " instance=\"%hu\"%s",
pAtom->getInstance(),
bAppend ? "" : ">\n");
}
@@ -3325,7 +3325,7 @@ void AnimationImporter::dump_atom( const Atom* pAtom, bool bNewLine )
else
{
if( pChildAtom->seekToContent() )
- {
+ {
fprintf(mpFile, " value=\"" );
dump_atom( pChildAtom, false );
fprintf(mpFile, "\"");
@@ -3419,7 +3419,7 @@ void AnimationImporter::dump( const AnimationNode& rNode )
fprintf(mpFile," restart=\"%s\"",
rNode.mnRestart == 1 ? "always" : (rNode.mnRestart == 2 ? "whenOff" : (rNode.mnRestart == 3 ? "never" : "unknown")) );
}
-
+
if( rNode.mnFill )
{
fprintf(mpFile," fill=\"%s\"",
@@ -3436,7 +3436,7 @@ void AnimationImporter::dump( const AnimationNode& rNode )
{
fprintf(mpFile, " dur=\"indefinite\"" );
}
-
+
if( rNode.mnU1 ) fprintf(mpFile," u1=\"%#lx\"", rNode.mnU1);
if( rNode.mnU3 ) fprintf(mpFile," u3=\"%#lx\"", rNode.mnU3);
if( rNode.mnU4 ) fprintf(mpFile," u4=\"%#lx\"", rNode.mnU4);
@@ -3487,7 +3487,7 @@ void AnimationImporter::dump( Any& rAny )
}
else if( rAny >>= aEvent )
{
- static const char* triggers[] =
+ static const char* triggers[] =
{
"none","onbegin","onend","begin",
"end","onclick","ondoubleclick","onmouseenter",
@@ -3543,7 +3543,7 @@ void AnimationImporter::dump( const PropertySet& rSet )
break;
case DFF_ANIM_DIRECTION:
-// case DFF_ANIM_MASTERREL:
+// case DFF_ANIM_MASTERREL:
{
sal_Bool bDirection;
if( aAny >>= bDirection )
@@ -3557,13 +3557,13 @@ void AnimationImporter::dump( const PropertySet& rSet )
if( aAny >>= nMasterRel )
{
fprintf( mpFile, " direction=\"%s\"", nMasterRel == 0 ? "sameClick" : ( nMasterRel == 2 ? "nextClick" : "lastClick" ) );
- bKnown = true;
+ bKnown = true;
}
}
}
break;
- case DFF_ANIM_OVERRIDE: // TODO
+ case DFF_ANIM_OVERRIDE: // TODO
{
sal_Int32 nOverride;
if( aAny >>= nOverride )
@@ -3615,13 +3615,13 @@ void AnimationImporter::dump( const PropertySet& rSet )
const char* pMode;
switch( nPresetClass )
{
- case DFF_ANIM_PRESS_CLASS_USER_DEFINED: pMode = "userdefined"; break;
- case DFF_ANIM_PRESS_CLASS_ENTRANCE: pMode = "entrance"; break;
- case DFF_ANIM_PRESS_CLASS_EXIT: pMode = "exit"; break;
- case DFF_ANIM_PRESS_CLASS_EMPHASIS: pMode = "emphasis"; break;
- case DFF_ANIM_PRESS_CLASS_MOTIONPATH: pMode = "motionpath"; break;
- case DFF_ANIM_PRESS_CLASS_OLE_ACTION: pMode = "oleaction"; break;
- case DFF_ANIM_PRESS_CLASS_MEDIACALL: pMode = "mediacall"; break;
+ case DFF_ANIM_PRESS_CLASS_USER_DEFINED: pMode = "userdefined"; break;
+ case DFF_ANIM_PRESS_CLASS_ENTRANCE: pMode = "entrance"; break;
+ case DFF_ANIM_PRESS_CLASS_EXIT: pMode = "exit"; break;
+ case DFF_ANIM_PRESS_CLASS_EMPHASIS: pMode = "emphasis"; break;
+ case DFF_ANIM_PRESS_CLASS_MOTIONPATH: pMode = "motionpath"; break;
+ case DFF_ANIM_PRESS_CLASS_OLE_ACTION: pMode = "oleaction"; break;
+ case DFF_ANIM_PRESS_CLASS_MEDIACALL: pMode = "mediacall"; break;
default:
{
static char buffer[128];
@@ -3645,11 +3645,11 @@ void AnimationImporter::dump( const PropertySet& rSet )
const char* pNode;
switch( nNodeType )
{
- case DFF_ANIM_NODE_TYPE_ON_CLICK: pNode = "onclick"; break;
- case DFF_ANIM_NODE_TYPE_WITH_PREVIOUS: pNode = "withprevious"; break;
- case DFF_ANIM_NODE_TYPE_AFTER_PREVIOUS: pNode = "afterprevious"; break;
- case DFF_ANIM_NODE_TYPE_MAIN_SEQUENCE: pNode = "mainsequence"; break;
- case DFF_ANIM_NODE_TYPE_TIMING_ROOT: pNode = "timingroot"; break;
+ case DFF_ANIM_NODE_TYPE_ON_CLICK: pNode = "onclick"; break;
+ case DFF_ANIM_NODE_TYPE_WITH_PREVIOUS: pNode = "withprevious"; break;
+ case DFF_ANIM_NODE_TYPE_AFTER_PREVIOUS: pNode = "afterprevious"; break;
+ case DFF_ANIM_NODE_TYPE_MAIN_SEQUENCE: pNode = "mainsequence"; break;
+ case DFF_ANIM_NODE_TYPE_TIMING_ROOT: pNode = "timingroot"; break;
case DFF_ANIM_NODE_TYPE_INTERACTIVE_SEQ:pNode = "interactivesequence"; break;
default :
{
diff --git a/sd/source/filter/ppt/pptinanimations.hxx b/sd/source/filter/ppt/pptinanimations.hxx
index 4275904698ae..c984bea6d221 100644
--- a/sd/source/filter/ppt/pptinanimations.hxx
+++ b/sd/source/filter/ppt/pptinanimations.hxx
@@ -2,7 +2,7 @@
/*************************************************************************
*
* 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
@@ -48,7 +48,7 @@ class SvStream;
class ImplSdPPTImport;
namespace ppt
-{
+{
class PropertySet;
class Atom;
@@ -93,19 +93,19 @@ private:
void fixMainSequenceTiming( const ::com::sun::star::uno::Reference< ::com::sun::star::animations::XAnimationNode >& xNode );
void fixInteractiveSequenceTiming( const ::com::sun::star::uno::Reference< ::com::sun::star::animations::XAnimationNode >& xNode );
-
+
void processAfterEffectNodes();
- ::com::sun::star::uno::Any implGetColorAny( sal_Int32 nMode, sal_Int32 nA, sal_Int32 nB, sal_Int32 nC );
- sal_Int16 implGetColorSpace( sal_Int32 nMode, sal_Int32 nA, sal_Int32 nB, sal_Int32 nC );
+ ::com::sun::star::uno::Any implGetColorAny( sal_Int32 nMode, sal_Int32 nA, sal_Int32 nB, sal_Int32 nC );
+ sal_Int16 implGetColorSpace( sal_Int32 nMode, sal_Int32 nA, sal_Int32 nB, sal_Int32 nC );
private:
::com::sun::star::uno::Reference< ::com::sun::star::animations::XAnimationNode > mxRootNode;
ImplSdPPTImport* mpPPTImport;
- SvStream& mrStCtrl;
+ SvStream& mrStCtrl;
- sd::AfterEffectNodeList maAfterEffectNodes;
+ sd::AfterEffectNodeList maAfterEffectNodes;
#ifdef DBG_ANIM_LOG
FILE * mpFile;
diff --git a/sd/source/filter/ppt/propread.cxx b/sd/source/filter/ppt/propread.cxx
index e711263291c8..3da9b256f0b2 100644
--- a/sd/source/filter/ppt/propread.cxx
+++ b/sd/source/filter/ppt/propread.cxx
@@ -2,7 +2,7 @@
/*************************************************************************
*
* 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
@@ -38,32 +38,32 @@
struct PropEntry
{
- sal_uInt32 mnId;
- sal_uInt32 mnSize;
- sal_uInt16 mnTextEnc;
- sal_uInt8* mpBuf;
+ sal_uInt32 mnId;
+ sal_uInt32 mnSize;
+ sal_uInt16 mnTextEnc;
+ sal_uInt8* mpBuf;
PropEntry( sal_uInt32 nId, const sal_uInt8* pBuf, sal_uInt32 nBufSize, sal_uInt16 nTextEnc );
PropEntry( const PropEntry& rProp );
~PropEntry() { delete[] mpBuf; } ;
- const PropEntry& operator=(const PropEntry& rPropEntry);
+ const PropEntry& operator=(const PropEntry& rPropEntry);
};
PropEntry::PropEntry( sal_uInt32 nId, const sal_uInt8* pBuf, sal_uInt32 nBufSize, sal_uInt16 nTextEnc ) :
- mnId ( nId ),
- mnSize ( nBufSize ),
- mnTextEnc ( nTextEnc ),
- mpBuf ( new sal_uInt8[ nBufSize ] )
+ mnId ( nId ),
+ mnSize ( nBufSize ),
+ mnTextEnc ( nTextEnc ),
+ mpBuf ( new sal_uInt8[ nBufSize ] )
{
memcpy( (void*)mpBuf, (void*)pBuf, nBufSize );
};
PropEntry::PropEntry( const PropEntry& rProp ) :
- mnId ( rProp.mnId ),
- mnSize ( rProp.mnSize ),
- mnTextEnc ( rProp.mnTextEnc ),
- mpBuf ( new sal_uInt8[ mnSize ] )
+ mnId ( rProp.mnId ),
+ mnSize ( rProp.mnSize ),
+ mnTextEnc ( rProp.mnTextEnc ),
+ mpBuf ( new sal_uInt8[ mnSize ] )
{
memcpy( (void*)mpBuf, (void*)rProp.mpBuf, mnSize );
};
@@ -82,7 +82,7 @@ const PropEntry& PropEntry::operator=(const PropEntry& rPropEntry)
return *this;
}
-// -----------------------------------------------------------------------
+// -----------------------------------------------------------------------
void PropItem::Clear()
{
@@ -90,7 +90,7 @@ void PropItem::Clear()
delete[] (sal_uInt8*)SwitchBuffer();
}
-// -----------------------------------------------------------------------
+// -----------------------------------------------------------------------
static xub_StrLen lcl_getMaxSafeStrLen(sal_uInt32 nSize)
{
@@ -105,8 +105,8 @@ static xub_StrLen lcl_getMaxSafeStrLen(sal_uInt32 nSize)
BOOL PropItem::Read( String& rString, sal_uInt32 nStringType, sal_Bool bAlign )
{
- sal_uInt32 i, nItemSize, nType, nItemPos;
- sal_Bool bRetValue = sal_False;
+ sal_uInt32 i, nItemSize, nType, nItemPos;
+ sal_Bool bRetValue = sal_False;
nItemPos = Tell();
@@ -160,7 +160,7 @@ BOOL PropItem::Read( String& rString, sal_uInt32 nStringType, sal_Bool bAlign )
}
}
if ( bAlign )
- SeekRel( ( 4 - ( nItemSize & 3 ) ) & 3 ); // dword align
+ SeekRel( ( 4 - ( nItemSize & 3 ) ) & 3 ); // dword align
}
break;
@@ -189,7 +189,7 @@ BOOL PropItem::Read( String& rString, sal_uInt32 nStringType, sal_Bool bAlign )
}
}
if ( bAlign && ( nItemSize & 1 ) )
- SeekRel( 2 ); // dword align
+ SeekRel( 2 ); // dword align
}
break;
}
@@ -198,7 +198,7 @@ BOOL PropItem::Read( String& rString, sal_uInt32 nStringType, sal_Bool bAlign )
return bRetValue;
}
-// -----------------------------------------------------------------------
+// -----------------------------------------------------------------------
PropItem& PropItem::operator=( PropItem& rPropItem )
{
@@ -216,17 +216,17 @@ PropItem& PropItem::operator=( PropItem& rPropItem )
return *this;
}
-// -----------------------------------------------------------------------
+// -----------------------------------------------------------------------
struct Dict
{
- sal_uInt32 mnId;
- String aString;
+ sal_uInt32 mnId;
+ String aString;
Dict( sal_uInt32 nId, String rString ) { mnId = nId; aString = rString; };
};
-// -----------------------------------------------------------------------
+// -----------------------------------------------------------------------
Dictionary::~Dictionary()
{
@@ -234,11 +234,11 @@ Dictionary::~Dictionary()
delete (Dict*)pPtr;
}
-// -----------------------------------------------------------------------
+// -----------------------------------------------------------------------
void Dictionary::AddProperty( sal_uInt32 nId, const String& rString )
{
- if ( rString.Len() ) // eindeutige namen bei properties
+ if ( rString.Len() ) // eindeutige namen bei properties
{
// pruefen, ob es die Propertybeschreibung in der Dictionary schon gibt
for ( Dict* pDict = (Dict*)First(); pDict; pDict = (Dict*)Next() )
@@ -253,7 +253,7 @@ void Dictionary::AddProperty( sal_uInt32 nId, const String& rString )
}
}
-// -----------------------------------------------------------------------
+// -----------------------------------------------------------------------
UINT32 Dictionary::GetProperty( const String& rString )
{
@@ -265,7 +265,7 @@ UINT32 Dictionary::GetProperty( const String& rString )
return 0;
}
-// -----------------------------------------------------------------------
+// -----------------------------------------------------------------------
Dictionary& Dictionary::operator=( Dictionary& rDictionary )
{
@@ -282,7 +282,7 @@ Dictionary& Dictionary::operator=( Dictionary& rDictionary )
return *this;
}
-// -----------------------------------------------------------------------
+// -----------------------------------------------------------------------
Section::Section( Section& rSection )
: List()
@@ -294,7 +294,7 @@ Section::Section( Section& rSection )
Insert( new PropEntry( *pProp ), LIST_APPEND );
}
-// -----------------------------------------------------------------------
+// -----------------------------------------------------------------------
Section::Section( const sal_uInt8* pFMTID )
{
@@ -303,7 +303,7 @@ Section::Section( const sal_uInt8* pFMTID )
aFMTID[ i ] = pFMTID[ i ];
}
-// -----------------------------------------------------------------------
+// -----------------------------------------------------------------------
sal_Bool Section::GetProperty( sal_uInt32 nId, PropItem& rPropItem )
{
@@ -327,7 +327,7 @@ sal_Bool Section::GetProperty( sal_uInt32 nId, PropItem& rPropItem )
return sal_False;
}
-// -----------------------------------------------------------------------
+// -----------------------------------------------------------------------
void Section::AddProperty( sal_uInt32 nId, const sal_uInt8* pBuf, sal_uInt32 nBufSize )
{
@@ -353,7 +353,7 @@ void Section::AddProperty( sal_uInt32 nId, const sal_uInt8* pBuf, sal_uInt32 nBu
Insert( new PropEntry( nId, pBuf, nBufSize, mnTextEnc ), LIST_APPEND );
}
-// -----------------------------------------------------------------------
+// -----------------------------------------------------------------------
sal_Bool Section::GetDictionary( Dictionary& rDict )
{
@@ -412,7 +412,7 @@ sal_Bool Section::GetDictionary( Dictionary& rDict )
return bRetValue;
}
-// -----------------------------------------------------------------------
+// -----------------------------------------------------------------------
Section::~Section()
{
@@ -420,7 +420,7 @@ Section::~Section()
delete pProp;
}
-// -----------------------------------------------------------------------
+// -----------------------------------------------------------------------
void Section::Read( SvStorageStream *pStrm )
{
@@ -438,7 +438,7 @@ void Section::Read( SvStorageStream *pStrm )
*pStrm >> nPropId >> nPropOfs;
nCurrent = pStrm->Tell();
pStrm->Seek( nPropOfs + nSecOfs );
- if ( nPropId ) // dictionary wird nicht eingelesen
+ if ( nPropId ) // dictionary wird nicht eingelesen
{
*pStrm >> nPropType;
@@ -601,7 +601,7 @@ void Section::Read( SvStorageStream *pStrm )
pStrm->Seek( nSecOfs + nSecSize );
}
-// -----------------------------------------------------------------------
+// -----------------------------------------------------------------------
Section& Section::operator=( Section& rSection )
{
@@ -619,14 +619,14 @@ Section& Section::operator=( Section& rSection )
return *this;
}
-// -----------------------------------------------------------------------
+// -----------------------------------------------------------------------
PropRead::PropRead( SvStorage& rStorage, const String& rName ) :
- mbStatus ( sal_False ),
- mnByteOrder ( 0xfffe ),
- mnFormat ( 0 ),
- mnVersionLo ( 4 ),
- mnVersionHi ( 2 )
+ mbStatus ( sal_False ),
+ mnByteOrder ( 0xfffe ),
+ mnFormat ( 0 ),
+ mnVersionLo ( 4 ),
+ mnVersionHi ( 2 )
{
if ( rStorage.IsStream( rName ) )
{
@@ -640,14 +640,14 @@ PropRead::PropRead( SvStorage& rStorage, const String& rName ) :
}
}
-// -----------------------------------------------------------------------
+// -----------------------------------------------------------------------
void PropRead::AddSection( Section& rSection )
{
Insert( new Section( rSection ), LIST_APPEND );
}
-// -----------------------------------------------------------------------
+// -----------------------------------------------------------------------
const Section* PropRead::GetSection( const sal_uInt8* pFMTID )
{
@@ -661,7 +661,7 @@ const Section* PropRead::GetSection( const sal_uInt8* pFMTID )
return pSection;
}
-// -----------------------------------------------------------------------
+// -----------------------------------------------------------------------
PropRead::~PropRead()
{
@@ -669,7 +669,7 @@ PropRead::~PropRead()
delete pSection;
}
-// -----------------------------------------------------------------------
+// -----------------------------------------------------------------------
void PropRead::Read()
{
@@ -678,16 +678,16 @@ void PropRead::Read()
Clear();
if ( mbStatus )
{
- sal_uInt32 nSections;
- sal_uInt32 nSectionOfs;
- sal_uInt32 nCurrent;
+ sal_uInt32 nSections;
+ sal_uInt32 nSectionOfs;
+ sal_uInt32 nCurrent;
*mpSvStream >> mnByteOrder >> mnFormat >> mnVersionLo >> mnVersionHi;
if ( mnByteOrder == 0xfffe )
{
- sal_uInt8* pSectCLSID = new sal_uInt8[ 16 ];
+ sal_uInt8* pSectCLSID = new sal_uInt8[ 16 ];
mpSvStream->Read( mApplicationCLSID, 16 );
*mpSvStream >> nSections;
- if ( nSections > 2 ) // sj: PowerPoint documents are containing max 2 sections
+ if ( nSections > 2 ) // sj: PowerPoint documents are containing max 2 sections
{
mbStatus = sal_False;
}
@@ -707,7 +707,7 @@ void PropRead::Read()
}
}
-// -----------------------------------------------------------------------
+// -----------------------------------------------------------------------
PropRead& PropRead::operator=( PropRead& rPropRead )
{
diff --git a/sd/source/filter/ppt/propread.hxx b/sd/source/filter/ppt/propread.hxx
index b268fb3d019d..9ce6b9eb33f4 100644
--- a/sd/source/filter/ppt/propread.hxx
+++ b/sd/source/filter/ppt/propread.hxx
@@ -2,7 +2,7 @@
/*************************************************************************
*
* 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
@@ -39,86 +39,86 @@
#include <tools/string.hxx>
// SummaryInformation
-#define PID_TITLE 0x02
-#define PID_SUBJECT 0x03
-#define PID_AUTHOR 0x04
-#define PID_KEYWORDS 0x05
-#define PID_COMMENTS 0x06
-#define PID_TEMPLATE 0x07
-#define PID_LASTAUTHOR 0x08
-#define PID_REVNUMBER 0x09
-#define PID_EDITTIME 0x0a
-#define PID_LASTPRINTED_DTM 0x0b
-#define PID_CREATE_DTM 0x0c
-#define PID_LASTSAVED_DTM 0x0d
+#define PID_TITLE 0x02
+#define PID_SUBJECT 0x03
+#define PID_AUTHOR 0x04
+#define PID_KEYWORDS 0x05
+#define PID_COMMENTS 0x06
+#define PID_TEMPLATE 0x07
+#define PID_LASTAUTHOR 0x08
+#define PID_REVNUMBER 0x09
+#define PID_EDITTIME 0x0a
+#define PID_LASTPRINTED_DTM 0x0b
+#define PID_CREATE_DTM 0x0c
+#define PID_LASTSAVED_DTM 0x0d
// DocumentSummaryInformation
-#define PID_CATEGORY 0x02
-#define PID_PRESFORMAT 0x03
-#define PID_BYTECOUNT 0x04
-#define PID_LINECOUNT 0x05
-#define PID_PARACOUNT 0x06
-#define PID_SLIDECOUNT 0x07
-#define PID_NOTECOUNT 0x08
-#define PID_HIDDENCOUNT 0x09
-#define PID_MMCLIPCOUNT 0x0a
-#define PID_SCALE 0x0b
-#define PID_HEADINGPAIR 0x0c
-#define PID_DOCPARTS 0x0d
-#define PID_MANAGER 0x0e
-#define PID_COMPANY 0x0f
-#define PID_LINKSDIRTY 0x10
-
-#define VT_EMPTY 0
-#define VT_NULL 1
-#define VT_I2 2
-#define VT_I4 3
-#define VT_R4 4
-#define VT_R8 5
-#define VT_CY 6
-#define VT_DATE 7
-#define VT_BSTR 8
-#define VT_UI4 9
-#define VT_ERROR 10
-#define VT_BOOL 11
-#define VT_VARIANT 12
-#define VT_DECIMAL 14
-#define VT_I1 16
-#define VT_UI1 17
-#define VT_UI2 18
-#define VT_I8 20
-#define VT_UI8 21
-#define VT_INT 22
-#define VT_UINT 23
-#define VT_LPSTR 30
-#define VT_LPWSTR 31
-#define VT_FILETIME 64
-#define VT_BLOB 65
-#define VT_STREAM 66
-#define VT_STORAGE 67
-#define VT_STREAMED_OBJECT 68
-#define VT_STORED_OBJECT 69
-#define VT_BLOB_OBJECT 70
-#define VT_CF 71
-#define VT_CLSID 72
-#define VT_VECTOR 0x1000
-#define VT_ARRAY 0x2000
-#define VT_BYREF 0x4000
-#define VT_TYPEMASK 0xFFF
+#define PID_CATEGORY 0x02
+#define PID_PRESFORMAT 0x03
+#define PID_BYTECOUNT 0x04
+#define PID_LINECOUNT 0x05
+#define PID_PARACOUNT 0x06
+#define PID_SLIDECOUNT 0x07
+#define PID_NOTECOUNT 0x08
+#define PID_HIDDENCOUNT 0x09
+#define PID_MMCLIPCOUNT 0x0a
+#define PID_SCALE 0x0b
+#define PID_HEADINGPAIR 0x0c
+#define PID_DOCPARTS 0x0d
+#define PID_MANAGER 0x0e
+#define PID_COMPANY 0x0f
+#define PID_LINKSDIRTY 0x10
+
+#define VT_EMPTY 0
+#define VT_NULL 1
+#define VT_I2 2
+#define VT_I4 3
+#define VT_R4 4
+#define VT_R8 5
+#define VT_CY 6
+#define VT_DATE 7
+#define VT_BSTR 8
+#define VT_UI4 9
+#define VT_ERROR 10
+#define VT_BOOL 11
+#define VT_VARIANT 12
+#define VT_DECIMAL 14
+#define VT_I1 16
+#define VT_UI1 17
+#define VT_UI2 18
+#define VT_I8 20
+#define VT_UI8 21
+#define VT_INT 22
+#define VT_UINT 23
+#define VT_LPSTR 30
+#define VT_LPWSTR 31
+#define VT_FILETIME 64
+#define VT_BLOB 65
+#define VT_STREAM 66
+#define VT_STORAGE 67
+#define VT_STREAMED_OBJECT 68
+#define VT_STORED_OBJECT 69
+#define VT_BLOB_OBJECT 70
+#define VT_CF 71
+#define VT_CLSID 72
+#define VT_VECTOR 0x1000
+#define VT_ARRAY 0x2000
+#define VT_BYREF 0x4000
+#define VT_TYPEMASK 0xFFF
// ------------------------------------------------------------------------
class PropItem : public SvMemoryStream
{
- sal_uInt16 mnTextEnc;
+ sal_uInt16 mnTextEnc;
public :
PropItem(){};
- void Clear();
+ void Clear();
- void SetTextEncoding( sal_uInt16 nTextEnc ){ mnTextEnc = nTextEnc; };
- sal_Bool Read( String& rString, sal_uInt32 nType = VT_EMPTY, sal_Bool bDwordAlign = sal_True );
- PropItem& operator=( PropItem& rPropItem );
+ void SetTextEncoding( sal_uInt16 nTextEnc ){ mnTextEnc = nTextEnc; };
+ sal_Bool Read( String& rString, sal_uInt32 nType = VT_EMPTY, sal_Bool bDwordAlign = sal_True );
+ PropItem& operator=( PropItem& rPropItem );
using SvStream::Read;
};
@@ -129,62 +129,62 @@ class Dictionary : protected List
{
friend class Section;
- void AddProperty( UINT32 nId, const String& rString );
+ void AddProperty( UINT32 nId, const String& rString );
public :
Dictionary(){};
~Dictionary();
Dictionary& operator=( Dictionary& rDictionary );
- UINT32 GetProperty( const String& rPropName );
+ UINT32 GetProperty( const String& rPropName );
};
// ------------------------------------------------------------------------
class Section : private List
{
- sal_uInt16 mnTextEnc;
+ sal_uInt16 mnTextEnc;
protected:
- BYTE aFMTID[ 16 ];
+ BYTE aFMTID[ 16 ];
- void AddProperty( sal_uInt32 nId, const sal_uInt8* pBuf, sal_uInt32 nBufSize );
+ void AddProperty( sal_uInt32 nId, const sal_uInt8* pBuf, sal_uInt32 nBufSize );
public:
Section( const sal_uInt8* pFMTID );
Section( Section& rSection );
~Section();
- Section& operator=( Section& rSection );
- sal_Bool GetProperty( sal_uInt32 nId, PropItem& rPropItem );
- sal_Bool GetDictionary( Dictionary& rDict );
- const sal_uInt8* GetFMTID() const { return aFMTID; };
- void Read( SvStorageStream* pStrm );
+ Section& operator=( Section& rSection );
+ sal_Bool GetProperty( sal_uInt32 nId, PropItem& rPropItem );
+ sal_Bool GetDictionary( Dictionary& rDict );
+ const sal_uInt8* GetFMTID() const { return aFMTID; };
+ void Read( SvStorageStream* pStrm );
};
// ------------------------------------------------------------------------
class PropRead : private List
{
- sal_Bool mbStatus;
- SvStorageStream* mpSvStream;
+ sal_Bool mbStatus;
+ SvStorageStream* mpSvStream;
- sal_uInt16 mnByteOrder;
- sal_uInt16 mnFormat;
- sal_uInt16 mnVersionLo;
- sal_uInt16 mnVersionHi;
- sal_uInt8 mApplicationCLSID[ 16 ];
+ sal_uInt16 mnByteOrder;
+ sal_uInt16 mnFormat;
+ sal_uInt16 mnVersionLo;
+ sal_uInt16 mnVersionHi;
+ sal_uInt8 mApplicationCLSID[ 16 ];
- void AddSection( Section& rSection );
+ void AddSection( Section& rSection );
public:
PropRead( SvStorage& rSvStorage, const String& rName );
~PropRead();
- PropRead& operator=( PropRead& rPropRead );
- const Section* GetSection( const BYTE* pFMTID );
- sal_Bool IsValid() const { return mbStatus; };
- void Read();
+ PropRead& operator=( PropRead& rPropRead );
+ const Section* GetSection( const BYTE* pFMTID );
+ sal_Bool IsValid() const { return mbStatus; };
+ void Read();
};
diff --git a/sd/source/filter/sdfilter.cxx b/sd/source/filter/sdfilter.cxx
index 731ad5db0616..c985bdc85361 100644
--- a/sd/source/filter/sdfilter.cxx
+++ b/sd/source/filter/sdfilter.cxx
@@ -2,7 +2,7 @@
/*************************************************************************
*
* 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
@@ -59,13 +59,13 @@ using namespace ::com::sun::star::frame;
// - SdFilter -
// ------------
-SdFilter::SdFilter( SfxMedium& rMedium, ::sd::DrawDocShell& rDocShell, sal_Bool bShowProgress )
-: mxModel( rDocShell.GetModel() )
-, mrMedium( rMedium )
-, mrDocShell( rDocShell )
-, mrDocument( *rDocShell.GetDoc() )
-, mbIsDraw( rDocShell.GetDocumentType() == DOCUMENT_TYPE_DRAW )
-, mbShowProgress( bShowProgress )
+SdFilter::SdFilter( SfxMedium& rMedium, ::sd::DrawDocShell& rDocShell, sal_Bool bShowProgress )
+: mxModel( rDocShell.GetModel() )
+, mrMedium( rMedium )
+, mrDocShell( rDocShell )
+, mrDocument( *rDocShell.GetDoc() )
+, mbIsDraw( rDocShell.GetDocumentType() == DOCUMENT_TYPE_DRAW )
+, mbShowProgress( bShowProgress )
{
}
@@ -108,28 +108,28 @@ void SdFilter::CreateStatusIndicator()
if ( pStatusBarItem )
pStatusBarItem->GetValue() >>= mxStatusIndicator;
-// try
-// {
-// if (mxModel.is())
-// {
-// Reference< XController > xController( mxModel->getCurrentController());
-// if( xController.is())
-// {
-// Reference< XFrame > xFrame( xController->getFrame());
-// if( xFrame.is())
-// {
-// Reference< XStatusIndicatorFactory > xFactory( xFrame, UNO_QUERY );
-// if( xFactory.is())
-// {
-// mxStatusIndicator = xFactory->createStatusIndicator();
-// }
-// }
-// }
-// }
-// }
-// catch( Exception& )
-// {
-// }
+// try
+// {
+// if (mxModel.is())
+// {
+// Reference< XController > xController( mxModel->getCurrentController());
+// if( xController.is())
+// {
+// Reference< XFrame > xFrame( xController->getFrame());
+// if( xFrame.is())
+// {
+// Reference< XStatusIndicatorFactory > xFactory( xFrame, UNO_QUERY );
+// if( xFactory.is())
+// {
+// mxStatusIndicator = xFactory->createStatusIndicator();
+// }
+// }
+// }
+// }
+// }
+// catch( Exception& )
+// {
+// }
}
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/sd/source/filter/sdpptwrp.cxx b/sd/source/filter/sdpptwrp.cxx
index a36441a0aee4..a0ae7d2b9eba 100644
--- a/sd/source/filter/sdpptwrp.cxx
+++ b/sd/source/filter/sdpptwrp.cxx
@@ -2,7 +2,7 @@
/*************************************************************************
*
* 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
@@ -68,7 +68,7 @@ typedef BOOL ( __LOADONCALLAPI *SaveVBA )( SfxObjectShell&, SvMemoryStream*& );
SdPPTFilter::SdPPTFilter( SfxMedium& rMedium, ::sd::DrawDocShell& rDocShell, sal_Bool bShowProgress ) :
SdFilter( rMedium, rDocShell, bShowProgress ),
- pBas ( NULL )
+ pBas ( NULL )
{
}
@@ -76,14 +76,14 @@ SdPPTFilter::SdPPTFilter( SfxMedium& rMedium, ::sd::DrawDocShell& rDocShell, sal
SdPPTFilter::~SdPPTFilter()
{
- delete pBas; // deleting the compressed basic storage
+ delete pBas; // deleting the compressed basic storage
}
// -----------------------------------------------------------------------------
sal_Bool SdPPTFilter::Import()
{
- sal_Bool bRet = sal_False;
+ sal_Bool bRet = sal_False;
SotStorageRef pStorage = new SotStorage( mrMedium.GetInStream(), FALSE );
if( !pStorage->GetError() )
{
@@ -137,14 +137,14 @@ sal_Bool SdPPTFilter::Import()
sal_Bool SdPPTFilter::Export()
{
::osl::Module* pLibrary = OpenLibrary( mrMedium.GetFilter()->GetUserData() );
- sal_Bool bRet = sal_False;
+ sal_Bool bRet = sal_False;
if( pLibrary )
{
if( mxModel.is() )
{
SotStorageRef xStorRef = new SotStorage( mrMedium.GetOutStream(), FALSE );
- ExportPPT PPTExport = reinterpret_cast<ExportPPT>(pLibrary->getFunctionSymbol( ::rtl::OUString::createFromAscii("ExportPPT") ));
+ ExportPPT PPTExport = reinterpret_cast<ExportPPT>(pLibrary->getFunctionSymbol( ::rtl::OUString::createFromAscii("ExportPPT") ));
/* !!!
if ( pViewShell && pViewShell->GetView() )
@@ -152,7 +152,7 @@ sal_Bool SdPPTFilter::Export()
*/
if( PPTExport && xStorRef.Is() )
{
- sal_uInt32 nCnvrtFlags = 0;
+ sal_uInt32 nCnvrtFlags = 0;
SvtFilterOptions* pFilterOptions = SvtFilterOptions::Get();
if ( pFilterOptions )
{
diff --git a/sd/source/filter/xml/sdtransform.cxx b/sd/source/filter/xml/sdtransform.cxx
index ce40a88b0fc3..ec8d9b5f2e01 100644
--- a/sd/source/filter/xml/sdtransform.cxx
+++ b/sd/source/filter/xml/sdtransform.cxx
@@ -2,7 +2,7 @@
/*************************************************************************
*
* 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
@@ -75,7 +75,7 @@ public:
bool removeAlienAttributes( SfxItemSet& rSet );
bool removeAlienAttributes( SfxItemSet& rSet, sal_uInt16 nWhich );
- SdDrawDocument& mrDocument;
+ SdDrawDocument& mrDocument;
SdrOutliner& mrOutliner;
const OUString msEnableNumbering;
const OUString msTextNamespace;
@@ -150,7 +150,7 @@ void SdTransformOOo2xDocument::transformStyles( SfxStyleFamily eFam )
{
transformStyle( *pSheet );
pSheet = aIter.Next();
- }
+ }
}
void SdTransformOOo2xDocument::transformStyle( SfxStyleSheetBase& rSheet )
@@ -264,7 +264,7 @@ void SdTransformOOo2xDocument::transformTextShape( SdrTextObj& rTextShape )
bChange = true;
}
- bItemChange |= transformItemSet( aParaSet, bState );
+ bItemChange |= transformItemSet( aParaSet, bState );
bItemChange |= removeAlienAttributes( aParaSet );
@@ -300,7 +300,7 @@ bool SdTransformOOo2xDocument::getBulletState( const SfxItemSet& rSet, SfxStyleS
bool SdTransformOOo2xDocument::getBulletState( const SfxItemSet& rSet, sal_uInt16 nWhich, bool& rState )
{
if( (rSet.GetItemState( nWhich ) == SFX_ITEM_SET) )
- {
+ {
const SvXMLAttrContainerItem& rAttr = *static_cast< const SvXMLAttrContainerItem* >( rSet.GetItem( nWhich ) );
const sal_uInt16 nCount = rAttr.GetAttrCount();
@@ -356,7 +356,7 @@ bool SdTransformOOo2xDocument::removeAlienAttributes( SfxItemSet& rSet, sal_uInt
{
rSet.ClearItem( nWhich );
}
- else
+ else
{
SvXMLAttrContainerItem aNewItem( nWhich );
diff --git a/sd/source/filter/xml/sdxmlwrp.cxx b/sd/source/filter/xml/sdxmlwrp.cxx
index 91560d821582..b18b0908b83b 100644
--- a/sd/source/filter/xml/sdxmlwrp.cxx
+++ b/sd/source/filter/xml/sdxmlwrp.cxx
@@ -2,7 +2,7 @@
/*************************************************************************
*
* 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
@@ -466,7 +466,7 @@ sal_Bool SdXMLFilter::Import( ErrCode& nError )
RTL_LOGFILE_CONTEXT_TRACE1( aLog, "importing %s", aFile.GetBuffer() );
#endif
- sal_uInt32 nRet = 0;
+ sal_uInt32 nRet = 0;
// Get service factory
Reference< lang::XMultiServiceFactory > xServiceFactory =
@@ -494,11 +494,11 @@ sal_Bool SdXMLFilter::Import( ErrCode& nError )
PropertyMapEntry aImportInfoMap[] =
{
// #80365# necessary properties for XML progress bar at load time
- { MAP_LEN( "ProgressRange" ), 0, &::getCppuType((const sal_Int32*)0), ::com::sun::star::beans::PropertyAttribute::MAYBEVOID, 0},
- { MAP_LEN( "ProgressMax" ), 0, &::getCppuType((const sal_Int32*)0), ::com::sun::star::beans::PropertyAttribute::MAYBEVOID, 0},
- { MAP_LEN( "ProgressCurrent" ), 0, &::getCppuType((const sal_Int32*)0), ::com::sun::star::beans::PropertyAttribute::MAYBEVOID, 0},
- { MAP_LEN( "Preview" ), 0, &::getCppuType((const sal_Bool*)0), ::com::sun::star::beans::PropertyAttribute::MAYBEVOID, 0},
- { MAP_LEN( "PageLayouts" ), 0, SEQTYPE(::getCppuType((const uno::Reference< container::XNameAccess >*)0)), ::com::sun::star::beans::PropertyAttribute::MAYBEVOID, 0},
+ { MAP_LEN( "ProgressRange" ), 0, &::getCppuType((const sal_Int32*)0), ::com::sun::star::beans::PropertyAttribute::MAYBEVOID, 0},
+ { MAP_LEN( "ProgressMax" ), 0, &::getCppuType((const sal_Int32*)0), ::com::sun::star::beans::PropertyAttribute::MAYBEVOID, 0},
+ { MAP_LEN( "ProgressCurrent" ), 0, &::getCppuType((const sal_Int32*)0), ::com::sun::star::beans::PropertyAttribute::MAYBEVOID, 0},
+ { MAP_LEN( "Preview" ), 0, &::getCppuType((const sal_Bool*)0), ::com::sun::star::beans::PropertyAttribute::MAYBEVOID, 0},
+ { MAP_LEN( "PageLayouts" ), 0, SEQTYPE(::getCppuType((const uno::Reference< container::XNameAccess >*)0)), ::com::sun::star::beans::PropertyAttribute::MAYBEVOID, 0},
{ MAP_LEN( "PrivateData" ), 0,
&::getCppuType( (Reference<XInterface> *)0 ),
::com::sun::star::beans::PropertyAttribute::MAYBEVOID, 0 },
@@ -841,9 +841,9 @@ sal_Bool SdXMLFilter::Export()
RTL_LOGFILE_CONTEXT_TRACE1( aLog, "exporting %s", aFile.GetBuffer() );
#endif
- SvXMLEmbeddedObjectHelper* pObjectHelper = NULL;
- SvXMLGraphicHelper* pGraphicHelper = NULL;
- sal_Bool bDocRet = FALSE;
+ SvXMLEmbeddedObjectHelper* pObjectHelper = NULL;
+ SvXMLGraphicHelper* pGraphicHelper = NULL;
+ sal_Bool bDocRet = FALSE;
if( !mxModel.is() )
{
@@ -880,18 +880,18 @@ sal_Bool SdXMLFilter::Export()
DBG_ERROR( "com.sun.star.xml.sax.Writer service missing" );
return FALSE;
}
- uno::Reference<xml::sax::XDocumentHandler> xHandler( xWriter, uno::UNO_QUERY );
+ uno::Reference<xml::sax::XDocumentHandler> xHandler( xWriter, uno::UNO_QUERY );
/** property map for export info set */
PropertyMapEntry aExportInfoMap[] =
{
// #82003#
- { MAP_LEN( "ProgressRange" ), 0, &::getCppuType((const sal_Int32*)0), ::com::sun::star::beans::PropertyAttribute::MAYBEVOID, 0},
- { MAP_LEN( "ProgressMax" ), 0, &::getCppuType((const sal_Int32*)0), ::com::sun::star::beans::PropertyAttribute::MAYBEVOID, 0},
- { MAP_LEN( "ProgressCurrent" ), 0, &::getCppuType((const sal_Int32*)0), ::com::sun::star::beans::PropertyAttribute::MAYBEVOID, 0},
- { MAP_LEN( "UsePrettyPrinting"),0, &::getBooleanCppuType(), ::com::sun::star::beans::PropertyAttribute::MAYBEVOID, 0},
+ { MAP_LEN( "ProgressRange" ), 0, &::getCppuType((const sal_Int32*)0), ::com::sun::star::beans::PropertyAttribute::MAYBEVOID, 0},
+ { MAP_LEN( "ProgressMax" ), 0, &::getCppuType((const sal_Int32*)0), ::com::sun::star::beans::PropertyAttribute::MAYBEVOID, 0},
+ { MAP_LEN( "ProgressCurrent" ), 0, &::getCppuType((const sal_Int32*)0), ::com::sun::star::beans::PropertyAttribute::MAYBEVOID, 0},
+ { MAP_LEN( "UsePrettyPrinting"),0, &::getBooleanCppuType(), ::com::sun::star::beans::PropertyAttribute::MAYBEVOID, 0},
- { MAP_LEN( "PageLayoutNames" ), 0, SEQTYPE(::getCppuType((const OUString*)0)), ::com::sun::star::beans::PropertyAttribute::MAYBEVOID, 0},
+ { MAP_LEN( "PageLayoutNames" ), 0, SEQTYPE(::getCppuType((const OUString*)0)), ::com::sun::star::beans::PropertyAttribute::MAYBEVOID, 0},
{ MAP_LEN( "BaseURI" ), 0,
&::getCppuType( (OUString *)0 ),
::com::sun::star::beans::PropertyAttribute::MAYBEVOID, 0 },
@@ -957,7 +957,7 @@ sal_Bool SdXMLFilter::Export()
{
uno::Reference< document::XEmbeddedObjectResolver > xObjectResolver;
- uno::Reference< document::XGraphicObjectResolver > xGrfResolver;
+ uno::Reference< document::XGraphicObjectResolver > xGrfResolver;
// create helper for graphic and ole export if we have a storage
if( xStorage.is() )
@@ -1062,9 +1062,9 @@ sal_Bool SdXMLFilter::Export()
uno::Sequence< uno::Any > aArgs( 2 + ( mxStatusIndicator.is() ? 1 : 0 ) + ( xGrfResolver.is() ? 1 : 0 ) + ( xObjectResolver.is() ? 1 : 0 ) );
uno::Any* pArgs = aArgs.getArray();
*pArgs++ <<= xInfoSet;
- if( xGrfResolver.is() ) *pArgs++ <<= xGrfResolver;
- if( xObjectResolver.is() ) *pArgs++ <<= xObjectResolver;
- if( mxStatusIndicator.is() ) *pArgs++ <<= mxStatusIndicator;
+ if( xGrfResolver.is() ) *pArgs++ <<= xGrfResolver;
+ if( xObjectResolver.is() ) *pArgs++ <<= xObjectResolver;
+ if( mxStatusIndicator.is() ) *pArgs++ <<= mxStatusIndicator;
*pArgs <<= xHandler;
diff --git a/sd/source/helper/simplereferencecomponent.cxx b/sd/source/helper/simplereferencecomponent.cxx
index 551c6d700365..7ce332a53fad 100644
--- a/sd/source/helper/simplereferencecomponent.cxx
+++ b/sd/source/helper/simplereferencecomponent.cxx
@@ -2,7 +2,7 @@
/*************************************************************************
*
* 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
@@ -67,10 +67,10 @@ void SimpleReferenceComponent::release()
{
Dispose();
}
- catch (RuntimeException &
+ catch (RuntimeException &
#if OSL_DEBUG_LEVEL > 0
exc
-#endif
+#endif
) // don't break throw ()
{
#if OSL_DEBUG_LEVEL > 0
@@ -106,7 +106,7 @@ void * SimpleReferenceComponent::operator new(std::size_t nSize,
std::nothrow_t const &
#ifndef WNT
rNothrow
-#endif
+#endif
)
SAL_THROW(())
{
diff --git a/sd/source/ui/accessibility/AccessibleDocumentViewBase.cxx b/sd/source/ui/accessibility/AccessibleDocumentViewBase.cxx
index 6f27b177d1c3..1a157ca117e6 100644
--- a/sd/source/ui/accessibility/AccessibleDocumentViewBase.cxx
+++ b/sd/source/ui/accessibility/AccessibleDocumentViewBase.cxx
@@ -2,7 +2,7 @@
/*************************************************************************
*
* 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
@@ -59,7 +59,7 @@
using ::rtl::OUString;
using namespace ::com::sun::star;
-using namespace ::com::sun::star::accessibility;
+using namespace ::com::sun::star::accessibility;
using ::com::sun::star::uno::Reference;
class SfxViewFrame;
@@ -77,7 +77,7 @@ AccessibleDocumentViewBase::AccessibleDocumentViewBase (
mxController (rxController),
mxModel (NULL),
maViewForwarder (
- static_cast<SdrPaintView*>(pViewShell->GetView()),
+ static_cast<SdrPaintView*>(pViewShell->GetView()),
*static_cast<OutputDevice*>(pSdWindow))
{
if (mxController.is())
@@ -115,7 +115,7 @@ void AccessibleDocumentViewBase::Init (void)
// Register as window listener to stay up to date with its size and
// position.
mxWindow->addWindowListener (this);
- // Register as focus listener to
+ // Register as focus listener to
mxWindow->addFocusListener (this);
// Determine the list of shapes on the current page.
@@ -156,7 +156,7 @@ void AccessibleDocumentViewBase::Init (void)
for (sal_uInt16 i=0; i<nCount; i++)
{
Window* pChildWindow = pWindow->GetChild (i);
- if (pChildWindow &&
+ if (pChildWindow &&
(AccessibleRole::EMBEDDED_OBJECT
==pChildWindow->GetAccessibleRole()))
{
@@ -169,7 +169,7 @@ void AccessibleDocumentViewBase::Init (void)
-IMPL_LINK(AccessibleDocumentViewBase, WindowChildEventListener,
+IMPL_LINK(AccessibleDocumentViewBase, WindowChildEventListener,
VclSimpleEvent*, pEvent)
{
OSL_ASSERT(pEvent!=NULL && pEvent->ISA(VclWindowEvent));
@@ -279,7 +279,7 @@ Reference<XAccessible> SAL_CALL
if (mxAccessibleOLEObject.is())
if (nIndex == 0)
return mxAccessibleOLEObject;
-
+
throw lang::IndexOutOfBoundsException (
::rtl::OUString::createFromAscii ("no child with index ")
+ rtl::OUString::valueOf(nIndex),
@@ -295,9 +295,9 @@ Reference<XAccessible> SAL_CALL
within one of their bounding boxes. Return the first child for which
this is true.
*/
-uno::Reference<XAccessible > SAL_CALL
+uno::Reference<XAccessible > SAL_CALL
AccessibleDocumentViewBase::getAccessibleAtPoint (
- const awt::Point& aPoint)
+ const awt::Point& aPoint)
throw (uno::RuntimeException)
{
ThrowIfDisposed ();
@@ -314,7 +314,7 @@ uno::Reference<XAccessible > SAL_CALL
Reference<XAccessibleComponent> xChildComponent (
xChild->getAccessibleContext(), uno::UNO_QUERY);
if (xChildComponent.is())
- {
+ {
awt::Rectangle aBBox (xChildComponent->getBounds());
if ( (aPoint.X >= aBBox.X)
&& (aPoint.Y >= aBBox.Y)
@@ -336,7 +336,7 @@ uno::Reference<XAccessible > SAL_CALL
-awt::Rectangle SAL_CALL
+awt::Rectangle SAL_CALL
AccessibleDocumentViewBase::getBounds (void)
throw (::com::sun::star::uno::RuntimeException)
{
@@ -366,9 +366,9 @@ awt::Rectangle SAL_CALL
}
return awt::Rectangle (
- aPixelTopLeft.X() - aParentPosition.X,
- aPixelTopLeft.Y() - aParentPosition.Y,
- aPixelSize.X(),
+ aPixelTopLeft.X() - aParentPosition.X,
+ aPixelTopLeft.Y() - aParentPosition.Y,
+ aPixelSize.X(),
aPixelSize.Y());
}
@@ -376,7 +376,7 @@ awt::Rectangle SAL_CALL
awt::Point SAL_CALL
- AccessibleDocumentViewBase::getLocation (void)
+ AccessibleDocumentViewBase::getLocation (void)
throw (uno::RuntimeException)
{
ThrowIfDisposed ();
@@ -388,7 +388,7 @@ awt::Point SAL_CALL
awt::Point SAL_CALL
- AccessibleDocumentViewBase::getLocationOnScreen (void)
+ AccessibleDocumentViewBase::getLocationOnScreen (void)
throw (uno::RuntimeException)
{
ThrowIfDisposed ();
@@ -401,7 +401,7 @@ awt::Point SAL_CALL
awt::Size SAL_CALL
- AccessibleDocumentViewBase::getSize (void)
+ AccessibleDocumentViewBase::getSize (void)
throw (uno::RuntimeException)
{
ThrowIfDisposed ();
@@ -424,7 +424,7 @@ awt::Size SAL_CALL
//===== XInterface ==========================================================
-
+
uno::Any SAL_CALL
AccessibleDocumentViewBase::queryInterface (const uno::Type & rType)
throw (uno::RuntimeException)
@@ -447,7 +447,7 @@ uno::Any SAL_CALL
void SAL_CALL
- AccessibleDocumentViewBase::acquire (void)
+ AccessibleDocumentViewBase::acquire (void)
throw ()
{
AccessibleContextBase::acquire ();
@@ -462,13 +462,13 @@ void SAL_CALL
{
AccessibleContextBase::release ();
}
+
+
-
-
-
+
//===== XServiceInfo ========================================================
-
-::rtl::OUString SAL_CALL
+
+::rtl::OUString SAL_CALL
AccessibleDocumentViewBase::getImplementationName (void)
throw (::com::sun::star::uno::RuntimeException)
{
@@ -487,11 +487,11 @@ void SAL_CALL
}
-
-
-
+
+
+
//===== XTypeProvider =======================================================
-
+
::com::sun::star::uno::Sequence< ::com::sun::star::uno::Type> SAL_CALL
AccessibleDocumentViewBase::getTypes (void)
throw (::com::sun::star::uno::RuntimeException)
@@ -505,27 +505,27 @@ void SAL_CALL
// ...and add the additional type for the component, ...
- const uno::Type aLangEventListenerType =
+ const uno::Type aLangEventListenerType =
::getCppuType((const uno::Reference<lang::XEventListener>*)0);
- const uno::Type aPropertyChangeListenerType =
+ const uno::Type aPropertyChangeListenerType =
::getCppuType((const uno::Reference<beans::XPropertyChangeListener>*)0);
- const uno::Type aWindowListenerType =
+ const uno::Type aWindowListenerType =
::getCppuType((const uno::Reference<awt::XWindowListener>*)0);
- const uno::Type aFocusListenerType =
+ const uno::Type aFocusListenerType =
::getCppuType((const uno::Reference<awt::XFocusListener>*)0);
- const uno::Type aEventBroadcaster =
+ const uno::Type aEventBroadcaster =
::getCppuType((const uno::Reference<XAccessibleEventBroadcaster>*)0);
// ... and merge them all into one list.
- sal_Int32 nTypeCount (aTypeList.getLength()),
+ sal_Int32 nTypeCount (aTypeList.getLength()),
nComponentTypeCount (aComponentTypeList.getLength()),
i;
-
+
aTypeList.realloc (nTypeCount + nComponentTypeCount + 5);
-
+
for (i=0; i<nComponentTypeCount; i++)
aTypeList[nTypeCount + i] = aComponentTypeList[i];
-
+
aTypeList[nTypeCount + i++ ] = aLangEventListenerType;
aTypeList[nTypeCount + i++] = aPropertyChangeListenerType;
aTypeList[nTypeCount + i++] = aWindowListenerType;
@@ -552,7 +552,7 @@ void AccessibleDocumentViewBase::impl_dispose()
{
DBG_ASSERT (pWindow, "AccessibleDocumentViewBase::disposing");
}
-
+
// Unregister from window.
if (mxWindow.is())
{
@@ -581,7 +581,7 @@ void AccessibleDocumentViewBase::impl_dispose()
// Propagate change of controller down the shape tree.
maShapeTreeInfo.SetControllerBroadcaster (NULL);
-
+
// Reset the model reference.
mxModel = NULL;
// Reset the model reference.
@@ -627,60 +627,60 @@ void SAL_CALL AccessibleDocumentViewBase::propertyChange (const beans::PropertyC
//===== XWindowListener =====================================================
-void SAL_CALL
- AccessibleDocumentViewBase::windowResized (const ::com::sun::star::awt::WindowEvent& )
+void SAL_CALL
+ AccessibleDocumentViewBase::windowResized (const ::com::sun::star::awt::WindowEvent& )
throw (::com::sun::star::uno::RuntimeException)
{
if( IsDisposed() )
return;
ViewForwarderChanged (
- IAccessibleViewForwarderListener::VISIBLE_AREA,
+ IAccessibleViewForwarderListener::VISIBLE_AREA,
&maViewForwarder);
}
-void SAL_CALL
- AccessibleDocumentViewBase::windowMoved (const ::com::sun::star::awt::WindowEvent& )
+void SAL_CALL
+ AccessibleDocumentViewBase::windowMoved (const ::com::sun::star::awt::WindowEvent& )
throw (::com::sun::star::uno::RuntimeException)
{
if( IsDisposed() )
return;
ViewForwarderChanged (
- IAccessibleViewForwarderListener::VISIBLE_AREA,
+ IAccessibleViewForwarderListener::VISIBLE_AREA,
&maViewForwarder);
}
-void SAL_CALL
- AccessibleDocumentViewBase::windowShown (const ::com::sun::star::lang::EventObject& )
+void SAL_CALL
+ AccessibleDocumentViewBase::windowShown (const ::com::sun::star::lang::EventObject& )
throw (::com::sun::star::uno::RuntimeException)
{
if( IsDisposed() )
return;
ViewForwarderChanged (
- IAccessibleViewForwarderListener::VISIBLE_AREA,
+ IAccessibleViewForwarderListener::VISIBLE_AREA,
&maViewForwarder);
}
-void SAL_CALL
- AccessibleDocumentViewBase::windowHidden (const ::com::sun::star::lang::EventObject& )
+void SAL_CALL
+ AccessibleDocumentViewBase::windowHidden (const ::com::sun::star::lang::EventObject& )
throw (::com::sun::star::uno::RuntimeException)
{
if( IsDisposed() )
return;
ViewForwarderChanged (
- IAccessibleViewForwarderListener::VISIBLE_AREA,
+ IAccessibleViewForwarderListener::VISIBLE_AREA,
&maViewForwarder);
}
@@ -721,7 +721,7 @@ void SAL_CALL AccessibleDocumentViewBase::disposing (void)
-/// Create a name for this view.
+/// Create a name for this view.
::rtl::OUString
AccessibleDocumentViewBase::CreateAccessibleName (void)
throw (::com::sun::star::uno::RuntimeException)
@@ -786,7 +786,7 @@ void AccessibleDocumentViewBase::SetAccessibleOLEObject (
if (mxAccessibleOLEObject != xOLEObject)
if (mxAccessibleOLEObject.is())
CommitChange (
- AccessibleEventId::CHILD,
+ AccessibleEventId::CHILD,
uno::Any(),
uno::makeAny (mxAccessibleOLEObject));
@@ -800,7 +800,7 @@ void AccessibleDocumentViewBase::SetAccessibleOLEObject (
// Send child event about new accessible OLE object if necessary.
if (mxAccessibleOLEObject.is())
CommitChange (
- AccessibleEventId::CHILD,
+ AccessibleEventId::CHILD,
uno::makeAny (mxAccessibleOLEObject),
uno::Any());
}
@@ -811,23 +811,23 @@ void AccessibleDocumentViewBase::SetAccessibleOLEObject (
//===== methods from AccessibleSelectionBase ==================================================
// return the member maMutex;
-::osl::Mutex&
+::osl::Mutex&
AccessibleDocumentViewBase::implGetMutex()
{
return( maMutex );
}
// return ourself as context in default case
-uno::Reference< XAccessibleContext >
- AccessibleDocumentViewBase::implGetAccessibleContext()
+uno::Reference< XAccessibleContext >
+ AccessibleDocumentViewBase::implGetAccessibleContext()
throw (uno::RuntimeException)
{
return( this );
}
// return sal_False in default case
-sal_Bool
- AccessibleDocumentViewBase::implIsSelected( sal_Int32 )
+sal_Bool
+ AccessibleDocumentViewBase::implIsSelected( sal_Int32 )
throw (uno::RuntimeException)
{
return( sal_False );
@@ -835,7 +835,7 @@ sal_Bool
// return nothing in default case
void
- AccessibleDocumentViewBase::implSelect( sal_Int32, sal_Bool )
+ AccessibleDocumentViewBase::implSelect( sal_Int32, sal_Bool )
throw (lang::IndexOutOfBoundsException, uno::RuntimeException)
{
}
diff --git a/sd/source/ui/accessibility/AccessibleDrawDocumentView.cxx b/sd/source/ui/accessibility/AccessibleDrawDocumentView.cxx
index e748724054ab..8d43941e0a22 100644
--- a/sd/source/ui/accessibility/AccessibleDrawDocumentView.cxx
+++ b/sd/source/ui/accessibility/AccessibleDrawDocumentView.cxx
@@ -2,7 +2,7 @@
/*************************************************************************
*
* 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
@@ -66,7 +66,7 @@
using ::rtl::OUString;
using namespace ::com::sun::star;
using namespace ::com::sun::star::uno;
-using namespace ::com::sun::star::accessibility;
+using namespace ::com::sun::star::accessibility;
class SfxViewFrame;
@@ -138,7 +138,7 @@ void AccessibleDrawDocumentView::Init (void)
-void AccessibleDrawDocumentView::ViewForwarderChanged (ChangeType aChangeType,
+void AccessibleDrawDocumentView::ViewForwarderChanged (ChangeType aChangeType,
const IAccessibleViewForwarder* pViewForwarder)
{
AccessibleDocumentViewBase::ViewForwarderChanged (aChangeType, pViewForwarder);
@@ -248,7 +248,7 @@ uno::Reference<XAccessible> SAL_CALL
nIndex -= nCount;
}
- // Create a copy of the pointer to the children manager and release the
+ // Create a copy of the pointer to the children manager and release the
// mutex before calling any of its methods.
ChildrenManager* pChildrenManager = mpChildrenManager;
aGuard.clear();
@@ -306,7 +306,7 @@ void SAL_CALL
// Update the accessible name to reflect the current slide.
UpdateAccessibleName();
-
+
// The current page changed. Update the children manager accordingly.
uno::Reference<drawing::XDrawView> xView (mxController, uno::UNO_QUERY);
if (xView.is() && mpChildrenManager!=NULL)
@@ -340,7 +340,7 @@ void SAL_CALL
OSL_TRACE (" visible area changed");
if (mpChildrenManager != NULL)
mpChildrenManager->ViewForwarderChanged (
- IAccessibleViewForwarderListener::VISIBLE_AREA,
+ IAccessibleViewForwarderListener::VISIBLE_AREA,
&maViewForwarder);
}
else
@@ -353,8 +353,8 @@ void SAL_CALL
//===== XServiceInfo ========================================================
-
-::rtl::OUString SAL_CALL
+
+::rtl::OUString SAL_CALL
AccessibleDrawDocumentView::getImplementationName (void)
throw (::com::sun::star::uno::RuntimeException)
{
@@ -371,7 +371,7 @@ void SAL_CALL
{
ThrowIfDisposed();
// Get list of supported service names from base class...
- uno::Sequence<OUString> aServiceNames =
+ uno::Sequence<OUString> aServiceNames =
AccessibleDocumentViewBase::getSupportedServiceNames();
sal_Int32 nCount (aServiceNames.getLength());
@@ -385,9 +385,9 @@ void SAL_CALL
}
+
-
-/// Create a name for this view.
+/// Create a name for this view.
::rtl::OUString
AccessibleDrawDocumentView::CreateAccessibleName (void)
throw (::com::sun::star::uno::RuntimeException)
@@ -411,7 +411,7 @@ void SAL_CALL
else
{
SolarMutexGuard aGuard;
-
+
sName = String( SdResId(SID_SD_A11Y_D_DRAWVIEW_N) );
}
}
@@ -427,7 +427,7 @@ void SAL_CALL
sName = String( SdResId(SID_SD_A11Y_I_HANDOUTVIEW_N) );
}
- else
+ else
{
sName = sFirstService;
}
@@ -468,7 +468,7 @@ void SAL_CALL
else
{
SolarMutexGuard aGuard;
-
+
sDescription = String( SdResId(SID_SD_A11Y_D_DRAWVIEW_D) );
}
}
@@ -484,7 +484,7 @@ void SAL_CALL
sDescription = String( SdResId(SID_SD_A11Y_I_HANDOUTVIEW_D) );
}
- else
+ else
{
sDescription = sFirstService;
}
@@ -501,8 +501,8 @@ void SAL_CALL
/** Return selection state of specified child
*/
-sal_Bool
- AccessibleDrawDocumentView::implIsSelected( sal_Int32 nAccessibleChildIndex )
+sal_Bool
+ AccessibleDrawDocumentView::implIsSelected( sal_Int32 nAccessibleChildIndex )
throw (uno::RuntimeException)
{
const SolarMutexGuard aSolarGuard;
@@ -547,7 +547,7 @@ sal_Bool
the XSelectionSupplier of the controller.
*/
void
- AccessibleDrawDocumentView::implSelect( sal_Int32 nAccessibleChildIndex, sal_Bool bSelect )
+ AccessibleDrawDocumentView::implSelect( sal_Int32 nAccessibleChildIndex, sal_Bool bSelect )
throw (lang::IndexOutOfBoundsException, uno::RuntimeException)
{
const SolarMutexGuard aSolarGuard;
@@ -594,7 +594,7 @@ void
AccessibleShape* pAcc = AccessibleShape::getImplementation(
getAccessibleChild( nAccessibleChildIndex ));
pAccessibleChild = pAcc;
-
+
// Add or remove the shape that is made accessible from the
// selection of the controller.
if( pAcc )
@@ -605,7 +605,7 @@ void
{
uno::Reference< drawing::XShapes > xShapes;
sal_Bool bFound = sal_False;
-
+
aAny = xSel->getSelection();
aAny >>= xShapes;
@@ -733,7 +733,7 @@ void AccessibleDrawDocumentView::UpdateAccessibleName (void)
sNewName += OUString::valueOf(xPages->getCount());
}
}
-
+
SetAccessibleName (sNewName, AutomaticallyCreated);
}
diff --git a/sd/source/ui/accessibility/AccessibleOutlineEditSource.cxx b/sd/source/ui/accessibility/AccessibleOutlineEditSource.cxx
index 9fd2430d64e6..ca0dd35f18ef 100644
--- a/sd/source/ui/accessibility/AccessibleOutlineEditSource.cxx
+++ b/sd/source/ui/accessibility/AccessibleOutlineEditSource.cxx
@@ -2,7 +2,7 @@
/*************************************************************************
*
* 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
@@ -35,21 +35,21 @@
#include "OutlineView.hxx"
#include <svx/sdrpaintwindow.hxx>
-namespace accessibility
+namespace accessibility
{
AccessibleOutlineEditSource::AccessibleOutlineEditSource(
- SdrOutliner& rOutliner,
- SdrView& rView,
- OutlinerView& rOutlView,
- const ::Window& rViewWindow )
+ SdrOutliner& rOutliner,
+ SdrView& rView,
+ OutlinerView& rOutlView,
+ const ::Window& rViewWindow )
: mrView( rView ),
mrWindow( rViewWindow ),
mpOutliner( &rOutliner ),
mpOutlinerView( &rOutlView ),
mTextForwarder( rOutliner, 0 ),
mViewForwarder( rOutlView )
- {
+ {
// register as listener - need to broadcast state change messages
rOutliner.SetNotifyHdl( LINK(this, AccessibleOutlineEditSource, NotifyHdl) );
StartListening(rOutliner);
@@ -99,7 +99,7 @@ namespace accessibility
void AccessibleOutlineEditSource::UpdateData()
{
- // NOOP, since we're always working on the 'real' outliner,
+ // NOOP, since we're always working on the 'real' outliner,
// i.e. changes are immediately reflected on the screen
}
@@ -142,20 +142,20 @@ namespace accessibility
return mrWindow.LogicToPixel( aVisArea, aMapMode );
}
- return Rectangle();
+ return Rectangle();
}
Point AccessibleOutlineEditSource::LogicToPixel( const Point& rPoint, const MapMode& rMapMode ) const
{
if( IsValid() && mrView.GetModel() )
{
- Point aPoint( OutputDevice::LogicToLogic( rPoint, rMapMode,
+ Point aPoint( OutputDevice::LogicToLogic( rPoint, rMapMode,
MapMode(mrView.GetModel()->GetScaleUnit()) ) );
MapMode aMapMode(mrWindow.GetMapMode());
aMapMode.SetOrigin(Point());
return mrWindow.LogicToPixel( aPoint, aMapMode );
}
-
+
return Point();
}
@@ -166,11 +166,11 @@ namespace accessibility
MapMode aMapMode(mrWindow.GetMapMode());
aMapMode.SetOrigin(Point());
Point aPoint( mrWindow.PixelToLogic( rPoint, aMapMode ) );
- return OutputDevice::LogicToLogic( aPoint,
- MapMode(mrView.GetModel()->GetScaleUnit()),
+ return OutputDevice::LogicToLogic( aPoint,
+ MapMode(mrView.GetModel()->GetScaleUnit()),
rMapMode );
}
-
+
return Point();
}
@@ -213,11 +213,11 @@ namespace accessibility
if( aNotify )
{
::std::auto_ptr< SfxHint > aHint( SvxEditSourceHelper::EENotification2Hint( aNotify) );
-
+
if( aHint.get() )
Broadcast( *aHint.get() );
}
-
+
return 0;
}
diff --git a/sd/source/ui/accessibility/AccessibleOutlineView.cxx b/sd/source/ui/accessibility/AccessibleOutlineView.cxx
index de9bd6f0a74d..6d0c436ae3d6 100644
--- a/sd/source/ui/accessibility/AccessibleOutlineView.cxx
+++ b/sd/source/ui/accessibility/AccessibleOutlineView.cxx
@@ -2,7 +2,7 @@
/*************************************************************************
*
* 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
@@ -63,7 +63,7 @@
#include <osl/mutex.hxx>
using namespace ::com::sun::star;
-using namespace ::com::sun::star::accessibility;
+using namespace ::com::sun::star::accessibility;
namespace accessibility {
@@ -90,12 +90,12 @@ AccessibleOutlineView::AccessibleOutlineView (
{
OutlinerView* pOutlineView = static_cast< ::sd::OutlineView*>(
pView)->GetViewByWindow( pSdWindow );
- SdrOutliner* pOutliner =
+ SdrOutliner* pOutliner =
static_cast< ::sd::OutlineView*>(pView)->GetOutliner();
if( pOutlineView && pOutliner )
{
- maTextHelper.SetEditSource( ::std::auto_ptr< SvxEditSource >( new AccessibleOutlineEditSource(
+ maTextHelper.SetEditSource( ::std::auto_ptr< SvxEditSource >( new AccessibleOutlineEditSource(
*pOutliner, *pView, *pOutlineView, *pSdWindow ) ) );
}
}
@@ -118,11 +118,11 @@ void AccessibleOutlineView::Init (void)
}
-void AccessibleOutlineView::ViewForwarderChanged (ChangeType aChangeType,
+void AccessibleOutlineView::ViewForwarderChanged (ChangeType aChangeType,
const IAccessibleViewForwarder* pViewForwarder)
{
AccessibleDocumentViewBase::ViewForwarderChanged (aChangeType, pViewForwarder);
-
+
UpdateChildren();
}
@@ -166,8 +166,8 @@ void SAL_CALL AccessibleOutlineView::removeEventListener( const uno::Reference<
}
//===== XServiceInfo ========================================================
-
-::rtl::OUString SAL_CALL
+
+::rtl::OUString SAL_CALL
AccessibleOutlineView::getImplementationName (void)
throw (::com::sun::star::uno::RuntimeException)
{
@@ -249,7 +249,7 @@ void SAL_CALL
}
-/// Create a name for this view.
+/// Create a name for this view.
::rtl::OUString
AccessibleOutlineView::CreateAccessibleName (void)
throw (::com::sun::star::uno::RuntimeException)
diff --git a/sd/source/ui/accessibility/AccessiblePageShape.cxx b/sd/source/ui/accessibility/AccessiblePageShape.cxx
index b1969fdd7823..574b38ec061d 100644
--- a/sd/source/ui/accessibility/AccessiblePageShape.cxx
+++ b/sd/source/ui/accessibility/AccessiblePageShape.cxx
@@ -2,7 +2,7 @@
/*************************************************************************
*
* 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
@@ -42,7 +42,7 @@
using namespace ::com::sun::star;
using namespace ::com::sun::star::uno;
-using namespace ::com::sun::star::accessibility;
+using namespace ::com::sun::star::accessibility;
using ::com::sun::star::uno::Reference;
using ::rtl::OUString;
@@ -354,7 +354,7 @@ void AccessiblePageShape::dispose (void)
catch (beans::UnknownPropertyException&)
{
}
-
+
return CreateAccessibleBaseName()+A2S(": ")+sCurrentSlideName;
}
diff --git a/sd/source/ui/accessibility/AccessiblePresentationGraphicShape.cxx b/sd/source/ui/accessibility/AccessiblePresentationGraphicShape.cxx
index af99c29fd564..910b2c3f645f 100644
--- a/sd/source/ui/accessibility/AccessiblePresentationGraphicShape.cxx
+++ b/sd/source/ui/accessibility/AccessiblePresentationGraphicShape.cxx
@@ -2,7 +2,7 @@
/*************************************************************************
*
* 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
@@ -37,7 +37,7 @@
using namespace ::rtl;
using namespace ::com::sun::star;
-using namespace ::com::sun::star::accessibility;
+using namespace ::com::sun::star::accessibility;
namespace accessibility {
@@ -61,8 +61,8 @@ AccessiblePresentationGraphicShape::~AccessiblePresentationGraphicShape (void)
//===== XServiceInfo ========================================================
-
-::rtl::OUString SAL_CALL
+
+::rtl::OUString SAL_CALL
AccessiblePresentationGraphicShape::getImplementationName (void)
throw (::com::sun::star::uno::RuntimeException)
{
@@ -72,7 +72,7 @@ AccessiblePresentationGraphicShape::~AccessiblePresentationGraphicShape (void)
-/// Set this object's name if is different to the current name.
+/// Set this object's name if is different to the current name.
::rtl::OUString
AccessiblePresentationGraphicShape::CreateAccessibleBaseName (void)
throw (::com::sun::star::uno::RuntimeException)
diff --git a/sd/source/ui/accessibility/AccessiblePresentationOLEShape.cxx b/sd/source/ui/accessibility/AccessiblePresentationOLEShape.cxx
index c95ccb5bff62..59edc6d42160 100644
--- a/sd/source/ui/accessibility/AccessiblePresentationOLEShape.cxx
+++ b/sd/source/ui/accessibility/AccessiblePresentationOLEShape.cxx
@@ -2,7 +2,7 @@
/*************************************************************************
*
* 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
@@ -37,7 +37,7 @@
using namespace ::rtl;
using namespace ::com::sun::star;
-using namespace ::com::sun::star::accessibility;
+using namespace ::com::sun::star::accessibility;
namespace accessibility {
@@ -61,8 +61,8 @@ AccessiblePresentationOLEShape::~AccessiblePresentationOLEShape (void)
//===== XServiceInfo ========================================================
-
-::rtl::OUString SAL_CALL
+
+::rtl::OUString SAL_CALL
AccessiblePresentationOLEShape::getImplementationName (void)
throw (::com::sun::star::uno::RuntimeException)
{
@@ -72,7 +72,7 @@ AccessiblePresentationOLEShape::~AccessiblePresentationOLEShape (void)
-/// Set this object's name if it is different to the current name.
+/// Set this object's name if it is different to the current name.
::rtl::OUString
AccessiblePresentationOLEShape::CreateAccessibleBaseName (void)
throw (::com::sun::star::uno::RuntimeException)
@@ -118,19 +118,19 @@ AccessiblePresentationOLEShape::~AccessiblePresentationOLEShape (void)
case PRESENTATION_OLE:
aDG.Initialize (::rtl::OUString::createFromAscii ("PresentationOLEShape"));
//SVX_RESSTR(RID_SVXSTR_A11Y_ST_RECTANGLE));
- aDG.AddProperty (OUString::createFromAscii ("CLSID"),
+ aDG.AddProperty (OUString::createFromAscii ("CLSID"),
DescriptionGenerator::STRING);
break;
case PRESENTATION_CHART:
aDG.Initialize (::rtl::OUString::createFromAscii ("PresentationChartShape"));
//SVX_RESSTR(RID_SVXSTR_A11Y_ST_RECTANGLE));
- aDG.AddProperty (OUString::createFromAscii ("CLSID"),
+ aDG.AddProperty (OUString::createFromAscii ("CLSID"),
DescriptionGenerator::STRING);
break;
case PRESENTATION_TABLE:
aDG.Initialize (::rtl::OUString::createFromAscii ("PresentationTableShape"));
//SVX_RESSTR(RID_SVXSTR_A11Y_ST_RECTANGLE));
- aDG.AddProperty (OUString::createFromAscii ("CLSID"),
+ aDG.AddProperty (OUString::createFromAscii ("CLSID"),
DescriptionGenerator::STRING);
break;
default:
diff --git a/sd/source/ui/accessibility/AccessiblePresentationShape.cxx b/sd/source/ui/accessibility/AccessiblePresentationShape.cxx
index b8f48200ee4b..ee04fc8c8df1 100644
--- a/sd/source/ui/accessibility/AccessiblePresentationShape.cxx
+++ b/sd/source/ui/accessibility/AccessiblePresentationShape.cxx
@@ -2,7 +2,7 @@
/*************************************************************************
*
* 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
@@ -37,7 +37,7 @@
using namespace ::rtl;
using namespace ::com::sun::star;
-using namespace ::com::sun::star::accessibility;
+using namespace ::com::sun::star::accessibility;
namespace accessibility {
@@ -61,8 +61,8 @@ AccessiblePresentationShape::~AccessiblePresentationShape (void)
//===== XServiceInfo ========================================================
-
-::rtl::OUString SAL_CALL
+
+::rtl::OUString SAL_CALL
AccessiblePresentationShape::getImplementationName (void)
throw (::com::sun::star::uno::RuntimeException)
{
@@ -72,7 +72,7 @@ AccessiblePresentationShape::~AccessiblePresentationShape (void)
-/// Set this object's name if is different to the current name.
+/// Set this object's name if is different to the current name.
::rtl::OUString
AccessiblePresentationShape::CreateAccessibleBaseName (void)
throw (::com::sun::star::uno::RuntimeException)
@@ -178,6 +178,6 @@ AccessiblePresentationShape::~AccessiblePresentationShape (void)
return aDG();
}
-} // end of namespace accessibility
+} // end of namespace accessibility
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/sd/source/ui/accessibility/AccessibleScrollPanel.cxx b/sd/source/ui/accessibility/AccessibleScrollPanel.cxx
index a8087118cecc..62af8aa16fb9 100644
--- a/sd/source/ui/accessibility/AccessibleScrollPanel.cxx
+++ b/sd/source/ui/accessibility/AccessibleScrollPanel.cxx
@@ -2,7 +2,7 @@
/*************************************************************************
*
* 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
@@ -100,11 +100,11 @@ Reference<XAccessible> SAL_CALL
const SolarMutexGuard aSolarGuard;
Reference<XAccessible> xChild;
-
+
ScrollPanel& rPanel (GetScrollPanel());
sal_uInt32 nControlCount (mrTreeNode.GetControlContainer().GetControlCount());
-
+
// The children of this accessible object include the tree node children
// and the two scroll bars (when they are visible).
if (nIndex < 0)
@@ -125,7 +125,7 @@ Reference<XAccessible> SAL_CALL
}
else
throw lang::IndexOutOfBoundsException();
-
+
return xChild;
}
diff --git a/sd/source/ui/accessibility/AccessibleSlideSorterObject.cxx b/sd/source/ui/accessibility/AccessibleSlideSorterObject.cxx
index 20147ca70d67..d62e9464d659 100644
--- a/sd/source/ui/accessibility/AccessibleSlideSorterObject.cxx
+++ b/sd/source/ui/accessibility/AccessibleSlideSorterObject.cxx
@@ -2,7 +2,7 @@
/*************************************************************************
*
* 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
@@ -139,7 +139,7 @@ Reference<XAccessibleContext> SAL_CALL
//===== XAccessibleContext ====================================================
-sal_Int32 SAL_CALL AccessibleSlideSorterObject::getAccessibleChildCount (void)
+sal_Int32 SAL_CALL AccessibleSlideSorterObject::getAccessibleChildCount (void)
throw (uno::RuntimeException)
{
ThrowIfDisposed();
@@ -149,7 +149,7 @@ sal_Int32 SAL_CALL AccessibleSlideSorterObject::getAccessibleChildCount (void)
-Reference<XAccessible> SAL_CALL AccessibleSlideSorterObject::getAccessibleChild (sal_Int32 )
+Reference<XAccessible> SAL_CALL AccessibleSlideSorterObject::getAccessibleChild (sal_Int32 )
throw (lang::IndexOutOfBoundsException, RuntimeException)
{
ThrowIfDisposed();
@@ -159,7 +159,7 @@ Reference<XAccessible> SAL_CALL AccessibleSlideSorterObject::getAccessibleChild
-Reference<XAccessible> SAL_CALL AccessibleSlideSorterObject::getAccessibleParent (void)
+Reference<XAccessible> SAL_CALL AccessibleSlideSorterObject::getAccessibleParent (void)
throw (uno::RuntimeException)
{
ThrowIfDisposed();
@@ -169,7 +169,7 @@ Reference<XAccessible> SAL_CALL AccessibleSlideSorterObject::getAccessibleParent
-sal_Int32 SAL_CALL AccessibleSlideSorterObject::getAccessibleIndexInParent()
+sal_Int32 SAL_CALL AccessibleSlideSorterObject::getAccessibleIndexInParent()
throw (uno::RuntimeException)
{
ThrowIfDisposed();
@@ -183,7 +183,7 @@ sal_Int32 SAL_CALL AccessibleSlideSorterObject::getAccessibleIndexInParent()
{
sal_Int32 nChildCount (xParentContext->getAccessibleChildCount());
for (sal_Int32 i=0; i<nChildCount; ++i)
- if (xParentContext->getAccessibleChild(i).get()
+ if (xParentContext->getAccessibleChild(i).get()
== static_cast<XAccessible*>(this))
{
nIndexInParent = i;
@@ -191,14 +191,14 @@ sal_Int32 SAL_CALL AccessibleSlideSorterObject::getAccessibleIndexInParent()
}
}
}
-
+
return nIndexInParent;
}
-sal_Int16 SAL_CALL AccessibleSlideSorterObject::getAccessibleRole (void)
+sal_Int16 SAL_CALL AccessibleSlideSorterObject::getAccessibleRole (void)
throw (uno::RuntimeException)
{
ThrowIfDisposed();
@@ -209,7 +209,7 @@ sal_Int16 SAL_CALL AccessibleSlideSorterObject::getAccessibleRole (void)
-::rtl::OUString SAL_CALL AccessibleSlideSorterObject::getAccessibleDescription (void)
+::rtl::OUString SAL_CALL AccessibleSlideSorterObject::getAccessibleDescription (void)
throw (uno::RuntimeException)
{
ThrowIfDisposed();
@@ -219,7 +219,7 @@ sal_Int16 SAL_CALL AccessibleSlideSorterObject::getAccessibleRole (void)
-::rtl::OUString SAL_CALL AccessibleSlideSorterObject::getAccessibleName (void)
+::rtl::OUString SAL_CALL AccessibleSlideSorterObject::getAccessibleName (void)
throw (uno::RuntimeException)
{
ThrowIfDisposed();
@@ -236,7 +236,7 @@ sal_Int16 SAL_CALL AccessibleSlideSorterObject::getAccessibleRole (void)
Reference<XAccessibleRelationSet> SAL_CALL
- AccessibleSlideSorterObject::getAccessibleRelationSet (void)
+ AccessibleSlideSorterObject::getAccessibleRelationSet (void)
throw (uno::RuntimeException)
{
ThrowIfDisposed();
@@ -247,7 +247,7 @@ Reference<XAccessibleRelationSet> SAL_CALL
Reference<XAccessibleStateSet> SAL_CALL
- AccessibleSlideSorterObject::getAccessibleStateSet (void)
+ AccessibleSlideSorterObject::getAccessibleStateSet (void)
throw (uno::RuntimeException)
{
ThrowIfDisposed();
@@ -279,7 +279,7 @@ Reference<XAccessibleStateSet> SAL_CALL
-lang::Locale SAL_CALL AccessibleSlideSorterObject::getLocale (void)
+lang::Locale SAL_CALL AccessibleSlideSorterObject::getLocale (void)
throw (IllegalAccessibleComponentStateException,
RuntimeException)
{
@@ -292,8 +292,8 @@ lang::Locale SAL_CALL AccessibleSlideSorterObject::getLocale (void)
return xParentContext->getLocale ();
}
- // No locale and no parent. Therefore throw exception to indicate this
- // cluelessness.
+ // No locale and no parent. Therefore throw exception to indicate this
+ // cluelessness.
throw IllegalAccessibleComponentStateException();
}
@@ -304,7 +304,7 @@ lang::Locale SAL_CALL AccessibleSlideSorterObject::getLocale (void)
//===== XAccessibleEventBroadcaster ===========================================
void SAL_CALL AccessibleSlideSorterObject::addEventListener(
- const Reference<XAccessibleEventListener>& rxListener)
+ const Reference<XAccessibleEventListener>& rxListener)
throw (RuntimeException)
{
if (rxListener.is())
@@ -329,7 +329,7 @@ void SAL_CALL AccessibleSlideSorterObject::addEventListener(
void SAL_CALL AccessibleSlideSorterObject::removeEventListener(
- const Reference<XAccessibleEventListener>& rxListener)
+ const Reference<XAccessibleEventListener>& rxListener)
throw (uno::RuntimeException)
{
ThrowIfDisposed();
@@ -355,7 +355,7 @@ void SAL_CALL AccessibleSlideSorterObject::removeEventListener(
//===== XAccessibleComponent ==================================================
-sal_Bool SAL_CALL AccessibleSlideSorterObject::containsPoint(const awt::Point& aPoint)
+sal_Bool SAL_CALL AccessibleSlideSorterObject::containsPoint(const awt::Point& aPoint)
throw (uno::RuntimeException)
{
ThrowIfDisposed();
@@ -370,7 +370,7 @@ sal_Bool SAL_CALL AccessibleSlideSorterObject::containsPoint(const awt::Point& a
Reference<XAccessible> SAL_CALL
- AccessibleSlideSorterObject::getAccessibleAtPoint(const awt::Point& )
+ AccessibleSlideSorterObject::getAccessibleAtPoint(const awt::Point& )
throw (uno::RuntimeException)
{
return NULL;
@@ -379,7 +379,7 @@ Reference<XAccessible> SAL_CALL
-awt::Rectangle SAL_CALL AccessibleSlideSorterObject::getBounds (void)
+awt::Rectangle SAL_CALL AccessibleSlideSorterObject::getBounds (void)
throw (RuntimeException)
{
ThrowIfDisposed ();
@@ -415,7 +415,7 @@ awt::Rectangle SAL_CALL AccessibleSlideSorterObject::getBounds (void)
-awt::Point SAL_CALL AccessibleSlideSorterObject::getLocation ()
+awt::Point SAL_CALL AccessibleSlideSorterObject::getLocation ()
throw (RuntimeException)
{
ThrowIfDisposed ();
@@ -426,7 +426,7 @@ awt::Point SAL_CALL AccessibleSlideSorterObject::getLocation ()
-awt::Point SAL_CALL AccessibleSlideSorterObject::getLocationOnScreen (void)
+awt::Point SAL_CALL AccessibleSlideSorterObject::getLocationOnScreen (void)
throw (RuntimeException)
{
ThrowIfDisposed ();
@@ -452,7 +452,7 @@ awt::Point SAL_CALL AccessibleSlideSorterObject::getLocationOnScreen (void)
-awt::Size SAL_CALL AccessibleSlideSorterObject::getSize (void)
+awt::Size SAL_CALL AccessibleSlideSorterObject::getSize (void)
throw (RuntimeException)
{
ThrowIfDisposed ();
@@ -463,7 +463,7 @@ awt::Size SAL_CALL AccessibleSlideSorterObject::getSize (void)
-void SAL_CALL AccessibleSlideSorterObject::grabFocus (void)
+void SAL_CALL AccessibleSlideSorterObject::grabFocus (void)
throw (RuntimeException)
{
// nothing to do
@@ -484,7 +484,7 @@ sal_Int32 SAL_CALL AccessibleSlideSorterObject::getForeground (void)
-sal_Int32 SAL_CALL AccessibleSlideSorterObject::getBackground (void)
+sal_Int32 SAL_CALL AccessibleSlideSorterObject::getBackground (void)
throw (::com::sun::star::uno::RuntimeException)
{
ThrowIfDisposed ();
diff --git a/sd/source/ui/accessibility/AccessibleSlideSorterView.cxx b/sd/source/ui/accessibility/AccessibleSlideSorterView.cxx
index 00c4d93b2288..0a6442803b2f 100644
--- a/sd/source/ui/accessibility/AccessibleSlideSorterView.cxx
+++ b/sd/source/ui/accessibility/AccessibleSlideSorterView.cxx
@@ -2,7 +2,7 @@
/*************************************************************************
*
* 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
@@ -218,7 +218,7 @@ sal_Int32 SAL_CALL AccessibleSlideSorterView::getAccessibleChildCount (void)
}
Reference<XAccessible > SAL_CALL
- AccessibleSlideSorterView::getAccessibleChild (sal_Int32 nIndex)
+ AccessibleSlideSorterView::getAccessibleChild (sal_Int32 nIndex)
throw (lang::IndexOutOfBoundsException, RuntimeException)
{
ThrowIfDisposed();
@@ -230,7 +230,7 @@ Reference<XAccessible > SAL_CALL
return mpImpl->GetVisibleChild(nIndex);
}
-Reference<XAccessible > SAL_CALL AccessibleSlideSorterView::getAccessibleParent (void)
+Reference<XAccessible > SAL_CALL AccessibleSlideSorterView::getAccessibleParent (void)
throw (uno::RuntimeException)
{
ThrowIfDisposed();
@@ -247,7 +247,7 @@ Reference<XAccessible > SAL_CALL AccessibleSlideSorterView::getAccessibleParent
return xParent;
}
-sal_Int32 SAL_CALL AccessibleSlideSorterView::getAccessibleIndexInParent (void)
+sal_Int32 SAL_CALL AccessibleSlideSorterView::getAccessibleIndexInParent (void)
throw (uno::RuntimeException)
{
OSL_ASSERT(getAccessibleParent().is());
@@ -255,27 +255,27 @@ sal_Int32 SAL_CALL AccessibleSlideSorterView::getAccessibleIndexInParent (void)
const SolarMutexGuard aSolarGuard;
sal_Int32 nIndexInParent(-1);
-
+
Reference<XAccessibleContext> xParentContext (getAccessibleParent()->getAccessibleContext());
if (xParentContext.is())
{
sal_Int32 nChildCount (xParentContext->getAccessibleChildCount());
for (sal_Int32 i=0; i<nChildCount; ++i)
- if (xParentContext->getAccessibleChild(i).get()
+ if (xParentContext->getAccessibleChild(i).get()
== static_cast<XAccessible*>(this))
{
nIndexInParent = i;
break;
}
}
-
+
return nIndexInParent;
}
-sal_Int16 SAL_CALL AccessibleSlideSorterView::getAccessibleRole (void)
+sal_Int16 SAL_CALL AccessibleSlideSorterView::getAccessibleRole (void)
throw (uno::RuntimeException)
{
ThrowIfDisposed();
@@ -286,7 +286,7 @@ sal_Int16 SAL_CALL AccessibleSlideSorterView::getAccessibleRole (void)
-::rtl::OUString SAL_CALL AccessibleSlideSorterView::getAccessibleDescription (void)
+::rtl::OUString SAL_CALL AccessibleSlideSorterView::getAccessibleDescription (void)
throw (uno::RuntimeException)
{
ThrowIfDisposed();
@@ -298,7 +298,7 @@ sal_Int16 SAL_CALL AccessibleSlideSorterView::getAccessibleRole (void)
-::rtl::OUString SAL_CALL AccessibleSlideSorterView::getAccessibleName (void)
+::rtl::OUString SAL_CALL AccessibleSlideSorterView::getAccessibleName (void)
throw (uno::RuntimeException)
{
ThrowIfDisposed();
@@ -311,7 +311,7 @@ sal_Int16 SAL_CALL AccessibleSlideSorterView::getAccessibleRole (void)
Reference<XAccessibleRelationSet> SAL_CALL
- AccessibleSlideSorterView::getAccessibleRelationSet (void)
+ AccessibleSlideSorterView::getAccessibleRelationSet (void)
throw (uno::RuntimeException)
{
return Reference<XAccessibleRelationSet>();
@@ -321,7 +321,7 @@ Reference<XAccessibleRelationSet> SAL_CALL
Reference<XAccessibleStateSet > SAL_CALL
- AccessibleSlideSorterView::getAccessibleStateSet (void)
+ AccessibleSlideSorterView::getAccessibleStateSet (void)
throw (uno::RuntimeException)
{
ThrowIfDisposed();
@@ -348,7 +348,7 @@ Reference<XAccessibleStateSet > SAL_CALL
-lang::Locale SAL_CALL AccessibleSlideSorterView::getLocale (void)
+lang::Locale SAL_CALL AccessibleSlideSorterView::getLocale (void)
throw (IllegalAccessibleComponentStateException,
RuntimeException)
{
@@ -369,7 +369,7 @@ lang::Locale SAL_CALL AccessibleSlideSorterView::getLocale (void)
void SAL_CALL AccessibleSlideSorterView::addEventListener(
- const Reference<XAccessibleEventListener >& rxListener)
+ const Reference<XAccessibleEventListener >& rxListener)
throw (RuntimeException)
{
if (rxListener.is())
@@ -394,7 +394,7 @@ void SAL_CALL AccessibleSlideSorterView::addEventListener(
void SAL_CALL AccessibleSlideSorterView::removeEventListener(
- const Reference<XAccessibleEventListener >& rxListener)
+ const Reference<XAccessibleEventListener >& rxListener)
throw (RuntimeException)
{
ThrowIfDisposed();
@@ -424,7 +424,7 @@ void SAL_CALL AccessibleSlideSorterView::removeEventListener(
//===== XAccessibleComponent ==================================================
-sal_Bool SAL_CALL AccessibleSlideSorterView::containsPoint (const awt::Point& aPoint)
+sal_Bool SAL_CALL AccessibleSlideSorterView::containsPoint (const awt::Point& aPoint)
throw (RuntimeException)
{
ThrowIfDisposed();
@@ -439,27 +439,27 @@ sal_Bool SAL_CALL AccessibleSlideSorterView::containsPoint (const awt::Point& aP
Reference<XAccessible> SAL_CALL
- AccessibleSlideSorterView::getAccessibleAtPoint (const awt::Point& aPoint)
+ AccessibleSlideSorterView::getAccessibleAtPoint (const awt::Point& aPoint)
throw (RuntimeException)
{
ThrowIfDisposed();
Reference<XAccessible> xAccessible;
const SolarMutexGuard aSolarGuard;
- const Point aTestPoint (aPoint.X, aPoint.Y);
+ const Point aTestPoint (aPoint.X, aPoint.Y);
::sd::slidesorter::model::SharedPageDescriptor pHitDescriptor (
mrSlideSorter.GetController().GetPageAt(aTestPoint));
if (pHitDescriptor.get() != NULL)
xAccessible = mpImpl->GetAccessibleChild(
(pHitDescriptor->GetPage()->GetPageNum()-1)/2);
-
+
return xAccessible;
}
-awt::Rectangle SAL_CALL AccessibleSlideSorterView::getBounds (void)
+awt::Rectangle SAL_CALL AccessibleSlideSorterView::getBounds (void)
throw (uno::RuntimeException)
{
ThrowIfDisposed();
@@ -470,25 +470,25 @@ awt::Rectangle SAL_CALL AccessibleSlideSorterView::getBounds (void)
{
const Point aPosition (mpContentWindow->GetPosPixel());
const Size aSize (mpContentWindow->GetOutputSizePixel());
-
+
aBBox.X = aPosition.X();
aBBox.Y = aPosition.Y();
aBBox.Width = aSize.Width();
aBBox.Height = aSize.Height();
}
-
+
return aBBox;
}
-awt::Point SAL_CALL AccessibleSlideSorterView::getLocation (void)
+awt::Point SAL_CALL AccessibleSlideSorterView::getLocation (void)
throw (uno::RuntimeException)
{
ThrowIfDisposed();
awt::Point aLocation;
-
+
if (mpContentWindow != NULL)
{
const Point aPosition (mpContentWindow->GetPosPixel());
@@ -505,7 +505,7 @@ awt::Point SAL_CALL AccessibleSlideSorterView::getLocation (void)
/** Calculate the location on screen from the parent's location on screen
and our own relative location.
*/
-awt::Point SAL_CALL AccessibleSlideSorterView::getLocationOnScreen()
+awt::Point SAL_CALL AccessibleSlideSorterView::getLocationOnScreen()
throw (uno::RuntimeException)
{
ThrowIfDisposed();
@@ -520,7 +520,7 @@ awt::Point SAL_CALL AccessibleSlideSorterView::getLocationOnScreen()
if (xParentComponent.is())
aParentLocationOnScreen = xParentComponent->getLocationOnScreen();
}
-
+
awt::Point aLocationOnScreen (getLocation());
aLocationOnScreen.X += aParentLocationOnScreen.X;
aLocationOnScreen.Y += aParentLocationOnScreen.Y;
@@ -531,12 +531,12 @@ awt::Point SAL_CALL AccessibleSlideSorterView::getLocationOnScreen()
-awt::Size SAL_CALL AccessibleSlideSorterView::getSize (void)
+awt::Size SAL_CALL AccessibleSlideSorterView::getSize (void)
throw (uno::RuntimeException)
{
ThrowIfDisposed();
awt::Size aSize;
-
+
if (mpContentWindow != NULL)
{
const Size aOutputSize (mpContentWindow->GetOutputSizePixel());
@@ -550,7 +550,7 @@ awt::Size SAL_CALL AccessibleSlideSorterView::getSize (void)
-void SAL_CALL AccessibleSlideSorterView::grabFocus (void)
+void SAL_CALL AccessibleSlideSorterView::grabFocus (void)
throw (uno::RuntimeException)
{
ThrowIfDisposed();
@@ -575,7 +575,7 @@ sal_Int32 SAL_CALL AccessibleSlideSorterView::getForeground (void)
-sal_Int32 SAL_CALL AccessibleSlideSorterView::getBackground (void)
+sal_Int32 SAL_CALL AccessibleSlideSorterView::getBackground (void)
throw (RuntimeException)
{
ThrowIfDisposed();
@@ -588,7 +588,7 @@ sal_Int32 SAL_CALL AccessibleSlideSorterView::getBackground (void)
//===== XAccessibleSelection ==================================================
-void SAL_CALL AccessibleSlideSorterView::selectAccessibleChild (sal_Int32 nChildIndex)
+void SAL_CALL AccessibleSlideSorterView::selectAccessibleChild (sal_Int32 nChildIndex)
throw (lang::IndexOutOfBoundsException,
RuntimeException)
{
@@ -605,7 +605,7 @@ void SAL_CALL AccessibleSlideSorterView::selectAccessibleChild (sal_Int32 nChild
-sal_Bool SAL_CALL AccessibleSlideSorterView::isAccessibleChildSelected (sal_Int32 nChildIndex)
+sal_Bool SAL_CALL AccessibleSlideSorterView::isAccessibleChildSelected (sal_Int32 nChildIndex)
throw (lang::IndexOutOfBoundsException,
RuntimeException)
{
@@ -626,7 +626,7 @@ sal_Bool SAL_CALL AccessibleSlideSorterView::isAccessibleChildSelected (sal_Int3
-void SAL_CALL AccessibleSlideSorterView::clearAccessibleSelection (void)
+void SAL_CALL AccessibleSlideSorterView::clearAccessibleSelection (void)
throw (uno::RuntimeException)
{
ThrowIfDisposed();
@@ -650,7 +650,7 @@ void SAL_CALL AccessibleSlideSorterView::selectAllAccessibleChildren (void)
-sal_Int32 SAL_CALL AccessibleSlideSorterView::getSelectedAccessibleChildCount (void)
+sal_Int32 SAL_CALL AccessibleSlideSorterView::getSelectedAccessibleChildCount (void)
throw (uno::RuntimeException)
{
ThrowIfDisposed ();
@@ -662,7 +662,7 @@ sal_Int32 SAL_CALL AccessibleSlideSorterView::getSelectedAccessibleChildCount (v
Reference<XAccessible > SAL_CALL
- AccessibleSlideSorterView::getSelectedAccessibleChild (sal_Int32 nSelectedChildIndex )
+ AccessibleSlideSorterView::getSelectedAccessibleChild (sal_Int32 nSelectedChildIndex )
throw (lang::IndexOutOfBoundsException, uno::RuntimeException)
{
ThrowIfDisposed ();
@@ -684,7 +684,7 @@ Reference<XAccessible > SAL_CALL
++nSelectedCount;
}
-
+
if ( ! xChild.is() )
throw lang::IndexOutOfBoundsException();
@@ -694,7 +694,7 @@ Reference<XAccessible > SAL_CALL
-void SAL_CALL AccessibleSlideSorterView::deselectAccessibleChild (sal_Int32 nChildIndex)
+void SAL_CALL AccessibleSlideSorterView::deselectAccessibleChild (sal_Int32 nChildIndex)
throw (lang::IndexOutOfBoundsException,
RuntimeException)
{
@@ -909,14 +909,14 @@ AccessibleSlideSorterObject* AccessibleSlideSorterView::Implementation::GetAcces
}
}
-
+
pChild = maPageObjects[nIndex].get();
}
else
{
OSL_ASSERT(nIndex>=0 && (sal_uInt32)nIndex<maPageObjects.size());
}
-
+
return pChild;
}
@@ -957,7 +957,7 @@ void AccessibleSlideSorterView::Implementation::ReleaseListeners (void)
if (mpWindow != NULL)
mpWindow->RemoveEventListener(
LINK(this,AccessibleSlideSorterView::Implementation,WindowEventListener));
-
+
if (mbListeningToDocument)
{
if (mrSlideSorter.GetViewShell() != NULL)
@@ -1016,7 +1016,7 @@ IMPL_LINK(AccessibleSlideSorterView::Implementation, WindowEventListener, VclWin
case VCLEVENT_WINDOW_RESIZE:
UpdateChildren();
break;
-
+
case VCLEVENT_WINDOW_GETFOCUS:
case VCLEVENT_WINDOW_LOSEFOCUS:
mrAccessibleSlideSorter.FireAccessibleEvent(
diff --git a/sd/source/ui/accessibility/AccessibleTreeNode.cxx b/sd/source/ui/accessibility/AccessibleTreeNode.cxx
index 449b3d2235e6..fb62178e60cb 100644
--- a/sd/source/ui/accessibility/AccessibleTreeNode.cxx
+++ b/sd/source/ui/accessibility/AccessibleTreeNode.cxx
@@ -2,7 +2,7 @@
/*************************************************************************
*
* 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
@@ -107,7 +107,7 @@ AccessibleTreeNode::AccessibleTreeNode(
void AccessibleTreeNode::CommonConstructor (void)
{
UpdateStateSet();
-
+
Link aStateChangeLink (LINK(this,AccessibleTreeNode,StateChangeListener));
mrTreeNode.AddStateChangeListener(aStateChangeLink);
@@ -190,17 +190,17 @@ sal_Int32 SAL_CALL AccessibleTreeNode::getAccessibleChildCount (void)
Reference<XAccessible > SAL_CALL
- AccessibleTreeNode::getAccessibleChild (sal_Int32 nIndex)
+ AccessibleTreeNode::getAccessibleChild (sal_Int32 nIndex)
throw (lang::IndexOutOfBoundsException, RuntimeException)
{
ThrowIfDisposed();
const SolarMutexGuard aSolarGuard;
-
+
if (nIndex<0 || (sal_uInt32)nIndex>=mrTreeNode.GetControlContainer().GetControlCount())
throw lang::IndexOutOfBoundsException();
Reference<XAccessible> xChild;
-
+
::sd::toolpanel::TreeNode* pNode = mrTreeNode.GetControlContainer().GetControl(nIndex);
if (pNode != NULL)
xChild = pNode->GetAccessibleObject();
@@ -211,7 +211,7 @@ Reference<XAccessible > SAL_CALL
-Reference<XAccessible > SAL_CALL AccessibleTreeNode::getAccessibleParent (void)
+Reference<XAccessible > SAL_CALL AccessibleTreeNode::getAccessibleParent (void)
throw (uno::RuntimeException)
{
ThrowIfDisposed();
@@ -222,7 +222,7 @@ Reference<XAccessible > SAL_CALL AccessibleTreeNode::getAccessibleParent (void)
-sal_Int32 SAL_CALL AccessibleTreeNode::getAccessibleIndexInParent (void)
+sal_Int32 SAL_CALL AccessibleTreeNode::getAccessibleIndexInParent (void)
throw (uno::RuntimeException)
{
OSL_ASSERT(getAccessibleParent().is());
@@ -230,27 +230,27 @@ sal_Int32 SAL_CALL AccessibleTreeNode::getAccessibleIndexInParent (void)
const SolarMutexGuard aSolarGuard;
sal_Int32 nIndexInParent(-1);
-
+
Reference<XAccessibleContext> xParentContext (getAccessibleParent()->getAccessibleContext());
if (xParentContext.is())
{
sal_Int32 nChildCount (xParentContext->getAccessibleChildCount());
for (sal_Int32 i=0; i<nChildCount; ++i)
- if (xParentContext->getAccessibleChild(i).get()
+ if (xParentContext->getAccessibleChild(i).get()
== static_cast<XAccessible*>(this))
{
nIndexInParent = i;
break;
}
}
-
+
return nIndexInParent;
}
-sal_Int16 SAL_CALL AccessibleTreeNode::getAccessibleRole (void)
+sal_Int16 SAL_CALL AccessibleTreeNode::getAccessibleRole (void)
throw (uno::RuntimeException)
{
ThrowIfDisposed();
@@ -260,7 +260,7 @@ sal_Int16 SAL_CALL AccessibleTreeNode::getAccessibleRole (void)
-::rtl::OUString SAL_CALL AccessibleTreeNode::getAccessibleDescription (void)
+::rtl::OUString SAL_CALL AccessibleTreeNode::getAccessibleDescription (void)
throw (uno::RuntimeException)
{
ThrowIfDisposed();
@@ -270,7 +270,7 @@ sal_Int16 SAL_CALL AccessibleTreeNode::getAccessibleRole (void)
-::rtl::OUString SAL_CALL AccessibleTreeNode::getAccessibleName (void)
+::rtl::OUString SAL_CALL AccessibleTreeNode::getAccessibleName (void)
throw (uno::RuntimeException)
{
ThrowIfDisposed();
@@ -281,7 +281,7 @@ sal_Int16 SAL_CALL AccessibleTreeNode::getAccessibleRole (void)
Reference<XAccessibleRelationSet> SAL_CALL
- AccessibleTreeNode::getAccessibleRelationSet (void)
+ AccessibleTreeNode::getAccessibleRelationSet (void)
throw (uno::RuntimeException)
{
ThrowIfDisposed();
@@ -292,7 +292,7 @@ Reference<XAccessibleRelationSet> SAL_CALL
Reference<XAccessibleStateSet > SAL_CALL
- AccessibleTreeNode::getAccessibleStateSet (void)
+ AccessibleTreeNode::getAccessibleStateSet (void)
throw (uno::RuntimeException)
{
ThrowIfDisposed();
@@ -348,7 +348,7 @@ void AccessibleTreeNode::UpdateState(
-lang::Locale SAL_CALL AccessibleTreeNode::getLocale (void)
+lang::Locale SAL_CALL AccessibleTreeNode::getLocale (void)
throw (IllegalAccessibleComponentStateException,
RuntimeException)
{
@@ -369,7 +369,7 @@ lang::Locale SAL_CALL AccessibleTreeNode::getLocale (void)
void SAL_CALL AccessibleTreeNode::addEventListener(
- const Reference<XAccessibleEventListener >& rxListener)
+ const Reference<XAccessibleEventListener >& rxListener)
throw (RuntimeException)
{
if (rxListener.is())
@@ -394,7 +394,7 @@ void SAL_CALL AccessibleTreeNode::addEventListener(
void SAL_CALL AccessibleTreeNode::removeEventListener(
- const Reference<XAccessibleEventListener >& rxListener)
+ const Reference<XAccessibleEventListener >& rxListener)
throw (RuntimeException)
{
ThrowIfDisposed();
@@ -420,7 +420,7 @@ void SAL_CALL AccessibleTreeNode::removeEventListener(
//===== XAccessibleComponent ==================================================
-sal_Bool SAL_CALL AccessibleTreeNode::containsPoint (const awt::Point& aPoint)
+sal_Bool SAL_CALL AccessibleTreeNode::containsPoint (const awt::Point& aPoint)
throw (RuntimeException)
{
ThrowIfDisposed();
@@ -435,7 +435,7 @@ sal_Bool SAL_CALL AccessibleTreeNode::containsPoint (const awt::Point& aPoint)
Reference<XAccessible> SAL_CALL
- AccessibleTreeNode::getAccessibleAtPoint (const awt::Point& aPoint)
+ AccessibleTreeNode::getAccessibleAtPoint (const awt::Point& aPoint)
throw (RuntimeException)
{
ThrowIfDisposed();
@@ -460,7 +460,7 @@ Reference<XAccessible> SAL_CALL
}
}
}
-
+
return xChildAtPoint;
}
@@ -506,7 +506,7 @@ awt::Rectangle SAL_CALL AccessibleTreeNode::getBounds (void)
-awt::Point SAL_CALL AccessibleTreeNode::getLocation (void)
+awt::Point SAL_CALL AccessibleTreeNode::getLocation (void)
throw (uno::RuntimeException)
{
ThrowIfDisposed();
@@ -520,7 +520,7 @@ awt::Point SAL_CALL AccessibleTreeNode::getLocation (void)
/** Calculate the location on screen from the parent's location on screen
and our own relative location.
*/
-awt::Point SAL_CALL AccessibleTreeNode::getLocationOnScreen()
+awt::Point SAL_CALL AccessibleTreeNode::getLocationOnScreen()
throw (uno::RuntimeException)
{
ThrowIfDisposed();
@@ -541,7 +541,7 @@ awt::Point SAL_CALL AccessibleTreeNode::getLocationOnScreen()
-awt::Size SAL_CALL AccessibleTreeNode::getSize (void)
+awt::Size SAL_CALL AccessibleTreeNode::getSize (void)
throw (uno::RuntimeException)
{
ThrowIfDisposed();
@@ -552,7 +552,7 @@ awt::Size SAL_CALL AccessibleTreeNode::getSize (void)
-void SAL_CALL AccessibleTreeNode::grabFocus (void)
+void SAL_CALL AccessibleTreeNode::grabFocus (void)
throw (uno::RuntimeException)
{
ThrowIfDisposed();
@@ -577,7 +577,7 @@ sal_Int32 SAL_CALL AccessibleTreeNode::getForeground (void)
-sal_Int32 SAL_CALL AccessibleTreeNode::getBackground (void)
+sal_Int32 SAL_CALL AccessibleTreeNode::getBackground (void)
throw (RuntimeException)
{
ThrowIfDisposed();
@@ -662,7 +662,7 @@ IMPL_LINK(AccessibleTreeNode, StateChangeListener, TreeNodeStateChangeEvent*, pE
{
OSL_ASSERT(pEvent!=NULL);
OSL_ASSERT(&pEvent->mrSource==&mrTreeNode);
-
+
switch(pEvent->meEventId)
{
case EID_CHILD_ADDED:
@@ -673,11 +673,11 @@ IMPL_LINK(AccessibleTreeNode, StateChangeListener, TreeNodeStateChangeEvent*, pE
else
FireAccessibleEvent(AccessibleEventId::INVALIDATE_ALL_CHILDREN,Any(),Any());
break;
-
+
case EID_ALL_CHILDREN_REMOVED:
FireAccessibleEvent(AccessibleEventId::INVALIDATE_ALL_CHILDREN,Any(),Any());
break;
-
+
case EID_EXPANSION_STATE_CHANGED:
case EID_FOCUSED_STATE_CHANGED:
case EID_SHOWING_STATE_CHANGED:
@@ -711,7 +711,7 @@ IMPL_LINK(AccessibleTreeNode, WindowEventListener, VclWindowEvent*, pEvent)
case VCLEVENT_WINDOW_RESIZE:
FireAccessibleEvent(AccessibleEventId::BOUNDRECT_CHANGED,Any(),Any());
break;
-
+
case VCLEVENT_WINDOW_GETFOCUS:
case VCLEVENT_WINDOW_LOSEFOCUS:
UpdateStateSet();
diff --git a/sd/source/ui/accessibility/AccessibleViewForwarder.cxx b/sd/source/ui/accessibility/AccessibleViewForwarder.cxx
index 3e59095621d7..5ca1262c1ed0 100644
--- a/sd/source/ui/accessibility/AccessibleViewForwarder.cxx
+++ b/sd/source/ui/accessibility/AccessibleViewForwarder.cxx
@@ -2,7 +2,7 @@
/*************************************************************************
*
* 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
@@ -162,7 +162,7 @@ Size AccessibleViewForwarder::PixelToLogic (const Size& rSize) const
SdrPaintWindow* pPaintWindow = mpView->GetPaintWindow((sal_uInt32)mnWindowId);
OutputDevice& rOutDev = pPaintWindow->GetOutputDevice();
return rOutDev.PixelToLogic (rSize);
- }
+ }
else
return Size();
}
diff --git a/sd/source/ui/accessibility/SdShapeTypes.cxx b/sd/source/ui/accessibility/SdShapeTypes.cxx
index ad7519ee295c..aab0f204176e 100644
--- a/sd/source/ui/accessibility/SdShapeTypes.cxx
+++ b/sd/source/ui/accessibility/SdShapeTypes.cxx
@@ -2,7 +2,7 @@
/*************************************************************************
*
* 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
@@ -74,59 +74,59 @@ AccessibleShape*
ShapeTypeDescriptor aSdShapeTypeList[] = {
- ShapeTypeDescriptor (
+ ShapeTypeDescriptor (
PRESENTATION_OUTLINER,
::rtl::OUString::createFromAscii ("com.sun.star.presentation.OutlinerShape"),
- CreateSdAccessibleShape ),
- ShapeTypeDescriptor (
+ CreateSdAccessibleShape ),
+ ShapeTypeDescriptor (
PRESENTATION_SUBTITLE,
::rtl::OUString::createFromAscii ("com.sun.star.presentation.SubtitleShape"),
- CreateSdAccessibleShape ),
- ShapeTypeDescriptor (
+ CreateSdAccessibleShape ),
+ ShapeTypeDescriptor (
PRESENTATION_GRAPHIC_OBJECT,
::rtl::OUString::createFromAscii ("com.sun.star.presentation.GraphicObjectShape"),
- CreateSdAccessibleShape ),
- ShapeTypeDescriptor (
+ CreateSdAccessibleShape ),
+ ShapeTypeDescriptor (
PRESENTATION_PAGE,
::rtl::OUString::createFromAscii ("com.sun.star.presentation.PageShape"),
- CreateSdAccessibleShape ),
- ShapeTypeDescriptor (
+ CreateSdAccessibleShape ),
+ ShapeTypeDescriptor (
PRESENTATION_OLE,
::rtl::OUString::createFromAscii ("com.sun.star.presentation.OLE2Shape"),
- CreateSdAccessibleShape ),
- ShapeTypeDescriptor (
+ CreateSdAccessibleShape ),
+ ShapeTypeDescriptor (
PRESENTATION_CHART,
::rtl::OUString::createFromAscii ("com.sun.star.presentation.ChartShape"),
- CreateSdAccessibleShape ),
- ShapeTypeDescriptor (
+ CreateSdAccessibleShape ),
+ ShapeTypeDescriptor (
PRESENTATION_TABLE,
::rtl::OUString::createFromAscii ("com.sun.star.presentation.TableShape"),
- CreateSdAccessibleShape ),
- ShapeTypeDescriptor (
+ CreateSdAccessibleShape ),
+ ShapeTypeDescriptor (
PRESENTATION_NOTES,
::rtl::OUString::createFromAscii ("com.sun.star.presentation.NotesShape"),
- CreateSdAccessibleShape ),
- ShapeTypeDescriptor (
+ CreateSdAccessibleShape ),
+ ShapeTypeDescriptor (
PRESENTATION_TITLE,
::rtl::OUString::createFromAscii ("com.sun.star.presentation.TitleTextShape"),
CreateSdAccessibleShape ),
- ShapeTypeDescriptor (
+ ShapeTypeDescriptor (
PRESENTATION_HANDOUT,
::rtl::OUString::createFromAscii ("com.sun.star.presentation.HandoutShape"),
CreateSdAccessibleShape ),
- ShapeTypeDescriptor (
+ ShapeTypeDescriptor (
PRESENTATION_HEADER,
::rtl::OUString::createFromAscii ("com.sun.star.presentation.HeaderShape"),
CreateSdAccessibleShape ),
- ShapeTypeDescriptor (
+ ShapeTypeDescriptor (
PRESENTATION_FOOTER,
::rtl::OUString::createFromAscii ("com.sun.star.presentation.FooterShape"),
CreateSdAccessibleShape ),
- ShapeTypeDescriptor (
+ ShapeTypeDescriptor (
PRESENTATION_DATETIME,
::rtl::OUString::createFromAscii ("com.sun.star.presentation.DateTimeShape"),
CreateSdAccessibleShape ),
- ShapeTypeDescriptor (
+ ShapeTypeDescriptor (
PRESENTATION_PAGENUMBER,
::rtl::OUString::createFromAscii ("com.sun.star.presentation.SlideNumberShape"),
CreateSdAccessibleShape )
diff --git a/sd/source/ui/accessibility/accessibility.hrc b/sd/source/ui/accessibility/accessibility.hrc
index e55c62abb0a4..fada64dab2fc 100644
--- a/sd/source/ui/accessibility/accessibility.hrc
+++ b/sd/source/ui/accessibility/accessibility.hrc
@@ -1,7 +1,7 @@
/*************************************************************************
*
* 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
@@ -32,21 +32,21 @@
#include <sfx2/sfx.hrc>
#endif
-#define SID_SD_A11Y_START (SID_SD_START+600)
-
-#define SID_SD_A11Y_D_DRAWVIEW_N (SID_SD_A11Y_START + 0)
-#define SID_SD_A11Y_D_DRAWVIEW_D (SID_SD_A11Y_START + 1)
-
-#define SID_SD_A11Y_I_DRAWVIEW_N (SID_SD_A11Y_START + 2)
-#define SID_SD_A11Y_I_DRAWVIEW_D (SID_SD_A11Y_START + 3)
-#define SID_SD_A11Y_I_OUTLINEVIEW_N (SID_SD_A11Y_START + 4)
-#define SID_SD_A11Y_I_OUTLINEVIEW_D (SID_SD_A11Y_START + 5)
-#define SID_SD_A11Y_I_SLIDEVIEW_N (SID_SD_A11Y_START + 6)
-#define SID_SD_A11Y_I_SLIDEVIEW_D (SID_SD_A11Y_START + 7)
-#define SID_SD_A11Y_I_NOTESVIEW_N (SID_SD_A11Y_START + 8)
-#define SID_SD_A11Y_I_NOTESVIEW_D (SID_SD_A11Y_START + 9)
-#define SID_SD_A11Y_I_HANDOUTVIEW_N (SID_SD_A11Y_START + 10)
-#define SID_SD_A11Y_I_HANDOUTVIEW_D (SID_SD_A11Y_START + 11)
+#define SID_SD_A11Y_START (SID_SD_START+600)
+
+#define SID_SD_A11Y_D_DRAWVIEW_N (SID_SD_A11Y_START + 0)
+#define SID_SD_A11Y_D_DRAWVIEW_D (SID_SD_A11Y_START + 1)
+
+#define SID_SD_A11Y_I_DRAWVIEW_N (SID_SD_A11Y_START + 2)
+#define SID_SD_A11Y_I_DRAWVIEW_D (SID_SD_A11Y_START + 3)
+#define SID_SD_A11Y_I_OUTLINEVIEW_N (SID_SD_A11Y_START + 4)
+#define SID_SD_A11Y_I_OUTLINEVIEW_D (SID_SD_A11Y_START + 5)
+#define SID_SD_A11Y_I_SLIDEVIEW_N (SID_SD_A11Y_START + 6)
+#define SID_SD_A11Y_I_SLIDEVIEW_D (SID_SD_A11Y_START + 7)
+#define SID_SD_A11Y_I_NOTESVIEW_N (SID_SD_A11Y_START + 8)
+#define SID_SD_A11Y_I_NOTESVIEW_D (SID_SD_A11Y_START + 9)
+#define SID_SD_A11Y_I_HANDOUTVIEW_N (SID_SD_A11Y_START + 10)
+#define SID_SD_A11Y_I_HANDOUTVIEW_D (SID_SD_A11Y_START + 11)
#endif /* _SD_ACCESSIBILITY_HRC */
diff --git a/sd/source/ui/accessibility/accessibility.src b/sd/source/ui/accessibility/accessibility.src
index 663d75bd29ff..03d5db4e2db3 100644
--- a/sd/source/ui/accessibility/accessibility.src
+++ b/sd/source/ui/accessibility/accessibility.src
@@ -1,7 +1,7 @@
/*************************************************************************
*
* 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
diff --git a/sd/source/ui/animations/CustomAnimation.hrc b/sd/source/ui/animations/CustomAnimation.hrc
index bfe4e1d9c6d4..6016a800acce 100644
--- a/sd/source/ui/animations/CustomAnimation.hrc
+++ b/sd/source/ui/animations/CustomAnimation.hrc
@@ -1,7 +1,7 @@
/*************************************************************************
*
* 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
@@ -34,111 +34,111 @@
// attention, we have 200 ids free after RID_CUSTOMANIMATION_START
// !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
-#define DLG_CUSTOMANIMATIONPANE RID_CUSTOMANIMATION_START+0
-#define DLG_CUSTOMANIMATION RID_CUSTOMANIMATION_START+1
-#define DLG_CUSTOMANIMATION_CREATE RID_CUSTOMANIMATION_START+2
-#define DLG_SLIDE_TRANSITION_PANE RID_CUSTOMANIMATION_START+3
-#define DLG_CUSTOMANIMATION_SCHEMES_PANE RID_CUSTOMANIMATION_START+4
-#define DLG_ANIMATION_SCHEMES_PANE RID_CUSTOMANIMATION_START+5
+#define DLG_CUSTOMANIMATIONPANE RID_CUSTOMANIMATION_START+0
+#define DLG_CUSTOMANIMATION RID_CUSTOMANIMATION_START+1
+#define DLG_CUSTOMANIMATION_CREATE RID_CUSTOMANIMATION_START+2
+#define DLG_SLIDE_TRANSITION_PANE RID_CUSTOMANIMATION_START+3
+#define DLG_CUSTOMANIMATION_SCHEMES_PANE RID_CUSTOMANIMATION_START+4
+#define DLG_ANIMATION_SCHEMES_PANE RID_CUSTOMANIMATION_START+5
-#define RID_EFFECT_CONTEXTMENU RID_CUSTOMANIMATION_START+0
-#define RID_TP_CUSTOMANIMATION_EFFECT RID_CUSTOMANIMATION_START+1
-#define RID_TP_CUSTOMANIMATION_DURATION RID_CUSTOMANIMATION_START+2
-#define RID_TP_CUSTOMANIMATION_TEXT RID_CUSTOMANIMATION_START+3
-#define RID_TP_CUSTOMANIMATION_ENTRANCE RID_CUSTOMANIMATION_START+4
-#define RID_TP_CUSTOMANIMATION_EMPHASIS RID_CUSTOMANIMATION_START+5
-#define RID_TP_CUSTOMANIMATION_EXIT RID_CUSTOMANIMATION_START+6
-#define RID_TP_CUSTOMANIMATION_MOTIONPATH RID_CUSTOMANIMATION_START+7
-#define RID_TP_CUSTOMANIMATION_MISCEFFECTS RID_CUSTOMANIMATION_START+8
-#define RID_CUSTOMANIMATION_ROTATION_POPUP RID_CUSTOMANIMATION_START+9
-#define RID_CUSTOMANIMATION_FONTSIZE_POPUP RID_CUSTOMANIMATION_START+10
-#define RID_CUSTOMANIMATION_SCALE_POPUP RID_CUSTOMANIMATION_START+11
-#define RID_CUSTOMANIMATION_FONTSTYLE_POPUP RID_CUSTOMANIMATION_START+12
+#define RID_EFFECT_CONTEXTMENU RID_CUSTOMANIMATION_START+0
+#define RID_TP_CUSTOMANIMATION_EFFECT RID_CUSTOMANIMATION_START+1
+#define RID_TP_CUSTOMANIMATION_DURATION RID_CUSTOMANIMATION_START+2
+#define RID_TP_CUSTOMANIMATION_TEXT RID_CUSTOMANIMATION_START+3
+#define RID_TP_CUSTOMANIMATION_ENTRANCE RID_CUSTOMANIMATION_START+4
+#define RID_TP_CUSTOMANIMATION_EMPHASIS RID_CUSTOMANIMATION_START+5
+#define RID_TP_CUSTOMANIMATION_EXIT RID_CUSTOMANIMATION_START+6
+#define RID_TP_CUSTOMANIMATION_MOTIONPATH RID_CUSTOMANIMATION_START+7
+#define RID_TP_CUSTOMANIMATION_MISCEFFECTS RID_CUSTOMANIMATION_START+8
+#define RID_CUSTOMANIMATION_ROTATION_POPUP RID_CUSTOMANIMATION_START+9
+#define RID_CUSTOMANIMATION_FONTSIZE_POPUP RID_CUSTOMANIMATION_START+10
+#define RID_CUSTOMANIMATION_SCALE_POPUP RID_CUSTOMANIMATION_START+11
+#define RID_CUSTOMANIMATION_FONTSTYLE_POPUP RID_CUSTOMANIMATION_START+12
-#define IMG_CUSTOMANIMATION_ON_CLICK RID_CUSTOMANIMATION_START+0
-#define IMG_CUSTOMANIMATION_ON_CLICK_H RID_CUSTOMANIMATION_START+1
-#define IMG_CUSTOMANIMATION_AFTER_PREVIOUS RID_CUSTOMANIMATION_START+2
-#define IMG_CUSTOMANIMATION_AFTER_PREVIOUS_H RID_CUSTOMANIMATION_START+3
-#define IMG_CUSTOMANIMATION_ENTRANCE_EFFECT RID_CUSTOMANIMATION_START+4
-#define IMG_CUSTOMANIMATION_ENTRANCE_EFFECT_H RID_CUSTOMANIMATION_START+5
-#define IMG_CUSTOMANIMATION_EMPHASIS_EFFECT RID_CUSTOMANIMATION_START+6
-#define IMG_CUSTOMANIMATION_EMPHASIS_EFFECT_H RID_CUSTOMANIMATION_START+7
-#define IMG_CUSTOMANIMATION_EXIT_EFFECT RID_CUSTOMANIMATION_START+8
-#define IMG_CUSTOMANIMATION_EXIT_EFFECT_H RID_CUSTOMANIMATION_START+9
-#define IMG_CUSTOMANIMATION_MOTION_PATH RID_CUSTOMANIMATION_START+10
-#define IMG_CUSTOMANIMATION_MOTION_PATH_H RID_CUSTOMANIMATION_START+11
-#define IMG_CUSTOMANIMATION_OLE RID_CUSTOMANIMATION_START+12
-#define IMG_CUSTOMANIMATION_OLE_H RID_CUSTOMANIMATION_START+13
-#define IMG_CUSTOMANIMATION_MEDIA_PLAY RID_CUSTOMANIMATION_START+14
-#define IMG_CUSTOMANIMATION_MEDIA_PLAY_H RID_CUSTOMANIMATION_START+15
-#define IMG_CUSTOMANIMATION_MEDIA_PAUSE RID_CUSTOMANIMATION_START+16
-#define IMG_CUSTOMANIMATION_MEDIA_PAUSE_H RID_CUSTOMANIMATION_START+17
-#define IMG_CUSTOMANIMATION_MEDIA_STOP RID_CUSTOMANIMATION_START+18
-#define IMG_CUSTOMANIMATION_MEDIA_STOP_H RID_CUSTOMANIMATION_START+19
+#define IMG_CUSTOMANIMATION_ON_CLICK RID_CUSTOMANIMATION_START+0
+#define IMG_CUSTOMANIMATION_ON_CLICK_H RID_CUSTOMANIMATION_START+1
+#define IMG_CUSTOMANIMATION_AFTER_PREVIOUS RID_CUSTOMANIMATION_START+2
+#define IMG_CUSTOMANIMATION_AFTER_PREVIOUS_H RID_CUSTOMANIMATION_START+3
+#define IMG_CUSTOMANIMATION_ENTRANCE_EFFECT RID_CUSTOMANIMATION_START+4
+#define IMG_CUSTOMANIMATION_ENTRANCE_EFFECT_H RID_CUSTOMANIMATION_START+5
+#define IMG_CUSTOMANIMATION_EMPHASIS_EFFECT RID_CUSTOMANIMATION_START+6
+#define IMG_CUSTOMANIMATION_EMPHASIS_EFFECT_H RID_CUSTOMANIMATION_START+7
+#define IMG_CUSTOMANIMATION_EXIT_EFFECT RID_CUSTOMANIMATION_START+8
+#define IMG_CUSTOMANIMATION_EXIT_EFFECT_H RID_CUSTOMANIMATION_START+9
+#define IMG_CUSTOMANIMATION_MOTION_PATH RID_CUSTOMANIMATION_START+10
+#define IMG_CUSTOMANIMATION_MOTION_PATH_H RID_CUSTOMANIMATION_START+11
+#define IMG_CUSTOMANIMATION_OLE RID_CUSTOMANIMATION_START+12
+#define IMG_CUSTOMANIMATION_OLE_H RID_CUSTOMANIMATION_START+13
+#define IMG_CUSTOMANIMATION_MEDIA_PLAY RID_CUSTOMANIMATION_START+14
+#define IMG_CUSTOMANIMATION_MEDIA_PLAY_H RID_CUSTOMANIMATION_START+15
+#define IMG_CUSTOMANIMATION_MEDIA_PAUSE RID_CUSTOMANIMATION_START+16
+#define IMG_CUSTOMANIMATION_MEDIA_PAUSE_H RID_CUSTOMANIMATION_START+17
+#define IMG_CUSTOMANIMATION_MEDIA_STOP RID_CUSTOMANIMATION_START+18
+#define IMG_CUSTOMANIMATION_MEDIA_STOP_H RID_CUSTOMANIMATION_START+19
-#define STR_CUSTOMANIMATION_DURATION_VERY_SLOW RID_CUSTOMANIMATION_START+0
-#define STR_CUSTOMANIMATION_DURATION_SLOW RID_CUSTOMANIMATION_START+1
-#define STR_CUSTOMANIMATION_DURATION_NORMAL RID_CUSTOMANIMATION_START+2
-#define STR_CUSTOMANIMATION_DURATION_FAST RID_CUSTOMANIMATION_START+3
-#define STR_CUSTOMANIMATION_DURATION_VERY_FAST RID_CUSTOMANIMATION_START+4
-#define STR_CUSTOMANIMATION_REPEAT_NONE RID_CUSTOMANIMATION_START+5
-#define STR_CUSTOMANIMATION_REPEAT_UNTIL_NEXT_CLICK RID_CUSTOMANIMATION_START+6
-#define STR_CUSTOMANIMATION_REPEAT_UNTIL_END_OF_SLIDE RID_CUSTOMANIMATION_START+7
-#define STR_CUSTOMANIMATION_DIRECTION_PROPERTY RID_CUSTOMANIMATION_START+8
-#define STR_CUSTOMANIMATION_ZOOM_PROPERTY RID_CUSTOMANIMATION_START+9
-#define STR_CUSTOMANIMATION_SPOKES_PROPERTY RID_CUSTOMANIMATION_START+10
-#define STR_CUSTOMANIMATION_FIRST_COLOR_PROPERTY RID_CUSTOMANIMATION_START+11
-#define STR_CUSTOMANIMATION_SECOND_COLOR_PROPERTY RID_CUSTOMANIMATION_START+12
-#define STR_CUSTOMANIMATION_FILL_COLOR_PROPERTY RID_CUSTOMANIMATION_START+13
-#define STR_CUSTOMANIMATION_STYLE_PROPERTY RID_CUSTOMANIMATION_START+14
-#define STR_CUSTOMANIMATION_FONT_PROPERTY RID_CUSTOMANIMATION_START+15
-#define STR_CUSTOMANIMATION_FONT_COLOR_PROPERTY RID_CUSTOMANIMATION_START+16
-#define STR_CUSTOMANIMATION_FONT_SIZE_STYLE_PROPERTY RID_CUSTOMANIMATION_START+17
-#define STR_CUSTOMANIMATION_FONT_STYLE_PROPERTY RID_CUSTOMANIMATION_START+18
-#define STR_CUSTOMANIMATION_LINE_COLOR_PROPERTY RID_CUSTOMANIMATION_START+19
-#define STR_CUSTOMANIMATION_SIZE_PROPERTY RID_CUSTOMANIMATION_START+20
-#define STR_CUSTOMANIMATION_AMOUNT_PROPERTY RID_CUSTOMANIMATION_START+21
-#define STR_CUSTOMANIMATION_COLOR_PROPERTY RID_CUSTOMANIMATION_START+22
-#define STR_CUSTOMANIMATION_NO_SOUND RID_CUSTOMANIMATION_START+23
-#define STR_CUSTOMANIMATION_STOP_PREVIOUS_SOUND RID_CUSTOMANIMATION_START+24
-#define STR_CUSTOMANIMATION_SCALE_PROPERTY RID_CUSTOMANIMATION_START+25
-#define STR_CUSTOMANIMATION_SAMPLE RID_CUSTOMANIMATION_START+26
-#define STR_CUSTOMANIMATION_BROWSE_SOUND RID_CUSTOMANIMATION_START+27
-#define STR_CUSTOMANIMATION_1_SPOKES RID_CUSTOMANIMATION_START+28
-#define STR_CUSTOMANIMATION_2_SPOKES RID_CUSTOMANIMATION_START+29
-#define STR_CUSTOMANIMATION_3_SPOKES RID_CUSTOMANIMATION_START+30
-#define STR_CUSTOMANIMATION_4_SPOKES RID_CUSTOMANIMATION_START+31
-#define STR_CUSTOMANIMATION_8_SPOKES RID_CUSTOMANIMATION_START+32
-#define STR_CUSTOMANIMATION_INSTANT RID_CUSTOMANIMATION_START+33
-#define STR_CUSTOMANIMATION_GRADUAL RID_CUSTOMANIMATION_START+34
-#define STR_CUSTOMANIMATION_TRIGGER RID_CUSTOMANIMATION_START+35
-#define STR_CUSTOMANIMATION_LIST_HELPTEXT RID_CUSTOMANIMATION_START+36
+#define STR_CUSTOMANIMATION_DURATION_VERY_SLOW RID_CUSTOMANIMATION_START+0
+#define STR_CUSTOMANIMATION_DURATION_SLOW RID_CUSTOMANIMATION_START+1
+#define STR_CUSTOMANIMATION_DURATION_NORMAL RID_CUSTOMANIMATION_START+2
+#define STR_CUSTOMANIMATION_DURATION_FAST RID_CUSTOMANIMATION_START+3
+#define STR_CUSTOMANIMATION_DURATION_VERY_FAST RID_CUSTOMANIMATION_START+4
+#define STR_CUSTOMANIMATION_REPEAT_NONE RID_CUSTOMANIMATION_START+5
+#define STR_CUSTOMANIMATION_REPEAT_UNTIL_NEXT_CLICK RID_CUSTOMANIMATION_START+6
+#define STR_CUSTOMANIMATION_REPEAT_UNTIL_END_OF_SLIDE RID_CUSTOMANIMATION_START+7
+#define STR_CUSTOMANIMATION_DIRECTION_PROPERTY RID_CUSTOMANIMATION_START+8
+#define STR_CUSTOMANIMATION_ZOOM_PROPERTY RID_CUSTOMANIMATION_START+9
+#define STR_CUSTOMANIMATION_SPOKES_PROPERTY RID_CUSTOMANIMATION_START+10
+#define STR_CUSTOMANIMATION_FIRST_COLOR_PROPERTY RID_CUSTOMANIMATION_START+11
+#define STR_CUSTOMANIMATION_SECOND_COLOR_PROPERTY RID_CUSTOMANIMATION_START+12
+#define STR_CUSTOMANIMATION_FILL_COLOR_PROPERTY RID_CUSTOMANIMATION_START+13
+#define STR_CUSTOMANIMATION_STYLE_PROPERTY RID_CUSTOMANIMATION_START+14
+#define STR_CUSTOMANIMATION_FONT_PROPERTY RID_CUSTOMANIMATION_START+15
+#define STR_CUSTOMANIMATION_FONT_COLOR_PROPERTY RID_CUSTOMANIMATION_START+16
+#define STR_CUSTOMANIMATION_FONT_SIZE_STYLE_PROPERTY RID_CUSTOMANIMATION_START+17
+#define STR_CUSTOMANIMATION_FONT_STYLE_PROPERTY RID_CUSTOMANIMATION_START+18
+#define STR_CUSTOMANIMATION_LINE_COLOR_PROPERTY RID_CUSTOMANIMATION_START+19
+#define STR_CUSTOMANIMATION_SIZE_PROPERTY RID_CUSTOMANIMATION_START+20
+#define STR_CUSTOMANIMATION_AMOUNT_PROPERTY RID_CUSTOMANIMATION_START+21
+#define STR_CUSTOMANIMATION_COLOR_PROPERTY RID_CUSTOMANIMATION_START+22
+#define STR_CUSTOMANIMATION_NO_SOUND RID_CUSTOMANIMATION_START+23
+#define STR_CUSTOMANIMATION_STOP_PREVIOUS_SOUND RID_CUSTOMANIMATION_START+24
+#define STR_CUSTOMANIMATION_SCALE_PROPERTY RID_CUSTOMANIMATION_START+25
+#define STR_CUSTOMANIMATION_SAMPLE RID_CUSTOMANIMATION_START+26
+#define STR_CUSTOMANIMATION_BROWSE_SOUND RID_CUSTOMANIMATION_START+27
+#define STR_CUSTOMANIMATION_1_SPOKES RID_CUSTOMANIMATION_START+28
+#define STR_CUSTOMANIMATION_2_SPOKES RID_CUSTOMANIMATION_START+29
+#define STR_CUSTOMANIMATION_3_SPOKES RID_CUSTOMANIMATION_START+30
+#define STR_CUSTOMANIMATION_4_SPOKES RID_CUSTOMANIMATION_START+31
+#define STR_CUSTOMANIMATION_8_SPOKES RID_CUSTOMANIMATION_START+32
+#define STR_CUSTOMANIMATION_INSTANT RID_CUSTOMANIMATION_START+33
+#define STR_CUSTOMANIMATION_GRADUAL RID_CUSTOMANIMATION_START+34
+#define STR_CUSTOMANIMATION_TRIGGER RID_CUSTOMANIMATION_START+35
+#define STR_CUSTOMANIMATION_LIST_HELPTEXT RID_CUSTOMANIMATION_START+36
-#define CM_WITH_CLICK 1
-#define CM_WITH_PREVIOUS 2
-#define CM_AFTER_PREVIOUS 3
-#define CM_OPTIONS 4
-#define CM_DURATION 5
-#define CM_REMOVE 6
-#define CM_CREATE 7
+#define CM_WITH_CLICK 1
+#define CM_WITH_PREVIOUS 2
+#define CM_AFTER_PREVIOUS 3
+#define CM_OPTIONS 4
+#define CM_DURATION 5
+#define CM_REMOVE 6
+#define CM_CREATE 7
-#define CM_QUARTER_SPIN 1
-#define CM_HALF_SPIN 2
-#define CM_FULL_SPIN 3
-#define CM_TWO_SPINS 4
-#define CM_CLOCKWISE 5
-#define CM_COUNTERCLOCKWISE 6
+#define CM_QUARTER_SPIN 1
+#define CM_HALF_SPIN 2
+#define CM_FULL_SPIN 3
+#define CM_TWO_SPINS 4
+#define CM_CLOCKWISE 5
+#define CM_COUNTERCLOCKWISE 6
-#define CM_SIZE_25 25
-#define CM_SIZE_50 50
-#define CM_SIZE_150 150
-#define CM_SIZE_400 400
-#define CM_HORIZONTAL 1
-#define CM_VERTICAL 2
-#define CM_BOTH 3
+#define CM_SIZE_25 25
+#define CM_SIZE_50 50
+#define CM_SIZE_150 150
+#define CM_SIZE_400 400
+#define CM_HORIZONTAL 1
+#define CM_VERTICAL 2
+#define CM_BOTH 3
-#define CM_BOLD 1
-#define CM_ITALIC 2
-#define CM_UNDERLINED 3
+#define CM_BOLD 1
+#define CM_ITALIC 2
+#define CM_UNDERLINED 3
#endif // _SD_CUSTOMANIMATION_HRC
diff --git a/sd/source/ui/animations/CustomAnimation.src b/sd/source/ui/animations/CustomAnimation.src
index 449107f05c75..adc0c2be996c 100644
--- a/sd/source/ui/animations/CustomAnimation.src
+++ b/sd/source/ui/animations/CustomAnimation.src
@@ -1,7 +1,7 @@
/*************************************************************************
*
* 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
@@ -64,7 +64,7 @@ Menu RID_EFFECT_CONTEXTMENU
{
Identifier = CM_REMOVE;
Text [ en-US ] = "~Remove" ;
- };
+ };
};
};
@@ -81,17 +81,17 @@ Menu RID_CUSTOMANIMATION_FONTSIZE_POPUP
{
Identifier = CM_SIZE_50 ;
Text [ en-US ] = "Smaller" ;
- };
+ };
MenuItem
{
Identifier = CM_SIZE_150 ;
Text [ en-US ] = "Larger" ;
- };
+ };
MenuItem
{
Identifier = CM_SIZE_400 ;
Text [ en-US ] = "Extra large" ;
- };
+ };
};
};
@@ -108,12 +108,12 @@ Menu RID_CUSTOMANIMATION_SCALE_POPUP
{
Identifier = CM_SIZE_50 ;
Text [ en-US ] = "Smaller" ;
- };
+ };
MenuItem
{
Identifier = CM_SIZE_150 ;
Text [ en-US ] = "Larger" ;
- };
+ };
MenuItem
{
Identifier = CM_SIZE_400 ;
@@ -122,7 +122,7 @@ Menu RID_CUSTOMANIMATION_SCALE_POPUP
MenuItem
{
Separator = TRUE ;
- };
+ };
MenuItem
{
Identifier = CM_HORIZONTAL ;
@@ -143,7 +143,7 @@ Menu RID_CUSTOMANIMATION_SCALE_POPUP
};
};
};
-
+
Menu RID_CUSTOMANIMATION_ROTATION_POPUP
{
ItemList =
@@ -181,7 +181,7 @@ Menu RID_CUSTOMANIMATION_ROTATION_POPUP
{
Identifier = CM_COUNTERCLOCKWISE;
Text [ en-US ] = "Counter-clockwise" ;
- };
+ };
};
};
diff --git a/sd/source/ui/animations/CustomAnimationCreateDialog.cxx b/sd/source/ui/animations/CustomAnimationCreateDialog.cxx
index e4295c800380..d91b9363a11c 100644
--- a/sd/source/ui/animations/CustomAnimationCreateDialog.cxx
+++ b/sd/source/ui/animations/CustomAnimationCreateDialog.cxx
@@ -2,7 +2,7 @@
/*************************************************************************
*
* 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
@@ -88,16 +88,16 @@ public:
virtual void MouseButtonUp( const MouseEvent& rMEvt );
- USHORT InsertCategory( const XubString& rStr, USHORT nPos = LISTBOX_APPEND );
+ USHORT InsertCategory( const XubString& rStr, USHORT nPos = LISTBOX_APPEND );
- void SetDoubleClickLink( const Link& rDoubleClickHdl ) { maDoubleClickHdl = rDoubleClickHdl; }
+ void SetDoubleClickLink( const Link& rDoubleClickHdl ) { maDoubleClickHdl = rDoubleClickHdl; }
DECL_LINK( implDoubleClickHdl, Control* );
private:
- virtual void UserDraw( const UserDrawEvent& rUDEvt );
+ virtual void UserDraw( const UserDrawEvent& rUDEvt );
- Link maDoubleClickHdl;
+ Link maDoubleClickHdl;
};
CategoryListBox::CategoryListBox( Window* pParent, const ResId& rResId )
@@ -203,12 +203,12 @@ private:
void clearEffects();
private:
- CategoryListBox* mpLBEffects;
- FixedText* mpFTSpeed;
- ComboBox* mpCBSpeed;
- CheckBox* mpCBXPReview;
+ CategoryListBox* mpLBEffects;
+ FixedText* mpFTSpeed;
+ ComboBox* mpCBSpeed;
+ CheckBox* mpCBXPReview;
- CustomAnimationCreateDialog* mpParent;
+ CustomAnimationCreateDialog* mpParent;
USHORT mnCurvePathPos;
USHORT mnPolygonPathPos;
@@ -509,10 +509,10 @@ bool CustomAnimationCreateTabPage::select( const OUString& rsPresetId )
// --------------------------------------------------------------------
CustomAnimationCreateDialog::CustomAnimationCreateDialog( Window* pParent, CustomAnimationPane* pPane, const std::vector< ::com::sun::star::uno::Any >& rTargets, bool bHasText, const ::rtl::OUString& rsPresetId, double fDuration )
-: TabDialog( pParent, SdResId( DLG_CUSTOMANIMATION_CREATE ) )
-, mpPane( pPane )
-, mrTargets( rTargets )
-, mfDuration( fDuration )
+: TabDialog( pParent, SdResId( DLG_CUSTOMANIMATION_CREATE ) )
+, mpPane( pPane )
+, mrTargets( rTargets )
+, mfDuration( fDuration )
{
mpTabControl = new TabControl( this, SdResId( 1 ) );
mpOKButton = new OKButton(this, SdResId( 1 ) ) ;
@@ -588,9 +588,9 @@ CustomAnimationCreateTabPage* CustomAnimationCreateDialog::getCurrentPage() cons
{
switch( mpTabControl->GetCurPageId() )
{
- case RID_TP_CUSTOMANIMATION_ENTRANCE: return mpTabPages[ENTRANCE];
- case RID_TP_CUSTOMANIMATION_EMPHASIS: return mpTabPages[EMPHASIS];
- case RID_TP_CUSTOMANIMATION_EXIT: return mpTabPages[EXIT];
+ case RID_TP_CUSTOMANIMATION_ENTRANCE: return mpTabPages[ENTRANCE];
+ case RID_TP_CUSTOMANIMATION_EMPHASIS: return mpTabPages[EMPHASIS];
+ case RID_TP_CUSTOMANIMATION_EXIT: return mpTabPages[EXIT];
case RID_TP_CUSTOMANIMATION_MISCEFFECTS:return mpTabPages[MISCEFFECTS];
//case RID_TP_CUSTOMANIMATION_MOTIONPATH:
default:
diff --git a/sd/source/ui/animations/CustomAnimationCreateDialog.hrc b/sd/source/ui/animations/CustomAnimationCreateDialog.hrc
index 0bc4ff2535d5..7218f5203e28 100644
--- a/sd/source/ui/animations/CustomAnimationCreateDialog.hrc
+++ b/sd/source/ui/animations/CustomAnimationCreateDialog.hrc
@@ -1,7 +1,7 @@
/*************************************************************************
*
* 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
@@ -29,10 +29,10 @@
#define _SD_CUSTOMANIMATIONCREATEDIALOG_HRC
// TabPage RID_TP_CUSTOMANIMATION_ENTRANCE
-#define LB_EFFECTS 1
-#define FT_SPEED 2
-#define CB_SPEED 3
-#define CBX_PREVIEW 4
-#define STR_USERPATH 5
+#define LB_EFFECTS 1
+#define FT_SPEED 2
+#define CB_SPEED 3
+#define CBX_PREVIEW 4
+#define STR_USERPATH 5
#endif // _SD_CUSTOMANIMATIONCREATEDIALOG_HRC
diff --git a/sd/source/ui/animations/CustomAnimationCreateDialog.hxx b/sd/source/ui/animations/CustomAnimationCreateDialog.hxx
index 5a425abeb882..62a2625dc022 100644
--- a/sd/source/ui/animations/CustomAnimationCreateDialog.hxx
+++ b/sd/source/ui/animations/CustomAnimationCreateDialog.hxx
@@ -2,7 +2,7 @@
/*************************************************************************
*
* 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
diff --git a/sd/source/ui/animations/CustomAnimationCreateDialog.src b/sd/source/ui/animations/CustomAnimationCreateDialog.src
index 0f83818fafb3..162a1d6d4fe6 100644
--- a/sd/source/ui/animations/CustomAnimationCreateDialog.src
+++ b/sd/source/ui/animations/CustomAnimationCreateDialog.src
@@ -1,7 +1,7 @@
/*************************************************************************
*
* 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
@@ -35,7 +35,7 @@ TabDialog DLG_CUSTOMANIMATION_CREATE
SVLook = TRUE ;
Moveable = TRUE ;
Closeable = TRUE ;
-
+
Text [ en-US ] = "Custom Animation" ;
TabControl 1
@@ -100,7 +100,7 @@ TabPage RID_TP_CUSTOMANIMATION_ENTRANCE
{
Hide = TRUE;
Size = MAP_APPFONT ( 156, 217 );
-
+
ListBox LB_EFFECTS
{
Pos = MAP_APPFONT ( 3 , 3 ) ;
@@ -135,7 +135,7 @@ TabPage RID_TP_CUSTOMANIMATION_ENTRANCE
TabStop = TRUE ;
Text [ en-US ] = "Automatic preview" ;
};
-
+
String STR_USERPATH
{
Text [ en-US ] = "User paths";
diff --git a/sd/source/ui/animations/CustomAnimationDialog.cxx b/sd/source/ui/animations/CustomAnimationDialog.cxx
index 1cbba2e989a0..1d549ad18411 100644
--- a/sd/source/ui/animations/CustomAnimationDialog.cxx
+++ b/sd/source/ui/animations/CustomAnimationDialog.cxx
@@ -2,7 +2,7 @@
/*************************************************************************
*
* 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
@@ -393,7 +393,7 @@ private:
// --------------------------------------------------------------------
DropdownMenuBox::DropdownMenuBox( Window* pParent, Edit* pSubControl, PopupMenu* pMenu )
-: Edit( pParent, WB_BORDER|WB_TABSTOP| WB_DIALOGCONTROL ),
+: Edit( pParent, WB_BORDER|WB_TABSTOP| WB_DIALOGCONTROL ),
mpSubControl(pSubControl),mpDropdownButton(0),mpMenu(pMenu)
{
mpDropdownButton = new MenuButton( this, WB_NOLIGHTBORDER | WB_RECTSTYLE | WB_NOTABSTOP);
@@ -1149,38 +1149,38 @@ private:
sal_Bool mbHasText;
const STLPropertySet* mpSet;
- FixedLine* mpFLSettings;
- FixedText* mpFTProperty1;
+ FixedLine* mpFLSettings;
+ FixedText* mpFTProperty1;
PropertyControl* mpLBProperty1;
- FixedText* mpFTProperty2;
+ FixedText* mpFTProperty2;
PropertyControl* mpLBProperty2;
- CheckBox* mpCBSmoothStart;
- CheckBox* mpCBSmoothEnd;
- CheckBox* mpCBAutoRestart;
-
- FixedLine* mpFLPlay;
- RadioButton* mpRBFromStart;
- RadioButton* mpRBFromLast;
- RadioButton* mpRBFromTime;
- MetricField* mpMFStartTime;
- FixedLine* mpFLStop;
- RadioButton* mpRBStopOnClick;
- RadioButton* mpRBStopOnNextSlide;
- RadioButton* mpRBStopAfterSlides;
- MetricField* mpMFStopAfterSlides;
-
- FixedLine* mpFLEnhancements;
- FixedText* mpFTSound;
- ListBox* mpLBSound;
- PushButton* mpPBSoundPreview;
- FixedText* mpFTAfterEffect;
- ListBox* mpLBAfterEffect;
- FixedText* mpFTDimColor;
- ColorListBox* mpCLBDimColor;
- FixedText* mpFTTextAnim;
- ListBox* mpLBTextAnim;
- MetricField* mpMFTextDelay;
- FixedText* mpFTTextDelay;
+ CheckBox* mpCBSmoothStart;
+ CheckBox* mpCBSmoothEnd;
+ CheckBox* mpCBAutoRestart;
+
+ FixedLine* mpFLPlay;
+ RadioButton* mpRBFromStart;
+ RadioButton* mpRBFromLast;
+ RadioButton* mpRBFromTime;
+ MetricField* mpMFStartTime;
+ FixedLine* mpFLStop;
+ RadioButton* mpRBStopOnClick;
+ RadioButton* mpRBStopOnNextSlide;
+ RadioButton* mpRBStopAfterSlides;
+ MetricField* mpMFStopAfterSlides;
+
+ FixedLine* mpFLEnhancements;
+ FixedText* mpFTSound;
+ ListBox* mpLBSound;
+ PushButton* mpPBSoundPreview;
+ FixedText* mpFTAfterEffect;
+ ListBox* mpLBAfterEffect;
+ FixedText* mpFTDimColor;
+ ColorListBox* mpCLBDimColor;
+ FixedText* mpFTTextAnim;
+ ListBox* mpLBTextAnim;
+ MetricField* mpMFTextDelay;
+ FixedText* mpFTTextDelay;
::com::sun::star::uno::Reference< ::com::sun::star::media::XPlayer > mxPlayer;
};
@@ -1434,9 +1434,9 @@ CustomAnimationEffectTabPage::CustomAnimationEffectTabPage( Window* pParent, con
pSet->getPropertyValue( nHandleIterateType ) >>= nIterateType;
switch( nIterateType )
{
- case TextAnimationType::BY_PARAGRAPH: nPos = 0; break;
- case TextAnimationType::BY_WORD: nPos = 1; break;
- case TextAnimationType::BY_LETTER: nPos = 2; break;
+ case TextAnimationType::BY_PARAGRAPH: nPos = 0; break;
+ case TextAnimationType::BY_WORD: nPos = 1; break;
+ case TextAnimationType::BY_LETTER: nPos = 2; break;
}
mpLBTextAnim->SelectEntryPos( nPos );
@@ -1789,7 +1789,7 @@ sal_Int32 CustomAnimationEffectTabPage::getSoundObject( const String& rStr )
void CustomAnimationEffectTabPage::openSoundFileDialog()
{
- SdOpenSoundFileDialog aFileDialog;
+ SdOpenSoundFileDialog aFileDialog;
String aFile( SvtPathOptions().GetGraphicPath() );
aFileDialog.SetPath( aFile );
@@ -1920,8 +1920,8 @@ CustomAnimationDurationTabPage::CustomAnimationDurationTabPage(Window* pParent,
USHORT nPos = 0;
switch( nStart )
{
- case EffectNodeType::WITH_PREVIOUS: nPos = 1; break;
- case EffectNodeType::AFTER_PREVIOUS: nPos = 2; break;
+ case EffectNodeType::WITH_PREVIOUS: nPos = 1; break;
+ case EffectNodeType::AFTER_PREVIOUS: nPos = 2; break;
}
mpLBStart->SelectEntryPos( nPos );
}
@@ -2249,12 +2249,12 @@ public:
DECL_LINK( implSelectHdl, Control* );
private:
- FixedText maFTGroupText;
- ListBox maLBGroupText;
- CheckBox maCBXGroupAuto;
- MetricField maMFGroupAuto;
- CheckBox maCBXAnimateForm;
- CheckBox maCBXReverse;
+ FixedText maFTGroupText;
+ ListBox maLBGroupText;
+ CheckBox maCBXGroupAuto;
+ MetricField maMFGroupAuto;
+ CheckBox maCBXAnimateForm;
+ CheckBox maCBXReverse;
const STLPropertySet* mpSet;
@@ -2262,7 +2262,7 @@ private:
};
CustomAnimationTextAnimTabPage::CustomAnimationTextAnimTabPage(Window* pParent, const ResId& rResId, const STLPropertySet* pSet)
-: TabPage( pParent, rResId ),
+: TabPage( pParent, rResId ),
maFTGroupText( this, SdResId( FT_GROUP_TEXT ) ),
maLBGroupText( this, SdResId( LB_GROUP_TEXT ) ),
maCBXGroupAuto( this, SdResId( CBX_GROUP_AUTO ) ),
diff --git a/sd/source/ui/animations/CustomAnimationDialog.hrc b/sd/source/ui/animations/CustomAnimationDialog.hrc
index a7895543304b..34ee796562d0 100644
--- a/sd/source/ui/animations/CustomAnimationDialog.hrc
+++ b/sd/source/ui/animations/CustomAnimationDialog.hrc
@@ -1,7 +1,7 @@
/*************************************************************************
*
* 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
@@ -29,61 +29,61 @@
#define _SD_CUSTOMANIMATIONDIALOG_HRC
// TabPage RID_TP_CUSTOMANIMATION_EFFECT
-#define FL_SETTINGS 1
-#define FT_PROPERTY_1 2
-#define LB_PROPERTY_1 3
-#define FT_PROPERTY_2 4
-#define LB_PROPERTY_2 5
-#define CB_SMOOTH_START 6
-#define CB_SMOOTH_END 7
-#define CB_AUTORESTART 8
-#define FL_ENHANCEMENTS 9
-#define FT_SOUND 10
-#define LB_SOUND 11
-#define PB_SOUND_PREVIEW 12
-#define FT_AFTER_EFFECT 13
-#define LB_AFTER_EFFECT 14
-#define FT_DIMCOLOR 15
-#define CLB_DIMCOLOR 16
-#define FT_TEXT_ANIM 17
-#define LB_TEXT_ANIM 18
-#define MF_TEXT_DELAY 19
-#define FT_TEXT_DELAY 20
-#define FL_PLAY 21
-#define RB_FROM_START 22
-#define RB_FROM_LAST 23
-#define RB_FROM_TIME 24
-#define MF_START_TIME 25
-#define FL_STOP 26
-#define RB_STOP_ON_CLICK 27
-#define RB_STOP_ON_NEXT_SLIDE 28
-#define RB_STOP_AFTER_N_SLIDES 29
-#define MF_STOP_AFTER_SLIDES 30
-#define TP_CUSTOMANIMATION_EFFECT_COUNT 31
+#define FL_SETTINGS 1
+#define FT_PROPERTY_1 2
+#define LB_PROPERTY_1 3
+#define FT_PROPERTY_2 4
+#define LB_PROPERTY_2 5
+#define CB_SMOOTH_START 6
+#define CB_SMOOTH_END 7
+#define CB_AUTORESTART 8
+#define FL_ENHANCEMENTS 9
+#define FT_SOUND 10
+#define LB_SOUND 11
+#define PB_SOUND_PREVIEW 12
+#define FT_AFTER_EFFECT 13
+#define LB_AFTER_EFFECT 14
+#define FT_DIMCOLOR 15
+#define CLB_DIMCOLOR 16
+#define FT_TEXT_ANIM 17
+#define LB_TEXT_ANIM 18
+#define MF_TEXT_DELAY 19
+#define FT_TEXT_DELAY 20
+#define FL_PLAY 21
+#define RB_FROM_START 22
+#define RB_FROM_LAST 23
+#define RB_FROM_TIME 24
+#define MF_START_TIME 25
+#define FL_STOP 26
+#define RB_STOP_ON_CLICK 27
+#define RB_STOP_ON_NEXT_SLIDE 28
+#define RB_STOP_AFTER_N_SLIDES 29
+#define MF_STOP_AFTER_SLIDES 30
+#define TP_CUSTOMANIMATION_EFFECT_COUNT 31
// TabPage RID_TP_CUSTOMANIMATION_DURATION
-#define FT_START 1
-#define LB_START 2
-#define FT_START_DELAY 3
-#define MF_START_DELAY 4
-#define FT_DURATION 5
-#define CB_DURATION 6
-#define FT_REPEAT 7
-#define CB_REPEAT 8
-#define CBX_REWIND 9
-#define FL_TRIGGER 10
-#define RB_CLICKSEQUENCE 11
-#define RB_INTERACTIVE 12
-#define LB_TRIGGER 13
+#define FT_START 1
+#define LB_START 2
+#define FT_START_DELAY 3
+#define MF_START_DELAY 4
+#define FT_DURATION 5
+#define CB_DURATION 6
+#define FT_REPEAT 7
+#define CB_REPEAT 8
+#define CBX_REWIND 9
+#define FL_TRIGGER 10
+#define RB_CLICKSEQUENCE 11
+#define RB_INTERACTIVE 12
+#define LB_TRIGGER 13
#define TP_CUSTOMANIMATION_DURATION_COUNT 13
// TabPage RID_TP_CUSTOMANIMATION_TEXT
-#define FT_GROUP_TEXT 1
-#define LB_GROUP_TEXT 2
-#define CBX_GROUP_AUTO 3
-#define MF_GROUP_AUTO 4
-#define CBX_ANIMATE_FORM 5
-#define CBX_REVERSE 6
+#define FT_GROUP_TEXT 1
+#define LB_GROUP_TEXT 2
+#define CBX_GROUP_AUTO 3
+#define MF_GROUP_AUTO 4
+#define CBX_ANIMATE_FORM 5
+#define CBX_REVERSE 6
#define TP_CUSTOMANIMATION_TEXT_COUNT 6
#endif // _SD_CUSTOMANIMATIONDIALOG_HRC
diff --git a/sd/source/ui/animations/CustomAnimationDialog.hxx b/sd/source/ui/animations/CustomAnimationDialog.hxx
index 0bbf9fc9cd10..1e03feec0e6a 100644
--- a/sd/source/ui/animations/CustomAnimationDialog.hxx
+++ b/sd/source/ui/animations/CustomAnimationDialog.hxx
@@ -2,7 +2,7 @@
/*************************************************************************
*
* 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
@@ -112,15 +112,15 @@ class PropertySubControl
{
public:
PropertySubControl( sal_Int32 nType ) : mnType( nType ) {}
- virtual ~PropertySubControl();
+ virtual ~PropertySubControl();
- virtual ::com::sun::star::uno::Any getValue() = 0;
- virtual void setValue( const ::com::sun::star::uno::Any& rValue, const rtl::OUString& rPresetId ) = 0;
+ virtual ::com::sun::star::uno::Any getValue() = 0;
+ virtual void setValue( const ::com::sun::star::uno::Any& rValue, const rtl::OUString& rPresetId ) = 0;
- virtual Control* getControl() = 0;
+ virtual Control* getControl() = 0;
- static PropertySubControl*
- create( sal_Int32 nType,
+ static PropertySubControl*
+ create( sal_Int32 nType,
::Window* pParent,
const ::com::sun::star::uno::Any& rValue,
const rtl::OUString& rPresetId,
@@ -129,14 +129,14 @@ public:
sal_Int32 getControlType() const { return mnType; }
protected:
- sal_Int32 mnType;
+ sal_Int32 mnType;
};
// --------------------------------------------------------------------
class PropertyControl : public ListBox
{
-public:
+public:
PropertyControl( Window* pParent, const ResId& rResId );
~PropertyControl();
diff --git a/sd/source/ui/animations/CustomAnimationDialog.src b/sd/source/ui/animations/CustomAnimationDialog.src
index 8232638678e1..594bb7f2dea3 100644
--- a/sd/source/ui/animations/CustomAnimationDialog.src
+++ b/sd/source/ui/animations/CustomAnimationDialog.src
@@ -1,7 +1,7 @@
/*************************************************************************
*
* 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
@@ -99,7 +99,7 @@ TabPage RID_TP_CUSTOMANIMATION_EFFECT
Hide = TRUE;
Size = MAP_APPFONT ( WIDTH , 159 );
Text [ en-US ] = "Effect";
-
+
FixedLine FL_SETTINGS
{
OutputSize = TRUE;
@@ -109,7 +109,7 @@ TabPage RID_TP_CUSTOMANIMATION_EFFECT
Text [ en-US ] = "Settings";
};
-
+
FixedText FT_PROPERTY_1
{
OutputSize = TRUE;
@@ -146,7 +146,7 @@ TabPage RID_TP_CUSTOMANIMATION_EFFECT
Border = TRUE ;
DropDown = TRUE ;
};
-
+
CheckBox CB_SMOOTH_START
{
Pos = MAP_APPFONT( X1+6, 14 );
@@ -157,14 +157,14 @@ TabPage RID_TP_CUSTOMANIMATION_EFFECT
};
CheckBox CB_SMOOTH_END
- {
+ {
Pos = MAP_APPFONT( X1 + (W0 / 2) + 3, 14 );
Size = MAP_APPFONT ( (W0 / 2) , 10 ) ;
Hide = TRUE;
Text [ en-US ] = "Decelerated end";
};
-
+
CheckBox CB_AUTORESTART
{
Pos = MAP_APPFONT( X1+6, 14 );
@@ -177,7 +177,7 @@ TabPage RID_TP_CUSTOMANIMATION_EFFECT
//
// controls for playback command
//
-/*
+/*
FixedLine FL_PLAY
{
OutputSize = TRUE;
@@ -187,7 +187,7 @@ TabPage RID_TP_CUSTOMANIMATION_EFFECT
Text [ en-US ] = "Play";
};
-
+
RadioButton RB_FROM_START
{
OutputSize = TRUE;
@@ -195,10 +195,10 @@ TabPage RID_TP_CUSTOMANIMATION_EFFECT
Size = MAP_APPFONT( W0, 10 );
TabStop = TRUE ;
Hide = TRUE;
-
+
Text [ en-US ] = "From start";
};
-
+
RadioButton RB_FROM_LAST
{
OutputSize = TRUE;
@@ -209,7 +209,7 @@ TabPage RID_TP_CUSTOMANIMATION_EFFECT
Text [en-US ] = "From last";
};
-
+
RadioButton RB_FROM_TIME
{
OutputSize = TRUE;
@@ -220,7 +220,7 @@ TabPage RID_TP_CUSTOMANIMATION_EFFECT
Text [ en-US ] = "From time:";
};
-
+
MetricField MF_START_TIME
{
OutputSize = TRUE;
@@ -250,7 +250,7 @@ TabPage RID_TP_CUSTOMANIMATION_EFFECT
Text [ en-US ] = "Stop playback";
};
-
+
RadioButton RB_STOP_ON_CLICK
{
OutputSize = TRUE;
@@ -261,7 +261,7 @@ TabPage RID_TP_CUSTOMANIMATION_EFFECT
Text [ en-US ] = "On click";
};
-
+
RadioButton RB_STOP_ON_NEXT_SLIDE
{
OutputSize = TRUE;
@@ -272,7 +272,7 @@ TabPage RID_TP_CUSTOMANIMATION_EFFECT
Text [ en-US ] = "After current slide";
};
-
+
RadioButton RB_STOP_AFTER_N_SLIDES
{
OutputSize = TRUE;
@@ -283,7 +283,7 @@ TabPage RID_TP_CUSTOMANIMATION_EFFECT
Text [ en-US ] = "After";
};
-
+
MetricField MF_STOP_AFTER_SLIDES
{
OutputSize = TRUE;
@@ -314,10 +314,10 @@ TabPage RID_TP_CUSTOMANIMATION_EFFECT
Pos = MAP_APPFONT ( X0 , 3 ) ;
Size = MAP_APPFONT( W0, 8 );
Hide = TRUE;
-
+
Text [ en-US ] = "Enhancement";
};
-
+
FixedText FT_SOUND
{
OutputSize = TRUE;
@@ -335,13 +335,13 @@ TabPage RID_TP_CUSTOMANIMATION_EFFECT
Border = TRUE ;
DropDown = TRUE ;
};
-
+
PushButton PB_SOUND_PREVIEW
{
Pos = MAP_APPFONT ( X2 + W2 - 16 , 2 ) ;
Size = MAP_APPFONT( 16, 14 );
OutputSize = TRUE;
- TabStop = TRUE;
+ TabStop = TRUE;
};
FixedText FT_AFTER_EFFECT
@@ -360,30 +360,30 @@ TabPage RID_TP_CUSTOMANIMATION_EFFECT
TabStop = TRUE ;
Border = TRUE ;
DropDown = TRUE ;
-
+
StringList [ en-US ] =
{
< "Don't dim" ; > ;
< "Dim with color" ; > ;
< "Hide after animation" ; > ;
< "Hide on next animation" ; > ;
- };
+ };
};
-
+
FixedText FT_DIMCOLOR
{
Pos = MAP_APPFONT( X1, 35 );
Size = MAP_APPFONT( W1, 8 );
Text [ en-US ] = "Dim Color";
};
-
+
ListBox CLB_DIMCOLOR
{
Pos = MAP_APPFONT( X2, 33 );
Size = MAP_APPFONT ( W2, 100 );
TabStop = TRUE ;
Border = TRUE ;
- DropDown = TRUE ;
+ DropDown = TRUE ;
};
FixedText FT_TEXT_ANIM
@@ -408,7 +408,7 @@ TabPage RID_TP_CUSTOMANIMATION_EFFECT
< "All at once" ; > ;
< "Word by word" ; > ;
< "Letter by letter" ; > ;
- };
+ };
};
FixedText FT_TEXT_DELAY
@@ -434,7 +434,7 @@ TabPage RID_TP_CUSTOMANIMATION_EFFECT
Unit = FUNIT_CUSTOM ;
CustomUnitText [ en-US ] = "%";
SpinSize = 1 ;
-
+
};
};
@@ -443,7 +443,7 @@ TabPage RID_TP_CUSTOMANIMATION_DURATION
Hide = TRUE;
Size = MAP_APPFONT ( WIDTH , 159 );
Text [ en-US ] = "Timing";
-
+
FixedText FT_START
{
OutputSize = TRUE;
@@ -468,7 +468,7 @@ TabPage RID_TP_CUSTOMANIMATION_DURATION
< "After previous" ; > ;
};
};
-
+
FixedText FT_START_DELAY
{
OutputSize = TRUE;
@@ -477,7 +477,7 @@ TabPage RID_TP_CUSTOMANIMATION_DURATION
Text [ en-US ] = "Delay";
};
-
+
MetricField MF_START_DELAY
{
Pos = MAP_APPFONT ( X2 , 18 ) ;
@@ -530,7 +530,7 @@ TabPage RID_TP_CUSTOMANIMATION_DURATION
Border = TRUE ;
DropDown = TRUE ;
};
-
+
CheckBox CBX_REWIND
{
Pos = MAP_APPFONT ( X0 , 66 ) ;
@@ -538,16 +538,16 @@ TabPage RID_TP_CUSTOMANIMATION_DURATION
TabStop = TRUE ;
Text [ en-US ] = "Rewind when done playing" ;
};
-
+
FixedLine FL_TRIGGER
{
OutputSize = TRUE;
Pos = MAP_APPFONT ( X0 , 79 ) ;
Size = MAP_APPFONT( W0, 8 );
-
+
Text [ en-US ] = "Trigger";
};
-
+
RadioButton RB_CLICKSEQUENCE
{
Pos = MAP_APPFONT ( X1+6, 92 ) ;
@@ -563,7 +563,7 @@ TabPage RID_TP_CUSTOMANIMATION_DURATION
Text [ en-US ] = "Start effect on click of" ;
TabStop = TRUE ;
};
-
+
ListBox LB_TRIGGER
{
Pos = MAP_APPFONT ( X1+18 , 118 );
@@ -579,7 +579,7 @@ TabPage RID_TP_CUSTOMANIMATION_TEXT
Hide = TRUE;
Size = MAP_APPFONT ( WIDTH , 159 );
Text [ en-US ] = "Text Animation";
-
+
FixedText FT_GROUP_TEXT
{
OutputSize = TRUE;
@@ -596,7 +596,7 @@ TabPage RID_TP_CUSTOMANIMATION_TEXT
TabStop = TRUE ;
Border = TRUE ;
DropDown = TRUE ;
-
+
StringList [ en-US ] =
{
< "As one object" ; > ;
@@ -606,9 +606,9 @@ TabPage RID_TP_CUSTOMANIMATION_TEXT
< "By 3rd level paragraphs" ; > ;
< "By 4th level paragraphs" ; > ;
< "By 5th level paragraphs" ; > ;
- };
+ };
};
-
+
Checkbox CBX_GROUP_AUTO
{
Pos = MAP_APPFONT ( X0 , 20 ) ;
@@ -616,8 +616,8 @@ TabPage RID_TP_CUSTOMANIMATION_TEXT
TabStop = TRUE ;
Text [ en-US ] = "Automatically after" ;
};
-
-
+
+
MetricField MF_GROUP_AUTO
{
Pos = MAP_APPFONT ( X2 , 18 ) ;
@@ -642,7 +642,7 @@ TabPage RID_TP_CUSTOMANIMATION_TEXT
TabStop = TRUE ;
Text [ en-US ] = "Animate attached shape" ;
};
-
+
Checkbox CBX_REVERSE
{
Pos = MAP_APPFONT ( X0 , 46 ) ;
diff --git a/sd/source/ui/animations/CustomAnimationList.cxx b/sd/source/ui/animations/CustomAnimationList.cxx
index 0d38c738aef1..caff36f436a6 100644
--- a/sd/source/ui/animations/CustomAnimationList.cxx
+++ b/sd/source/ui/animations/CustomAnimationList.cxx
@@ -2,7 +2,7 @@
/*************************************************************************
*
* 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
@@ -190,7 +190,7 @@ static OUString getDescription( const Any& rTarget, bool bWithText = true )
{
Reference< XTextRange > xParagraph;
xEnumeration->nextElement() >>= xParagraph;
-
+
if( xParagraph.is() )
aDescription = xParagraph->getString();
}
@@ -212,15 +212,15 @@ class CustomAnimationListEntryItem : public SvLBoxString
{
public:
CustomAnimationListEntryItem( SvLBoxEntry*,USHORT nFlags, OUString aDescription, CustomAnimationEffectPtr pEffect, CustomAnimationList* pParent );
- virtual ~CustomAnimationListEntryItem();
- void InitViewData( SvLBox*,SvLBoxEntry*,SvViewDataItem* );
- void Paint( const Point&, SvLBox& rDev, USHORT nFlags,SvLBoxEntry* );
- SvLBoxItem* Create() const;
- void Clone( SvLBoxItem* pSource );
+ virtual ~CustomAnimationListEntryItem();
+ void InitViewData( SvLBox*,SvLBoxEntry*,SvViewDataItem* );
+ void Paint( const Point&, SvLBox& rDev, USHORT nFlags,SvLBoxEntry* );
+ SvLBoxItem* Create() const;
+ void Clone( SvLBoxItem* pSource );
private:
CustomAnimationList* mpParent;
- OUString maDescription;
+ OUString maDescription;
CustomAnimationEffectPtr mpEffect;
};
@@ -279,21 +279,21 @@ void CustomAnimationListEntryItem::Paint( const Point& rPos, SvLBox& rDev, USHOR
USHORT nImage;
switch( mpEffect->getPresetClass() )
{
- case EffectPresetClass::ENTRANCE: nImage = IMG_CUSTOMANIMATION_ENTRANCE_EFFECT; break;
- case EffectPresetClass::EXIT: nImage = IMG_CUSTOMANIMATION_EXIT_EFFECT; break;
- case EffectPresetClass::EMPHASIS: nImage = IMG_CUSTOMANIMATION_EMPHASIS_EFFECT; break;
+ case EffectPresetClass::ENTRANCE: nImage = IMG_CUSTOMANIMATION_ENTRANCE_EFFECT; break;
+ case EffectPresetClass::EXIT: nImage = IMG_CUSTOMANIMATION_EXIT_EFFECT; break;
+ case EffectPresetClass::EMPHASIS: nImage = IMG_CUSTOMANIMATION_EMPHASIS_EFFECT; break;
case EffectPresetClass::MOTIONPATH: nImage = IMG_CUSTOMANIMATION_MOTION_PATH; break;
- case EffectPresetClass::OLEACTION: nImage = IMG_CUSTOMANIMATION_OLE; break;
+ case EffectPresetClass::OLEACTION: nImage = IMG_CUSTOMANIMATION_OLE; break;
case EffectPresetClass::MEDIACALL:
switch( mpEffect->getCommand() )
{
- case EffectCommands::TOGGLEPAUSE: nImage = IMG_CUSTOMANIMATION_MEDIA_PAUSE; break;
- case EffectCommands::STOP: nImage = IMG_CUSTOMANIMATION_MEDIA_STOP; break;
- case EffectCommands::PLAY:
- default: nImage = IMG_CUSTOMANIMATION_MEDIA_PLAY; break;
+ case EffectCommands::TOGGLEPAUSE: nImage = IMG_CUSTOMANIMATION_MEDIA_PAUSE; break;
+ case EffectCommands::STOP: nImage = IMG_CUSTOMANIMATION_MEDIA_STOP; break;
+ case EffectCommands::PLAY:
+ default: nImage = IMG_CUSTOMANIMATION_MEDIA_PLAY; break;
}
break;
- default: nImage = 0xffff;
+ default: nImage = 0xffff;
}
if( nImage != 0xffff )
@@ -363,16 +363,16 @@ class CustomAnimationTriggerEntryItem : public SvLBoxString
{
public:
CustomAnimationTriggerEntryItem( SvLBoxEntry*,USHORT nFlags, OUString aDescription, CustomAnimationList* pParent );
- virtual ~CustomAnimationTriggerEntryItem();
- virtual USHORT IsA();
- void InitViewData( SvLBox*,SvLBoxEntry*,SvViewDataItem* );
- void Paint( const Point&, SvLBox& rDev, USHORT nFlags,SvLBoxEntry* );
- SvLBoxItem* Create() const;
- void Clone( SvLBoxItem* pSource );
+ virtual ~CustomAnimationTriggerEntryItem();
+ virtual USHORT IsA();
+ void InitViewData( SvLBox*,SvLBoxEntry*,SvViewDataItem* );
+ void Paint( const Point&, SvLBox& rDev, USHORT nFlags,SvLBoxEntry* );
+ SvLBoxItem* Create() const;
+ void Clone( SvLBoxItem* pSource );
private:
CustomAnimationList* mpParent;
- OUString maDescription;
+ OUString maDescription;
};
// --------------------------------------------------------------------
@@ -469,10 +469,10 @@ void CustomAnimationTriggerEntryItem::Clone( SvLBoxItem* )
// ====================================================================
CustomAnimationList::CustomAnimationList( ::Window* pParent, const ResId& rResId, ICustomAnimationListController* pController )
-: SvTreeListBox( pParent, rResId )
-, mbIgnorePaint( false )
-, mpController( pController )
-, mpLastParentEntry(0)
+: SvTreeListBox( pParent, rResId )
+, mbIgnorePaint( false )
+, mpController( pController )
+, mpLastParentEntry(0)
{
SetWindowBits( WinBits( WB_TABSTOP | WB_BORDER | WB_HASLINES | WB_HASBUTTONS | WB_HASBUTTONSATROOT ) );
@@ -486,7 +486,7 @@ CustomAnimationList::CustomAnimationList( ::Window* pParent, const ResId& rResId
const Image& CustomAnimationList::getImage( USHORT nId, bool bHighContrast )
{
- DBG_ASSERT( (nId >= IMG_CUSTOMANIMATION_ON_CLICK) && (nId <= IMG_CUSTOMANIMATION_MEDIA_STOP), "sd::CustomAnimationList::getImage(), illegal index!" );
+ DBG_ASSERT( (nId >= IMG_CUSTOMANIMATION_ON_CLICK) && (nId <= IMG_CUSTOMANIMATION_MEDIA_STOP), "sd::CustomAnimationList::getImage(), illegal index!" );
if( bHighContrast )
nId += 1;
@@ -517,16 +517,16 @@ void CustomAnimationList::KeyInput( const KeyEvent& rKEvt )
const int nKeyCode = rKEvt.GetKeyCode().GetCode();
switch( nKeyCode )
{
- case KEY_DELETE: mpController->onContextMenu( CM_REMOVE ); return;
- case KEY_INSERT: mpController->onContextMenu( CM_CREATE ); return;
- case KEY_SPACE:
+ case KEY_DELETE: mpController->onContextMenu( CM_REMOVE ); return;
+ case KEY_INSERT: mpController->onContextMenu( CM_CREATE ); return;
+ case KEY_SPACE:
{
const Point aPos;
- const CommandEvent aCEvt( aPos, COMMAND_CONTEXTMENU );
+ const CommandEvent aCEvt( aPos, COMMAND_CONTEXTMENU );
Command( aCEvt );
return;
}
-
+
}
::SvTreeListBox::KeyInput( rKEvt );
@@ -542,7 +542,7 @@ void CustomAnimationList::select( CustomAnimationEffectPtr pEffect, bool bSelect
while( pEntry )
{
if( pEntry->getEffect() == pEffect )
- {
+ {
Select( pEntry, bSelect );
break;
}
diff --git a/sd/source/ui/animations/CustomAnimationList.hxx b/sd/source/ui/animations/CustomAnimationList.hxx
index 8bc1b6f43c6c..35d219990620 100644
--- a/sd/source/ui/animations/CustomAnimationList.hxx
+++ b/sd/source/ui/animations/CustomAnimationList.hxx
@@ -2,7 +2,7 @@
/*************************************************************************
*
* 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
@@ -68,12 +68,12 @@ public:
void update( MainSequencePtr pMainSequence );
/** updates the given effect in the list */
-// void update( CustomAnimationEffectPtr pEffect );
+// void update( CustomAnimationEffectPtr pEffect );
void update();
/** removes the given effect to the list*/
-// void remove( CustomAnimationEffectPtr pEffect );
+// void remove( CustomAnimationEffectPtr pEffect );
EffectSequence getSelection() const;
@@ -81,18 +81,18 @@ public:
void onSelectionChanged( ::com::sun::star::uno::Any aSelection );
// overrides
- virtual void SelectHdl();
- virtual BOOL DoubleClickHdl();
+ virtual void SelectHdl();
+ virtual BOOL DoubleClickHdl();
virtual void Paint( const Rectangle& rRect );
virtual PopupMenu* CreateContextMenu( void );
- virtual void ExcecuteContextMenuAction( USHORT nSelectedPopupEntry );
-
+ virtual void ExcecuteContextMenuAction( USHORT nSelectedPopupEntry );
+
virtual void KeyInput( const KeyEvent& rKEvt );
-
-// virtual SvLBoxEntry* CreateEntry() const;
- virtual void SetTabs();
+
+// virtual SvLBoxEntry* CreateEntry() const;
+ virtual void SetTabs();
virtual void notify_change();
@@ -104,14 +104,14 @@ public:
void clear();
private:
- bool mbIgnorePaint;
+ bool mbIgnorePaint;
/** appends the given effect to the list*/
void append( CustomAnimationEffectPtr pEffect );
ICustomAnimationListController* mpController;
- MainSequencePtr mpMainSequence;
+ MainSequencePtr mpMainSequence;
Image maImgEmpty;
diff --git a/sd/source/ui/animations/CustomAnimationPane.cxx b/sd/source/ui/animations/CustomAnimationPane.cxx
index 2941fd24ef87..de1bc970fd0b 100644
--- a/sd/source/ui/animations/CustomAnimationPane.cxx
+++ b/sd/source/ui/animations/CustomAnimationPane.cxx
@@ -2,7 +2,7 @@
/*************************************************************************
*
* 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
@@ -163,7 +163,7 @@ void fillRepeatComboBox( ComboBox* pBox )
// --------------------------------------------------------------------
CustomAnimationPane::CustomAnimationPane( ::Window* pParent, ViewShellBase& rBase, const Size& rMinSize )
-: Control( pParent, SdResId(DLG_CUSTOMANIMATIONPANE) ),
+: Control( pParent, SdResId(DLG_CUSTOMANIMATIONPANE) ),
mrBase( rBase ),
mpCustomAnimationPresets(NULL),
mnPropertyType( nPropertyTypeNone ),
@@ -203,13 +203,13 @@ CustomAnimationPane::CustomAnimationPane( ::Window* pParent, ViewShellBase& rBas
maStrProperty = mpFTProperty->GetText();
FreeResource();
-
+
// use bold font for group headings (same font for all fixed lines):
Font font( mpFLEffect->GetFont() );
font.SetWeight( WEIGHT_BOLD );
mpFLEffect->SetFont( font );
mpFLModify->SetFont( font );
-
+
fillDurationComboBox( mpCBSpeed );
mpPBMoveUp->SetSymbol( SYMBOL_ARROW_UP );
mpPBMoveDown->SetSymbol( SYMBOL_ARROW_DOWN );
@@ -472,7 +472,7 @@ void CustomAnimationPane::updateLayout()
aSize = mpPBPropertyMore->GetSizePixel();
// place the "start" fixed text
-
+
Point aFTPos( aCursor );
Point aLBPos( aCursor );
Size aListBoxSize( LogicToPixel( Size( 60, 12 ), MAP_APPFONT ) );
@@ -534,7 +534,7 @@ void CustomAnimationPane::updateLayout()
aSize = mpFLSeperator2->GetSizePixel();
aSize.Width() = aPaneSize.Width() - 2 * aOffset.X();
mpFLSeperator2->SetPosSizePixel( aCursor, aSize );
-
+
// next, layout and place the play and slide show buttons
aCtrlSize = mpPBSlideShow->GetSizePixel();
aCtrlSize.setWidth( mpPBSlideShow->CalcMinimumSize( aSize.Width() ).getWidth() + nButtonExtraWidth );
@@ -543,7 +543,7 @@ void CustomAnimationPane::updateLayout()
aPlaySize.setWidth( mpPBPlay->CalcMinimumSize( aSize.Width() ).getWidth() + nButtonExtraWidth );
aCursor.Y() -= aCtrlSize.Height() /* + aOffset.Y() */;
-
+
// do we need two lines for the buttons?
int aTestWidth = aCursor.X() + mpPBPlay->GetSizePixel().Width() + 2 * aOffset.X() + mpPBSlideShow->GetSizePixel().Width();
if( aTestWidth > aPaneSize.Width() )
@@ -754,7 +754,7 @@ void CustomAnimationPane::updateControls()
mpLBStart->Enable(nSelectionCount > 0);
mpPBPropertyMore->Enable(nSelectionCount > 0);
-// mpPBPlay->Enable(nSelectionCount > 0);
+// mpPBPlay->Enable(nSelectionCount > 0);
mpFTProperty->SetText( maStrProperty );
@@ -767,7 +767,7 @@ void CustomAnimationPane::updateControls()
OUString aUIName( getPresets().getUINameForPresetId( pEffect->getPresetId() ) );
OUString aTemp( maStrModify );
-
+
if( aUIName.getLength() )
{
aTemp += OUString( (sal_Unicode)' ' );
@@ -779,7 +779,7 @@ void CustomAnimationPane::updateControls()
if( pDescriptor.get() )
{
PropertySubControl* pSubControl = NULL;
-
+
Any aValue;
UStringList aProperties( pDescriptor->getProperties() );
@@ -793,7 +793,7 @@ void CustomAnimationPane::updateControls()
aValue = getProperty1Value( mnPropertyType, pEffect );
}
-
+
if( aValue.hasValue() )
{
pSubControl = mpLBProperty->getSubControl();
@@ -832,9 +832,9 @@ void CustomAnimationPane::updateControls()
sal_Int16 nNodeType = pEffect->getNodeType();
switch( nNodeType )
{
- case EffectNodeType::ON_CLICK: nPos = 0; break;
- case EffectNodeType::WITH_PREVIOUS: nPos = 1; break;
- case EffectNodeType::AFTER_PREVIOUS: nPos = 2; break;
+ case EffectNodeType::ON_CLICK: nPos = 0; break;
+ case EffectNodeType::WITH_PREVIOUS: nPos = 1; break;
+ case EffectNodeType::AFTER_PREVIOUS: nPos = 2; break;
}
mpLBStart->SelectEntryPos( nPos );
@@ -851,13 +851,13 @@ void CustomAnimationPane::updateControls()
nPos = 0;
else if( fDuration == 3.0 )
nPos = 1;
- else if( fDuration == 2.0 )
+ else if( fDuration == 2.0 )
nPos = 2;
- else if( fDuration == 1.0 )
+ else if( fDuration == 1.0 )
nPos = 3;
- else if( fDuration == 0.5 )
+ else if( fDuration == 0.5 )
nPos = 4;
- else
+ else
nPos = 0xffff;
mpCBSpeed->SelectEntryPos( nPos );
@@ -902,14 +902,14 @@ void CustomAnimationPane::updateControls()
{
do
{
- aIter++;
+ aIter++;
}
while( (aIter != mpMainSequence->getEnd()) && !(mpCustomAnimationList->isExpanded((*aIter)) ) );
if( aIter == mpMainSequence->getEnd() )
bEnableDown = false;
}
-
+
if( bEnableUp || bEnableDown )
{
MainSequenceRebuildGuard aGuard( mpMainSequence );
@@ -1066,13 +1066,13 @@ void CustomAnimationPane::onContextMenu( USHORT nSelectedPopupEntry )
{
switch( nSelectedPopupEntry )
{
- case CM_WITH_CLICK: onChangeStart( EffectNodeType::ON_CLICK ); break;
- case CM_WITH_PREVIOUS: onChangeStart( EffectNodeType::WITH_PREVIOUS ); break;
- case CM_AFTER_PREVIOUS: onChangeStart( EffectNodeType::AFTER_PREVIOUS ); break;
- case CM_OPTIONS: showOptions(); break;
- case CM_DURATION: showOptions(RID_TP_CUSTOMANIMATION_DURATION); break;
- case CM_REMOVE: onRemove(); break;
- case CM_CREATE: if( maViewSelection.hasValue() ) onChange( true ); break;
+ case CM_WITH_CLICK: onChangeStart( EffectNodeType::ON_CLICK ); break;
+ case CM_WITH_PREVIOUS: onChangeStart( EffectNodeType::WITH_PREVIOUS ); break;
+ case CM_AFTER_PREVIOUS: onChangeStart( EffectNodeType::AFTER_PREVIOUS ); break;
+ case CM_OPTIONS: showOptions(); break;
+ case CM_DURATION: showOptions(RID_TP_CUSTOMANIMATION_DURATION); break;
+ case CM_REMOVE: onRemove(); break;
+ case CM_CREATE: if( maViewSelection.hasValue() ) onChange( true ); break;
}
updateControls();
@@ -1082,7 +1082,7 @@ void addValue( STLPropertySet* pSet, sal_Int32 nHandle, const Any& rValue )
{
switch( pSet->getPropertyState( nHandle ) )
{
- case STLPropertyState_AMBIGUOUS:
+ case STLPropertyState_AMBIGUOUS:
// value is already ambiguous, do nothing
break;
case STLPropertyState_DIRECT:
@@ -1339,7 +1339,7 @@ STLPropertySet* CustomAnimationPane::createSelectionSet()
addValue( pSet, nHandlePresetId, makeAny( pEffect->getPresetId() ) );
addValue( pSet, nHandleHasText, makeAny( (sal_Bool)pEffect->hasText() ) );
-
+
addValue( pSet, nHandleHasVisibleShape, Any( hasVisibleShape( pEffect->getTargetShape() ) ) );
Any aSoundSource;
@@ -1347,7 +1347,7 @@ STLPropertySet* CustomAnimationPane::createSelectionSet()
{
aSoundSource = pEffect->getAudio()->getSource();
addValue( pSet, nHandleSoundVolumne, makeAny( pEffect->getAudio()->getVolume() ) );
-// todo addValue( pSet, nHandleSoundEndAfterSlide, makeAny( pEffect->getAudio()->getEndAfterSlide() ) );
+// todo addValue( pSet, nHandleSoundEndAfterSlide, makeAny( pEffect->getAudio()->getEndAfterSlide() ) );
// this is now stored at the XCommand parameter sequence
}
else if( pEffect->getCommand() == EffectCommands::STOPAUDIO )
@@ -1372,7 +1372,7 @@ STLPropertySet* CustomAnimationPane::createSelectionSet()
addValue( pSet, nHandleTrigger, makeAny( pIS->getTriggerShape() ) );
}
- //
+ //
CustomAnimationPresetPtr pDescriptor = rPresets.getEffectDescriptor( pEffect->getPresetId() );
if( pDescriptor.get() )
@@ -1415,7 +1415,7 @@ void CustomAnimationPane::changeSelection( STLPropertySet* pResultSet, STLProper
{
// change selected effect
bool bChanged = false;
-
+
MainSequenceRebuildGuard aGuard( mpMainSequence );
EffectSequence::iterator aIter( maListSelection.begin() );
@@ -1793,7 +1793,7 @@ bool getTextSelection( const Any& rSelection, Reference< XShape >& xShape, std::
if( xSelectedText.is() ) try
{
xShape.set( xSelectedText->getText(), UNO_QUERY_THROW );
-
+
Reference< XTextRangeCompare > xTextRangeCompare( xShape, UNO_QUERY_THROW );
Reference< XEnumerationAccess > xParaEnumAccess( xShape, UNO_QUERY_THROW );
Reference< XEnumeration > xParaEnum( xParaEnumAccess->createEnumeration(), UNO_QUERY_THROW );
@@ -1836,7 +1836,7 @@ bool getTextSelection( const Any& rSelection, Reference< XShape >& xShape, std::
else
xRange.clear();
}
-
+
return true;
}
catch( Exception& e )
@@ -2007,9 +2007,9 @@ void CustomAnimationPane::createPath( PathKind eKind, std::vector< Any >& rTarge
switch( eKind )
{
- case CURVE: nSID = SID_DRAW_BEZIER_NOFILL; break;
- case POLYGON: nSID = SID_DRAW_POLYGON_NOFILL; break;
- case FREEFORM: nSID = SID_DRAW_FREELINE_NOFILL; break;
+ case CURVE: nSID = SID_DRAW_BEZIER_NOFILL; break;
+ case POLYGON: nSID = SID_DRAW_POLYGON_NOFILL; break;
+ case FREEFORM: nSID = SID_DRAW_FREELINE_NOFILL; break;
default: break;
}
@@ -2075,9 +2075,9 @@ void CustomAnimationPane::onChangeStart()
USHORT nPos= mpLBStart->GetSelectEntryPos();
switch( nPos )
{
- case 0: nNodeType = EffectNodeType::ON_CLICK; break;
- case 1: nNodeType = EffectNodeType::WITH_PREVIOUS; break;
- case 2: nNodeType = EffectNodeType::AFTER_PREVIOUS; break;
+ case 0: nNodeType = EffectNodeType::ON_CLICK; break;
+ case 1: nNodeType = EffectNodeType::WITH_PREVIOUS; break;
+ case 2: nNodeType = EffectNodeType::AFTER_PREVIOUS; break;
default:
return;
}
@@ -2223,7 +2223,7 @@ IMPL_LINK( CustomAnimationPane, implControlHdl, Control*, pControl )
else if( pControl == mpCBAutoPreview )
{
SdOptions* pOptions = SD_MOD()->GetSdOptions(DOCUMENT_TYPE_IMPRESS);
- pOptions->SetPreviewChangedEffects( mpCBAutoPreview->IsChecked() ? sal_True : sal_False );
+ pOptions->SetPreviewChangedEffects( mpCBAutoPreview->IsChecked() ? sal_True : sal_False );
}
updateControls();
@@ -2276,7 +2276,7 @@ void CustomAnimationPane::moveSelection( bool bUp )
if( aInsertPos != rEffectSequence.begin() )
{
aInsertPos--;
- while( (aInsertPos != rEffectSequence.begin()) && !mpCustomAnimationList->isExpanded(*aInsertPos))
+ while( (aInsertPos != rEffectSequence.begin()) && !mpCustomAnimationList->isExpanded(*aInsertPos))
aInsertPos--;
rEffectSequence.insert( aInsertPos, pEffect );
@@ -2306,7 +2306,7 @@ void CustomAnimationPane::moveSelection( bool bUp )
if( aInsertPos != rEffectSequence.end() )
{
aInsertPos++;
- while( (aInsertPos != rEffectSequence.end()) && !mpCustomAnimationList->isExpanded(*aInsertPos))
+ while( (aInsertPos != rEffectSequence.end()) && !mpCustomAnimationList->isExpanded(*aInsertPos))
aInsertPos++;
rEffectSequence.insert( aInsertPos, pEffect );
@@ -2459,7 +2459,7 @@ void CustomAnimationPane::updatePathFromMotionPathTag( const rtl::Reference< Mot
if( pPage )
pManager->AddUndoAction( new UndoAnimationPath( mrBase.GetDocShell()->GetDoc(), pPage, pEffect->getNode() ) );
}
-
+
pEffect->updatePathFromSdrPathObj( *pPathObj );
}
}
diff --git a/sd/source/ui/animations/CustomAnimationPane.hrc b/sd/source/ui/animations/CustomAnimationPane.hrc
index 0db342f7995f..e6477cf132b4 100644
--- a/sd/source/ui/animations/CustomAnimationPane.hrc
+++ b/sd/source/ui/animations/CustomAnimationPane.hrc
@@ -1,7 +1,7 @@
/*************************************************************************
*
* 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
@@ -28,33 +28,33 @@
#ifndef _SD_CUSTOMANIMATIONPANE_HRC
#define _SD_CUSTOMANIMATIONPANE_HRC
-#define CM_WITH_CLICK 1
-#define CM_WITH_PREVIOUS 2
-#define CM_AFTER_PREVIOUS 3
-#define CM_OPTIONS 4
-#define CM_DURATION 5
-#define CM_REMOVE 6
+#define CM_WITH_CLICK 1
+#define CM_WITH_PREVIOUS 2
+#define CM_AFTER_PREVIOUS 3
+#define CM_OPTIONS 4
+#define CM_DURATION 5
+#define CM_REMOVE 6
-#define FL_EFFECT 1
-#define PB_ADD_EFFECT 2
-#define PB_CHANGE_EFFECT 3
-#define PB_REMOVE_EFFECT 4
-#define FL_MODIFY 5
-#define FT_START 6
-#define LB_START 7
-#define FT_PROPERTY 8
-#define LB_PROPERTY 9
-#define PB_PROPERTY_MORE 10
-#define FT_SPEED 12
-#define CB_SPEED 13
-#define CT_CUSTOM_ANIMATION_LIST 14
-#define FT_CHANGE_ORDER 15
-#define PB_MOVE_UP 16
-#define PB_MOVE_DOWN 17
-#define FL_SEPERATOR1 18
-#define PB_PLAY 19
-#define PB_SLIDE_SHOW 20
-#define FL_SEPERATOR2 21
-#define CB_AUTOPREVIEW 22
+#define FL_EFFECT 1
+#define PB_ADD_EFFECT 2
+#define PB_CHANGE_EFFECT 3
+#define PB_REMOVE_EFFECT 4
+#define FL_MODIFY 5
+#define FT_START 6
+#define LB_START 7
+#define FT_PROPERTY 8
+#define LB_PROPERTY 9
+#define PB_PROPERTY_MORE 10
+#define FT_SPEED 12
+#define CB_SPEED 13
+#define CT_CUSTOM_ANIMATION_LIST 14
+#define FT_CHANGE_ORDER 15
+#define PB_MOVE_UP 16
+#define PB_MOVE_DOWN 17
+#define FL_SEPERATOR1 18
+#define PB_PLAY 19
+#define PB_SLIDE_SHOW 20
+#define FL_SEPERATOR2 21
+#define CB_AUTOPREVIEW 22
#endif // _SD_CUSTOMANIMATIONPANE_HXX
diff --git a/sd/source/ui/animations/CustomAnimationPane.hxx b/sd/source/ui/animations/CustomAnimationPane.hxx
index a21797767b31..ad349c2875e5 100644
--- a/sd/source/ui/animations/CustomAnimationPane.hxx
+++ b/sd/source/ui/animations/CustomAnimationPane.hxx
@@ -2,7 +2,7 @@
/*************************************************************************
*
* 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
@@ -132,39 +132,39 @@ private:
const CustomAnimationPresets* mpCustomAnimationPresets;
- FixedLine* mpFLModify;
- PushButton* mpPBAddEffect;
+ FixedLine* mpFLModify;
+ PushButton* mpPBAddEffect;
PushButton* mpPBChangeEffect;
- PushButton* mpPBRemoveEffect;
- FixedLine* mpFLEffect;
- FixedText* mpFTStart;
- ListBox* mpLBStart;
- FixedText* mpFTProperty;
- PropertyControl* mpLBProperty;
- PushButton* mpPBPropertyMore;
- FixedText* mpFTSpeed;
- ComboBox* mpCBSpeed;
- CustomAnimationList* mpCustomAnimationList;
- FixedText* mpFTChangeOrder;
- PushButton* mpPBMoveUp;
+ PushButton* mpPBRemoveEffect;
+ FixedLine* mpFLEffect;
+ FixedText* mpFTStart;
+ ListBox* mpLBStart;
+ FixedText* mpFTProperty;
+ PropertyControl* mpLBProperty;
+ PushButton* mpPBPropertyMore;
+ FixedText* mpFTSpeed;
+ ComboBox* mpCBSpeed;
+ CustomAnimationList* mpCustomAnimationList;
+ FixedText* mpFTChangeOrder;
+ PushButton* mpPBMoveUp;
PushButton* mpPBMoveDown;
- FixedLine* mpFLSeperator1;
- PushButton* mpPBPlay;
+ FixedLine* mpFLSeperator1;
+ PushButton* mpPBPlay;
PushButton* mpPBSlideShow;
- FixedLine* mpFLSeperator2;
- CheckBox* mpCBAutoPreview;
+ FixedLine* mpFLSeperator2;
+ CheckBox* mpCBAutoPreview;
- String maStrModify;
- String maStrProperty;
+ String maStrModify;
+ String maStrProperty;
- sal_Int32 mnPropertyType;
+ sal_Int32 mnPropertyType;
- Size maMinSize;
+ Size maMinSize;
EffectSequence maListSelection;
::com::sun::star::uno::Any maViewSelection;
- MainSequencePtr mpMainSequence;
+ MainSequencePtr mpMainSequence;
::com::sun::star::uno::Reference< ::com::sun::star::drawing::XDrawPage > mxCurrentPage;
::com::sun::star::uno::Reference< ::com::sun::star::drawing::XDrawView > mxView;
diff --git a/sd/source/ui/animations/CustomAnimationPane.src b/sd/source/ui/animations/CustomAnimationPane.src
index 267fe1269111..d5f97614488a 100644
--- a/sd/source/ui/animations/CustomAnimationPane.src
+++ b/sd/source/ui/animations/CustomAnimationPane.src
@@ -1,7 +1,7 @@
/*************************************************************************
*
* 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
@@ -42,10 +42,10 @@ Control DLG_CUSTOMANIMATIONPANE
{
OutputSize = TRUE;
Size = MAP_APPFONT( 260, 8 );
-
+
Text [ en-US ] = "Effect";
};
-
+
PushButton PB_ADD_EFFECT
{
HelpId = HID_SD_CUSTOMANIMATIONPANE_PB_ADD_EFFECT;
@@ -55,7 +55,7 @@ Control DLG_CUSTOMANIMATIONPANE
Text [ en-US ] = "~Add...";
};
-
+
PushButton PB_CHANGE_EFFECT
{
HelpId = HID_SD_CUSTOMANIMATIONPANE_PB_CHANGE_EFFECT;
@@ -65,7 +65,7 @@ Control DLG_CUSTOMANIMATIONPANE
Text [ en-US ] = "~Change...";
};
-
+
PushButton PB_REMOVE_EFFECT
{
HelpId = HID_SD_CUSTOMANIMATIONPANE_PB_REMOVE_EFFECT;
@@ -75,15 +75,15 @@ Control DLG_CUSTOMANIMATIONPANE
Text [ en-US ] = "~Remove";
};
-
+
FixedLine FL_MODIFY
{
OutputSize = TRUE;
Size = MAP_APPFONT( 260, 8 );
-
+
Text [ en-US ] = "Modify effect";
};
-
+
FixedText FT_START
{
OutputSize = TRUE;
@@ -107,7 +107,7 @@ Control DLG_CUSTOMANIMATIONPANE
< "After previous" ; > ;
};
};
-
+
FixedText FT_PROPERTY
{
OutputSize = TRUE;
@@ -133,7 +133,7 @@ Control DLG_CUSTOMANIMATIONPANE
Size = MAP_APPFONT( 16, 14 );
Text [ en-US ] = "~...";
-
+
QuickHelpText [en-US ] = "Effect Options";
};
@@ -142,9 +142,9 @@ Control DLG_CUSTOMANIMATIONPANE
OutputSize = TRUE;
Size = MAP_APPFONT( 42, 8 );
- Text [ en-US ] = "Sp~eed";
+ Text [ en-US ] = "Sp~eed";
};
-
+
ComboBox CB_SPEED
{
HelpId = HID_SD_CUSTOMANIMATIONPANE_CB_SPEED;
@@ -160,15 +160,15 @@ Control DLG_CUSTOMANIMATIONPANE
TabStop = TRUE;
Border = TRUE;
};
-
+
FixedText FT_CHANGE_ORDER
{
OutputSize = TRUE;
Size = MAP_APPFONT( 42, 8 );
- Text [ en-US ] = "Change order:";
+ Text [ en-US ] = "Change order:";
};
-
+
PushButton PB_MOVE_UP
{
HelpId = HID_SD_CUSTOMANIMATIONPANE_PB_MOVE_UP;
@@ -185,7 +185,7 @@ Control DLG_CUSTOMANIMATIONPANE
Size = MAP_APPFONT( 16, 14 );
};
- FixedLine FL_SEPERATOR1
+ FixedLine FL_SEPERATOR1
{
OutputSize = TRUE;
Size = MAP_APPFONT( 8, 8 );
@@ -196,7 +196,7 @@ Control DLG_CUSTOMANIMATIONPANE
HelpId = HID_SD_CUSTOMANIMATIONPANE_PB_PLAY;
Size = MAP_APPFONT ( 50 , 14 ) ;
TabStop = TRUE;
-
+
Text [ en-US ] = "~Play";
};
@@ -205,7 +205,7 @@ Control DLG_CUSTOMANIMATIONPANE
HelpId = HID_SD_CUSTOMANIMATIONPANE_PB_SLIDE_SHOW;
Size = MAP_APPFONT ( 80 , 14 ) ;
TabStop = TRUE;
-
+
Text [ en-US ] = "Slide Sho~w";
};
@@ -213,13 +213,13 @@ Control DLG_CUSTOMANIMATIONPANE
{
Size = MAP_APPFONT( 8, 8 );
};
-
+
CheckBox CB_AUTOPREVIEW
{
HelpId = HID_SD_CUSTOMANIMATIONPANE_CB_AUTOPREVIEW;
Size = MAP_APPFONT ( 120 , 10 ) ;
TabStop = TRUE ;
- Text [ en-US ] = "Automatic pre~view" ;
+ Text [ en-US ] = "Automatic pre~view" ;
};
};
diff --git a/sd/source/ui/animations/DialogListBox.cxx b/sd/source/ui/animations/DialogListBox.cxx
index 204d2067d7a4..a525378d4bb7 100644
--- a/sd/source/ui/animations/DialogListBox.cxx
+++ b/sd/source/ui/animations/DialogListBox.cxx
@@ -2,7 +2,7 @@
/*************************************************************************
*
* 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
@@ -37,17 +37,17 @@ DialogListBox::DialogListBox( Window* pParent, WinBits nWinStyle ) :
Control( pParent, nWinStyle ),
mpChild( 0 )
{
- mpVScrollBar = new ScrollBar( this, WB_VSCROLL | WB_DRAG );
- mpHScrollBar = new ScrollBar( this, WB_HSCROLL | WB_DRAG );
- mpScrollBarBox = new ScrollBarBox( this );
+ mpVScrollBar = new ScrollBar( this, WB_VSCROLL | WB_DRAG );
+ mpHScrollBar = new ScrollBar( this, WB_HSCROLL | WB_DRAG );
+ mpScrollBarBox = new ScrollBarBox( this );
Link aLink( LINK( this, DialogListBox, ScrollBarHdl ) );
mpVScrollBar->SetScrollHdl( aLink );
mpHScrollBar->SetScrollHdl( aLink );
- mbVScroll = false;
- mbHScroll = false;
- mbAutoHScroll = ( nWinStyle & WB_AUTOHSCROLL ) ? true : false;
+ mbVScroll = false;
+ mbHScroll = false;
+ mbAutoHScroll = ( nWinStyle & WB_AUTOHSCROLL ) ? true : false;
}
// -----------------------------------------------------------------------
diff --git a/sd/source/ui/animations/STLPropertySet.cxx b/sd/source/ui/animations/STLPropertySet.cxx
index ebd5b29b217b..b36deb05a2e7 100644
--- a/sd/source/ui/animations/STLPropertySet.cxx
+++ b/sd/source/ui/animations/STLPropertySet.cxx
@@ -2,7 +2,7 @@
/*************************************************************************
*
* 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
diff --git a/sd/source/ui/animations/STLPropertySet.hxx b/sd/source/ui/animations/STLPropertySet.hxx
index 799b6cd21596..0214611e5050 100644
--- a/sd/source/ui/animations/STLPropertySet.hxx
+++ b/sd/source/ui/animations/STLPropertySet.hxx
@@ -2,7 +2,7 @@
/*************************************************************************
*
* 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
diff --git a/sd/source/ui/animations/SlideTransitionPane.cxx b/sd/source/ui/animations/SlideTransitionPane.cxx
index b2aea6005f62..0539aec9223b 100644
--- a/sd/source/ui/animations/SlideTransitionPane.cxx
+++ b/sd/source/ui/animations/SlideTransitionPane.cxx
@@ -2,7 +2,7 @@
/*************************************************************************
*
* 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
@@ -221,13 +221,13 @@ struct TransitionEffect
sal_Int32 mnFadeColor;
// other settings
- double mfDuration;
+ double mfDuration;
ULONG mnTime;
PresChange mePresChange;
BOOL mbSoundOn;
String maSound;
- bool mbLoopSound;
- bool mbStopSound;
+ bool mbLoopSound;
+ bool mbStopSound;
bool mbEffectAmbiguous;
bool mbDurationAmbiguous;
@@ -264,9 +264,9 @@ void lcl_CreateUndoForPages(
const ::sd::slidesorter::SharedPageSelection& rpPages,
::sd::ViewShellBase& rBase )
{
- ::sd::DrawDocShell* pDocSh = rBase.GetDocShell();
- SfxUndoManager* pManager = pDocSh->GetUndoManager();
- SdDrawDocument* pDoc = pDocSh->GetDoc();
+ ::sd::DrawDocShell* pDocSh = rBase.GetDocShell();
+ SfxUndoManager* pManager = pDocSh->GetUndoManager();
+ SdDrawDocument* pDoc = pDocSh->GetDoc();
if( pManager && pDocSh && pDoc )
{
String aComment( SdResId(STR_UNDO_SLIDE_PARAMS) );
diff --git a/sd/source/ui/animations/SlideTransitionPane.hrc b/sd/source/ui/animations/SlideTransitionPane.hrc
index cce878a547d2..d8c2fd7336c7 100644
--- a/sd/source/ui/animations/SlideTransitionPane.hrc
+++ b/sd/source/ui/animations/SlideTransitionPane.hrc
@@ -1,7 +1,7 @@
/*************************************************************************
*
* 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
diff --git a/sd/source/ui/animations/SlideTransitionPane.hxx b/sd/source/ui/animations/SlideTransitionPane.hxx
index af95e6dcf4ee..99f6118e5949 100644
--- a/sd/source/ui/animations/SlideTransitionPane.hxx
+++ b/sd/source/ui/animations/SlideTransitionPane.hxx
@@ -2,7 +2,7 @@
/*************************************************************************
*
* 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
diff --git a/sd/source/ui/animations/SlideTransitionPane.src b/sd/source/ui/animations/SlideTransitionPane.src
index 7cf1cec805d3..3a992046085f 100644
--- a/sd/source/ui/animations/SlideTransitionPane.src
+++ b/sd/source/ui/animations/SlideTransitionPane.src
@@ -1,7 +1,7 @@
/*************************************************************************
*
* 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
diff --git a/sd/source/ui/animations/motionpathtag.cxx b/sd/source/ui/animations/motionpathtag.cxx
index dfa17a7df551..47200c01054d 100644
--- a/sd/source/ui/animations/motionpathtag.cxx
+++ b/sd/source/ui/animations/motionpathtag.cxx
@@ -2,7 +2,7 @@
/*************************************************************************
*
* 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
@@ -87,23 +87,23 @@ static const int DRGPIX = 2; // Drag MinMove i
class PathDragMove : public SdrDragMove
{
private:
- basegfx::B2DPolyPolygon maPathPolyPolygon;
+ basegfx::B2DPolyPolygon maPathPolyPolygon;
protected:
virtual void createSdrDragEntries();
public:
- PathDragMove(SdrDragView& rNewView,
+ PathDragMove(SdrDragView& rNewView,
const rtl::Reference <MotionPathTag >& xTag,
const basegfx::B2DPolyPolygon& rPathPolyPolygon)
- : SdrDragMove(rNewView),
+ : SdrDragMove(rNewView),
maPathPolyPolygon(rPathPolyPolygon),
mxTag( xTag )
{}
- PathDragMove(SdrDragView& rNewView,
+ PathDragMove(SdrDragView& rNewView,
const rtl::Reference <MotionPathTag >& xTag)
- : SdrDragMove(rNewView),
+ : SdrDragMove(rNewView),
maPathPolyPolygon(),
mxTag( xTag )
{}
@@ -151,23 +151,23 @@ bool PathDragMove::EndSdrDrag(bool /*bCopy*/)
class PathDragResize : public SdrDragResize
{
private:
- basegfx::B2DPolyPolygon maPathPolyPolygon;
+ basegfx::B2DPolyPolygon maPathPolyPolygon;
protected:
virtual void createSdrDragEntries();
public:
- PathDragResize(SdrDragView& rNewView,
+ PathDragResize(SdrDragView& rNewView,
const rtl::Reference <MotionPathTag >& xTag,
const basegfx::B2DPolyPolygon& rPathPolyPolygon)
- : SdrDragResize(rNewView),
+ : SdrDragResize(rNewView),
maPathPolyPolygon(rPathPolyPolygon),
mxTag( xTag )
{}
- PathDragResize(SdrDragView& rNewView,
+ PathDragResize(SdrDragView& rNewView,
const rtl::Reference <MotionPathTag >& xTag)
- : SdrDragResize(rNewView),
+ : SdrDragResize(rNewView),
maPathPolyPolygon(),
mxTag( xTag )
{}
@@ -212,7 +212,7 @@ bool PathDragResize::EndSdrDrag(bool /*bCopy*/)
class PathDragObjOwn : public SdrDragObjOwn
{
private:
- basegfx::B2DPolyPolygon maPathPolyPolygon;
+ basegfx::B2DPolyPolygon maPathPolyPolygon;
protected:
virtual void createSdrDragEntries();
@@ -220,12 +220,12 @@ protected:
public:
PathDragObjOwn(SdrDragView& rNewView,
const basegfx::B2DPolyPolygon& rPathPolyPolygon)
- : SdrDragObjOwn(rNewView),
+ : SdrDragObjOwn(rNewView),
maPathPolyPolygon(rPathPolyPolygon)
{}
PathDragObjOwn(SdrDragView& rNewView)
- : SdrDragObjOwn(rNewView),
+ : SdrDragObjOwn(rNewView),
maPathPolyPolygon()
{}
@@ -246,7 +246,7 @@ void PathDragObjOwn::createSdrDragEntries()
bool PathDragObjOwn::EndSdrDrag(bool /*bCopy*/)
{
Hide();
-
+
SdrObject* pObj = GetDragObj();
if(pObj)
@@ -297,7 +297,7 @@ void SdPathHdl::CreateB2dIAObject()
{
// first throw away old one
GetRidOfIAObject();
-
+
if(pHdlList)
{
SdrMarkView* pView = pHdlList->GetView();
@@ -511,7 +511,7 @@ bool MotionPathTag::MouseButtonDown( const MouseEvent& rMEvt, SmartHdl& rHdl )
return true;
}
else if( rMEvt.IsLeft() )
- {
+ {
OutputDevice* pOut = mrView.GetViewShell()->GetActiveWindow();
Point aMDPos( pOut->PixelToLogic( rMEvt.GetPosPixel() ) );
@@ -524,7 +524,7 @@ bool MotionPathTag::MouseButtonDown( const MouseEvent& rMEvt, SmartHdl& rHdl )
Point aPt(aMDPos); // - pMarkedPV->GetOffset());
- if(bNewObj)
+ if(bNewObj)
aPt = mrView.GetSnapPos(aPt,mrView.GetSdrPageView());
sal_Bool bClosed0(mpPathObj->IsClosedObj());
@@ -532,21 +532,21 @@ bool MotionPathTag::MouseButtonDown( const MouseEvent& rMEvt, SmartHdl& rHdl )
sal_uInt32 nInsPointNum = mpPathObj->NbcInsPointOld(aPt, bNewObj, sal_True);
if(bClosed0 != mpPathObj->IsClosedObj())
- {
+ {
// Obj was closed implicit
// object changed
mpPathObj->SetChanged();
mpPathObj->BroadcastObjectChange();
}
- if(0xffffffff != nInsPointNum)
+ if(0xffffffff != nInsPointNum)
{
mrView.UnmarkAllPoints();
mrView.updateHandles();
bool bRet = mrView.BegDragObj(aMDPos, pOut, mrView.GetHdl(nInsPointNum+1), 0, new PathDragObjOwn( mrView ) );
- if (bRet)
+ if (bRet)
{
const_cast< SdrDragStat* >( &mrView.GetDragStat() )->SetMinMoved();
mrView.MovDragObj(aMDPos);
@@ -576,7 +576,7 @@ bool MotionPathTag::MouseButtonDown( const MouseEvent& rMEvt, SmartHdl& rHdl )
pHdl = dynamic_cast< SmartHdl* >( mrView.PickHandle(aMDPos) );
}
}
-
+
if (pHdl)
mrView.MarkPoint(*pHdl);
}
@@ -586,7 +586,7 @@ bool MotionPathTag::MouseButtonDown( const MouseEvent& rMEvt, SmartHdl& rHdl )
{
mrView.BrkAction();
const USHORT nDrgLog = (USHORT)pOut->PixelToLogic(Size(DRGPIX,0)).Width();
-
+
rtl::Reference< MotionPathTag > xTag( this );
SdrDragMethod* pDragMethod;
@@ -607,12 +607,12 @@ bool MotionPathTag::MouseButtonDown( const MouseEvent& rMEvt, SmartHdl& rHdl )
{
pDragMethod = new PathDragResize( mrView, xTag, aDragPoly );
}
-
+
mrView.BegDragObj(aMDPos, NULL, pHdl, nDrgLog, pDragMethod );
}
return true;
}
- }
+ }
}
return false;
@@ -702,7 +702,7 @@ bool MotionPathTag::OnMarkHandle( const KeyEvent& rKEvt )
// rescue ID of point with focus
sal_uInt32 nPol(pHdl->GetPolyNum());
sal_uInt32 nPnt(pHdl->GetPointNum());
-
+
if(mrView.IsPointMarked(*pHdl))
{
if(rKEvt.GetKeyCode().IsShift())
@@ -727,7 +727,7 @@ bool MotionPathTag::OnMarkHandle( const KeyEvent& rKEvt )
for(sal_uInt32 a(0); !pNewOne && a < rHdlList.GetHdlCount(); a++)
{
SdrHdl* pAct = rHdlList.GetHdl(a);
-
+
if(pAct && pAct->GetKind() == HDL_POLY && pAct->GetPolyNum() == nPol && pAct->GetPointNum() == nPnt)
pNewOne = pAct;
}
@@ -747,10 +747,10 @@ bool MotionPathTag::OnMove( const KeyEvent& rKEvt )
switch( rKEvt.GetKeyCode().GetCode() )
{
- case KEY_UP: nY = -1; break;
- case KEY_DOWN: nY = 1; break;
- case KEY_LEFT: nX = -1; break;
- case KEY_RIGHT: nX = 1; break;
+ case KEY_UP: nY = -1; break;
+ case KEY_DOWN: nY = 1; break;
+ case KEY_LEFT: nX = -1; break;
+ case KEY_RIGHT: nX = 1; break;
default: break;
}
@@ -1008,13 +1008,13 @@ void MotionPathTag::addCustomHandles( SdrHdlList& rHandlerList )
const bool bSelected= pMrkPnts && pMrkPnts->Exist(sal::static_int_cast< USHORT >(nHandle));
pSmartHdl->SetSelected(bSelected);
- if( mrView.IsPlusHandlesAlwaysVisible() || bSelected )
+ if( mrView.IsPlusHandlesAlwaysVisible() || bSelected )
{
sal_uInt32 nPlusAnz=mpPathObj->GetPlusHdlCount(*pSmartHdl);
- for (sal_uInt32 nPlusNum=0; nPlusNum<nPlusAnz; nPlusNum++)
+ for (sal_uInt32 nPlusNum=0; nPlusNum<nPlusAnz; nPlusNum++)
{
SdrHdl* pPlusHdl = mpPathObj->GetPlusHdl(*pSmartHdl,nPlusNum);
- if (pPlusHdl!=NULL)
+ if (pPlusHdl!=NULL)
{
pPlusHdl->SetObj(mpPathObj);
pPlusHdl->SetPageView(mrView.GetSdrPageView());
@@ -1029,22 +1029,22 @@ void MotionPathTag::addCustomHandles( SdrHdlList& rHandlerList )
{
Rectangle aRect(mpPathObj->GetCurrentBoundRect());
- if(!aRect.IsEmpty())
+ if(!aRect.IsEmpty())
{
ULONG nCount = rHandlerList.GetHdlCount();
BOOL bWdt0=aRect.Left()==aRect.Right();
BOOL bHgt0=aRect.Top()==aRect.Bottom();
- if (bWdt0 && bHgt0)
+ if (bWdt0 && bHgt0)
{
rHandlerList.AddHdl(new SmartHdl( xThis, mpPathObj, aRect.TopLeft(),HDL_UPLFT));
- }
+ }
else if (bWdt0 || bHgt0)
{
rHandlerList.AddHdl(new SmartHdl( xThis, mpPathObj, aRect.TopLeft() ,HDL_UPLFT));
rHandlerList.AddHdl(new SmartHdl( xThis, mpPathObj, aRect.BottomRight(),HDL_LWRGT));
- }
- else
+ }
+ else
{
if (!bWdt0 && !bHgt0) rHandlerList.AddHdl(new SmartHdl( xThis, mpPathObj, aRect.TopLeft() ,HDL_UPLFT));
if ( !bHgt0) rHandlerList.AddHdl(new SmartHdl( xThis, mpPathObj, aRect.TopCenter() ,HDL_UPPER));
@@ -1104,10 +1104,10 @@ void MotionPathTag::deselect()
{
SdrUShortCont* pPts = mpMark->GetMarkedPoints();
- if( pPts )
+ if( pPts )
pPts->Clear();
}
-
+
selectionChanged();
}
@@ -1130,24 +1130,24 @@ void MotionPathTag::DeleteMarkedPoints()
mrView.BrkAction();
// Description
-// BegUndo(ImpGetResStr(STR_EditDelete),GetDescriptionOfMarkedPoints(),SDRREPFUNC_OBJ_DELETE);
+// BegUndo(ImpGetResStr(STR_EditDelete),GetDescriptionOfMarkedPoints(),SDRREPFUNC_OBJ_DELETE);
SdrUShortCont* pPts = mpMark->GetMarkedPoints();
- if( pPts )
+ if( pPts )
{
PolyPolygonEditor aEditor( mpPathObj->GetPathPoly(), mpPathObj->IsClosed() );
if( aEditor.DeletePoints( pPts->getContainer() ) )
{
if( aEditor.GetPolyPolygon().count() )
{
-// AddUndo(GetModel()->GetSdrUndoFactory().CreateUndoGeoObject(*pPath ));
+// AddUndo(GetModel()->GetSdrUndoFactory().CreateUndoGeoObject(*pPath ));
mpPathObj->SetPathPoly( aEditor.GetPolyPolygon() );
}
else
{
-// AddUndo( GetModel()->GetSdrUndoFactory().CreateUndoDeleteObject(*pPath ) );
-// pM->GetPageView()->GetObjList()->RemoveObject(pObj->GetOrdNum());
+// AddUndo( GetModel()->GetSdrUndoFactory().CreateUndoDeleteObject(*pPath ) );
+// pM->GetPageView()->GetObjList()->RemoveObject(pObj->GetOrdNum());
}
mrView.UnmarkAllPoints();
@@ -1156,7 +1156,7 @@ void MotionPathTag::DeleteMarkedPoints()
}
}
-// EndUndo();
+// EndUndo();
}
}
@@ -1194,15 +1194,15 @@ SdrPathSegmentKind MotionPathTag::GetMarkedSegmentsKind() const
void MotionPathTag::SetMarkedSegmentsKind(SdrPathSegmentKind eKind)
{
- if(mpPathObj && isSelected() && (GetMarkedPointCount() != 0))
+ if(mpPathObj && isSelected() && (GetMarkedPointCount() != 0))
{
SdrUShortCont* pPts = mpMark->GetMarkedPoints();
- if(pPts)
+ if(pPts)
{
PolyPolygonEditor aEditor( mpPathObj->GetPathPoly(), mpPathObj->IsClosed() );
if(aEditor.SetSegmentsKind( eKind, pPts->getContainer()) )
{
-// AddUndo(GetModel()->GetSdrUndoFactory().CreateUndoGeoObject(*pPath));
+// AddUndo(GetModel()->GetSdrUndoFactory().CreateUndoGeoObject(*pPath));
mpPathObj->SetPathPoly(aEditor.GetPolyPolygon());
mrView.MarkListHasChanged();
mrView.updateHandles();
@@ -1230,33 +1230,33 @@ SdrPathSmoothKind MotionPathTag::GetMarkedPointsSmooth() const
void MotionPathTag::SetMarkedPointsSmooth(SdrPathSmoothKind eKind)
{
basegfx::B2VectorContinuity eFlags;
-
- if(SDRPATHSMOOTH_ANGULAR == eKind)
+
+ if(SDRPATHSMOOTH_ANGULAR == eKind)
{
eFlags = basegfx::CONTINUITY_NONE;
}
- else if(SDRPATHSMOOTH_ASYMMETRIC == eKind)
+ else if(SDRPATHSMOOTH_ASYMMETRIC == eKind)
{
eFlags = basegfx::CONTINUITY_C1;
}
- else if(SDRPATHSMOOTH_SYMMETRIC == eKind)
+ else if(SDRPATHSMOOTH_SYMMETRIC == eKind)
{
eFlags = basegfx::CONTINUITY_C2;
}
- else
+ else
{
return;
}
- if(mpPathObj && mpMark && isSelected() && (GetMarkedPointCount() != 0))
+ if(mpPathObj && mpMark && isSelected() && (GetMarkedPointCount() != 0))
{
SdrUShortCont* pPts = mpMark->GetMarkedPoints();
- if(pPts)
+ if(pPts)
{
PolyPolygonEditor aEditor( mpPathObj->GetPathPoly(), mpPathObj->IsClosed() );
if(aEditor.SetPointsSmooth( eFlags, pPts->getContainer() ) )
{
-// AddUndo(GetModel()->GetSdrUndoFactory().CreateUndoGeoObject(*pPath));
+// AddUndo(GetModel()->GetSdrUndoFactory().CreateUndoGeoObject(*pPath));
mpPathObj->SetPathPoly(aEditor.GetPolyPolygon());
mrView.MarkListHasChanged();
mrView.updateHandles();
@@ -1264,7 +1264,7 @@ void MotionPathTag::SetMarkedPointsSmooth(SdrPathSmoothKind eKind)
}
}
}
-
+
void MotionPathTag::CloseMarkedObjects(BOOL /*bToggle*/, BOOL /*bOpen*/ )
{
// not supported for motion path
diff --git a/sd/source/ui/animations/motionpathtag.hxx b/sd/source/ui/animations/motionpathtag.hxx
index 9065bfee2147..2af2c08ab5f9 100644
--- a/sd/source/ui/animations/motionpathtag.hxx
+++ b/sd/source/ui/animations/motionpathtag.hxx
@@ -2,7 +2,7 @@
/*************************************************************************
*
* 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
@@ -79,7 +79,7 @@ public:
virtual void DeleteMarkedPoints();
virtual BOOL IsDeleteMarkedPointsPossible() const;
- virtual void RipUpAtMarkedPoints();
+ virtual void RipUpAtMarkedPoints();
virtual bool IsRipUpAtMarkedPointsPossible() const;
virtual BOOL IsSetMarkedSegmentsKindPossible() const;
@@ -89,7 +89,7 @@ public:
virtual BOOL IsSetMarkedPointsSmoothPossible() const;
virtual SdrPathSmoothKind GetMarkedPointsSmooth() const;
virtual void SetMarkedPointsSmooth(SdrPathSmoothKind eKind);
-
+
virtual void CloseMarkedObjects(BOOL bToggle, BOOL bOpen );
virtual bool IsOpenCloseMarkedObjectsPossible() const;
virtual SdrObjClosedKind GetMarkedObjectsClosedState() const;
@@ -130,6 +130,6 @@ private:
} // end of namespace sd
-#endif // _SD_MOTIONPATHTAG_HXX_
+#endif // _SD_MOTIONPATHTAG_HXX_
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/sd/source/ui/annotations/annotationmanager.cxx b/sd/source/ui/annotations/annotationmanager.cxx
index a6a1ae2051fb..64e1046178fb 100644
--- a/sd/source/ui/annotations/annotationmanager.cxx
+++ b/sd/source/ui/annotations/annotationmanager.cxx
@@ -2,7 +2,7 @@
/*************************************************************************
*
* 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
@@ -152,12 +152,12 @@ static SfxDispatcher* getDispatcher( ViewShellBase& rBase )
}
com::sun::star::util::DateTime getCurrentDateTime()
-{
+{
TimeValue osltime;
osl_getSystemTime( &osltime );
oslDateTime osldt;
osl_getDateTimeFromTimeValue( &osltime, &osldt );
- return com::sun::star::util::DateTime( 0, osldt.Seconds, osldt.Minutes, osldt.Hours, osldt.Day, osldt.Month, osldt.Year );
+ return com::sun::star::util::DateTime( 0, osldt.Seconds, osldt.Minutes, osldt.Hours, osldt.Day, osldt.Month, osldt.Year );
}
OUString getAnnotationDateTimeString( const Reference< XAnnotation >& xAnnotation )
@@ -169,7 +169,7 @@ OUString getAnnotationDateTimeString( const Reference< XAnnotation >& xAnnotatio
const LocaleDataWrapper& rLocalData = aSysLocale.GetLocaleData();
com::sun::star::util::DateTime aDateTime( xAnnotation->getDateTime() );
-
+
Date aDate = Date( aDateTime.Day, aDateTime.Month, aDateTime.Year );
if (aDate==Date())
sRet = sRet + String(SdResId(STR_ANNOTATION_TODAY));
@@ -179,8 +179,8 @@ OUString getAnnotationDateTimeString( const Reference< XAnnotation >& xAnnotatio
else
if (aDate.IsValid() )
sRet = sRet + rLocalData.getDate(aDate);
-
- Time aTime( aDateTime.Hours, aDateTime.Minutes, aDateTime.Seconds, aDateTime.HundredthSeconds );
+
+ Time aTime( aDateTime.Hours, aDateTime.Minutes, aDateTime.Seconds, aDateTime.HundredthSeconds );
if(aTime.GetTime() != 0)
sRet = sRet + rtl::OUString::createFromAscii(" ") + rLocalData.getTime( aTime,false );
}
@@ -198,7 +198,7 @@ AnnotationManagerImpl::AnnotationManagerImpl( ViewShellBase& rViewShellBase )
{
SdOptions* pOptions = SD_MOD()->GetSdOptions(mpDoc->GetDocumentType());
if( pOptions )
- mbShowAnnotations = pOptions->IsShowComments() == TRUE;
+ mbShowAnnotations = pOptions->IsShowComments() == TRUE;
}
// --------------------------------------------------------------------
@@ -208,7 +208,7 @@ void AnnotationManagerImpl::init()
// get current controller and initialize listeners
try
{
- addListener();
+ addListener();
mxView = Reference< XDrawView >::query(mrBase.GetController());
}
catch( Exception& e )
@@ -225,7 +225,7 @@ void AnnotationManagerImpl::init()
}
catch( Exception& )
{
- }
+ }
}
// --------------------------------------------------------------------
@@ -241,7 +241,7 @@ void SAL_CALL AnnotationManagerImpl::disposing ()
}
catch( Exception& )
{
- }
+ }
removeListener();
DisposeTags();
@@ -257,7 +257,7 @@ void SAL_CALL AnnotationManagerImpl::disposing ()
}
// --------------------------------------------------------------------
-
+
// XEventListener
void SAL_CALL AnnotationManagerImpl::notifyEvent( const ::com::sun::star::document::EventObject& aEvent ) throw (::com::sun::star::uno::RuntimeException)
{
@@ -282,9 +282,9 @@ void AnnotationManagerImpl::ShowAnnotations( bool bShow )
SdOptions* pOptions = SD_MOD()->GetSdOptions(mpDoc->GetDocumentType());
if( pOptions )
- pOptions->SetShowComments( mbShowAnnotations ? sal_True : sal_False );
-
- UpdateTags();
+ pOptions->SetShowComments( mbShowAnnotations ? sal_True : sal_False );
+
+ UpdateTags();
}
}
@@ -305,7 +305,7 @@ void AnnotationManagerImpl::ExecuteAnnotation(SfxRequest& rReq )
case SID_PREVIOUS_POSTIT:
case SID_NEXT_POSTIT:
SelectNextAnnotation( rReq.GetSlot() == SID_NEXT_POSTIT );
- break;
+ break;
case SID_REPLYTO_POSTIT:
ExecuteReplyToAnnotation( rReq );
break;
@@ -320,7 +320,7 @@ void AnnotationManagerImpl::ExecuteAnnotation(SfxRequest& rReq )
void AnnotationManagerImpl::ExecuteInsertAnnotation(SfxRequest& /*rReq*/)
{
ShowAnnotations(true);
- InsertAnnotation();
+ InsertAnnotation();
}
// --------------------------------------------------------------------
@@ -330,7 +330,7 @@ void AnnotationManagerImpl::ExecuteDeleteAnnotation(SfxRequest& rReq)
ShowAnnotations( true );
const SfxItemSet* pArgs = rReq.GetArgs();
-
+
switch( rReq.GetSlot() )
{
case SID_DELETEALL_POSTIT:
@@ -347,12 +347,12 @@ void AnnotationManagerImpl::ExecuteDeleteAnnotation(SfxRequest& rReq)
}
}
break;
- case SID_DELETE_POSTIT:
- {
+ case SID_DELETE_POSTIT:
+ {
Reference< XAnnotation > xAnnotation;
if( rReq.GetSlot() == SID_DELETE_POSTIT )
- {
+ {
if( pArgs )
{
const SfxPoolItem* pPoolItem = NULL;
@@ -360,10 +360,10 @@ void AnnotationManagerImpl::ExecuteDeleteAnnotation(SfxRequest& rReq)
( ( const SfxUnoAnyItem* ) pPoolItem )->GetValue() >>= xAnnotation;
}
}
-
- if( !xAnnotation.is() )
+
+ if( !xAnnotation.is() )
GetSelectedAnnotation( xAnnotation );
-
+
DeleteAnnotation( xAnnotation );
}
break;
@@ -381,23 +381,23 @@ void AnnotationManagerImpl::InsertAnnotation()
{
if( mpDoc->IsUndoEnabled() )
mpDoc->BegUndo( String( SdResId( STR_ANNOTATION_UNDO_INSERT ) ) );
-
+
// find free space for new annotation
int y = 0, x = 0;
-
+
AnnotationVector aAnnotations( pPage->getAnnotations() );
if( !aAnnotations.empty() )
- {
+ {
const int page_width = pPage->GetSize().Width();
const int width = 1000;
const int height = 800;
Rectangle aTagRect;
-
+
while( true )
- {
+ {
Rectangle aNewRect( x, y, x + width - 1, y + height - 1 );
bool bFree = true;
-
+
for( AnnotationVector::iterator iter = aAnnotations.begin(); iter != aAnnotations.end(); iter++ )
{
RealPoint2D aPoint( (*iter)->getPosition() );
@@ -405,14 +405,14 @@ void AnnotationManagerImpl::InsertAnnotation()
aTagRect.nTop = sal::static_int_cast< long >( aPoint.Y * 100.0 );
aTagRect.nRight = aTagRect.nLeft + width - 1;
aTagRect.nBottom = aTagRect.nTop + height - 1;
-
+
if( aNewRect.IsOver( aTagRect ) )
{
bFree = false;
break;
}
}
-
+
if( bFree == false)
{
x += width;
@@ -420,32 +420,32 @@ void AnnotationManagerImpl::InsertAnnotation()
{
x = 0;
y += height;
- }
+ }
}
else
{
break;
}
}
- }
-
+ }
+
Reference< XAnnotation > xAnnotation;
pPage->createAnnotation( xAnnotation );
-
+
// set current author to new annotation
SvtUserOptions aUserOptions;
xAnnotation->setAuthor( aUserOptions.GetFullName() );
-
+
// set current time to new annotation
xAnnotation->setDateTime( getCurrentDateTime() );
-
+
// set position
RealPoint2D aPos( ((double)x) / 100.0, ((double)y) / 100.0 );
xAnnotation->setPosition( aPos );
if( mpDoc->IsUndoEnabled() )
mpDoc->EndUndo();
-
+
UpdateTags(true);
SelectAnnotation( xAnnotation, true );
}
@@ -469,7 +469,7 @@ void AnnotationManagerImpl::ExecuteReplyToAnnotation( SfxRequest& rReq )
if( pTextApi )
{
std::auto_ptr< ::Outliner > pOutliner( new ::Outliner(GetAnnotationPool(),OUTLINERMODE_TEXTOBJECT) );
-
+
mpDoc->SetCalcFieldValueHdl( pOutliner.get() );
pOutliner->SetUpdateMode( TRUE );
@@ -477,7 +477,7 @@ void AnnotationManagerImpl::ExecuteReplyToAnnotation( SfxRequest& rReq )
OUString sAuthor( xAnnotation->getAuthor() );
if( sAuthor.getLength() == 0 )
sAuthor = String( SdResId( STR_ANNOTATION_NOAUTHOR ) );
-
+
aStr.SearchAndReplaceAscii("%1", sAuthor);
aStr.Append( String(RTL_CONSTASCII_USTRINGPARAM(" (") ) );
@@ -490,32 +490,32 @@ void AnnotationManagerImpl::ExecuteReplyToAnnotation( SfxRequest& rReq )
sQuote = String( RTL_CONSTASCII_USTRINGPARAM( "..." ) );
aStr.Append( sQuote );
aStr.Append( String(RTL_CONSTASCII_USTRINGPARAM("\"\n") ) );
-
+
USHORT nParaCount = aStr.GetTokenCount( '\n' );
for( USHORT nPara = 0; nPara < nParaCount; nPara++ )
pOutliner->Insert( aStr.GetToken( nPara, '\n' ), LIST_APPEND, -1 );
-
+
if( pOutliner->GetParagraphCount() > 1 )
{
SfxItemSet aAnswerSet( pOutliner->GetEmptyItemSet() );
- aAnswerSet.Put(SvxPostureItem(ITALIC_NORMAL,EE_CHAR_ITALIC));
-
+ aAnswerSet.Put(SvxPostureItem(ITALIC_NORMAL,EE_CHAR_ITALIC));
+
ESelection aSel;
aSel.nEndPara = (USHORT)pOutliner->GetParagraphCount()-2;
aSel.nEndPos = pOutliner->GetText( pOutliner->GetParagraph( aSel.nEndPara ) ).Len();
-
+
pOutliner->QuickSetAttribs( aAnswerSet, aSel );
}
-
+
std::auto_ptr< OutlinerParaObject > pOPO( pOutliner->CreateParaObject() );
pTextApi->SetText( *pOPO.get() );
-
+
SvtUserOptions aUserOptions;
- xAnnotation->setAuthor( aUserOptions.GetFullName() );
+ xAnnotation->setAuthor( aUserOptions.GetFullName() );
// set current time to reply
xAnnotation->setDateTime( getCurrentDateTime() );
-
+
UpdateTags(true);
SelectAnnotation( xAnnotation, true );
}
@@ -524,7 +524,7 @@ void AnnotationManagerImpl::ExecuteReplyToAnnotation( SfxRequest& rReq )
// --------------------------------------------------------------------
void AnnotationManagerImpl::DeleteAnnotation( Reference< XAnnotation > xAnnotation )
-{
+{
SdPage* pPage = GetCurrentPage();
if( xAnnotation.is() && pPage )
@@ -550,9 +550,9 @@ void AnnotationManagerImpl::DeleteAnnotationsByAuthor( const rtl::OUString& sAut
do
{
pPage = GetNextPage( pPage, true );
-
+
if( pPage && !pPage->getAnnotations().empty() )
- {
+ {
AnnotationVector aAnnotations( pPage->getAnnotations() );
for( AnnotationVector::iterator iter = aAnnotations.begin(); iter != aAnnotations.end(); iter++ )
{
@@ -580,14 +580,14 @@ void AnnotationManagerImpl::DeleteAllAnnotations()
do
{
pPage = GetNextPage( pPage, true );
-
+
if( pPage && !pPage->getAnnotations().empty() )
- {
+ {
AnnotationVector aAnnotations( pPage->getAnnotations() );
for( AnnotationVector::iterator iter = aAnnotations.begin(); iter != aAnnotations.end(); iter++ )
{
- pPage->removeAnnotation( (*iter) );
+ pPage->removeAnnotation( (*iter) );
}
}
}
@@ -604,31 +604,31 @@ void AnnotationManagerImpl::DeleteAllAnnotations()
void AnnotationManagerImpl::GetAnnotationState(SfxItemSet& rSet)
{
SdPage* pCurrentPage = GetCurrentPage();
-
+
const bool bReadOnly = mrBase.GetDocShell()->IsReadOnly();
const bool bWrongPageKind = (pCurrentPage == 0) || (pCurrentPage->GetPageKind() != PK_STANDARD);
-
+
const SvtSaveOptions::ODFDefaultVersion nCurrentODFVersion( SvtSaveOptions().GetODFDefaultVersion() );
if( bReadOnly || bWrongPageKind || (nCurrentODFVersion != SvtSaveOptions::ODFVER_LATEST) )
- rSet.DisableItem( SID_INSERT_POSTIT );
+ rSet.DisableItem( SID_INSERT_POSTIT );
rSet.Put(SfxBoolItem(SID_SHOW_POSTIT, mbShowAnnotations));
-
+
Reference< XAnnotation > xAnnotation;
GetSelectedAnnotation( xAnnotation );
-
+
if( !xAnnotation.is() || bReadOnly )
- rSet.DisableItem( SID_DELETE_POSTIT );
+ rSet.DisableItem( SID_DELETE_POSTIT );
SdPage* pPage = 0;
-
+
bool bHasAnnotations = false;
do
{
pPage = GetNextPage( pPage, true );
-
- if( pPage && !pPage->getAnnotations().empty() )
+
+ if( pPage && !pPage->getAnnotations().empty() )
bHasAnnotations = true;
}
while( pPage && !bHasAnnotations );
@@ -636,7 +636,7 @@ void AnnotationManagerImpl::GetAnnotationState(SfxItemSet& rSet)
if( !bHasAnnotations || bReadOnly )
{
rSet.DisableItem( SID_DELETEALL_POSTIT );
- }
+ }
if( bWrongPageKind || !bHasAnnotations )
{
@@ -684,7 +684,7 @@ void AnnotationManagerImpl::SelectNextAnnotation(bool bForeward)
}
}
else
- {
+ {
if( xCurrent.is() )
{
for( AnnotationVector::iterator iter = aAnnotations.begin(); iter != aAnnotations.end(); iter++ )
@@ -703,7 +703,7 @@ void AnnotationManagerImpl::SelectNextAnnotation(bool bForeward)
}
}
else if( !aAnnotations.empty() )
- {
+ {
AnnotationVector::iterator iter( aAnnotations.end() );
SelectAnnotation( *(--iter) );
return;
@@ -716,8 +716,8 @@ void AnnotationManagerImpl::SelectNextAnnotation(bool bForeward)
do
{
pPage = GetNextPage( pPage, bForeward );
-
- if( pPage && !pPage->getAnnotations().empty() )
+
+ if( pPage && !pPage->getAnnotations().empty() )
{
// switch to next/previous slide with annotations
::boost::shared_ptr<DrawViewShell> pDrawViewShell(::boost::dynamic_pointer_cast<DrawViewShell>(mrBase.GetMainViewShell()));
@@ -725,17 +725,17 @@ void AnnotationManagerImpl::SelectNextAnnotation(bool bForeward)
{
pDrawViewShell->ChangeEditMode(pPage->IsMasterPage() ? EM_MASTERPAGE : EM_PAGE, FALSE);
pDrawViewShell->SwitchPage((pPage->GetPageNum() - 1) >> 1);
-
+
SfxDispatcher* pDispatcher = getDispatcher( mrBase );
if( pDispatcher )
pDispatcher->Execute( bForeward ? SID_NEXT_POSTIT : SID_PREVIOUS_POSTIT );
-
+
return;
- }
+ }
}
}
while( pPage );
-
+
// The question text depends on the search direction.
bool bImpress = mpDoc->GetDocumentType() == DOCUMENT_TYPE_IMPRESS;
sal_uInt16 nStringId;
@@ -760,7 +760,7 @@ void AnnotationManagerImpl::SelectNextAnnotation(bool bForeward)
// --------------------------------------------------------------------
-void AnnotationManagerImpl::onTagSelected( AnnotationTag& rTag )
+void AnnotationManagerImpl::onTagSelected( AnnotationTag& rTag )
{
mxSelectedAnnotation = rTag.GetAnnotation();
invalidateSlots();
@@ -780,14 +780,14 @@ void AnnotationManagerImpl::onTagDeselected( AnnotationTag& rTag )
// --------------------------------------------------------------------
void AnnotationManagerImpl::SelectAnnotation( ::com::sun::star::uno::Reference< ::com::sun::star::office::XAnnotation > xAnnotation, bool bEdit /* = FALSE */ )
-{
+{
mxSelectedAnnotation = xAnnotation;
-
+
for( AnnotationTagVector::iterator iter( maTagVector.begin() ); iter != maTagVector.end(); iter++ )
{
if( (*iter)->GetAnnotation() == xAnnotation )
{
- SmartTagReference xTag( (*iter).get() );
+ SmartTagReference xTag( (*iter).get() );
mrBase.GetMainViewShell()->GetView()->getSmartTags().select( xTag );
(*iter)->OpenPopup( bEdit );
break;
@@ -811,8 +811,8 @@ void AnnotationManagerImpl::invalidateSlots()
pBindings->Invalidate( SID_DELETE_POSTIT );
pBindings->Invalidate( SID_DELETEALL_POSTIT );
pBindings->Invalidate( SID_PREVIOUS_POSTIT );
- pBindings->Invalidate( SID_NEXT_POSTIT );
- pBindings->Invalidate( SID_UNDO );
+ pBindings->Invalidate( SID_NEXT_POSTIT );
+ pBindings->Invalidate( SID_UNDO );
pBindings->Invalidate( SID_REDO );
}
}
@@ -828,9 +828,9 @@ void AnnotationManagerImpl::onSelectionChanged()
if( xPage != mxCurrentPage )
{
mxCurrentPage = xPage;
-
+
UpdateTags(true);
- }
+ }
}
catch( Exception& )
{
@@ -844,7 +844,7 @@ void AnnotationManagerImpl::UpdateTags( bool bSynchron )
{
if( mnUpdateTagsEvent )
Application::RemoveUserEvent( mnUpdateTagsEvent );
-
+
UpdateTagsHdl(0);
}
else
@@ -858,15 +858,15 @@ IMPL_LINK(AnnotationManagerImpl,UpdateTagsHdl, void *, EMPTYARG)
{
mnUpdateTagsEvent = 0;
DisposeTags();
-
+
if( mbShowAnnotations )
CreateTags();
-
+
if( mrBase.GetDrawView() )
- static_cast< ::sd::View* >( mrBase.GetDrawView() )->updateHandles();
+ static_cast< ::sd::View* >( mrBase.GetDrawView() )->updateHandles();
invalidateSlots();
-
+
return 0;
}
@@ -879,7 +879,7 @@ void AnnotationManagerImpl::CreateTags()
maFont = Application::GetSettings().GetStyleSettings().GetAppFont();
rtl::Reference< AnnotationTag > xSelectedTag;
-
+
Reference< XAnnotationEnumeration > xEnum( mxCurrentPage->createAnnotationEnumeration() );
while( xEnum->hasMoreElements() )
{
@@ -887,16 +887,16 @@ void AnnotationManagerImpl::CreateTags()
Color aColor( GetColorLight( mpDoc->GetAnnotationAuthorIndex( xAnnotation->getAuthor() ) ) );
rtl::Reference< AnnotationTag > xTag( new AnnotationTag( *this, *mrBase.GetMainViewShell()->GetView(), xAnnotation, aColor, nIndex++, maFont ) );
maTagVector.push_back(xTag);
-
+
if( xAnnotation == mxSelectedAnnotation )
{
xSelectedTag = xTag;
}
}
-
+
if( xSelectedTag.is() )
{
- SmartTagReference xTag( xSelectedTag.get() );
+ SmartTagReference xTag( xSelectedTag.get() );
mrBase.GetMainViewShell()->GetView()->getSmartTags().select( xTag );
}
else
@@ -923,7 +923,7 @@ void AnnotationManagerImpl::DisposeTags()
(*iter++)->Dispose();
}
while( iter != maTagVector.end() );
-
+
maTagVector.clear();
}
}
@@ -979,29 +979,29 @@ void AnnotationManagerImpl::ExecuteAnnotationContextMenu( Reference< XAnnotation
SfxDispatcher* pDispatcher( getDispatcher( mrBase ) );
if( !pDispatcher )
return;
-
+
const bool bReadOnly = mrBase.GetDocShell()->IsReadOnly();
-
+
AnnotationWindow* pAnnotationWindow = bButtonMenu ? 0 : dynamic_cast< AnnotationWindow* >( pParent );
-
+
if( bReadOnly && !pAnnotationWindow )
return;
-
+
std::auto_ptr< PopupMenu > pMenu( new PopupMenu( SdResId( pAnnotationWindow ? RID_ANNOTATION_CONTEXTMENU : RID_ANNOTATION_TAG_CONTEXTMENU ) ) );
SvtUserOptions aUserOptions;
- OUString sCurrentAuthor( aUserOptions.GetFullName() );
+ OUString sCurrentAuthor( aUserOptions.GetFullName() );
OUString sAuthor( xAnnotation->getAuthor() );
-
+
String aStr( pMenu->GetItemText( SID_DELETEALLBYAUTHOR_POSTIT ) ), aReplace( sAuthor );
if( aReplace.Len() == 0 )
aReplace = String( SdResId( STR_ANNOTATION_NOAUTHOR ) );
aStr.SearchAndReplaceAscii("%1", aReplace);
pMenu->SetItemText( SID_DELETEALLBYAUTHOR_POSTIT, aStr );
pMenu->EnableItem( SID_REPLYTO_POSTIT, (sAuthor != sCurrentAuthor) && !bReadOnly );
- pMenu->EnableItem( SID_DELETE_POSTIT, (xAnnotation.is() && !bReadOnly) ? TRUE : FALSE );
- pMenu->EnableItem( SID_DELETEALLBYAUTHOR_POSTIT, !bReadOnly );
- pMenu->EnableItem( SID_DELETEALL_POSTIT, !bReadOnly );
+ pMenu->EnableItem( SID_DELETE_POSTIT, (xAnnotation.is() && !bReadOnly) ? TRUE : FALSE );
+ pMenu->EnableItem( SID_DELETEALLBYAUTHOR_POSTIT, !bReadOnly );
+ pMenu->EnableItem( SID_DELETEALL_POSTIT, !bReadOnly );
if( pAnnotationWindow )
{
@@ -1016,18 +1016,18 @@ void AnnotationManagerImpl::ExecuteAnnotationContextMenu( Reference< XAnnotation
else
{
SfxItemSet aSet(pAnnotationWindow->getView()->GetAttribs());
-
+
if ( aSet.GetItemState( EE_CHAR_WEIGHT ) == SFX_ITEM_ON )
{
if( ((const SvxWeightItem&)aSet.Get( EE_CHAR_WEIGHT )).GetWeight() == WEIGHT_BOLD )
pMenu->CheckItem( SID_ATTR_CHAR_WEIGHT );
}
-
+
if ( aSet.GetItemState( EE_CHAR_ITALIC ) == SFX_ITEM_ON )
{
if( ((const SvxPostureItem&)aSet.Get( EE_CHAR_ITALIC )).GetPosture() != ITALIC_NONE )
pMenu->CheckItem( SID_ATTR_CHAR_POSTURE );
-
+
}
if ( aSet.GetItemState( EE_CHAR_UNDERLINE ) == SFX_ITEM_ON )
{
@@ -1043,12 +1043,12 @@ void AnnotationManagerImpl::ExecuteAnnotationContextMenu( Reference< XAnnotation
TransferableDataHelper aDataHelper( TransferableDataHelper::CreateFromSystemClipboard( pAnnotationWindow ) );
pMenu->EnableItem( SID_PASTE, aDataHelper.GetFormatCount() != 0 );
}
-
+
pMenu->EnableItem( SID_COPY, pAnnotationWindow->getView()->HasSelection() );
}
USHORT nId = 0;
-
+
// set slot images
Reference< ::com::sun::star::frame::XFrame > xFrame( mrBase.GetMainViewShell()->GetViewFrame()->GetFrame().GetFrameInterface() );
if( xFrame.is() )
@@ -1056,12 +1056,12 @@ void AnnotationManagerImpl::ExecuteAnnotationContextMenu( Reference< XAnnotation
const bool bHighContrast = Application::GetSettings().GetStyleSettings().GetHighContrastMode();
for( USHORT nPos = 0; nPos < pMenu->GetItemCount(); nPos++ )
{
- nId = pMenu->GetItemId( nPos );
+ nId = pMenu->GetItemId( nPos );
if( pMenu->IsItemEnabled( nId ) )
{
OUString sSlotURL( RTL_CONSTASCII_USTRINGPARAM( "slot:" ));
sSlotURL += OUString::valueOf( sal_Int32( nId ));
-
+
Image aImage( GetImage( xFrame, sSlotURL, false, bHighContrast ) );
if( !!aImage )
pMenu->SetItemImage( nId, aImage );
@@ -1092,10 +1092,10 @@ void AnnotationManagerImpl::ExecuteAnnotationContextMenu( Reference< XAnnotation
}
case SID_DELETEALL_POSTIT:
pDispatcher->Execute( SID_DELETEALL_POSTIT );
- break;
+ break;
case SID_COPY:
case SID_PASTE:
- case SID_ATTR_CHAR_WEIGHT:
+ case SID_ATTR_CHAR_WEIGHT:
case SID_ATTR_CHAR_POSTURE:
case SID_ATTR_CHAR_UNDERLINE:
case SID_ATTR_CHAR_STRIKEOUT:
@@ -1112,9 +1112,9 @@ Color AnnotationManagerImpl::GetColor(sal_uInt16 aAuthorIndex)
if (!Application::GetSettings().GetStyleSettings().GetHighContrastMode())
{
static const Color aArrayNormal[] = {
- COL_AUTHOR1_NORMAL, COL_AUTHOR2_NORMAL, COL_AUTHOR3_NORMAL,
- COL_AUTHOR4_NORMAL, COL_AUTHOR5_NORMAL, COL_AUTHOR6_NORMAL,
- COL_AUTHOR7_NORMAL, COL_AUTHOR8_NORMAL, COL_AUTHOR9_NORMAL };
+ COL_AUTHOR1_NORMAL, COL_AUTHOR2_NORMAL, COL_AUTHOR3_NORMAL,
+ COL_AUTHOR4_NORMAL, COL_AUTHOR5_NORMAL, COL_AUTHOR6_NORMAL,
+ COL_AUTHOR7_NORMAL, COL_AUTHOR8_NORMAL, COL_AUTHOR9_NORMAL };
return Color( aArrayNormal[ aAuthorIndex % (SAL_N_ELEMENTS(aArrayNormal))]);
}
@@ -1127,9 +1127,9 @@ Color AnnotationManagerImpl::GetColorLight(sal_uInt16 aAuthorIndex)
if (!Application::GetSettings().GetStyleSettings().GetHighContrastMode())
{
static const Color aArrayLight[] = {
- COL_AUTHOR1_LIGHT, COL_AUTHOR2_LIGHT, COL_AUTHOR3_LIGHT,
- COL_AUTHOR4_LIGHT, COL_AUTHOR5_LIGHT, COL_AUTHOR6_LIGHT,
- COL_AUTHOR7_LIGHT, COL_AUTHOR8_LIGHT, COL_AUTHOR9_LIGHT };
+ COL_AUTHOR1_LIGHT, COL_AUTHOR2_LIGHT, COL_AUTHOR3_LIGHT,
+ COL_AUTHOR4_LIGHT, COL_AUTHOR5_LIGHT, COL_AUTHOR6_LIGHT,
+ COL_AUTHOR7_LIGHT, COL_AUTHOR8_LIGHT, COL_AUTHOR9_LIGHT };
return Color( aArrayLight[ aAuthorIndex % (SAL_N_ELEMENTS(aArrayLight))]);
}
@@ -1142,9 +1142,9 @@ Color AnnotationManagerImpl::GetColorDark(sal_uInt16 aAuthorIndex)
if (!Application::GetSettings().GetStyleSettings().GetHighContrastMode())
{
static const Color aArrayAnkor[] = {
- COL_AUTHOR1_DARK, COL_AUTHOR2_DARK, COL_AUTHOR3_DARK,
- COL_AUTHOR4_DARK, COL_AUTHOR5_DARK, COL_AUTHOR6_DARK,
- COL_AUTHOR7_DARK, COL_AUTHOR8_DARK, COL_AUTHOR9_DARK };
+ COL_AUTHOR1_DARK, COL_AUTHOR2_DARK, COL_AUTHOR3_DARK,
+ COL_AUTHOR4_DARK, COL_AUTHOR5_DARK, COL_AUTHOR6_DARK,
+ COL_AUTHOR7_DARK, COL_AUTHOR8_DARK, COL_AUTHOR9_DARK };
return Color( aArrayAnkor[ aAuthorIndex % (SAL_N_ELEMENTS(aArrayAnkor))]);
}
@@ -1156,14 +1156,14 @@ SdPage* AnnotationManagerImpl::GetNextPage( SdPage* pPage, bool bForeward )
{
if( pPage == 0 )
return bForeward ? GetFirstPage() : GetLastPage();
-
+
sal_uInt16 nPageNum = (pPage->GetPageNum() - 1) >> 1;
// first all non master pages
if( !pPage->IsMasterPage() )
{
if( bForeward )
- {
+ {
if( nPageNum >= mpDoc->GetSdPageCount(PK_STANDARD)-1 )
{
// we reached end of draw pages, start with master pages (skip handout master for draw)
@@ -1175,15 +1175,15 @@ SdPage* AnnotationManagerImpl::GetNextPage( SdPage* pPage, bool bForeward )
{
if( nPageNum == 0 )
return 0; // we are already on the first draw page, finished
-
- nPageNum--;
+
+ nPageNum--;
}
return mpDoc->GetSdPage(nPageNum, PK_STANDARD);
}
else
{
if( bForeward )
- {
+ {
if( nPageNum >= mpDoc->GetMasterSdPageCount(PK_STANDARD)-1 )
{
return 0; // we reached the end, there is nothing more to see here
@@ -1196,12 +1196,12 @@ SdPage* AnnotationManagerImpl::GetNextPage( SdPage* pPage, bool bForeward )
{
// we reached beginning of master pages, start with end if pages
return mpDoc->GetSdPage( mpDoc->GetSdPageCount(PK_STANDARD)-1, PK_STANDARD );
- }
-
- nPageNum--;
+ }
+
+ nPageNum--;
}
return mpDoc->GetMasterSdPage(nPageNum,PK_STANDARD);
- }
+ }
}
SdPage* AnnotationManagerImpl::GetFirstPage()
diff --git a/sd/source/ui/annotations/annotationmanagerimpl.hxx b/sd/source/ui/annotations/annotationmanagerimpl.hxx
index cf0cd20a9163..01a6cd6b3586 100644
--- a/sd/source/ui/annotations/annotationmanagerimpl.hxx
+++ b/sd/source/ui/annotations/annotationmanagerimpl.hxx
@@ -2,7 +2,7 @@
/*************************************************************************
*
* 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
@@ -50,34 +50,34 @@ typedef std::vector< rtl::Reference< AnnotationTag > > AnnotationTagVector;
namespace tools {
class EventMultiplexerEvent;
-}
+}
typedef ::cppu::WeakComponentImplHelper1 <
com::sun::star::document::XEventListener
> AnnotationManagerImplBase;
-
+
class AnnotationManagerImpl : private ::cppu::BaseMutex, public AnnotationManagerImplBase
{
public:
AnnotationManagerImpl( ViewShellBase& rViewShellBase );
-
+
void init();
// WeakComponentImplHelper1
virtual void SAL_CALL disposing ();
-
+
// XEventListener
virtual void SAL_CALL notifyEvent( const ::com::sun::star::document::EventObject& Event ) throw (::com::sun::star::uno::RuntimeException);
virtual void SAL_CALL disposing( const ::com::sun::star::lang::EventObject& Source ) throw (::com::sun::star::uno::RuntimeException);
- //
+ //
void ExecuteAnnotation (SfxRequest& rRequest);
void GetAnnotationState (SfxItemSet& rItemSet);
-
+
void ExecuteInsertAnnotation(SfxRequest& rReq);
- void ExecuteDeleteAnnotation(SfxRequest& rReq);
+ void ExecuteDeleteAnnotation(SfxRequest& rReq);
void ExecuteReplyToAnnotation(SfxRequest& rReq);
-
+
void SelectNextAnnotation(bool bForeward);
void SelectAnnotation( ::com::sun::star::uno::Reference< ::com::sun::star::office::XAnnotation > xAnnotation, bool bEdit = FALSE );
@@ -89,16 +89,16 @@ public:
void DeleteAllAnnotations();
void ExecuteAnnotationContextMenu( ::com::sun::star::uno::Reference< ::com::sun::star::office::XAnnotation > xAnnotation, ::Window* pParent, const Rectangle& rContextRect, bool bButtonMenu = false );
-
+
Color GetColorDark(sal_uInt16 aAuthorIndex);
Color GetColorLight(sal_uInt16 aAuthorIndex);
Color GetColor(sal_uInt16 aAuthorIndex);
-
+
// callbacks
- void onTagSelected( AnnotationTag& rTag );
+ void onTagSelected( AnnotationTag& rTag );
void onTagDeselected( AnnotationTag& rTag );
-
+
void onSelectionChanged();
void addListener();
@@ -116,18 +116,18 @@ public:
SdPage* GetNextPage( SdPage* pPage, bool bForeward );
SdPage* GetFirstPage();
SdPage* GetLastPage();
-
+
SdPage* GetCurrentPage();
SdDrawDocument* GetDoc() { return mpDoc; }
-
+
void ShowAnnotations(bool bShow);
-
+
private:
ViewShellBase& mrBase;
SdDrawDocument* mpDoc;
-
- AnnotationTagVector maTagVector;
+
+ AnnotationTagVector maTagVector;
::com::sun::star::uno::Reference< ::com::sun::star::drawing::XDrawView > mxView;
::com::sun::star::uno::Reference< ::com::sun::star::office::XAnnotationAccess > mxCurrentPage;
diff --git a/sd/source/ui/annotations/annotations.hrc b/sd/source/ui/annotations/annotations.hrc
index d2969f91be41..c3f82ea3d271 100644
--- a/sd/source/ui/annotations/annotations.hrc
+++ b/sd/source/ui/annotations/annotations.hrc
@@ -1,7 +1,7 @@
/*************************************************************************
*
* 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
@@ -31,35 +31,35 @@
#include "glob.hrc"
// strings
-#define STR_ANNOTATION_TODAY (RID_ANNOTATIONS_START+1)
-#define STR_ANNOTATION_YESTERDAY (RID_ANNOTATIONS_START+2)
-#define STR_ANNOTATION_NOAUTHOR (RID_ANNOTATIONS_START+3)
-#define STR_ANNOTATION_WRAP_FORWARD (RID_ANNOTATIONS_START+4)
-#define STR_ANNOTATION_WRAP_BACKWARD (RID_ANNOTATIONS_START+5)
-#define STR_ANNOTATION_WRAP_FORWARD_DRAW (RID_ANNOTATIONS_START+6)
-#define STR_ANNOTATION_WRAP_BACKWARD_DRAW (RID_ANNOTATIONS_START+7)
-#define STR_ANNOTATION_UNDO_INSERT (RID_ANNOTATIONS_START+8)
-#define STR_ANNOTATION_UNDO_DELETE (RID_ANNOTATIONS_START+9)
-#define STR_ANNOTATION_UNDO_MOVE (RID_ANNOTATIONS_START+10)
-#define STR_ANNOTATION_UNDO_EDIT (RID_ANNOTATIONS_START+11)
-#define STR_ANNOTATION_UNDO_REPLY (RID_ANNOTATIONS_START+12)
-#define STR_ANNOTATION_REPLY (RID_ANNOTATIONS_START+13)
+#define STR_ANNOTATION_TODAY (RID_ANNOTATIONS_START+1)
+#define STR_ANNOTATION_YESTERDAY (RID_ANNOTATIONS_START+2)
+#define STR_ANNOTATION_NOAUTHOR (RID_ANNOTATIONS_START+3)
+#define STR_ANNOTATION_WRAP_FORWARD (RID_ANNOTATIONS_START+4)
+#define STR_ANNOTATION_WRAP_BACKWARD (RID_ANNOTATIONS_START+5)
+#define STR_ANNOTATION_WRAP_FORWARD_DRAW (RID_ANNOTATIONS_START+6)
+#define STR_ANNOTATION_WRAP_BACKWARD_DRAW (RID_ANNOTATIONS_START+7)
+#define STR_ANNOTATION_UNDO_INSERT (RID_ANNOTATIONS_START+8)
+#define STR_ANNOTATION_UNDO_DELETE (RID_ANNOTATIONS_START+9)
+#define STR_ANNOTATION_UNDO_MOVE (RID_ANNOTATIONS_START+10)
+#define STR_ANNOTATION_UNDO_EDIT (RID_ANNOTATIONS_START+11)
+#define STR_ANNOTATION_UNDO_REPLY (RID_ANNOTATIONS_START+12)
+#define STR_ANNOTATION_REPLY (RID_ANNOTATIONS_START+13)
// menus
-#define RID_ANNOTATION_CONTEXTMENU (RID_ANNOTATIONS_START+0)
-#define RID_ANNOTATION_TAG_CONTEXTMENU (RID_ANNOTATIONS_START+1)
+#define RID_ANNOTATION_CONTEXTMENU (RID_ANNOTATIONS_START+0)
+#define RID_ANNOTATION_TAG_CONTEXTMENU (RID_ANNOTATIONS_START+1)
-#define BTN_NEW 1
-#define BTN_DELETE 2
-#define BTN_NEXT 3
-#define BTN_PREV 4
+#define BTN_NEW 1
+#define BTN_DELETE 2
+#define BTN_NEXT 3
+#define BTN_PREV 4
-#define TBX_TOOLBAR 1
-#define FT_AUTHOR 1
-#define ED_AUTHOR 2
-#define FT_DATE 3
-#define ED_DATE 4
+#define TBX_TOOLBAR 1
+#define FT_AUTHOR 1
+#define ED_AUTHOR 2
+#define FT_DATE 3
+#define ED_DATE 4
-#define CT_TEXT 5
+#define CT_TEXT 5
#endif // _SD_ANNOTATIONPANE_HRC
diff --git a/sd/source/ui/annotations/annotations.src b/sd/source/ui/annotations/annotations.src
index 0ca43731d6b0..369bd02a46ae 100644
--- a/sd/source/ui/annotations/annotations.src
+++ b/sd/source/ui/annotations/annotations.src
@@ -1,7 +1,7 @@
/*************************************************************************
*
* 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
@@ -70,7 +70,7 @@ Menu RID_ANNOTATION_CONTEXTMENU
MenuItem
{
Separator = TRUE;
- };
+ };
MenuItem
{
Identifier = SID_COPY ;
@@ -121,7 +121,7 @@ Menu RID_ANNOTATION_TAG_CONTEXTMENU
MenuItem
{
Separator = TRUE;
- };
+ };
MenuItem
{
Identifier = SID_DELETE_POSTIT ;
diff --git a/sd/source/ui/annotations/annotationtag.cxx b/sd/source/ui/annotations/annotationtag.cxx
index 94ac807ece4d..586a25d48fcc 100644
--- a/sd/source/ui/annotations/annotationtag.cxx
+++ b/sd/source/ui/annotations/annotationtag.cxx
@@ -2,7 +2,7 @@
/*************************************************************************
*
* 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
@@ -91,7 +91,7 @@ static OUString getInitials( const OUString& rName )
// take letter
if( nLength )
{
- sInitials += OUString( *pStr );
+ sInitials += OUString( *pStr );
nLength--; pStr++;
}
@@ -143,10 +143,10 @@ bool AnnotationDragMove::BeginSdrDrag()
void AnnotationDragMove::MoveSdrDrag(const Point& rNoSnapPnt)
{
Point aPnt(rNoSnapPnt);
-
- if (DragStat().CheckMinMoved(rNoSnapPnt))
+
+ if (DragStat().CheckMinMoved(rNoSnapPnt))
{
- if (aPnt!=DragStat().GetNow())
+ if (aPnt!=DragStat().GetNow())
{
Hide();
DragStat().NextMove(aPnt);
@@ -213,12 +213,12 @@ void AnnotationHdl::CreateB2dIAObject()
if( mxAnnotation.is() )
{
const StyleSettings& rStyleSettings = Application::GetSettings().GetStyleSettings();
-
+
const Point aTagPos( GetPos() );
basegfx::B2DPoint aPosition( aTagPos.X(), aTagPos.Y() );
const bool bFocused = IsFocusHdl() && pHdlList && (pHdlList->GetFocusHdl() == this);
-
+
BitmapEx aBitmapEx( mxTag->CreateAnnotationBitmap(mxTag->isSelected()) );
BitmapEx aBitmapEx2;
if( bFocused )
@@ -250,18 +250,18 @@ void AnnotationHdl::CreateB2dIAObject()
const sal_uInt32 nBlinkTime = sal::static_int_cast<sal_uInt32>(rStyleSettings.GetCursorBlinkTime());
pOverlayObject = new ::sdr::overlay::OverlayAnimatedBitmapEx(aPosition, aBitmapEx, aBitmapEx2, nBlinkTime, 0, 0, 0, 0 );
-/*
- (UINT16)(aBitmapEx.GetSizePixel().Width() - 1) >> 1,
+/*
+ (UINT16)(aBitmapEx.GetSizePixel().Width() - 1) >> 1,
(UINT16)(aBitmapEx.GetSizePixel().Height() - 1) >> 1,
- (UINT16)(aBitmapEx2.GetSizePixel().Width() - 1) >> 1,
+ (UINT16)(aBitmapEx2.GetSizePixel().Width() - 1) >> 1,
(UINT16)(aBitmapEx2.GetSizePixel().Height() - 1) >> 1);
-*/
+*/
}
else
{
pOverlayObject = new ::sdr::overlay::OverlayBitmapEx( aPosition, aBitmapEx, 0, 0 );
}
-
+
rPageWindow.GetOverlayManager()->add(*pOverlayObject);
maOverlayGroup.append(*pOverlayObject);
}
@@ -351,21 +351,21 @@ bool AnnotationTag::MouseButtonDown( const MouseEvent& rMEvt, SmartHdl& /*rHdl*/
}
else */
if( rMEvt.IsLeft() && !rMEvt.IsRight() )
- {
+ {
Window* pWindow = mrView.GetViewShell()->GetActiveWindow();
if( pWindow )
{
maMouseDownPos = pWindow->PixelToLogic( rMEvt.GetPosPixel() );
-
+
if( mpListenWindow )
mpListenWindow->RemoveEventListener( LINK(this, AnnotationTag, WindowEventHandler));
-
+
mpListenWindow = pWindow;
- mpListenWindow->AddEventListener( LINK(this, AnnotationTag, WindowEventHandler));
+ mpListenWindow->AddEventListener( LINK(this, AnnotationTag, WindowEventHandler));
}
bRet = true;
- }
+ }
return bRet;
}
@@ -418,40 +418,40 @@ bool AnnotationTag::RequestHelp( const HelpEvent& /*rHEvt*/ )
/*
::Window* pWindow = mrView.GetViewShell()->GetActiveWindow();
if( mxAnnotation.is() && pWindow )
- {
+ {
OUString aHelpText( mrManager.GetHelpText( mxAnnotation ) );
RealPoint2D aPosition( mxAnnotation->getPosition() );
Point aPos( pWindow->LogicToPixel( Point( static_cast<long>(aPosition.X * 100.0), static_cast<long>(aPosition.Y * 100.0) ) ) );
- Rectangle aRect( aPos, maSize );
+ Rectangle aRect( aPos, maSize );
if (Help::IsBalloonHelpEnabled())
Help::ShowBalloon( pWindow, aPos, aRect, aHelpText);
else if (Help::IsQuickHelpEnabled())
Help::ShowQuickHelp( pWindow, aRect, aHelpText);
-
+
return true;
}
-*/
- return false;
+*/
+ return false;
}
/** returns true if the SmartTag consumes this event. */
bool AnnotationTag::Command( const CommandEvent& rCEvt )
{
if ( rCEvt.GetCommand() == COMMAND_CONTEXTMENU )
- {
+ {
::Window* pWindow = mrView.GetViewShell()->GetActiveWindow();
if( pWindow )
{
Rectangle aContextRect(rCEvt.GetMousePosPixel(),Size(1,1));
- mrManager.ExecuteAnnotationContextMenu( mxAnnotation, pWindow, aContextRect );
+ mrManager.ExecuteAnnotationContextMenu( mxAnnotation, pWindow, aContextRect );
return true;
}
}
-
- return false;
+
+ return false;
}
void AnnotationTag::Move( int nDX, int nDY )
@@ -460,7 +460,7 @@ void AnnotationTag::Move( int nDX, int nDY )
{
if( mrManager.GetDoc()->IsUndoEnabled() )
mrManager.GetDoc()->BegUndo( String( SdResId( STR_ANNOTATION_UNDO_MOVE ) ) );
-
+
RealPoint2D aPosition( mxAnnotation->getPosition() );
aPosition.X += (double)nDX / 100.0;
aPosition.Y += (double)nDY / 100.0;
@@ -480,10 +480,10 @@ bool AnnotationTag::OnMove( const KeyEvent& rKEvt )
switch( rKEvt.GetKeyCode().GetCode() )
{
- case KEY_UP: nY = -1; break;
- case KEY_DOWN: nY = 1; break;
- case KEY_LEFT: nX = -1; break;
- case KEY_RIGHT: nX = 1; break;
+ case KEY_UP: nY = -1; break;
+ case KEY_DOWN: nY = 1; break;
+ case KEY_LEFT: nX = -1; break;
+ case KEY_RIGHT: nX = 1; break;
default: break;
}
@@ -598,15 +598,15 @@ void AnnotationTag::disposing()
void AnnotationTag::select()
{
SmartTag::select();
-
+
mrManager.onTagSelected( *this );
-
+
Window* pWindow = mrView.GetViewShell()->GetActiveWindow();
if( pWindow )
{
RealPoint2D aPosition( mxAnnotation->getPosition() );
Point aPos( static_cast<long>(aPosition.X * 100.0), static_cast<long>(aPosition.Y * 100.0) );
-
+
Rectangle aVisRect( aPos, pWindow->PixelToLogic(maSize) );
mrView.MakeVisible(aVisRect, *pWindow);
}
@@ -618,7 +618,7 @@ void AnnotationTag::deselect()
{
SmartTag::deselect();
- ClosePopup();
+ ClosePopup();
mrManager.onTagDeselected( *this );
}
@@ -675,37 +675,37 @@ void AnnotationTag::OpenPopup( bool bEdit )
{
if( !mxAnnotation.is() )
return;
-
+
if( !mpAnnotationWindow.get() )
- {
+ {
::Window* pWindow = dynamic_cast< ::Window* >( getView().GetFirstOutputDevice() );
if( pWindow )
{
RealPoint2D aPosition( mxAnnotation->getPosition() );
Point aPos( pWindow->OutputToScreenPixel( pWindow->LogicToPixel( Point( static_cast<long>(aPosition.X * 100.0), static_cast<long>(aPosition.Y * 100.0) ) ) ) );
-
+
aPos.X() += 4; // magic!
aPos.Y() += 1;
-
+
Rectangle aRect( aPos, maSize );
- mpAnnotationWindow.reset( new AnnotationWindow( mrManager, mrView.GetDocSh(), pWindow->GetWindow(WINDOW_FRAME) ) );
+ mpAnnotationWindow.reset( new AnnotationWindow( mrManager, mrView.GetDocSh(), pWindow->GetWindow(WINDOW_FRAME) ) );
mpAnnotationWindow->InitControls();
mpAnnotationWindow->setAnnotation(mxAnnotation);
-
+
USHORT nArrangeIndex = 0;
Point aPopupPos( FloatingWindow::CalcFloatingPosition( mpAnnotationWindow.get(), aRect, FLOATWIN_POPUPMODE_RIGHT, nArrangeIndex ) );
Size aPopupSize( 320, 240 );
mpAnnotationWindow->SetPosSizePixel( aPopupPos, aPopupSize );
mpAnnotationWindow->DoResize();
-
+
mpAnnotationWindow->Show();
mpAnnotationWindow->GrabFocus();
mpAnnotationWindow->AddEventListener( LINK(this, AnnotationTag, WindowEventHandler));
}
}
-
+
if( bEdit && mpAnnotationWindow.get() )
mpAnnotationWindow->StartEdit();
}
@@ -725,7 +725,7 @@ IMPL_LINK(AnnotationTag, WindowEventHandler, VclWindowEvent*, pEvent)
if( pEvent != NULL )
{
::Window* pWindow = pEvent->GetWindow();
-
+
if( pWindow )
{
if( pWindow == mpAnnotationWindow.get() )
@@ -734,7 +734,7 @@ IMPL_LINK(AnnotationTag, WindowEventHandler, VclWindowEvent*, pEvent)
{
if( mnClosePopupEvent )
Application::RemoveUserEvent( mnClosePopupEvent );
-
+
mnClosePopupEvent = Application::PostUserEvent( LINK( this, AnnotationTag, ClosePopupHdl ) );
}
}
@@ -755,16 +755,16 @@ IMPL_LINK(AnnotationTag, WindowEventHandler, VclWindowEvent*, pEvent)
{
// if we move the mouse after a button down we wan't to start draging
mpListenWindow->RemoveEventListener( LINK(this, AnnotationTag, WindowEventHandler));
- mpListenWindow = 0;
+ mpListenWindow = 0;
SdrHdl* pHdl = mrView.PickHandle(maMouseDownPos);
if( pHdl )
{
mrView.BrkAction();
const USHORT nDrgLog = (USHORT)pWindow->PixelToLogic(Size(DRGPIX,0)).Width();
-
+
rtl::Reference< AnnotationTag > xTag( this );
-
+
SdrDragMethod* pDragMethod = new AnnotationDragMove( mrView, xTag );
mrView.BegDragObj(maMouseDownPos, NULL, pHdl, nDrgLog, pDragMethod );
}
@@ -773,7 +773,7 @@ IMPL_LINK(AnnotationTag, WindowEventHandler, VclWindowEvent*, pEvent)
case VCLEVENT_OBJECT_DYING:
mpListenWindow = 0;
break;
- }
+ }
}
}
}
diff --git a/sd/source/ui/annotations/annotationtag.hxx b/sd/source/ui/annotations/annotationtag.hxx
index e37ae2057d3f..5f2e2ba89f71 100644
--- a/sd/source/ui/annotations/annotationtag.hxx
+++ b/sd/source/ui/annotations/annotationtag.hxx
@@ -2,7 +2,7 @@
/*************************************************************************
*
* 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
@@ -78,7 +78,7 @@ public:
void OpenPopup( bool bEdit );
void ClosePopup();
-
+
protected:
virtual void addCustomHandles( SdrHdlList& rHandlerList );
virtual bool getContext( SdrViewContext& rContext );
@@ -88,14 +88,14 @@ protected:
DECL_LINK( WindowEventHandler, VclWindowEvent* );
DECL_LINK( ClosePopupHdl, void* );
-
+
private:
AnnotationManagerImpl& mrManager;
css::uno::Reference< css::office::XAnnotation > mxAnnotation;
std::auto_ptr<AnnotationWindow> mpAnnotationWindow;
- Color maColor;
- int mnIndex;
- const Font& mrFont;
+ Color maColor;
+ int mnIndex;
+ const Font& mrFont;
Size maSize;
ULONG mnClosePopupEvent;
::Window* mpListenWindow;
@@ -104,6 +104,6 @@ private:
} // end of namespace sd
-#endif // _SD_ANNOTATIONTAG_HXX_
+#endif // _SD_ANNOTATIONTAG_HXX_
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/sd/source/ui/annotations/annotationwindow.cxx b/sd/source/ui/annotations/annotationwindow.cxx
index 182960a01d2a..7295e7187be2 100644
--- a/sd/source/ui/annotations/annotationwindow.cxx
+++ b/sd/source/ui/annotations/annotationwindow.cxx
@@ -2,7 +2,7 @@
/************************************************************************* *
*
* 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
@@ -77,7 +77,7 @@
#include <vcl/button.hxx>
#include <vcl/svapp.hxx>
#include <vcl/gradient.hxx>
-#include <vcl/salbtype.hxx> // FRound
+#include <vcl/salbtype.hxx> // FRound
#include <vcl/cursor.hxx>
#include <basegfx/matrix/b2dhommatrix.hxx>
@@ -102,12 +102,12 @@ using namespace ::com::sun::star::uno;
using namespace ::com::sun::star::office;
using namespace ::com::sun::star::text;
-#define METABUTTON_WIDTH 16
-#define METABUTTON_HEIGHT 18
-#define METABUTTON_AREA_WIDTH 30
-#define POSTIT_META_HEIGHT (sal_Int32) 30
+#define METABUTTON_WIDTH 16
+#define METABUTTON_HEIGHT 18
+#define METABUTTON_AREA_WIDTH 30
+#define POSTIT_META_HEIGHT (sal_Int32) 30
-#define EMPTYSTRING rtl::OUString(RTL_CONSTASCII_USTRINGPARAM(""))
+#define EMPTYSTRING rtl::OUString(RTL_CONSTASCII_USTRINGPARAM(""))
namespace sd {
@@ -117,9 +117,9 @@ extern com::sun::star::util::DateTime getCurrentDateTime();
Color ColorFromAlphaColor(UINT8 aTransparency, Color &aFront, Color &aBack )
{
- return Color((UINT8)(aFront.GetRed() * aTransparency/(double)255 + aBack.GetRed() * (1-aTransparency/(double)255)),
- (UINT8)(aFront.GetGreen() * aTransparency/(double)255 + aBack.GetGreen() * (1-aTransparency/(double)255)),
- (UINT8)(aFront.GetBlue() * aTransparency/(double)255 + aBack.GetBlue() * (1-aTransparency/(double)255)));
+ return Color((UINT8)(aFront.GetRed() * aTransparency/(double)255 + aBack.GetRed() * (1-aTransparency/(double)255)),
+ (UINT8)(aFront.GetGreen() * aTransparency/(double)255 + aBack.GetGreen() * (1-aTransparency/(double)255)),
+ (UINT8)(aFront.GetBlue() * aTransparency/(double)255 + aBack.GetBlue() * (1-aTransparency/(double)255)));
}
/************ AnnotationTextWindow **********************************/
@@ -324,8 +324,8 @@ void AnnotationWindow::InitControls()
mpMeta->AlwaysDisableInput(true);
mpMeta->SetCallHandlersOnInputDisabled(true);
-// mpMeta->AddEventListener( LINK( mpPostItTxt, PostItTxt, WindowEventListener ) );
-// AddEventListener( LINK( mpTextWindow, PostItTxt, WindowEventListener ) );
+// mpMeta->AddEventListener( LINK( mpPostItTxt, PostItTxt, WindowEventListener ) );
+// AddEventListener( LINK( mpTextWindow, PostItTxt, WindowEventListener ) );
// we should leave this setting alone, but for this we need a better layout algo
// with variable meta size height
@@ -353,9 +353,9 @@ void AnnotationWindow::InitControls()
mpTextWindow->SetOutlinerView(mpOutlinerView);
mpOutlinerView->SetOutputArea( PixelToLogic( Rectangle(0,0,1,1) ) );
-// SfxItemSet item(DocShell()->GetPool());
-// item.Put(SvxFontHeightItem(352,100,EE_CHAR_FONTHEIGHT));
-// mpOutlinerView->SetAttribs(item);
+// SfxItemSet item(DocShell()->GetPool());
+// item.Put(SvxFontHeightItem(352,100,EE_CHAR_FONTHEIGHT));
+// mpOutlinerView->SetAttribs(item);
// TODO: ??
EEHorizontalTextDirection aDefHoriTextDir = Application::GetSettings().GetLayoutRTL() ? EE_HTEXTDIR_R2L : EE_HTEXTDIR_L2R;
@@ -367,7 +367,7 @@ void AnnotationWindow::InitControls()
mpVScrollbar->EnableRTL( false );
mpVScrollbar->SetScrollHdl(LINK(this, AnnotationWindow, ScrollHdl));
mpVScrollbar->EnableDrag();
-// mpVScrollbar->AddEventListener( LINK( this, AnnotationWindow, WindowEventListener ) );
+// mpVScrollbar->AddEventListener( LINK( this, AnnotationWindow, WindowEventListener ) );
ULONG nCntrl = mpOutliner->GetControlWord();
nCntrl |= EE_CNTRL_PASTESPECIAL | EE_CNTRL_AUTOCORRECT | EV_CNTRL_AUTOSCROLL | EE_CNTRL_NOCOLORS;
@@ -382,7 +382,7 @@ void AnnotationWindow::InitControls()
nCntrl &= ~EE_CNTRL_ONLINESPELLING;
*/
mpOutliner->SetControlWord(nCntrl);
-// mpOutliner->SetFlatMode( TRUE );
+// mpOutliner->SetFlatMode( TRUE );
Engine()->SetModifyHdl( Link() );
Engine()->EnableUndo( FALSE );
@@ -428,14 +428,14 @@ void AnnotationWindow::Rescale()
void AnnotationWindow::DoResize()
{
- unsigned long aWidth = GetSizePixel().Width();
- long aHeight = GetSizePixel().Height() - POSTIT_META_HEIGHT;
+ unsigned long aWidth = GetSizePixel().Width();
+ long aHeight = GetSizePixel().Height() - POSTIT_META_HEIGHT;
mpOutliner->SetPaperSize( PixelToLogic( Size(aWidth,aHeight) ) ) ;
- long aTextHeight = LogicToPixel( mpOutliner->CalcTextSize()).Height();
+ long aTextHeight = LogicToPixel( mpOutliner->CalcTextSize()).Height();
if( aTextHeight > aHeight )
- { // we need vertical scrollbars and have to reduce the width
+ { // we need vertical scrollbars and have to reduce the width
aWidth -= GetScrollbarWidth();
mpVScrollbar->Show();
}
@@ -454,7 +454,7 @@ void AnnotationWindow::DoResize()
mpOutliner->SetPaperSize( PixelToLogic( Size(aWidth,aHeight) ) ) ;
mpOutlinerView->SetOutputArea( PixelToLogic( Rectangle(0,0,aWidth,aHeight) ) );
if (!mpVScrollbar->IsVisible())
- { // if we do not have a scrollbar anymore, we want to see the complete text
+ { // if we do not have a scrollbar anymore, we want to see the complete text
mpOutlinerView->SetVisArea( PixelToLogic( Rectangle(0,0,aWidth,aHeight) ) );
}
mpVScrollbar->SetPosSizePixel( 0 + aWidth, 0, GetScrollbarWidth(), aHeight );
@@ -552,7 +552,7 @@ IMPL_LINK(AnnotationWindow, ModifyHdl, void*, EMPTYARG)
sal_Int32 AnnotationWindow::GetScrollbarWidth()
{
return 16;
-// return mpView->GetWrtShell().GetViewOptions()->GetZoom() / 10;
+// return mpView->GetWrtShell().GetViewOptions()->GetZoom() / 10;
}
SvxLanguageItem AnnotationWindow::GetLanguage(void)
diff --git a/sd/source/ui/annotations/annotationwindow.hxx b/sd/source/ui/annotations/annotationwindow.hxx
index 33efb1e3c2fc..ab13eaa82fb4 100644
--- a/sd/source/ui/annotations/annotationwindow.hxx
+++ b/sd/source/ui/annotations/annotationwindow.hxx
@@ -2,7 +2,7 @@
/*************************************************************************
*
* 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
@@ -63,28 +63,28 @@ class View;
class AnnotationTextWindow : public Control
{
private:
- OutlinerView* mpOutlinerView;
- AnnotationWindow* mpAnnotationWindow;
+ OutlinerView* mpOutlinerView;
+ AnnotationWindow* mpAnnotationWindow;
protected:
- virtual void Paint( const Rectangle& rRect);
- virtual void KeyInput( const KeyEvent& rKeyEvt );
- virtual void MouseMove( const MouseEvent& rMEvt );
- virtual void MouseButtonDown( const MouseEvent& rMEvt );
- virtual void MouseButtonUp( const MouseEvent& rMEvt );
- virtual void Command( const CommandEvent& rCEvt );
- virtual void LoseFocus();
+ virtual void Paint( const Rectangle& rRect);
+ virtual void KeyInput( const KeyEvent& rKeyEvt );
+ virtual void MouseMove( const MouseEvent& rMEvt );
+ virtual void MouseButtonDown( const MouseEvent& rMEvt );
+ virtual void MouseButtonUp( const MouseEvent& rMEvt );
+ virtual void Command( const CommandEvent& rCEvt );
+ virtual void LoseFocus();
public:
AnnotationTextWindow( AnnotationWindow* pParent, WinBits nBits );
~AnnotationTextWindow();
void SetOutlinerView( OutlinerView* pOutlinerView ) { mpOutlinerView = pOutlinerView; }
-
+
virtual XubString GetSurroundingText() const;
virtual Selection GetSurroundingTextSelection() const;
- virtual void GetFocus();
+ virtual void GetFocus();
};
@@ -92,24 +92,24 @@ class AnnotationWindow : public FloatingWindow
{
private:
AnnotationManagerImpl& mrManager;
- DrawDocShell* mpDocShell;
- View* mpView;
- SdDrawDocument* mpDoc;
+ DrawDocShell* mpDocShell;
+ View* mpView;
+ SdDrawDocument* mpDoc;
- OutlinerView* mpOutlinerView;
- Outliner* mpOutliner;
- ScrollBar* mpVScrollbar;
+ OutlinerView* mpOutlinerView;
+ Outliner* mpOutliner;
+ ScrollBar* mpVScrollbar;
::com::sun::star::uno::Reference< ::com::sun::star::office::XAnnotation > mxAnnotation;
bool mbReadonly;
bool mbProtected;
bool mbMouseOverButton;
AnnotationTextWindow* mpTextWindow;
MultiLineEdit* mpMeta;
- Rectangle maRectMetaButton;
+ Rectangle maRectMetaButton;
basegfx::B2DPolygon maPopupTriangle;
- protected:
- void SetSizePixel( const Size& rNewSize );
+ protected:
+ void SetSizePixel( const Size& rNewSize );
DECL_LINK(ModifyHdl, void*);
DECL_LINK(ScrollHdl, ScrollBar*);
@@ -119,46 +119,46 @@ class AnnotationWindow : public FloatingWindow
virtual ~AnnotationWindow();
void StartEdit();
-
- virtual SvxLanguageItem GetLanguage(void);
-
+
+ virtual SvxLanguageItem GetLanguage(void);
+
void setAnnotation( const ::com::sun::star::uno::Reference< ::com::sun::star::office::XAnnotation >& xAnnotation, bool bGrabFocus = false );
const ::com::sun::star::uno::Reference< ::com::sun::star::office::XAnnotation >& getAnnotation() const { return mxAnnotation; }
void ExecuteSlot( USHORT nSID );
+
+ ScrollBar* Scrollbar() { return mpVScrollbar;}
- ScrollBar* Scrollbar() { return mpVScrollbar;}
-
- DrawDocShell* DocShell() { return mpDocShell; }
- OutlinerView* getView() { return mpOutlinerView; }
- sd::View* DocView() { return mpView; }
- Outliner* Engine() { return mpOutliner; }
- SdDrawDocument* Doc() { return mpDoc; }
+ DrawDocShell* DocShell() { return mpDocShell; }
+ OutlinerView* getView() { return mpOutlinerView; }
+ sd::View* DocView() { return mpView; }
+ Outliner* Engine() { return mpOutliner; }
+ SdDrawDocument* Doc() { return mpDoc; }
long GetPostItTextHeight();
- void InitControls();
+ void InitControls();
void HidePostIt();
void DoResize();
- void ResizeIfNeccessary(long aOldHeight, long aNewHeight);
- void SetScrollbar();
+ void ResizeIfNeccessary(long aOldHeight, long aNewHeight);
+ void SetScrollbar();
- void Rescale();
+ void Rescale();
- bool IsReadOnly() { return mbReadonly;}
+ bool IsReadOnly() { return mbReadonly;}
bool IsProtected() { return mbProtected; }
- void SetLanguage(const SvxLanguageItem aNewItem);
+ void SetLanguage(const SvxLanguageItem aNewItem);
- sal_Int32 GetScrollbarWidth();
+ sal_Int32 GetScrollbarWidth();
- void ToggleInsMode();
+ void ToggleInsMode();
DECL_LINK( OnlineSpellCallback, SpellCallbackInfo*);
-
- virtual void Deactivate();
- virtual void Paint( const Rectangle& rRect);
+
+ virtual void Deactivate();
+ virtual void Paint( const Rectangle& rRect);
virtual void MouseMove( const MouseEvent& rMEvt );
virtual void MouseButtonDown( const MouseEvent& rMEvt );
virtual void Command( const CommandEvent& rCEvt );
@@ -166,9 +166,9 @@ class AnnotationWindow : public FloatingWindow
void SetColor();
- Color maColor;
- Color maColorDark;
- Color maColorLight;
+ Color maColor;
+ Color maColorDark;
+ Color maColorLight;
};
} // namespace sd
diff --git a/sd/source/ui/app/_app.hrc b/sd/source/ui/app/_app.hrc
index 3bbaaf9f4557..7b3eaa023175 100644
--- a/sd/source/ui/app/_app.hrc
+++ b/sd/source/ui/app/_app.hrc
@@ -1,7 +1,7 @@
/*************************************************************************
*
* 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
diff --git a/sd/source/ui/app/accel_tmpl.src b/sd/source/ui/app/accel_tmpl.src
index 467c5e2ae466..5afada2dd5fc 100644
--- a/sd/source/ui/app/accel_tmpl.src
+++ b/sd/source/ui/app/accel_tmpl.src
@@ -1,7 +1,7 @@
/*************************************************************************
*
* 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
@@ -57,7 +57,7 @@ Accelerator SD_ACCELERATOR
AI_COPYOBJECTS
AI_LEAVE_GROUP
AI_ATTR_TRANSFORM
- // AI_NAVIGATOR
+ // AI_NAVIGATOR
AI_SD_NAVIGATOR
AI_SPELLING
AI_THESAURUS
diff --git a/sd/source/ui/app/accelids_tmpl.src b/sd/source/ui/app/accelids_tmpl.src
index 0a3c33c0bb38..a96008c1d862 100644
--- a/sd/source/ui/app/accelids_tmpl.src
+++ b/sd/source/ui/app/accelids_tmpl.src
@@ -1,7 +1,7 @@
/*************************************************************************
*
* 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
diff --git a/sd/source/ui/app/app.src b/sd/source/ui/app/app.src
index 94945be2c3ce..4433082781a7 100644
--- a/sd/source/ui/app/app.src
+++ b/sd/source/ui/app/app.src
@@ -1,7 +1,7 @@
/*************************************************************************
*
* 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
diff --git a/sd/source/ui/app/menu_tmpl.src b/sd/source/ui/app/menu_tmpl.src
index d4c6e2774024..24b7df31bd28 100644
--- a/sd/source/ui/app/menu_tmpl.src
+++ b/sd/source/ui/app/menu_tmpl.src
@@ -1,7 +1,7 @@
/*************************************************************************
*
* 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
@@ -31,7 +31,7 @@
#include "menuids2.src"
#endif
-#define DEFINE_SLOTID_FOR_NUMBER_BULLETS SID_OUTLINE_BULLET
+#define DEFINE_SLOTID_FOR_NUMBER_BULLETS SID_OUTLINE_BULLET
/*The application menu bar resource has become obsolete. You can now find the menu bar definition at:
diff --git a/sd/source/ui/app/menuids2_tmpl.src b/sd/source/ui/app/menuids2_tmpl.src
index 21d906bfedf0..0913a74cb585 100755
--- a/sd/source/ui/app/menuids2_tmpl.src
+++ b/sd/source/ui/app/menuids2_tmpl.src
@@ -1,7 +1,7 @@
/*************************************************************************
*
* 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
@@ -28,23 +28,23 @@
#ifndef _MENUIDS2_SRC
#define _MENUIDS2_SRC
-#define MI(x) MenuItem { x };
+#define MI(x) MenuItem { x };
#define SEPARATOR MenuItem { Separator = TRUE; };
// SubMenu-IDs
-#define MN_SUB_VIEW 91
-#define MN_SUB_TOOLBAR 92
-#define MN_SUB_GRAPHIC 93
-#define MN_SUB_SPELLING 94
-#define MN_SUB_TEMPLATES 95
-#define MN_SUB_POSITION 96
-#define MN_SUB_MASTERPAGE 97
-#define MN_SUB_SEND 98
-#define MN_SUB_FIELD 99
-#define MN_SUB_OUTPUT_QUALITY 100
-#define MN_SUB_PREVIEW_OUTPUT_QUALITY 101
-#define MN_SUB_GROUP 102
-#define MN_TEMPLATES 103
-#define MN_SUB_MASTER_LAYOUTS 104
+#define MN_SUB_VIEW 91
+#define MN_SUB_TOOLBAR 92
+#define MN_SUB_GRAPHIC 93
+#define MN_SUB_SPELLING 94
+#define MN_SUB_TEMPLATES 95
+#define MN_SUB_POSITION 96
+#define MN_SUB_MASTERPAGE 97
+#define MN_SUB_SEND 98
+#define MN_SUB_FIELD 99
+#define MN_SUB_OUTPUT_QUALITY 100
+#define MN_SUB_PREVIEW_OUTPUT_QUALITY 101
+#define MN_SUB_GROUP 102
+#define MN_TEMPLATES 103
+#define MN_SUB_MASTER_LAYOUTS 104
// Windowmenu-ID (wird in globlmn.hrc gebraucht)
#ifndef MN_WIN
@@ -113,7 +113,7 @@
HelpID = 20 ; \
Command = ".uno:EditMenu"; \
Text [ en-US ] = "~Edit" ; \
-
+
#define MN_PASTE2 \
MenuItem\
{\
@@ -169,7 +169,7 @@
HelpID = 23 ; \
Command = ".uno:ViewMenu" ; \
Text [ en-US ] = "~View" ; \
-
+
#define MN_TOGGLETOOLBAR \
MenuItem\
{\
@@ -396,7 +396,7 @@
HelpID = 21 ; \
Command = ".uno:InsertMenu" ; \
Text [ en-US ] = "~Insert" ; \
-
+
#define MN_INSERTPAGE \
MenuItem\
{\
@@ -773,7 +773,7 @@
HelpID = 24 ; \
Command = ".uno:ModifyMenu" ; \
Text [ en-US ] = "~Modify" ; \
-
+
#define MN_MOREFRONT \
MenuItem\
{\
diff --git a/sd/source/ui/app/menuids3_tmpl.src b/sd/source/ui/app/menuids3_tmpl.src
index 09a90fdc0649..a7935fe2c67c 100644
--- a/sd/source/ui/app/menuids3_tmpl.src
+++ b/sd/source/ui/app/menuids3_tmpl.src
@@ -1,7 +1,7 @@
/*************************************************************************
*
* 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
diff --git a/sd/source/ui/app/menuids4_tmpl.src b/sd/source/ui/app/menuids4_tmpl.src
index 9b077db8f22f..5cd541b0243e 100644
--- a/sd/source/ui/app/menuids4_tmpl.src
+++ b/sd/source/ui/app/menuids4_tmpl.src
@@ -1,7 +1,7 @@
/*************************************************************************
*
* 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
@@ -46,7 +46,7 @@
};\
};\
};
-#endif // _MENUIDS4_SRC
+#endif // _MENUIDS4_SRC
diff --git a/sd/source/ui/app/menuids_tmpl.src b/sd/source/ui/app/menuids_tmpl.src
index 4f05a49ad2b4..f9b1a3e980b2 100644
--- a/sd/source/ui/app/menuids_tmpl.src
+++ b/sd/source/ui/app/menuids_tmpl.src
@@ -1,7 +1,7 @@
/*************************************************************************
*
* 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
@@ -1279,7 +1279,7 @@
Identifier = DUMMY + 7 ; \
Command = ".uno:LayerMenu" ; \
Text [ en-US ] = "La~yer"; \
- SubMenu = Menu \
+ SubMenu = Menu \
{\
ItemList = \
{\
diff --git a/sd/source/ui/app/menuportal_tmpl.src b/sd/source/ui/app/menuportal_tmpl.src
index 29d7c6da1e4a..cdc1a705e011 100644
--- a/sd/source/ui/app/menuportal_tmpl.src
+++ b/sd/source/ui/app/menuportal_tmpl.src
@@ -1,7 +1,7 @@
/*************************************************************************
*
* 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
@@ -32,7 +32,7 @@
#include "menuids2.src"
#endif
-#define DEFINE_SLOTID_FOR_NUMBER_BULLETS SID_OUTLINE_BULLET
+#define DEFINE_SLOTID_FOR_NUMBER_BULLETS SID_OUTLINE_BULLET
Menu SD_MENU_PORTAL
{
@@ -297,13 +297,13 @@ Menu SD_MENU_PORTAL
MNSUB_POSITION
MNSUB_OBJECT_ALIGN
MN_DISTRIBUTE
-
+
//-#i68101#----------------------
SEPARATOR
MN_OBJECT_TITLE_DESCRIPTION
MN_NAME_GROUP
//-#i68101#----------------------
-
+
SEPARATOR
MN_GROUP
MN_UNGROUP
@@ -341,7 +341,7 @@ Menu SD_MENU_PORTAL
MN_HIDE_SLIDE
SEPARATOR
MN_ANIMATION_OBJECTS
-// MN_EFFECT_WIN
+// MN_EFFECT_WIN
MN_ANIMATION_EFFECTS
};
};
diff --git a/sd/source/ui/app/optsitem.cxx b/sd/source/ui/app/optsitem.cxx
index 6c0402aea096..e5c4cf2e70ee 100644
--- a/sd/source/ui/app/optsitem.cxx
+++ b/sd/source/ui/app/optsitem.cxx
@@ -2,7 +2,7 @@
/*************************************************************************
*
* 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
@@ -51,8 +51,8 @@ using namespace ::com::sun::star::uno;
// -----------------
SdOptionsItem::SdOptionsItem( const SdOptionsGeneric& rParent, const OUString rSubTree ) :
- ConfigItem ( rSubTree ),
- mrParent ( rParent )
+ ConfigItem ( rSubTree ),
+ mrParent ( rParent )
{
}
@@ -76,7 +76,7 @@ void SdOptionsItem::Notify( const com::sun::star::uno::Sequence<rtl::OUString>&
// -----------------------------------------------------------------------------
-Sequence< Any > SdOptionsItem::GetProperties( const Sequence< OUString >& rNames )
+Sequence< Any > SdOptionsItem::GetProperties( const Sequence< OUString >& rNames )
{
return ConfigItem::GetProperties( rNames );
}
@@ -100,10 +100,10 @@ void SdOptionsItem::SetModified()
// --------------------
SdOptionsGeneric::SdOptionsGeneric( USHORT nConfigId, const OUString& rSubTree ) :
- maSubTree ( rSubTree ),
- mpCfgItem ( NULL ),
- mnConfigId ( nConfigId ),
- mbInit ( rSubTree.getLength() == 0 )
+ maSubTree ( rSubTree ),
+ mpCfgItem ( NULL ),
+ mnConfigId ( nConfigId ),
+ mbInit ( rSubTree.getLength() == 0 )
{
}
@@ -113,13 +113,13 @@ void SdOptionsGeneric::Init() const
{
if( !mbInit )
{
- SdOptionsGeneric* pThis = const_cast<SdOptionsGeneric*>(this);
+ SdOptionsGeneric* pThis = const_cast<SdOptionsGeneric*>(this);
if( !mpCfgItem )
pThis->mpCfgItem = new SdOptionsItem( *this, maSubTree );
- const Sequence< OUString > aNames( GetPropertyNames() );
- const Sequence< Any > aValues = mpCfgItem->GetProperties( aNames );
+ const Sequence< OUString > aNames( GetPropertyNames() );
+ const Sequence< Any > aValues = mpCfgItem->GetProperties( aNames );
if( aNames.getLength() && ( aValues.getLength() == aNames.getLength() ) )
{
@@ -146,8 +146,8 @@ SdOptionsGeneric::~SdOptionsGeneric()
void SdOptionsGeneric::Commit( SdOptionsItem& rCfgItem ) const
{
- const Sequence< OUString > aNames( GetPropertyNames() );
- Sequence< Any > aValues( aNames.getLength() );
+ const Sequence< OUString > aNames( GetPropertyNames() );
+ Sequence< Any > aValues( aNames.getLength() );
if( aNames.getLength() && ( aValues.getLength() == aNames.getLength() ) )
{
@@ -164,13 +164,13 @@ void SdOptionsGeneric::Commit( SdOptionsItem& rCfgItem ) const
Sequence< OUString > SdOptionsGeneric::GetPropertyNames() const
{
- ULONG nCount;
- const char** ppPropNames;
+ ULONG nCount;
+ const char** ppPropNames;
GetPropNameArray( ppPropNames, nCount );
Sequence< OUString > aNames( nCount );
- OUString* pNames = aNames.getArray();
+ OUString* pNames = aNames.getArray();
for( ULONG i = 0; i < nCount; i++ )
pNames[ i ] = OUString::createFromAscii( ppPropNames[ i ] );
@@ -214,7 +214,7 @@ SdOptionsLayout::SdOptionsLayout( USHORT nConfigId, BOOL bUseConfig ) :
bHandlesBezier( FALSE ),
bHelplines( TRUE ),
nMetric((UINT16)(isMetricSystem() ? FUNIT_CM : FUNIT_INCH)),
- nDefTab( 1250 )
+ nDefTab( 1250 )
{
EnableModify( TRUE );
}
@@ -223,7 +223,7 @@ SdOptionsLayout::SdOptionsLayout( USHORT nConfigId, BOOL bUseConfig ) :
BOOL SdOptionsLayout::operator==( const SdOptionsLayout& rOpt ) const
{
- return( IsRulerVisible() == rOpt.IsRulerVisible() &&
+ return( IsRulerVisible() == rOpt.IsRulerVisible() &&
IsMoveOutline() == rOpt.IsMoveOutline() &&
IsDragStripes() == rOpt.IsDragStripes() &&
IsHandlesBezier() == rOpt.IsHandlesBezier() &&
@@ -303,16 +303,16 @@ BOOL SdOptionsLayout::WriteData( Any* pValues ) const
\************************************************************************/
SdOptionsLayoutItem::SdOptionsLayoutItem( USHORT _nWhich )
-: SfxPoolItem ( _nWhich )
-, maOptionsLayout ( 0, FALSE )
+: SfxPoolItem ( _nWhich )
+, maOptionsLayout ( 0, FALSE )
{
}
// ----------------------------------------------------------------------
SdOptionsLayoutItem::SdOptionsLayoutItem( USHORT _nWhich, SdOptions* pOpts, ::sd::FrameView* pView )
-: SfxPoolItem ( _nWhich )
-, maOptionsLayout ( 0, FALSE )
+: SfxPoolItem ( _nWhich )
+, maOptionsLayout ( 0, FALSE )
{
if( pOpts )
{
@@ -437,8 +437,8 @@ BOOL SdOptionsContents::WriteData( Any* pValues ) const
\************************************************************************/
SdOptionsContentsItem::SdOptionsContentsItem(USHORT _nWhich, SdOptions*, ::sd::FrameView*)
-: SfxPoolItem ( _nWhich )
-, maOptionsContents ( 0, FALSE )
+: SfxPoolItem ( _nWhich )
+, maOptionsContents ( 0, FALSE )
{
}
@@ -513,7 +513,7 @@ SdOptionsMisc::SdOptionsMisc( USHORT nConfigId, BOOL bUseConfig ) :
BOOL SdOptionsMisc::operator==( const SdOptionsMisc& rOpt ) const
{
- return( IsStartWithTemplate() == rOpt.IsStartWithTemplate() &&
+ return( IsStartWithTemplate() == rOpt.IsStartWithTemplate() &&
IsMarkedHitMovesAlways() == rOpt.IsMarkedHitMovesAlways() &&
IsMoveOnlyDragging() == rOpt.IsMoveOnlyDragging() &&
IsCrookNoContortion() == rOpt.IsCrookNoContortion() &&
@@ -602,7 +602,7 @@ BOOL SdOptionsMisc::ReadData( const Any* pValues )
if( pValues[6].hasValue() ) SetBigHandles( *(sal_Bool*) pValues[ 6 ].getValue() );
if( pValues[7].hasValue() ) SetDoubleClickTextEdit( *(sal_Bool*) pValues[ 7 ].getValue() );
if( pValues[8].hasValue() ) SetClickChangeRotation( *(sal_Bool*) pValues[ 8 ].getValue() );
- // if( pValues[9].hasValue() ) SetPreviewQuality( FRound( *(double*) pValues[ 9 ].getValue() ) );
+ // if( pValues[9].hasValue() ) SetPreviewQuality( FRound( *(double*) pValues[ 9 ].getValue() ) );
if( pValues[10].hasValue() ) SetSolidDragging( *(sal_Bool*) pValues[ 10 ].getValue() );
if( pValues[11].hasValue() ) SetSolidMarkHdl( *(sal_Bool*) pValues[ 11 ].getValue() );
// #97016#
@@ -623,7 +623,7 @@ BOOL SdOptionsMisc::ReadData( const Any* pValues )
if( pValues[18].hasValue() )
SetSummationOfParagraphs( *(sal_Bool*) pValues[ 18 ].getValue() );
// #90356#
- if( pValues[19].hasValue() )
+ if( pValues[19].hasValue() )
SetShowUndoDeleteWarning( *(sal_Bool*) pValues[ 19 ].getValue() );
if( pValues[20].hasValue() )
@@ -667,7 +667,7 @@ BOOL SdOptionsMisc::WriteData( Any* pValues ) const
pValues[ 13 ] <<= GetDefaultObjectSizeHeight();
pValues[ 14 ] <<= GetPrinterIndependentLayout();
pValues[ 15 ] <<= (sal_Bool)IsShowComments();
-
+
// just for Impress
if( GetConfigId() == SDCFG_IMPRESS )
{
@@ -695,16 +695,16 @@ BOOL SdOptionsMisc::WriteData( Any* pValues ) const
\************************************************************************/
SdOptionsMiscItem::SdOptionsMiscItem( USHORT _nWhich )
-: SfxPoolItem ( _nWhich )
-, maOptionsMisc ( 0, FALSE )
+: SfxPoolItem ( _nWhich )
+, maOptionsMisc ( 0, FALSE )
{
}
// ----------------------------------------------------------------------
SdOptionsMiscItem::SdOptionsMiscItem( USHORT _nWhich, SdOptions* pOpts, ::sd::FrameView* pView )
-: SfxPoolItem ( _nWhich )
-, maOptionsMisc ( 0, FALSE )
+: SfxPoolItem ( _nWhich )
+, maOptionsMisc ( 0, FALSE )
{
if( pOpts )
{
@@ -822,9 +822,9 @@ void SdOptionsMiscItem::SetOptions( SdOptions* pOpts ) const
\************************************************************************/
SdOptionsSnap::SdOptionsSnap( USHORT nConfigId, BOOL bUseConfig ) :
- SdOptionsGeneric( nConfigId, bUseConfig ?
- ( ( SDCFG_DRAW == nConfigId ) ?
- B2U( "Office.Draw/Snap" ) :
+ SdOptionsGeneric( nConfigId, bUseConfig ?
+ ( ( SDCFG_DRAW == nConfigId ) ?
+ B2U( "Office.Draw/Snap" ) :
B2U( "Office.Impress/Snap" ) ) :
OUString() ),
bSnapHelplines( TRUE ),
@@ -846,7 +846,7 @@ SdOptionsSnap::SdOptionsSnap( USHORT nConfigId, BOOL bUseConfig ) :
BOOL SdOptionsSnap::operator==( const SdOptionsSnap& rOpt ) const
{
- return( IsSnapHelplines() == rOpt.IsSnapHelplines() &&
+ return( IsSnapHelplines() == rOpt.IsSnapHelplines() &&
IsSnapBorder() == rOpt.IsSnapBorder() &&
IsSnapFrame() == rOpt.IsSnapFrame() &&
IsSnapPoints() == rOpt.IsSnapPoints() &&
@@ -875,7 +875,7 @@ void SdOptionsSnap::GetPropNameArray( const char**& ppNames, ULONG& rCount ) con
"Position/RotatingValue",
"Position/PointReduction"
};
-
+
rCount = 10;
ppNames = aPropNames;
}
@@ -884,16 +884,16 @@ void SdOptionsSnap::GetPropNameArray( const char**& ppNames, ULONG& rCount ) con
BOOL SdOptionsSnap::ReadData( const Any* pValues )
{
- if( pValues[0].hasValue() ) SetSnapHelplines( *(sal_Bool*) pValues[ 0 ].getValue() );
- if( pValues[1].hasValue() ) SetSnapBorder( *(sal_Bool*)pValues[ 1 ].getValue() );
- if( pValues[2].hasValue() ) SetSnapFrame( *(sal_Bool*) pValues[ 2 ].getValue() );
- if( pValues[3].hasValue() ) SetSnapPoints( *(sal_Bool*) pValues[ 3 ].getValue() );
- if( pValues[4].hasValue() ) SetOrtho( *(sal_Bool*) pValues[ 4 ].getValue() );
- if( pValues[5].hasValue() ) SetBigOrtho( *(sal_Bool*) pValues[ 5 ].getValue() );
- if( pValues[6].hasValue() ) SetRotate( *(sal_Bool*) pValues[ 6 ].getValue() );
- if( pValues[7].hasValue() ) SetSnapArea( (INT16) *(sal_Int32*) pValues[ 7 ].getValue() );
- if( pValues[8].hasValue() ) SetAngle( (INT16) *(sal_Int32*) pValues[ 8 ].getValue() );
- if( pValues[9].hasValue() ) SetEliminatePolyPointLimitAngle( (INT16) *(sal_Int32*) pValues[ 9 ].getValue() );
+ if( pValues[0].hasValue() ) SetSnapHelplines( *(sal_Bool*) pValues[ 0 ].getValue() );
+ if( pValues[1].hasValue() ) SetSnapBorder( *(sal_Bool*)pValues[ 1 ].getValue() );
+ if( pValues[2].hasValue() ) SetSnapFrame( *(sal_Bool*) pValues[ 2 ].getValue() );
+ if( pValues[3].hasValue() ) SetSnapPoints( *(sal_Bool*) pValues[ 3 ].getValue() );
+ if( pValues[4].hasValue() ) SetOrtho( *(sal_Bool*) pValues[ 4 ].getValue() );
+ if( pValues[5].hasValue() ) SetBigOrtho( *(sal_Bool*) pValues[ 5 ].getValue() );
+ if( pValues[6].hasValue() ) SetRotate( *(sal_Bool*) pValues[ 6 ].getValue() );
+ if( pValues[7].hasValue() ) SetSnapArea( (INT16) *(sal_Int32*) pValues[ 7 ].getValue() );
+ if( pValues[8].hasValue() ) SetAngle( (INT16) *(sal_Int32*) pValues[ 8 ].getValue() );
+ if( pValues[9].hasValue() ) SetEliminatePolyPointLimitAngle( (INT16) *(sal_Int32*) pValues[ 9 ].getValue() );
return TRUE;
}
@@ -902,16 +902,16 @@ BOOL SdOptionsSnap::ReadData( const Any* pValues )
BOOL SdOptionsSnap::WriteData( Any* pValues ) const
{
- pValues[ 0 ] <<= IsSnapHelplines();
- pValues[ 1 ] <<= IsSnapBorder();
- pValues[ 2 ] <<= IsSnapFrame();
- pValues[ 3 ] <<= IsSnapPoints();
- pValues[ 4 ] <<= IsOrtho();
- pValues[ 5 ] <<= IsBigOrtho();
- pValues[ 6 ] <<= IsRotate();
- pValues[ 7 ] <<= (sal_Int32) GetSnapArea();
- pValues[ 8 ] <<= (sal_Int32) GetAngle();
- pValues[ 9 ] <<= (sal_Int32) GetEliminatePolyPointLimitAngle();
+ pValues[ 0 ] <<= IsSnapHelplines();
+ pValues[ 1 ] <<= IsSnapBorder();
+ pValues[ 2 ] <<= IsSnapFrame();
+ pValues[ 3 ] <<= IsSnapPoints();
+ pValues[ 4 ] <<= IsOrtho();
+ pValues[ 5 ] <<= IsBigOrtho();
+ pValues[ 6 ] <<= IsRotate();
+ pValues[ 7 ] <<= (sal_Int32) GetSnapArea();
+ pValues[ 8 ] <<= (sal_Int32) GetAngle();
+ pValues[ 9 ] <<= (sal_Int32) GetEliminatePolyPointLimitAngle();
return TRUE;
}
@@ -923,16 +923,16 @@ BOOL SdOptionsSnap::WriteData( Any* pValues ) const
\************************************************************************/
SdOptionsSnapItem::SdOptionsSnapItem( USHORT _nWhich )
-: SfxPoolItem ( _nWhich )
-, maOptionsSnap ( 0, FALSE )
+: SfxPoolItem ( _nWhich )
+, maOptionsSnap ( 0, FALSE )
{
}
// ----------------------------------------------------------------------
SdOptionsSnapItem::SdOptionsSnapItem( USHORT _nWhich, SdOptions* pOpts, ::sd::FrameView* pView )
-: SfxPoolItem ( _nWhich )
-, maOptionsSnap ( 0, FALSE )
+: SfxPoolItem ( _nWhich )
+, maOptionsSnap ( 0, FALSE )
{
if( pView )
{
@@ -1005,12 +1005,12 @@ void SdOptionsSnapItem::SetOptions( SdOptions* pOpts ) const
\************************************************************************/
SdOptionsZoom::SdOptionsZoom( USHORT nConfigId, BOOL bUseConfig ) :
- SdOptionsGeneric( nConfigId, ( bUseConfig && ( SDCFG_DRAW == nConfigId ) ) ?
- B2U( "Office.Draw/Zoom" ) :
+ SdOptionsGeneric( nConfigId, ( bUseConfig && ( SDCFG_DRAW == nConfigId ) ) ?
+ B2U( "Office.Draw/Zoom" ) :
OUString() ),
nX( 1 ),
nY( 1 )
-
+
{
EnableModify( TRUE );
}
@@ -1024,7 +1024,7 @@ BOOL SdOptionsZoom::operator==( const SdOptionsZoom& rOpt ) const
GetScale( nX1, nY1 );
rOpt.GetScale( nX2, nY2 );
- return( ( nX1 == nX2 ) &&
+ return( ( nX1 == nX2 ) &&
( nY1 == nY2 ) );
}
@@ -1037,7 +1037,7 @@ void SdOptionsZoom::GetPropNameArray( const char**& ppNames, ULONG& rCount ) con
"ScaleX",
"ScaleY"
};
-
+
rCount = ( GetConfigId() == SDCFG_DRAW ) ? 2 : 0;
ppNames = aPropNames;
}
@@ -1048,9 +1048,9 @@ BOOL SdOptionsZoom::ReadData( const Any* pValues )
{
INT32 x = 1, y = 1;
- if( pValues[0].hasValue() ) x = ( *(sal_Int32*) pValues[ 0 ].getValue() );
- if( pValues[1].hasValue() ) y = ( *(sal_Int32*) pValues[ 1 ].getValue() );
-
+ if( pValues[0].hasValue() ) x = ( *(sal_Int32*) pValues[ 0 ].getValue() );
+ if( pValues[1].hasValue() ) y = ( *(sal_Int32*) pValues[ 1 ].getValue() );
+
SetScale( x, y );
return TRUE;
@@ -1064,8 +1064,8 @@ BOOL SdOptionsZoom::WriteData( Any* pValues ) const
GetScale( x, y );
- pValues[ 0 ] <<= (sal_Int32) x;
- pValues[ 1 ] <<= (sal_Int32) y;
+ pValues[ 0 ] <<= (sal_Int32) x;
+ pValues[ 1 ] <<= (sal_Int32) y;
return TRUE;
}
@@ -1077,9 +1077,9 @@ BOOL SdOptionsZoom::WriteData( Any* pValues ) const
\************************************************************************/
SdOptionsGrid::SdOptionsGrid( USHORT nConfigId, BOOL bUseConfig ) :
- SdOptionsGeneric( nConfigId, bUseConfig ?
- ( ( SDCFG_DRAW == nConfigId ) ?
- B2U( "Office.Draw/Grid" ) :
+ SdOptionsGeneric( nConfigId, bUseConfig ?
+ ( ( SDCFG_DRAW == nConfigId ) ?
+ B2U( "Office.Draw/Grid" ) :
B2U( "Office.Impress/Grid" ) ) :
OUString() )
{
@@ -1116,7 +1116,7 @@ void SdOptionsGrid::SetDefaults()
BOOL SdOptionsGrid::operator==( const SdOptionsGrid& rOpt ) const
{
- return( GetFldDrawX() == rOpt.GetFldDrawX() &&
+ return( GetFldDrawX() == rOpt.GetFldDrawX() &&
GetFldDivisionX() == rOpt.GetFldDivisionX() &&
GetFldDrawY() == rOpt.GetFldDrawY() &&
GetFldDivisionY() == rOpt.GetFldDivisionY() &&
@@ -1172,27 +1172,27 @@ void SdOptionsGrid::GetPropNameArray( const char**& ppNames, ULONG& rCount ) con
BOOL SdOptionsGrid::ReadData( const Any* pValues )
{
- if( pValues[0].hasValue() ) SetFldDrawX( *(sal_Int32*) pValues[ 0 ].getValue() );
- if( pValues[1].hasValue() ) SetFldDrawY( *(sal_Int32*) pValues[ 1 ].getValue() );
+ if( pValues[0].hasValue() ) SetFldDrawX( *(sal_Int32*) pValues[ 0 ].getValue() );
+ if( pValues[1].hasValue() ) SetFldDrawY( *(sal_Int32*) pValues[ 1 ].getValue() );
if( pValues[2].hasValue() )
{
const UINT32 nDivX = FRound( *(double*) pValues[ 2 ].getValue() );
- SetFldDivisionX( SvxOptionsGrid::GetFldDrawX() / ( nDivX + 1 ) );
+ SetFldDivisionX( SvxOptionsGrid::GetFldDrawX() / ( nDivX + 1 ) );
}
if( pValues[3].hasValue() )
{
const UINT32 nDivY = FRound( *(double*) pValues[ 3 ].getValue() );
- SetFldDivisionY( SvxOptionsGrid::GetFldDrawY() / ( nDivY + 1 ) );
+ SetFldDivisionY( SvxOptionsGrid::GetFldDrawY() / ( nDivY + 1 ) );
}
- if( pValues[4].hasValue() ) SetFldSnapX( *(sal_Int32*) pValues[ 4 ].getValue() );
- if( pValues[5].hasValue() ) SetFldSnapY( *(sal_Int32*) pValues[ 5 ].getValue() );
- if( pValues[6].hasValue() ) SetUseGridSnap( *(sal_Bool*) pValues[ 6 ].getValue() );
- if( pValues[7].hasValue() ) SetSynchronize( *(sal_Bool*) pValues[ 7 ].getValue() );
- if( pValues[8].hasValue() ) SetGridVisible( *(sal_Bool*) pValues[ 8 ].getValue() );
- if( pValues[9].hasValue() ) SetEqualGrid( *(sal_Bool*) pValues[ 9 ].getValue() );
+ if( pValues[4].hasValue() ) SetFldSnapX( *(sal_Int32*) pValues[ 4 ].getValue() );
+ if( pValues[5].hasValue() ) SetFldSnapY( *(sal_Int32*) pValues[ 5 ].getValue() );
+ if( pValues[6].hasValue() ) SetUseGridSnap( *(sal_Bool*) pValues[ 6 ].getValue() );
+ if( pValues[7].hasValue() ) SetSynchronize( *(sal_Bool*) pValues[ 7 ].getValue() );
+ if( pValues[8].hasValue() ) SetGridVisible( *(sal_Bool*) pValues[ 8 ].getValue() );
+ if( pValues[9].hasValue() ) SetEqualGrid( *(sal_Bool*) pValues[ 9 ].getValue() );
return TRUE;
}
@@ -1201,16 +1201,16 @@ BOOL SdOptionsGrid::ReadData( const Any* pValues )
BOOL SdOptionsGrid::WriteData( Any* pValues ) const
{
- pValues[ 0 ] <<= (sal_Int32) GetFldDrawX();
- pValues[ 1 ] <<= (sal_Int32) GetFldDrawY();
+ pValues[ 0 ] <<= (sal_Int32) GetFldDrawX();
+ pValues[ 1 ] <<= (sal_Int32) GetFldDrawY();
pValues[ 2 ] <<= ( GetFldDivisionX() ? ( (double) GetFldDrawX() / GetFldDivisionX() - 1.0 ) : (double) 0 );
pValues[ 3 ] <<= ( GetFldDivisionY() ? ( (double) GetFldDrawY() / GetFldDivisionY() - 1.0 ) : (double) 0 );
- pValues[ 4 ] <<= (sal_Int32) GetFldSnapX();
- pValues[ 5 ] <<= (sal_Int32) GetFldSnapY();
- pValues[ 6 ] <<= IsUseGridSnap();
- pValues[ 7 ] <<= IsSynchronize();
- pValues[ 8 ] <<= IsGridVisible();
- pValues[ 9 ] <<= IsEqualGrid();
+ pValues[ 4 ] <<= (sal_Int32) GetFldSnapX();
+ pValues[ 5 ] <<= (sal_Int32) GetFldSnapY();
+ pValues[ 6 ] <<= IsUseGridSnap();
+ pValues[ 7 ] <<= IsSynchronize();
+ pValues[ 8 ] <<= IsGridVisible();
+ pValues[ 9 ] <<= IsEqualGrid();
return TRUE;
}
@@ -1274,9 +1274,9 @@ void SdOptionsGridItem::SetOptions( SdOptions* pOpts ) const
\************************************************************************/
SdOptionsPrint::SdOptionsPrint( USHORT nConfigId, BOOL bUseConfig ) :
- SdOptionsGeneric( nConfigId, bUseConfig ?
- ( ( SDCFG_DRAW == nConfigId ) ?
- B2U( "Office.Draw/Print" ) :
+ SdOptionsGeneric( nConfigId, bUseConfig ?
+ ( ( SDCFG_DRAW == nConfigId ) ?
+ B2U( "Office.Draw/Print" ) :
B2U( "Office.Impress/Print" ) ) :
OUString() ),
bDraw( TRUE ),
@@ -1395,25 +1395,25 @@ void SdOptionsPrint::GetPropNameArray( const char**& ppNames, ULONG& rCount ) co
BOOL SdOptionsPrint::ReadData( const Any* pValues )
{
- if( pValues[0].hasValue() ) SetDate( *(sal_Bool*) pValues[ 0 ].getValue() );
- if( pValues[1].hasValue() ) SetTime( *(sal_Bool*) pValues[ 1 ].getValue() );
- if( pValues[2].hasValue() ) SetPagename( *(sal_Bool*) pValues[ 2 ].getValue() );
- if( pValues[3].hasValue() ) SetHiddenPages( *(sal_Bool*) pValues[ 3 ].getValue() );
- if( pValues[4].hasValue() ) SetPagesize( *(sal_Bool*) pValues[ 4 ].getValue() );
- if( pValues[5].hasValue() ) SetPagetile( *(sal_Bool*) pValues[ 5 ].getValue() );
- if( pValues[6].hasValue() ) SetBooklet( *(sal_Bool*) pValues[ 6 ].getValue() );
- if( pValues[7].hasValue() ) SetFrontPage( *(sal_Bool*) pValues[ 7 ].getValue() );
- if( pValues[8].hasValue() ) SetBackPage( *(sal_Bool*) pValues[ 8 ].getValue() );
- if( pValues[9].hasValue() ) SetPaperbin( *(sal_Bool*) pValues[ 9 ].getValue() );
- if( pValues[10].hasValue() ) SetOutputQuality( (UINT16) *(sal_Int32*) pValues[ 10 ].getValue() );
- if( pValues[11].hasValue() ) SetDraw( *(sal_Bool*) pValues[ 11 ].getValue() );
+ if( pValues[0].hasValue() ) SetDate( *(sal_Bool*) pValues[ 0 ].getValue() );
+ if( pValues[1].hasValue() ) SetTime( *(sal_Bool*) pValues[ 1 ].getValue() );
+ if( pValues[2].hasValue() ) SetPagename( *(sal_Bool*) pValues[ 2 ].getValue() );
+ if( pValues[3].hasValue() ) SetHiddenPages( *(sal_Bool*) pValues[ 3 ].getValue() );
+ if( pValues[4].hasValue() ) SetPagesize( *(sal_Bool*) pValues[ 4 ].getValue() );
+ if( pValues[5].hasValue() ) SetPagetile( *(sal_Bool*) pValues[ 5 ].getValue() );
+ if( pValues[6].hasValue() ) SetBooklet( *(sal_Bool*) pValues[ 6 ].getValue() );
+ if( pValues[7].hasValue() ) SetFrontPage( *(sal_Bool*) pValues[ 7 ].getValue() );
+ if( pValues[8].hasValue() ) SetBackPage( *(sal_Bool*) pValues[ 8 ].getValue() );
+ if( pValues[9].hasValue() ) SetPaperbin( *(sal_Bool*) pValues[ 9 ].getValue() );
+ if( pValues[10].hasValue() ) SetOutputQuality( (UINT16) *(sal_Int32*) pValues[ 10 ].getValue() );
+ if( pValues[11].hasValue() ) SetDraw( *(sal_Bool*) pValues[ 11 ].getValue() );
// just for impress
if( GetConfigId() == SDCFG_IMPRESS )
{
- if( pValues[12].hasValue() ) SetNotes( *(sal_Bool*) pValues[ 12 ].getValue() );
- if( pValues[13].hasValue() ) SetHandout( *(sal_Bool*) pValues[ 13 ].getValue() );
- if( pValues[14].hasValue() ) SetOutline( *(sal_Bool*) pValues[ 14 ].getValue() );
+ if( pValues[12].hasValue() ) SetNotes( *(sal_Bool*) pValues[ 12 ].getValue() );
+ if( pValues[13].hasValue() ) SetHandout( *(sal_Bool*) pValues[ 13 ].getValue() );
+ if( pValues[14].hasValue() ) SetOutline( *(sal_Bool*) pValues[ 14 ].getValue() );
if( pValues[15].hasValue() ) SetHandoutHorizontal( *(sal_Bool*) pValues[15].getValue() );
if( pValues[16].hasValue() ) SetHandoutPages( (UINT16)*(sal_Int32*) pValues[16].getValue() );
}
@@ -1425,25 +1425,25 @@ BOOL SdOptionsPrint::ReadData( const Any* pValues )
BOOL SdOptionsPrint::WriteData( Any* pValues ) const
{
- pValues[ 0 ] <<= IsDate();
- pValues[ 1 ] <<= IsTime();
+ pValues[ 0 ] <<= IsDate();
+ pValues[ 1 ] <<= IsTime();
pValues[ 2 ] <<= IsPagename();
pValues[ 3 ] <<= IsHiddenPages();
- pValues[ 4 ] <<= IsPagesize();
+ pValues[ 4 ] <<= IsPagesize();
pValues[ 5 ] <<= IsPagetile();
pValues[ 6 ] <<= IsBooklet();
- pValues[ 7 ] <<= IsFrontPage();
- pValues[ 8 ] <<= IsBackPage();
+ pValues[ 7 ] <<= IsFrontPage();
+ pValues[ 8 ] <<= IsBackPage();
pValues[ 9 ] <<= IsPaperbin();
- pValues[ 10 ] <<= (sal_Int32) GetOutputQuality();
+ pValues[ 10 ] <<= (sal_Int32) GetOutputQuality();
pValues[ 11 ] <<= IsDraw();
-
+
// just for impress
if( GetConfigId() == SDCFG_IMPRESS )
{
- pValues[ 12 ] <<= IsNotes();
- pValues[ 13 ] <<= IsHandout();
- pValues[ 14 ] <<= IsOutline();
+ pValues[ 12 ] <<= IsNotes();
+ pValues[ 13 ] <<= IsHandout();
+ pValues[ 14 ] <<= IsOutline();
pValues[ 15 ] <<= IsHandoutHorizontal();
pValues[ 16 ] <<= GetHandoutPages();
}
@@ -1458,16 +1458,16 @@ BOOL SdOptionsPrint::WriteData( Any* pValues ) const
\************************************************************************/
SdOptionsPrintItem::SdOptionsPrintItem( USHORT _nWhich )
-: SfxPoolItem ( _nWhich )
-, maOptionsPrint ( 0, FALSE )
+: SfxPoolItem ( _nWhich )
+, maOptionsPrint ( 0, FALSE )
{
}
// ----------------------------------------------------------------------
SdOptionsPrintItem::SdOptionsPrintItem( USHORT _nWhich, SdOptions* pOpts, ::sd::FrameView* )
-: SfxPoolItem ( _nWhich )
-, maOptionsPrint ( 0, FALSE )
+: SfxPoolItem ( _nWhich )
+, maOptionsPrint ( 0, FALSE )
{
if( pOpts )
{
diff --git a/sd/source/ui/app/popup.src b/sd/source/ui/app/popup.src
index 54d25c998ff5..9bd30474750a 100644
--- a/sd/source/ui/app/popup.src
+++ b/sd/source/ui/app/popup.src
@@ -1,7 +1,7 @@
/*************************************************************************
*
* 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
@@ -36,7 +36,7 @@
#include <svx/globlmn.hrc>
#endif
-#define DEFINE_SLOTID_FOR_NUMBER_BULLETS SID_OUTLINE_BULLET
+#define DEFINE_SLOTID_FOR_NUMBER_BULLETS SID_OUTLINE_BULLET
Menu RID_DRAW_TEXTOBJ_INSIDE_POPUP
{
@@ -367,7 +367,7 @@ Menu RID_MASTERPAGE_POPUP
MN_TRANSFORM
SEPARATOR
MN_CHAR_PARAGRAPH
- // MN_PRESENTATIONOBJECT
+ // MN_PRESENTATIONOBJECT
SEPARATOR
MN_POSITION
};
diff --git a/sd/source/ui/app/popup2_tmpl.src b/sd/source/ui/app/popup2_tmpl.src
index 46efadeb031d..68095711a336 100644
--- a/sd/source/ui/app/popup2_tmpl.src
+++ b/sd/source/ui/app/popup2_tmpl.src
@@ -1,7 +1,7 @@
/*************************************************************************
*
* 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
@@ -207,7 +207,7 @@
SEPARATOR
MN_STYLEDT
SEPARATOR
-
+
};
};
@@ -245,8 +245,8 @@
MN_EFFECT
MN_ACTION
#endif
-// SEPARATOR
-// MN_STYLEDT
+// SEPARATOR
+// MN_STYLEDT
};
};
@@ -285,8 +285,8 @@
MN_EFFECT
MN_ACTION
#endif
-// SEPARATOR
-// MN_STYLEDT
+// SEPARATOR
+// MN_STYLEDT
};
};
@@ -560,7 +560,7 @@
MN_SLIDE_MENU
#elif SD_POPUP == RID_GRAPHIC_TEXTOBJ_POPUP
MN_PAGE_MENU
-#endif
+#endif
SEPARATOR
MN_CAPTUREPOINT
SEPARATOR
@@ -741,7 +741,7 @@
MN_OBJECT_ALIGN
MN_DISTRIBUTE
MN_BREAK
-
+
//-#i68101#----------------------
SEPARATOR
MN_OBJECT_TITLE_DESCRIPTION
diff --git a/sd/source/ui/app/res_bmp.src b/sd/source/ui/app/res_bmp.src
index 0901e53df0ed..2996640ee558 100755
--- a/sd/source/ui/app/res_bmp.src
+++ b/sd/source/ui/app/res_bmp.src
@@ -1,7 +1,7 @@
/*************************************************************************
*
* 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
@@ -426,7 +426,7 @@ SfxStyleFamilies DLG_STYLE_DESIGNER
{
< STR_STYLE_FILTER_ALL ; SFXSTYLEBIT_ALL ; > ;
};
- };
+ };
};
#define STYLE_IMAGE_LISTEF \
IdList = \
@@ -435,13 +435,13 @@ SfxStyleFamilies DLG_STYLE_DESIGNER
}; \
IdCount = 2;
- ImageList 1 // == BMP_COLOR_NORMAL + 1
+ ImageList 1 // == BMP_COLOR_NORMAL + 1
{
Prefix = "sf";
MaskColor = IMAGE_MASK_STDCOLOR;
STYLE_IMAGE_LISTEF
};
- ImageList 2 // == BMP_COLOR_HIGHCONTRAST + 1
+ ImageList 2 // == BMP_COLOR_HIGHCONTRAST + 1
{
Prefix = "sfh";
MaskColor = IMAGE_MASK_STDCOLOR_HC;
diff --git a/sd/source/ui/app/sddll.cxx b/sd/source/ui/app/sddll.cxx
index cdc396b2093a..9eaf8338c2de 100644
--- a/sd/source/ui/app/sddll.cxx
+++ b/sd/source/ui/app/sddll.cxx
@@ -2,7 +2,7 @@
/*************************************************************************
*
* 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
diff --git a/sd/source/ui/app/sddll1.cxx b/sd/source/ui/app/sddll1.cxx
index d43c7a8a7651..e7d9a5052f97 100644
--- a/sd/source/ui/app/sddll1.cxx
+++ b/sd/source/ui/app/sddll1.cxx
@@ -2,7 +2,7 @@
/*************************************************************************
*
* 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
diff --git a/sd/source/ui/app/sddll2.cxx b/sd/source/ui/app/sddll2.cxx
index 3738bceaac37..7b9316dcfb0f 100644
--- a/sd/source/ui/app/sddll2.cxx
+++ b/sd/source/ui/app/sddll2.cxx
@@ -2,7 +2,7 @@
/*************************************************************************
*
* 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
@@ -152,7 +152,7 @@ void SdDLL::RegisterControllers()
SvxStyleToolBoxControl::RegisterControl(0, pMod);
SvxFontNameToolBoxControl::RegisterControl(0, pMod);
-// SvxFontHeightToolBoxControl::RegisterControl(0, pMod);
+// SvxFontHeightToolBoxControl::RegisterControl(0, pMod);
SvxFontColorToolBoxControl::RegisterControl(0, pMod);
SvxGrafFilterToolBoxControl::RegisterControl( SID_GRFFILTER, pMod );
@@ -208,8 +208,8 @@ void SdDLL::RegisterControllers()
SvxFrameToolBoxControl::RegisterControl(SID_ATTR_BORDER, pMod );
SvxSubToolBoxControl::RegisterControl(SID_OPTIMIZE_TABLE, pMod);
-// SdLayoutControl::RegisterControl( SID_ASSIGN_LAYOUT, pMod );
-// SdLayoutControl::RegisterControl( SID_INSERTPAGE, pMod );
+// SdLayoutControl::RegisterControl( SID_ASSIGN_LAYOUT, pMod );
+// SdLayoutControl::RegisterControl( SID_INSERTPAGE, pMod );
}
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/sd/source/ui/app/sdmod.cxx b/sd/source/ui/app/sdmod.cxx
index fe4d0f07ec45..ab7a2347c1ec 100644
--- a/sd/source/ui/app/sdmod.cxx
+++ b/sd/source/ui/app/sdmod.cxx
@@ -2,7 +2,7 @@
/*************************************************************************
*
* 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
@@ -98,7 +98,7 @@ SdModule::SdModule(SfxObjectFactory* pFact1, SfxObjectFactory* pFact2 )
bWaterCan(FALSE),
mpResourceContainer(new ::sd::SdGlobalResourceContainer())
{
- SetName( UniString::CreateFromAscii( RTL_CONSTASCII_STRINGPARAM( "StarDraw" ) ) ); // Nicht uebersetzen!
+ SetName( UniString::CreateFromAscii( RTL_CONSTASCII_STRINGPARAM( "StarDraw" ) ) ); // Nicht uebersetzen!
pSearchItem = new SvxSearchItem(SID_SEARCH_ITEM);
pSearchItem->SetAppFlag(SVX_SEARCHAPP_DRAW);
StartListening( *SFX_APP() );
@@ -273,13 +273,13 @@ SdOptions* SdModule::GetSdOptions(DocumentType eDocType)
SvStorageStreamRef SdModule::GetOptionStream( const String& rOptionName,
SdOptionStreamMode eMode )
{
- ::sd::DrawDocShell* pDocSh = PTR_CAST(::sd::DrawDocShell, SfxObjectShell::Current() );
- SvStorageStreamRef xStm;
+ ::sd::DrawDocShell* pDocSh = PTR_CAST(::sd::DrawDocShell, SfxObjectShell::Current() );
+ SvStorageStreamRef xStm;
if( pDocSh )
{
- DocumentType eType = pDocSh->GetDoc()->GetDocumentType();
- String aStmName;
+ DocumentType eType = pDocSh->GetDoc()->GetDocumentType();
+ String aStmName;
if( !xOptionStorage.Is() )
{
diff --git a/sd/source/ui/app/sdmod1.cxx b/sd/source/ui/app/sdmod1.cxx
index adcf6e8589e6..cbb099f2a6c3 100644
--- a/sd/source/ui/app/sdmod1.cxx
+++ b/sd/source/ui/app/sdmod1.cxx
@@ -2,7 +2,7 @@
/*************************************************************************
*
* 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
@@ -152,7 +152,7 @@ void SdModule::Execute(SfxRequest& rReq)
FieldUnit eUnit = (FieldUnit)((const SfxUInt16Item*)pItem)->GetValue();
switch( eUnit )
{
- case FUNIT_MM: // nur die Einheiten, die auch im Dialog stehen
+ case FUNIT_MM: // nur die Einheiten, die auch im Dialog stehen
case FUNIT_CM:
case FUNIT_INCH:
case FUNIT_PICA:
@@ -440,7 +440,7 @@ void SdModule::GetState(SfxItemSet& rItemSet)
if ( !bOnce )
{
::sd::DrawDocShell* pDocShell = PTR_CAST(::sd::DrawDocShell, SfxObjectShell::Current());
- if( pDocShell ) // Impress or Draw ?
+ if( pDocShell ) // Impress or Draw ?
{
::sd::ViewShell* pViewShell = pDocShell->GetViewShell();
@@ -598,7 +598,7 @@ SfxFrame* SdModule::ExecuteNewDocument( SfxRequest& rReq )
std::auto_ptr< AbstractAssistentDlg > pPilotDlg( pFact ? pFact->CreateAssistentDlg( NULL, !bNewDocDirect ) : 0 );
// Open the Pilot
- if( pPilotDlg.get() && pPilotDlg->Execute()==RET_OK )
+ if( pPilotDlg.get() && pPilotDlg->Execute()==RET_OK )
{
const String aDocPath( pPilotDlg->GetDocPath());
const sal_Bool bIsDocEmpty = pPilotDlg->IsDocEmpty();
diff --git a/sd/source/ui/app/sdmod2.cxx b/sd/source/ui/app/sdmod2.cxx
index 840ef72d5a6b..14cf206bb2b9 100644
--- a/sd/source/ui/app/sdmod2.cxx
+++ b/sd/source/ui/app/sdmod2.cxx
@@ -2,7 +2,7 @@
/*************************************************************************
*
* 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
@@ -404,7 +404,7 @@ IMPL_LINK(SdModule, CalcFieldValueHdl, EditFieldInfo*, pInfo)
DBG_ERROR("sd::SdModule::CalcFieldValueHdl(), unknown field type!");
}
- if( aRepresentation.Len() == 0 ) // TODO: Edit engine doesn't handle empty fields?
+ if( aRepresentation.Len() == 0 ) // TODO: Edit engine doesn't handle empty fields?
aRepresentation += sal_Unicode( ' ' );
pInfo->SetRepresentation( aRepresentation );
}
@@ -420,7 +420,7 @@ IMPL_LINK(SdModule, CalcFieldValueHdl, EditFieldInfo*, pInfo)
|* virt. Methoden fuer Optionendialog
|*
\************************************************************************/
-SfxItemSet* SdModule::CreateItemSet( USHORT nSlot )
+SfxItemSet* SdModule::CreateItemSet( USHORT nSlot )
{
::sd::FrameView* pFrameView = NULL;
::sd::DrawDocShell* pDocSh = PTR_CAST(::sd::DrawDocShell, SfxObjectShell::Current() );
@@ -453,7 +453,7 @@ SfxItemSet* SdModule::CreateItemSet( USHORT nSlot )
SfxItemPool& rPool = GetPool();
rPool.SetDefaultMetric( SFX_MAPUNIT_100TH_MM );
- SfxItemSet* pRet = new SfxItemSet( rPool,
+ SfxItemSet* pRet = new SfxItemSet( rPool,
SID_ATTR_METRIC, SID_ATTR_METRIC,
SID_ATTR_DEFTABSTOP, SID_ATTR_DEFTABSTOP,
@@ -549,7 +549,7 @@ SfxItemSet* SdModule::CreateItemSet( USHORT nSlot )
}
void SdModule::ApplyItemSet( USHORT nSlot, const SfxItemSet& rSet )
{
- const SfxPoolItem* pItem = NULL;
+ const SfxPoolItem* pItem = NULL;
BOOL bNewDefTab = FALSE;
BOOL bNewPrintOptions = FALSE;
BOOL bMiscOptions = FALSE;
@@ -656,9 +656,9 @@ void SdModule::ApplyItemSet( USHORT nSlot, const SfxItemSet& rSet )
}
SfxItemSet aPrintSet( GetPool(),
- SID_PRINTER_NOTFOUND_WARN, SID_PRINTER_NOTFOUND_WARN,
- SID_PRINTER_CHANGESTODOC, SID_PRINTER_CHANGESTODOC,
- ATTR_OPTIONS_PRINT, ATTR_OPTIONS_PRINT,
+ SID_PRINTER_NOTFOUND_WARN, SID_PRINTER_NOTFOUND_WARN,
+ SID_PRINTER_CHANGESTODOC, SID_PRINTER_CHANGESTODOC,
+ ATTR_OPTIONS_PRINT, ATTR_OPTIONS_PRINT,
0 );
// Drucken
@@ -671,7 +671,7 @@ void SdModule::ApplyItemSet( USHORT nSlot, const SfxItemSet& rSet )
// PrintOptionsSet setzen
SdOptionsPrintItem aPrintItem( ATTR_OPTIONS_PRINT, pOptions );
SfxFlagItem aFlagItem( SID_PRINTER_CHANGESTODOC );
- USHORT nFlags = 0;
+ USHORT nFlags = 0;
nFlags = (aPrintItem.GetOptionsPrint().IsWarningSize() ? SFX_PRINTER_CHG_SIZE : 0) |
(aPrintItem.GetOptionsPrint().IsWarningOrientation() ? SFX_PRINTER_CHG_ORIENTATION : 0);
@@ -773,14 +773,14 @@ SfxTabPage* SdModule::CreateTabPage( USHORT nId, Window* pParent, const SfxItemS
{
case SID_SD_TP_CONTENTS:
case SID_SI_TP_CONTENTS:
- { ::CreateTabPage fnCreatePage = pFact->GetSdOptionsContentsTabPageCreatorFunc();
+ { ::CreateTabPage fnCreatePage = pFact->GetSdOptionsContentsTabPageCreatorFunc();
if( fnCreatePage )
pRet = (*fnCreatePage)( pParent, rSet );
}
break;
case SID_SD_TP_SNAP:
case SID_SI_TP_SNAP:
- { ::CreateTabPage fnCreatePage = pFact->GetSdOptionsSnapTabPageCreatorFunc();
+ { ::CreateTabPage fnCreatePage = pFact->GetSdOptionsSnapTabPageCreatorFunc();
if( fnCreatePage )
pRet = (*fnCreatePage)( pParent, rSet );
}
diff --git a/sd/source/ui/app/sdpopup.cxx b/sd/source/ui/app/sdpopup.cxx
index e757f10bcd16..73e578cd060b 100644
--- a/sd/source/ui/app/sdpopup.cxx
+++ b/sd/source/ui/app/sdpopup.cxx
@@ -2,7 +2,7 @@
/*************************************************************************
*
* 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
@@ -53,8 +53,8 @@
\************************************************************************/
SdFieldPopup::SdFieldPopup( const SvxFieldData* pInField, LanguageType eLanguage ) :
- PopupMenu (),
- pField ( pInField )
+ PopupMenu (),
+ pField ( pInField )
{
Fill( eLanguage );
}
@@ -93,24 +93,24 @@ void SdFieldPopup::Fill( LanguageType eLanguage )
else
CheckItem( 2 );
- //SVXDATEFORMAT_APPDEFAULT, // Wird nicht benutzt
- //SVXDATEFORMAT_SYSTEM, // Wird nicht benutzt
+ //SVXDATEFORMAT_APPDEFAULT, // Wird nicht benutzt
+ //SVXDATEFORMAT_SYSTEM, // Wird nicht benutzt
InsertItem( nID++, String( SdResId( STR_STANDARD_SMALL ) ), nStyle );
InsertItem( nID++, String( SdResId( STR_STANDARD_BIG ) ), nStyle );
SvNumberFormatter* pNumberFormatter = SD_MOD()->GetNumberFormatter();
- aDateField.SetFormat( SVXDATEFORMAT_A ); // 13.02.96
+ aDateField.SetFormat( SVXDATEFORMAT_A ); // 13.02.96
InsertItem( nID++, aDateField.GetFormatted( *pNumberFormatter, eLanguage ), nStyle );
- aDateField.SetFormat( SVXDATEFORMAT_B ); // 13.02.1996
+ aDateField.SetFormat( SVXDATEFORMAT_B ); // 13.02.1996
InsertItem( nID++, aDateField.GetFormatted( *pNumberFormatter, eLanguage ), nStyle );
- aDateField.SetFormat( SVXDATEFORMAT_C ); // 13.Feb 1996
+ aDateField.SetFormat( SVXDATEFORMAT_C ); // 13.Feb 1996
InsertItem( nID++, aDateField.GetFormatted( *pNumberFormatter, eLanguage ), nStyle );
- aDateField.SetFormat( SVXDATEFORMAT_D ); // 13.Februar 1996
+ aDateField.SetFormat( SVXDATEFORMAT_D ); // 13.Februar 1996
InsertItem( nID++, aDateField.GetFormatted( *pNumberFormatter, eLanguage ), nStyle );
- aDateField.SetFormat( SVXDATEFORMAT_E ); // Die, 13.Februar 1996
+ aDateField.SetFormat( SVXDATEFORMAT_E ); // Die, 13.Februar 1996
InsertItem( nID++, aDateField.GetFormatted( *pNumberFormatter, eLanguage ), nStyle );
- aDateField.SetFormat( SVXDATEFORMAT_F ); // Dienstag, 13.Februar 1996
+ aDateField.SetFormat( SVXDATEFORMAT_F ); // Dienstag, 13.Februar 1996
InsertItem( nID++, aDateField.GetFormatted( *pNumberFormatter, eLanguage ), nStyle );
CheckItem( (USHORT) ( pDateField->GetFormat() ) + 1 ); // - 2 + 3 !
@@ -125,27 +125,27 @@ void SdFieldPopup::Fill( LanguageType eLanguage )
else
CheckItem( 2 );
- //SVXTIMEFORMAT_APPDEFAULT, // Wird nicht benutzt
- //SVXTIMEFORMAT_SYSTEM, // Wird nicht benutzt
+ //SVXTIMEFORMAT_APPDEFAULT, // Wird nicht benutzt
+ //SVXTIMEFORMAT_SYSTEM, // Wird nicht benutzt
InsertItem( nID++, String( SdResId( STR_STANDARD_NORMAL ) ), nStyle );
SvNumberFormatter* pNumberFormatter = SD_MOD()->GetNumberFormatter();
- aTimeField.SetFormat( SVXTIMEFORMAT_24_HM ); // 13:49
+ aTimeField.SetFormat( SVXTIMEFORMAT_24_HM ); // 13:49
InsertItem( nID++, aTimeField.GetFormatted( *pNumberFormatter, eLanguage ), nStyle );
- aTimeField.SetFormat( SVXTIMEFORMAT_24_HMS ); // 13:49:38
+ aTimeField.SetFormat( SVXTIMEFORMAT_24_HMS ); // 13:49:38
InsertItem( nID++, aTimeField.GetFormatted( *pNumberFormatter, eLanguage ), nStyle );
- aTimeField.SetFormat( SVXTIMEFORMAT_24_HMSH ); // 13:49:38.78
+ aTimeField.SetFormat( SVXTIMEFORMAT_24_HMSH ); // 13:49:38.78
InsertItem( nID++, aTimeField.GetFormatted( *pNumberFormatter, eLanguage ), nStyle );
- aTimeField.SetFormat( SVXTIMEFORMAT_12_HM ); // 01:49
+ aTimeField.SetFormat( SVXTIMEFORMAT_12_HM ); // 01:49
InsertItem( nID++, aTimeField.GetFormatted( *pNumberFormatter, eLanguage ), nStyle );
- aTimeField.SetFormat( SVXTIMEFORMAT_12_HMS ); // 01:49:38
+ aTimeField.SetFormat( SVXTIMEFORMAT_12_HMS ); // 01:49:38
InsertItem( nID++, aTimeField.GetFormatted( *pNumberFormatter, eLanguage ), nStyle );
- aTimeField.SetFormat( SVXTIMEFORMAT_12_HMSH ); // 01:49:38.78
+ aTimeField.SetFormat( SVXTIMEFORMAT_12_HMSH ); // 01:49:38.78
InsertItem( nID++, aTimeField.GetFormatted( *pNumberFormatter, eLanguage ), nStyle );
- //SVXTIMEFORMAT_AM_HM, // 01:49 PM
- //SVXTIMEFORMAT_AM_HMS, // 01:49:38 PM
- //SVXTIMEFORMAT_AM_HMSH // 01:49:38.78 PM
+ //SVXTIMEFORMAT_AM_HM, // 01:49 PM
+ //SVXTIMEFORMAT_AM_HMS, // 01:49:38 PM
+ //SVXTIMEFORMAT_AM_HMSH // 01:49:38.78 PM
CheckItem( (USHORT) ( pTimeField->GetFormat() ) + 1 ); // - 2 + 3 !
}
@@ -200,7 +200,7 @@ SvxFieldData* SdFieldPopup::GetField()
if( pField->ISA( SvxDateField ) )
{
const SvxDateField* pDateField = (const SvxDateField*) pField;
- SvxDateType eType;
+ SvxDateType eType;
SvxDateFormat eFormat;
USHORT i;
@@ -233,7 +233,7 @@ SvxFieldData* SdFieldPopup::GetField()
else if( pField->ISA( SvxExtTimeField ) )
{
const SvxExtTimeField* pTimeField = (const SvxExtTimeField*) pField;
- SvxTimeType eType;
+ SvxTimeType eType;
SvxTimeFormat eFormat;
USHORT i;
@@ -267,7 +267,7 @@ SvxFieldData* SdFieldPopup::GetField()
else if( pField->ISA( SvxExtFileField ) )
{
const SvxExtFileField* pFileField = (const SvxExtFileField*) pField;
- SvxFileType eType;
+ SvxFileType eType;
SvxFileFormat eFormat;
USHORT i;
@@ -307,7 +307,7 @@ SvxFieldData* SdFieldPopup::GetField()
else if( pField->ISA( SvxAuthorField ) )
{
const SvxAuthorField* pAuthorField = (const SvxAuthorField*) pField;
- SvxAuthorType eType;
+ SvxAuthorType eType;
SvxAuthorFormat eFormat;
USHORT i;
diff --git a/sd/source/ui/app/sdresid.cxx b/sd/source/ui/app/sdresid.cxx
index 7b8f773167da..3d5d7574c838 100644
--- a/sd/source/ui/app/sdresid.cxx
+++ b/sd/source/ui/app/sdresid.cxx
@@ -2,7 +2,7 @@
/*************************************************************************
*
* 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
diff --git a/sd/source/ui/app/sdstring.src b/sd/source/ui/app/sdstring.src
index 1b520fb140a8..d9d399aa31ee 100644
--- a/sd/source/ui/app/sdstring.src
+++ b/sd/source/ui/app/sdstring.src
@@ -1,7 +1,7 @@
/*************************************************************************
*
* 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
diff --git a/sd/source/ui/app/sdxfer.cxx b/sd/source/ui/app/sdxfer.cxx
index 3fd510215cdb..981e1c9cfdc7 100644
--- a/sd/source/ui/app/sdxfer.cxx
+++ b/sd/source/ui/app/sdxfer.cxx
@@ -2,7 +2,7 @@
/*************************************************************************
*
* 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
@@ -92,33 +92,33 @@ using namespace ::com::sun::star::datatransfer::clipboard;
// - Defines -
// -----------
-#define SDTRANSFER_OBJECTTYPE_DRAWMODEL 0x00000001
-#define SDTRANSFER_OBJECTTYPE_DRAWOLE 0x00000002
+#define SDTRANSFER_OBJECTTYPE_DRAWMODEL 0x00000001
+#define SDTRANSFER_OBJECTTYPE_DRAWOLE 0x00000002
// ------------------
// - SdTransferable -
// ------------------
SdTransferable::SdTransferable( SdDrawDocument* pSrcDoc, ::sd::View* pWorkView, BOOL bInitOnGetData )
-: mpPageDocShell( NULL )
-, mpOLEDataHelper( NULL )
-, mpObjDesc( NULL )
-, mpSdView( pWorkView )
-, mpSdViewIntern( pWorkView )
-, mpSdDrawDocument( NULL )
-, mpSdDrawDocumentIntern( NULL )
-, mpSourceDoc( pSrcDoc )
-, mpVDev( NULL )
-, mpBookmark( NULL )
-, mpGraphic( NULL )
-, mpImageMap( NULL )
-, mbInternalMove( FALSE )
-, mbOwnDocument( FALSE )
-, mbOwnView( FALSE )
-, mbLateInit( bInitOnGetData )
-, mbPageTransferable( FALSE )
-, mbPageTransferablePersistent( FALSE )
-, mbIsUnoObj( false )
+: mpPageDocShell( NULL )
+, mpOLEDataHelper( NULL )
+, mpObjDesc( NULL )
+, mpSdView( pWorkView )
+, mpSdViewIntern( pWorkView )
+, mpSdDrawDocument( NULL )
+, mpSdDrawDocumentIntern( NULL )
+, mpSourceDoc( pSrcDoc )
+, mpVDev( NULL )
+, mpBookmark( NULL )
+, mpGraphic( NULL )
+, mpImageMap( NULL )
+, mbInternalMove( FALSE )
+, mbOwnDocument( FALSE )
+, mbOwnView( FALSE )
+, mbLateInit( bInitOnGetData )
+, mbPageTransferable( FALSE )
+, mbPageTransferablePersistent( FALSE )
+, mbIsUnoObj( false )
{
if( mpSourceDoc )
StartListening( *mpSourceDoc );
@@ -224,8 +224,8 @@ void SdTransferable::CreateObjectReplacement( SdrObject* pObj )
if( !xPropSet.is() )
return;
- ::com::sun::star::form::FormButtonType eButtonType;
- Any aTmp( xPropSet->getPropertyValue( ::rtl::OUString( RTL_CONSTASCII_USTRINGPARAM( "ButtonType" ) ) ) );
+ ::com::sun::star::form::FormButtonType eButtonType;
+ Any aTmp( xPropSet->getPropertyValue( ::rtl::OUString( RTL_CONSTASCII_USTRINGPARAM( "ButtonType" ) ) ) );
if( aTmp >>= eButtonType )
{
@@ -260,7 +260,7 @@ void SdTransferable::CreateObjectReplacement( SdrObject* pObj )
}
}
- SdIMapInfo* pInfo = static_cast< SdDrawDocument* >( pObj->GetModel() )->GetIMapInfo( static_cast< SdrObject* >( pObj ) );
+ SdIMapInfo* pInfo = static_cast< SdDrawDocument* >( pObj->GetModel() )->GetIMapInfo( static_cast< SdrObject* >( pObj ) );
if( pInfo )
mpImageMap = new ImageMap( pInfo->GetImageMap() );
@@ -313,13 +313,13 @@ void SdTransferable::CreateData()
}
// Groesse der Source-Seite uebernehmen
- SdrPageView* pPgView = mpSdView->GetSdrPageView();
- SdPage* pOldPage = (SdPage*) pPgView->GetPage();
- SdrModel* pOldModel = mpSdView->GetModel();
- SdStyleSheetPool* pOldStylePool = (SdStyleSheetPool*) pOldModel->GetStyleSheetPool();
- SdStyleSheetPool* pNewStylePool = (SdStyleSheetPool*) mpSdDrawDocumentIntern->GetStyleSheetPool();
- SdPage* pPage = mpSdDrawDocumentIntern->GetSdPage( 0, PK_STANDARD );
- String aOldLayoutName( pOldPage->GetLayoutName() );
+ SdrPageView* pPgView = mpSdView->GetSdrPageView();
+ SdPage* pOldPage = (SdPage*) pPgView->GetPage();
+ SdrModel* pOldModel = mpSdView->GetModel();
+ SdStyleSheetPool* pOldStylePool = (SdStyleSheetPool*) pOldModel->GetStyleSheetPool();
+ SdStyleSheetPool* pNewStylePool = (SdStyleSheetPool*) mpSdDrawDocumentIntern->GetStyleSheetPool();
+ SdPage* pPage = mpSdDrawDocumentIntern->GetSdPage( 0, PK_STANDARD );
+ String aOldLayoutName( pOldPage->GetLayoutName() );
pPage->SetSize( pOldPage->GetSize() );
pPage->SetLayoutName( aOldLayoutName );
@@ -336,12 +336,12 @@ void SdTransferable::CreateData()
mpSdDrawDocumentIntern && mpSdViewIntern &&
mpSdDrawDocumentIntern->GetPageCount() )
{
- SdPage* pPage = mpSdDrawDocumentIntern->GetSdPage( 0, PK_STANDARD );
+ SdPage* pPage = mpSdDrawDocumentIntern->GetSdPage( 0, PK_STANDARD );
if( 1 == mpSdDrawDocumentIntern->GetPageCount() )
{
- Point aOrigin( ( maVisArea = mpSdViewIntern->GetAllMarkedRect() ).TopLeft() );
- Size aVector( -aOrigin.X(), -aOrigin.Y() );
+ Point aOrigin( ( maVisArea = mpSdViewIntern->GetAllMarkedRect() ).TopLeft() );
+ Size aVector( -aOrigin.X(), -aOrigin.Y() );
for( ULONG nObj = 0, nObjCount = pPage->GetObjCount(); nObj < nObjCount; nObj++ )
{
@@ -421,8 +421,8 @@ void SdTransferable::AddSupportedFormats()
{
AddFormat( SOT_FORMATSTR_ID_EMBED_SOURCE );
- DataFlavorExVector aVector( mpOLEDataHelper->GetDataFlavorExVector() );
- DataFlavorExVector::iterator aIter( aVector.begin() ), aEnd( aVector.end() );
+ DataFlavorExVector aVector( mpOLEDataHelper->GetDataFlavorExVector() );
+ DataFlavorExVector::iterator aIter( aVector.begin() ), aEnd( aVector.end() );
while( aIter != aEnd )
AddFormat( *aIter++ );
@@ -476,8 +476,8 @@ sal_Bool SdTransferable::GetData( const DataFlavor& rFlavor )
if (SD_MOD()==NULL)
return sal_False;
- sal_uInt32 nFormat = SotExchange::GetFormat( rFlavor );
- sal_Bool bOK = sal_False;
+ sal_uInt32 nFormat = SotExchange::GetFormat( rFlavor );
+ sal_Bool bOK = sal_False;
CreateData();
@@ -866,7 +866,7 @@ sal_Bool SdTransferable::SetTableRTF( SdDrawDocument* pModel, const DataFlavor&
if( pTableObj )
{
SvMemoryStream aMemStm( 65535, 65535 );
- sdr::table::SdrTableObj::ExportAsRTF( aMemStm, *pTableObj );
+ sdr::table::SdrTableObj::ExportAsRTF( aMemStm, *pTableObj );
return SetAny( Any( Sequence< sal_Int8 >( reinterpret_cast< const sal_Int8* >( aMemStm.GetData() ), aMemStm.Seek( STREAM_SEEK_TO_END ) ) ), rFlavor );
}
}
diff --git a/sd/source/ui/app/strings.src b/sd/source/ui/app/strings.src
index bb1199fdd352..1ba0df667e1d 100755
--- a/sd/source/ui/app/strings.src
+++ b/sd/source/ui/app/strings.src
@@ -1,7 +1,7 @@
/*************************************************************************
*
* 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
@@ -1237,7 +1237,7 @@ String RID_ANNOTATIONS_START
};
String STR_RESET_LAYOUT
{
- Text[ en-US ] = "Reset Slide Layout";
+ Text[ en-US ] = "Reset Slide Layout";
};
String STR_INSERT_TABLE
diff --git a/sd/source/ui/app/tbx_ww.src b/sd/source/ui/app/tbx_ww.src
index 67e62be0f1be..91336d5a93ef 100644
--- a/sd/source/ui/app/tbx_ww.src
+++ b/sd/source/ui/app/tbx_ww.src
@@ -1,7 +1,7 @@
/*************************************************************************
*
* 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
diff --git a/sd/source/ui/app/tbxids_tmpl.src b/sd/source/ui/app/tbxids_tmpl.src
index 90fd733434a7..4da4f604034d 100644
--- a/sd/source/ui/app/tbxids_tmpl.src
+++ b/sd/source/ui/app/tbxids_tmpl.src
@@ -1,7 +1,7 @@
/*************************************************************************
*
* 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
diff --git a/sd/source/ui/app/tbxww.cxx b/sd/source/ui/app/tbxww.cxx
index 4d2855cfb831..6effd23482d9 100644
--- a/sd/source/ui/app/tbxww.cxx
+++ b/sd/source/ui/app/tbxww.cxx
@@ -2,7 +2,7 @@
/*************************************************************************
*
* 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
@@ -38,7 +38,7 @@
#include <sfx2/imagemgr.hxx>
#include <rtl/ustring.hxx>
#include <rtl/ustrbuf.hxx>
-
+
#include "sddll.hxx"
#include "GraphicDocShell.hxx"
@@ -62,11 +62,11 @@ SFX_IMPL_TOOLBOX_CONTROL( SdTbxControl, TbxImageItem )
SdPopupWindowTbx::SdPopupWindowTbx( USHORT nId, WindowAlign eAlign,
SdResId aRIdWin, SdResId aRIdTbx,
SfxBindings& rBindings ) :
- SfxPopupWindow ( nId, aRIdWin, rBindings ),
+ SfxPopupWindow ( nId, aRIdWin, rBindings ),
aTbx ( this, GetBindings(), aRIdTbx ),
aSdResIdWin ( aRIdWin ),
aSdResIdTbx ( aRIdTbx ),
- eTbxAlign ( eAlign )
+ eTbxAlign ( eAlign )
{
aTbx.UseDefault();
aSelectLink = aTbx.GetToolBox().GetSelectHdl();
@@ -78,7 +78,7 @@ SdPopupWindowTbx::SdPopupWindowTbx( USHORT nId, WindowAlign eAlign,
{
if ( aSdResIdWin.GetId() != RID_TEXT )
aTbx.GetToolBox().SetAlign( WINDOWALIGN_LEFT );
-
+
SetText( String() );
}
@@ -178,7 +178,7 @@ IMPL_LINK( SdPopupWindowTbx, TbxSelectHdl, ToolBox*, pBox)
if ( pBox->GetModifier() & KEY_MOD1 )
{
- // #99013# if selected with control key, return focus to current view
+ // #99013# if selected with control key, return focus to current view
Window* pShellWnd = SfxViewShell::Current()->GetWindow();
if ( pShellWnd )
pShellWnd->GrabFocus();
@@ -215,7 +215,7 @@ SfxPopupWindowType SdTbxControl::GetPopupWindowType() const
|*
\************************************************************************/
-SfxPopupWindow* SdTbxControl::CreatePopupWindow()
+SfxPopupWindow* SdTbxControl::CreatePopupWindow()
{
SfxPopupWindow *pWin = NULL;
rtl::OUString aToolBarResStr;
@@ -271,10 +271,10 @@ SfxPopupWindow* SdTbxControl::CreatePopupWindow()
aToolBarResStr = aTbxResName.makeStringAndClear();
break;
}
-
+
if ( aToolBarResStr.getLength() > 0 )
createAndPositionSubToolBar( aToolBarResStr );
-
+
return( pWin );
}
@@ -304,7 +304,7 @@ void SdTbxControl::StateChanged( USHORT nSId,
{
rtl::OUString aSlotURL( RTL_CONSTASCII_USTRINGPARAM( "slot:" ));
aSlotURL += rtl::OUString::valueOf( sal_Int32( nImage ));
- Image aImage = GetImage( m_xFrame,
+ Image aImage = GetImage( m_xFrame,
aSlotURL,
hasBigImages(),
GetToolBox().GetSettings().GetStyleSettings().GetHighContrastMode() );
diff --git a/sd/source/ui/app/tmplctrl.cxx b/sd/source/ui/app/tmplctrl.cxx
index 427b639ba56f..be9994227cc2 100644
--- a/sd/source/ui/app/tmplctrl.cxx
+++ b/sd/source/ui/app/tmplctrl.cxx
@@ -2,7 +2,7 @@
/*************************************************************************
*
* 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
@@ -53,10 +53,10 @@ class TemplatePopup_Impl : public PopupMenu
public:
TemplatePopup_Impl();
- USHORT GetCurId() const { return nCurId; }
+ USHORT GetCurId() const { return nCurId; }
private:
- USHORT nCurId;
+ USHORT nCurId;
virtual void Select();
};
@@ -132,13 +132,13 @@ void SdTemplateControl::Command( const CommandEvent& rCEvt )
TemplatePopup_Impl aPop;
{
const USHORT nMasterCount = pDoc->GetMasterSdPageCount(PK_STANDARD);
-
+
USHORT nCount = 0;
for( USHORT nPage = 0; nPage < nMasterCount; ++nPage )
{
SdPage* pMaster = pDoc->GetMasterSdPage(nPage, PK_STANDARD);
if( pMaster )
- aPop.InsertItem( ++nCount, pMaster->GetName() );
+ aPop.InsertItem( ++nCount, pMaster->GetName() );
}
aPop.Execute( &GetStatusBar(), rCEvt.GetMousePosPixel());
diff --git a/sd/source/ui/app/toolbox.src b/sd/source/ui/app/toolbox.src
index a3446a2c58b4..945bb0b0aae9 100644
--- a/sd/source/ui/app/toolbox.src
+++ b/sd/source/ui/app/toolbox.src
@@ -1,7 +1,7 @@
/*************************************************************************
*
* 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
diff --git a/sd/source/ui/app/toolbox2_tmpl.src b/sd/source/ui/app/toolbox2_tmpl.src
index d5033cef9127..c2122678f6b9 100644
--- a/sd/source/ui/app/toolbox2_tmpl.src
+++ b/sd/source/ui/app/toolbox2_tmpl.src
@@ -1,7 +1,7 @@
/*************************************************************************
*
* 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
diff --git a/sd/source/ui/controller/slidelayoutcontroller.cxx b/sd/source/ui/controller/slidelayoutcontroller.cxx
index cf7bbf6d44e5..63da1472370f 100644
--- a/sd/source/ui/controller/slidelayoutcontroller.cxx
+++ b/sd/source/ui/controller/slidelayoutcontroller.cxx
@@ -24,7 +24,7 @@
* <http://www.openoffice.org/license.html>
* for a copy of the LGPLv3 License.
*
- ************************************************************************/
+ ************************************************************************/
// MARKER(update_precomp.py): autogen include statement, do not remove
#include "precompiled_sd.hxx"
@@ -137,15 +137,15 @@ static snewfoil_value_info standard[] =
{
{BMP_LAYOUT_EMPTY, BMP_LAYOUT_EMPTY_H, STR_AUTOLAYOUT_NONE, WritingMode_LR_TB, AUTOLAYOUT_NONE},
{BMP_LAYOUT_HEAD03, BMP_LAYOUT_HEAD03_H, STR_AUTOLAYOUT_TITLE, WritingMode_LR_TB, AUTOLAYOUT_TITLE},
- {BMP_LAYOUT_HEAD02, BMP_LAYOUT_HEAD02_H, STR_AUTOLAYOUT_CONTENT, WritingMode_LR_TB, AUTOLAYOUT_ENUM},
+ {BMP_LAYOUT_HEAD02, BMP_LAYOUT_HEAD02_H, STR_AUTOLAYOUT_CONTENT, WritingMode_LR_TB, AUTOLAYOUT_ENUM},
{BMP_LAYOUT_HEAD02A, BMP_LAYOUT_HEAD02A_H, STR_AUTOLAYOUT_2CONTENT, WritingMode_LR_TB, AUTOLAYOUT_2TEXT},
- {BMP_LAYOUT_HEAD01, BMP_LAYOUT_HEAD01_H, STR_AUTOLAYOUT_ONLY_TITLE, WritingMode_LR_TB, AUTOLAYOUT_ONLY_TITLE},
+ {BMP_LAYOUT_HEAD01, BMP_LAYOUT_HEAD01_H, STR_AUTOLAYOUT_ONLY_TITLE, WritingMode_LR_TB, AUTOLAYOUT_ONLY_TITLE},
{BMP_LAYOUT_TEXTONLY, BMP_LAYOUT_TEXTONLY_H, STR_AUTOLAYOUT_ONLY_TEXT, WritingMode_LR_TB, AUTOLAYOUT_ONLY_TEXT},
{BMP_LAYOUT_HEAD03B, BMP_LAYOUT_HEAD03B_H, STR_AUTOLAYOUT_2CONTENT_CONTENT, WritingMode_LR_TB, AUTOLAYOUT_2OBJTEXT},
{BMP_LAYOUT_HEAD03C, BMP_LAYOUT_HEAD03C_H, STR_AUTOLAYOUT_CONTENT_2CONTENT, WritingMode_LR_TB, AUTOLAYOUT_TEXT2OBJ},
- {BMP_LAYOUT_HEAD03A, BMP_LAYOUT_HEAD03A_H, STR_AUTOLAYOUT_2CONTENT_OVER_CONTENT,WritingMode_LR_TB, AUTOLAYOUT_2OBJOVERTEXT},
+ {BMP_LAYOUT_HEAD03A, BMP_LAYOUT_HEAD03A_H, STR_AUTOLAYOUT_2CONTENT_OVER_CONTENT,WritingMode_LR_TB, AUTOLAYOUT_2OBJOVERTEXT},
{BMP_LAYOUT_HEAD02B, BMP_LAYOUT_HEAD02B_H, STR_AUTOLAYOUT_CONTENT_OVER_CONTENT, WritingMode_LR_TB, AUTOLAYOUT_OBJOVERTEXT},
- {BMP_LAYOUT_HEAD04, BMP_LAYOUT_HEAD04_H, STR_AUTOLAYOUT_4CONTENT, WritingMode_LR_TB, AUTOLAYOUT_4OBJ},
+ {BMP_LAYOUT_HEAD04, BMP_LAYOUT_HEAD04_H, STR_AUTOLAYOUT_4CONTENT, WritingMode_LR_TB, AUTOLAYOUT_4OBJ},
{BMP_LAYOUT_HEAD06, BMP_LAYOUT_HEAD06_H, STR_AUTOLAYOUT_6CONTENT, WritingMode_LR_TB, AUTOLAYOUT_6CLIPART},
{0, 0, 0, WritingMode_LR_TB, AUTOLAYOUT_NONE}
};
@@ -208,7 +208,7 @@ LayoutToolbarMenu::LayoutToolbarMenu( SlideLayoutController& rController, const
String aTitle1( SdResId( STR_GLUE_ESCDIR_HORZ ) );
String aTitle2( SdResId( STR_GLUE_ESCDIR_VERT ) );
-
+
const bool bHighContrast = GetSettings().GetStyleSettings().GetHighContrastMode();
SvtLanguageOptions aLanguageOptions;
const bool bVerticalEnabled = aLanguageOptions.IsVerticalTextEnabled();
@@ -244,7 +244,7 @@ LayoutToolbarMenu::LayoutToolbarMenu( SlideLayoutController& rController, const
if( bVerticalEnabled && (eMode == DrawViewMode_DRAW) )
{
mpLayoutSet2 = new ValueSet( this, WB_TABSTOP | WB_MENUSTYLEVALUESET | WB_FLATVALUESET | WB_NOBORDER | WB_NO_DIRECTSELECT );
- // mpLayoutSet2->SetHelpId( HID_VALUESET_EXTRUSION_LIGHTING );
+ // mpLayoutSet2->SetHelpId( HID_VALUESET_EXTRUSION_LIGHTING );
mpLayoutSet2->SetSelectHdl( LINK( this, LayoutToolbarMenu, SelectHdl ) );
mpLayoutSet2->SetColCount( 4 );
diff --git a/sd/source/ui/controller/slidelayoutcontroller.hxx b/sd/source/ui/controller/slidelayoutcontroller.hxx
index 44f995453108..be70c0289ae3 100644
--- a/sd/source/ui/controller/slidelayoutcontroller.hxx
+++ b/sd/source/ui/controller/slidelayoutcontroller.hxx
@@ -24,7 +24,7 @@
* <http://www.openoffice.org/license.html>
* for a copy of the LGPLv3 License.
*
- ************************************************************************/
+ ************************************************************************/
#ifndef __SD_SLIDELAYOUTCONTROLLER_HXX_
#define __SD_SLIDELAYOUTCONTROLLER_HXX_
@@ -43,7 +43,7 @@ public:
// XServiceInfo
virtual ::rtl::OUString SAL_CALL getImplementationName() throw( ::com::sun::star::uno::RuntimeException );
- virtual ::com::sun::star::uno::Sequence< ::rtl::OUString > SAL_CALL getSupportedServiceNames() throw( ::com::sun::star::uno::RuntimeException );
+ virtual ::com::sun::star::uno::Sequence< ::rtl::OUString > SAL_CALL getSupportedServiceNames() throw( ::com::sun::star::uno::RuntimeException );
using svt::PopupWindowController::createPopupWindow;
private:
diff --git a/sd/source/ui/dlg/AnimationChildWindow.cxx b/sd/source/ui/dlg/AnimationChildWindow.cxx
index fda2cf2355cf..31653a407cfe 100644
--- a/sd/source/ui/dlg/AnimationChildWindow.cxx
+++ b/sd/source/ui/dlg/AnimationChildWindow.cxx
@@ -2,7 +2,7 @@
/*************************************************************************
*
* 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
@@ -52,7 +52,7 @@ AnimationChildWindow::AnimationChildWindow(
::Window* _pParent,
USHORT nId,
SfxBindings* pBindings,
- SfxChildWinInfo* pInfo )
+ SfxChildWinInfo* pInfo )
: SfxChildWindow( _pParent, nId )
{
AnimationWindow* pAnimWin = new AnimationWindow(
diff --git a/sd/source/ui/dlg/LayerDialog.src b/sd/source/ui/dlg/LayerDialog.src
index 9d620d8e595f..2bf8e8b9fe18 100644
--- a/sd/source/ui/dlg/LayerDialog.src
+++ b/sd/source/ui/dlg/LayerDialog.src
@@ -1,7 +1,7 @@
/*************************************************************************
*
* 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
diff --git a/sd/source/ui/dlg/LayerDialogChildWindow.cxx b/sd/source/ui/dlg/LayerDialogChildWindow.cxx
index 7a309a0a828b..1e07b179d524 100644
--- a/sd/source/ui/dlg/LayerDialogChildWindow.cxx
+++ b/sd/source/ui/dlg/LayerDialogChildWindow.cxx
@@ -2,7 +2,7 @@
/*************************************************************************
*
* 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
@@ -56,15 +56,15 @@ LayerDialogChildWindow::LayerDialogChildWindow (
::Window* _pParent,
USHORT nId,
SfxBindings* pBindings,
- SfxChildWinInfo* pInfo)
+ SfxChildWinInfo* pInfo)
: SfxChildWindow (_pParent, nId)
{
ViewShellBase& rBase (*ViewShellBase::GetViewShellBase(
pBindings->GetDispatcher()->GetFrame()));
LayerDialogContent* pContent = new LayerDialogContent (
- pBindings,
- this,
- _pParent,
+ pBindings,
+ this,
+ _pParent,
SdResId( FLT_WIN_LAYER_DIALOG),
rBase);
pWindow = pContent;
diff --git a/sd/source/ui/dlg/LayerDialogContent.cxx b/sd/source/ui/dlg/LayerDialogContent.cxx
index 408b76555112..dfc592219249 100644
--- a/sd/source/ui/dlg/LayerDialogContent.cxx
+++ b/sd/source/ui/dlg/LayerDialogContent.cxx
@@ -2,7 +2,7 @@
/*************************************************************************
*
* 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
diff --git a/sd/source/ui/dlg/LayerTabBar.cxx b/sd/source/ui/dlg/LayerTabBar.cxx
index aafacced28b1..7e59d971cbbb 100644
--- a/sd/source/ui/dlg/LayerTabBar.cxx
+++ b/sd/source/ui/dlg/LayerTabBar.cxx
@@ -2,7 +2,7 @@
/*************************************************************************
*
* 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
@@ -64,7 +64,7 @@ namespace sd {
|*
\************************************************************************/
-LayerTabBar::LayerTabBar(DrawViewShell* pViewSh, Window* pParent)
+LayerTabBar::LayerTabBar(DrawViewShell* pViewSh, Window* pParent)
: TabBar( pParent, WinBits( WB_BORDER | WB_3DLOOK | WB_SCROLL | WB_SIZEABLE ) ),
DropTargetHelper( this ),
pDrViewSh(pViewSh)
@@ -77,9 +77,9 @@ LayerTabBar::LayerTabBar(DrawViewShell* pViewSh, Window* pParent)
LayerTabBar::LayerTabBar (
- DrawViewShell* pViewSh,
- Window* pParent,
- const ResId& rResId)
+ DrawViewShell* pViewSh,
+ Window* pParent,
+ const ResId& rResId)
: TabBar (pParent, rResId.GetWinBits()),
DropTargetHelper( this ),
pDrViewSh(pViewSh)
@@ -168,14 +168,14 @@ sal_Int8 LayerTabBar::AcceptDrop( const AcceptDropEvent& rEvt )
{
sal_Int8 nRet = DND_ACTION_NONE;
- if( rEvt.mbLeaving )
+ if( rEvt.mbLeaving )
EndSwitchPage();
if( !pDrViewSh->GetDocSh()->IsReadOnly() )
{
- USHORT nPageId = SDRPAGE_NOTFOUND;
- Point aPos( PixelToLogic( rEvt.maPosPixel ) );
- USHORT nLayerId = pDrViewSh->GetView()->GetDoc()->GetLayerAdmin().GetLayerID( GetPageText( GetPageId( aPos ) ), FALSE );
+ USHORT nPageId = SDRPAGE_NOTFOUND;
+ Point aPos( PixelToLogic( rEvt.maPosPixel ) );
+ USHORT nLayerId = pDrViewSh->GetView()->GetDoc()->GetLayerAdmin().GetLayerID( GetPageText( GetPageId( aPos ) ), FALSE );
nRet = pDrViewSh->AcceptDrop( rEvt, *this, NULL, nPageId, nLayerId );
@@ -193,9 +193,9 @@ sal_Int8 LayerTabBar::AcceptDrop( const AcceptDropEvent& rEvt )
sal_Int8 LayerTabBar::ExecuteDrop( const ExecuteDropEvent& rEvt )
{
- USHORT nPageId = SDRPAGE_NOTFOUND;
- USHORT nLayerId = pDrViewSh->GetView()->GetDoc()->GetLayerAdmin().GetLayerID( GetPageText( GetPageId( PixelToLogic( rEvt.maPosPixel ) ) ), FALSE );
- sal_Int8 nRet = pDrViewSh->ExecuteDrop( rEvt, *this, NULL, nPageId, nLayerId );
+ USHORT nPageId = SDRPAGE_NOTFOUND;
+ USHORT nLayerId = pDrViewSh->GetView()->GetDoc()->GetLayerAdmin().GetLayerID( GetPageText( GetPageId( PixelToLogic( rEvt.maPosPixel ) ) ), FALSE );
+ sal_Int8 nRet = pDrViewSh->ExecuteDrop( rEvt, *this, NULL, nPageId, nLayerId );
EndSwitchPage();
@@ -357,7 +357,7 @@ void LayerTabBar::ActivatePage()
{
if ( /*IsInSwitching*/ 1 && pDrViewSh!=NULL)
{
-
+
SfxDispatcher* pDispatcher = pDrViewSh->GetViewFrame()->GetDispatcher();
pDispatcher->Execute(SID_SWITCHLAYER, SFX_CALLMODE_ASYNCHRON);
}
diff --git a/sd/source/ui/dlg/NavigatorChildWindow.cxx b/sd/source/ui/dlg/NavigatorChildWindow.cxx
index 8ab4fe4ef1a1..bf32e60def0d 100644
--- a/sd/source/ui/dlg/NavigatorChildWindow.cxx
+++ b/sd/source/ui/dlg/NavigatorChildWindow.cxx
@@ -2,7 +2,7 @@
/*************************************************************************
*
* 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
@@ -43,7 +43,7 @@ NavigatorChildWindow::NavigatorChildWindow (
::Window* pParent,
USHORT nId,
SfxBindings* pBindings,
- SfxChildWinInfo* )
+ SfxChildWinInfo* )
: SfxChildWindowContext( nId )
{
SdNavigatorWin* pNavWin = new SdNavigatorWin( pParent, this,
diff --git a/sd/source/ui/dlg/PaneChildWindows.cxx b/sd/source/ui/dlg/PaneChildWindows.cxx
index ddb86fee797c..95437b2a512b 100644
--- a/sd/source/ui/dlg/PaneChildWindows.cxx
+++ b/sd/source/ui/dlg/PaneChildWindows.cxx
@@ -2,7 +2,7 @@
/*************************************************************************
*
* 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
@@ -63,17 +63,17 @@ SFX_IMPL_DOCKINGWINDOW( ToolPanelChildWindow, SID_TASKPANE)
PaneChildWindow::PaneChildWindow (
::Window* pParentWindow,
- USHORT nId,
- SfxBindings* pBindings,
+ USHORT nId,
+ SfxBindings* pBindings,
SfxChildWinInfo* pInfo,
const USHORT nDockWinTitleResId,
const USHORT nTitleBarResId,
- SfxChildAlignment eAlignment)
+ SfxChildAlignment eAlignment)
: SfxChildWindow (pParentWindow, nId)
{
pWindow = new PaneDockingWindow (
- pBindings,
- this,
+ pBindings,
+ this,
pParentWindow,
SdResId( nDockWinTitleResId ),
String( SdResId( nTitleBarResId ) ) );
@@ -111,9 +111,9 @@ PaneChildWindow::~PaneChildWindow (void)
LeftPaneImpressChildWindow::LeftPaneImpressChildWindow (
::Window* pParentWindow,
- USHORT nId,
- SfxBindings* pBindings,
- SfxChildWinInfo* pInfo)
+ USHORT nId,
+ SfxBindings* pBindings,
+ SfxChildWinInfo* pInfo)
: PaneChildWindow(
pParentWindow,
nId,
@@ -132,9 +132,9 @@ LeftPaneImpressChildWindow::LeftPaneImpressChildWindow (
LeftPaneDrawChildWindow::LeftPaneDrawChildWindow (
::Window* pParentWindow,
- USHORT nId,
- SfxBindings* pBindings,
- SfxChildWinInfo* pInfo)
+ USHORT nId,
+ SfxBindings* pBindings,
+ SfxChildWinInfo* pInfo)
: PaneChildWindow(
pParentWindow,
nId,
@@ -153,7 +153,7 @@ LeftPaneDrawChildWindow::LeftPaneDrawChildWindow (
//= ToolPanelChildWindow
//======================================================================================================================
//----------------------------------------------------------------------------------------------------------------------
-ToolPanelChildWindow::ToolPanelChildWindow( ::Window* i_pParentWindow, USHORT i_nId, SfxBindings* i_pBindings,
+ToolPanelChildWindow::ToolPanelChildWindow( ::Window* i_pParentWindow, USHORT i_nId, SfxBindings* i_pBindings,
SfxChildWinInfo* i_pChildWindowInfo )
:PaneChildWindow( i_pParentWindow, i_nId, i_pBindings, i_pChildWindowInfo,
FLT_TOOL_PANEL_DOCKING_WINDOW, STR_RIGHT_PANE_TITLE, SFX_ALIGN_RIGHT )
diff --git a/sd/source/ui/dlg/PaneDockingWindow.cxx b/sd/source/ui/dlg/PaneDockingWindow.cxx
index 3187781f775d..a6eafa15f232 100644
--- a/sd/source/ui/dlg/PaneDockingWindow.cxx
+++ b/sd/source/ui/dlg/PaneDockingWindow.cxx
@@ -2,7 +2,7 @@
/*************************************************************************
*
* 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
diff --git a/sd/source/ui/dlg/PaneDockingWindow.src b/sd/source/ui/dlg/PaneDockingWindow.src
index 23b0d19ac79b..0b366e142bd5 100755
--- a/sd/source/ui/dlg/PaneDockingWindow.src
+++ b/sd/source/ui/dlg/PaneDockingWindow.src
@@ -1,7 +1,7 @@
/*************************************************************************
*
* 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
@@ -29,7 +29,7 @@
DockingWindow FLT_LEFT_PANE_IMPRESS_DOCKING_WINDOW
{
- // HelpID = SID_EFFECT_WIN ;
+ // HelpID = SID_EFFECT_WIN ;
Border = TRUE ;
Hide = TRUE ;
SVLook = TRUE ;
@@ -45,7 +45,7 @@ DockingWindow FLT_LEFT_PANE_IMPRESS_DOCKING_WINDOW
DockingWindow FLT_LEFT_PANE_DRAW_DOCKING_WINDOW
{
- // HelpID = SID_EFFECT_WIN ;
+ // HelpID = SID_EFFECT_WIN ;
Border = TRUE ;
Hide = TRUE ;
SVLook = TRUE ;
@@ -61,7 +61,7 @@ DockingWindow FLT_LEFT_PANE_DRAW_DOCKING_WINDOW
DockingWindow FLT_TOOL_PANEL_DOCKING_WINDOW
{
- // HelpID = SID_EFFECT_WIN ;
+ // HelpID = SID_EFFECT_WIN ;
Border = TRUE ;
Hide = TRUE ;
SVLook = TRUE ;
diff --git a/sd/source/ui/dlg/PaneShells.cxx b/sd/source/ui/dlg/PaneShells.cxx
index f5eead649139..1b6ae4f9ae23 100644
--- a/sd/source/ui/dlg/PaneShells.cxx
+++ b/sd/source/ui/dlg/PaneShells.cxx
@@ -2,7 +2,7 @@
/*************************************************************************
*
* 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
diff --git a/sd/source/ui/dlg/SpellDialogChildWindow.cxx b/sd/source/ui/dlg/SpellDialogChildWindow.cxx
index 890554efef6e..f3699d3a9216 100644
--- a/sd/source/ui/dlg/SpellDialogChildWindow.cxx
+++ b/sd/source/ui/dlg/SpellDialogChildWindow.cxx
@@ -2,7 +2,7 @@
/*************************************************************************
*
* 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
@@ -36,9 +36,9 @@
#include <sfx2/dispatch.hxx>
namespace sd{
-
+
SFX_IMPL_CHILDWINDOW(SpellDialogChildWindow, SID_SPELL_DIALOG)
-}
+}
#include "ViewShell.hxx"
#include "ViewShellBase.hxx"
@@ -51,9 +51,9 @@ SFX_IMPL_CHILDWINDOW(SpellDialogChildWindow, SID_SPELL_DIALOG)
namespace sd {
SpellDialogChildWindow::SpellDialogChildWindow (
- ::Window* _pParent,
+ ::Window* _pParent,
USHORT nId,
- SfxBindings* pBindings,
+ SfxBindings* pBindings,
SfxChildWinInfo* pInfo)
: ::svx::SpellDialogChildWindow (_pParent, nId, pBindings, pInfo),
mpSdOutliner (NULL),
diff --git a/sd/source/ui/dlg/TemplateScanner.cxx b/sd/source/ui/dlg/TemplateScanner.cxx
index 78bc6eb08766..b234c399f545 100644
--- a/sd/source/ui/dlg/TemplateScanner.cxx
+++ b/sd/source/ui/dlg/TemplateScanner.cxx
@@ -2,7 +2,7 @@
/*************************************************************************
*
* 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
@@ -49,7 +49,7 @@
using namespace ::com::sun::star;
using namespace ::com::sun::star::uno;
-namespace {
+namespace {
const ::rtl::OUString TITLE = ::rtl::OUString::createFromAscii ("Title");
const ::rtl::OUString TARGET_DIR_URL = ::rtl::OUString::createFromAscii ("TargetDirURL");
@@ -58,7 +58,7 @@ const ::rtl::OUString TARGET_URL = ::rtl::OUString::createFromAscii ("Targ
const ::rtl::OUString DOCTEMPLATES = ::rtl::OUString::createFromAscii ("com.sun.star.frame.DocumentTemplates");
-// These strings are used to find impress templates in the tree of
+// These strings are used to find impress templates in the tree of
// template files. Should probably be determined dynamically.
const ::rtl::OUString IMPRESS_BIN_TEMPLATE = ::rtl::OUString::createFromAscii ("application/vnd.stardivision.impress");
const ::rtl::OUString IMPRESS_XML_TEMPLATE = MIMETYPE_VND_SUN_XML_IMPRESS;
@@ -126,7 +126,7 @@ int Classify (const ::rtl::OUString&, const ::rtl::OUString& rsURL)
// highest priority.
nPriority = 10;
}
-
+
return nPriority;
}
@@ -135,7 +135,7 @@ int Classify (const ::rtl::OUString&, const ::rtl::OUString& rsURL)
-namespace sd
+namespace sd
{
class TemplateScanner::FolderDescriptorList
@@ -165,7 +165,7 @@ TemplateScanner::TemplateScanner (void)
TemplateScanner::~TemplateScanner (void)
{
mpFolderDescriptors.reset();
-
+
// Delete all entries of the template list that have not been
// transferred to another object.
std::vector<TemplateDir*>::iterator I;
@@ -180,7 +180,7 @@ TemplateScanner::~TemplateScanner (void)
TemplateScanner::State TemplateScanner::GetTemplateRoot (void)
{
State eNextState (INITIALIZE_FOLDER_SCANNING);
-
+
Reference<lang::XMultiServiceFactory> xFactory = ::comphelper::getProcessServiceFactory ();
DBG_ASSERT (xFactory.is(), "TemplateScanner::GetTemplateRoot: xFactory is NULL");
@@ -226,7 +226,7 @@ TemplateScanner::State TemplateScanner::InitializeEntryScanning (void)
}
else
eNextState = ERROR;
-
+
return eNextState;
}
@@ -257,7 +257,7 @@ TemplateScanner::State TemplateScanner::ScanEntry (void)
// first if necessary).
if ( (sContentType == MIMETYPE_OASIS_OPENDOCUMENT_PRESENTATION_TEMPLATE)
|| (sContentType == IMPRESS_XML_TEMPLATE_OASIS)
- || (sContentType == IMPRESS_BIN_TEMPLATE)
+ || (sContentType == IMPRESS_BIN_TEMPLATE)
|| (sContentType == IMPRESS_XML_TEMPLATE)
|| (sContentType == IMPRESS_XML_TEMPLATE_B))
{
@@ -286,7 +286,7 @@ TemplateScanner::State TemplateScanner::ScanEntry (void)
eNextState = SCAN_FOLDER;
}
}
-
+
return eNextState;
}
@@ -309,7 +309,7 @@ TemplateScanner::State TemplateScanner::InitializeFolderScanning (void)
Sequence<rtl::OUString> aProps (2);
aProps[0] = TITLE;
aProps[1] = TARGET_DIR_URL;
-
+
// Create an cursor to iterate over the template folders.
::ucbhelper::ResultSetInclude eInclude = ::ucbhelper::INCLUDE_FOLDERS_ONLY;
mxFolderResultSet = Reference<sdbc::XResultSet>(
@@ -331,7 +331,7 @@ TemplateScanner::State TemplateScanner::InitializeFolderScanning (void)
TemplateScanner::State TemplateScanner::GatherFolderList (void)
{
State eNextState (ERROR);
-
+
Reference<com::sun::star::ucb::XContentAccess> xContentAccess (mxFolderResultSet, UNO_QUERY);
if (xContentAccess.is() && mxFolderResultSet.is())
{
@@ -356,7 +356,7 @@ TemplateScanner::State TemplateScanner::GatherFolderList (void)
eNextState = SCAN_FOLDER;
}
-
+
return eNextState;
}
@@ -375,7 +375,7 @@ TemplateScanner::State TemplateScanner::ScanFolder (void)
::rtl::OUString sTitle (aDescriptor.msTitle);
::rtl::OUString sTargetDir (aDescriptor.msTargetDir);
::rtl::OUString aId (aDescriptor.msContentIdentifier);
-
+
maFolderContent = ::ucbhelper::Content (aId, aDescriptor.mxFolderEnvironment);
if (maFolderContent.isFolder())
{
@@ -393,7 +393,7 @@ TemplateScanner::State TemplateScanner::ScanFolder (void)
{
eNextState = DONE;
}
-
+
return eNextState;
}
@@ -440,7 +440,7 @@ void TemplateScanner::RunNextStep (void)
case INITIALIZE_ENTRY_SCAN:
meState = InitializeEntryScanning();
break;
-
+
case SCAN_ENTRY:
meState = ScanEntry();
break;
diff --git a/sd/source/ui/dlg/animobjs.cxx b/sd/source/ui/dlg/animobjs.cxx
index d515d3255b2c..48ece79563bf 100644
--- a/sd/source/ui/dlg/animobjs.cxx
+++ b/sd/source/ui/dlg/animobjs.cxx
@@ -2,7 +2,7 @@
/*************************************************************************
*
* 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
@@ -31,7 +31,7 @@
#include <com/sun/star/presentation/AnimationEffect.hpp>
#include <com/sun/star/presentation/AnimationSpeed.hpp>
-#define _ANIMATION //animation freischalten
+#define _ANIMATION //animation freischalten
#define _SV_BITMAPEX
#include <svx/xoutbmp.hxx>
@@ -66,7 +66,7 @@ using namespace ::com::sun::star;
namespace sd {
/*************************************************************************
-|* SdDisplay - Control
+|* SdDisplay - Control
\************************************************************************/
SdDisplay::SdDisplay( Window* pWin, SdResId Id ) :
@@ -134,14 +134,14 @@ void SdDisplay::DataChanged( const DataChangedEvent& rDCEvt )
{
const StyleSettings& rStyles = Application::GetSettings().GetStyleSettings();
SetBackground( Wallpaper( Color( rStyles.GetFieldColor() ) ) );
- SetDrawMode( GetSettings().GetStyleSettings().GetHighContrastMode()
- ? ViewShell::OUTPUT_DRAWMODE_CONTRAST
+ SetDrawMode( GetSettings().GetStyleSettings().GetHighContrastMode()
+ ? ViewShell::OUTPUT_DRAWMODE_CONTRAST
: ViewShell::OUTPUT_DRAWMODE_COLOR );
}
}
/*************************************************************************
-|* AnimationWindow - FloatingWindow
+|* AnimationWindow - FloatingWindow
\************************************************************************/
AnimationWindow::AnimationWindow( SfxBindings* pInBindings,
@@ -172,13 +172,13 @@ AnimationWindow::AnimationWindow( SfxBindings* pInBindings,
aBtnCreateGroup ( this, SdResId( BTN_CREATE_GROUP ) ),
aGrpAnimation ( this, SdResId( GRP_ANIMATION_GROUP ) ),
- pWin ( pParent ),
- pBitmapEx ( NULL ),
+ pWin ( pParent ),
+ pBitmapEx ( NULL ),
- bMovie ( FALSE ),
- bAllObjects ( FALSE ),
+ bMovie ( FALSE ),
+ bAllObjects ( FALSE ),
- pBindings ( pInBindings )
+ pBindings ( pInBindings )
{
FreeResource();
@@ -232,7 +232,7 @@ AnimationWindow::AnimationWindow( SfxBindings* pInBindings,
AnimationWindow::~AnimationWindow()
{
ULONG i, nCount;
-
+
delete pControllerItem;
// Bitmapliste bereinigen
@@ -430,7 +430,7 @@ IMPL_LINK( AnimationWindow, ClickGetObjectHdl, void *, pBtn )
// Code jetzt in AddObj()
SfxBoolItem aItem( SID_ANIMATOR_ADD, TRUE );
- GetBindings().GetDispatcher()->Execute(
+ GetBindings().GetDispatcher()->Execute(
SID_ANIMATOR_ADD, SFX_CALLMODE_SLOT | SFX_CALLMODE_RECORD, &aItem, 0L );
return( 0L );
}
@@ -439,7 +439,7 @@ IMPL_LINK( AnimationWindow, ClickGetObjectHdl, void *, pBtn )
IMPL_LINK( AnimationWindow, ClickRemoveBitmapHdl, void *, pBtn )
{
- SdPage* pPage = pMyDoc->GetSdPage(0, PK_STANDARD);
+ SdPage* pPage = pMyDoc->GetSdPage(0, PK_STANDARD);
SdrObject* pObject;
if( pBtn == &aBtnRemoveBitmap )
@@ -534,7 +534,7 @@ IMPL_LINK( AnimationWindow, ClickCreateGroupHdl, void *, EMPTYARG )
// Code jetzt in CreatePresObj()
SfxBoolItem aItem( SID_ANIMATOR_CREATE, TRUE );
- GetBindings().GetDispatcher()->Execute(
+ GetBindings().GetDispatcher()->Execute(
SID_ANIMATOR_CREATE, SFX_CALLMODE_SLOT | SFX_CALLMODE_RECORD, &aItem, 0L );
return( 0L );
}
@@ -586,11 +586,11 @@ void AnimationWindow::UpdateControl( ULONG nListPos, BOOL bDisableCtrls )
SdrObject* pObject = (SdrObject*) pPage->GetObj( (ULONG) nListPos );
if( pObject )
{
- VirtualDevice aVD;
- Rectangle aObjRect( pObject->GetCurrentBoundRect() );
- Size aObjSize( aObjRect.GetSize() );
- Point aOrigin( Point( -aObjRect.Left(), -aObjRect.Top() ) );
- MapMode aMap( aVD.GetMapMode() );
+ VirtualDevice aVD;
+ Rectangle aObjRect( pObject->GetCurrentBoundRect() );
+ Size aObjSize( aObjRect.GetSize() );
+ Point aOrigin( Point( -aObjRect.Left(), -aObjRect.Top() ) );
+ MapMode aMap( aVD.GetMapMode() );
aMap.SetMapUnit( MAP_100TH_MM );
aMap.SetOrigin( aOrigin );
aVD.SetMapMode( aMap );
@@ -598,7 +598,7 @@ void AnimationWindow::UpdateControl( ULONG nListPos, BOOL bDisableCtrls )
const StyleSettings& rStyles = Application::GetSettings().GetStyleSettings();
aVD.SetBackground( Wallpaper( rStyles.GetFieldColor() ) );
aVD.SetDrawMode( rStyles.GetHighContrastMode()
- ? ViewShell::OUTPUT_DRAWMODE_CONTRAST
+ ? ViewShell::OUTPUT_DRAWMODE_CONTRAST
: ViewShell::OUTPUT_DRAWMODE_COLOR );
aVD.Erase();
pObject->SingleObjectPainter( aVD ); // #110094#-17
@@ -855,7 +855,7 @@ BOOL AnimationWindow::Close()
{
SfxBoolItem aItem( SID_ANIMATION_OBJECTS, FALSE );
- GetBindings().GetDispatcher()->Execute(
+ GetBindings().GetDispatcher()->Execute(
SID_ANIMATION_OBJECTS, SFX_CALLMODE_ASYNCHRON | SFX_CALLMODE_RECORD, &aItem, 0L );
SfxDockingWindow::Close();
@@ -882,9 +882,9 @@ void AnimationWindow::AddObj (::sd::View& rView )
// Objekt(e) clonen und den/die Clone(s) in die Liste stellen
const SdrMarkList& rMarkList = rView.GetMarkedObjectList();
- ULONG nMarkCount = rMarkList.GetMarkCount();
- SdPage* pPage = pMyDoc->GetSdPage(0, PK_STANDARD);
- ULONG nCloneCount = pPage->GetObjCount();
+ ULONG nMarkCount = rMarkList.GetMarkCount();
+ SdPage* pPage = pMyDoc->GetSdPage(0, PK_STANDARD);
+ ULONG nCloneCount = pPage->GetObjCount();
if (nMarkCount > 0)
{
@@ -894,8 +894,8 @@ void AnimationWindow::AddObj (::sd::View& rView )
BOOL bAnimObj = FALSE;
if( nMarkCount == 1 )
{
- SdrMark* pMark = rMarkList.GetMark(0);
- SdrObject* pObject = pMark->GetMarkedSdrObj();
+ SdrMark* pMark = rMarkList.GetMark(0);
+ SdrObject* pObject = pMark->GetMarkedSdrObj();
SdAnimationInfo* pAnimInfo = rView.GetDoc()->GetAnimationInfo( pObject );
UINT32 nInv = pObject->GetObjInventor();
UINT16 nId = pObject->GetObjIdentifier();
@@ -903,8 +903,8 @@ void AnimationWindow::AddObj (::sd::View& rView )
// Animated Bitmap (GIF)
if( nInv == SdrInventor && nId == OBJ_GRAF && ( (SdrGrafObj*) pObject )->IsAnimated() )
{
- const SdrGrafObj* pGrafObj = (SdrGrafObj*) pObject;
- Graphic aGraphic( pGrafObj->GetTransformedGraphic() );
+ const SdrGrafObj* pGrafObj = (SdrGrafObj*) pObject;
+ Graphic aGraphic( pGrafObj->GetTransformedGraphic() );
USHORT nCount = 0;
if( aGraphic.IsAnimated() )
@@ -954,7 +954,7 @@ void AnimationWindow::AddObj (::sd::View& rView )
for( USHORT nObject = 0; nObject < pObjList->GetObjCount(); nObject++ )
{
SdrObject* pSnapShot = (SdrObject*) pObjList->GetObj( (ULONG) nObject );
-
+
pBitmapEx = new BitmapEx( SdrExchangeView::GetObjGraphic( pSnapShot->GetModel(), pSnapShot ).GetBitmapEx() );
aBmpExList.Insert( pBitmapEx, aBmpExList.GetCurPos() + 1 );
@@ -964,7 +964,7 @@ void AnimationWindow::AddObj (::sd::View& rView )
// Clone
pPage->InsertObject( pSnapShot->Clone(), aBmpExList.GetCurPos() + 1 );
-
+
// Weiterschalten der BitmapListe
aBmpExList.Next();
}
@@ -986,9 +986,9 @@ void AnimationWindow::AddObj (::sd::View& rView )
// ein einzelnes Objekt
if( nMarkCount == 1 && !bAnimObj )
{
- SdrMark* pMark = rMarkList.GetMark(0);
- SdrObject* pObject = pMark->GetMarkedSdrObj();
- SdrObject* pClone = pObject->Clone();
+ SdrMark* pMark = rMarkList.GetMark(0);
+ SdrObject* pObject = pMark->GetMarkedSdrObj();
+ SdrObject* pClone = pObject->Clone();
pPage->InsertObject(pClone, aBmpExList.GetCurPos() + 1);
}
// mehrere Objekte: die Clones zu einer Gruppe zusammenfassen
@@ -1018,7 +1018,7 @@ void AnimationWindow::AddObj (::sd::View& rView )
else
{
SdrObjGroup* pCloneGroup = new SdrObjGroup;
- SdrObjList* pObjList = pCloneGroup->GetSubList();
+ SdrObjList* pObjList = pCloneGroup->GetSubList();
for (ULONG nObject= 0; nObject < nMarkCount; nObject++)
pObjList->InsertObject(rMarkList.GetMark(nObject)->GetMarkedSdrObj()->Clone(), LIST_APPEND);
@@ -1051,23 +1051,23 @@ void AnimationWindow::CreateAnimObj (::sd::View& rView )
DBG_ASSERT( pOutWin, "Window ist nicht vorhanden!" );
// die Fentermitte ermitteln
- const MapMode aMap100( MAP_100TH_MM );
- Size aMaxSizeLog;
- Size aMaxSizePix;
- Size aTemp( pOutWin->GetOutputSizePixel() );
- const Point aWindowCenter( pOutWin->PixelToLogic( Point( aTemp.Width() >> 1, aTemp.Height() >> 1 ) ) );
- const OutputDevice* pDefDev = Application::GetDefaultDevice();
- const ULONG nCount = aBmpExList.Count();
- BitmapAdjustment eBA = (BitmapAdjustment) aLbAdjustment.GetSelectEntryPos();
+ const MapMode aMap100( MAP_100TH_MM );
+ Size aMaxSizeLog;
+ Size aMaxSizePix;
+ Size aTemp( pOutWin->GetOutputSizePixel() );
+ const Point aWindowCenter( pOutWin->PixelToLogic( Point( aTemp.Width() >> 1, aTemp.Height() >> 1 ) ) );
+ const OutputDevice* pDefDev = Application::GetDefaultDevice();
+ const ULONG nCount = aBmpExList.Count();
+ BitmapAdjustment eBA = (BitmapAdjustment) aLbAdjustment.GetSelectEntryPos();
ULONG i;
// Groesste Bitmap ermitteln
for( i = 0; i < nCount; i++ )
{
const BitmapEx& rBmpEx = *static_cast< BitmapEx* >( aBmpExList.GetObject( i ) );
- const Graphic aGraphic( rBmpEx );
- Size aTmpSizeLog;
- const Size aTmpSizePix( rBmpEx.GetSizePixel() );
+ const Graphic aGraphic( rBmpEx );
+ Size aTmpSizeLog;
+ const Size aTmpSizePix( rBmpEx.GetSizePixel() );
if ( aGraphic.GetPrefMapMode().GetMapUnit() == MAP_PIXEL )
aTmpSizeLog = pDefDev->PixelToLogic( aGraphic.GetPrefSize(), aMap100 );
@@ -1086,8 +1086,8 @@ void AnimationWindow::CreateAnimObj (::sd::View& rView )
if( aRbtBitmap.IsChecked() )
{
// Bitmapgruppe erzeugen (Animated GIF)
- Animation aAnimation;
- Point aPt;
+ Animation aAnimation;
+ Point aPt;
for( i = 0; i < nCount; i++ )
{
@@ -1147,7 +1147,7 @@ void AnimationWindow::CreateAnimObj (::sd::View& rView )
AnimationBitmap aAnimBmp;
long nLoopCount = 0L;
USHORT nPos = aLbLoopCount.GetSelectEntryPos();
-
+
if( nPos != LISTBOX_ENTRY_NOTFOUND && nPos != aLbLoopCount.GetEntryCount() - 1 ) // unendlich
nLoopCount = (long) aLbLoopCount.GetSelectEntry().ToInt32();
@@ -1164,7 +1164,7 @@ void AnimationWindow::CreateAnimObj (::sd::View& rView )
}
SdrGrafObj* pGrafObj = new SdrGrafObj( Graphic( aAnimation ) );
- const Point aOrg( aWindowCenter.X() - ( aMaxSizeLog.Width() >> 1 ), aWindowCenter.Y() - ( aMaxSizeLog.Height() >> 1 ) );
+ const Point aOrg( aWindowCenter.X() - ( aMaxSizeLog.Width() >> 1 ), aWindowCenter.Y() - ( aMaxSizeLog.Height() >> 1 ) );
pGrafObj->SetLogicRect( Rectangle( aOrg, aMaxSizeLog ) );
rView.InsertObjectAtView( pGrafObj, *pPV, SDRINSERT_SETDEFLAYER);
@@ -1285,7 +1285,7 @@ void AnimationWindow::DataChanged( const DataChangedEvent& rDCEvt )
AnimationControllerItem::AnimationControllerItem(
USHORT _nId,
AnimationWindow* pAnimWin,
- SfxBindings* _pBindings)
+ SfxBindings* _pBindings)
: SfxControllerItem( _nId, *_pBindings ),
pAnimationWin( pAnimWin )
{
diff --git a/sd/source/ui/dlg/animobjs.src b/sd/source/ui/dlg/animobjs.src
index d631dcaba2b2..8387555f680e 100644
--- a/sd/source/ui/dlg/animobjs.src
+++ b/sd/source/ui/dlg/animobjs.src
@@ -1,7 +1,7 @@
/*************************************************************************
*
* 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
diff --git a/sd/source/ui/dlg/assclass.cxx b/sd/source/ui/dlg/assclass.cxx
index c7c545ff62eb..258341b3fa8b 100644
--- a/sd/source/ui/dlg/assclass.cxx
+++ b/sd/source/ui/dlg/assclass.cxx
@@ -2,7 +2,7 @@
/*************************************************************************
*
* 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
diff --git a/sd/source/ui/dlg/brkdlg.cxx b/sd/source/ui/dlg/brkdlg.cxx
index c69bf134c047..0c3f78d2699c 100644
--- a/sd/source/ui/dlg/brkdlg.cxx
+++ b/sd/source/ui/dlg/brkdlg.cxx
@@ -2,7 +2,7 @@
/*************************************************************************
*
* 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
@@ -58,21 +58,21 @@ namespace sd {
\************************************************************************/
BreakDlg::BreakDlg(
- ::Window* pWindow,
- DrawView* _pDrView,
+ ::Window* pWindow,
+ DrawView* _pDrView,
DrawDocShell* pShell,
- ULONG nSumActionCount,
- ULONG nObjCount )
+ ULONG nSumActionCount,
+ ULONG nObjCount )
: SfxModalDialog ( pWindow, SdResId( DLG_BREAK ) ),
- aFtObjInfo ( this, SdResId( FT_OBJ_INFO ) ),
- aFtActInfo ( this, SdResId( FT_ACT_INFO ) ),
- aFtInsInfo ( this, SdResId( FT_INS_INFO ) ),
- aFiObjInfo ( this, SdResId( FI_OBJ_INFO ) ),
- aFiActInfo ( this, SdResId( FI_ACT_INFO ) ),
- aFiInsInfo ( this, SdResId( FI_INS_INFO ) ),
- aBtnCancel ( this, SdResId( BTN_CANCEL ) ),
- aLink ( LINK( this, BreakDlg, UpDate)),
- mpProgress ( NULL )
+ aFtObjInfo ( this, SdResId( FT_OBJ_INFO ) ),
+ aFtActInfo ( this, SdResId( FT_ACT_INFO ) ),
+ aFtInsInfo ( this, SdResId( FT_INS_INFO ) ),
+ aFiObjInfo ( this, SdResId( FI_OBJ_INFO ) ),
+ aFiActInfo ( this, SdResId( FI_ACT_INFO ) ),
+ aFiInsInfo ( this, SdResId( FI_INS_INFO ) ),
+ aBtnCancel ( this, SdResId( BTN_CANCEL ) ),
+ aLink ( LINK( this, BreakDlg, UpDate)),
+ mpProgress ( NULL )
{
aBtnCancel.SetClickHdl( LINK( this, BreakDlg, CancelButtonHdl));
diff --git a/sd/source/ui/dlg/brkdlg.src b/sd/source/ui/dlg/brkdlg.src
index bf9b2d29c651..73092421ccf3 100644
--- a/sd/source/ui/dlg/brkdlg.src
+++ b/sd/source/ui/dlg/brkdlg.src
@@ -1,7 +1,7 @@
/*************************************************************************
*
* 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
diff --git a/sd/source/ui/dlg/celltempl.cxx b/sd/source/ui/dlg/celltempl.cxx
index 574615781aaa..40af205e2d37 100644
--- a/sd/source/ui/dlg/celltempl.cxx
+++ b/sd/source/ui/dlg/celltempl.cxx
@@ -2,7 +2,7 @@
/*************************************************************************
*
* 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
diff --git a/sd/source/ui/dlg/celltempl.src b/sd/source/ui/dlg/celltempl.src
index 4bdd02a799c2..5236e0a1a0c9 100644
--- a/sd/source/ui/dlg/celltempl.src
+++ b/sd/source/ui/dlg/celltempl.src
@@ -1,7 +1,7 @@
/*************************************************************************
*
* 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
diff --git a/sd/source/ui/dlg/copydlg.cxx b/sd/source/ui/dlg/copydlg.cxx
index 0553159870df..a34144392363 100644
--- a/sd/source/ui/dlg/copydlg.cxx
+++ b/sd/source/ui/dlg/copydlg.cxx
@@ -2,7 +2,7 @@
/*************************************************************************
*
* 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
@@ -65,10 +65,10 @@ namespace sd {
\************************************************************************/
CopyDlg::CopyDlg(
- ::Window* pWindow,
+ ::Window* pWindow,
const SfxItemSet& rInAttrs,
- XColorTable* pColTab,
- ::sd::View* pInView )
+ XColorTable* pColTab,
+ ::sd::View* pInView )
: SfxModalDialog ( pWindow, SdResId( DLG_COPY ) ),
maFtCopies ( this, SdResId( FT_COPIES ) ),
maNumFldCopies ( this, SdResId( NUM_FLD_COPIES ) ),
@@ -94,10 +94,10 @@ CopyDlg::CopyDlg(
maBtnCancel ( this, SdResId( BTN_CANCEL ) ),
maBtnHelp ( this, SdResId( BTN_HELP ) ),
maBtnSetDefault ( this, SdResId( BTN_SET_DEFAULT ) ),
- mrOutAttrs ( rInAttrs ),
- mpColorTab ( pColTab ),
+ mrOutAttrs ( rInAttrs ),
+ mpColorTab ( pColTab ),
maUIScale(pInView->GetDoc()->GetUIScale()),
- mpView ( pInView )
+ mpView ( pInView )
{
FreeResource();
@@ -315,7 +315,7 @@ IMPL_LINK( CopyDlg, SetViewData, void*, EMPTYARG )
maUIScale, SFX_MAPUNIT_100TH_MM);
// Farb-Attribut setzen
- const SfxPoolItem* pPoolItem = NULL;
+ const SfxPoolItem* pPoolItem = NULL;
if( SFX_ITEM_SET == mrOutAttrs.GetItemState( ATTR_COPY_START_COLOR, TRUE, &pPoolItem ) )
{
Color aColor = ( ( const XColorItem* ) pPoolItem )->GetColorValue();
@@ -343,7 +343,7 @@ IMPL_LINK( CopyDlg, SetDefault, void*, EMPTYARG )
SetMetricValue( maMtrFldHeight, Fraction(nValue) / maUIScale, SFX_MAPUNIT_100TH_MM);
// Farb-Attribut setzen
- const SfxPoolItem* pPoolItem = NULL;
+ const SfxPoolItem* pPoolItem = NULL;
if( SFX_ITEM_SET == mrOutAttrs.GetItemState( ATTR_COPY_START_COLOR, TRUE, &pPoolItem ) )
{
Color aColor = ( ( const XColorItem* ) pPoolItem )->GetColorValue();
diff --git a/sd/source/ui/dlg/copydlg.src b/sd/source/ui/dlg/copydlg.src
index 920be5e8df70..bf4f87ec5686 100644
--- a/sd/source/ui/dlg/copydlg.src
+++ b/sd/source/ui/dlg/copydlg.src
@@ -1,7 +1,7 @@
/*************************************************************************
*
* 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
diff --git a/sd/source/ui/dlg/custsdlg.cxx b/sd/source/ui/dlg/custsdlg.cxx
index 48fe8772aa9e..fe6c7b4be398 100644
--- a/sd/source/ui/dlg/custsdlg.cxx
+++ b/sd/source/ui/dlg/custsdlg.cxx
@@ -2,7 +2,7 @@
/*************************************************************************
*
* 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
@@ -56,22 +56,22 @@
\************************************************************************/
SdCustomShowDlg::SdCustomShowDlg( Window* pWindow,
SdDrawDocument& rDrawDoc ) :
- ModalDialog ( pWindow, SdResId( DLG_CUSTOMSHOW ) ),
+ ModalDialog ( pWindow, SdResId( DLG_CUSTOMSHOW ) ),
- aLbCustomShows ( this, SdResId( LB_CUSTOMSHOWS ) ),
+ aLbCustomShows ( this, SdResId( LB_CUSTOMSHOWS ) ),
aCbxUseCustomShow( this, SdResId( CBX_USE_CUSTOMSHOW ) ),
- aBtnNew ( this, SdResId( BTN_NEW ) ),
- aBtnEdit ( this, SdResId( BTN_EDIT ) ),
- aBtnRemove ( this, SdResId( BTN_REMOVE ) ),
- aBtnCopy ( this, SdResId( BTN_COPY ) ),
+ aBtnNew ( this, SdResId( BTN_NEW ) ),
+ aBtnEdit ( this, SdResId( BTN_EDIT ) ),
+ aBtnRemove ( this, SdResId( BTN_REMOVE ) ),
+ aBtnCopy ( this, SdResId( BTN_COPY ) ),
aBtnHelp ( this, SdResId( BTN_HELP ) ),
- aBtnStartShow ( this, SdResId( BTN_STARTSHOW ) ),
+ aBtnStartShow ( this, SdResId( BTN_STARTSHOW ) ),
aBtnOK ( this, SdResId( BTN_OK ) ),
- rDoc ( rDrawDoc ),
- pCustomShowList ( NULL ),
- pCustomShow ( NULL ),
- bModified ( FALSE )
+ rDoc ( rDrawDoc ),
+ pCustomShowList ( NULL ),
+ pCustomShow ( NULL ),
+ bModified ( FALSE )
{
FreeResource();
@@ -311,23 +311,23 @@ BOOL SdCustomShowDlg::IsCustomShow() const
\************************************************************************/
SdDefineCustomShowDlg::SdDefineCustomShowDlg( Window* pWindow,
SdDrawDocument& rDrawDoc, SdCustomShow*& rpCS ) :
- ModalDialog ( pWindow, SdResId( DLG_DEFINE_CUSTOMSHOW ) ),
-
- aFtName ( this, SdResId( FT_NAME ) ),
- aEdtName ( this, SdResId( EDT_NAME ) ),
- aFtPages ( this, SdResId( FT_PAGES ) ),
- aLbPages ( this, SdResId( LB_PAGES ) ),
- aBtnAdd ( this, SdResId( BTN_ADD ) ),
- aBtnRemove ( this, SdResId( BTN_REMOVE ) ),
- aFtCustomPages ( this, SdResId( FT_CUSTOM_PAGES ) ),
- aLbCustomPages ( this, SdResId( LB_CUSTOM_PAGES ) ),
+ ModalDialog ( pWindow, SdResId( DLG_DEFINE_CUSTOMSHOW ) ),
+
+ aFtName ( this, SdResId( FT_NAME ) ),
+ aEdtName ( this, SdResId( EDT_NAME ) ),
+ aFtPages ( this, SdResId( FT_PAGES ) ),
+ aLbPages ( this, SdResId( LB_PAGES ) ),
+ aBtnAdd ( this, SdResId( BTN_ADD ) ),
+ aBtnRemove ( this, SdResId( BTN_REMOVE ) ),
+ aFtCustomPages ( this, SdResId( FT_CUSTOM_PAGES ) ),
+ aLbCustomPages ( this, SdResId( LB_CUSTOM_PAGES ) ),
aBtnOK ( this, SdResId( BTN_OK ) ),
- aBtnCancel ( this, SdResId( BTN_CANCEL ) ),
+ aBtnCancel ( this, SdResId( BTN_CANCEL ) ),
aBtnHelp ( this, SdResId( BTN_HELP ) ),
- rDoc ( rDrawDoc ),
- rpCustomShow ( rpCS ),
- bModified ( FALSE )
+ rDoc ( rDrawDoc ),
+ rpCustomShow ( rpCS ),
+ bModified ( FALSE )
{
FreeResource();
diff --git a/sd/source/ui/dlg/custsdlg.src b/sd/source/ui/dlg/custsdlg.src
index c8c49e9c0d48..f5e4195b5a96 100644
--- a/sd/source/ui/dlg/custsdlg.src
+++ b/sd/source/ui/dlg/custsdlg.src
@@ -1,7 +1,7 @@
/*************************************************************************
*
* 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
diff --git a/sd/source/ui/dlg/diactrl.cxx b/sd/source/ui/dlg/diactrl.cxx
index 43452672cbd3..629193cdb1e3 100644
--- a/sd/source/ui/dlg/diactrl.cxx
+++ b/sd/source/ui/dlg/diactrl.cxx
@@ -2,7 +2,7 @@
/*************************************************************************
*
* 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
@@ -54,11 +54,11 @@ SFX_IMPL_TOOLBOX_CONTROL( SdTbxCtlDiaPages, SfxUInt16Item )
// SdPagesField
//========================================================================
-SdPagesField::SdPagesField( Window* pParent,
- const uno::Reference< frame::XFrame >& rFrame,
+SdPagesField::SdPagesField( Window* pParent,
+ const uno::Reference< frame::XFrame >& rFrame,
WinBits nBits ) :
- SvxMetricField ( pParent, rFrame, nBits ),
- m_xFrame ( rFrame )
+ SvxMetricField ( pParent, rFrame, nBits ),
+ m_xFrame ( rFrame )
{
String aStr( SdResId( STR_SLIDE_PLURAL ) );
SetCustomUnitText( aStr );
@@ -119,7 +119,7 @@ void SdPagesField::Modify()
rtl::OUString( RTL_CONSTASCII_USTRINGPARAM( ".uno:PagesPerRow" )),
aArgs );
/*
- rBindings.GetDispatcher()->Execute(
+ rBindings.GetDispatcher()->Execute(
SID_PAGES_PER_ROW, SFX_CALLMODE_SLOT | SFX_CALLMODE_RECORD, &aItem, 0L, 0L );
*/
}
@@ -164,7 +164,7 @@ void SdTbxCtlDiaPages::StateChanged( USHORT,
pItem = dynamic_cast< const SfxUInt16Item* >( pState );
DBG_ASSERT( pItem, "sd::SdTbxCtlDiaPages::StateChanged(), wrong item type!" );
}
-
+
pFld->UpdatePagesField( pItem );
}
}
diff --git a/sd/source/ui/dlg/dlg_char.src b/sd/source/ui/dlg/dlg_char.src
index e8d09c1c3170..a04db7cc2b44 100644
--- a/sd/source/ui/dlg/dlg_char.src
+++ b/sd/source/ui/dlg/dlg_char.src
@@ -1,7 +1,7 @@
/*************************************************************************
*
* 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
@@ -34,7 +34,7 @@ TabDialog TAB_CHAR
Size = MAP_APPFONT ( 289 , 176 ) ;
Text [ en-US ] = "Character" ;
Moveable = TRUE ;
- // Closeable = TRUE; // Dieser Dialog enthaelt OK und/oder Cancel Button (KH)
+ // Closeable = TRUE; // Dieser Dialog enthaelt OK und/oder Cancel Button (KH)
TabControl 1
{
OutputSize = TRUE ;
diff --git a/sd/source/ui/dlg/dlgass.cxx b/sd/source/ui/dlg/dlgass.cxx
index 5ef9531f1a07..e1b704245cb5 100644
--- a/sd/source/ui/dlg/dlgass.cxx
+++ b/sd/source/ui/dlg/dlgass.cxx
@@ -2,7 +2,7 @@
/*************************************************************************
*
* 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
@@ -161,16 +161,16 @@ public:
/** closes the current preview docshell */
void CloseDocShell();
- /** Extract form the history list of recently used files the impress
+ /** Extract form the history list of recently used files the impress
files and insert them into a listbox.
*/
- void ScanDocmenu (void);
- /** Flag that is set to TRUE after the recently used files have been
+ void ScanDocmenu (void);
+ /** Flag that is set to TRUE after the recently used files have been
scanned.
*/
BOOL mbRecentDocumentsReady;
- /** When the list of templates has not been scanned already this is done
+ /** When the list of templates has not been scanned already this is done
when this method is called. That includes requesting the whole list
of templates from UCB and extracting from that list the impress
templates and layouts and storing them for later use in
@@ -179,7 +179,7 @@ public:
*/
void ProvideTemplates (void);
- /** This method transfers the template folders from the template scanner
+ /** This method transfers the template folders from the template scanner
to the internal structures of this class. On termination it sets
the flag <member>mbTemplatesReady</member> to <TRUE/> to indicate
that the templates are available.
@@ -190,7 +190,7 @@ public:
*/
void TemplateScanDone (std::vector<TemplateDir*>& rTemplateFolders);
- /** Flag that is set to TRUE after the impress templates have been
+ /** Flag that is set to TRUE after the impress templates have been
scanned.
*/
BOOL mbTemplatesReady;
@@ -216,16 +216,16 @@ public:
String GetDocFileName();
String GetLayoutFileName();
- /// List of URLs of recently used impress files.
+ /// List of URLs of recently used impress files.
std::vector<String*> maOpenFilesList;
- /// List of folders containing data about impress templates.
+ /// List of folders containing data about impress templates.
std::vector<TemplateDir*> maPresentList;
- /// Currently selected template folder.
+ /// Currently selected template folder.
TemplateDir* mpTemplateRegion;
- /// Currently selected layout folder.
+ /// Currently selected layout folder.
TemplateDir* mpLayoutRegion;
// preview
@@ -288,73 +288,73 @@ public:
DECL_LINK( OpenButtonHdl, Button * );
// Common
- Assistent maAssistentFunc;
- CheckBox maPreviewFlag;
- CheckBox maStartWithFlag;
- HelpButton maHelpButton;
- CancelButton maCancelButton;
- PushButton maLastPageButton;
- NextButton maNextPageButton;
- OKButton maFinishButton;
- SdDocPreviewWin maPreview;
-
- String maCreateStr;
- String maOpenStr;
+ Assistent maAssistentFunc;
+ CheckBox maPreviewFlag;
+ CheckBox maStartWithFlag;
+ HelpButton maHelpButton;
+ CancelButton maCancelButton;
+ PushButton maLastPageButton;
+ NextButton maNextPageButton;
+ OKButton maFinishButton;
+ SdDocPreviewWin maPreview;
+
+ String maCreateStr;
+ String maOpenStr;
// Seite 1
- FixedBitmap* mpPage1FB;
- FixedLine* mpPage1ArtFL;
- RadioButton* mpPage1EmptyRB;
- RadioButton* mpPage1TemplateRB;
- ListBox* mpPage1RegionLB;
- ListBox* mpPage1TemplateLB;
- RadioButton* mpPage1OpenRB;
- ListBox* mpPage1OpenLB;
+ FixedBitmap* mpPage1FB;
+ FixedLine* mpPage1ArtFL;
+ RadioButton* mpPage1EmptyRB;
+ RadioButton* mpPage1TemplateRB;
+ ListBox* mpPage1RegionLB;
+ ListBox* mpPage1TemplateLB;
+ RadioButton* mpPage1OpenRB;
+ ListBox* mpPage1OpenLB;
PushButton* mpPage1OpenPB;
// Seite 2
- FixedBitmap* mpPage2FB;
- FixedLine* mpPage2LayoutFL;
- ListBox* mpPage2RegionLB;
- ListBox* mpPage2LayoutLB;
- FixedLine* mpPage2OutTypesFL;
- RadioButton* mpPage2Medium1RB;
- RadioButton* mpPage2Medium2RB;
- RadioButton* mpPage2Medium3RB;
- RadioButton* mpPage2Medium4RB;
- RadioButton* mpPage2Medium5RB;
+ FixedBitmap* mpPage2FB;
+ FixedLine* mpPage2LayoutFL;
+ ListBox* mpPage2RegionLB;
+ ListBox* mpPage2LayoutLB;
+ FixedLine* mpPage2OutTypesFL;
+ RadioButton* mpPage2Medium1RB;
+ RadioButton* mpPage2Medium2RB;
+ RadioButton* mpPage2Medium3RB;
+ RadioButton* mpPage2Medium4RB;
+ RadioButton* mpPage2Medium5RB;
// Seite 3
- FixedBitmap* mpPage3FB;
- FixedLine* mpPage3EffectFL;
- FixedText* mpPage3EffectFT;
- FadeEffectLB* mpPage3EffectLB;
- FixedText* mpPage3SpeedFT;
- ListBox* mpPage3SpeedLB;
- FixedLine* mpPage3PresTypeFL;
- RadioButton* mpPage3PresTypeLiveRB;
- RadioButton* mpPage3PresTypeKioskRB;
- FixedText* mpPage3PresTimeFT;
- TimeField* mpPage3PresTimeTMF;
- FixedText* mpPage3BreakFT;
- TimeField* mpPage3BreakTMF;
- CheckBox* mpPage3LogoCB;
+ FixedBitmap* mpPage3FB;
+ FixedLine* mpPage3EffectFL;
+ FixedText* mpPage3EffectFT;
+ FadeEffectLB* mpPage3EffectLB;
+ FixedText* mpPage3SpeedFT;
+ ListBox* mpPage3SpeedLB;
+ FixedLine* mpPage3PresTypeFL;
+ RadioButton* mpPage3PresTypeLiveRB;
+ RadioButton* mpPage3PresTypeKioskRB;
+ FixedText* mpPage3PresTimeFT;
+ TimeField* mpPage3PresTimeTMF;
+ FixedText* mpPage3BreakFT;
+ TimeField* mpPage3BreakTMF;
+ CheckBox* mpPage3LogoCB;
// Seite 4
- FixedBitmap* mpPage4FB;
- FixedLine* mpPage4PersonalFL;
- FixedText* mpPage4AskNameFT;
- Edit* mpPage4AskNameEDT;
- FixedText* mpPage4AskTopicFT;
- Edit* mpPage4AskTopicEDT;
- FixedText* mpPage4AskInfoFT;
- MultiLineEdit* mpPage4AskInfoEDT;
+ FixedBitmap* mpPage4FB;
+ FixedLine* mpPage4PersonalFL;
+ FixedText* mpPage4AskNameFT;
+ Edit* mpPage4AskNameEDT;
+ FixedText* mpPage4AskTopicFT;
+ Edit* mpPage4AskTopicEDT;
+ FixedText* mpPage4AskInfoFT;
+ MultiLineEdit* mpPage4AskInfoEDT;
// Seite 5
- FixedBitmap* mpPage5FB;
- FixedText* mpPage5PageListFT;
- SdPageListControl* mpPage5PageListCT;
- CheckBox* mpPage5SummaryCB;
+ FixedBitmap* mpPage5FB;
+ FixedText* mpPage5PageListFT;
+ SdPageListControl* mpPage5PageListCT;
+ CheckBox* mpPage5SummaryCB;
};
@@ -463,7 +463,7 @@ AssistentDlgImpl::AssistentDlgImpl( ::Window* pWindow, const Link& rFinishLink,
mpPage1OpenLB->SetSelectHdl(LINK(this,AssistentDlgImpl,SelectFileHdl));
mpPage1OpenLB->SetDoubleClickHdl(rFinishLink);
mpPage1OpenPB->SetClickHdl(LINK(this,AssistentDlgImpl,OpenButtonHdl));
- // mpPage1OpenLB->InsertEntry(String(SdResId(STR_WIZARD_POSITION)));
+ // mpPage1OpenLB->InsertEntry(String(SdResId(STR_WIZARD_POSITION)));
// Seite 2
maAssistentFunc.InsertControl(2, &maPreview );
@@ -529,7 +529,7 @@ AssistentDlgImpl::AssistentDlgImpl( ::Window* pWindow, const Link& rFinishLink,
mpPage3LogoCB = new CheckBox( pWindow, SdResId( CB_PAGE3_LOGO) ));
mpPage3EffectLB->Fill();
-// mpPage3EffectLB->SelectEffect( presentation::FadeEffect_NONE );
+// mpPage3EffectLB->SelectEffect( presentation::FadeEffect_NONE );
mpPage3EffectLB->SetSelectHdl( LINK(this,AssistentDlgImpl,SelectEffectHdl ));
mpPage3EffectLB->SetDropDownLineCount( 12 );
@@ -640,11 +640,11 @@ AssistentDlgImpl::AssistentDlgImpl( ::Window* pWindow, const Link& rFinishLink,
TemplateDir* pStandardTemplateDir = 0;
TemplateEntry* pStandardTemplateEntry = 0;
- std::vector<TemplateDir*>::iterator I;
+ std::vector<TemplateDir*>::iterator I;
for (I=maPresentList.begin(); I!=maPresentList.end(); I++)
{
TemplateDir* pDir = *I;
- std::vector<TemplateEntry*>::iterator J;
+ std::vector<TemplateEntry*>::iterator J;
for (J=pDir->maEntries.begin(); J!=pDir->maEntries.end(); J++)
{
TemplateEntry* pEntry = *J;
@@ -679,9 +679,9 @@ AssistentDlgImpl::~AssistentDlgImpl()
DeletePassords();
- // Delete the template file infos.
- std::vector<TemplateDir*>::iterator I;
- std::vector<TemplateEntry*>::iterator J;
+ // Delete the template file infos.
+ std::vector<TemplateDir*>::iterator I;
+ std::vector<TemplateEntry*>::iterator J;
for (I=maPresentList.begin(); I!=maPresentList.end(); I++)
{
for (J=(*I)->maEntries.begin(); J!=(*I)->maEntries.end(); J++)
@@ -744,8 +744,8 @@ AssistentDlgImpl::~AssistentDlgImpl()
delete mpPage5PageListCT;
delete mpPage5SummaryCB;
- // Delete the file history list.
- std::vector<String*>::iterator I2;
+ // Delete the file history list.
+ std::vector<String*>::iterator I2;
for (I2=maOpenFilesList.begin(); I2!=maOpenFilesList.end(); I2++)
delete *I2;
}
@@ -779,7 +779,7 @@ void AssistentDlgImpl::EndDialog( long )
-void AssistentDlgImpl::ScanDocmenu (void)
+void AssistentDlgImpl::ScanDocmenu (void)
{
if( mbRecentDocumentsReady )
return;
@@ -798,12 +798,12 @@ void AssistentDlgImpl::ScanDocmenu (void)
sal_uInt32 nCount = aHistory.getLength();
for (sal_uInt32 nItem=0; nItem<nCount; ++nItem)
{
- // Get the current history item's properties.
+ // Get the current history item's properties.
uno::Sequence<beans::PropertyValue> aPropertySet = aHistory[nItem];
- rtl::OUString sURL;
- rtl::OUString sFilter;
- rtl::OUString sTitle;
- rtl::OUString sPassword;
+ rtl::OUString sURL;
+ rtl::OUString sFilter;
+ rtl::OUString sTitle;
+ rtl::OUString sPassword;
sal_uInt32 nPropertyCount = aPropertySet.getLength();
for (sal_uInt32 nProperty=0; nProperty<nPropertyCount; ++nProperty)
if (aPropertySet[nProperty].Name == HISTORY_PROPERTYNAME_URL)
@@ -815,8 +815,8 @@ void AssistentDlgImpl::ScanDocmenu (void)
else if (aPropertySet[nProperty].Name == HISTORY_PROPERTYNAME_PASSWORD)
aPropertySet[nProperty].Value >>= sPassword;
- // If the entry is an impress file then insert it into the
- // history list and the list box.
+ // If the entry is an impress file then insert it into the
+ // history list and the list box.
uno::Sequence< beans::PropertyValue > lProps;
if (xFilterFactory->hasByName(sFilter))
{
@@ -885,17 +885,17 @@ void AssistentDlgImpl::ProvideTemplates (void)
void AssistentDlgImpl::TemplateScanDone (
std::vector<TemplateDir*>& rTemplateFolder)
{
- // This method is called from a thread. Therefore we get the solar mutex.
+ // This method is called from a thread. Therefore we get the solar mutex.
SolarMutexGuard aGuard;
// Copy the contents of the given template folders to a local list.
maPresentList.swap (rTemplateFolder);
- // Fill in the list box on the first page.
+ // Fill in the list box on the first page.
int nFirstEntry = 0;
mpPage1RegionLB->Clear();
- std::vector<TemplateDir*>::iterator I;
- int i;
+ std::vector<TemplateDir*>::iterator I;
+ int i;
for (i=0,I=maPresentList.begin(); I!=maPresentList.end(); I++,i++)
{
TemplateDir* pDir = *I;
@@ -918,7 +918,7 @@ void AssistentDlgImpl::TemplateScanDone (
mpPage1RegionLB->Update();
SelectTemplateRegion (mpPage1RegionLB->GetSelectEntry());
- // Fill in the list box on the second page.
+ // Fill in the list box on the second page.
nFirstEntry = 0;
mpPage2RegionLB->Clear();
for (i=0,I=maPresentList.begin(); I!=maPresentList.end(); I++,i++)
@@ -943,7 +943,7 @@ void AssistentDlgImpl::TemplateScanDone (
mpPage2RegionLB->Update();
SelectLayoutRegion (mpPage2RegionLB->GetSelectEntry());
- // Make the changes visible.
+ // Make the changes visible.
mbTemplatesReady = TRUE;
if (mpWindow)
UpdatePage();
@@ -1041,8 +1041,8 @@ String AssistentDlgImpl::GetLayoutFileName()
SfxObjectShellLock AssistentDlgImpl::GetDocument()
{
-// mbPreview = FALSE; // Document nicht anzeigen
- UpdatePreview(FALSE); // aber komplett laden
+// mbPreview = FALSE; // Document nicht anzeigen
+ UpdatePreview(FALSE); // aber komplett laden
UpdatePageList();
SfxObjectShell* pShell = xDocShell;
@@ -1083,7 +1083,7 @@ SfxObjectShellLock AssistentDlgImpl::GetDocument()
{
// diese Seite loeschen
pDoc->DeletePage( (nPgRelNum << 1) + 2 ); // Notizseite loeschen
- pDoc->DeletePage( (nPgRelNum << 1) + 1 ); // Seite loeschen
+ pDoc->DeletePage( (nPgRelNum << 1) + 1 ); // Seite loeschen
}
nPgAbsNum++;
@@ -1377,14 +1377,14 @@ IMPL_LINK( AssistentDlgImpl, UpdateUserDataHdl, Edit*, EMPTYARG )
void AssistentDlgImpl::SelectTemplateRegion( const String& rRegion )
{
mpPage1TemplateLB->Clear();
- std::vector<TemplateDir*>::iterator I;
+ std::vector<TemplateDir*>::iterator I;
for (I=maPresentList.begin(); I!=maPresentList.end(); I++)
{
TemplateDir * pDir = *I;
mpTemplateRegion = *I;
if (pDir->msRegion.Equals( rRegion ) )
{
- std::vector<TemplateEntry*>::iterator J;
+ std::vector<TemplateEntry*>::iterator J;
for (J=pDir->maEntries.begin(); J!=pDir->maEntries.end(); J++)
mpPage1TemplateLB->InsertEntry ((*J)->msTitle);
mpPage1TemplateLB->Update();
@@ -1402,7 +1402,7 @@ void AssistentDlgImpl::SelectLayoutRegion( const String& rRegion )
{
mpPage2LayoutLB->Clear();
mpPage2LayoutLB->InsertEntry(String(SdResId(STR_WIZARD_ORIGINAL)));
- std::vector<TemplateDir*>::iterator I;
+ std::vector<TemplateDir*>::iterator I;
for (I=maPresentList.begin(); I!=maPresentList.end(); I++)
{
TemplateDir * pDir = *I;
@@ -1410,7 +1410,7 @@ void AssistentDlgImpl::SelectLayoutRegion( const String& rRegion )
if (pDir->msRegion.Equals (rRegion))
{
- std::vector<TemplateEntry*>::iterator J;
+ std::vector<TemplateEntry*>::iterator J;
for (J=pDir->maEntries.begin(); J!=pDir->maEntries.end(); J++)
mpPage2LayoutLB->InsertEntry ((*J)->msTitle);
mpPage2LayoutLB->Update();
@@ -1738,8 +1738,8 @@ void AssistentDlgImpl::DeletePassords()
BOOL AssistentDlgImpl::IsOwnFormat( const String& rPath )
{
- INetURLObject aURL( rPath );
- String aExt( aURL.GetFileExtension() );
+ INetURLObject aURL( rPath );
+ String aExt( aURL.GetFileExtension() );
DBG_ASSERT( aURL.GetProtocol() != INET_PROT_NOT_VALID, "invalid URL" );
diff --git a/sd/source/ui/dlg/dlgass.src b/sd/source/ui/dlg/dlgass.src
index b4c146eb0df2..2e3e0e3de643 100644
--- a/sd/source/ui/dlg/dlgass.src
+++ b/sd/source/ui/dlg/dlgass.src
@@ -1,7 +1,7 @@
/*************************************************************************
*
* 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
@@ -530,7 +530,7 @@ ModalDialog DLG_ASS
TabStop = TRUE ;
Text [ en-US ] = "~Create" ;
};
-
+
String STR_OPEN
{
Text [ en-US ] = "~Open";
diff --git a/sd/source/ui/dlg/dlgassim.cxx b/sd/source/ui/dlg/dlgassim.cxx
index c30e7a5d515e..721923405564 100644
--- a/sd/source/ui/dlg/dlgassim.cxx
+++ b/sd/source/ui/dlg/dlgassim.cxx
@@ -2,7 +2,7 @@
/*************************************************************************
*
* 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
@@ -96,7 +96,7 @@ SvLBoxEntry* SdPageListControl::InsertPage( const String& rPageName )
pEntry->AddItem( new SvLBoxButton( pEntry, SvLBoxButtonKind_enabledCheckbox,
0, m_pCheckButton));
- pEntry->AddItem( new SvLBoxContextBmp( pEntry, 0, Image(), Image(), 0)); // Sonst Puff!
+ pEntry->AddItem( new SvLBoxContextBmp( pEntry, 0, Image(), Image(), 0)); // Sonst Puff!
pEntry->AddItem( new SvLBoxString( pEntry, 0, rPageName ) );
GetModel()->Insert( pEntry );
@@ -108,7 +108,7 @@ void SdPageListControl::InsertTitle( SvLBoxEntry* pParent, const String& rTitle
{
SvLBoxEntry* pEntry = new SvLBoxEntry;
pEntry->AddItem( new SvLBoxString( pEntry, 0, String() ) );
- pEntry->AddItem( new SvLBoxContextBmp( pEntry, 0, Image(), Image(), 0)); // Sonst Puff!
+ pEntry->AddItem( new SvLBoxContextBmp( pEntry, 0, Image(), Image(), 0)); // Sonst Puff!
pEntry->AddItem( new SvLBoxString( pEntry, 0, rTitle ) );
GetModel()->Insert( pEntry,pParent );
}
@@ -135,7 +135,7 @@ void SdPageListControl::Fill( SdDrawDocument* pDoc )
for (ULONG nObject = 0; nObject < nObjectCount; nObject++)
{
SdrObject* pObject = pPage->GetObj(nObject);
- if (pObject->GetObjInventor() == SdrInventor && pObject->GetObjIdentifier() == OBJ_OUTLINETEXT)
+ if (pObject->GetObjInventor() == SdrInventor && pObject->GetObjIdentifier() == OBJ_OUTLINETEXT)
{
pTO = (SdrTextObj*)pObject;
break;
diff --git a/sd/source/ui/dlg/dlgassim.hxx b/sd/source/ui/dlg/dlgassim.hxx
index e4268144103a..190d7a91c2b7 100644
--- a/sd/source/ui/dlg/dlgassim.hxx
+++ b/sd/source/ui/dlg/dlgassim.hxx
@@ -2,7 +2,7 @@
/*************************************************************************
*
* 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
@@ -36,7 +36,7 @@
class SdPageListControl : public SvTreeListBox
{
private:
- SvLBoxButtonData* m_pCheckButton;
+ SvLBoxButtonData* m_pCheckButton;
SvLBoxEntry* InsertPage( const String& rPageName );
void InsertTitle( SvLBoxEntry* pEntry, const String& rTitle );
@@ -64,8 +64,8 @@ DECLARE_LIST( TemplateCacheInfoList, TemplateCacheInfo * )
class TemplateCacheDirEntry
{
public:
- String m_aPath;
- TemplateCacheInfoList m_aFiles;
+ String m_aPath;
+ TemplateCacheInfoList m_aFiles;
};
DECLARE_LIST( TemplateCacheDirEntryList, TemplateCacheDirEntry * )
diff --git a/sd/source/ui/dlg/dlgchar.cxx b/sd/source/ui/dlg/dlgchar.cxx
index e7d378ab6d85..6790729f5ab2 100644
--- a/sd/source/ui/dlg/dlgchar.cxx
+++ b/sd/source/ui/dlg/dlgchar.cxx
@@ -2,7 +2,7 @@
/*************************************************************************
*
* 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
@@ -53,8 +53,8 @@
SdCharDlg::SdCharDlg( Window* pParent, const SfxItemSet* pAttr,
const SfxObjectShell* pDocShell ) :
SfxTabDialog ( pParent, SdResId( TAB_CHAR ), pAttr ),
- rOutAttrs ( *pAttr ),
- rDocShell ( *pDocShell )
+ rOutAttrs ( *pAttr ),
+ rDocShell ( *pDocShell )
{
FreeResource();
diff --git a/sd/source/ui/dlg/dlgctrls.cxx b/sd/source/ui/dlg/dlgctrls.cxx
index 1e70497e6705..1b25d3044d3c 100644
--- a/sd/source/ui/dlg/dlgctrls.cxx
+++ b/sd/source/ui/dlg/dlgctrls.cxx
@@ -2,7 +2,7 @@
/*************************************************************************
*
* 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
@@ -46,8 +46,8 @@ struct FadeEffectLBImpl
std::vector< TransitionPresetPtr > maPresets;
};
-FadeEffectLB::FadeEffectLB( Window* pParent, SdResId Id )
-: ListBox( pParent, Id ),
+FadeEffectLB::FadeEffectLB( Window* pParent, SdResId Id )
+: ListBox( pParent, Id ),
mpImpl( new FadeEffectLBImpl )
{
}
diff --git a/sd/source/ui/dlg/dlgfield.cxx b/sd/source/ui/dlg/dlgfield.cxx
index 9a56a8c91d28..53daee505ad3 100644
--- a/sd/source/ui/dlg/dlgfield.cxx
+++ b/sd/source/ui/dlg/dlgfield.cxx
@@ -2,7 +2,7 @@
/*************************************************************************
*
* 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
@@ -62,18 +62,18 @@
SdModifyFieldDlg::SdModifyFieldDlg( Window* pWindow, const SvxFieldData* pInField, const SfxItemSet& rSet ) :
ModalDialog ( pWindow, SdResId( DLG_FIELD_MODIFY ) ),
- aRbtFix ( this, SdResId( RBT_FIX ) ),
- aRbtVar ( this, SdResId( RBT_VAR ) ),
- aGrpType ( this, SdResId( GRP_TYPE ) ),
+ aRbtFix ( this, SdResId( RBT_FIX ) ),
+ aRbtVar ( this, SdResId( RBT_VAR ) ),
+ aGrpType ( this, SdResId( GRP_TYPE ) ),
maFtLanguage( this, SdResId( FT_LANGUAGE ) ),
maLbLanguage( this, SdResId( LB_LANGUAGE ) ),
- aFtFormat ( this, SdResId( FT_FORMAT ) ),
- aLbFormat ( this, SdResId( LB_FORMAT ) ),
+ aFtFormat ( this, SdResId( FT_FORMAT ) ),
+ aLbFormat ( this, SdResId( LB_FORMAT ) ),
aBtnOK ( this, SdResId( BTN_OK ) ),
aBtnCancel ( this, SdResId( BTN_CANCEL ) ),
aBtnHelp ( this, SdResId( BTN_HELP ) ),
- maInputSet ( rSet ),
- pField ( pInField )
+ maInputSet ( rSet ),
+ pField ( pInField )
{
FreeResource();
@@ -100,7 +100,7 @@ SvxFieldData* SdModifyFieldDlg::GetField()
if( pField->ISA( SvxDateField ) )
{
const SvxDateField* pDateField = (const SvxDateField*) pField;
- SvxDateType eType;
+ SvxDateType eType;
SvxDateFormat eFormat;
if( aRbtFix.IsChecked() )
@@ -117,7 +117,7 @@ SvxFieldData* SdModifyFieldDlg::GetField()
else if( pField->ISA( SvxExtTimeField ) )
{
const SvxExtTimeField* pTimeField = (const SvxExtTimeField*) pField;
- SvxTimeType eType;
+ SvxTimeType eType;
SvxTimeFormat eFormat;
if( aRbtFix.IsChecked() )
@@ -134,7 +134,7 @@ SvxFieldData* SdModifyFieldDlg::GetField()
else if( pField->ISA( SvxExtFileField ) )
{
const SvxExtFileField* pFileField = (const SvxExtFileField*) pField;
- SvxFileType eType;
+ SvxFileType eType;
SvxFileFormat eFormat;
if( aRbtFix.IsChecked() )
@@ -163,7 +163,7 @@ SvxFieldData* SdModifyFieldDlg::GetField()
}
else if( pField->ISA( SvxAuthorField ) )
{
- SvxAuthorType eType;
+ SvxAuthorType eType;
SvxAuthorFormat eFormat;
if( aRbtFix.IsChecked() )
@@ -201,23 +201,23 @@ void SdModifyFieldDlg::FillFormatList()
const SvxDateField* pDateField = (const SvxDateField*) pField;
SvxDateField aDateField( *pDateField );
- //SVXDATEFORMAT_APPDEFAULT, // Wird nicht benutzt
- //SVXDATEFORMAT_SYSTEM, // Wird nicht benutzt
+ //SVXDATEFORMAT_APPDEFAULT, // Wird nicht benutzt
+ //SVXDATEFORMAT_SYSTEM, // Wird nicht benutzt
aLbFormat.InsertEntry( String( SdResId( STR_STANDARD_SMALL ) ) );
aLbFormat.InsertEntry( String( SdResId( STR_STANDARD_BIG ) ) );
SvNumberFormatter* pNumberFormatter = SD_MOD()->GetNumberFormatter();
- aDateField.SetFormat( SVXDATEFORMAT_A ); // 13.02.96
+ aDateField.SetFormat( SVXDATEFORMAT_A ); // 13.02.96
aLbFormat.InsertEntry( aDateField.GetFormatted( *pNumberFormatter, eLangType ) );
- aDateField.SetFormat( SVXDATEFORMAT_B ); // 13.02.1996
+ aDateField.SetFormat( SVXDATEFORMAT_B ); // 13.02.1996
aLbFormat.InsertEntry( aDateField.GetFormatted( *pNumberFormatter, eLangType ) );
- aDateField.SetFormat( SVXDATEFORMAT_C ); // 13.Feb 1996
+ aDateField.SetFormat( SVXDATEFORMAT_C ); // 13.Feb 1996
aLbFormat.InsertEntry( aDateField.GetFormatted( *pNumberFormatter, eLangType ) );
- aDateField.SetFormat( SVXDATEFORMAT_D ); // 13.Februar 1996
+ aDateField.SetFormat( SVXDATEFORMAT_D ); // 13.Februar 1996
aLbFormat.InsertEntry( aDateField.GetFormatted( *pNumberFormatter, eLangType ) );
- aDateField.SetFormat( SVXDATEFORMAT_E ); // Die, 13.Februar 1996
+ aDateField.SetFormat( SVXDATEFORMAT_E ); // Die, 13.Februar 1996
aLbFormat.InsertEntry( aDateField.GetFormatted( *pNumberFormatter, eLangType ) );
- aDateField.SetFormat( SVXDATEFORMAT_F ); // Dienstag, 13.Februar 1996
+ aDateField.SetFormat( SVXDATEFORMAT_F ); // Dienstag, 13.Februar 1996
aLbFormat.InsertEntry( aDateField.GetFormatted( *pNumberFormatter, eLangType ) );
aLbFormat.SelectEntryPos( (USHORT) ( pDateField->GetFormat() - 2 ) );
@@ -227,26 +227,26 @@ void SdModifyFieldDlg::FillFormatList()
const SvxExtTimeField* pTimeField = (const SvxExtTimeField*) pField;
SvxExtTimeField aTimeField( *pTimeField );
- //SVXTIMEFORMAT_APPDEFAULT, // Wird nicht benutzt
- //SVXTIMEFORMAT_SYSTEM, // Wird nicht benutzt
+ //SVXTIMEFORMAT_APPDEFAULT, // Wird nicht benutzt
+ //SVXTIMEFORMAT_SYSTEM, // Wird nicht benutzt
aLbFormat.InsertEntry( String( SdResId( STR_STANDARD_NORMAL ) ) );
SvNumberFormatter* pNumberFormatter = SD_MOD()->GetNumberFormatter();
- aTimeField.SetFormat( SVXTIMEFORMAT_24_HM ); // 13:49
+ aTimeField.SetFormat( SVXTIMEFORMAT_24_HM ); // 13:49
aLbFormat.InsertEntry( aTimeField.GetFormatted( *pNumberFormatter, eLangType ) );
- aTimeField.SetFormat( SVXTIMEFORMAT_24_HMS ); // 13:49:38
+ aTimeField.SetFormat( SVXTIMEFORMAT_24_HMS ); // 13:49:38
aLbFormat.InsertEntry( aTimeField.GetFormatted( *pNumberFormatter, eLangType ) );
- aTimeField.SetFormat( SVXTIMEFORMAT_24_HMSH ); // 13:49:38.78
+ aTimeField.SetFormat( SVXTIMEFORMAT_24_HMSH ); // 13:49:38.78
aLbFormat.InsertEntry( aTimeField.GetFormatted( *pNumberFormatter, eLangType ) );
- aTimeField.SetFormat( SVXTIMEFORMAT_12_HM ); // 01:49
+ aTimeField.SetFormat( SVXTIMEFORMAT_12_HM ); // 01:49
aLbFormat.InsertEntry( aTimeField.GetFormatted( *pNumberFormatter, eLangType ) );
- aTimeField.SetFormat( SVXTIMEFORMAT_12_HMS ); // 01:49:38
+ aTimeField.SetFormat( SVXTIMEFORMAT_12_HMS ); // 01:49:38
aLbFormat.InsertEntry( aTimeField.GetFormatted( *pNumberFormatter, eLangType ) );
- aTimeField.SetFormat( SVXTIMEFORMAT_12_HMSH ); // 01:49:38.78
+ aTimeField.SetFormat( SVXTIMEFORMAT_12_HMSH ); // 01:49:38.78
aLbFormat.InsertEntry( aTimeField.GetFormatted( *pNumberFormatter, eLangType ) );
- //SVXTIMEFORMAT_AM_HM, // 01:49 PM
- //SVXTIMEFORMAT_AM_HMS, // 01:49:38 PM
- //SVXTIMEFORMAT_AM_HMSH // 01:49:38.78 PM
+ //SVXTIMEFORMAT_AM_HM, // 01:49 PM
+ //SVXTIMEFORMAT_AM_HMS, // 01:49:38 PM
+ //SVXTIMEFORMAT_AM_HMSH // 01:49:38.78 PM
aLbFormat.SelectEntryPos( (USHORT) ( pTimeField->GetFormat() - 2 ) );
}
diff --git a/sd/source/ui/dlg/dlgfield.src b/sd/source/ui/dlg/dlgfield.src
index 5abcd9e8b9b7..679c21fffc77 100644
--- a/sd/source/ui/dlg/dlgfield.src
+++ b/sd/source/ui/dlg/dlgfield.src
@@ -1,7 +1,7 @@
/*************************************************************************
*
* 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
diff --git a/sd/source/ui/dlg/dlgolbul.cxx b/sd/source/ui/dlg/dlgolbul.cxx
index 2e8cc80dfd7b..ebef1d5df3e3 100644
--- a/sd/source/ui/dlg/dlgolbul.cxx
+++ b/sd/source/ui/dlg/dlgolbul.cxx
@@ -2,7 +2,7 @@
/*************************************************************************
*
* 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
@@ -72,10 +72,10 @@ OutlineBulletDlg::OutlineBulletDlg(
::Window* pParent,
const SfxItemSet* pAttr,
::sd::View* pView )
- : SfxTabDialog ( pParent, SdResId(TAB_OUTLINEBULLET) ),
- aInputSet ( *pAttr ),
- bTitle ( FALSE ),
- pSdView ( pView )
+ : SfxTabDialog ( pParent, SdResId(TAB_OUTLINEBULLET) ),
+ aInputSet ( *pAttr ),
+ bTitle ( FALSE ),
+ pSdView ( pView )
{
FreeResource();
@@ -166,8 +166,8 @@ OutlineBulletDlg::OutlineBulletDlg(
AddTabPage( RID_SVXPAGE_PICK_BULLET );
AddTabPage( RID_SVXPAGE_PICK_BMP );
- AddTabPage(RID_SVXPAGE_NUM_OPTIONS );
- AddTabPage(RID_SVXPAGE_NUM_POSITION );
+ AddTabPage(RID_SVXPAGE_NUM_OPTIONS );
+ AddTabPage(RID_SVXPAGE_NUM_POSITION );
}
diff --git a/sd/source/ui/dlg/dlgolbul.src b/sd/source/ui/dlg/dlgolbul.src
index 0f35c8b44d98..70b1f1070401 100644
--- a/sd/source/ui/dlg/dlgolbul.src
+++ b/sd/source/ui/dlg/dlgolbul.src
@@ -1,7 +1,7 @@
/*************************************************************************
*
* 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
diff --git a/sd/source/ui/dlg/dlgpage.cxx b/sd/source/ui/dlg/dlgpage.cxx
index 68ea6c328a32..bf2c61e750ee 100644
--- a/sd/source/ui/dlg/dlgpage.cxx
+++ b/sd/source/ui/dlg/dlgpage.cxx
@@ -2,7 +2,7 @@
/*************************************************************************
*
* 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
@@ -54,8 +54,8 @@
SdPageDlg::SdPageDlg( SfxObjectShell* pDocSh, Window* pParent, const SfxItemSet* pAttr, BOOL bAreaPage ) :
SfxTabDialog ( pParent, SdResId( TAB_PAGE ), pAttr ),
- mrOutAttrs ( *pAttr ),
- mpDocShell ( pDocSh )
+ mrOutAttrs ( *pAttr ),
+ mpDocShell ( pDocSh )
{
SvxColorTableItem aColorTableItem(*( (const SvxColorTableItem*)
( mpDocShell->GetItem( SID_COLOR_TABLE ) ) ) );
diff --git a/sd/source/ui/dlg/dlgpage.src b/sd/source/ui/dlg/dlgpage.src
index ea0c0e024f05..5cd4337995cf 100644
--- a/sd/source/ui/dlg/dlgpage.src
+++ b/sd/source/ui/dlg/dlgpage.src
@@ -1,7 +1,7 @@
/*************************************************************************
*
* 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
diff --git a/sd/source/ui/dlg/dlgsnap.cxx b/sd/source/ui/dlg/dlgsnap.cxx
index 9b42f8f48684..3f48ae326330 100644
--- a/sd/source/ui/dlg/dlgsnap.cxx
+++ b/sd/source/ui/dlg/dlgsnap.cxx
@@ -2,7 +2,7 @@
/*************************************************************************
*
* 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
@@ -54,9 +54,9 @@
\************************************************************************/
SdSnapLineDlg::SdSnapLineDlg(
- ::Window* pWindow,
+ ::Window* pWindow,
const SfxItemSet& rInAttrs,
- ::sd::View* pView)
+ ::sd::View* pView)
: ModalDialog (pWindow, SdResId(DLG_SNAPLINE)),
aFlPos (this, SdResId(FL_POSITION)),
aFtX (this, SdResId(FT_X)),
@@ -98,7 +98,7 @@ SdSnapLineDlg::SdSnapLineDlg(
SfxMapUnit ePoolUnit = pPool->GetMetric( SID_ATTR_FILL_HATCH );
// #i48497# Consider page origin
- SdrPageView* pPV = pView->GetSdrPageView();
+ SdrPageView* pPV = pView->GetSdrPageView();
Point aLeftTop(aWorkArea.Left()+1, aWorkArea.Top()+1);
pPV->LogicToPagePos(aLeftTop);
Point aRightBottom(aWorkArea.Right()-2, aWorkArea.Bottom()-2);
@@ -150,9 +150,9 @@ SdSnapLineDlg::SdSnapLineDlg(
IMPL_LINK( SdSnapLineDlg, ClickHdl, Button *, pBtn )
{
- if ( pBtn == &aRbPoint ) SetInputFields(TRUE, TRUE);
- else if ( pBtn == &aRbHorz ) SetInputFields(FALSE, TRUE);
- else if ( pBtn == &aRbVert ) SetInputFields(TRUE, FALSE);
+ if ( pBtn == &aRbPoint ) SetInputFields(TRUE, TRUE);
+ else if ( pBtn == &aRbHorz ) SetInputFields(FALSE, TRUE);
+ else if ( pBtn == &aRbVert ) SetInputFields(TRUE, FALSE);
else if ( pBtn == &aBtnDelete ) EndDialog(RET_SNAP_DELETE);
return 0;
@@ -168,9 +168,9 @@ void SdSnapLineDlg::GetAttr(SfxItemSet& rOutAttrs)
{
SnapKind eKind;
- if ( aRbHorz.IsChecked() ) eKind = SK_HORIZONTAL;
+ if ( aRbHorz.IsChecked() ) eKind = SK_HORIZONTAL;
else if ( aRbVert.IsChecked() ) eKind = SK_VERTICAL;
- else eKind = SK_POINT;
+ else eKind = SK_POINT;
nXValue = Fraction( GetCoreValue( aMtrFldX, SFX_MAPUNIT_100TH_MM) ) * aUIScale;
nYValue = Fraction( GetCoreValue( aMtrFldY, SFX_MAPUNIT_100TH_MM) ) * aUIScale;
diff --git a/sd/source/ui/dlg/dlgsnap.src b/sd/source/ui/dlg/dlgsnap.src
index 631034dd5879..43bdb414e63e 100644
--- a/sd/source/ui/dlg/dlgsnap.src
+++ b/sd/source/ui/dlg/dlgsnap.src
@@ -1,7 +1,7 @@
/*************************************************************************
*
* 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
diff --git a/sd/source/ui/dlg/docprev.cxx b/sd/source/ui/dlg/docprev.cxx
index 769ace5dead5..317b6a278d53 100644
--- a/sd/source/ui/dlg/docprev.cxx
+++ b/sd/source/ui/dlg/docprev.cxx
@@ -2,7 +2,7 @@
/*************************************************************************
*
* 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
@@ -145,8 +145,8 @@ void SdDocPreviewWin::Paint( const Rectangle& rRect )
{
SvtAccessibilityOptions aAccOptions;
bool bUseContrast = aAccOptions.GetIsForPagePreviews() && Application::GetSettings().GetStyleSettings().GetHighContrastMode();
- SetDrawMode( bUseContrast
- ? ::sd::ViewShell::OUTPUT_DRAWMODE_CONTRAST
+ SetDrawMode( bUseContrast
+ ? ::sd::ViewShell::OUTPUT_DRAWMODE_CONTRAST
: ::sd::ViewShell::OUTPUT_DRAWMODE_COLOR );
ImpPaint( pMetaFile, (VirtualDevice*)this );
@@ -172,7 +172,7 @@ void SdDocPreviewWin::startPreview()
{
if( !mxSlideShow.is() )
mxSlideShow = sd::SlideShow::Create( pDoc );
-
+
Reference< XDrawPage > xDrawPage( pPage->getUnoPage(), UNO_QUERY );
Reference< XAnimationNode > xAnimationNode;
@@ -231,10 +231,10 @@ void SdDocPreviewWin::updateViewSettings()
pMtf = new GDIMetaFile;
- VirtualDevice aVDev;
+ VirtualDevice aVDev;
- const Fraction aFrac( pDoc->GetScaleFraction() );
- const MapMode aMap( pDoc->GetScaleUnit(), Point(), aFrac, aFrac );
+ const Fraction aFrac( pDoc->GetScaleFraction() );
+ const MapMode aMap( pDoc->GetScaleUnit(), Point(), aFrac, aFrac );
aVDev.SetMapMode( aMap );
@@ -252,11 +252,11 @@ void SdDocPreviewWin::updateViewSettings()
pView->SetPageVisible( FALSE );
pView->ShowSdrPage( pPage );
- const Point aNewOrg( pPage->GetLftBorder(), pPage->GetUppBorder() );
+ const Point aNewOrg( pPage->GetLftBorder(), pPage->GetUppBorder() );
const Size aNewSize( aSize.Width() - pPage->GetLftBorder() - pPage->GetRgtBorder(),
aSize.Height() - pPage->GetUppBorder() - pPage->GetLwrBorder() );
const Rectangle aClipRect( aNewOrg, aNewSize );
- MapMode aVMap( aMap );
+ MapMode aVMap( aMap );
aVDev.Push();
aVMap.SetOrigin( Point( -aNewOrg.X(), -aNewOrg.Y() ) );
diff --git a/sd/source/ui/dlg/filedlg.cxx b/sd/source/ui/dlg/filedlg.cxx
index 3d49fe26dd24..de8eed06370b 100644
--- a/sd/source/ui/dlg/filedlg.cxx
+++ b/sd/source/ui/dlg/filedlg.cxx
@@ -61,7 +61,7 @@ namespace css = ::com::sun::star;
// --------------------------------------------------------------------
-// ----------- SdFileDialog_Imp ---------------------------
+// ----------- SdFileDialog_Imp ---------------------------
// --------------------------------------------------------------------
class SdFileDialog_Imp : public sfx2::FileDialogHelper
{
@@ -72,14 +72,14 @@ private:
friend class SdOpenSoundFileDialog;
- css::uno::Reference< css::ui::dialogs::XFilePickerControlAccess > mxControlAccess;
+ css::uno::Reference< css::ui::dialogs::XFilePickerControlAccess > mxControlAccess;
css::uno::Reference< css::media::XPlayer > mxPlayer;
ULONG mnPlaySoundEvent;
- BOOL mbUsableSelection;
- BOOL mbLabelPlaying;
+ BOOL mbUsableSelection;
+ BOOL mbLabelPlaying;
- void CheckSelectionState();
+ void CheckSelectionState();
DECL_LINK( PlayMusicHdl, void * );
@@ -88,13 +88,13 @@ private:
DECL_LINK( IsMusicStoppedHdl, void * );
public:
- SdFileDialog_Imp( const short nDialogType, sal_Bool bUsableSelection );
+ SdFileDialog_Imp( const short nDialogType, sal_Bool bUsableSelection );
~SdFileDialog_Imp();
- ErrCode Execute();
+ ErrCode Execute();
// overwritten from FileDialogHelper, to receive user feedback
- virtual void SAL_CALL ControlStateChanged( const css::ui::dialogs::FilePickerEvent& aEvent );
+ virtual void SAL_CALL ControlStateChanged( const css::ui::dialogs::FilePickerEvent& aEvent );
};
// ------------------------------------------------------------------------
@@ -228,7 +228,7 @@ void SdFileDialog_Imp::CheckSelectionState()
{
if( mbUsableSelection && mxControlAccess.is() )
{
- String aCurrFilter( GetCurrentFilter() );
+ String aCurrFilter( GetCurrentFilter() );
try
{
@@ -247,8 +247,8 @@ void SdFileDialog_Imp::CheckSelectionState()
}
//-----------------------------------------------------------------------------
-SdFileDialog_Imp::SdFileDialog_Imp( const short nDialogType,
- sal_Bool bUsableSelection ) :
+SdFileDialog_Imp::SdFileDialog_Imp( const short nDialogType,
+ sal_Bool bUsableSelection ) :
FileDialogHelper( nDialogType, 0 ),
mnPlaySoundEvent( 0 ),
mbUsableSelection( bUsableSelection ),
@@ -312,7 +312,7 @@ ErrCode SdFileDialog_Imp::Execute()
}
// --------------------------------------------------------------------
-// ----------- SdOpenSoundFileDialog -----------------------
+// ----------- SdOpenSoundFileDialog -----------------------
// --------------------------------------------------------------------
// these are simple forwarders
diff --git a/sd/source/ui/dlg/gluectrl.cxx b/sd/source/ui/dlg/gluectrl.cxx
index c906623d9e28..15c50b1ea111 100644
--- a/sd/source/ui/dlg/gluectrl.cxx
+++ b/sd/source/ui/dlg/gluectrl.cxx
@@ -2,7 +2,7 @@
#/*************************************************************************
*
* 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
@@ -58,13 +58,13 @@ static UINT16 aEscDirArray[] =
SDRESC_RIGHT,
SDRESC_TOP,
SDRESC_BOTTOM,
-// SDRESC_LO,
-// SDRESC_LU,
-// SDRESC_RO,
-// SDRESC_RU,
-// SDRESC_HORZ,
-// SDRESC_VERT,
-// SDRESC_ALL
+// SDRESC_LO,
+// SDRESC_LU,
+// SDRESC_RO,
+// SDRESC_RU,
+// SDRESC_HORZ,
+// SDRESC_VERT,
+// SDRESC_ALL
};
@@ -92,7 +92,7 @@ GlueEscDirLB::GlueEscDirLB( Window* pParent, const Reference< XFrame >& rFrame )
/*************************************************************************
|*
-|* Dtor
+|* Dtor
|*
\************************************************************************/
@@ -158,7 +158,7 @@ void GlueEscDirLB::Fill()
|*
\************************************************************************/
-SdTbxCtlGlueEscDir::SdTbxCtlGlueEscDir(
+SdTbxCtlGlueEscDir::SdTbxCtlGlueEscDir(
USHORT nSlotId, USHORT nId, ToolBox& rTbx ) :
SfxToolBoxControl( nSlotId, nId, rTbx )
{
diff --git a/sd/source/ui/dlg/headerfooterdlg.cxx b/sd/source/ui/dlg/headerfooterdlg.cxx
index c9fdee5ff294..c252318f07fd 100644
--- a/sd/source/ui/dlg/headerfooterdlg.cxx
+++ b/sd/source/ui/dlg/headerfooterdlg.cxx
@@ -2,7 +2,7 @@
/*************************************************************************
*
* 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
@@ -83,7 +83,7 @@ namespace sd
class PresLayoutPreview : public Control
{
private:
- SdPage* mpMaster;
+ SdPage* mpMaster;
HeaderFooterSettings maSettings;
Size maPageSize;
Rectangle maOutRect;
@@ -130,45 +130,45 @@ int nDateTimeFormats[nDateTimeFormatsCount] =
class HeaderFooterTabPage : public TabPage
{
private:
- FixedLine maFLIncludeOnPage;
+ FixedLine maFLIncludeOnPage;
- CheckBox maCBHeader;
- FixedText maFTHeader;
- Edit maTBHeader;
+ CheckBox maCBHeader;
+ FixedText maFTHeader;
+ Edit maTBHeader;
- FixedLine maFLDateTime;
- CheckBox maCBDateTime;
- RadioButton maRBDateTimeFixed;
+ FixedLine maFLDateTime;
+ CheckBox maCBDateTime;
+ RadioButton maRBDateTimeFixed;
RadioButton maRBDateTimeAutomatic;
- Edit maTBDateTimeFixed;
- ListBox maCBDateTimeFormat;
- FixedText maFTDateTimeLanguage;
- SvxLanguageBox maCBDateTimeLanguage;
+ Edit maTBDateTimeFixed;
+ ListBox maCBDateTimeFormat;
+ FixedText maFTDateTimeLanguage;
+ SvxLanguageBox maCBDateTimeLanguage;
- FixedLine maFLFooter;
- CheckBox maCBFooter;
- FixedText maFTFooter;
- Edit maTBFooter;
+ FixedLine maFLFooter;
+ CheckBox maCBFooter;
+ FixedText maFTFooter;
+ Edit maTBFooter;
- FixedLine maFLSlideNumber;
- CheckBox maCBSlideNumber;
+ FixedLine maFLSlideNumber;
+ CheckBox maCBSlideNumber;
- FixedLine maFLNotOnTitle;
- CheckBox maCBNotOnTitle;
+ FixedLine maFLNotOnTitle;
+ CheckBox maCBNotOnTitle;
- PushButton maPBApplyToAll;
- PushButton maPBApply;
- CancelButton maPBCancel;
- HelpButton maPBHelp;
+ PushButton maPBApplyToAll;
+ PushButton maPBApply;
+ CancelButton maPBCancel;
+ HelpButton maPBHelp;
- PresLayoutPreview maCTPreview;
+ PresLayoutPreview maCTPreview;
- SdPage* mpCurrentPage;
- SdDrawDocument * mpDoc;
+ SdPage* mpCurrentPage;
+ SdDrawDocument * mpDoc;
HeaderFooterDialog* mpDialog;
- LanguageType meOldLanguage;
+ LanguageType meOldLanguage;
- bool mbHandoutMode;
+ bool mbHandoutMode;
DECL_LINK( UpdateOnClickHdl, void * );
@@ -187,11 +187,11 @@ public:
~HeaderFooterTabPage();
static SfxTabPage* Create( ::Window*, const SfxItemSet& );
- static USHORT* GetRanges();
+ static USHORT* GetRanges();
- void init( const HeaderFooterSettings& rSettings, bool bNotOnTitle, bool bHasApply );
- void getData( HeaderFooterSettings& rSettings, bool& rNotOnTitle );
- void update();
+ void init( const HeaderFooterSettings& rSettings, bool bNotOnTitle, bool bHasApply );
+ void getData( HeaderFooterSettings& rSettings, bool& rNotOnTitle );
+ void update();
};
}
@@ -231,7 +231,7 @@ HeaderFooterDialog::HeaderFooterDialog( ViewShell* pViewShell, ::Window* pParent
mpCurrentPage = NULL;
}
-// maTabCtrl.SetHelpId( HID_XML_FILTER_TABPAGE_CTRL );
+// maTabCtrl.SetHelpId( HID_XML_FILTER_TABPAGE_CTRL );
maTabCtrl.Show();
mpSlideTabPage = new HeaderFooterTabPage( this, &maTabCtrl, pDoc, pSlide, false );
diff --git a/sd/source/ui/dlg/headerfooterdlg.src b/sd/source/ui/dlg/headerfooterdlg.src
index df42ff9b7551..b2e4fb25c870 100644
--- a/sd/source/ui/dlg/headerfooterdlg.src
+++ b/sd/source/ui/dlg/headerfooterdlg.src
@@ -1,7 +1,7 @@
/*************************************************************************
*
* 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
@@ -29,11 +29,11 @@
#include "dialogs.hrc"
#include "headerfooterdlg.hrc"
-#define TAB_WIDTH 290
-#define TAB_HEIGHT 186
+#define TAB_WIDTH 290
+#define TAB_HEIGHT 186
-#define DLG_WIDTH TAB_WIDTH + 6
-#define DLG_HEIGHT TAB_HEIGHT + 6
+#define DLG_WIDTH TAB_WIDTH + 6
+#define DLG_HEIGHT TAB_HEIGHT + 6
TabDialog RID_SD_DLG_HEADERFOOTER
{
@@ -68,38 +68,38 @@ TabDialog RID_SD_DLG_HEADERFOOTER
};
};
-#define SPACE_Y 3
-#define SPACE_X 3
+#define SPACE_Y 3
+#define SPACE_X 3
-#define C1 (RSC_SP_TBPG_INNERBORDER_LEFT + RSC_SP_FLGR_INNERBORDER_LEFT)
+#define C1 (RSC_SP_TBPG_INNERBORDER_LEFT + RSC_SP_FLGR_INNERBORDER_LEFT)
#define C2 (RSC_SP_TBPG_INNERBORDER_LEFT + RSC_SP_FLGR_INNERBORDER_LEFT + RSC_SP_CHK_TEXTINDENT)
-#define C3 (RSC_SP_TBPG_INNERBORDER_LEFT + RSC_SP_FLGR_INNERBORDER_LEFT + 2 * RSC_SP_CHK_TEXTINDENT)
-#define W1 (TAB_WIDTH - PUSHBUTTON_WIDTH - 10 * SPACE_X)
-#define W2 (60)
-#define W3 (W1 - C2 - W2 - SPACE_X)
-#define W4 ((W1 - C3 - SPACE_X) / 2)
+#define C3 (RSC_SP_TBPG_INNERBORDER_LEFT + RSC_SP_FLGR_INNERBORDER_LEFT + 2 * RSC_SP_CHK_TEXTINDENT)
+#define W1 (TAB_WIDTH - PUSHBUTTON_WIDTH - 10 * SPACE_X)
+#define W2 (60)
+#define W3 (W1 - C2 - W2 - SPACE_X)
+#define W4 ((W1 - C3 - SPACE_X) / 2)
-#define C4 (C2 + W2 + SPACE_X)
+#define C4 (C2 + W2 + SPACE_X)
-#define PUSHBUTTON_WIDTH 80
+#define PUSHBUTTON_WIDTH 80
TabPage RID_SD_TABPAGE_HEADERFOOTER
{
-// HelpID = SID_ANIMATION_EFFECTS ;
+// HelpID = SID_ANIMATION_EFFECTS ;
Pos = MAP_APPFONT ( 0 , 0 ) ;
Size = MAP_APPFONT ( TAB_WIDTH , TAB_HEIGHT ) ;
Hide = TRUE;
-#define Y0 (RSC_SP_TBPG_INNERBORDER_TOP )
-
+#define Y0 (RSC_SP_TBPG_INNERBORDER_TOP )
+
FixedLine FL_INCLUDE_ON_PAGE
{
Pos = MAP_APPFONT ( RSC_SP_TBPG_INNERBORDER_LEFT, Y0 ) ;
Size = MAP_APPFONT ( W1 - RSC_SP_TBPG_INNERBORDER_LEFT , RSC_CD_FIXEDLINE_HEIGHT ) ;
Text [ en-US ] = "Include on slide";
- };
-
-#define Y1 (Y0 + RSC_CD_FIXEDLINE_HEIGHT + SPACE_Y)
+ };
+
+#define Y1 (Y0 + RSC_CD_FIXEDLINE_HEIGHT + SPACE_Y)
CheckBox CB_HEADER
{
@@ -108,7 +108,7 @@ TabPage RID_SD_TABPAGE_HEADERFOOTER
TabStop = TRUE ;
Text [ en-US ] = "Header";
};
-
+
FixedText FT_HEADER
{
Pos = MAP_APPFONT ( C2, Y1 + SPACE_Y + RSC_CD_CHECKBOX_HEIGHT + 1 );
@@ -116,7 +116,7 @@ TabPage RID_SD_TABPAGE_HEADERFOOTER
TabStop = TRUE ;
Text [ en-US ] = "Header text";
};
-
+
Edit TB_HEADER_FIXED
{
Pos = MAP_APPFONT ( C4, Y1 + SPACE_Y + RSC_CD_CHECKBOX_HEIGHT );
@@ -124,7 +124,7 @@ TabPage RID_SD_TABPAGE_HEADERFOOTER
TabStop = TRUE ;
Border = TRUE ;
};
-
+
#define Y2 (Y1 + 2 * SPACE_Y + RSC_CD_CHECKBOX_HEIGHT + RSC_CD_TEXTBOX_HEIGHT)
FixedLine FL_DATETIME
@@ -140,7 +140,7 @@ TabPage RID_SD_TABPAGE_HEADERFOOTER
TabStop = TRUE ;
Text [ en-US ] = "~Date and time";
};
-
+
RadioButton RB_DATETIME_FIXED
{
Pos = MAP_APPFONT ( C2, Y2 + 2 * SPACE_Y + RSC_CD_FIXEDLINE_HEIGHT + RSC_CD_CHECKBOX_HEIGHT + 1 );
@@ -148,31 +148,31 @@ TabPage RID_SD_TABPAGE_HEADERFOOTER
TabStop = TRUE ;
Text [ en-US ] = "Fi~xed";
};
-
+
Edit TB_DATETIME_FIXED
{
Pos = MAP_APPFONT ( C4, Y2 + 2 * SPACE_Y + RSC_CD_FIXEDLINE_HEIGHT + RSC_CD_CHECKBOX_HEIGHT );
Size = MAP_APPFONT ( W3, RSC_CD_TEXTBOX_HEIGHT );
TabStop = TRUE ;
Border = TRUE ;
- };
-
+ };
+
RadioButton RB_DATETIME_AUTOMATIC
{
Pos = MAP_APPFONT ( C2, Y2 + 3 * SPACE_Y + RSC_CD_FIXEDLINE_HEIGHT + RSC_CD_CHECKBOX_HEIGHT + RSC_CD_TEXTBOX_HEIGHT );
Size = MAP_APPFONT ( 80, RSC_CD_RADIOBUTTON_HEIGHT );
TabStop = TRUE ;
- Text [ en-US ] = "~Variable";
+ Text [ en-US ] = "~Variable";
};
-
+
ListBox CB_DATETIME_FORMAT
{
Pos = MAP_APPFONT ( C3, Y2 + 4 * SPACE_Y + RSC_CD_FIXEDLINE_HEIGHT + RSC_CD_CHECKBOX_HEIGHT + RSC_CD_TEXTBOX_HEIGHT + RSC_CD_RADIOBUTTON_HEIGHT );
Size = MAP_APPFONT ( W4, 80 );
TabStop = TRUE ;
DropDown = TRUE ;
- };
-
+ };
+
FixedText FT_DATETIME_LANGUAGE
{
Pos = MAP_APPFONT ( C3 + W4 + SPACE_X, Y2 + 3 * SPACE_Y + RSC_CD_FIXEDLINE_HEIGHT + RSC_CD_CHECKBOX_HEIGHT + RSC_CD_TEXTBOX_HEIGHT + 1 );
@@ -180,23 +180,23 @@ TabPage RID_SD_TABPAGE_HEADERFOOTER
TabStop = TRUE ;
Text [ en-US ] = "~Language:";
};
-
+
ListBox CB_DATETIME_LANGUAGE
{
Pos = MAP_APPFONT ( C3 + W4 + SPACE_X, Y2 + 4 * SPACE_Y + RSC_CD_FIXEDLINE_HEIGHT + RSC_CD_CHECKBOX_HEIGHT + RSC_CD_TEXTBOX_HEIGHT + RSC_CD_RADIOBUTTON_HEIGHT );
Size = MAP_APPFONT ( W4, 80 );
TabStop = TRUE ;
- DropDown = TRUE ;
- };
-
-#define Y3 (Y2 + 5 * SPACE_Y + RSC_CD_FIXEDLINE_HEIGHT + RSC_CD_CHECKBOX_HEIGHT + RSC_CD_TEXTBOX_HEIGHT + RSC_CD_RADIOBUTTON_HEIGHT + RSC_CD_DROPDOWN_HEIGHT )
+ DropDown = TRUE ;
+ };
+
+#define Y3 (Y2 + 5 * SPACE_Y + RSC_CD_FIXEDLINE_HEIGHT + RSC_CD_CHECKBOX_HEIGHT + RSC_CD_TEXTBOX_HEIGHT + RSC_CD_RADIOBUTTON_HEIGHT + RSC_CD_DROPDOWN_HEIGHT )
FixedLine FL_FOOTER
{
Pos = MAP_APPFONT ( C1, Y3 );
Size = MAP_APPFONT ( W1 - C1, RSC_CD_FIXEDLINE_HEIGHT );
};
-
+
CheckBox CB_FOOTER
{
Pos = MAP_APPFONT ( C1, Y3 + SPACE_Y + RSC_CD_FIXEDLINE_HEIGHT );
@@ -204,7 +204,7 @@ TabPage RID_SD_TABPAGE_HEADERFOOTER
TabStop = TRUE ;
Text [ en-US ] = "Footer";
};
-
+
FixedText FT_FOOTER
{
Pos = MAP_APPFONT ( C2, Y3 + 2 * SPACE_Y + RSC_CD_FIXEDLINE_HEIGHT + RSC_CD_CHECKBOX_HEIGHT + 1 );
@@ -212,7 +212,7 @@ TabPage RID_SD_TABPAGE_HEADERFOOTER
TabStop = TRUE ;
Text [ en-US ] = "Footer text";
};
-
+
Edit TB_FOOTER_FIXED
{
Pos = MAP_APPFONT ( C4, Y3 + 2 * SPACE_Y + RSC_CD_FIXEDLINE_HEIGHT + RSC_CD_CHECKBOX_HEIGHT );
@@ -221,14 +221,14 @@ TabPage RID_SD_TABPAGE_HEADERFOOTER
Border = TRUE ;
};
-#define Y4 (Y3 + 3 * SPACE_Y + RSC_CD_FIXEDLINE_HEIGHT + RSC_CD_CHECKBOX_HEIGHT + RSC_CD_TEXTBOX_HEIGHT )
+#define Y4 (Y3 + 3 * SPACE_Y + RSC_CD_FIXEDLINE_HEIGHT + RSC_CD_CHECKBOX_HEIGHT + RSC_CD_TEXTBOX_HEIGHT )
FixedLine FL_SLIDENUMBER
{
Pos = MAP_APPFONT ( C1, Y4 );
Size = MAP_APPFONT ( W1 - C1, RSC_CD_FIXEDLINE_HEIGHT );
};
-
+
CheckBox CB_SLIDENUMBER
{
Pos = MAP_APPFONT ( C1, Y4 + SPACE_Y + RSC_CD_FIXEDLINE_HEIGHT );
@@ -236,15 +236,15 @@ TabPage RID_SD_TABPAGE_HEADERFOOTER
TabStop = TRUE ;
Text [ en-US ] = "Slide number";
};
-
-#define Y5 (Y4 + 2 * SPACE_Y + RSC_CD_FIXEDLINE_HEIGHT + RSC_CD_CHECKBOX_HEIGHT )
+
+#define Y5 (Y4 + 2 * SPACE_Y + RSC_CD_FIXEDLINE_HEIGHT + RSC_CD_CHECKBOX_HEIGHT )
FixedLine FL_NOTONTITLE
{
Pos = MAP_APPFONT ( RSC_SP_TBPG_INNERBORDER_LEFT, Y5 ) ;
Size = MAP_APPFONT ( W1 - RSC_SP_TBPG_INNERBORDER_LEFT, RSC_CD_FIXEDLINE_HEIGHT );
};
-
+
CheckBox CB_NOTONTITLE
{
Pos = MAP_APPFONT ( RSC_SP_TBPG_INNERBORDER_LEFT, Y5 + SPACE_Y + RSC_CD_FIXEDLINE_HEIGHT );
@@ -282,18 +282,18 @@ TabPage RID_SD_TABPAGE_HEADERFOOTER
Size = MAP_APPFONT ( PUSHBUTTON_WIDTH, RSC_CD_PUSHBUTTON_HEIGHT );
TabStop = TRUE ;
};
-
+
Control CT_PREVIEW
{
Pos = MAP_APPFONT ( TAB_WIDTH - 7 * SPACE_X - PUSHBUTTON_WIDTH, TAB_HEIGHT - 6*SPACE_Y - PUSHBUTTON_WIDTH );
- Size = MAP_APPFONT ( PUSHBUTTON_WIDTH, PUSHBUTTON_WIDTH );
+ Size = MAP_APPFONT ( PUSHBUTTON_WIDTH, PUSHBUTTON_WIDTH );
};
String STR_PAGE_NUMBER
{
Text [ en-US ] = "Page number";
};
-
+
String STR_INCLUDE_ON_PAGE
{
Text [ en-US ] = "Include on page";
diff --git a/sd/source/ui/dlg/ins_paste.cxx b/sd/source/ui/dlg/ins_paste.cxx
index a6b080598eff..d8a1323a56e5 100644
--- a/sd/source/ui/dlg/ins_paste.cxx
+++ b/sd/source/ui/dlg/ins_paste.cxx
@@ -2,7 +2,7 @@
/*************************************************************************
*
* 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
diff --git a/sd/source/ui/dlg/ins_paste.src b/sd/source/ui/dlg/ins_paste.src
index 0b066f096f87..aec49d36b90a 100644
--- a/sd/source/ui/dlg/ins_paste.src
+++ b/sd/source/ui/dlg/ins_paste.src
@@ -1,7 +1,7 @@
/*************************************************************************
*
* 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
diff --git a/sd/source/ui/dlg/inspagob.cxx b/sd/source/ui/dlg/inspagob.cxx
index 7f4aa65178fd..a44794287132 100644
--- a/sd/source/ui/dlg/inspagob.cxx
+++ b/sd/source/ui/dlg/inspagob.cxx
@@ -2,7 +2,7 @@
/*************************************************************************
*
* 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
@@ -47,7 +47,7 @@
/*************************************************************************
|*
-|* Ctor
+|* Ctor
|*
\************************************************************************/
@@ -63,9 +63,9 @@ SdInsertPagesObjsDlg::SdInsertPagesObjsDlg(
aBtnOk ( this, SdResId( BTN_OK ) ),
aBtnCancel ( this, SdResId( BTN_CANCEL ) ),
aBtnHelp ( this, SdResId( BTN_HELP ) ),
- pMedium ( pSfxMedium ),
- mpDoc ( pInDoc ),
- rName ( rFileName )
+ pMedium ( pSfxMedium ),
+ mpDoc ( pInDoc ),
+ rName ( rFileName )
{
FreeResource();
@@ -82,7 +82,7 @@ SdInsertPagesObjsDlg::SdInsertPagesObjsDlg(
/*************************************************************************
|*
-|* Dtor
+|* Dtor
|*
\************************************************************************/
@@ -92,8 +92,8 @@ SdInsertPagesObjsDlg::~SdInsertPagesObjsDlg()
/*************************************************************************
|*
-|* Fuellt die TreeLB in Abhaengigkeit des Mediums. Ist kein Medium
-|* vorhanden, handelt es sich um ein Text- und kein Drawdokument
+|* Fuellt die TreeLB in Abhaengigkeit des Mediums. Ist kein Medium
+|* vorhanden, handelt es sich um ein Text- und kein Drawdokument
|*
\************************************************************************/
@@ -123,9 +123,9 @@ void SdInsertPagesObjsDlg::Reset()
/*************************************************************************
|*
-|* Liefert die Liste zurueck
-|* nType == 0 -> Seiten
-|* nType == 1 -> Objekte
+|* Liefert die Liste zurueck
+|* nType == 0 -> Seiten
+|* nType == 1 -> Objekte
|*
\************************************************************************/
@@ -150,7 +150,7 @@ List* SdInsertPagesObjsDlg::GetList( USHORT nType )
/*************************************************************************
|*
-|* Ist Verknuepfung gechecked
+|* Ist Verknuepfung gechecked
|*
\************************************************************************/
@@ -161,7 +161,7 @@ BOOL SdInsertPagesObjsDlg::IsLink()
/*************************************************************************
|*
-|* Ist Verknuepfung gechecked
+|* Ist Verknuepfung gechecked
|*
\************************************************************************/
diff --git a/sd/source/ui/dlg/inspagob.src b/sd/source/ui/dlg/inspagob.src
index 4eae011a9ba2..b4fbaad9fe0d 100644
--- a/sd/source/ui/dlg/inspagob.src
+++ b/sd/source/ui/dlg/inspagob.src
@@ -1,7 +1,7 @@
/*************************************************************************
*
* 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
diff --git a/sd/source/ui/dlg/layeroptionsdlg.cxx b/sd/source/ui/dlg/layeroptionsdlg.cxx
index 8671ff3941da..89284553bf68 100644
--- a/sd/source/ui/dlg/layeroptionsdlg.cxx
+++ b/sd/source/ui/dlg/layeroptionsdlg.cxx
@@ -2,7 +2,7 @@
/*************************************************************************
*
* 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
diff --git a/sd/source/ui/dlg/layeroptionsdlg.src b/sd/source/ui/dlg/layeroptionsdlg.src
index cd50a810d3fd..c199107515ce 100644
--- a/sd/source/ui/dlg/layeroptionsdlg.src
+++ b/sd/source/ui/dlg/layeroptionsdlg.src
@@ -1,7 +1,7 @@
/*************************************************************************
*
* 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
@@ -107,7 +107,7 @@ ModalDialog DLG_INSERT_LAYER
Text [ en-US ] = "~Locked" ;
TabStop = TRUE ;
};
-
+
// divider
FixedLine FL_SEPARATOR_B
{
diff --git a/sd/source/ui/dlg/masterlayoutdlg.cxx b/sd/source/ui/dlg/masterlayoutdlg.cxx
index 4f7736e36c28..4a7e3e9198da 100644
--- a/sd/source/ui/dlg/masterlayoutdlg.cxx
+++ b/sd/source/ui/dlg/masterlayoutdlg.cxx
@@ -2,7 +2,7 @@
/*************************************************************************
*
* 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
@@ -46,7 +46,7 @@
using namespace ::sd;
MasterLayoutDialog::MasterLayoutDialog( Window* pParent, SdDrawDocument* pDoc, SdPage* pCurrentPage )
-: ModalDialog( pParent, SdResId( RID_SD_DLG_MASTER_LAYOUT ) ),
+: ModalDialog( pParent, SdResId( RID_SD_DLG_MASTER_LAYOUT ) ),
mpDoc( pDoc ),
mpCurrentPage( pCurrentPage ),
maFLPlaceholders( this, SdResId( FL_PLACEHOLDERS ) ),
@@ -72,21 +72,21 @@ MasterLayoutDialog::MasterLayoutDialog( Window* pParent, SdDrawDocument* pDoc, S
{
case PK_STANDARD:
{
- // aTitle = String( SdResId( STR_MASTER_LAYOUT_TITLE ) );
+ // aTitle = String( SdResId( STR_MASTER_LAYOUT_TITLE ) );
maCBHeader.Enable( FALSE );
String aSlideNumberStr( SdResId( STR_SLIDE_NUMBER ) );
maCBPageNumber.SetText( aSlideNumberStr );
break;
}
case PK_NOTES:
- // aTitle = String( SdResId( STR_NOTES_MASTER_LAYOUT_TITLE ) );
+ // aTitle = String( SdResId( STR_NOTES_MASTER_LAYOUT_TITLE ) );
break;
case PK_HANDOUT:
- // aTitle = String( SdResId( STR_HANDOUT_TEMPLATE_LAYOUT_TITLE ) );
+ // aTitle = String( SdResId( STR_HANDOUT_TEMPLATE_LAYOUT_TITLE ) );
break;
}
String aTitle (SdResId( STR_MASTER_LAYOUT_TITLE ) );
-
+
SetText( aTitle );
FreeResource();
@@ -148,7 +148,7 @@ void MasterLayoutDialog::applyChanges()
else
create( PRESOBJ_SLIDENUMBER );
}
-
+
mpDoc->EndUndo();
}
diff --git a/sd/source/ui/dlg/masterlayoutdlg.src b/sd/source/ui/dlg/masterlayoutdlg.src
index 1e862b63cec6..a886555b616c 100644
--- a/sd/source/ui/dlg/masterlayoutdlg.src
+++ b/sd/source/ui/dlg/masterlayoutdlg.src
@@ -1,7 +1,7 @@
/*************************************************************************
*
* 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
@@ -51,8 +51,8 @@ ModalDialog RID_SD_DLG_MASTER_LAYOUT
TabStop = TRUE;
Text [ en-US ] = "Header";
- };
-
+ };
+
CheckBox CB_DATE
{
Pos = MAP_APPFONT( 6, 29 );
@@ -61,7 +61,7 @@ ModalDialog RID_SD_DLG_MASTER_LAYOUT
Text [ en-US ] = "Date/time";
};
-
+
CheckBox CB_FOOTER
{
Pos = MAP_APPFONT( 6, 42 );
@@ -69,7 +69,7 @@ ModalDialog RID_SD_DLG_MASTER_LAYOUT
TabStop = TRUE;
Text [ en-US ] = "Footer";
- };
+ };
CheckBox CB_PAGE_NUMBER
{
@@ -93,7 +93,7 @@ ModalDialog RID_SD_DLG_MASTER_LAYOUT
Size = MAP_APPFONT( 40 , 14 );
TabStop = TRUE;
};
-
+
String STR_SLIDE_NUMBER
{
Text [ en-US ] = "Slide number";
diff --git a/sd/source/ui/dlg/morphdlg.cxx b/sd/source/ui/dlg/morphdlg.cxx
index 78b52dcfe915..0b4510b0a3ee 100644
--- a/sd/source/ui/dlg/morphdlg.cxx
+++ b/sd/source/ui/dlg/morphdlg.cxx
@@ -2,7 +2,7 @@
/*************************************************************************
*
* 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
@@ -54,11 +54,11 @@ namespace sd {
/******************************************************************************/
-#define FADE_STEP "FadeSteps"
-#define FADE_ATTRIB "FadeAttributes"
-#define FADE_ORIENT "FadeOrientation"
-#define FADE_TRUE "true"
-#define FADE_FALSE "false"
+#define FADE_STEP "FadeSteps"
+#define FADE_ATTRIB "FadeAttributes"
+#define FADE_ORIENT "FadeOrientation"
+#define FADE_TRUE "true"
+#define FADE_FALSE "false"
/******************************************************************************/
@@ -84,17 +84,17 @@ MorphDlg::MorphDlg( ::Window* pParent, const SdrObject* pObj1, const SdrObject*
FreeResource();
LoadSettings();
- SfxItemPool* pPool = (SfxItemPool*) pObj1->GetObjectItemPool();
- SfxItemSet aSet1( *pPool );
- SfxItemSet aSet2( *pPool );
+ SfxItemPool* pPool = (SfxItemPool*) pObj1->GetObjectItemPool();
+ SfxItemSet aSet1( *pPool );
+ SfxItemSet aSet2( *pPool );
aSet1.Put(pObj1->GetMergedItemSet());
aSet2.Put(pObj2->GetMergedItemSet());
- const XLineStyle eLineStyle1 = ( (const XLineStyleItem&) aSet1.Get( XATTR_LINESTYLE ) ).GetValue();
- const XLineStyle eLineStyle2 = ( (const XLineStyleItem&) aSet2.Get( XATTR_LINESTYLE ) ).GetValue();
- const XFillStyle eFillStyle1 = ( (const XFillStyleItem&) aSet1.Get( XATTR_FILLSTYLE ) ).GetValue();
- const XFillStyle eFillStyle2 = ( (const XFillStyleItem&) aSet2.Get( XATTR_FILLSTYLE ) ).GetValue();
+ const XLineStyle eLineStyle1 = ( (const XLineStyleItem&) aSet1.Get( XATTR_LINESTYLE ) ).GetValue();
+ const XLineStyle eLineStyle2 = ( (const XLineStyleItem&) aSet2.Get( XATTR_LINESTYLE ) ).GetValue();
+ const XFillStyle eFillStyle1 = ( (const XFillStyleItem&) aSet1.Get( XATTR_FILLSTYLE ) ).GetValue();
+ const XFillStyle eFillStyle2 = ( (const XFillStyleItem&) aSet2.Get( XATTR_FILLSTYLE ) ).GetValue();
if ( ( ( eLineStyle1 == XLINE_NONE ) || ( eLineStyle2 == XLINE_NONE ) ) &&
( ( eFillStyle1 != XFILL_SOLID ) || ( eFillStyle2 != XFILL_SOLID ) ) )
@@ -123,11 +123,11 @@ MorphDlg::~MorphDlg()
void MorphDlg::LoadSettings()
{
- SvStorageStreamRef xIStm( SD_MOD()->GetOptionStream( UniString::CreateFromAscii(
- RTL_CONSTASCII_STRINGPARAM( SD_OPTION_MORPHING ) ),
+ SvStorageStreamRef xIStm( SD_MOD()->GetOptionStream( UniString::CreateFromAscii(
+ RTL_CONSTASCII_STRINGPARAM( SD_OPTION_MORPHING ) ),
SD_OPTION_LOAD ) );
- UINT16 nSteps;
- BOOL bOrient, bAttrib;
+ UINT16 nSteps;
+ BOOL bOrient, bAttrib;
if( xIStm.Is() )
{
@@ -150,8 +150,8 @@ void MorphDlg::LoadSettings()
void MorphDlg::SaveSettings() const
{
- SvStorageStreamRef xOStm( SD_MOD()->GetOptionStream( UniString::CreateFromAscii(
- RTL_CONSTASCII_STRINGPARAM( SD_OPTION_MORPHING ) ),
+ SvStorageStreamRef xOStm( SD_MOD()->GetOptionStream( UniString::CreateFromAscii(
+ RTL_CONSTASCII_STRINGPARAM( SD_OPTION_MORPHING ) ),
SD_OPTION_STORE ) );
if( xOStm.Is() )
diff --git a/sd/source/ui/dlg/morphdlg.src b/sd/source/ui/dlg/morphdlg.src
index 64e63a33cd59..13e82785a26e 100644
--- a/sd/source/ui/dlg/morphdlg.src
+++ b/sd/source/ui/dlg/morphdlg.src
@@ -1,7 +1,7 @@
/*************************************************************************
*
* 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
diff --git a/sd/source/ui/dlg/navigatr.cxx b/sd/source/ui/dlg/navigatr.cxx
index 268de09e43b0..6cbeb3a8fd35 100644
--- a/sd/source/ui/dlg/navigatr.cxx
+++ b/sd/source/ui/dlg/navigatr.cxx
@@ -2,7 +2,7 @@
/*************************************************************************
*
* 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
@@ -69,7 +69,7 @@ static const sal_uInt16 nShowAllShapesFilter=2;
}
/*************************************************************************
-|* SdNavigatorWin - FloatingWindow
+|* SdNavigatorWin - FloatingWindow
\************************************************************************/
SdNavigatorWin::SdNavigatorWin(
@@ -77,17 +77,17 @@ SdNavigatorWin::SdNavigatorWin(
::sd::NavigatorChildWindow* pChWinCtxt,
const SdResId& rSdResId,
SfxBindings* pInBindings )
-: ::Window( pParent, rSdResId )
-, maToolbox ( this, SdResId( 1 ) )
-, maTlbObjects( this, SdResId( TLB_OBJECTS ) )
-, maLbDocs ( this, SdResId( LB_DOCS ) )
-, mpChildWinContext( pChWinCtxt )
-, mbDocImported ( FALSE )
+: ::Window( pParent, rSdResId )
+, maToolbox ( this, SdResId( 1 ) )
+, maTlbObjects( this, SdResId( TLB_OBJECTS ) )
+, maLbDocs ( this, SdResId( LB_DOCS ) )
+, mpChildWinContext( pChWinCtxt )
+, mbDocImported ( FALSE )
// Bei Aenderung des DragTypes: SelectionMode der TLB anpassen!
-, meDragType ( NAVIGATOR_DRAGTYPE_EMBEDDED )
-, mpBindings ( pInBindings )
-, maImageList ( SdResId( IL_NAVIGATR ) )
-, maImageListH ( SdResId( ILH_NAVIGATR ) )
+, meDragType ( NAVIGATOR_DRAGTYPE_EMBEDDED )
+, mpBindings ( pInBindings )
+, maImageList ( SdResId( IL_NAVIGATR ) )
+, maImageListH ( SdResId( ILH_NAVIGATR ) )
{
maTlbObjects.SetViewFrame( mpBindings->GetDispatcher()->GetFrame() );
@@ -109,7 +109,7 @@ SdNavigatorWin::SdNavigatorWin(
// Shape filter drop down menu.
maToolbox.SetItemBits(TBI_SHAPE_FILTER,
maToolbox.GetItemBits(TBI_SHAPE_FILTER) | TIB_DROPDOWNONLY);
-
+
// TreeListBox
// set position below toolbox
long nListboxYPos = maToolbox.GetPosPixel().Y() + maToolbox.GetSizePixel().Height() + 4;
@@ -187,7 +187,7 @@ void SdNavigatorWin::InitTreeLB( const SdDrawDocument* pDoc )
maToolbox.EnableItem(TBI_SHAPE_FILTER, FALSE);
else
maToolbox.EnableItem(TBI_SHAPE_FILTER);
-
+
if( !maTlbObjects.IsEqualToDoc( pDoc ) )
{
String aDocName = pDocShell->GetMedium()->GetName();
@@ -203,7 +203,7 @@ void SdNavigatorWin::InitTreeLB( const SdDrawDocument* pDoc )
maLbDocs.SelectEntry( aDocShName );
// auskommentiert um 30246 zu fixen
-// if( maLbDocs.GetSelectEntryCount() == 0 )
+// if( maLbDocs.GetSelectEntryCount() == 0 )
{
RefreshDocumentLB();
maLbDocs.SelectEntry( aDocShName );
@@ -340,7 +340,7 @@ IMPL_LINK( SdNavigatorWin, DropdownClickToolBoxHdl, ToolBox*, pBox )
//pBox->Invalidate();
}
break;
-
+
case TBI_SHAPE_FILTER:
{
PopupMenu *pMenu = new PopupMenu;
@@ -534,7 +534,7 @@ IMPL_LINK( SdNavigatorWin, ShapeFilterCallback, Menu *, pMenu )
}
}
}
-
+
return 0;
}
@@ -580,8 +580,8 @@ void SdNavigatorWin::Resize()
BOOL SdNavigatorWin::InsertFile(const String& rFileName)
{
- INetURLObject aURL( rFileName );
- BOOL bReturn = TRUE;
+ INetURLObject aURL( rFileName );
+ BOOL bReturn = TRUE;
if( aURL.GetProtocol() == INET_PROT_NOT_VALID )
{
@@ -622,7 +622,7 @@ BOOL SdNavigatorWin::InsertFile(const String& rFileName)
// ersteinmal nachgeschaut, ob es einen Storage enthaelt
SfxMedium* pMedium = new SfxMedium( aFileName,
STREAM_READ | STREAM_NOCREATE,
- TRUE); // Download
+ TRUE); // Download
if (pMedium->IsStorage())
{
@@ -778,7 +778,7 @@ NavDocInfo* SdNavigatorWin::GetDocInfo()
long SdNavigatorWin::Notify(NotifyEvent& rNEvt)
{
const KeyEvent* pKEvt = rNEvt.GetKeyEvent();
- long nOK = FALSE;
+ long nOK = FALSE;
if( pKEvt )
{
@@ -879,7 +879,7 @@ void SdNavigatorWin::ApplyImageList()
SdNavigatorControllerItem::SdNavigatorControllerItem( USHORT _nId,
SdNavigatorWin* pNavWin,
- SfxBindings* _pBindings) :
+ SfxBindings* _pBindings) :
SfxControllerItem( _nId, *_pBindings ),
pNavigatorWin( pNavWin )
{
@@ -965,7 +965,7 @@ void SdNavigatorControllerItem::StateChanged( USHORT nSId,
SdPageNameControllerItem::SdPageNameControllerItem( USHORT _nId,
SdNavigatorWin* pNavWin,
- SfxBindings* _pBindings) :
+ SfxBindings* _pBindings) :
SfxControllerItem( _nId, *_pBindings ),
pNavigatorWin( pNavWin )
{
diff --git a/sd/source/ui/dlg/navigatr.src b/sd/source/ui/dlg/navigatr.src
index 4d4499d3226d..5592d086065c 100644
--- a/sd/source/ui/dlg/navigatr.src
+++ b/sd/source/ui/dlg/navigatr.src
@@ -1,7 +1,7 @@
/*************************************************************************
*
* 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
@@ -133,12 +133,12 @@ Window FLT_NAVIGATOR
#define NAVIGATR_IDLIST \
IdList = \
{ \
- TBI_PEN ; \
- TBI_FIRST ; \
- TBI_PREVIOUS ; \
- TBI_NEXT ; \
- TBI_LAST ; \
- TBI_EMBEDDED ; \
+ TBI_PEN ; \
+ TBI_FIRST ; \
+ TBI_PREVIOUS ; \
+ TBI_NEXT ; \
+ TBI_LAST ; \
+ TBI_EMBEDDED ; \
TBI_LINK ; \
TBI_HYPERLINK ; \
}; \
@@ -154,7 +154,7 @@ Window FLT_NAVIGATOR
};
ImageList ILH_NAVIGATR
{
- Prefix = "nvh";
+ Prefix = "nvh";
MaskColor = IMAGE_STDBTN_COLOR ;
NAVIGATR_IDLIST
};
diff --git a/sd/source/ui/dlg/paragr.cxx b/sd/source/ui/dlg/paragr.cxx
index 55337208b244..0e2061347ee6 100644
--- a/sd/source/ui/dlg/paragr.cxx
+++ b/sd/source/ui/dlg/paragr.cxx
@@ -2,7 +2,7 @@
/*************************************************************************
*
* 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
@@ -56,16 +56,16 @@ public:
SdParagraphNumTabPage(Window* pParent, const SfxItemSet& rSet );
~SdParagraphNumTabPage();
- static SfxTabPage* Create( Window* pParent, const SfxItemSet& rSet );
- static USHORT* GetRanges();
+ static SfxTabPage* Create( Window* pParent, const SfxItemSet& rSet );
+ static USHORT* GetRanges();
- virtual BOOL FillItemSet( SfxItemSet& rSet );
- virtual void Reset( const SfxItemSet& rSet );
+ virtual BOOL FillItemSet( SfxItemSet& rSet );
+ virtual void Reset( const SfxItemSet& rSet );
private:
- TriStateBox maNewStartCB;
+ TriStateBox maNewStartCB;
TriStateBox maNewStartNumberCB;
- NumericField maNewStartNF;
+ NumericField maNewStartNF;
bool mbModified;
DECL_LINK( ImplNewStartHdl, CheckBox* );
diff --git a/sd/source/ui/dlg/paragr.src b/sd/source/ui/dlg/paragr.src
index 041a4524a705..2db4939726e3 100644
--- a/sd/source/ui/dlg/paragr.src
+++ b/sd/source/ui/dlg/paragr.src
@@ -1,7 +1,7 @@
/*************************************************************************
*
* 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
@@ -62,7 +62,7 @@ TabDialog TAB_PARAGRAPH
PageResID = RID_SVXPAGE_PARA_ASIAN ;
Text [ en-US ] = "Asian Typography";
};
- PageItem
+ PageItem
{
Identifier = RID_TABPAGE_PARA_NUMBERING;
Text = "Numbering";
diff --git a/sd/source/ui/dlg/present.cxx b/sd/source/ui/dlg/present.cxx
index ee842e2326c6..fa89478b6f74 100644
--- a/sd/source/ui/dlg/present.cxx
+++ b/sd/source/ui/dlg/present.cxx
@@ -2,7 +2,7 @@
/*************************************************************************
*
* 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
@@ -64,12 +64,12 @@ SdStartPresentationDlg::SdStartPresentationDlg( Window* pWindow,
aLbDias ( this, SdResId( LB_DIAS ) ),
aLbCustomshow ( this, SdResId( LB_CUSTOMSHOW ) ),
- aGrpKind ( this, SdResId( GRP_KIND ) ),
- aRbtStandard ( this, SdResId( RBT_STANDARD ) ),
- aRbtWindow ( this, SdResId( RBT_WINDOW ) ),
- aRbtAuto ( this, SdResId( RBT_AUTO ) ),
- aTmfPause ( this, SdResId( TMF_PAUSE ) ),
- aCbxAutoLogo ( this, SdResId( CBX_AUTOLOGO ) ),
+ aGrpKind ( this, SdResId( GRP_KIND ) ),
+ aRbtStandard ( this, SdResId( RBT_STANDARD ) ),
+ aRbtWindow ( this, SdResId( RBT_WINDOW ) ),
+ aRbtAuto ( this, SdResId( RBT_AUTO ) ),
+ aTmfPause ( this, SdResId( TMF_PAUSE ) ),
+ aCbxAutoLogo ( this, SdResId( CBX_AUTOLOGO ) ),
aGrpOptions ( this, SdResId( GRP_OPTIONS ) ),
aCbxManuel ( this, SdResId( CBX_MANUEL ) ),
@@ -80,17 +80,17 @@ SdStartPresentationDlg::SdStartPresentationDlg( Window* pWindow,
aCbxChangePage ( this, SdResId( CBX_CHANGE_PAGE ) ),
aCbxAlwaysOnTop ( this, SdResId( CBX_ALWAYS_ON_TOP ) ),
- maGrpMonitor ( this, SdResId( GRP_MONITOR ) ),
- maFtMonitor ( this, SdResId( FT_MONITOR ) ),
- maLBMonitor ( this, SdResId( LB_MONITOR ) ),
+ maGrpMonitor ( this, SdResId( GRP_MONITOR ) ),
+ maFtMonitor ( this, SdResId( FT_MONITOR ) ),
+ maLBMonitor ( this, SdResId( LB_MONITOR ) ),
aBtnOK ( this, SdResId( BTN_OK ) ),
aBtnCancel ( this, SdResId( BTN_CANCEL ) ),
aBtnHelp ( this, SdResId( BTN_HELP ) ),
- pCustomShowList ( pCSList ),
+ pCustomShowList ( pCSList ),
rOutAttrs ( rInAttrs ),
- mnMonitors ( 0 ),
+ mnMonitors ( 0 ),
msPrimaryMonitor( SdResId(STR_PRIMARY_MONITOR ) ),
msMonitor( SdResId( STR_MONITOR ) ),
@@ -155,9 +155,9 @@ SdStartPresentationDlg::SdStartPresentationDlg( Window* pWindow,
aCbxChangePage.Check( ( ( const SfxBoolItem& ) rOutAttrs.Get( ATTR_PRESENT_CHANGE_PAGE ) ).GetValue() );
aCbxAlwaysOnTop.Check( ( ( const SfxBoolItem& ) rOutAttrs.Get( ATTR_PRESENT_ALWAYS_ON_TOP ) ).GetValue() );
- const BOOL bEndless = ( ( const SfxBoolItem& ) rOutAttrs.Get( ATTR_PRESENT_ENDLESS ) ).GetValue();
- const BOOL bWindow = !( ( const SfxBoolItem& ) rOutAttrs.Get( ATTR_PRESENT_FULLSCREEN ) ).GetValue();
- const long nPause = ( ( const SfxUInt32Item& ) rOutAttrs.Get( ATTR_PRESENT_PAUSE_TIMEOUT ) ).GetValue();
+ const BOOL bEndless = ( ( const SfxBoolItem& ) rOutAttrs.Get( ATTR_PRESENT_ENDLESS ) ).GetValue();
+ const BOOL bWindow = !( ( const SfxBoolItem& ) rOutAttrs.Get( ATTR_PRESENT_FULLSCREEN ) ).GetValue();
+ const long nPause = ( ( const SfxUInt32Item& ) rOutAttrs.Get( ATTR_PRESENT_PAUSE_TIMEOUT ) ).GetValue();
aTmfPause.SetTime( Time( 0, 0, nPause ) );
// set cursor in timefield
@@ -224,7 +224,7 @@ void SdStartPresentationDlg::InitMonitorSettings()
maLBMonitor.InsertEntry( aName );
}
- if( !bMultiscreen )
+ if( !bMultiscreen )
maLBMonitor.InsertEntry( msAllMonitors );
sal_Int32 nSelected = ( ( const SfxInt32Item& ) rOutAttrs.Get( ATTR_PRESENT_DISPLAY ) ).GetValue();
diff --git a/sd/source/ui/dlg/present.src b/sd/source/ui/dlg/present.src
index 830e320ca4ba..bdf5b12ecd77 100644
--- a/sd/source/ui/dlg/present.src
+++ b/sd/source/ui/dlg/present.src
@@ -1,7 +1,7 @@
/*************************************************************************
*
* 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
@@ -28,8 +28,8 @@
#include <svx/svxids.hrc>
#include "present.hrc"
-#define DISTANCE 23
-#define DISTANCE2 ((DISTANCE) + 81)
+#define DISTANCE 23
+#define DISTANCE2 ((DISTANCE) + 81)
ModalDialog DLG_START_PRESENTATION
{
@@ -229,7 +229,7 @@ ModalDialog DLG_START_PRESENTATION
TabStop = TRUE ;
Text [ en-US ] = "Presentation always ~on top" ;
};
-
+
FixedLine GRP_MONITOR
{
Pos = MAP_APPFONT ( 6, 174 ) ;
@@ -258,12 +258,12 @@ ModalDialog DLG_START_PRESENTATION
DropDown = TRUE ;
ClipChildren = TRUE;
};
-
+
String STR_PRIMARY_MONITOR
{
Text [ en-US ] = "Display %1 (primary)";
};
-
+
String STR_MONITOR
{
Text [ en-US ] = "Display %1";
diff --git a/sd/source/ui/dlg/prltempl.cxx b/sd/source/ui/dlg/prltempl.cxx
index aade684acacd..bb9b47a3e6c2 100644
--- a/sd/source/ui/dlg/prltempl.cxx
+++ b/sd/source/ui/dlg/prltempl.cxx
@@ -2,7 +2,7 @@
/*************************************************************************
*
* 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
@@ -74,12 +74,12 @@ SdPresLayoutTemplateDlg::SdPresLayoutTemplateDlg( SfxObjectShell* pDocSh,
SfxStyleSheetBase& rStyleBase,
PresentationObjects _ePO,
SfxStyleSheetBasePool* pSSPool ) :
- SfxTabDialog ( pParent, DlgId ),
- mpDocShell ( pDocSh ),
- ePO ( _ePO ),
- aInputSet ( *rStyleBase.GetItemSet().GetPool(), SID_PARAM_NUM_PRESET, SID_PARAM_CUR_NUM_LEVEL ),
- pOutSet ( NULL ),
- pOrgSet ( &rStyleBase.GetItemSet() )
+ SfxTabDialog ( pParent, DlgId ),
+ mpDocShell ( pDocSh ),
+ ePO ( _ePO ),
+ aInputSet ( *rStyleBase.GetItemSet().GetPool(), SID_PARAM_NUM_PRESET, SID_PARAM_CUR_NUM_LEVEL ),
+ pOutSet ( NULL ),
+ pOrgSet ( &rStyleBase.GetItemSet() )
{
if( IS_OUTLINE(ePO))
{
@@ -171,7 +171,7 @@ SdPresLayoutTemplateDlg::SdPresLayoutTemplateDlg( SfxObjectShell* pDocSh,
AddTabPage( RID_SVXPAGE_PICK_BULLET );
AddTabPage( RID_SVXPAGE_PICK_SINGLE_NUM );
AddTabPage( RID_SVXPAGE_PICK_BMP );
- AddTabPage( RID_SVXPAGE_NUM_OPTIONS );
+ AddTabPage( RID_SVXPAGE_NUM_OPTIONS );
AddTabPage( RID_SVXPAGE_TABULATOR );
}
break;
@@ -256,7 +256,7 @@ SdPresLayoutTemplateDlg::~SdPresLayoutTemplateDlg()
// -----------------------------------------------------------------------
void SdPresLayoutTemplateDlg::PageCreated( USHORT nId, SfxTabPage &rPage )
-{ SfxAllItemSet aSet(*(aInputSet.GetPool()));
+{ SfxAllItemSet aSet(*(aInputSet.GetPool()));
switch( nId )
{
case RID_SVXPAGE_LINE:
diff --git a/sd/source/ui/dlg/prltempl.src b/sd/source/ui/dlg/prltempl.src
index d7251c084c3d..02ad8b373162 100644
--- a/sd/source/ui/dlg/prltempl.src
+++ b/sd/source/ui/dlg/prltempl.src
@@ -1,7 +1,7 @@
/*************************************************************************
*
* 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
@@ -112,7 +112,7 @@ TabDialog TAB_PRES_LAYOUT_TEMPLATE
Identifier = RID_SVXPAGE_NUM_OPTIONS ;
PageResID = RID_SVXPAGE_NUM_OPTIONS ;
Text [ en-US ] = "Customize" ;
- };
+ };
PageItem
{
Identifier = RID_SVXPAGE_ALIGN_PARAGRAPH ;
@@ -124,13 +124,13 @@ TabDialog TAB_PRES_LAYOUT_TEMPLATE
Identifier = RID_SVXPAGE_PARA_ASIAN ;
PageResID = RID_SVXPAGE_PARA_ASIAN ;
Text[ en-US ] = "Asian Typography";
- };
+ };
PageItem
{
Identifier = RID_SVXPAGE_TABULATOR ;
PageResID = RID_SVXPAGE_TABULATOR ;
Text [ en-US ] = "Tabs" ;
- };
+ };
};
};
};
diff --git a/sd/source/ui/dlg/prntopts.cxx b/sd/source/ui/dlg/prntopts.cxx
index 1bc0ca78dfbb..ab35002b8604 100644
--- a/sd/source/ui/dlg/prntopts.cxx
+++ b/sd/source/ui/dlg/prntopts.cxx
@@ -2,7 +2,7 @@
/*************************************************************************
*
* 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
@@ -45,7 +45,7 @@
/*************************************************************************
|*
-|* Dialog zum Aendern der Print-Optionen
+|* Dialog zum Aendern der Print-Optionen
|*
\************************************************************************/
@@ -81,7 +81,7 @@ SdPrintOptions::SdPrintOptions( Window* pParent, const SfxItemSet& rInAttrs ) :
aCbxPaperbin ( this, SdResId( CBX_PAPERBIN ) ),
- rOutAttrs ( rInAttrs )
+ rOutAttrs ( rInAttrs )
{
FreeResource();
@@ -182,7 +182,7 @@ void SdPrintOptions::Reset( const SfxItemSet& rAttrs )
aRbtBooklet.Check( pPrintOpts->GetOptionsPrint().IsBooklet() );
aCbxFront.Check( pPrintOpts->GetOptionsPrint().IsFrontPage() );
aCbxBack.Check( pPrintOpts->GetOptionsPrint().IsBackPage() );
- aCbxPaperbin.Check( pPrintOpts->GetOptionsPrint().IsPaperbin() );
+ aCbxPaperbin.Check( pPrintOpts->GetOptionsPrint().IsPaperbin() );
if( !aRbtPagesize.IsChecked() &&
!aRbtPagetile.IsChecked() &&
@@ -291,8 +291,8 @@ void SdPrintOptions::SetDrawMode()
}
}
-void SdPrintOptions::PageCreated (SfxAllItemSet
-#ifdef QUARTZ
+void SdPrintOptions::PageCreated (SfxAllItemSet
+#ifdef QUARTZ
aSet
#endif
)
diff --git a/sd/source/ui/dlg/prntopts.src b/sd/source/ui/dlg/prntopts.src
index dd2ed2e3f63b..2644d6e59fc9 100644
--- a/sd/source/ui/dlg/prntopts.src
+++ b/sd/source/ui/dlg/prntopts.src
@@ -1,7 +1,7 @@
/*************************************************************************
*
* 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
diff --git a/sd/source/ui/dlg/sdabstdlg.cxx b/sd/source/ui/dlg/sdabstdlg.cxx
index 87e8d64c4a5d..486f707c6901 100644
--- a/sd/source/ui/dlg/sdabstdlg.cxx
+++ b/sd/source/ui/dlg/sdabstdlg.cxx
@@ -2,7 +2,7 @@
/*************************************************************************
*
* 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
diff --git a/sd/source/ui/dlg/sddlgfact.cxx b/sd/source/ui/dlg/sddlgfact.cxx
index 2e9c230658f6..4c71a1611693 100644
--- a/sd/source/ui/dlg/sddlgfact.cxx
+++ b/sd/source/ui/dlg/sddlgfact.cxx
@@ -2,7 +2,7 @@
/*************************************************************************
*
* 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
@@ -233,7 +233,7 @@ SvxFieldData* AbstractSdModifyFieldDlg_Impl::GetField()
{
return pDlg->GetField();
}
-SfxItemSet AbstractSdModifyFieldDlg_Impl::GetItemSet()
+SfxItemSet AbstractSdModifyFieldDlg_Impl::GetItemSet()
{
return pDlg->GetItemSet();
}
@@ -244,7 +244,7 @@ void AbstractSdSnapLineDlg_Impl::GetAttr(SfxItemSet& rOutAttrs)
{
pDlg->GetAttr(rOutAttrs);
}
-void AbstractSdSnapLineDlg_Impl::HideRadioGroup()
+void AbstractSdSnapLineDlg_Impl::HideRadioGroup()
{
pDlg->HideRadioGroup();
}
@@ -382,11 +382,11 @@ void AbstractHeaderFooterDialog_Impl::Cancel( TabPage* pPage )
//-------------- SdAbstractDialogFactory implementation--------------
//add for BreakDlg begin
-VclAbstractDialog * SdAbstractDialogFactory_Impl::CreateBreakDlg(
- ::Window* pWindow,
- ::sd::DrawView* pDrView,
- ::sd::DrawDocShell* pShell,
- ULONG nSumActionCount,
+VclAbstractDialog * SdAbstractDialogFactory_Impl::CreateBreakDlg(
+ ::Window* pWindow,
+ ::sd::DrawView* pDrView,
+ ::sd::DrawDocShell* pShell,
+ ULONG nSumActionCount,
ULONG nObjCount ) //add for BreakDlg
{
return new VclAbstractDialog_Impl( new ::sd::BreakDlg( pWindow, pDrView, pShell, nSumActionCount, nObjCount ) );
@@ -420,7 +420,7 @@ SfxAbstractTabDialog * SdAbstractDialogFactory_Impl::CreateSdTabPageDialog( ::W
{
return new AbstractTabDialog_Impl( new SdPageDlg( pDocShell, pParent, pAttr, bAreaPage ) );
}
-// add for SdCharDlg end
+// add for SdCharDlg end
//add for AssistentDlg begin
AbstractAssistentDlg * SdAbstractDialogFactory_Impl::CreateAssistentDlg( ::Window* pParent, BOOL bAutoPilot)
@@ -444,7 +444,7 @@ AbstractSdSnapLineDlg * SdAbstractDialogFactory_Impl::CreateSdSnapLineDlg( ::Win
//add for SdSnapLineDlg end
//add for SdInsertLayerDlg begin
-AbstractSdInsertLayerDlg * SdAbstractDialogFactory_Impl::CreateSdInsertLayerDlg( ::Window* pWindow, const SfxItemSet& rInAttrs, bool bDeletable, String aStr ) //add for SdInsertLayerDlg
+AbstractSdInsertLayerDlg * SdAbstractDialogFactory_Impl::CreateSdInsertLayerDlg( ::Window* pWindow, const SfxItemSet& rInAttrs, bool bDeletable, String aStr ) //add for SdInsertLayerDlg
{
return new AbstractSdInsertLayerDlg_Impl( new SdInsertLayerDlg( pWindow, rInAttrs, bDeletable, aStr ) );
}
@@ -481,14 +481,14 @@ SfxAbstractTabDialog * SdAbstractDialogFactory_Impl::CreateSdParagraphTabDlg( :
{
return new AbstractTabDialog_Impl( new SdParagraphDlg( pParent, pAttr ) );
}
-// add for OutlineBulletDlg end
+// add for OutlineBulletDlg end
// add for SdStartPresentationDlg begin
AbstractSdStartPresDlg * SdAbstractDialogFactory_Impl::CreateSdStartPresentationDlg( ::Window* pWindow, const SfxItemSet& rInAttrs, List& rPageNames, List* pCSList )
{
return new AbstractSdStartPresDlg_Impl( new SdStartPresentationDlg( pWindow, rInAttrs, rPageNames, pCSList ) );
}
-// add for SdStartPresentationDlg end
+// add for SdStartPresentationDlg end
// add for SdPresLayoutTemplateDlg begin
SfxAbstractTabDialog * SdAbstractDialogFactory_Impl::CreateSdPresLayoutTemplateDlg( SfxObjectShell* pDocSh, ::Window* pParent, SdResId DlgId, SfxStyleSheetBase& rStyleBase, PresentationObjects ePO, SfxStyleSheetBasePool* pSSPool )
@@ -498,17 +498,17 @@ SfxAbstractTabDialog * SdAbstractDialogFactory_Impl::CreateSdPresLayoutTemplate
// add for SdPresLayoutDlg begin
AbstractSdPresLayoutDlg * SdAbstractDialogFactory_Impl::CreateSdPresLayoutDlg( ::sd::DrawDocShell* pDocShell, ::sd::ViewShell* pViewShell, ::Window* pWindow, const SfxItemSet& rInAttrs)
-{
+{
return new AbstractSdPresLayoutDlg_Impl( new SdPresLayoutDlg( pDocShell, pViewShell, pWindow, rInAttrs ) );
}
-// add for SdPresLayoutDlg end
+// add for SdPresLayoutDlg end
// add for SdTabTemplateDlg begin
SfxAbstractTabDialog * SdAbstractDialogFactory_Impl::CreateSdTabTemplateDlg( ::Window* pParent, const SfxObjectShell* pDocShell, SfxStyleSheetBase& rStyleBase, SdrModel* pModel, SdrView* pView )
{
return new AbstractTabDialog_Impl( new SdTabTemplateDlg( pParent, pDocShell, rStyleBase, pModel, pView ) );
}
-// add for SdTabTemplateDlg end
+// add for SdTabTemplateDlg end
SfxAbstractDialog* SdAbstractDialogFactory_Impl::CreatSdActionDialog( ::Window* pParent, const SfxItemSet* pAttr, ::sd::View* pView )
{
@@ -520,14 +520,14 @@ AbstractSdVectorizeDlg * SdAbstractDialogFactory_Impl::CreateSdVectorizeDlg( ::
{
return new AbstractSdVectorizeDlg_Impl( new SdVectorizeDlg( pParent, rBmp, pDocShell ) );
}
-// add for SdVectorizeDlg end
+// add for SdVectorizeDlg end
// add for SdPublishingDlg begin
AbstractSdPublishingDlg * SdAbstractDialogFactory_Impl::CreateSdPublishingDlg( ::Window* pWindow, DocumentType eDocType)
{
return new AbstractSdPublishingDlg_Impl( new SdPublishingDlg( pWindow, eDocType ) );
}
-// add for SdPublishingDlg end
+// add for SdPublishingDlg end
// Factories for TabPages
CreateTabPage SdAbstractDialogFactory_Impl::GetSdOptionsContentsTabPageCreatorFunc()
@@ -550,13 +550,13 @@ CreateTabPage SdAbstractDialogFactory_Impl::GetSdOptionsSnapTabPageCreatorFunc()
return SdTpOptionsSnap::Create;
}
-VclAbstractDialog* SdAbstractDialogFactory_Impl::CreateMasterLayoutDialog( ::Window* pParent,
+VclAbstractDialog* SdAbstractDialogFactory_Impl::CreateMasterLayoutDialog( ::Window* pParent,
SdDrawDocument* pDoc, SdPage* pCurrentPage )
{
return new VclAbstractDialog_Impl( new ::sd::MasterLayoutDialog( pParent, pDoc, pCurrentPage ));
}
-AbstractHeaderFooterDialog* SdAbstractDialogFactory_Impl::CreateHeaderFooterDialog( ViewShell* pViewShell,
+AbstractHeaderFooterDialog* SdAbstractDialogFactory_Impl::CreateHeaderFooterDialog( ViewShell* pViewShell,
::Window* pParent, SdDrawDocument* pDoc, SdPage* pCurrentPage )
{
return new AbstractHeaderFooterDialog_Impl( new ::sd::HeaderFooterDialog( (::sd::ViewShell*)pViewShell, pParent, pDoc, pCurrentPage ));
diff --git a/sd/source/ui/dlg/sddlgfact.hxx b/sd/source/ui/dlg/sddlgfact.hxx
index 551ef6317ed9..dd5d5e68cd59 100644
--- a/sd/source/ui/dlg/sddlgfact.hxx
+++ b/sd/source/ui/dlg/sddlgfact.hxx
@@ -2,7 +2,7 @@
/*************************************************************************
*
* 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
@@ -29,26 +29,26 @@
#define _SD_DLGFACT_HXX
// include ---------------------------------------------------------------
-#include "sdabstdlg.hxx"
+#include "sdabstdlg.hxx"
#include <sfx2/basedlgs.hxx>
-#define DECL_ABSTDLG_BASE(Class,DialogClass) \
- DialogClass* pDlg; \
-public: \
- Class( DialogClass* p) \
- : pDlg(p) \
+#define DECL_ABSTDLG_BASE(Class,DialogClass) \
+ DialogClass* pDlg; \
+public: \
+ Class( DialogClass* p) \
+ : pDlg(p) \
{} \
- virtual ~Class(); \
- virtual short Execute() ;
+ virtual ~Class(); \
+ virtual short Execute() ;
-#define IMPL_ABSTDLG_BASE(Class) \
-Class::~Class() \
+#define IMPL_ABSTDLG_BASE(Class) \
+Class::~Class() \
{ \
- delete pDlg; \
-} \
+ delete pDlg; \
+} \
short Class::Execute() \
{ \
- return pDlg->Execute(); \
+ return pDlg->Execute(); \
}
namespace sd {
@@ -70,7 +70,7 @@ class VclAbstractDialog_Impl : public VclAbstractDialog
class AbstractCopyDlg_Impl : public AbstractCopyDlg
{
DECL_ABSTDLG_BASE(AbstractCopyDlg_Impl,::sd::CopyDlg)
- virtual void GetAttr( SfxItemSet& rOutAttrs );
+ virtual void GetAttr( SfxItemSet& rOutAttrs );
};
// add for SdCustomShowDlg
@@ -78,8 +78,8 @@ class SdCustomShowDlg;
class AbstractSdCustomShowDlg_Impl : public AbstractSdCustomShowDlg
{
DECL_ABSTDLG_BASE(AbstractSdCustomShowDlg_Impl,SdCustomShowDlg)
- virtual BOOL IsModified() const ;
- virtual BOOL IsCustomShow() const ;
+ virtual BOOL IsModified() const ;
+ virtual BOOL IsCustomShow() const ;
};
//add for SdCharDlg begin
@@ -87,13 +87,13 @@ class SfxTabDialog;
class AbstractTabDialog_Impl : public SfxAbstractTabDialog
{
DECL_ABSTDLG_BASE( AbstractTabDialog_Impl,SfxTabDialog )
- virtual void SetCurPageId( USHORT nId );
- virtual const SfxItemSet* GetOutputItemSet() const;
- virtual const USHORT* GetInputRanges( const SfxItemPool& pItem );
- virtual void SetInputSet( const SfxItemSet* pInSet );
+ virtual void SetCurPageId( USHORT nId );
+ virtual const SfxItemSet* GetOutputItemSet() const;
+ virtual const USHORT* GetInputRanges( const SfxItemPool& pItem );
+ virtual void SetInputSet( const SfxItemSet* pInSet );
//From class Window.
- virtual void SetText( const XubString& rStr );
- virtual String GetText() const;
+ virtual void SetText( const XubString& rStr );
+ virtual String GetText() const;
};
//add for SdCharDlg end
@@ -103,13 +103,13 @@ class SfxTabDialog;
class AbstractBulletDialog_Impl : public SfxAbstractTabDialog
{
DECL_ABSTDLG_BASE( AbstractBulletDialog_Impl,SfxTabDialog )
- virtual void SetCurPageId( USHORT nId );
- virtual const SfxItemSet* GetOutputItemSet() const;
- virtual const USHORT* GetInputRanges( const SfxItemPool& pItem );
- virtual void SetInputSet( const SfxItemSet* pInSet );
+ virtual void SetCurPageId( USHORT nId );
+ virtual const SfxItemSet* GetOutputItemSet() const;
+ virtual const USHORT* GetInputRanges( const SfxItemPool& pItem );
+ virtual void SetInputSet( const SfxItemSet* pInSet );
//From class Window.
- virtual void SetText( const XubString& rStr );
- virtual String GetText() const;
+ virtual void SetText( const XubString& rStr );
+ virtual String GetText() const;
};
//add for OutlineBulletDlg end
@@ -117,13 +117,13 @@ class SdPresLayoutTemplateDlg;
class SdPresLayoutTemplateDlg_Impl : public SfxAbstractTabDialog
{
DECL_ABSTDLG_BASE( SdPresLayoutTemplateDlg_Impl,SdPresLayoutTemplateDlg )
- virtual void SetCurPageId( USHORT nId );
- virtual const SfxItemSet* GetOutputItemSet() const;
- virtual const USHORT* GetInputRanges( const SfxItemPool& pItem );
- virtual void SetInputSet( const SfxItemSet* pInSet );
+ virtual void SetCurPageId( USHORT nId );
+ virtual const SfxItemSet* GetOutputItemSet() const;
+ virtual const USHORT* GetInputRanges( const SfxItemPool& pItem );
+ virtual void SetInputSet( const SfxItemSet* pInSet );
//From class Window.
- virtual void SetText( const XubString& rStr );
- virtual String GetText() const;
+ virtual void SetText( const XubString& rStr );
+ virtual String GetText() const;
};
// add for AssistentDlg
@@ -146,8 +146,8 @@ class SdModifyFieldDlg;
class AbstractSdModifyFieldDlg_Impl : public AbstractSdModifyFieldDlg
{
DECL_ABSTDLG_BASE(AbstractSdModifyFieldDlg_Impl,SdModifyFieldDlg)
- virtual SvxFieldData* GetField();
- virtual SfxItemSet GetItemSet();
+ virtual SvxFieldData* GetField();
+ virtual SfxItemSet GetItemSet();
};
// add for SdSnapLineDlg
@@ -168,7 +168,7 @@ class SdInsertLayerDlg;
class AbstractSdInsertLayerDlg_Impl : public AbstractSdInsertLayerDlg
{
DECL_ABSTDLG_BASE(AbstractSdInsertLayerDlg_Impl,SdInsertLayerDlg)
- virtual void GetAttr( SfxItemSet& rOutAttrs ) ;
+ virtual void GetAttr( SfxItemSet& rOutAttrs ) ;
//from class Window
virtual void SetHelpId( ULONG nHelpId ) ;
};
@@ -178,7 +178,7 @@ class SdInsertPasteDlg;
class AbstractSdInsertPasteDlg_Impl : public AbstractSdInsertPasteDlg
{
DECL_ABSTDLG_BASE(AbstractSdInsertPasteDlg_Impl,SdInsertPasteDlg)
- virtual BOOL IsInsertBefore() const;
+ virtual BOOL IsInsertBefore() const;
};
// add for SdInsertPagesObjsDlg
@@ -186,20 +186,20 @@ class SdInsertPagesObjsDlg;
class AbstractSdInsertPagesObjsDlg_Impl : public AbstractSdInsertPagesObjsDlg
{
DECL_ABSTDLG_BASE(AbstractSdInsertPagesObjsDlg_Impl,SdInsertPagesObjsDlg)
- virtual ::Window * GetWindow(); //this method is added for return a Window type pointer
- virtual List* GetList( USHORT nType );
- virtual BOOL IsLink();
- virtual BOOL IsRemoveUnnessesaryMasterPages() const;
+ virtual ::Window * GetWindow(); //this method is added for return a Window type pointer
+ virtual List* GetList( USHORT nType );
+ virtual BOOL IsLink();
+ virtual BOOL IsRemoveUnnessesaryMasterPages() const;
};
// add for MorphDlg
class AbstractMorphDlg_Impl : public AbstractMorphDlg
{
DECL_ABSTDLG_BASE(AbstractMorphDlg_Impl,::sd::MorphDlg)
- virtual void SaveSettings() const;
- virtual USHORT GetFadeSteps() const;
- virtual BOOL IsAttributeFade() const ;
- virtual BOOL IsOrientationFade() const ;
+ virtual void SaveSettings() const;
+ virtual USHORT GetFadeSteps() const;
+ virtual BOOL IsAttributeFade() const ;
+ virtual BOOL IsOrientationFade() const ;
};
// add for SdStartPresentationDlg
@@ -207,7 +207,7 @@ class SdStartPresentationDlg;
class AbstractSdStartPresDlg_Impl : public AbstractSdStartPresDlg
{
DECL_ABSTDLG_BASE(AbstractSdStartPresDlg_Impl,SdStartPresentationDlg)
- virtual void GetAttr( SfxItemSet& rOutAttrs );
+ virtual void GetAttr( SfxItemSet& rOutAttrs );
};
// add for SdPresLayoutDlg
@@ -215,29 +215,29 @@ class SdPresLayoutDlg;
class AbstractSdPresLayoutDlg_Impl : public AbstractSdPresLayoutDlg
{
DECL_ABSTDLG_BASE(AbstractSdPresLayoutDlg_Impl,SdPresLayoutDlg)
- virtual void GetAttr(SfxItemSet& rOutAttrs);
+ virtual void GetAttr(SfxItemSet& rOutAttrs);
};
// add for SdActionDlg
-class SfxSingleTabDialog;
-class AbstractSfxDialog_Impl : public SfxAbstractDialog
+class SfxSingleTabDialog;
+class AbstractSfxDialog_Impl : public SfxAbstractDialog
{
DECL_ABSTDLG_BASE(AbstractSfxDialog_Impl,SfxModalDialog)
- virtual const SfxItemSet* GetOutputItemSet() const;
- virtual void SetText( const XubString& rStr );
- virtual String GetText() const;
+ virtual const SfxItemSet* GetOutputItemSet() const;
+ virtual void SetText( const XubString& rStr );
+ virtual String GetText() const;
};
// add for SdVectorizeDlg
-class SdVectorizeDlg;
+class SdVectorizeDlg;
class AbstractSdVectorizeDlg_Impl :public AbstractSdVectorizeDlg
{
DECL_ABSTDLG_BASE(AbstractSdVectorizeDlg_Impl,SdVectorizeDlg)
- virtual const GDIMetaFile& GetGDIMetaFile() const ;
+ virtual const GDIMetaFile& GetGDIMetaFile() const ;
};
// add for SdPublishingDlg
-class SdPublishingDlg;
+class SdPublishingDlg;
class AbstractSdPublishingDlg_Impl :public AbstractSdPublishingDlg
{
DECL_ABSTDLG_BASE(AbstractSdPublishingDlg_Impl,SdPublishingDlg)
@@ -259,42 +259,42 @@ class SdAbstractDialogFactory_Impl : public SdAbstractDialogFactory
{
public:
- virtual VclAbstractDialog* CreateBreakDlg(::Window* pWindow, ::sd::DrawView* pDrView, ::sd::DrawDocShell* pShell, ULONG nSumActionCount, ULONG nObjCount );
- virtual AbstractCopyDlg* CreateCopyDlg( ::Window* pWindow, const SfxItemSet& rInAttrs, XColorTable* pColTab, ::sd::View* pView );
- virtual AbstractSdCustomShowDlg* CreateSdCustomShowDlg( ::Window* pWindow, SdDrawDocument& rDrawDoc );
- virtual SfxAbstractTabDialog* CreateSdTabCharDialog( ::Window* pParent, const SfxItemSet* pAttr, SfxObjectShell* pDocShell );
- virtual SfxAbstractTabDialog* CreateSdTabPageDialog( ::Window* pParent, const SfxItemSet* pAttr, SfxObjectShell* pDocShell, BOOL bAreaPage = TRUE );
- virtual AbstractAssistentDlg* CreateAssistentDlg( ::Window* pParent, BOOL bAutoPilot);
- virtual AbstractSdModifyFieldDlg* CreateSdModifyFieldDlg( ::Window* pWindow, const SvxFieldData* pInField, const SfxItemSet& rSet );
- virtual AbstractSdSnapLineDlg* CreateSdSnapLineDlg( ::Window* pWindow, const SfxItemSet& rInAttrs, ::sd::View* pView);
- virtual AbstractSdInsertLayerDlg* CreateSdInsertLayerDlg( ::Window* pWindow, const SfxItemSet& rInAttrs, bool bDeletable, String aStr );
- virtual AbstractSdInsertPasteDlg* CreateSdInsertPasteDlg( ::Window* pWindow );
+ virtual VclAbstractDialog* CreateBreakDlg(::Window* pWindow, ::sd::DrawView* pDrView, ::sd::DrawDocShell* pShell, ULONG nSumActionCount, ULONG nObjCount );
+ virtual AbstractCopyDlg* CreateCopyDlg( ::Window* pWindow, const SfxItemSet& rInAttrs, XColorTable* pColTab, ::sd::View* pView );
+ virtual AbstractSdCustomShowDlg* CreateSdCustomShowDlg( ::Window* pWindow, SdDrawDocument& rDrawDoc );
+ virtual SfxAbstractTabDialog* CreateSdTabCharDialog( ::Window* pParent, const SfxItemSet* pAttr, SfxObjectShell* pDocShell );
+ virtual SfxAbstractTabDialog* CreateSdTabPageDialog( ::Window* pParent, const SfxItemSet* pAttr, SfxObjectShell* pDocShell, BOOL bAreaPage = TRUE );
+ virtual AbstractAssistentDlg* CreateAssistentDlg( ::Window* pParent, BOOL bAutoPilot);
+ virtual AbstractSdModifyFieldDlg* CreateSdModifyFieldDlg( ::Window* pWindow, const SvxFieldData* pInField, const SfxItemSet& rSet );
+ virtual AbstractSdSnapLineDlg* CreateSdSnapLineDlg( ::Window* pWindow, const SfxItemSet& rInAttrs, ::sd::View* pView);
+ virtual AbstractSdInsertLayerDlg* CreateSdInsertLayerDlg( ::Window* pWindow, const SfxItemSet& rInAttrs, bool bDeletable, String aStr );
+ virtual AbstractSdInsertPasteDlg* CreateSdInsertPasteDlg( ::Window* pWindow );
virtual AbstractSdInsertPagesObjsDlg* CreateSdInsertPagesObjsDlg( ::Window* pParent, const SdDrawDocument* pDoc, SfxMedium* pSfxMedium, const String& rFileName );
- virtual AbstractMorphDlg* CreateMorphDlg( ::Window* pParent, const SdrObject* pObj1, const SdrObject* pObj2);
- virtual SfxAbstractTabDialog* CreateSdOutlineBulletTabDlg ( ::Window* pParent, const SfxItemSet* pAttr, ::sd::View* pView = NULL );
- virtual SfxAbstractTabDialog* CreateSdParagraphTabDlg ( ::Window* pParent, const SfxItemSet* pAttr );
- virtual AbstractSdStartPresDlg* CreateSdStartPresentationDlg( ::Window* pWindow, const SfxItemSet& rInAttrs, List& rPageNames, List* pCSList );
- virtual SfxAbstractTabDialog* CreateSdPresLayoutTemplateDlg( SfxObjectShell* pDocSh, ::Window* pParent, SdResId DlgId, SfxStyleSheetBase& rStyleBase, PresentationObjects ePO, SfxStyleSheetBasePool* pSSPool );
- virtual AbstractSdPresLayoutDlg* CreateSdPresLayoutDlg( ::sd::DrawDocShell* pDocShell, ::sd::ViewShell* pViewShell, ::Window* pWindow, const SfxItemSet& rInAttrs);
- virtual SfxAbstractTabDialog* CreateSdTabTemplateDlg( ::Window* pParent, const SfxObjectShell* pDocShell, SfxStyleSheetBase& rStyleBase, SdrModel* pModel, SdrView* pView );
- virtual SfxAbstractDialog* CreatSdActionDialog( ::Window* pParent, const SfxItemSet* pAttr, ::sd::View* pView );
- virtual AbstractSdVectorizeDlg* CreateSdVectorizeDlg( ::Window* pParent, const Bitmap& rBmp, ::sd::DrawDocShell* pDocShell );
- virtual AbstractSdPublishingDlg* CreateSdPublishingDlg( ::Window* pWindow, DocumentType eDocType);
+ virtual AbstractMorphDlg* CreateMorphDlg( ::Window* pParent, const SdrObject* pObj1, const SdrObject* pObj2);
+ virtual SfxAbstractTabDialog* CreateSdOutlineBulletTabDlg ( ::Window* pParent, const SfxItemSet* pAttr, ::sd::View* pView = NULL );
+ virtual SfxAbstractTabDialog* CreateSdParagraphTabDlg ( ::Window* pParent, const SfxItemSet* pAttr );
+ virtual AbstractSdStartPresDlg* CreateSdStartPresentationDlg( ::Window* pWindow, const SfxItemSet& rInAttrs, List& rPageNames, List* pCSList );
+ virtual SfxAbstractTabDialog* CreateSdPresLayoutTemplateDlg( SfxObjectShell* pDocSh, ::Window* pParent, SdResId DlgId, SfxStyleSheetBase& rStyleBase, PresentationObjects ePO, SfxStyleSheetBasePool* pSSPool );
+ virtual AbstractSdPresLayoutDlg* CreateSdPresLayoutDlg( ::sd::DrawDocShell* pDocShell, ::sd::ViewShell* pViewShell, ::Window* pWindow, const SfxItemSet& rInAttrs);
+ virtual SfxAbstractTabDialog* CreateSdTabTemplateDlg( ::Window* pParent, const SfxObjectShell* pDocShell, SfxStyleSheetBase& rStyleBase, SdrModel* pModel, SdrView* pView );
+ virtual SfxAbstractDialog* CreatSdActionDialog( ::Window* pParent, const SfxItemSet* pAttr, ::sd::View* pView );
+ virtual AbstractSdVectorizeDlg* CreateSdVectorizeDlg( ::Window* pParent, const Bitmap& rBmp, ::sd::DrawDocShell* pDocShell );
+ virtual AbstractSdPublishingDlg* CreateSdPublishingDlg( ::Window* pWindow, DocumentType eDocType);
- virtual VclAbstractDialog* CreateMasterLayoutDialog( ::Window* pParent,
+ virtual VclAbstractDialog* CreateMasterLayoutDialog( ::Window* pParent,
SdDrawDocument* pDoc,
SdPage* ); // add for MasterLayoutDialog
- virtual AbstractHeaderFooterDialog* CreateHeaderFooterDialog( ViewShell* pViewShell,
- ::Window* pParent,
- SdDrawDocument* pDoc,
+ virtual AbstractHeaderFooterDialog* CreateHeaderFooterDialog( ViewShell* pViewShell,
+ ::Window* pParent,
+ SdDrawDocument* pDoc,
SdPage* pCurrentPage ); // add for HeaderFooterDialog
// For TabPage
- virtual CreateTabPage GetSdOptionsContentsTabPageCreatorFunc();
- virtual CreateTabPage GetSdPrintOptionsTabPageCreatorFunc();
- virtual CreateTabPage GetSdOptionsMiscTabPageCreatorFunc();
- virtual CreateTabPage GetSdOptionsSnapTabPageCreatorFunc();
+ virtual CreateTabPage GetSdOptionsContentsTabPageCreatorFunc();
+ virtual CreateTabPage GetSdPrintOptionsTabPageCreatorFunc();
+ virtual CreateTabPage GetSdOptionsMiscTabPageCreatorFunc();
+ virtual CreateTabPage GetSdOptionsSnapTabPageCreatorFunc();
};
#endif
diff --git a/sd/source/ui/dlg/sdpreslt.cxx b/sd/source/ui/dlg/sdpreslt.cxx
index c2f7648aadd8..3af5f1969e30 100644
--- a/sd/source/ui/dlg/sdpreslt.cxx
+++ b/sd/source/ui/dlg/sdpreslt.cxx
@@ -2,7 +2,7 @@
/*************************************************************************
*
* 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
@@ -58,9 +58,9 @@
\************************************************************************/
SdPresLayoutDlg::SdPresLayoutDlg(
- ::sd::DrawDocShell* pDocShell,
- ::sd::ViewShell* pViewShell,
- ::Window* pWindow,
+ ::sd::DrawDocShell* pDocShell,
+ ::sd::ViewShell* pViewShell,
+ ::Window* pWindow,
const SfxItemSet& rInAttrs ):
ModalDialog (pWindow, SdResId(DLG_PRESLT)),
mpDocSh ( pDocShell ),
@@ -70,11 +70,11 @@ SdPresLayoutDlg::SdPresLayoutDlg(
maBtnOK (this, SdResId(BTN_OK)),
maBtnCancel (this, SdResId(BTN_CANCEL)),
maBtnHelp (this, SdResId(BTN_HELP)),
- maCbxMasterPage (this, SdResId(CBX_MASTER_PAGE)),
- maCbxCheckMasters (this, SdResId(CBX_CHECK_MASTERS)),
+ maCbxMasterPage (this, SdResId(CBX_MASTER_PAGE)),
+ maCbxCheckMasters (this, SdResId(CBX_CHECK_MASTERS)),
maBtnLoad (this, SdResId(BTN_LOAD)),
mrOutAttrs (rInAttrs),
- maStrNone ( SdResId( STR_NULL ) )
+ maStrNone ( SdResId( STR_NULL ) )
{
FreeResource();
@@ -88,7 +88,7 @@ SdPresLayoutDlg::SdPresLayoutDlg(
/*************************************************************************
|*
-|* Dtor
+|* Dtor
|*
*************************************************************************/
@@ -106,7 +106,7 @@ SdPresLayoutDlg::~SdPresLayoutDlg()
/*************************************************************************
|*
-|* Initialisierung
+|* Initialisierung
|*
*************************************************************************/
@@ -147,7 +147,7 @@ void SdPresLayoutDlg::Reset()
/*************************************************************************
|*
-|* Fuellt uebergebenen Item-Set mit Dialogbox-Attributen
+|* Fuellt uebergebenen Item-Set mit Dialogbox-Attributen
|*
*************************************************************************/
@@ -309,7 +309,7 @@ IMPL_LINK(SdPresLayoutDlg, ClickLoadHdl, void *, EMPTYARG)
{
::sd::DrawDocShell* pTemplDocSh= pTemplDoc->GetDocSh();
-/* SdPage* pMaster = pTemplDoc->GetMasterSdPage( 0, PK_STANDARD );
+/* SdPage* pMaster = pTemplDoc->GetMasterSdPage( 0, PK_STANDARD );
mpLayoutNames->Insert( new String( maName ), LIST_APPEND );
Bitmap aBitmap( pTemplDocSh->GetPagePreviewBitmap( pMaster, 90 ) );
diff --git a/sd/source/ui/dlg/sdpreslt.src b/sd/source/ui/dlg/sdpreslt.src
index 3aad51674a46..f1d18adfe99e 100644
--- a/sd/source/ui/dlg/sdpreslt.src
+++ b/sd/source/ui/dlg/sdpreslt.src
@@ -1,7 +1,7 @@
/*************************************************************************
*
* 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
diff --git a/sd/source/ui/dlg/sdtreelb.cxx b/sd/source/ui/dlg/sdtreelb.cxx
index 586201496926..8a2fc7954cba 100644
--- a/sd/source/ui/dlg/sdtreelb.cxx
+++ b/sd/source/ui/dlg/sdtreelb.cxx
@@ -2,7 +2,7 @@
/*************************************************************************
*
* 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
@@ -57,7 +57,7 @@
#include <svtools/embedtransfer.hxx>
#include <tools/diagnose_ex.h>
#include <ViewShell.hxx>
-
+
using namespace com::sun::star;
class SdPageObjsTLB::IconProvider
@@ -86,8 +86,8 @@ public:
BOOL SD_DLLPRIVATE SdPageObjsTLB::bIsInDrag = FALSE;
BOOL SdPageObjsTLB::IsInDrag()
-{
- return bIsInDrag;
+{
+ return bIsInDrag;
}
sal_uInt32 SdPageObjsTLB::SdPageObjsTransferable::mnListBoxDropFormatId = SAL_MAX_UINT32;
@@ -96,8 +96,8 @@ sal_uInt32 SdPageObjsTLB::SdPageObjsTransferable::mnListBoxDropFormatId = SAL_MA
// - SdPageObjsTLB::SdPageObjsTransferable -
// -----------------------------------------
-SdPageObjsTLB::SdPageObjsTransferable::SdPageObjsTransferable(
- SdPageObjsTLB& rParent,
+SdPageObjsTLB::SdPageObjsTransferable::SdPageObjsTransferable(
+ SdPageObjsTLB& rParent,
const INetBookmark& rBookmark,
::sd::DrawDocShell& rDocShell,
NavigatorDragType eDragType,
@@ -109,7 +109,7 @@ SdPageObjsTLB::SdPageObjsTransferable::SdPageObjsTransferable(
meDragType( eDragType ),
maTreeListBoxData( rTreeListBoxData )
{
-}
+}
@@ -121,7 +121,7 @@ SdPageObjsTLB::SdPageObjsTransferable::~SdPageObjsTransferable()
// -----------------------------------------------------------------------------
void SdPageObjsTLB::SdPageObjsTransferable::AddSupportedFormats()
-{
+{
AddFormat(SOT_FORMATSTR_ID_NETSCAPE_BOOKMARK);
AddFormat(SOT_FORMATSTR_ID_TREELISTBOX);
AddFormat(GetListBoxDropFormatId());
@@ -239,19 +239,19 @@ sal_uInt32 SdPageObjsTLB::SdPageObjsTransferable::GetListBoxDropFormatId (void)
|*
\************************************************************************/
-SdPageObjsTLB::SdPageObjsTLB( Window* pParentWin, const SdResId& rSdResId )
-: SvTreeListBox ( pParentWin, rSdResId )
-, mpParent ( pParentWin )
-, mpDoc ( NULL )
-, mpBookmarkDoc ( NULL )
-, mpMedium ( NULL )
-, mpOwnMedium ( NULL )
-, maImgOle ( BitmapEx( SdResId( BMP_OLE ) ) )
-, maImgGraphic ( BitmapEx( SdResId( BMP_GRAPHIC ) ) )
-, maImgOleH ( BitmapEx( SdResId( BMP_OLE_H ) ) )
-, maImgGraphicH ( BitmapEx( SdResId( BMP_GRAPHIC_H ) ) )
-, mbLinkableSelected ( FALSE )
-, mpDropNavWin ( NULL )
+SdPageObjsTLB::SdPageObjsTLB( Window* pParentWin, const SdResId& rSdResId )
+: SvTreeListBox ( pParentWin, rSdResId )
+, mpParent ( pParentWin )
+, mpDoc ( NULL )
+, mpBookmarkDoc ( NULL )
+, mpMedium ( NULL )
+, mpOwnMedium ( NULL )
+, maImgOle ( BitmapEx( SdResId( BMP_OLE ) ) )
+, maImgGraphic ( BitmapEx( SdResId( BMP_GRAPHIC ) ) )
+, maImgOleH ( BitmapEx( SdResId( BMP_OLE_H ) ) )
+, maImgGraphicH ( BitmapEx( SdResId( BMP_GRAPHIC_H ) ) )
+, mbLinkableSelected ( FALSE )
+, mpDropNavWin ( NULL )
, mbShowAllShapes ( false )
, mbShowAllPages ( false )
@@ -402,7 +402,7 @@ void SdPageObjsTLB::Fill( const SdDrawDocument* pInDoc, BOOL bAllPages,
mbShowAllPages = (bAllPages == TRUE);
mpMedium = NULL;
- SdPage* pPage = NULL;
+ SdPage* pPage = NULL;
IconProvider aIconProvider;
@@ -632,10 +632,10 @@ BOOL SdPageObjsTLB::IsEqualToDoc( const SdDrawDocument* pInDoc )
if( !mpDoc )
return( FALSE );
- SdrObject* pObj = NULL;
- SdPage* pPage = NULL;
+ SdrObject* pObj = NULL;
+ SdPage* pPage = NULL;
SvLBoxEntry* pEntry = First();
- String aName;
+ String aName;
// Alle Pages incl. Objekte vergleichen
USHORT nPage = 0;
@@ -708,7 +708,7 @@ String SdPageObjsTLB::GetSelectEntry()
List* SdPageObjsTLB::GetSelectEntryList( USHORT nDepth )
{
- List* pList = NULL;
+ List* pList = NULL;
SvLBoxEntry* pEntry = FirstSelected();
while( pEntry )
@@ -740,8 +740,8 @@ void SdPageObjsTLB::RequestingChilds( SvLBoxEntry* pFileEntry )
{
if( GetBookmarkDoc() )
{
- SdrObject* pObj = NULL;
- SdPage* pPage = NULL;
+ SdrObject* pObj = NULL;
+ SdPage* pPage = NULL;
SvLBoxEntry* pPageEntry = NULL;
Image aImgPage=Image( BitmapEx( SdResId( BMP_PAGE ) ) );
@@ -823,8 +823,8 @@ void SdPageObjsTLB::RequestingChilds( SvLBoxEntry* pFileEntry )
/*************************************************************************
|*
-|* Prueft, ob es sich um eine Draw-Datei handelt und oeffnet anhand des
-|* uebergebenen Docs das BookmarkDoc
+|* Prueft, ob es sich um eine Draw-Datei handelt und oeffnet anhand des
+|* uebergebenen Docs das BookmarkDoc
|*
\************************************************************************/
@@ -975,10 +975,10 @@ void SdPageObjsTLB::StartDrag( sal_Int8 nAction, const Point& rPosPixel)
{
(void)nAction;
(void)rPosPixel;
-
+
SdNavigatorWin* pNavWin = NULL;
SvLBoxEntry* pEntry = GetEntry(rPosPixel);
-
+
if( mpFrame->HasChildWindow( SID_NAVIGATOR ) )
pNavWin = (SdNavigatorWin*) ( mpFrame->GetChildWindow( SID_NAVIGATOR )->GetContextWindow( SD_MOD() ) );
@@ -1037,16 +1037,16 @@ void SdPageObjsTLB::DoDrag()
{
::sd::DrawDocShell* pDocShell = mpDoc->GetDocSh();
String aURL = INetURLObject( pDocShell->GetMedium()->GetPhysicalName(), INET_PROT_FILE ).GetMainURL( INetURLObject::NO_DECODE );
- NavigatorDragType eDragType = mpDropNavWin->GetNavigatorDragType();
+ NavigatorDragType eDragType = mpDropNavWin->GetNavigatorDragType();
aURL.Append( '#' );
aURL.Append( GetSelectEntry() );
- INetBookmark aBookmark( aURL, GetSelectEntry() );
- sal_Int8 nDNDActions = DND_ACTION_COPYMOVE;
+ INetBookmark aBookmark( aURL, GetSelectEntry() );
+ sal_Int8 nDNDActions = DND_ACTION_COPYMOVE;
if( eDragType == NAVIGATOR_DRAGTYPE_LINK )
- nDNDActions = DND_ACTION_LINK; // #93240# Either COPY *or* LINK, never both!
+ nDNDActions = DND_ACTION_LINK; // #93240# Either COPY *or* LINK, never both!
SvTreeListBox::ReleaseMouse();
@@ -1060,7 +1060,7 @@ void SdPageObjsTLB::DoDrag()
::com::sun::star::uno::Sequence<sal_Int8> aSequence (sizeof(SvLBoxDDInfo));
memcpy(aSequence.getArray(), (sal_Char*)&aDDInfo, sizeof(SvLBoxDDInfo));
::com::sun::star::uno::Any aTreeListBoxData (aSequence);
-
+
// object is destroyed by internal reference mechanism
SdTransferable* pTransferable = new SdPageObjsTLB::SdPageObjsTransferable(
*this, aBookmark, *pDocShell, eDragType, aTreeListBoxData);
@@ -1141,7 +1141,7 @@ void SdPageObjsTLB::OnDragFinished( sal_uInt8 )
sal_Int8 SdPageObjsTLB::AcceptDrop (const AcceptDropEvent& rEvent)
{
sal_Int8 nResult (DND_ACTION_NONE);
-
+
if ( !bIsInDrag && IsDropFormatSupported( FORMAT_FILE ) )
{
nResult = rEvent.mnAction;
@@ -1170,11 +1170,11 @@ sal_Int8 SdPageObjsTLB::AcceptDrop (const AcceptDropEvent& rEvent)
}
}
}
-
+
// Hide emphasis when there is no valid drop action.
if (nResult == DND_ACTION_NONE)
ImplShowTargetEmphasis(pTargetEntry, FALSE);
-
+
return nResult;
}
@@ -1193,16 +1193,16 @@ sal_Int8 SdPageObjsTLB::ExecuteDrop( const ExecuteDropEvent& rEvt )
if( !bIsInDrag )
{
SdNavigatorWin* pNavWin = NULL;
- USHORT nId = SID_NAVIGATOR;
-
+ USHORT nId = SID_NAVIGATOR;
+
if( mpFrame->HasChildWindow( nId ) )
pNavWin = (SdNavigatorWin*)( mpFrame->GetChildWindow( nId )->GetContextWindow( SD_MOD() ) );
-
+
if( pNavWin && ( pNavWin == mpParent ) )
{
- TransferableDataHelper aDataHelper( rEvt.maDropEvent.Transferable );
- String aFile;
-
+ TransferableDataHelper aDataHelper( rEvt.maDropEvent.Transferable );
+ String aFile;
+
if( aDataHelper.GetString( FORMAT_FILE, aFile ) &&
( (SdNavigatorWin*) mpParent)->InsertFile( aFile ) )
{
@@ -1231,8 +1231,8 @@ sal_Int8 SdPageObjsTLB::ExecuteDrop( const ExecuteDropEvent& rEvt )
IMPL_STATIC_LINK(SdPageObjsTLB, ExecDragHdl, void*, EMPTYARG)
{
- // als Link, damit asynchron ohne ImpMouseMoveMsg auf dem Stack auch der
- // Navigator geloescht werden darf
+ // als Link, damit asynchron ohne ImpMouseMoveMsg auf dem Stack auch der
+ // Navigator geloescht werden darf
pThis->DoDrag();
return 0;
}
@@ -1335,7 +1335,7 @@ SvLBoxEntry* SdPageObjsTLB::GetDropTarget (const Point& rLocation)
if (pEntry == NULL)
return NULL;
- OSL_TRACE("entry is %s",
+ OSL_TRACE("entry is %s",
::rtl::OUStringToOString(GetEntryText(pEntry), RTL_TEXTENCODING_UTF8).getStr());
if (GetParent(pEntry) == NULL)
{
@@ -1359,7 +1359,7 @@ SvLBoxEntry* SdPageObjsTLB::GetDropTarget (const Point& rLocation)
else
break;
}
- OSL_TRACE("returning %s",
+ OSL_TRACE("returning %s",
::rtl::OUStringToOString(GetEntryText(pEntry), RTL_TEXTENCODING_UTF8).getStr());
}
@@ -1373,7 +1373,7 @@ bool SdPageObjsTLB::IsDropAllowed (SvLBoxEntry* pEntry)
{
if (pEntry == NULL)
return false;
-
+
if ( ! IsDropFormatSupported(SdPageObjsTransferable::GetListBoxDropFormatId()))
return false;
@@ -1425,7 +1425,7 @@ void SdPageObjsTLB::AddShapeToTransferable (
Point aDragPos (rObject.GetCurrentBoundRect().Center());
//Point aDragPos (0,0);
aObjectDescriptor.maDragStartPos = aDragPos;
- // aObjectDescriptor.maSize = GetAllMarkedRect().GetSize();
+ // aObjectDescriptor.maSize = GetAllMarkedRect().GetSize();
if (pDocShell != NULL)
aObjectDescriptor.maDisplayName = pDocShell->GetMedium()->GetURLObject().GetURLNoPass();
else
diff --git a/sd/source/ui/dlg/sduiexp.cxx b/sd/source/ui/dlg/sduiexp.cxx
index 3380fcb555c7..06f94d948bfc 100644
--- a/sd/source/ui/dlg/sduiexp.cxx
+++ b/sd/source/ui/dlg/sduiexp.cxx
@@ -2,7 +2,7 @@
/*************************************************************************
*
* 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
diff --git a/sd/source/ui/dlg/tabtempl.cxx b/sd/source/ui/dlg/tabtempl.cxx
index 972b0840f47e..ca58f1116e98 100644
--- a/sd/source/ui/dlg/tabtempl.cxx
+++ b/sd/source/ui/dlg/tabtempl.cxx
@@ -2,7 +2,7 @@
/*************************************************************************
*
* 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
@@ -72,14 +72,14 @@ SdTabTemplateDlg::SdTabTemplateDlg( Window* pParent,
SdrModel* pModel,
SdrView* pView ) :
SfxStyleDialog ( pParent, SdResId( TAB_TEMPLATE ), rStyleBase, FALSE ),
- rDocShell ( *pDocShell ),
- pSdrView ( pView ),
- pColorTab ( pModel->GetColorTable() ),
- pGradientList ( pModel->GetGradientList() ),
- pHatchingList ( pModel->GetHatchList() ),
- pBitmapList ( pModel->GetBitmapList() ),
- pDashList ( pModel->GetDashList() ),
- pLineEndList ( pModel->GetLineEndList() )
+ rDocShell ( *pDocShell ),
+ pSdrView ( pView ),
+ pColorTab ( pModel->GetColorTable() ),
+ pGradientList ( pModel->GetGradientList() ),
+ pHatchingList ( pModel->GetHatchList() ),
+ pBitmapList ( pModel->GetBitmapList() ),
+ pDashList ( pModel->GetDashList() ),
+ pLineEndList ( pModel->GetLineEndList() )
{
FreeResource();
diff --git a/sd/source/ui/dlg/tabtempl.src b/sd/source/ui/dlg/tabtempl.src
index 5ff92235036c..558fd38114cb 100644
--- a/sd/source/ui/dlg/tabtempl.src
+++ b/sd/source/ui/dlg/tabtempl.src
@@ -1,7 +1,7 @@
/*************************************************************************
*
* 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
@@ -120,7 +120,7 @@ TabDialog TAB_TEMPLATE
Identifier = RID_SVXPAGE_PARA_ASIAN ;
PageResID = RID_SVXPAGE_PARA_ASIAN ;
Text[ en-US ] = "Asian Typography";
- };
+ };
PageItem
{
Identifier = RID_SVXPAGE_TABULATOR ;
diff --git a/sd/source/ui/dlg/tpaction.cxx b/sd/source/ui/dlg/tpaction.cxx
index 422b4fadf765..9aba5fe2d2bd 100644
--- a/sd/source/ui/dlg/tpaction.cxx
+++ b/sd/source/ui/dlg/tpaction.cxx
@@ -2,7 +2,7 @@
/*************************************************************************
*
* 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
@@ -33,7 +33,7 @@
#undef SD_DLLIMPLEMENTATION
#endif
-#include <svx/svxids.hrc>
+#include <svx/svxids.hrc>
#include <com/sun/star/presentation/AnimationEffect.hpp>
#include <com/sun/star/presentation/ClickAction.hpp>
#include <com/sun/star/presentation/AnimationSpeed.hpp>
@@ -95,8 +95,8 @@ using namespace com::sun::star::lang;
SdActionDlg::SdActionDlg (
::Window* pParent, const SfxItemSet* pAttr, ::sd::View* pView ) :
- SfxSingleTabDialog ( pParent, *pAttr, TP_ANIMATION_ACTION ),
- rOutAttrs ( *pAttr )
+ SfxSingleTabDialog ( pParent, *pAttr, TP_ANIMATION_ACTION ),
+ rOutAttrs ( *pAttr )
{
// FreeResource();
SfxTabPage* pNewPage = SdTPAction::Create( this, rOutAttrs );
@@ -116,32 +116,32 @@ SdActionDlg::SdActionDlg (
/*************************************************************************
|*
-|* Action-TabPage
+|* Action-TabPage
|*
\************************************************************************/
SdTPAction::SdTPAction( Window* pWindow, const SfxItemSet& rInAttrs ) :
- SfxTabPage ( pWindow, SdResId( TP_ANIMATION ), rInAttrs ),
-
- aFtAction ( this, SdResId( FT_ACTION ) ),
- aLbAction ( this, SdResId( LB_ACTION ) ),
- aFtTree ( this, SdResId( FT_TREE ) ),
- aLbTree ( this, SdResId( LB_TREE ) ),
- aLbTreeDocument ( this, SdResId( LB_TREE_DOCUMENT ) ),
- aLbOLEAction ( this, SdResId( LB_OLE_ACTION ) ),
- aFlSeparator ( this, SdResId( FL_SEPARATOR ) ),
- aEdtSound ( this, SdResId( EDT_SOUND ) ),
- aEdtBookmark ( this, SdResId( EDT_BOOKMARK ) ),
- aEdtDocument ( this, SdResId( EDT_DOCUMENT ) ),
+ SfxTabPage ( pWindow, SdResId( TP_ANIMATION ), rInAttrs ),
+
+ aFtAction ( this, SdResId( FT_ACTION ) ),
+ aLbAction ( this, SdResId( LB_ACTION ) ),
+ aFtTree ( this, SdResId( FT_TREE ) ),
+ aLbTree ( this, SdResId( LB_TREE ) ),
+ aLbTreeDocument ( this, SdResId( LB_TREE_DOCUMENT ) ),
+ aLbOLEAction ( this, SdResId( LB_OLE_ACTION ) ),
+ aFlSeparator ( this, SdResId( FL_SEPARATOR ) ),
+ aEdtSound ( this, SdResId( EDT_SOUND ) ),
+ aEdtBookmark ( this, SdResId( EDT_BOOKMARK ) ),
+ aEdtDocument ( this, SdResId( EDT_DOCUMENT ) ),
aEdtProgram ( this, SdResId( EDT_PROGRAM ) ),
aEdtMacro ( this, SdResId( EDT_MACRO ) ),
- aBtnSearch ( this, SdResId( BTN_SEARCH ) ),
- aBtnSeek ( this, SdResId( BTN_SEEK ) ),
+ aBtnSearch ( this, SdResId( BTN_SEARCH ) ),
+ aBtnSeek ( this, SdResId( BTN_SEEK ) ),
- rOutAttrs ( rInAttrs ),
- mpView ( NULL ),
- mpDoc ( NULL ),
- bTreeUpdated ( FALSE )
+ rOutAttrs ( rInAttrs ),
+ mpView ( NULL ),
+ mpDoc ( NULL ),
+ bTreeUpdated ( FALSE )
{
FreeResource();
@@ -225,11 +225,11 @@ void SdTPAction::Construct()
{
pGrafObj = (SdrGrafObj*) pObj;
}
-// // VCXControl ?
-// else if( pObj->IsA( TYPE( VCSbxDrawObject ) ) )
-// {
-// bDisableAll = TRUE;
-// }
+// // VCXControl ?
+// else if( pObj->IsA( TYPE( VCSbxDrawObject ) ) )
+// {
+// bDisableAll = TRUE;
+// }
}
}
if( pGrafObj )
@@ -343,7 +343,7 @@ BOOL SdTPAction::FillItemSet( SfxItemSet& rAttrs )
void SdTPAction::Reset( const SfxItemSet& rAttrs )
{
presentation::ClickAction eCA = presentation::ClickAction_NONE;
- String aFileName;
+ String aFileName;
// aLbAction
if( rAttrs.GetItemState( ATTR_ACTION ) != SFX_ITEM_DONTCARE )
@@ -446,7 +446,7 @@ void SdTPAction::OpenFileDialog()
if (bSound)
{
- SdOpenSoundFileDialog aFileDialog;
+ SdOpenSoundFileDialog aFileDialog;
if( !aFile.Len() )
aFile = SvtPathOptions().GetGraphicPath();
@@ -708,7 +708,7 @@ IMPL_LINK( SdTPAction, CheckFileHdl, void *, EMPTYARG )
// Ueberpruefen, ob es eine gueltige Draw-Datei ist
SfxMedium aMedium( aFile,
STREAM_READ | STREAM_NOCREATE,
- TRUE ); // Download
+ TRUE ); // Download
if( aMedium.IsStorage() )
{
@@ -773,8 +773,8 @@ void SdTPAction::SetActualClickAction( presentation::ClickAction eCA )
void SdTPAction::SetEditText( String const & rStr )
{
- presentation::ClickAction eCA = GetActualClickAction();
- String aText(rStr);
+ presentation::ClickAction eCA = GetActualClickAction();
+ String aText(rStr);
// possibly convert URI back to system path
switch( eCA )
@@ -793,7 +793,7 @@ void SdTPAction::SetEditText( String const & rStr )
String aTmpStr(aURL.getFSysPath(INetURLObject::FSYS_DETECT));
if( aTmpStr.Len() )
- aText = aTmpStr; // was a system path
+ aText = aTmpStr; // was a system path
}
break;
default:
@@ -914,8 +914,8 @@ USHORT SdTPAction::GetClickActionSdResId( presentation::ClickAction eCA )
case presentation::ClickAction_DOCUMENT: return STR_CLICK_ACTION_DOCUMENT;
case presentation::ClickAction_PROGRAM: return STR_CLICK_ACTION_PROGRAM;
case presentation::ClickAction_MACRO: return STR_CLICK_ACTION_MACRO;
- case presentation::ClickAction_SOUND: return STR_CLICK_ACTION_SOUND;
- case presentation::ClickAction_VERB: return STR_CLICK_ACTION_VERB;
+ case presentation::ClickAction_SOUND: return STR_CLICK_ACTION_SOUND;
+ case presentation::ClickAction_VERB: return STR_CLICK_ACTION_VERB;
case presentation::ClickAction_STOPPRESENTATION: return STR_CLICK_ACTION_STOPPRESENTATION;
default: DBG_ERROR( "Keine StringResource fuer ClickAction vorhanden!" );
}
diff --git a/sd/source/ui/dlg/tpaction.src b/sd/source/ui/dlg/tpaction.src
index fa951644c580..118f4eda4c7a 100644
--- a/sd/source/ui/dlg/tpaction.src
+++ b/sd/source/ui/dlg/tpaction.src
@@ -1,7 +1,7 @@
/*************************************************************************
*
* 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
@@ -37,8 +37,8 @@ TabPage TP_ANIMATION
Size = MAP_APPFONT ( 260 , 164 ) ;
Hide = TRUE;
// always visible ---------------------------------------------------------------------
-#define MA_ACTIONLB_TOP (RSC_SP_DLG_INNERBORDER_TOP + (2*RSC_CD_PUSHBUTTON_HEIGHT + RSC_SP_CTRL_GROUP_Y - RSC_CD_DROPDOWN_HEIGHT) / 2)
-#define MA_ACTIONLB_LEFT (103)
+#define MA_ACTIONLB_TOP (RSC_SP_DLG_INNERBORDER_TOP + (2*RSC_CD_PUSHBUTTON_HEIGHT + RSC_SP_CTRL_GROUP_Y - RSC_CD_DROPDOWN_HEIGHT) / 2)
+#define MA_ACTIONLB_LEFT (103)
FixedText FT_ACTION
{
Pos = MAP_APPFONT ( RSC_SP_DLG_INNERBORDER_LEFT + RSC_SP_FLGR_INNERBORDER_LEFT , MA_ACTIONLB_TOP + 1 ) ;
@@ -72,7 +72,7 @@ TabPage TP_ANIMATION
TabStop = TRUE ;
Hide = TRUE ;
};
-
+
// Es ist schon wichtig, daß Durchsuchen (search) und Suchen (seek/find) unter-
// schiedlich heissen, da sie eben auch eine unterschiedliche Bedeutung haben
PushButton BTN_SEARCH
diff --git a/sd/source/ui/dlg/tpoption.cxx b/sd/source/ui/dlg/tpoption.cxx
index e6c74a7d2e33..5930d124e63c 100644
--- a/sd/source/ui/dlg/tpoption.cxx
+++ b/sd/source/ui/dlg/tpoption.cxx
@@ -2,7 +2,7 @@
/*************************************************************************
*
* 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
@@ -65,7 +65,7 @@ using namespace ::com::sun::star::uno;
/*************************************************************************
|*
-|* TabPage zum Einstellen der Fang-Optionen
+|* TabPage zum Einstellen der Fang-Optionen
|*
\************************************************************************/
@@ -158,7 +158,7 @@ SfxTabPage* SdTpOptionsSnap::Create( Window* pWindow,
/*************************************************************************
|*
-|* TabPage zum Einstellen der Inhalte-Optionen
+|* TabPage zum Einstellen der Inhalte-Optionen
|*
\************************************************************************/
@@ -186,10 +186,10 @@ BOOL SdTpOptionsContents::FillItemSet( SfxItemSet& rAttrs )
BOOL bModified = FALSE;
if( aCbxRuler.GetSavedValue() != aCbxRuler.IsChecked() ||
- aCbxMoveOutline.GetSavedValue() != aCbxMoveOutline.IsChecked() ||
- aCbxDragStripes.GetSavedValue() != aCbxDragStripes.IsChecked() ||
- //aCbxHelplines.GetSavedValue() != aCbxHelplines.IsChecked() ||
- aCbxHandlesBezier.GetSavedValue() != aCbxHandlesBezier.IsChecked() )
+ aCbxMoveOutline.GetSavedValue() != aCbxMoveOutline.IsChecked() ||
+ aCbxDragStripes.GetSavedValue() != aCbxDragStripes.IsChecked() ||
+ //aCbxHelplines.GetSavedValue() != aCbxHelplines.IsChecked() ||
+ aCbxHandlesBezier.GetSavedValue() != aCbxHandlesBezier.IsChecked() )
{
SdOptionsLayoutItem aOptsItem( ATTR_OPTIONS_LAYOUT );
@@ -238,7 +238,7 @@ SfxTabPage* SdTpOptionsContents::Create( Window* pWindow,
/*************************************************************************
|*
-|* TabPage zum Einstellen der Sonstige-Optionen
+|* TabPage zum Einstellen der Sonstige-Optionen
|*
\************************************************************************/
#define TABLE_COUNT 12
@@ -265,9 +265,9 @@ SdTpOptionsMisc::SdTpOptionsMisc( Window* pParent, const SfxItemSet& rInAttrs )
aTxtTabstop ( this, SdResId( FT_TABSTOP ) ),
aMtrFldTabstop ( this, SdResId( MTR_FLD_TABSTOP ) ),
- aCbxStartWithActualPage ( this, SdResId( CBX_START_WITH_ACTUAL_PAGE ) ),
+ aCbxStartWithActualPage ( this, SdResId( CBX_START_WITH_ACTUAL_PAGE ) ),
aGrpStartWithActualPage ( this, SdResId( GRP_START_WITH_ACTUAL_PAGE ) ),
- aTxtCompatibility ( this, SdResId( FT_COMPATIBILITY ) ),
+ aTxtCompatibility ( this, SdResId( FT_COMPATIBILITY ) ),
aCbxUsePrinterMetrics ( this, SdResId( CB_USE_PRINTER_METRICS ) ),
aCbxCompatibility ( this, SdResId( CB_MERGE_PARA_DIST ) ),
aGrpScale ( this, SdResId( GRP_SCALE ) ),
@@ -424,15 +424,15 @@ BOOL SdTpOptionsMisc::FillItemSet( SfxItemSet& rAttrs )
{
BOOL bModified = FALSE;
- if( aCbxStartWithTemplate.GetSavedValue() != aCbxStartWithTemplate.IsChecked() ||
+ if( aCbxStartWithTemplate.GetSavedValue() != aCbxStartWithTemplate.IsChecked() ||
aCbxMarkedHitMovesAlways.GetSavedValue()!= aCbxMarkedHitMovesAlways.IsChecked() ||
- aCbxCrookNoContortion.GetSavedValue() != aCbxCrookNoContortion.IsChecked() ||
- aCbxQuickEdit.GetSavedValue() != aCbxQuickEdit.IsChecked() ||
- aCbxPickThrough.GetSavedValue() != aCbxPickThrough.IsChecked() ||
- aCbxMasterPageCache.GetSavedValue() != aCbxMasterPageCache.IsChecked() ||
- aCbxCopy.GetSavedValue() != aCbxCopy.IsChecked() ||
+ aCbxCrookNoContortion.GetSavedValue() != aCbxCrookNoContortion.IsChecked() ||
+ aCbxQuickEdit.GetSavedValue() != aCbxQuickEdit.IsChecked() ||
+ aCbxPickThrough.GetSavedValue() != aCbxPickThrough.IsChecked() ||
+ aCbxMasterPageCache.GetSavedValue() != aCbxMasterPageCache.IsChecked() ||
+ aCbxCopy.GetSavedValue() != aCbxCopy.IsChecked() ||
aCbxStartWithActualPage.GetSavedValue() != aCbxStartWithActualPage.IsChecked() ||
- aCbxCompatibility.GetSavedValue() != aCbxCompatibility.IsChecked() ||
+ aCbxCompatibility.GetSavedValue() != aCbxCompatibility.IsChecked() ||
aCbxUsePrinterMetrics.GetSavedValue() != aCbxUsePrinterMetrics.IsChecked() )
{
SdOptionsMiscItem aOptsItem( ATTR_OPTIONS_MISC );
@@ -447,7 +447,7 @@ BOOL SdTpOptionsMisc::FillItemSet( SfxItemSet& rAttrs )
aOptsItem.GetOptionsMisc().SetStartWithActualPage( aCbxStartWithActualPage.IsChecked() );
aOptsItem.GetOptionsMisc().SetSummationOfParagraphs( aCbxCompatibility.IsChecked() );
aOptsItem.GetOptionsMisc().SetPrinterIndependentLayout (
- aCbxUsePrinterMetrics.IsChecked()
+ aCbxUsePrinterMetrics.IsChecked()
? ::com::sun::star::document::PrinterIndependentLayout::DISABLED
: ::com::sun::star::document::PrinterIndependentLayout::ENABLED);
rAttrs.Put( aOptsItem );
@@ -621,7 +621,7 @@ void SdTpOptionsMisc::SetImpressMode (void)
- aCbxQuickEdit.GetPosPixel().Y();
// Put both "Text objects" check boxes side by side.
- lcl_MoveWin (aCbxPickThrough,
+ lcl_MoveWin (aCbxPickThrough,
nDialogWidth/2 - aCbxPickThrough.GetPosPixel().X(),
-nLineHeight);
@@ -829,7 +829,7 @@ void SdTpOptionsMisc::UpdateCompatibilityControls (void)
break;
}
}
-
+
}
while (false); // One 'loop'.
}
@@ -838,7 +838,7 @@ void SdTpOptionsMisc::UpdateCompatibilityControls (void)
// When there is an exception then simply use the default value of
// bIsEnabled and disable the controls.
}
-
+
aTxtCompatibility.Enable (bIsEnabled);
aCbxCompatibility.Enable(bIsEnabled);
aCbxUsePrinterMetrics.Enable (bIsEnabled);
diff --git a/sd/source/ui/dlg/tpoption.src b/sd/source/ui/dlg/tpoption.src
index b5d30789412e..34e256cc5e88 100644
--- a/sd/source/ui/dlg/tpoption.src
+++ b/sd/source/ui/dlg/tpoption.src
@@ -1,7 +1,7 @@
/*************************************************************************
*
* 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
diff --git a/sd/source/ui/dlg/unchss.cxx b/sd/source/ui/dlg/unchss.cxx
index edd2b0e63712..8e41699f6714 100644
--- a/sd/source/ui/dlg/unchss.cxx
+++ b/sd/source/ui/dlg/unchss.cxx
@@ -2,7 +2,7 @@
/*************************************************************************
*
* 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
diff --git a/sd/source/ui/dlg/vectdlg.cxx b/sd/source/ui/dlg/vectdlg.cxx
index 9018faf3994d..14db51e02ad3 100644
--- a/sd/source/ui/dlg/vectdlg.cxx
+++ b/sd/source/ui/dlg/vectdlg.cxx
@@ -2,7 +2,7 @@
/*************************************************************************
*
* 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
@@ -61,29 +61,29 @@
// - SdVectorizeDlg -
// ------------------
-SdVectorizeDlg::SdVectorizeDlg(
+SdVectorizeDlg::SdVectorizeDlg(
Window* pParent, const Bitmap& rBmp, ::sd::DrawDocShell* pDocShell ) :
ModalDialog ( pParent, SdResId( DLG_VECTORIZE ) ),
mpDocSh ( pDocShell ),
aGrpSettings ( this, SdResId( GRP_SETTINGS ) ),
- aFtLayers ( this, SdResId( FT_LAYERS ) ),
- aNmLayers ( this, SdResId( NM_LAYERS ) ),
- aFtReduce ( this, SdResId( FT_REDUCE ) ),
- aMtReduce ( this, SdResId( MT_REDUCE ) ),
- aFtFillHoles ( this, SdResId( FT_FILLHOLES ) ),
- aMtFillHoles ( this, SdResId( MT_FILLHOLES ) ),
- aCbFillHoles ( this, SdResId( CB_FILLHOLES ) ),
- aFtOriginal ( this, SdResId( FT_ORIGINAL ) ),
- aBmpWin ( this, SdResId( CTL_BMP ) ),
- aFtVectorized ( this, SdResId( FT_VECTORIZED ) ),
- aMtfWin ( this, SdResId( CTL_WMF ) ),
- aGrpPrgs ( this, SdResId( GRP_PRGS ) ),
- aPrgs ( this, SdResId( WND_PRGS ) ),
+ aFtLayers ( this, SdResId( FT_LAYERS ) ),
+ aNmLayers ( this, SdResId( NM_LAYERS ) ),
+ aFtReduce ( this, SdResId( FT_REDUCE ) ),
+ aMtReduce ( this, SdResId( MT_REDUCE ) ),
+ aFtFillHoles ( this, SdResId( FT_FILLHOLES ) ),
+ aMtFillHoles ( this, SdResId( MT_FILLHOLES ) ),
+ aCbFillHoles ( this, SdResId( CB_FILLHOLES ) ),
+ aFtOriginal ( this, SdResId( FT_ORIGINAL ) ),
+ aBmpWin ( this, SdResId( CTL_BMP ) ),
+ aFtVectorized ( this, SdResId( FT_VECTORIZED ) ),
+ aMtfWin ( this, SdResId( CTL_WMF ) ),
+ aGrpPrgs ( this, SdResId( GRP_PRGS ) ),
+ aPrgs ( this, SdResId( WND_PRGS ) ),
aBtnOK ( this, SdResId( BTN_OK ) ),
aBtnCancel ( this, SdResId( BTN_CANCEL ) ),
aBtnHelp ( this, SdResId( BTN_HELP ) ),
- aBtnPreview ( this, SdResId( BTN_PREVIEW ) ),
- aBmp ( rBmp )
+ aBtnPreview ( this, SdResId( BTN_PREVIEW ) ),
+ aBmp ( rBmp )
{
FreeResource();
@@ -116,7 +116,7 @@ Rectangle SdVectorizeDlg::GetRect( const Size& rDispSize, const Size& rBmpSize )
if( rBmpSize.Width() && rBmpSize.Height() && rDispSize.Width() && rDispSize.Height() )
{
- Size aBmpSize( rBmpSize );
+ Size aBmpSize( rBmpSize );
const double fGrfWH = (double) aBmpSize.Width() / aBmpSize.Height();
const double fWinWH = (double) rDispSize.Width() / rDispSize.Height();
@@ -155,8 +155,8 @@ void SdVectorizeDlg::InitPreviewBmp()
Bitmap SdVectorizeDlg::GetPreparedBitmap( Bitmap& rBmp, Fraction& rScale )
{
- Bitmap aNew( rBmp );
- const Size aSizePix( aNew.GetSizePixel() );
+ Bitmap aNew( rBmp );
+ const Size aSizePix( aNew.GetSizePixel() );
if( aSizePix.Width() > VECTORIZE_MAX_EXTENT || aSizePix.Height() > VECTORIZE_MAX_EXTENT )
{
@@ -179,8 +179,8 @@ void SdVectorizeDlg::Calculate( Bitmap& rBmp, GDIMetaFile& rMtf )
mpDocSh->SetWaitCursor( TRUE );
aPrgs.SetValue( 0 );
- Fraction aScale;
- Bitmap aTmp( GetPreparedBitmap( rBmp, aScale ) );
+ Fraction aScale;
+ Bitmap aTmp( GetPreparedBitmap( rBmp, aScale ) );
if( !!aTmp )
{
@@ -189,19 +189,19 @@ void SdVectorizeDlg::Calculate( Bitmap& rBmp, GDIMetaFile& rMtf )
if( aCbFillHoles.IsChecked() )
{
- GDIMetaFile aNewMtf;
- BitmapReadAccess* pRAcc = aTmp.AcquireReadAccess();
+ GDIMetaFile aNewMtf;
+ BitmapReadAccess* pRAcc = aTmp.AcquireReadAccess();
if( pRAcc )
{
- const long nWidth = pRAcc->Width();
- const long nHeight = pRAcc->Height();
- const long nTileX = static_cast<long>(aMtFillHoles.GetValue());
- const long nTileY = static_cast<long>(aMtFillHoles.GetValue());
- const long nCountX = nWidth / nTileX;
- const long nCountY = nHeight / nTileY;
- const long nRestX = nWidth % nTileX;
- const long nRestY = nHeight % nTileY;
+ const long nWidth = pRAcc->Width();
+ const long nHeight = pRAcc->Height();
+ const long nTileX = static_cast<long>(aMtFillHoles.GetValue());
+ const long nTileY = static_cast<long>(aMtFillHoles.GetValue());
+ const long nCountX = nWidth / nTileX;
+ const long nCountY = nHeight / nTileY;
+ const long nRestX = nWidth % nTileX;
+ const long nRestY = nHeight % nTileY;
MapMode aMap( rMtf.GetPrefMapMode() );
aNewMtf.SetPrefSize( rMtf.GetPrefSize() );
@@ -252,10 +252,10 @@ void SdVectorizeDlg::Calculate( Bitmap& rBmp, GDIMetaFile& rMtf )
void SdVectorizeDlg::AddTile( BitmapReadAccess* pRAcc, GDIMetaFile& rMtf,
long nPosX, long nPosY, long nWidth, long nHeight )
{
- ULONG nSumR = 0UL, nSumG = 0UL, nSumB = 0UL;
- const long nRight = nPosX + nWidth - 1L;
- const long nBottom = nPosY + nHeight - 1L;
- const double fMult = 1.0 / ( nWidth * nHeight );
+ ULONG nSumR = 0UL, nSumG = 0UL, nSumB = 0UL;
+ const long nRight = nPosX + nWidth - 1L;
+ const long nBottom = nPosY + nHeight - 1L;
+ const double fMult = 1.0 / ( nWidth * nHeight );
for( long nY = nPosY; nY <= nBottom; nY++ )
{
@@ -273,8 +273,8 @@ void SdVectorizeDlg::AddTile( BitmapReadAccess* pRAcc, GDIMetaFile& rMtf,
(BYTE) FRound( nSumG * fMult ),
(BYTE) FRound( nSumB * fMult ) );
- Rectangle aRect( Point( nPosX, nPosY ), Size( nWidth + 1, nHeight + 1 ) );
- const Size& rMaxSize = rMtf.GetPrefSize();
+ Rectangle aRect( Point( nPosX, nPosY ), Size( nWidth + 1, nHeight + 1 ) );
+ const Size& rMaxSize = rMtf.GetPrefSize();
aRect = PixelToLogic( aRect, rMtf.GetPrefMapMode() );
@@ -353,14 +353,14 @@ IMPL_LINK( SdVectorizeDlg, ModifyHdl, void*, EMPTYARG )
void SdVectorizeDlg::LoadSettings()
{
- SvStorageStreamRef xIStm( SD_MOD()->GetOptionStream(
+ SvStorageStreamRef xIStm( SD_MOD()->GetOptionStream(
UniString::CreateFromAscii(
RTL_CONSTASCII_STRINGPARAM( SD_OPTION_VECTORIZE ) ),
SD_OPTION_LOAD ) );
- UINT16 nLayers;
- UINT16 nReduce;
- UINT16 nFillHoles;
- BOOL bFillHoles;
+ UINT16 nLayers;
+ UINT16 nReduce;
+ UINT16 nFillHoles;
+ BOOL bFillHoles;
if( xIStm.Is() )
{
diff --git a/sd/source/ui/dlg/vectdlg.src b/sd/source/ui/dlg/vectdlg.src
index 3a7407990cbe..9262fa30807c 100644
--- a/sd/source/ui/dlg/vectdlg.src
+++ b/sd/source/ui/dlg/vectdlg.src
@@ -1,7 +1,7 @@
/*************************************************************************
*
* 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
diff --git a/sd/source/ui/docshell/docshel2.cxx b/sd/source/ui/docshell/docshel2.cxx
index 030da66a7ce6..aa9ceba11435 100644
--- a/sd/source/ui/docshell/docshel2.cxx
+++ b/sd/source/ui/docshell/docshel2.cxx
@@ -2,7 +2,7 @@
/*************************************************************************
*
* 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
@@ -146,18 +146,18 @@ void DrawDocShell::Draw(OutputDevice* pOut, const JobSetup&, USHORT nAspect)
//
// if( pMtf )
// {
-// String aURLStr;
+// String aURLStr;
//
-// if( ::utl::LocalFileHelper::ConvertPhysicalNameToURL( String( RTL_CONSTASCII_USTRINGPARAM( "d:\\gdi.mtf" ) ), aURLStr ) )
-// {
-// SvStream* pOStm = ::utl::UcbStreamHelper::CreateStream( aURLStr, STREAM_WRITE | STREAM_TRUNC );
+// if( ::utl::LocalFileHelper::ConvertPhysicalNameToURL( String( RTL_CONSTASCII_USTRINGPARAM( "d:\\gdi.mtf" ) ), aURLStr ) )
+// {
+// SvStream* pOStm = ::utl::UcbStreamHelper::CreateStream( aURLStr, STREAM_WRITE | STREAM_TRUNC );
//
-// if( pOStm )
-// {
-// *pOStm << *pMtf;
-// delete pOStm;
-// }
-// }
+// if( pOStm )
+// {
+// *pOStm << *pMtf;
+// delete pOStm;
+// }
+// }
// }
}
@@ -262,16 +262,16 @@ Size DrawDocShell::GetFirstPageSize()
Bitmap DrawDocShell::GetPagePreviewBitmap(SdPage* pPage, USHORT nMaxEdgePixel)
{
- MapMode aMapMode( MAP_100TH_MM );
- const Size aSize( pPage->GetSize() );
- const Point aNullPt;
- VirtualDevice aVDev( *Application::GetDefaultDevice() );
+ MapMode aMapMode( MAP_100TH_MM );
+ const Size aSize( pPage->GetSize() );
+ const Point aNullPt;
+ VirtualDevice aVDev( *Application::GetDefaultDevice() );
aVDev.SetMapMode( aMapMode );
- const Size aPixSize( aVDev.LogicToPixel( aSize ) );
- const ULONG nMaxEdgePix = Max( aPixSize.Width(), aPixSize.Height() );
- Fraction aFrac( nMaxEdgePixel, nMaxEdgePix );
+ const Size aPixSize( aVDev.LogicToPixel( aSize ) );
+ const ULONG nMaxEdgePix = Max( aPixSize.Width(), aPixSize.Height() );
+ Fraction aFrac( nMaxEdgePixel, nMaxEdgePix );
aMapMode.SetScaleX( aFrac );
aMapMode.SetScaleY( aFrac );
@@ -284,8 +284,8 @@ Bitmap DrawDocShell::GetPagePreviewBitmap(SdPage* pPage, USHORT nMaxEdgePixel)
aMapMode.SetScaleY( aFrac );
aVDev.SetMapMode( aMapMode );
- ClientView* pView = new ClientView( this, &aVDev, NULL );
- FrameView* pFrameView = GetFrameView();
+ ClientView* pView = new ClientView( this, &aVDev, NULL );
+ FrameView* pFrameView = GetFrameView();
pView->ShowSdrPage( pPage );
if ( GetFrameView() )
@@ -328,7 +328,7 @@ Bitmap DrawDocShell::GetPagePreviewBitmap(SdPage* pPage, USHORT nMaxEdgePixel)
if ( pPageView->GetLockedLayers() != pFrameView->GetLockedLayers() )
pPageView->SetLockedLayers( pFrameView->GetLockedLayers() );
- // if ( pPageView->GetHelpLines() != pFrameView->GetHelpLines() )
+ // if ( pPageView->GetHelpLines() != pFrameView->GetHelpLines() )
pPageView->SetHelpLines( pFrameView->GetStandardHelpLines() );
}
diff --git a/sd/source/ui/docshell/docshel3.cxx b/sd/source/ui/docshell/docshel3.cxx
index 426db7892588..78a60c6fdd7e 100644
--- a/sd/source/ui/docshell/docshel3.cxx
+++ b/sd/source/ui/docshell/docshel3.cxx
@@ -2,7 +2,7 @@
/*************************************************************************
*
* 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
@@ -72,9 +72,9 @@ using namespace ::com::sun::star::uno;
namespace sd {
-#define POOL_BUFFER_SIZE (USHORT)32768
-#define BASIC_BUFFER_SIZE (USHORT)8192
-#define DOCUMENT_BUFFER_SIZE (USHORT)32768
+#define POOL_BUFFER_SIZE (USHORT)32768
+#define BASIC_BUFFER_SIZE (USHORT)8192
+#define DOCUMENT_BUFFER_SIZE (USHORT)32768
/*************************************************************************
|*
@@ -191,7 +191,7 @@ void DrawDocShell::Execute( SfxRequest& rReq )
case SID_GET_COLORTABLE:
{
- // passende ColorTable ist per PutItem gesetzt worden
+ // passende ColorTable ist per PutItem gesetzt worden
SvxColorTableItem* pColItem = (SvxColorTableItem*) GetItem( SID_COLOR_TABLE );
XColorTable* pTable = pColItem->GetColorTable();
rReq.SetReturnValue( OfaPtrItem( SID_GET_COLORTABLE, pTable ) );
diff --git a/sd/source/ui/docshell/docshel4.cxx b/sd/source/ui/docshell/docshel4.cxx
index e30eaadd1b5d..e5b1d71e145a 100644
--- a/sd/source/ui/docshell/docshel4.cxx
+++ b/sd/source/ui/docshell/docshel4.cxx
@@ -2,7 +2,7 @@
/*************************************************************************
*
* 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
@@ -108,15 +108,15 @@ SfxPrinter* DrawDocShell::GetPrinter(BOOL bCreate)
{
// ItemSet mit speziellem Poolbereich anlegen
SfxItemSet* pSet = new SfxItemSet( GetPool(),
- SID_PRINTER_NOTFOUND_WARN, SID_PRINTER_NOTFOUND_WARN,
- SID_PRINTER_CHANGESTODOC, SID_PRINTER_CHANGESTODOC,
- ATTR_OPTIONS_PRINT, ATTR_OPTIONS_PRINT,
+ SID_PRINTER_NOTFOUND_WARN, SID_PRINTER_NOTFOUND_WARN,
+ SID_PRINTER_CHANGESTODOC, SID_PRINTER_CHANGESTODOC,
+ ATTR_OPTIONS_PRINT, ATTR_OPTIONS_PRINT,
0 );
// PrintOptionsSet setzen
SdOptionsPrintItem aPrintItem( ATTR_OPTIONS_PRINT,
SD_MOD()->GetSdOptions(mpDoc->GetDocumentType()));
SfxFlagItem aFlagItem( SID_PRINTER_CHANGESTODOC );
- USHORT nFlags = 0;
+ USHORT nFlags = 0;
nFlags = (aPrintItem.GetOptionsPrint().IsWarningSize() ? SFX_PRINTER_CHG_SIZE : 0) |
(aPrintItem.GetOptionsPrint().IsWarningOrientation() ? SFX_PRINTER_CHG_ORIENTATION : 0);
@@ -219,7 +219,7 @@ void DrawDocShell::OnDocumentPrinterChanged(Printer* pNewPrinter)
return;
}
- // if (mpPrinter->IsA(SfxPrinter))
+ // if (mpPrinter->IsA(SfxPrinter))
{
// Da kein RTTI verfuegbar, wird hart gecasted (...)
SetPrinter((SfxPrinter*) pNewPrinter);
@@ -308,8 +308,8 @@ BOOL DrawDocShell::Load( SfxMedium& rMedium )
{
mbNewDocument = sal_False;
- BOOL bRet = FALSE;
- bool bStartPresentation = false;
+ BOOL bRet = FALSE;
+ bool bStartPresentation = false;
ErrCode nError = ERRCODE_NONE;
SfxItemSet* pSet = rMedium.GetItemSet();
@@ -485,9 +485,9 @@ BOOL DrawDocShell::ConvertFrom( SfxMedium& rMedium )
{
mbNewDocument = sal_False;
- const String aFilterName( rMedium.GetFilter()->GetFilterName() );
- BOOL bRet = FALSE;
- bool bStartPresentation = false;
+ const String aFilterName( rMedium.GetFilter()->GetFilterName() );
+ BOOL bRet = FALSE;
+ bool bStartPresentation = false;
SetWaitCursor( TRUE );
@@ -609,7 +609,7 @@ BOOL DrawDocShell::SaveAs( SfxMedium& rMedium )
if( GetCreateMode() == SFX_CREATE_MODE_STANDARD )
SfxObjectShell::SetVisArea( Rectangle() );
- UINT32 nVBWarning = ERRCODE_NONE;
+ UINT32 nVBWarning = ERRCODE_NONE;
BOOL bRet = SfxObjectShell::SaveAs( rMedium );
if( bRet )
@@ -637,9 +637,9 @@ BOOL DrawDocShell::ConvertTo( SfxMedium& rMedium )
if( mpDoc->GetPageCount() )
{
- const SfxFilter* pMediumFilter = rMedium.GetFilter();
- const String aTypeName( pMediumFilter->GetTypeName() );
- SdFilter* pFilter = NULL;
+ const SfxFilter* pMediumFilter = rMedium.GetFilter();
+ const String aTypeName( pMediumFilter->GetTypeName() );
+ SdFilter* pFilter = NULL;
if( aTypeName.SearchAscii( "graphic_HTML" ) != STRING_NOTFOUND )
{
@@ -673,7 +673,7 @@ BOOL DrawDocShell::ConvertTo( SfxMedium& rMedium )
if( pFilter )
{
- const ULONG nOldSwapMode = mpDoc->GetSwapGraphicsMode();
+ const ULONG nOldSwapMode = mpDoc->GetSwapGraphicsMode();
mpDoc->SetSwapGraphicsMode( SDR_SWAPGRAPHICSMODE_TEMP );
@@ -691,7 +691,7 @@ BOOL DrawDocShell::ConvertTo( SfxMedium& rMedium )
/*************************************************************************
|*
|* SaveCompleted: die eigenen Streams wieder oeffnen, damit kein anderer
-|* sie "besetzt"
+|* sie "besetzt"
|*
\************************************************************************/
@@ -1017,7 +1017,7 @@ void DrawDocShell::FillClass(SvGlobalName* pClassName,
{
*pClassName = SvGlobalName(SO3_SDRAW_CLASSID_60);
*pFormat = bTemplate ? SOT_FORMATSTR_ID_STARDRAW_8_TEMPLATE : SOT_FORMATSTR_ID_STARDRAW_8;
- *pFullTypeName = String(RTL_CONSTASCII_USTRINGPARAM("Draw 8")); // HACK: method will be removed with new storage API
+ *pFullTypeName = String(RTL_CONSTASCII_USTRINGPARAM("Draw 8")); // HACK: method will be removed with new storage API
}
else
{
diff --git a/sd/source/ui/docshell/docshell.cxx b/sd/source/ui/docshell/docshell.cxx
index aaaecc27f71e..4cf2b44c551d 100644
--- a/sd/source/ui/docshell/docshell.cxx
+++ b/sd/source/ui/docshell/docshell.cxx
@@ -2,7 +2,7 @@
/*************************************************************************
*
* 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
@@ -97,8 +97,8 @@ SFX_IMPL_INTERFACE(DrawDocShell, SfxObjectShell, SdResId(0))
namespace sd {
-#define POOL_BUFFER_SIZE (USHORT)32768
-#define BASIC_BUFFER_SIZE (USHORT)8192
+#define POOL_BUFFER_SIZE (USHORT)32768
+#define BASIC_BUFFER_SIZE (USHORT)8192
#define DOCUMENT_BUFFER_SIZE (USHORT)32768
@@ -246,8 +246,8 @@ DrawDocShell::~DrawDocShell()
delete mpDoc;
// damit der Navigator das Verschwinden des Dokuments mitbekommt
- SfxBoolItem aItem(SID_NAVIGATOR_INIT, TRUE);
- SfxViewFrame* pFrame = mpViewShell ? mpViewShell->GetFrame() : GetFrame();
+ SfxBoolItem aItem(SID_NAVIGATOR_INIT, TRUE);
+ SfxViewFrame* pFrame = mpViewShell ? mpViewShell->GetFrame() : GetFrame();
if( !pFrame )
pFrame = SfxViewFrame::GetFirst( this );
@@ -299,11 +299,11 @@ void DrawDocShell::GetState(SfxItemSet &rSet)
case SID_SEARCH_OPTIONS:
{
- UINT16 nOpt = SEARCH_OPTIONS_SEARCH |
+ UINT16 nOpt = SEARCH_OPTIONS_SEARCH |
SEARCH_OPTIONS_WHOLE_WORDS |
- SEARCH_OPTIONS_BACKWARDS |
- SEARCH_OPTIONS_REG_EXP |
- SEARCH_OPTIONS_EXACT |
+ SEARCH_OPTIONS_BACKWARDS |
+ SEARCH_OPTIONS_REG_EXP |
+ SEARCH_OPTIONS_EXACT |
SEARCH_OPTIONS_SIMILARITY |
SEARCH_OPTIONS_SELECTION;
@@ -590,7 +590,7 @@ void DrawDocShell::ClearUndoBuffer()
}
pSfxViewFrame = SfxViewFrame::GetNext(*pSfxViewFrame, this, false);
}
-
+
SfxUndoManager* pUndoManager = GetUndoManager();
if(pUndoManager && pUndoManager->GetUndoActionCount())
pUndoManager->Clear();
diff --git a/sd/source/ui/docshell/grdocsh.cxx b/sd/source/ui/docshell/grdocsh.cxx
index 396e77277659..3c6110a259a3 100644
--- a/sd/source/ui/docshell/grdocsh.cxx
+++ b/sd/source/ui/docshell/grdocsh.cxx
@@ -2,7 +2,7 @@
/*************************************************************************
*
* 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
diff --git a/sd/source/ui/docshell/sdclient.cxx b/sd/source/ui/docshell/sdclient.cxx
index 59d04ae257ce..240f04bcbfcd 100644
--- a/sd/source/ui/docshell/sdclient.cxx
+++ b/sd/source/ui/docshell/sdclient.cxx
@@ -2,7 +2,7 @@
/*************************************************************************
*
* 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
@@ -195,8 +195,8 @@ void Client::ViewChanged()
static_cast< long >( GetScaleHeight() * Fraction( aVisArea.GetHeight() ) ) );
// react to the change if the difference is bigger than one pixel
- Size aPixelDiff =
- Application::GetDefaultDevice()->LogicToPixel(
+ Size aPixelDiff =
+ Application::GetDefaultDevice()->LogicToPixel(
Size( aLogicRect.GetWidth() - aScaledSize.Width(),
aLogicRect.GetHeight() - aScaledSize.Height() ),
aMap100 );
diff --git a/sd/source/ui/framework/configuration/ChangeRequestQueue.cxx b/sd/source/ui/framework/configuration/ChangeRequestQueue.cxx
index 3bc276268e0e..2c8777d1cfcb 100644
--- a/sd/source/ui/framework/configuration/ChangeRequestQueue.cxx
+++ b/sd/source/ui/framework/configuration/ChangeRequestQueue.cxx
@@ -2,7 +2,7 @@
/*************************************************************************
*
* 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
diff --git a/sd/source/ui/framework/configuration/ChangeRequestQueue.hxx b/sd/source/ui/framework/configuration/ChangeRequestQueue.hxx
index 16d1eb4bfa50..8f89073e6d30 100644
--- a/sd/source/ui/framework/configuration/ChangeRequestQueue.hxx
+++ b/sd/source/ui/framework/configuration/ChangeRequestQueue.hxx
@@ -2,7 +2,7 @@
/*************************************************************************
*
* 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
diff --git a/sd/source/ui/framework/configuration/ChangeRequestQueueProcessor.cxx b/sd/source/ui/framework/configuration/ChangeRequestQueueProcessor.cxx
index 8f83f86128c3..fb76e18834f5 100644
--- a/sd/source/ui/framework/configuration/ChangeRequestQueueProcessor.cxx
+++ b/sd/source/ui/framework/configuration/ChangeRequestQueueProcessor.cxx
@@ -2,7 +2,7 @@
/*************************************************************************
*
* 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
@@ -116,7 +116,7 @@ void ChangeRequestQueueProcessor::AddRequest (
OSL_TRACE("Adding request\n");
TraceRequest(rxRequest);
#endif
-
+
maQueue.push_back(rxRequest);
StartProcessing();
}
diff --git a/sd/source/ui/framework/configuration/ChangeRequestQueueProcessor.hxx b/sd/source/ui/framework/configuration/ChangeRequestQueueProcessor.hxx
index abbadd3dcc31..a965a9420144 100644
--- a/sd/source/ui/framework/configuration/ChangeRequestQueueProcessor.hxx
+++ b/sd/source/ui/framework/configuration/ChangeRequestQueueProcessor.hxx
@@ -2,7 +2,7 @@
/*************************************************************************
*
* 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
@@ -113,7 +113,7 @@ private:
is destroyed.
*/
sal_uIntPtr mnUserEventId;
-
+
::com::sun::star::uno::Reference<
::com::sun::star::drawing::framework::XConfiguration> mxConfiguration;
diff --git a/sd/source/ui/framework/configuration/Configuration.cxx b/sd/source/ui/framework/configuration/Configuration.cxx
index 18e216f10545..412a91fe37d9 100644
--- a/sd/source/ui/framework/configuration/Configuration.cxx
+++ b/sd/source/ui/framework/configuration/Configuration.cxx
@@ -2,7 +2,7 @@
/*************************************************************************
*
* 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
@@ -48,7 +48,7 @@ namespace {
for STL containers.
*/
class XResourceIdLess
- : public ::std::binary_function <Reference<XResourceId>, Reference<XResourceId>, bool>
+ : public ::std::binary_function <Reference<XResourceId>, Reference<XResourceId>, bool>
{
public:
bool operator () (const Reference<XResourceId>& rId1, const Reference<XResourceId>& rId2) const
@@ -120,7 +120,7 @@ Configuration::Configuration (
}
-
+
Configuration::Configuration (
const Reference<XConfigurationControllerBroadcaster>& rxBroadcaster,
bool bBroadcastRequestEvents,
@@ -138,7 +138,7 @@ Configuration::Configuration (
Configuration::~Configuration (void)
{
}
-
+
@@ -153,7 +153,7 @@ void SAL_CALL Configuration::disposing (void)
//----- XConfiguration --------------------------------------------------------
-
+
void SAL_CALL Configuration::addResource (const Reference<XResourceId>& rxResourceId)
throw (RuntimeException)
{
@@ -211,7 +211,7 @@ Sequence<Reference<XResourceId> > SAL_CALL Configuration::getResources (
ThrowIfDisposed();
bool bFilterResources (rsResourceURLPrefix.getLength() > 0);
-
+
// Collect the matching resources in a vector.
::std::vector<Reference<XResourceId> > aResources;
ResourceContainer::const_iterator iResource;
@@ -222,7 +222,7 @@ Sequence<Reference<XResourceId> > SAL_CALL Configuration::getResources (
if ( ! (*iResource)->isBoundTo(rxAnchorId,eMode))
continue;
-
+
if (bFilterResources)
{
// Apply the given resource prefix as filter.
@@ -248,7 +248,7 @@ Sequence<Reference<XResourceId> > SAL_CALL Configuration::getResources (
Sequence<Reference<XResourceId> > aResult (aResources.size());
for (sal_uInt32 nIndex=0; nIndex<aResources.size(); ++nIndex)
aResult[nIndex] = aResources[nIndex];
-
+
return aResult;
}
@@ -309,7 +309,7 @@ OUString SAL_CALL Configuration::getName (void)
aString += FrameworkHelper::ResourceIdToString(*iResource);
}
aString += OUString::createFromAscii("]");
-
+
return aString;
}
@@ -333,7 +333,7 @@ void Configuration::PostEvent (
const bool bActivation)
{
OSL_ASSERT(rxResourceId.is());
-
+
if (mxBroadcaster.is())
{
ConfigurationChangeEvent aEvent;
@@ -349,7 +349,7 @@ void Configuration::PostEvent (
else
aEvent.Type = FrameworkHelper::msResourceDeactivationEvent;
aEvent.Configuration = this;
-
+
mxBroadcaster->notifyEvent(aEvent);
}
}
diff --git a/sd/source/ui/framework/configuration/ConfigurationClassifier.cxx b/sd/source/ui/framework/configuration/ConfigurationClassifier.cxx
index f2b7384e4658..52ac65423726 100644
--- a/sd/source/ui/framework/configuration/ConfigurationClassifier.cxx
+++ b/sd/source/ui/framework/configuration/ConfigurationClassifier.cxx
@@ -2,7 +2,7 @@
/*************************************************************************
*
* 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
@@ -119,7 +119,7 @@ void ConfigurationClassifier::PartitionResources (
OSL_TRACE("copying resource ids to C2-C1\r");
#endif
CopyResources(aC2minusC1, mxConfiguration2, maC2minusC1);
-
+
// Process the unique resources that belong to both configurations.
ResourceIdVector::const_iterator iResource;
for (iResource=aC1andC2.begin(); iResource!=aC1andC2.end(); ++iResource)
@@ -155,7 +155,7 @@ void ConfigurationClassifier::ClassifyResources (
for (sal_Int32 j=0; j<nL2 && !bFound; ++j)
if (aA1[i]->getResourceURL().equals(aA2[j]->getResourceURL()))
bFound = true;
-
+
if (bFound)
rS1andS2.push_back(aA1[i]);
else
@@ -171,7 +171,7 @@ void ConfigurationClassifier::ClassifyResources (
for (sal_Int32 i=0; i<nL1 && !bFound; ++i)
if (aA2[j]->getResourceURL().equals(aA1[i]->getResourceURL()))
bFound = true;
-
+
if ( ! bFound)
rS2minusS1.push_back(aA2[j]);
}
@@ -196,7 +196,7 @@ void ConfigurationClassifier::CopyResources (
OUString(),
AnchorBindingMode_INDIRECT));
const sal_Int32 nL (aBoundResources.getLength());
-
+
rTarget.reserve(rTarget.size() + 1 + nL);
rTarget.push_back(*iResource);
@@ -205,7 +205,7 @@ void ConfigurationClassifier::CopyResources (
OUStringToOString(FrameworkHelper::ResourceIdToString(*iResource),
RTL_TEXTENCODING_UTF8).getStr());
#endif
-
+
const Reference<XResourceId>* aA = aBoundResources.getConstArray();
for (sal_Int32 i=0; i<nL; ++i)
{
diff --git a/sd/source/ui/framework/configuration/ConfigurationClassifier.hxx b/sd/source/ui/framework/configuration/ConfigurationClassifier.hxx
index e8cfecd8d1f6..5b04407748f4 100644
--- a/sd/source/ui/framework/configuration/ConfigurationClassifier.hxx
+++ b/sd/source/ui/framework/configuration/ConfigurationClassifier.hxx
@@ -2,7 +2,7 @@
/*************************************************************************
*
* 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
diff --git a/sd/source/ui/framework/configuration/ConfigurationController.cxx b/sd/source/ui/framework/configuration/ConfigurationController.cxx
index 10d7a1aa00e7..f3f4ab4617f8 100644
--- a/sd/source/ui/framework/configuration/ConfigurationController.cxx
+++ b/sd/source/ui/framework/configuration/ConfigurationController.cxx
@@ -2,7 +2,7 @@
/*************************************************************************
*
* 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
@@ -117,7 +117,7 @@ public:
::com::sun::star::drawing::framework::XConfiguration> mxRequestedConfiguration;
ViewShellBase* mpBase;
-
+
::boost::shared_ptr<ResourceFactoryManager> mpResourceFactoryContainer;
::boost::shared_ptr<ConfigurationControllerResourceManager> mpResourceManager;
@@ -143,14 +143,14 @@ ConfigurationController::Lock::Lock (const Reference<XConfigurationController>&
: mxController(rxController)
{
OSL_ASSERT(mxController.is());
-
+
if (mxController.is())
mxController->lock();
}
-
-
-
+
+
+
ConfigurationController::Lock::~Lock (void)
{
if (mxController.is())
@@ -287,7 +287,7 @@ void SAL_CALL ConfigurationController::notifyEvent (
//----- XConfigurationController ----------------------------------------------
-
+
void SAL_CALL ConfigurationController::lock (void)
throw (RuntimeException)
{
@@ -297,7 +297,7 @@ void SAL_CALL ConfigurationController::lock (void)
::osl::MutexGuard aGuard (maMutex);
ThrowIfDisposed();
-
+
++mpImplementation->mnLockCount;
if (mpImplementation->mpConfigurationUpdaterLock.get()==NULL)
mpImplementation->mpConfigurationUpdaterLock
@@ -380,7 +380,7 @@ void SAL_CALL ConfigurationController::requestResourceActivation (
requestResourceDeactivation(aResourceList[nIndex]);
}
}
-
+
Reference<XConfigurationChangeRequest> xRequest(
new GenericConfigurationChangeRequest(
rxResourceId,
@@ -477,7 +477,7 @@ sal_Bool SAL_CALL ConfigurationController::hasPendingRequests (void)
{
::osl::MutexGuard aGuard (maMutex);
ThrowIfDisposed();
-
+
return ! mpImplementation->mpQueueProcessor->IsEmpty();
}
@@ -596,7 +596,7 @@ void SAL_CALL ConfigurationController::restoreConfiguration (
//----- XResourceFactoryManager -----------------------------------------------
-
+
void SAL_CALL ConfigurationController::addResourceFactory(
const OUString& sResourceURL,
const Reference<XResourceFactory>& rxResourceFactory)
@@ -609,7 +609,7 @@ void SAL_CALL ConfigurationController::addResourceFactory(
-
+
void SAL_CALL ConfigurationController::removeResourceFactoryForURL(
const OUString& sResourceURL)
throw (RuntimeException)
diff --git a/sd/source/ui/framework/configuration/ConfigurationControllerBroadcaster.cxx b/sd/source/ui/framework/configuration/ConfigurationControllerBroadcaster.cxx
index 55d72d592f99..dcd4b321891b 100644
--- a/sd/source/ui/framework/configuration/ConfigurationControllerBroadcaster.cxx
+++ b/sd/source/ui/framework/configuration/ConfigurationControllerBroadcaster.cxx
@@ -2,7 +2,7 @@
/*************************************************************************
*
* 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
@@ -61,7 +61,7 @@ void ConfigurationControllerBroadcaster::AddListener(
OUString::createFromAscii("invalid listener"),
mxConfigurationController,
0);
-
+
if (maListenerMap.find(rsEventType) == maListenerMap.end())
maListenerMap[rsEventType] = ListenerList();
ListenerDescriptor aDescriptor;
@@ -81,7 +81,7 @@ void ConfigurationControllerBroadcaster::RemoveListener(
OUString::createFromAscii("invalid listener"),
mxConfigurationController,
0);
-
+
ListenerMap::iterator iMap;
ListenerList::iterator iList;
for (iMap=maListenerMap.begin(); iMap!=maListenerMap.end(); ++iMap)
@@ -144,7 +144,7 @@ void ConfigurationControllerBroadcaster::NotifyListeners (const ConfigurationCha
ListenerList aList (iMap->second.begin(), iMap->second.end());
NotifyListeners(aList,rEvent);
}
-
+
// Notify the universal listeners.
iMap = maListenerMap.find(OUString());
if (iMap != maListenerMap.end())
diff --git a/sd/source/ui/framework/configuration/ConfigurationControllerBroadcaster.hxx b/sd/source/ui/framework/configuration/ConfigurationControllerBroadcaster.hxx
index c15abbbb7eb2..6bdb4ce68ffa 100644
--- a/sd/source/ui/framework/configuration/ConfigurationControllerBroadcaster.hxx
+++ b/sd/source/ui/framework/configuration/ConfigurationControllerBroadcaster.hxx
@@ -2,7 +2,7 @@
/*************************************************************************
*
* 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
diff --git a/sd/source/ui/framework/configuration/ConfigurationControllerResourceManager.cxx b/sd/source/ui/framework/configuration/ConfigurationControllerResourceManager.cxx
index b640c89453cc..1aadd82dc0fd 100644
--- a/sd/source/ui/framework/configuration/ConfigurationControllerResourceManager.cxx
+++ b/sd/source/ui/framework/configuration/ConfigurationControllerResourceManager.cxx
@@ -2,7 +2,7 @@
/*************************************************************************
*
* 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
@@ -114,7 +114,7 @@ void ConfigurationControllerResourceManager::DeactivateResources (
rResources.rend(),
::boost::bind(&ConfigurationControllerResourceManager::DeactivateResource,
this, _1, rxConfiguration));
-}
+}
@@ -153,7 +153,7 @@ void ConfigurationControllerResourceManager::ActivateResource (
#endif
return;
}
-
+
try
{
// 2. Create the resource.
@@ -172,7 +172,7 @@ void ConfigurationControllerResourceManager::ActivateResource (
{
DBG_UNHANDLED_EXCEPTION();
}
-
+
if (xResource.is())
{
#if defined VERBOSE && VERBOSE>=1
@@ -225,10 +225,10 @@ void ConfigurationControllerResourceManager::DeactivateResource (
{
// 1. Remove resource from URL->Object map.
ResourceDescriptor aDescriptor (RemoveResource(rxResourceId));
-
+
if (aDescriptor.mxResource.is() && aDescriptor.mxResourceFactory.is())
{
- // 2. Notifiy listeners that the resource is being deactivated.
+ // 2. Notifiy listeners that the resource is being deactivated.
mpBroadcaster->NotifyListeners(
FrameworkHelper::msResourceDeactivationEvent,
rxResourceId,
@@ -290,7 +290,7 @@ void ConfigurationControllerResourceManager::AddResource (
aDescriptor.mxResource = rxResource;
aDescriptor.mxResourceFactory = rxFactory;
maResourceMap[rxResource->getResourceId()] = aDescriptor;
-
+
#if defined VERBOSE && VERBOSE>=2
OSL_TRACE("ConfigurationControllerResourceManager::AddResource(): added %s -> %x\n",
OUStringToOString(
diff --git a/sd/source/ui/framework/configuration/ConfigurationControllerResourceManager.hxx b/sd/source/ui/framework/configuration/ConfigurationControllerResourceManager.hxx
index 34d58c46ee47..aa69b957c271 100644
--- a/sd/source/ui/framework/configuration/ConfigurationControllerResourceManager.hxx
+++ b/sd/source/ui/framework/configuration/ConfigurationControllerResourceManager.hxx
@@ -2,7 +2,7 @@
/*************************************************************************
*
* 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
@@ -81,7 +81,7 @@ public:
const ::std::vector<
css::uno::Reference<css::drawing::framework::XResourceId> >& rResources,
const css::uno::Reference<css::drawing::framework::XConfiguration>& rxConfiguration);
-
+
/** Deactivate all the resources that are specified by resource ids in
rResources. The resource ids of deactivated resources are removed
from the given configuration. Activated resources are notified to all
@@ -127,15 +127,15 @@ private:
void ActivateResource (
const css::uno::Reference<css::drawing::framework::XResourceId>& rxResourceId,
const css::uno::Reference<css::drawing::framework::XConfiguration>& rxConfiguration);
-
+
void DeactivateResource (
const css::uno::Reference<css::drawing::framework::XResourceId>& rxResourceId,
const css::uno::Reference<css::drawing::framework::XConfiguration>& rxConfiguration);
-
+
void AddResource (
const css::uno::Reference<css::drawing::framework::XResource>& rxResource,
const css::uno::Reference<css::drawing::framework::XResourceFactory>& rxFactory);
-
+
ResourceDescriptor RemoveResource (
const css::uno::Reference<css::drawing::framework::XResourceId>& rxResourceId);
};
diff --git a/sd/source/ui/framework/configuration/ConfigurationTracer.cxx b/sd/source/ui/framework/configuration/ConfigurationTracer.cxx
index f4a2aa297fe1..2665a78a1968 100644
--- a/sd/source/ui/framework/configuration/ConfigurationTracer.cxx
+++ b/sd/source/ui/framework/configuration/ConfigurationTracer.cxx
@@ -2,7 +2,7 @@
/*************************************************************************
*
* 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
diff --git a/sd/source/ui/framework/configuration/ConfigurationTracer.hxx b/sd/source/ui/framework/configuration/ConfigurationTracer.hxx
index fce1751b2aba..e30e15328594 100644
--- a/sd/source/ui/framework/configuration/ConfigurationTracer.hxx
+++ b/sd/source/ui/framework/configuration/ConfigurationTracer.hxx
@@ -2,7 +2,7 @@
/*************************************************************************
*
* 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
diff --git a/sd/source/ui/framework/configuration/ConfigurationUpdater.cxx b/sd/source/ui/framework/configuration/ConfigurationUpdater.cxx
index dd24374002e2..0605ffcda607 100644
--- a/sd/source/ui/framework/configuration/ConfigurationUpdater.cxx
+++ b/sd/source/ui/framework/configuration/ConfigurationUpdater.cxx
@@ -2,7 +2,7 @@
/*************************************************************************
*
* 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
@@ -138,7 +138,7 @@ void ConfigurationUpdater::RequestUpdate (
do
{
UpdateConfiguration();
-
+
if (mbUpdatePending && IsUpdatePossible())
continue;
}
@@ -216,7 +216,7 @@ void ConfigurationUpdater::UpdateConfiguration (void)
catch(RuntimeException)
{
}
-
+
// Notify the end of the update.
aEvent.Type = FrameworkHelper::msConfigurationUpdateEndEvent;
mpBroadcaster->NotifyListeners(aEvent);
@@ -240,7 +240,7 @@ void ConfigurationUpdater::UpdateConfiguration (void)
{
DBG_UNHANDLED_EXCEPTION();
}
-
+
#if defined VERBOSE && VERBOSE>0
OSL_TRACE("ConfigurationUpdater::UpdateConfiguration)");
OSL_TRACE("UpdateConfiguration end");
@@ -398,7 +398,7 @@ void ConfigurationUpdater::CheckPureAnchors (
OUStringToOString(
FrameworkHelper::ResourceIdToString(xResourceId),
RTL_TEXTENCODING_UTF8).getStr());
-#endif
+#endif
// Erase element from current configuration.
for (sal_Int32 nI=nIndex; nI<nCount-2; ++nI)
aResources[nI] = aResources[nI+1];
diff --git a/sd/source/ui/framework/configuration/ConfigurationUpdater.hxx b/sd/source/ui/framework/configuration/ConfigurationUpdater.hxx
index 509ebbd9b429..aa716ca49bce 100644
--- a/sd/source/ui/framework/configuration/ConfigurationUpdater.hxx
+++ b/sd/source/ui/framework/configuration/ConfigurationUpdater.hxx
@@ -2,7 +2,7 @@
/*************************************************************************
*
* 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
@@ -72,7 +72,7 @@ public:
void SetControllerManager(
const css::uno::Reference<
css::drawing::framework::XControllerManager>& rxControllerManager);
-
+
/** Request an update of the current configuration so that it looks like
the given requested configuration. It checks whether an update of
the current configuration can be done. Calls UpdateConfiguration()
@@ -91,7 +91,7 @@ public:
made.
*/
::boost::shared_ptr<ConfigurationUpdaterLock> GetLock (void);
-
+
private:
/** A reference to the XControllerManager is kept so that
UpdateConfiguration() has access to the other sub controllers.
@@ -123,13 +123,13 @@ private:
resets the flag to </FALSE>.
*/
bool mbUpdatePending;
-
+
/** This flag is set to </TRUE> while the UpdateConfiguration() method
is running. It is used to prevent reentrance problems with this
method.
*/
bool mbUpdateBeingProcessed;
-
+
/** The ConfigurationController is locked when this count has a value
larger then zero. If the controller is locked then updates of the
current configuration are not made.
diff --git a/sd/source/ui/framework/configuration/GenericConfigurationChangeRequest.cxx b/sd/source/ui/framework/configuration/GenericConfigurationChangeRequest.cxx
index 6d146fa11e97..ed1a798b246a 100644
--- a/sd/source/ui/framework/configuration/GenericConfigurationChangeRequest.cxx
+++ b/sd/source/ui/framework/configuration/GenericConfigurationChangeRequest.cxx
@@ -2,7 +2,7 @@
/*************************************************************************
*
* 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
@@ -60,7 +60,7 @@ GenericConfigurationChangeRequest::~GenericConfigurationChangeRequest (void) thr
-
+
void SAL_CALL GenericConfigurationChangeRequest::execute (
const Reference<XConfiguration>& rxConfiguration)
throw (RuntimeException)
@@ -72,7 +72,7 @@ void SAL_CALL GenericConfigurationChangeRequest::execute (
case Activation:
rxConfiguration->addResource(mxResourceId);
break;
-
+
case Deactivation:
rxConfiguration->removeResource(mxResourceId);
break;
diff --git a/sd/source/ui/framework/configuration/GenericConfigurationChangeRequest.hxx b/sd/source/ui/framework/configuration/GenericConfigurationChangeRequest.hxx
index 119e49e5aa20..33d4971fe4ce 100644
--- a/sd/source/ui/framework/configuration/GenericConfigurationChangeRequest.hxx
+++ b/sd/source/ui/framework/configuration/GenericConfigurationChangeRequest.hxx
@@ -2,7 +2,7 @@
/*************************************************************************
*
* 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
@@ -67,7 +67,7 @@ public:
resource is requested.
*/
enum Mode { Activation, Deactivation };
-
+
/** Create a new object that represents the request for activation or
deactivation of the specified resource.
@param rxsResourceId
@@ -81,12 +81,12 @@ public:
rxResourceId,
const Mode eMode)
throw (::com::sun::star::lang::IllegalArgumentException);
-
+
virtual ~GenericConfigurationChangeRequest (void) throw();
-
+
// XConfigurationChangeOperation
-
+
/** The requested configuration change is executed on the given
configuration. Additionally to the explicitly requested change
other changes have to be made as well. See class description for an
diff --git a/sd/source/ui/framework/configuration/ResourceFactoryManager.cxx b/sd/source/ui/framework/configuration/ResourceFactoryManager.cxx
index ef6b785e0495..8ddfc5677f7b 100644
--- a/sd/source/ui/framework/configuration/ResourceFactoryManager.cxx
+++ b/sd/source/ui/framework/configuration/ResourceFactoryManager.cxx
@@ -2,7 +2,7 @@
/*************************************************************************
*
* 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
@@ -194,7 +194,7 @@ Reference<XResourceFactory> ResourceFactoryManager::GetFactory (
// requested view type. Note that this can (and should) cause
// intermediate calls to AddFactory().
xModuleController->requestResource(sURLBase);
-
+
xFactory = FindFactory(sURLBase);
}
}
diff --git a/sd/source/ui/framework/configuration/ResourceFactoryManager.hxx b/sd/source/ui/framework/configuration/ResourceFactoryManager.hxx
index f0b5d99094a6..69e8acb01de0 100644
--- a/sd/source/ui/framework/configuration/ResourceFactoryManager.hxx
+++ b/sd/source/ui/framework/configuration/ResourceFactoryManager.hxx
@@ -2,7 +2,7 @@
/*************************************************************************
*
* 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
@@ -103,7 +103,7 @@ private:
typedef ::std::vector<
::std::pair<
- rtl::OUString,
+ rtl::OUString,
css::uno::Reference<css::drawing::framework::XResourceFactory> > >
FactoryPatternList;
FactoryPatternList maFactoryPatternList;
diff --git a/sd/source/ui/framework/configuration/ResourceId.cxx b/sd/source/ui/framework/configuration/ResourceId.cxx
index 88c548ca2d3c..befd9c90af8d 100644
--- a/sd/source/ui/framework/configuration/ResourceId.cxx
+++ b/sd/source/ui/framework/configuration/ResourceId.cxx
@@ -2,7 +2,7 @@
/*************************************************************************
*
* 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
@@ -295,7 +295,7 @@ sal_Int16 SAL_CALL
throw (RuntimeException)
{
sal_Int16 nResult (0);
-
+
if ( ! rxResourceId.is())
{
// The empty reference is interpreted as empty resource id object.
@@ -382,7 +382,7 @@ sal_Int16 ResourceId::CompareToExternalImplementation (const Reference<XResource
const Sequence<OUString> aAnchorURLs (rxId->getAnchorURLs());
const sal_uInt32 nLocalURLCount (maResourceURLs.size());
const sal_uInt32 nURLCount(1+aAnchorURLs.getLength());
-
+
// Start comparison with the top most anchors.
sal_Int32 nLocalResult (0);
for (sal_Int32 nIndex=nURLCount-1,nLocalIndex=nLocalURLCount-1;
@@ -450,7 +450,7 @@ sal_Bool SAL_CALL
return IsBoundToAnchor(&sResourceURL, &aAnchorURLs, eMode);
}
}
-
+
@@ -610,7 +610,7 @@ void ResourceId::ParseResourceURL (void)
SdGlobalResourceContainer::Instance().AddResource(
Reference<XInterface>(xURLTransformer,UNO_QUERY));
}
-
+
if (xURLTransformer.is() && maResourceURLs.size() > 0)
{
mpURL.reset(new util::URL);
diff --git a/sd/source/ui/framework/configuration/UpdateRequest.cxx b/sd/source/ui/framework/configuration/UpdateRequest.cxx
index ba779c4b587c..9918f4a3b4d3 100644
--- a/sd/source/ui/framework/configuration/UpdateRequest.cxx
+++ b/sd/source/ui/framework/configuration/UpdateRequest.cxx
@@ -2,7 +2,7 @@
/*************************************************************************
*
* 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
@@ -55,7 +55,7 @@ UpdateRequest::~UpdateRequest (void) throw()
-
+
void SAL_CALL UpdateRequest::execute (const Reference<XConfiguration>& rxConfiguration)
throw (RuntimeException)
{
diff --git a/sd/source/ui/framework/configuration/UpdateRequest.hxx b/sd/source/ui/framework/configuration/UpdateRequest.hxx
index f9b4cd32b82f..730bcd798cd3 100644
--- a/sd/source/ui/framework/configuration/UpdateRequest.hxx
+++ b/sd/source/ui/framework/configuration/UpdateRequest.hxx
@@ -2,7 +2,7 @@
/*************************************************************************
*
* 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
@@ -65,9 +65,9 @@ public:
UpdateRequest (void) throw();
virtual ~UpdateRequest (void) throw();
-
+
// XConfigurationChangeOperation
-
+
virtual void SAL_CALL execute (
const ::com::sun::star::uno::Reference<
com::sun::star::drawing::framework::XConfiguration>& rxConfiguration)
diff --git a/sd/source/ui/framework/factories/BasicPaneFactory.cxx b/sd/source/ui/framework/factories/BasicPaneFactory.cxx
index 07d7be7fb6f3..98c14346f032 100644
--- a/sd/source/ui/framework/factories/BasicPaneFactory.cxx
+++ b/sd/source/ui/framework/factories/BasicPaneFactory.cxx
@@ -2,7 +2,7 @@
/*************************************************************************
*
* 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
@@ -147,7 +147,7 @@ BasicPaneFactory::BasicPaneFactory (
BasicPaneFactory::~BasicPaneFactory (void)
{
}
-
+
@@ -441,7 +441,7 @@ void SAL_CALL BasicPaneFactory::notifyConfigurationChange (
-
+
//===== lang::XEventListener ==================================================
void SAL_CALL BasicPaneFactory::disposing (
@@ -478,7 +478,7 @@ Reference<XResource> BasicPaneFactory::CreateFrameWindowPane (
const Reference<XResourceId>& rxPaneId)
{
Reference<XResource> xPane;
-
+
if (mpViewShellBase != NULL)
{
xPane = new FrameWindowPane(rxPaneId, mpViewShellBase->GetViewWindow());
@@ -523,12 +523,12 @@ Reference<XResource> BasicPaneFactory::CreateChildWindowPane (
pShell.reset(new LeftImpressPaneShell());
nChildWindowId = ::sd::LeftPaneImpressChildWindow::GetChildWindowId();
break;
-
+
case LeftDrawPaneId:
pShell.reset(new LeftDrawPaneShell());
nChildWindowId = ::sd::LeftPaneDrawChildWindow::GetChildWindowId();
break;
-
+
case RightPaneId:
pShell.reset(new ToolPanelPaneShell());
nChildWindowId = ::sd::ToolPanelChildWindow::GetChildWindowId();
diff --git a/sd/source/ui/framework/factories/BasicPaneFactory.hxx b/sd/source/ui/framework/factories/BasicPaneFactory.hxx
index bed0dc3b5e28..9eb31177035f 100644
--- a/sd/source/ui/framework/factories/BasicPaneFactory.hxx
+++ b/sd/source/ui/framework/factories/BasicPaneFactory.hxx
@@ -2,7 +2,7 @@
/*************************************************************************
*
* 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
@@ -78,25 +78,25 @@ namespace sd { namespace framework {
*/
class BasicPaneFactory
: private ::cppu::BaseMutex,
- public BasicPaneFactoryInterfaceBase
+ public BasicPaneFactoryInterfaceBase
{
public:
BasicPaneFactory (
const css::uno::Reference<css::uno::XComponentContext>& rxContext);
virtual ~BasicPaneFactory (void);
-
+
virtual void SAL_CALL disposing (void);
-
+
// XInitialization
-
+
virtual void SAL_CALL initialize(
const css::uno::Sequence<css::uno::Any>& aArguments)
throw (css::uno::Exception, css::uno::RuntimeException);
// XResourceFactory
-
+
virtual css::uno::Reference<css::drawing::framework::XResource>
SAL_CALL createResource (
const css::uno::Reference<css::drawing::framework::XResourceId>& rxPaneId)
@@ -116,7 +116,7 @@ public:
// lang::XEventListener
-
+
virtual void SAL_CALL disposing (
const css::lang::EventObject& rEventObject)
throw (css::uno::RuntimeException);
diff --git a/sd/source/ui/framework/factories/BasicToolBarFactory.cxx b/sd/source/ui/framework/factories/BasicToolBarFactory.cxx
index 64bd39de396c..8a5b97b56433 100644
--- a/sd/source/ui/framework/factories/BasicToolBarFactory.cxx
+++ b/sd/source/ui/framework/factories/BasicToolBarFactory.cxx
@@ -2,7 +2,7 @@
/*************************************************************************
*
* 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
@@ -190,7 +190,7 @@ void SAL_CALL BasicToolBarFactory::disposing (
//===== XPaneFactory ==========================================================
-
+
Reference<XResource> SAL_CALL BasicToolBarFactory::createResource (
const Reference<XResourceId>& rxToolBarId)
throw (RuntimeException, IllegalArgumentException, WrappedTargetException)
@@ -198,7 +198,7 @@ Reference<XResource> SAL_CALL BasicToolBarFactory::createResource (
ThrowIfDisposed();
Reference<XResource> xToolBar;
-
+
if (rxToolBarId->getResourceURL().equals(FrameworkHelper::msViewTabBarURL))
{
xToolBar = new ViewTabBar(rxToolBarId, mxController);
@@ -206,7 +206,7 @@ Reference<XResource> SAL_CALL BasicToolBarFactory::createResource (
else
throw lang::IllegalArgumentException();
-
+
return xToolBar;
}
diff --git a/sd/source/ui/framework/factories/BasicToolBarFactory.hxx b/sd/source/ui/framework/factories/BasicToolBarFactory.hxx
index edf4c9e4044a..487bc41e005d 100644
--- a/sd/source/ui/framework/factories/BasicToolBarFactory.hxx
+++ b/sd/source/ui/framework/factories/BasicToolBarFactory.hxx
@@ -2,7 +2,7 @@
/*************************************************************************
*
* 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
@@ -65,18 +65,18 @@ namespace sd { namespace framework {
*/
class BasicToolBarFactory
: protected ::cppu::BaseMutex,
- public BasicToolBarFactoryInterfaceBase
+ public BasicToolBarFactoryInterfaceBase
{
public:
BasicToolBarFactory (
const css::uno::Reference<com::sun::star::uno::XComponentContext>& rxContext);
virtual ~BasicToolBarFactory (void);
-
+
virtual void SAL_CALL disposing (void);
-
+
// ToolBarFactory
-
+
virtual css::uno::Reference<com::sun::star::drawing::framework::XResource> SAL_CALL
createResource (
const css::uno::Reference<
@@ -91,14 +91,14 @@ public:
// XInitialization
-
+
virtual void SAL_CALL initialize(
const css::uno::Sequence<com::sun::star::uno::Any>& aArguments)
throw (css::uno::Exception, css::uno::RuntimeException);
-
+
// lang::XEventListener
-
+
virtual void SAL_CALL disposing (
const css::lang::EventObject& rEventObject)
throw (css::uno::RuntimeException);
diff --git a/sd/source/ui/framework/factories/BasicViewFactory.cxx b/sd/source/ui/framework/factories/BasicViewFactory.cxx
index 917081e48f5e..4e7a33a44644 100644
--- a/sd/source/ui/framework/factories/BasicViewFactory.cxx
+++ b/sd/source/ui/framework/factories/BasicViewFactory.cxx
@@ -2,7 +2,7 @@
/*************************************************************************
*
* 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
@@ -155,7 +155,7 @@ BasicViewFactory::BasicViewFactory (
BasicViewFactory::~BasicViewFactory (void)
{
}
-
+
@@ -174,7 +174,7 @@ void SAL_CALL BasicViewFactory::disposing (void)
{
ReleaseView(*iView, true);
}
-
+
// Release the view shell container. At this point no one other than us
// should hold references to the view shells (at the moment this is a
// trivial requirement, because no one other then us holds a shared
@@ -217,10 +217,10 @@ Reference<XResource> SAL_CALL BasicViewFactory::createResource (
pWindow = VCLUnoHelper::GetWindow(xPane->getWindow());
// Get the view frame.
- SfxViewFrame* pFrame = NULL;
+ SfxViewFrame* pFrame = NULL;
if (mpBase != NULL)
pFrame = mpBase->GetViewFrame();
-
+
if (pFrame != NULL && mpBase!=NULL && pWindow!=NULL)
{
// Try to get the view from the cache.
@@ -231,7 +231,7 @@ Reference<XResource> SAL_CALL BasicViewFactory::createResource (
{
pDescriptor = CreateView(rxViewId, *pFrame, *pWindow, xPane, pFrameView);
}
-
+
if (pDescriptor.get() != NULL)
xView = pDescriptor->mxView;
@@ -242,7 +242,7 @@ Reference<XResource> SAL_CALL BasicViewFactory::createResource (
else
pWindow->Resize();
}
-
+
return xView;
}
@@ -356,14 +356,14 @@ void SAL_CALL BasicViewFactory::initialize (const Sequence<Any>& aArguments)
FrameView* pFrameView)
{
::boost::shared_ptr<ViewDescriptor> pDescriptor (new ViewDescriptor());
-
+
pDescriptor->mpViewShell = CreateViewShell(
rxViewId,
rFrame,
rWindow,
pFrameView);
pDescriptor->mxViewId = rxViewId;
-
+
if (pDescriptor->mpViewShell.get() != NULL)
{
const bool bIsCenterPane (
@@ -478,7 +478,7 @@ void BasicViewFactory::ReleaseView (
bool bDoNotCache)
{
bool bIsCacheable (!bDoNotCache && IsCacheable(rpDescriptor));
-
+
if (bIsCacheable)
{
Reference<XRelocatableResource> xResource (rpDescriptor->mxView, UNO_QUERY);
@@ -498,14 +498,14 @@ void BasicViewFactory::ReleaseView (
bIsCacheable = false;
}
}
-
+
if ( ! bIsCacheable)
{
// Shut down the current view shell.
rpDescriptor->mpViewShell->Shutdown ();
mpBase->GetDocShell()->Disconnect(rpDescriptor->mpViewShell.get());
mpBase->GetViewShellManager()->DeactivateViewShell(rpDescriptor->mpViewShell.get());
-
+
Reference<XComponent> xComponent (rpDescriptor->mxView, UNO_QUERY);
if (xComponent.is())
xComponent->dispose();
@@ -583,7 +583,7 @@ bool BasicViewFactory::IsCacheable (const ::boost::shared_ptr<ViewDescriptor>& r
if (xResource->relocateToAnchor(xNewAnchor))
bRelocationSuccessfull = true;
}
-
+
if ( ! bRelocationSuccessfull)
{
ReleaseView(pDescriptor, true);
diff --git a/sd/source/ui/framework/factories/BasicViewFactory.hxx b/sd/source/ui/framework/factories/BasicViewFactory.hxx
index f7ab37c5a4fb..ef85c8f4ec63 100644
--- a/sd/source/ui/framework/factories/BasicViewFactory.hxx
+++ b/sd/source/ui/framework/factories/BasicViewFactory.hxx
@@ -2,7 +2,7 @@
/*************************************************************************
*
* 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
@@ -82,16 +82,16 @@ namespace sd { namespace framework {
*/
class BasicViewFactory
: private sd::MutexOwner,
- public BasicViewFactoryInterfaceBase
+ public BasicViewFactoryInterfaceBase
{
public:
BasicViewFactory (
const css::uno::Reference<css::uno::XComponentContext>& rxContext);
virtual ~BasicViewFactory (void);
-
+
virtual void SAL_CALL disposing (void);
-
+
// XViewFactory
virtual css::uno::Reference<css::drawing::framework::XResource>
@@ -103,9 +103,9 @@ public:
const css::uno::Reference<css::drawing::framework::XResource>& xView)
throw(css::uno::RuntimeException);
-
+
// XInitialization
-
+
virtual void SAL_CALL initialize(
const css::uno::Sequence<css::uno::Any>& aArguments)
throw (css::uno::Exception, css::uno::RuntimeException);
@@ -131,7 +131,7 @@ private:
::Window& rWindow,
const css::uno::Reference<css::drawing::framework::XPane>& rxPane,
FrameView* pFrameView);
-
+
::boost::shared_ptr<ViewShell> CreateViewShell (
const css::uno::Reference<css::drawing::framework::XResourceId>& rxViewId,
SfxViewFrame& rFrame,
diff --git a/sd/source/ui/framework/factories/ChildWindowPane.cxx b/sd/source/ui/framework/factories/ChildWindowPane.cxx
index fc0be98867e0..f5b2ed3bb6f2 100644
--- a/sd/source/ui/framework/factories/ChildWindowPane.cxx
+++ b/sd/source/ui/framework/factories/ChildWindowPane.cxx
@@ -2,7 +2,7 @@
/*************************************************************************
*
* 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
@@ -147,7 +147,7 @@ void SAL_CALL ChildWindowPane::disposing (void)
if (mxWindow.is())
// Window already exists => nothing to do.
break;
-
+
// When the window is not yet present then obtain it only when the
// shell has already been activated. The activation is not
// necessary for the code to work properly but is used to optimize
@@ -157,7 +157,7 @@ void SAL_CALL ChildWindowPane::disposing (void)
// Impress takes longer.
if ( ! mbHasBeenActivated && mpShell.get()!=NULL && ! mpShell->IsActive())
break;
-
+
mbHasBeenActivated = true;
SfxViewFrame* pViewFrame = mrViewShellBase.GetViewFrame();
if (pViewFrame == NULL)
@@ -194,7 +194,7 @@ void SAL_CALL ChildWindowPane::disposing (void)
// At last, we have access to the window and its UNO wrapper.
mpWindow = &pDockingWindow->GetContentWindow();
mxWindow = VCLUnoHelper::GetInterface(mpWindow);
-
+
// Register as window listener to be informed when the child window
// is hidden.
if (mxWindow.is())
@@ -219,11 +219,11 @@ Reference<awt::XWindow> SAL_CALL ChildWindowPane::getWindow (void)
IMPLEMENT_FORWARD_XINTERFACE2(
- ChildWindowPane,
+ ChildWindowPane,
ChildWindowPaneInterfaceBase,
Pane);
IMPLEMENT_FORWARD_XTYPEPROVIDER2(
- ChildWindowPane,
+ ChildWindowPane,
ChildWindowPaneInterfaceBase,
Pane);
@@ -236,7 +236,7 @@ void SAL_CALL ChildWindowPane::disposing (const lang::EventObject& rEvent)
throw (RuntimeException)
{
ThrowIfDisposed();
-
+
if (rEvent.Source == mxWindow)
{
// The window is gone but the pane remains alive. The next call to
diff --git a/sd/source/ui/framework/factories/ChildWindowPane.hxx b/sd/source/ui/framework/factories/ChildWindowPane.hxx
index ecfcfd87e079..e1cc5629b6e0 100644
--- a/sd/source/ui/framework/factories/ChildWindowPane.hxx
+++ b/sd/source/ui/framework/factories/ChildWindowPane.hxx
@@ -2,7 +2,7 @@
/*************************************************************************
*
* 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
@@ -109,7 +109,7 @@ private:
USHORT mnChildWindowId;
ViewShellBase& mrViewShellBase;
::std::auto_ptr<SfxShell> mpShell;
-
+
/** This flag is set when the pane shell has been activated at least
once. It is used to optimize the start-up performance (by not
showing the window too early) and by not delaying its creation at
diff --git a/sd/source/ui/framework/factories/FrameWindowPane.cxx b/sd/source/ui/framework/factories/FrameWindowPane.cxx
index a3d8f1ee64d8..436f32870bb4 100644
--- a/sd/source/ui/framework/factories/FrameWindowPane.cxx
+++ b/sd/source/ui/framework/factories/FrameWindowPane.cxx
@@ -2,7 +2,7 @@
/*************************************************************************
*
* 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
diff --git a/sd/source/ui/framework/factories/FrameWindowPane.hxx b/sd/source/ui/framework/factories/FrameWindowPane.hxx
index 5afcb4373d94..c8ea711ad9ed 100644
--- a/sd/source/ui/framework/factories/FrameWindowPane.hxx
+++ b/sd/source/ui/framework/factories/FrameWindowPane.hxx
@@ -2,7 +2,7 @@
/*************************************************************************
*
* 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
diff --git a/sd/source/ui/framework/factories/FullScreenPane.cxx b/sd/source/ui/framework/factories/FullScreenPane.cxx
index a6135cca94f0..1dd6a8b20887 100644
--- a/sd/source/ui/framework/factories/FullScreenPane.cxx
+++ b/sd/source/ui/framework/factories/FullScreenPane.cxx
@@ -2,7 +2,7 @@
/*************************************************************************
*
* 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
@@ -69,7 +69,7 @@ FullScreenPane::FullScreenPane (
sal_Int32 nScreenNumber = 1;
ExtractArguments(rxPaneId, nScreenNumber);
-
+
if (mpWorkWindow.get() == NULL)
return;
@@ -135,8 +135,8 @@ void SAL_CALL FullScreenPane::disposing (void)
mpWorkWindow->RemoveEventListener(aWindowEventHandler);
mpWorkWindow.reset();
}
-
-
+
+
FrameWindowPane::disposing();
}
@@ -192,7 +192,7 @@ void SAL_CALL FullScreenPane::setAccessible (
throw (RuntimeException)
{
ThrowIfDisposed();
-
+
if (mpWindow != NULL)
{
Reference<lang::XInitialization> xInitializable (rxAccessible, UNO_QUERY);
@@ -243,14 +243,14 @@ Reference<rendering::XCanvas> FullScreenPane::CreateCanvas (void)
if (pWindow != NULL)
{
Sequence<Any> aArg (5);
-
+
// common: first any is VCL pointer to window (for VCL canvas)
aArg[0] = makeAny(reinterpret_cast<sal_Int64>(pWindow));
aArg[1] = Any();
aArg[2] = makeAny(::com::sun::star::awt::Rectangle());
aArg[3] = makeAny(sal_False);
aArg[4] = makeAny(mxWindow);
-
+
Reference<lang::XMultiServiceFactory> xFactory (
mxComponentContext->getServiceManager(), UNO_QUERY_THROW);
return Reference<rendering::XCanvas>(
diff --git a/sd/source/ui/framework/factories/FullScreenPane.hxx b/sd/source/ui/framework/factories/FullScreenPane.hxx
index 1d3d65d83764..f15ba2680b64 100644
--- a/sd/source/ui/framework/factories/FullScreenPane.hxx
+++ b/sd/source/ui/framework/factories/FullScreenPane.hxx
@@ -2,7 +2,7 @@
/*************************************************************************
*
* 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
@@ -82,7 +82,7 @@ public:
const cssu::Reference<css::accessibility::XAccessible>& rxAccessible)
throw (cssu::RuntimeException);
-
+
//-------------------------------------------------------------------------
DECL_LINK(WindowEventHandler, VclWindowEvent*);
diff --git a/sd/source/ui/framework/factories/Pane.cxx b/sd/source/ui/framework/factories/Pane.cxx
index aef8527a0429..c0f1d5edb491 100644
--- a/sd/source/ui/framework/factories/Pane.cxx
+++ b/sd/source/ui/framework/factories/Pane.cxx
@@ -2,7 +2,7 @@
/*************************************************************************
*
* 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
@@ -87,7 +87,7 @@ void Pane::disposing (void)
//----- XPane -----------------------------------------------------------------
-
+
Reference<awt::XWindow> SAL_CALL Pane::getWindow (void)
throw (RuntimeException)
{
@@ -107,7 +107,7 @@ Reference<rendering::XCanvas> SAL_CALL Pane::getCanvas (void)
if ( ! mxCanvas.is())
mxCanvas = CreateCanvas();
-
+
return mxCanvas;
}
@@ -216,7 +216,7 @@ const Sequence<sal_Int8>& Pane::getUnoTunnelId (void)
sal_Int64 SAL_CALL Pane::getSomething (const Sequence<sal_Int8>& rId)
throw (RuntimeException)
-{
+{
sal_Int64 nResult = 0;
if (rId.getLength() == 16
@@ -237,7 +237,7 @@ Reference<rendering::XCanvas> Pane::CreateCanvas (void)
throw (RuntimeException)
{
Reference<rendering::XCanvas> xCanvas;
-
+
if (mpWindow != NULL)
{
::cppcanvas::SpriteCanvasSharedPtr pCanvas (
@@ -245,7 +245,7 @@ Reference<rendering::XCanvas> Pane::CreateCanvas (void)
if (pCanvas.get() != NULL)
xCanvas = Reference<rendering::XCanvas>(pCanvas->getUNOSpriteCanvas(), UNO_QUERY);
}
-
+
return xCanvas;
}
diff --git a/sd/source/ui/framework/factories/PresentationFactory.cxx b/sd/source/ui/framework/factories/PresentationFactory.cxx
index b3ecd378d8de..2992903e86a5 100644
--- a/sd/source/ui/framework/factories/PresentationFactory.cxx
+++ b/sd/source/ui/framework/factories/PresentationFactory.cxx
@@ -2,7 +2,7 @@
/*************************************************************************
*
* 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
@@ -62,9 +62,9 @@ public:
virtual ~PresentationFactoryProvider (void);
virtual void SAL_CALL disposing (void);
-
+
// XInitialization
-
+
virtual void SAL_CALL initialize(
const ::com::sun::star::uno::Sequence<com::sun::star::uno::Any>& aArguments)
throw (::com::sun::star::uno::Exception, ::com::sun::star::uno::RuntimeException);
@@ -96,7 +96,7 @@ public:
virtual sal_Bool SAL_CALL isAnchorOnly (void) throw (RuntimeException)
{ return false; }
-
+
private:
Reference<XResourceId> mxResourceId;
};
@@ -168,7 +168,7 @@ PresentationFactory::PresentationFactory (
PresentationFactory::~PresentationFactory (void)
{
}
-
+
@@ -232,7 +232,7 @@ void SAL_CALL PresentationFactory::notifyConfigurationChange (
-
+
//===== lang::XEventListener ==================================================
void SAL_CALL PresentationFactory::disposing (
@@ -291,7 +291,7 @@ void PresentationFactoryProvider::disposing (void)
// XInitialization
-
+
void SAL_CALL PresentationFactoryProvider::initialize(
const Sequence<Any>& aArguments)
throw (Exception, RuntimeException)
diff --git a/sd/source/ui/framework/factories/TaskPanelFactory.cxx b/sd/source/ui/framework/factories/TaskPanelFactory.cxx
index 296697699151..471709770195 100644
--- a/sd/source/ui/framework/factories/TaskPanelFactory.cxx
+++ b/sd/source/ui/framework/factories/TaskPanelFactory.cxx
@@ -2,7 +2,7 @@
/*************************************************************************
*
* 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
@@ -83,13 +83,13 @@ typedef ::cppu::WeakComponentImplHelper1 <
class TaskPanelResource
: private ::cppu::BaseMutex,
- public TaskPanelResourceInterfaceBase
+ public TaskPanelResourceInterfaceBase
{
public:
TaskPanelResource (
const Reference<XResourceId>& rxResourceId );
virtual ~TaskPanelResource ();
-
+
virtual void SAL_CALL disposing ();
// XResource
@@ -135,9 +135,9 @@ void SAL_CALL TaskPanelFactory::disposing (void)
-
+
//===== XInitialization =======================================================
-
+
void SAL_CALL TaskPanelFactory::initialize(
const ::com::sun::star::uno::Sequence<com::sun::star::uno::Any>& aArguments)
throw (::com::sun::star::uno::Exception, ::com::sun::star::uno::RuntimeException)
@@ -206,7 +206,7 @@ Reference<XResource> SAL_CALL TaskPanelFactory::createResource (
throw (RuntimeException, IllegalArgumentException, WrappedTargetException)
{
Reference<XResource> xResource;
-
+
if ( ! rxResourceId.is())
return NULL;
@@ -215,7 +215,7 @@ Reference<XResource> SAL_CALL TaskPanelFactory::createResource (
if ( sResourceURL.match( FrameworkHelper::msTaskPanelURLPrefix ) )
{
toolpanel::PanelId ePanelId( toolpanel::GetStandardPanelId( sResourceURL ) );
-
+
if ( ( ePanelId != toolpanel::PID_UNKNOWN ) && ( mpViewShellBase != NULL ) )
{
::boost::shared_ptr< FrameworkHelper > pFrameworkHelper( FrameworkHelper::Instance( *mpViewShellBase ) );
diff --git a/sd/source/ui/framework/factories/TaskPanelFactory.hxx b/sd/source/ui/framework/factories/TaskPanelFactory.hxx
index d1eb0bb7a0ae..d316bb927a2d 100644
--- a/sd/source/ui/framework/factories/TaskPanelFactory.hxx
+++ b/sd/source/ui/framework/factories/TaskPanelFactory.hxx
@@ -2,7 +2,7 @@
/*************************************************************************
*
* 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
@@ -58,18 +58,18 @@ namespace sd { namespace framework {
*/
class TaskPanelFactory
: private ::cppu::BaseMutex,
- public TaskPanelFactoryInterfaceBase
+ public TaskPanelFactoryInterfaceBase
{
public:
TaskPanelFactory (
const css::uno::Reference<css::uno::XComponentContext>& rxContext);
virtual ~TaskPanelFactory (void);
-
+
virtual void SAL_CALL disposing (void);
-
+
// XInitialization
-
+
virtual void SAL_CALL initialize(
const css::uno::Sequence<css::uno::Any>& aArguments)
throw (css::uno::Exception, css::uno::RuntimeException);
diff --git a/sd/source/ui/framework/factories/ViewShellWrapper.cxx b/sd/source/ui/framework/factories/ViewShellWrapper.cxx
index 465e2b3640d8..f123b8b1ff08 100644
--- a/sd/source/ui/framework/factories/ViewShellWrapper.cxx
+++ b/sd/source/ui/framework/factories/ViewShellWrapper.cxx
@@ -2,7 +2,7 @@
/*************************************************************************
*
* 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
@@ -84,7 +84,7 @@ ViewShellWrapper::ViewShellWrapper (
ViewShellWrapper::~ViewShellWrapper (void)
{
}
-
+
@@ -150,7 +150,7 @@ sal_Bool SAL_CALL ViewShellWrapper::relocateToAnchor (
if (xWindow.is())
xWindow->removeWindowListener(this);
mxWindow = NULL;
-
+
if (mpViewShell.get() != NULL)
{
::Window* pWindow = VCLUnoHelper::GetWindow(xPane->getWindow());
@@ -198,7 +198,7 @@ const Sequence<sal_Int8>& ViewShellWrapper::getUnoTunnelId (void)
sal_Int64 SAL_CALL ViewShellWrapper::getSomething (const Sequence<sal_Int8>& rId)
throw (RuntimeException)
-{
+{
sal_Int64 nResult = 0;
if (rId.getLength() == 16
@@ -232,7 +232,7 @@ void SAL_CALL ViewShellWrapper::windowMoved (const awt::WindowEvent& rEvent)
{
(void)rEvent;
}
-
+
@@ -244,7 +244,7 @@ void SAL_CALL ViewShellWrapper::windowShown (const lang::EventObject& rEvent)
if (pViewShell != NULL)
pViewShell->Resize();
}
-
+
diff --git a/sd/source/ui/framework/module/CenterViewFocusModule.cxx b/sd/source/ui/framework/module/CenterViewFocusModule.cxx
index 3c740c929dd9..0c0ff3f7cb50 100644
--- a/sd/source/ui/framework/module/CenterViewFocusModule.cxx
+++ b/sd/source/ui/framework/module/CenterViewFocusModule.cxx
@@ -2,7 +2,7 @@
/*************************************************************************
*
* 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
@@ -68,7 +68,7 @@ CenterViewFocusModule::CenterViewFocusModule (Reference<frame::XController>& rxC
if (xControllerManager.is())
{
mxConfigurationController = xControllerManager->getConfigurationController();
-
+
// Tunnel through the controller to obtain a ViewShellBase.
Reference<lang::XUnoTunnel> xTunnel (rxController, UNO_QUERY);
if (xTunnel.is())
@@ -85,7 +85,7 @@ CenterViewFocusModule::CenterViewFocusModule (Reference<frame::XController>& rxC
mbValid = true;
}
}
-
+
if (mbValid)
{
mxConfigurationController->addConfigurationChangeListener(
@@ -105,7 +105,7 @@ CenterViewFocusModule::CenterViewFocusModule (Reference<frame::XController>& rxC
CenterViewFocusModule::~CenterViewFocusModule (void)
{
}
-
+
diff --git a/sd/source/ui/framework/module/CenterViewFocusModule.hxx b/sd/source/ui/framework/module/CenterViewFocusModule.hxx
index 3631b161fa31..b43196f07792 100644
--- a/sd/source/ui/framework/module/CenterViewFocusModule.hxx
+++ b/sd/source/ui/framework/module/CenterViewFocusModule.hxx
@@ -2,7 +2,7 @@
/*************************************************************************
*
* 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
@@ -64,16 +64,16 @@ namespace sd { namespace framework {
*/
class CenterViewFocusModule
: private sd::MutexOwner,
- public CenterViewFocusModuleInterfaceBase
+ public CenterViewFocusModuleInterfaceBase
{
public:
CenterViewFocusModule (
::com::sun::star::uno::Reference<com::sun::star::frame::XController>& rxController);
virtual ~CenterViewFocusModule (void);
-
+
virtual void SAL_CALL disposing (void);
-
+
// XConfigurationChangeListener
virtual void SAL_CALL notifyConfigurationChange (
diff --git a/sd/source/ui/framework/module/DrawModule.cxx b/sd/source/ui/framework/module/DrawModule.cxx
index 0d1537161e0a..ad39ac9d8687 100644
--- a/sd/source/ui/framework/module/DrawModule.cxx
+++ b/sd/source/ui/framework/module/DrawModule.cxx
@@ -2,7 +2,7 @@
/*************************************************************************
*
* 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
diff --git a/sd/source/ui/framework/module/ImpressModule.cxx b/sd/source/ui/framework/module/ImpressModule.cxx
index 59f948a025e3..c0543c57a5f3 100644
--- a/sd/source/ui/framework/module/ImpressModule.cxx
+++ b/sd/source/ui/framework/module/ImpressModule.cxx
@@ -2,7 +2,7 @@
/*************************************************************************
*
* 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
diff --git a/sd/source/ui/framework/module/ModuleController.cxx b/sd/source/ui/framework/module/ModuleController.cxx
index 5387ca7a06d6..2d0e8c724a78 100644
--- a/sd/source/ui/framework/module/ModuleController.cxx
+++ b/sd/source/ui/framework/module/ModuleController.cxx
@@ -2,7 +2,7 @@
/*************************************************************************
*
* 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
@@ -244,7 +244,7 @@ void ModuleController::InstantiateStartupServices (void)
void ModuleController::ProcessStartupService (const ::std::vector<Any>& rValues)
{
OSL_ASSERT(rValues.size() == snStartupPropertyCount);
-
+
try
{
// Get the service name of the startup service.
@@ -320,7 +320,7 @@ void SAL_CALL ModuleController::requestResource (const OUString& rsResourceURL)
//----- XInitialization -------------------------------------------------------
-
+
void SAL_CALL ModuleController::initialize (const Sequence<Any>& aArguments)
throw (Exception, RuntimeException)
{
diff --git a/sd/source/ui/framework/module/PresentationModule.cxx b/sd/source/ui/framework/module/PresentationModule.cxx
index 28f8521121b8..2076e7b5d093 100644
--- a/sd/source/ui/framework/module/PresentationModule.cxx
+++ b/sd/source/ui/framework/module/PresentationModule.cxx
@@ -2,7 +2,7 @@
/*************************************************************************
*
* 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
diff --git a/sd/source/ui/framework/module/ReadOnlyModeObserver.cxx b/sd/source/ui/framework/module/ReadOnlyModeObserver.cxx
index 73d455457676..6f8857bd6150 100644
--- a/sd/source/ui/framework/module/ReadOnlyModeObserver.cxx
+++ b/sd/source/ui/framework/module/ReadOnlyModeObserver.cxx
@@ -2,7 +2,7 @@
/*************************************************************************
*
* 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
@@ -161,13 +161,13 @@ bool ReadOnlyModeObserver::ConnectToDispatch (void)
}
}
}
-
+
return mxDispatch.is();
}
-
+
void ReadOnlyModeObserver::statusChanged (const frame::FeatureStateEvent& rEvent)
throw (RuntimeException)
{
@@ -192,7 +192,7 @@ void SAL_CALL ReadOnlyModeObserver::disposing (
mxConfigurationController = NULL;
else if (rEvent.Source == mxDispatch)
mxDispatch = NULL;
-
+
dispose();
}
diff --git a/sd/source/ui/framework/module/ReadOnlyModeObserver.hxx b/sd/source/ui/framework/module/ReadOnlyModeObserver.hxx
index e1172b2d1f20..60519054b799 100644
--- a/sd/source/ui/framework/module/ReadOnlyModeObserver.hxx
+++ b/sd/source/ui/framework/module/ReadOnlyModeObserver.hxx
@@ -2,7 +2,7 @@
/*************************************************************************
*
* 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
@@ -78,7 +78,7 @@ public:
ReadOnlyModeObserver (
const ::com::sun::star::uno::Reference<com::sun::star::frame::XController>& rxController);
virtual ~ReadOnlyModeObserver (void);
-
+
virtual void SAL_CALL disposing (void);
@@ -98,7 +98,7 @@ public:
const com::sun::star::lang::EventObject& rEvent)
throw (com::sun::star::uno::RuntimeException);
-
+
// frame::XStatusListener
/** Called by slot state change broadcasters.
@@ -108,9 +108,9 @@ public:
statusChanged (
const ::com::sun::star::frame::FeatureStateEvent& rState)
throw (::com::sun::star::uno::RuntimeException);
-
+
// XConfigurationChangeListener
-
+
virtual void SAL_CALL notifyConfigurationChange (
const ::com::sun::star::drawing::framework::ConfigurationChangeEvent& rEvent)
throw (::com::sun::star::uno::RuntimeException);
diff --git a/sd/source/ui/framework/module/ResourceManager.cxx b/sd/source/ui/framework/module/ResourceManager.cxx
index 08ee84c33e10..bc19cdb5ce88 100644
--- a/sd/source/ui/framework/module/ResourceManager.cxx
+++ b/sd/source/ui/framework/module/ResourceManager.cxx
@@ -2,7 +2,7 @@
/*************************************************************************
*
* 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
diff --git a/sd/source/ui/framework/module/ResourceManager.hxx b/sd/source/ui/framework/module/ResourceManager.hxx
index dc3215ae9e68..2f280a29b5f3 100644
--- a/sd/source/ui/framework/module/ResourceManager.hxx
+++ b/sd/source/ui/framework/module/ResourceManager.hxx
@@ -2,7 +2,7 @@
/*************************************************************************
*
* 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
@@ -57,7 +57,7 @@ namespace sd { namespace framework {
*/
class ResourceManager
: private sd::MutexOwner,
- public ResourceManagerInterfaceBase
+ public ResourceManagerInterfaceBase
{
public:
ResourceManager (
@@ -71,14 +71,14 @@ public:
activate the resource managed by the called object.
*/
void AddActiveMainView (const ::rtl::OUString& rsMainViewURL);
-
+
virtual void SAL_CALL disposing (void);
/** Allow the ResourceManager to make resource activation or
deactivation requests.
*/
void Enable (void);
-
+
/** Disable the resource management. When called, the ResourceManager
requests the resource to be deactivated. Until enabled again it
does not make any further requests for resource activation or
@@ -87,7 +87,7 @@ public:
Call this for example to hide resources in read-only mode.
*/
void Disable (void);
-
+
// XConfigurationChangeListener
virtual void SAL_CALL notifyConfigurationChange (
diff --git a/sd/source/ui/framework/module/ShellStackGuard.cxx b/sd/source/ui/framework/module/ShellStackGuard.cxx
index f13374ec673d..441c609f6d4e 100644
--- a/sd/source/ui/framework/module/ShellStackGuard.cxx
+++ b/sd/source/ui/framework/module/ShellStackGuard.cxx
@@ -2,7 +2,7 @@
/*************************************************************************
*
* 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
@@ -62,7 +62,7 @@ ShellStackGuard::ShellStackGuard (Reference<frame::XController>& rxController)
if (xControllerManager.is())
{
mxConfigurationController = xControllerManager->getConfigurationController();
-
+
// Tunnel through the controller to obtain a ViewShellBase.
Reference<lang::XUnoTunnel> xTunnel (rxController, UNO_QUERY);
if (xTunnel.is())
@@ -95,7 +95,7 @@ ShellStackGuard::ShellStackGuard (Reference<frame::XController>& rxController)
ShellStackGuard::~ShellStackGuard (void)
{
}
-
+
diff --git a/sd/source/ui/framework/module/ShellStackGuard.hxx b/sd/source/ui/framework/module/ShellStackGuard.hxx
index 7df5c499f216..dab10c20144a 100644
--- a/sd/source/ui/framework/module/ShellStackGuard.hxx
+++ b/sd/source/ui/framework/module/ShellStackGuard.hxx
@@ -2,7 +2,7 @@
/*************************************************************************
*
* 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
@@ -76,15 +76,15 @@ namespace sd { namespace framework {
*/
class ShellStackGuard
: private ::cppu::BaseMutex,
- public ShellStackGuardInterfaceBase
+ public ShellStackGuardInterfaceBase
{
public:
ShellStackGuard (css::uno::Reference<css::frame::XController>& rxController);
virtual ~ShellStackGuard (void);
-
+
virtual void SAL_CALL disposing (void);
-
+
// XConfigurationChangeListener
virtual void SAL_CALL notifyConfigurationChange (
diff --git a/sd/source/ui/framework/module/SlideSorterModule.cxx b/sd/source/ui/framework/module/SlideSorterModule.cxx
index 56594aa15774..fa753b10a1b2 100644
--- a/sd/source/ui/framework/module/SlideSorterModule.cxx
+++ b/sd/source/ui/framework/module/SlideSorterModule.cxx
@@ -2,7 +2,7 @@
/*************************************************************************
*
* 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
@@ -67,7 +67,7 @@ SlideSorterModule::SlideSorterModule (
AddActiveMainView(FrameworkHelper::msImpressViewURL);
AddActiveMainView(FrameworkHelper::msOutlineViewURL);
AddActiveMainView(FrameworkHelper::msNotesViewURL);
-
+
AddActiveMainView(FrameworkHelper::msDrawViewURL);
mxConfigurationController->addConfigurationChangeListener(
@@ -83,7 +83,7 @@ SlideSorterModule::SlideSorterModule (
SlideSorterModule::~SlideSorterModule (void)
{
}
-
+
diff --git a/sd/source/ui/framework/module/SlideSorterModule.hxx b/sd/source/ui/framework/module/SlideSorterModule.hxx
index a89b359dbc7b..9e2945f15aa4 100644
--- a/sd/source/ui/framework/module/SlideSorterModule.hxx
+++ b/sd/source/ui/framework/module/SlideSorterModule.hxx
@@ -2,7 +2,7 @@
/*************************************************************************
*
* 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
@@ -49,8 +49,8 @@ public:
const css::uno::Reference<css::frame::XController>& rxController,
const ::rtl::OUString& rsLeftPaneURL);
virtual ~SlideSorterModule (void);
-
-
+
+
// XConfigurationChangeListener
virtual void SAL_CALL notifyConfigurationChange (
diff --git a/sd/source/ui/framework/module/ToolBarModule.cxx b/sd/source/ui/framework/module/ToolBarModule.cxx
index 58300805aae6..77a01e41a15e 100644
--- a/sd/source/ui/framework/module/ToolBarModule.cxx
+++ b/sd/source/ui/framework/module/ToolBarModule.cxx
@@ -2,7 +2,7 @@
/*************************************************************************
*
* 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
@@ -103,7 +103,7 @@ ToolBarModule::ToolBarModule (
ToolBarModule::~ToolBarModule (void)
{
}
-
+
diff --git a/sd/source/ui/framework/module/ToolBarModule.hxx b/sd/source/ui/framework/module/ToolBarModule.hxx
index 0eab208908fb..57a3e7fdb375 100644
--- a/sd/source/ui/framework/module/ToolBarModule.hxx
+++ b/sd/source/ui/framework/module/ToolBarModule.hxx
@@ -2,7 +2,7 @@
/*************************************************************************
*
* 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
@@ -61,7 +61,7 @@ namespace {
*/
class ToolBarModule
: private ::cppu::BaseMutex,
- public ToolBarModuleInterfaceBase
+ public ToolBarModuleInterfaceBase
{
public:
/** Create a new module.
@@ -71,10 +71,10 @@ public:
ToolBarModule (
const css::uno::Reference<css::frame::XController>& rxController);
virtual ~ToolBarModule (void);
-
+
virtual void SAL_CALL disposing (void);
-
+
// XConfigurationChangeListener
virtual void SAL_CALL notifyConfigurationChange (
diff --git a/sd/source/ui/framework/module/ToolPanelModule.cxx b/sd/source/ui/framework/module/ToolPanelModule.cxx
index e96adff0bc3d..7664734522d9 100644
--- a/sd/source/ui/framework/module/ToolPanelModule.cxx
+++ b/sd/source/ui/framework/module/ToolPanelModule.cxx
@@ -2,7 +2,7 @@
/*************************************************************************
*
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
- *
+ *
* Copyright 2008 by Sun Microsystems, Inc.
*
* OpenOffice.org - a multi-platform office productivity suite
@@ -52,7 +52,7 @@ using ::sd::framework::FrameworkHelper;
namespace sd { namespace framework {
namespace {
-
+
typedef ::cppu::WeakComponentImplHelper1 <
::com::sun::star::frame::XStatusListener
> LocalReadOnlyModeObserverInterfaceBase;
@@ -103,7 +103,7 @@ public:
xComponent->removeEventListener(this);
}
-
+
virtual void SAL_CALL disposing (const com::sun::star::lang::EventObject& rEvent)
throw(RuntimeException)
{
@@ -118,14 +118,14 @@ public:
}
dispose();
}
-
+
virtual void SAL_CALL statusChanged (const com::sun::star::frame::FeatureStateEvent& rEvent)
throw(RuntimeException)
{
bool bReadWrite (true);
if (rEvent.IsEnabled)
rEvent.State >>= bReadWrite;
-
+
if (bReadWrite)
mpResourceManager->Enable();
else
diff --git a/sd/source/ui/framework/module/ToolPanelModule.hxx b/sd/source/ui/framework/module/ToolPanelModule.hxx
index fbf902f6a49e..861bcf93aede 100644
--- a/sd/source/ui/framework/module/ToolPanelModule.hxx
+++ b/sd/source/ui/framework/module/ToolPanelModule.hxx
@@ -1,7 +1,7 @@
/* -*- 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
diff --git a/sd/source/ui/framework/module/ViewTabBarModule.cxx b/sd/source/ui/framework/module/ViewTabBarModule.cxx
index 6c80afdeb1cc..c701a3fcff1d 100644
--- a/sd/source/ui/framework/module/ViewTabBarModule.cxx
+++ b/sd/source/ui/framework/module/ViewTabBarModule.cxx
@@ -2,7 +2,7 @@
/*************************************************************************
*
* 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
@@ -66,7 +66,7 @@ ViewTabBarModule::ViewTabBarModule (
mxViewTabBarId(rxViewTabBarId)
{
Reference<XControllerManager> xControllerManager (rxController, UNO_QUERY);
-
+
if (xControllerManager.is())
{
mxConfigurationController = xControllerManager->getConfigurationController();
@@ -96,7 +96,7 @@ ViewTabBarModule::ViewTabBarModule (
ViewTabBarModule::~ViewTabBarModule (void)
{
}
-
+
@@ -173,7 +173,7 @@ void ViewTabBarModule::UpdateViewTabBar (const Reference<XTabBar>& rxTabBar)
if ( ! xBar.is())
xBar = Reference<XTabBar>(
mxConfigurationController->getResource(mxViewTabBarId), UNO_QUERY);
-
+
if (xBar.is())
{
TabBarButton aEmptyButton;
@@ -203,7 +203,7 @@ void ViewTabBarModule::UpdateViewTabBar (const Reference<XTabBar>& rxTabBar)
aNotesViewButton.ButtonLabel = String(SdResId(STR_NOTES_MODE));
if ( ! xBar->hasTabBarButton(aNotesViewButton))
xBar->addTabBarButtonAfter(aNotesViewButton, aOutlineViewButton);
-
+
TabBarButton aHandoutViewButton;
aHandoutViewButton.ResourceId = FrameworkHelper::CreateResourceId(
FrameworkHelper::msHandoutViewURL,
diff --git a/sd/source/ui/framework/module/ViewTabBarModule.hxx b/sd/source/ui/framework/module/ViewTabBarModule.hxx
index 067375f07b9d..aa7686109206 100644
--- a/sd/source/ui/framework/module/ViewTabBarModule.hxx
+++ b/sd/source/ui/framework/module/ViewTabBarModule.hxx
@@ -2,7 +2,7 @@
/*************************************************************************
*
* 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
@@ -58,7 +58,7 @@ namespace sd { namespace framework {
*/
class ViewTabBarModule
: private sd::MutexOwner,
- public ViewTabBarModuleInterfaceBase
+ public ViewTabBarModuleInterfaceBase
{
public:
/** Create a new module that controlls the view tab bar above the view
@@ -74,10 +74,10 @@ public:
const css::uno::Reference<
css::drawing::framework::XResourceId>& rxViewTabBarId);
virtual ~ViewTabBarModule (void);
-
+
virtual void SAL_CALL disposing (void);
-
+
// XConfigurationChangeListener
virtual void SAL_CALL notifyConfigurationChange (
diff --git a/sd/source/ui/framework/tools/FrameworkHelper.cxx b/sd/source/ui/framework/tools/FrameworkHelper.cxx
index b37508140f54..aa5e431fe942 100644
--- a/sd/source/ui/framework/tools/FrameworkHelper.cxx
+++ b/sd/source/ui/framework/tools/FrameworkHelper.cxx
@@ -2,7 +2,7 @@
/*************************************************************************
*
* 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
@@ -153,7 +153,7 @@ public:
/** This method is called when the ViewShellBase is being destroyed.
*/
virtual void Notify (SfxBroadcaster& rBroadcaster, const SfxHint& rHint);
-
+
private:
::sd::ViewShellBase& mrBase;
bool mbListeningToViewShellBase;
@@ -331,7 +331,7 @@ public:
~DisposeListener (void);
virtual void SAL_CALL disposing (void);
-
+
virtual void SAL_CALL disposing (const lang::EventObject& rEventObject)
throw(RuntimeException);
@@ -376,7 +376,7 @@ FrameworkHelper::InstanceMap FrameworkHelper::maInstanceMap;
::boost::shared_ptr<FrameworkHelper> FrameworkHelper::Instance (ViewShellBase& rBase)
{
-
+
::boost::shared_ptr<FrameworkHelper> pHelper;
InstanceMap::const_iterator iHelper (maInstanceMap.find(&rBase));
@@ -398,7 +398,7 @@ FrameworkHelper::InstanceMap FrameworkHelper::maInstanceMap;
OSL_DOUBLE_CHECKED_LOCKING_MEMORY_BARRIER();
pHelper = iHelper->second;
}
-
+
return pHelper;
}
@@ -501,7 +501,7 @@ bool FrameworkHelper::IsValid (void)
Reference<XView> FrameworkHelper::GetView (const Reference<XResourceId>& rxPaneOrViewId)
{
Reference<XView> xView;
-
+
if ( ! rxPaneOrViewId.is() || ! mxConfigurationController.is())
return NULL;
@@ -640,7 +640,7 @@ ViewShell::ShellType FrameworkHelper::GetViewId (const rtl::OUString& rsViewURL)
void FrameworkHelper::HandleModeChangeSlot (
- ULONG nSlotId,
+ ULONG nSlotId,
SfxRequest& rRequest)
{
BOOL bIsActive = TRUE;
@@ -659,9 +659,9 @@ void FrameworkHelper::HandleModeChangeSlot (
const SfxItemSet* pRequestArguments = rRequest.GetArgs();
if (pRequestArguments)
{
- SFX_REQUEST_ARG (rRequest,
- pIsActive,
- SfxBoolItem,
+ SFX_REQUEST_ARG (rRequest,
+ pIsActive,
+ SfxBoolItem,
(USHORT)nSlotId,
FALSE);
bIsActive = pIsActive->GetValue ();
@@ -675,19 +675,19 @@ void FrameworkHelper::HandleModeChangeSlot (
if ( ! mxConfigurationController.is())
throw RuntimeException();
-
+
Reference<XResourceId> xPaneId (
CreateResourceId(framework::FrameworkHelper::msCenterPaneURL));
Reference<XView> xView (GetView(xPaneId));
::boost::shared_ptr<ViewShell> pCenterViewShell (GetViewShell(xView));
-
+
::rtl::OUString sRequestedView;
if (bIsActive)
{
switch (nSlotId)
{
case SID_NORMAL_MULTI_PANE_GUI:
- case SID_DRAWINGMODE:
+ case SID_DRAWINGMODE:
sRequestedView = FrameworkHelper::msImpressViewURL;
break;
@@ -709,7 +709,7 @@ void FrameworkHelper::HandleModeChangeSlot (
break;
}
}
-
+
if (xView.is()
&& xView->getResourceId()->getResourceURL().equals(sRequestedView))
{
@@ -1139,7 +1139,7 @@ LifetimeController::LifetimeController (::sd::ViewShellBase& rBase)
StartListening(mrBase);
acquire();
mbListeningToViewShellBase = true;
-
+
Reference<XComponent> xComponent (rBase.GetController(), UNO_QUERY);
if (xComponent.is())
{
diff --git a/sd/source/ui/func/bulmaper.cxx b/sd/source/ui/func/bulmaper.cxx
index 9fdb789e3553..85540be5634e 100644
--- a/sd/source/ui/func/bulmaper.cxx
+++ b/sd/source/ui/func/bulmaper.cxx
@@ -2,7 +2,7 @@
/*************************************************************************
*
* 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
@@ -131,7 +131,7 @@ void SdBulletMapper::MapFontsInNumRule( SvxNumRule& aNumRule, const SfxItemSet&
aMyFont.SetShadow(rSItem.GetValue());
aNewLevel.SetBulletFont(&aMyFont);
-// aNewLevel.SetBulletRelSize( 75 );
+// aNewLevel.SetBulletRelSize( 75 );
aNumRule.SetLevel(nLevel, aNewLevel );
}
else if( rSrcLevel.GetNumberingType() == com::sun::star::style::NumberingType::CHAR_SPECIAL )
diff --git a/sd/source/ui/func/fuarea.cxx b/sd/source/ui/func/fuarea.cxx
index cdfb1364dd8a..029baf51e6ed 100644
--- a/sd/source/ui/func/fuarea.cxx
+++ b/sd/source/ui/func/fuarea.cxx
@@ -2,7 +2,7 @@
/*************************************************************************
*
* 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
@@ -81,7 +81,7 @@ void FuArea::DoExecute( SfxRequest& rReq )
SvxAbstractDialogFactory* pFact = SvxAbstractDialogFactory::Create();
AbstractSvxAreaTabDialog * pDlg = pFact ? pFact->CreateSvxAreaTabDialog( NULL,
- &aNewAttr,
+ &aNewAttr,
mpDoc,
mpView) : 0;
if( pDlg && (pDlg->Execute() == RET_OK) )
diff --git a/sd/source/ui/func/fubullet.cxx b/sd/source/ui/func/fubullet.cxx
index 37161bca901e..e09c34192af7 100644
--- a/sd/source/ui/func/fubullet.cxx
+++ b/sd/source/ui/func/fubullet.cxx
@@ -2,7 +2,7 @@
/*************************************************************************
*
* 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
@@ -56,13 +56,13 @@
namespace sd {
-const sal_Unicode CHAR_HARDBLANK = ((sal_Unicode)0x00A0);
-const sal_Unicode CHAR_HARDHYPHEN = ((sal_Unicode)0x2011);
-const sal_Unicode CHAR_SOFTHYPHEN = ((sal_Unicode)0x00AD);
-const sal_Unicode CHAR_RLM = ((sal_Unicode)0x200F);
-const sal_Unicode CHAR_LRM = ((sal_Unicode)0x200E);
-const sal_Unicode CHAR_ZWSP = ((sal_Unicode)0x200B);
-const sal_Unicode CHAR_ZWNBSP = ((sal_Unicode)0x2060);
+const sal_Unicode CHAR_HARDBLANK = ((sal_Unicode)0x00A0);
+const sal_Unicode CHAR_HARDHYPHEN = ((sal_Unicode)0x2011);
+const sal_Unicode CHAR_SOFTHYPHEN = ((sal_Unicode)0x00AD);
+const sal_Unicode CHAR_RLM = ((sal_Unicode)0x200F);
+const sal_Unicode CHAR_LRM = ((sal_Unicode)0x200E);
+const sal_Unicode CHAR_ZWSP = ((sal_Unicode)0x200B);
+const sal_Unicode CHAR_ZWNBSP = ((sal_Unicode)0x2060);
TYPEINIT1( FuBullet, FuPoor );
@@ -99,8 +99,8 @@ void FuBullet::DoExecute( SfxRequest& rReq )
switch( rReq.GetSlot() )
{
case FN_INSERT_SOFT_HYPHEN: cMark = CHAR_SOFTHYPHEN ; break;
- case FN_INSERT_HARDHYPHEN: cMark = CHAR_HARDHYPHEN ; break;
- case FN_INSERT_HARD_SPACE: cMark = CHAR_HARDBLANK ; break;
+ case FN_INSERT_HARDHYPHEN: cMark = CHAR_HARDHYPHEN ; break;
+ case FN_INSERT_HARD_SPACE: cMark = CHAR_HARDBLANK ; break;
case SID_INSERT_RLM : cMark = CHAR_RLM ; break;
case SID_INSERT_LRM : cMark = CHAR_LRM ; break;
case SID_INSERT_ZWSP : cMark = CHAR_ZWSP ; break;
@@ -118,7 +118,7 @@ void FuBullet::DoExecute( SfxRequest& rReq )
void FuBullet::InsertFormattingMark( sal_Unicode cMark )
{
OutlinerView* pOV = NULL;
- ::Outliner* pOL = NULL;
+ ::Outliner* pOL = NULL;
// depending on ViewShell set Outliner and OutlinerView
if (mpViewShell->ISA(DrawViewShell))
@@ -240,7 +240,7 @@ void FuBullet::InsertSpecialCharacter( SfxRequest& rReq )
if( aChars.Len() )
{
OutlinerView* pOV = NULL;
- ::Outliner* pOL = NULL;
+ ::Outliner* pOL = NULL;
// je nach ViewShell Outliner und OutlinerView bestimmen
if(mpViewShell && mpViewShell->ISA(DrawViewShell))
@@ -282,7 +282,7 @@ void FuBullet::InsertSpecialCharacter( SfxRequest& rReq )
// attributieren (Font setzen)
SfxItemSet aSet(pOL->GetEmptyItemSet());
- SvxFontItem aFontItem (aFont.GetFamily(), aFont.GetName(),
+ SvxFontItem aFontItem (aFont.GetFamily(), aFont.GetName(),
aFont.GetStyleName(), aFont.GetPitch(),
aFont.GetCharSet(),
EE_CHAR_FONTINFO);
diff --git a/sd/source/ui/func/fuchar.cxx b/sd/source/ui/func/fuchar.cxx
index 9c3d1855303a..01860ceaa9e1 100644
--- a/sd/source/ui/func/fuchar.cxx
+++ b/sd/source/ui/func/fuchar.cxx
@@ -2,7 +2,7 @@
/*************************************************************************
*
* 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
diff --git a/sd/source/ui/func/fucon3d.cxx b/sd/source/ui/func/fucon3d.cxx
index e19ed0506e5d..cba11d2bac72 100644
--- a/sd/source/ui/func/fucon3d.cxx
+++ b/sd/source/ui/func/fucon3d.cxx
@@ -2,7 +2,7 @@
/*************************************************************************
*
* 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
@@ -72,11 +72,11 @@ TYPEINIT1( FuConstruct3dObject, FuConstruct );
\************************************************************************/
FuConstruct3dObject::FuConstruct3dObject (
- ViewShell* pViewSh,
- ::sd::Window* pWin,
- ::sd::View* pView,
- SdDrawDocument* pDoc,
- SfxRequest& rReq)
+ ViewShell* pViewSh,
+ ::sd::Window* pWin,
+ ::sd::View* pView,
+ SdDrawDocument* pDoc,
+ SfxRequest& rReq)
: FuConstruct(pViewSh, pWin, pView, pDoc, rReq)
{
}
@@ -289,7 +289,7 @@ void FuConstruct3dObject::ImpPrepareBasic3DShape(E3dCompoundObject* p3DObj, E3dS
case SID_3D_SPHERE:
{
-// pScene->RotateX(DEG2RAD(60));
+// pScene->RotateX(DEG2RAD(60));
}
break;
@@ -304,13 +304,13 @@ void FuConstruct3dObject::ImpPrepareBasic3DShape(E3dCompoundObject* p3DObj, E3dS
case SID_3D_CONE:
case SID_3D_PYRAMID:
{
-// pScene->RotateX(DEG2RAD(25));
+// pScene->RotateX(DEG2RAD(25));
}
break;
case SID_3D_TORUS:
{
-// pScene->RotateX(DEG2RAD(15));
+// pScene->RotateX(DEG2RAD(15));
aTransformation.rotate(DEG2RAD(90), 0.0, 0.0);
}
break;
@@ -455,7 +455,7 @@ SdrObject* FuConstruct3dObject::CreateDefaultObject(const sal_uInt16 nID, const
E3dCompoundObject* p3DObj = ImpCreateBasic3DShape();
- // E3dView::SetCurrent3DObj part
+ // E3dView::SetCurrent3DObj part
// get transformed BoundVolume of the object
basegfx::B3DRange aObjVol(p3DObj->GetBoundVolume());
aObjVol.transform(p3DObj->GetTransform());
@@ -478,18 +478,18 @@ SdrObject* FuConstruct3dObject::CreateDefaultObject(const sal_uInt16 nID, const
aCam.SetFocalLength(mpView->GetDefaultCamFocal());
aCam.SetDefaults(::basegfx::B3DPoint(0.0, 0.0, fDefaultCamPosZ), aLookAt, mpView->GetDefaultCamFocal());
pScene->SetCamera(aCam);
-
+
pScene->Insert3DObj(p3DObj);
pScene->NbcSetSnapRect(a3DRect);
pScene->SetModel(mpDoc);
-
+
ImpPrepareBasic3DShape(p3DObj, pScene);
-
+
SfxItemSet aAttr(mpDoc->GetPool());
SetStyleSheet(aAttr, p3DObj);
aAttr.Put(XLineStyleItem (XLINE_NONE));
p3DObj->SetMergedItemSet(aAttr);
-
+
// make object interactive at once
pScene->SetRectsDirty();
diff --git a/sd/source/ui/func/fuconarc.cxx b/sd/source/ui/func/fuconarc.cxx
index dd7db1ecb231..8bb887f73534 100644
--- a/sd/source/ui/func/fuconarc.cxx
+++ b/sd/source/ui/func/fuconarc.cxx
@@ -2,7 +2,7 @@
/*************************************************************************
*
* 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
@@ -66,11 +66,11 @@ TYPEINIT1( FuConstructArc, FuConstruct );
\************************************************************************/
FuConstructArc::FuConstructArc (
- ViewShell* pViewSh,
- ::sd::Window* pWin,
- ::sd::View* pView,
+ ViewShell* pViewSh,
+ ::sd::Window* pWin,
+ ::sd::View* pView,
SdDrawDocument* pDoc,
- SfxRequest& rReq )
+ SfxRequest& rReq )
: FuConstruct( pViewSh, pWin, pView, pDoc, rReq )
{
}
@@ -103,7 +103,7 @@ void FuConstructArc::DoExecute( SfxRequest& rReq )
SFX_REQUEST_ARG (rReq, pPhiStart, SfxUInt32Item, ID_VAL_ANGLESTART, FALSE);
SFX_REQUEST_ARG (rReq, pPhiEnd, SfxUInt32Item, ID_VAL_ANGLEEND, FALSE);
- Rectangle aNewRectangle (pCenterX->GetValue () - pAxisX->GetValue () / 2,
+ Rectangle aNewRectangle (pCenterX->GetValue () - pAxisX->GetValue () / 2,
pCenterY->GetValue () - pAxisY->GetValue () / 2,
pCenterX->GetValue () + pAxisX->GetValue () / 2,
pCenterY->GetValue () + pAxisY->GetValue () / 2);
@@ -144,7 +144,7 @@ BOOL FuConstructArc::MouseButtonDown( const MouseEvent& rMEvt )
SfxItemSet aAttr(mpDoc->GetPool());
SetStyleSheet(aAttr, pObj);
-//-/ pObj->NbcSetAttributes(aAttr, FALSE);
+//-/ pObj->NbcSetAttributes(aAttr, FALSE);
pObj->SetMergedItemSet(aAttr);
}
@@ -227,25 +227,25 @@ void FuConstructArc::Activate()
switch( nSlotId )
{
- case SID_DRAW_ARC :
+ case SID_DRAW_ARC :
case SID_DRAW_CIRCLEARC:
{
aObjKind = OBJ_CARC;
}
break;
- case SID_DRAW_PIE :
- case SID_DRAW_PIE_NOFILL :
- case SID_DRAW_CIRCLEPIE :
+ case SID_DRAW_PIE :
+ case SID_DRAW_PIE_NOFILL :
+ case SID_DRAW_CIRCLEPIE :
case SID_DRAW_CIRCLEPIE_NOFILL:
{
aObjKind = OBJ_SECT;
}
break;
- case SID_DRAW_ELLIPSECUT :
+ case SID_DRAW_ELLIPSECUT :
case SID_DRAW_ELLIPSECUT_NOFILL:
- case SID_DRAW_CIRCLECUT :
+ case SID_DRAW_CIRCLECUT :
case SID_DRAW_CIRCLECUT_NOFILL :
{
aObjKind = OBJ_CCUT;
@@ -262,7 +262,7 @@ void FuConstructArc::Activate()
mpView->SetCurrentObj((UINT16)aObjKind);
FuConstruct::Activate();
-// FuDraw::Activate();
+// FuDraw::Activate();
}
/*************************************************************************
@@ -274,7 +274,7 @@ void FuConstructArc::Activate()
void FuConstructArc::Deactivate()
{
FuConstruct::Deactivate();
-// FuDraw::Deactivate();
+// FuDraw::Deactivate();
}
// #97016#
diff --git a/sd/source/ui/func/fuconbez.cxx b/sd/source/ui/func/fuconbez.cxx
index 410174a39792..1aacd9c27cda 100644
--- a/sd/source/ui/func/fuconbez.cxx
+++ b/sd/source/ui/func/fuconbez.cxx
@@ -2,7 +2,7 @@
/*************************************************************************
*
* 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
@@ -72,9 +72,9 @@ TYPEINIT1( FuConstructBezierPolygon, FuConstruct );
\************************************************************************/
FuConstructBezierPolygon::FuConstructBezierPolygon (
- ViewShell* pViewSh,
+ ViewShell* pViewSh,
::sd::Window* pWin,
- ::sd::View* pView,
+ ::sd::View* pView,
SdDrawDocument* pDoc,
SfxRequest& rReq)
: FuConstruct(pViewSh, pWin, pView, pDoc, rReq),
@@ -248,7 +248,7 @@ BOOL FuConstructBezierPolygon::MouseButtonUp(const MouseEvent& rMEvt )
mpView->DeleteMarked();
bDeleted = true;
}
-
+
if ((!bPermanent && bCreated) || bDeleted)
{
mpViewShell->GetViewFrame()->GetDispatcher()->Execute(SID_OBJECT_SELECT, SFX_CALLMODE_ASYNCHRON);
@@ -444,7 +444,7 @@ SdrObject* FuConstructBezierPolygon::CreateDefaultObject(const sal_uInt16 nID, c
basegfx::B2DPolygon aInnerPoly;
aInnerPoly.append(basegfx::B2DPoint(rRectangle.Left(), rRectangle.Bottom()));
-
+
aInnerPoly.appendBezierSegment(
basegfx::B2DPoint(rRectangle.Left(), rRectangle.Top()),
basegfx::B2DPoint(rRectangle.Center().X(), rRectangle.Top()),
@@ -463,7 +463,7 @@ SdrObject* FuConstructBezierPolygon::CreateDefaultObject(const sal_uInt16 nID, c
{
aInnerPoly.setClosed(true);
}
-
+
aPoly.append(aInnerPoly);
break;
}
@@ -471,14 +471,14 @@ SdrObject* FuConstructBezierPolygon::CreateDefaultObject(const sal_uInt16 nID, c
case SID_DRAW_XPOLYGON_NOFILL:
{
basegfx::B2DPolygon aInnerPoly;
-
+
aInnerPoly.append(basegfx::B2DPoint(rRectangle.Left(), rRectangle.Bottom()));
aInnerPoly.append(basegfx::B2DPoint(rRectangle.Left(), rRectangle.Top()));
aInnerPoly.append(basegfx::B2DPoint(rRectangle.Center().X(), rRectangle.Top()));
aInnerPoly.append(basegfx::B2DPoint(rRectangle.Center().X(), rRectangle.Center().Y()));
aInnerPoly.append(basegfx::B2DPoint(rRectangle.Right(), rRectangle.Center().Y()));
aInnerPoly.append(basegfx::B2DPoint(rRectangle.Right(), rRectangle.Bottom()));
-
+
if(SID_DRAW_XPOLYGON_NOFILL == nID)
{
aInnerPoly.append(basegfx::B2DPoint(rRectangle.Center().X(), rRectangle.Bottom()));
@@ -497,7 +497,7 @@ SdrObject* FuConstructBezierPolygon::CreateDefaultObject(const sal_uInt16 nID, c
basegfx::B2DPolygon aInnerPoly;
const sal_Int32 nWdt(rRectangle.GetWidth());
const sal_Int32 nHgt(rRectangle.GetHeight());
-
+
aInnerPoly.append(basegfx::B2DPoint(rRectangle.Left(), rRectangle.Bottom()));
aInnerPoly.append(basegfx::B2DPoint(rRectangle.Left() + (nWdt * 30) / 100, rRectangle.Top() + (nHgt * 70) / 100));
aInnerPoly.append(basegfx::B2DPoint(rRectangle.Left(), rRectangle.Top() + (nHgt * 15) / 100));
@@ -506,7 +506,7 @@ SdrObject* FuConstructBezierPolygon::CreateDefaultObject(const sal_uInt16 nID, c
aInnerPoly.append(basegfx::B2DPoint(rRectangle.Left() + (nWdt * 80) / 100, rRectangle.Top() + (nHgt * 50) / 100));
aInnerPoly.append(basegfx::B2DPoint(rRectangle.Left() + (nWdt * 80) / 100, rRectangle.Top() + (nHgt * 75) / 100));
aInnerPoly.append(basegfx::B2DPoint(rRectangle.Bottom(), rRectangle.Right()));
-
+
if(SID_DRAW_POLYGON_NOFILL == nID)
{
aInnerPoly.append(basegfx::B2DPoint(rRectangle.Center().X(), rRectangle.Bottom()));
diff --git a/sd/source/ui/func/fuconcs.cxx b/sd/source/ui/func/fuconcs.cxx
index 60bbc213791b..d0b5ef700314 100644
--- a/sd/source/ui/func/fuconcs.cxx
+++ b/sd/source/ui/func/fuconcs.cxx
@@ -2,7 +2,7 @@
/*************************************************************************
*
* 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
@@ -94,11 +94,11 @@ TYPEINIT1( FuConstructCustomShape, FuConstruct );
\************************************************************************/
FuConstructCustomShape::FuConstructCustomShape (
- ViewShell* pViewSh,
- ::sd::Window* pWin,
- ::sd::View* pView,
- SdDrawDocument* pDoc,
- SfxRequest& rReq ) :
+ ViewShell* pViewSh,
+ ::sd::Window* pWin,
+ ::sd::View* pView,
+ SdDrawDocument* pDoc,
+ SfxRequest& rReq ) :
FuConstruct(pViewSh, pWin, pView, pDoc, rReq)
{
}
@@ -263,7 +263,7 @@ void FuConstructCustomShape::SetAttributes( SdrObject* pObj )
if( pSourceObj )
{
const SfxItemSet& rSource = pSourceObj->GetMergedItemSet();
- SfxItemSet aDest( pObj->GetModel()->GetItemPool(), // ranges from SdrAttrObj
+ SfxItemSet aDest( pObj->GetModel()->GetItemPool(), // ranges from SdrAttrObj
SDRATTR_START, SDRATTR_SHADOW_LAST,
SDRATTR_MISC_FIRST, SDRATTR_MISC_LAST,
SDRATTR_TEXTDIRECTION, SDRATTR_TEXTDIRECTION,
diff --git a/sd/source/ui/func/fuconnct.cxx b/sd/source/ui/func/fuconnct.cxx
index 1dc882342a54..9650fa422e0b 100644
--- a/sd/source/ui/func/fuconnct.cxx
+++ b/sd/source/ui/func/fuconnct.cxx
@@ -2,7 +2,7 @@
/*************************************************************************
*
* 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
@@ -51,10 +51,10 @@ TYPEINIT1( FuConnectionDlg, FuPoor );
\************************************************************************/
FuConnectionDlg::FuConnectionDlg (
- ViewShell* pViewSh,
- ::sd::Window* pWin,
+ ViewShell* pViewSh,
+ ::sd::Window* pWin,
::sd::View* pView,
- SdDrawDocument* pDoc,
+ SdDrawDocument* pDoc,
SfxRequest& rReq)
: FuPoor(pViewSh, pWin, pView, pDoc, rReq)
{
diff --git a/sd/source/ui/func/fuconrec.cxx b/sd/source/ui/func/fuconrec.cxx
index 9cd2980831c9..8a5b82ae7fda 100644
--- a/sd/source/ui/func/fuconrec.cxx
+++ b/sd/source/ui/func/fuconrec.cxx
@@ -2,7 +2,7 @@
/*************************************************************************
*
* 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
@@ -89,11 +89,11 @@ TYPEINIT1( FuConstructRectangle, FuConstruct );
\************************************************************************/
FuConstructRectangle::FuConstructRectangle (
- ViewShell* pViewSh,
- ::sd::Window* pWin,
- ::sd::View* pView,
- SdDrawDocument* pDoc,
- SfxRequest& rReq)
+ ViewShell* pViewSh,
+ ::sd::Window* pWin,
+ ::sd::View* pView,
+ SdDrawDocument* pDoc,
+ SfxRequest& rReq)
: FuConstruct(pViewSh, pWin, pView, pDoc, rReq)
{
}
@@ -128,11 +128,11 @@ void FuConstructRectangle::DoExecute( SfxRequest& rReq )
SFX_REQUEST_ARG (rReq, pAxisX, SfxUInt32Item, ID_VAL_AXIS_X, FALSE);
SFX_REQUEST_ARG (rReq, pAxisY, SfxUInt32Item, ID_VAL_AXIS_Y, FALSE);
- Rectangle aNewRectangle (pCenterX->GetValue () - pAxisX->GetValue () / 2,
+ Rectangle aNewRectangle (pCenterX->GetValue () - pAxisX->GetValue () / 2,
pCenterY->GetValue () - pAxisY->GetValue () / 2,
pCenterX->GetValue () + pAxisX->GetValue () / 2,
pCenterY->GetValue () + pAxisY->GetValue () / 2);
- SdrCircObj *pNewCircle = new SdrCircObj (OBJ_CIRC, aNewRectangle);
+ SdrCircObj *pNewCircle = new SdrCircObj (OBJ_CIRC, aNewRectangle);
SdrPageView *pPV = mpView->GetSdrPageView();
mpView->InsertObjectAtView(pNewCircle, *pPV, SDRINSERT_SETDEFLAYER | SDRINSERT_SETDEFATTR);
@@ -146,11 +146,11 @@ void FuConstructRectangle::DoExecute( SfxRequest& rReq )
SFX_REQUEST_ARG (rReq, pMouseEndX, SfxUInt32Item, ID_VAL_MOUSEEND_X, FALSE);
SFX_REQUEST_ARG (rReq, pMouseEndY, SfxUInt32Item, ID_VAL_MOUSEEND_Y, FALSE);
- Rectangle aNewRectangle (pMouseStartX->GetValue (),
+ Rectangle aNewRectangle (pMouseStartX->GetValue (),
pMouseStartY->GetValue (),
pMouseEndX->GetValue (),
pMouseEndY->GetValue ());
- SdrRectObj *pNewRect = new SdrRectObj (aNewRectangle);
+ SdrRectObj *pNewRect = new SdrRectObj (aNewRectangle);
SdrPageView *pPV = mpView->GetSdrPageView();
mpView->InsertObjectAtView(pNewRect, *pPV, SDRINSERT_SETDEFLAYER | SDRINSERT_SETDEFATTR);
@@ -186,13 +186,13 @@ void FuConstructRectangle::DoExecute( SfxRequest& rReq )
nSlotId == SID_CONNECTOR_LINES_ARROWS ||
nSlotId == SID_CONNECTOR_LINES_CIRCLE_START ||
nSlotId == SID_CONNECTOR_LINES_CIRCLE_END ||
- nSlotId == SID_CONNECTOR_LINES_CIRCLES ||
- nSlotId == SID_LINE_ARROW_START ||
- nSlotId == SID_LINE_ARROW_END ||
- nSlotId == SID_LINE_ARROWS ||
- nSlotId == SID_LINE_ARROW_CIRCLE ||
- nSlotId == SID_LINE_CIRCLE_ARROW ||
- nSlotId == SID_LINE_ARROW_SQUARE ||
+ nSlotId == SID_CONNECTOR_LINES_CIRCLES ||
+ nSlotId == SID_LINE_ARROW_START ||
+ nSlotId == SID_LINE_ARROW_END ||
+ nSlotId == SID_LINE_ARROWS ||
+ nSlotId == SID_LINE_ARROW_CIRCLE ||
+ nSlotId == SID_LINE_CIRCLE_ARROW ||
+ nSlotId == SID_LINE_ARROW_SQUARE ||
nSlotId == SID_LINE_SQUARE_ARROW )
{
mpView->UnmarkAll();
@@ -356,21 +356,21 @@ void FuConstructRectangle::Activate()
break;
case SID_DRAW_RECT :
- case SID_DRAW_RECT_NOFILL :
- case SID_DRAW_RECT_ROUND :
+ case SID_DRAW_RECT_NOFILL :
+ case SID_DRAW_RECT_ROUND :
case SID_DRAW_RECT_ROUND_NOFILL:
- case SID_DRAW_SQUARE :
+ case SID_DRAW_SQUARE :
case SID_DRAW_SQUARE_NOFILL :
- case SID_DRAW_SQUARE_ROUND :
+ case SID_DRAW_SQUARE_ROUND :
case SID_DRAW_SQUARE_ROUND_NOFILL:
{
aObjKind = OBJ_RECT;
}
break;
- case SID_DRAW_ELLIPSE :
+ case SID_DRAW_ELLIPSE :
case SID_DRAW_ELLIPSE_NOFILL:
- case SID_DRAW_CIRCLE :
+ case SID_DRAW_CIRCLE :
case SID_DRAW_CIRCLE_NOFILL :
{
aObjKind = OBJ_CIRC;
@@ -465,13 +465,13 @@ void FuConstructRectangle::Deactivate()
nSlotId == SID_CONNECTOR_LINES_ARROWS ||
nSlotId == SID_CONNECTOR_LINES_CIRCLE_START ||
nSlotId == SID_CONNECTOR_LINES_CIRCLE_END ||
- nSlotId == SID_CONNECTOR_LINES_CIRCLES ||
- nSlotId == SID_LINE_ARROW_START ||
- nSlotId == SID_LINE_ARROW_END ||
- nSlotId == SID_LINE_ARROWS ||
- nSlotId == SID_LINE_ARROW_CIRCLE ||
- nSlotId == SID_LINE_CIRCLE_ARROW ||
- nSlotId == SID_LINE_ARROW_SQUARE ||
+ nSlotId == SID_CONNECTOR_LINES_CIRCLES ||
+ nSlotId == SID_LINE_ARROW_START ||
+ nSlotId == SID_LINE_ARROW_END ||
+ nSlotId == SID_LINE_ARROWS ||
+ nSlotId == SID_LINE_ARROW_CIRCLE ||
+ nSlotId == SID_LINE_CIRCLE_ARROW ||
+ nSlotId == SID_LINE_ARROW_SQUARE ||
nSlotId == SID_LINE_SQUARE_ARROW )
{
mpView->SetGlueVisible( FALSE );
@@ -989,8 +989,8 @@ SdrObject* FuConstructRectangle::CreateDefaultObject(const sal_uInt16 nID, const
}
// For task #105815# the default text is not inserted anymore.
- // String aText(SdResId(STR_POOLSHEET_TEXT));
- // ((SdrCaptionObj*)pObj)->SetText(aText);
+ // String aText(SdResId(STR_POOLSHEET_TEXT));
+ // ((SdrCaptionObj*)pObj)->SetText(aText);
((SdrCaptionObj*)pObj)->SetLogicRect(aRect);
((SdrCaptionObj*)pObj)->SetTailPos(
diff --git a/sd/source/ui/func/fuconstr.cxx b/sd/source/ui/func/fuconstr.cxx
index 0a74bbdac3a3..641c868ae38b 100644
--- a/sd/source/ui/func/fuconstr.cxx
+++ b/sd/source/ui/func/fuconstr.cxx
@@ -2,7 +2,7 @@
/*************************************************************************
*
* 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
@@ -63,11 +63,11 @@ TYPEINIT1( FuConstruct, FuDraw );
\************************************************************************/
FuConstruct::FuConstruct (
- ViewShell* pViewSh,
- ::sd::Window* pWin,
- ::sd::View* pView,
- SdDrawDocument* pDoc,
- SfxRequest& rReq)
+ ViewShell* pViewSh,
+ ::sd::Window* pWin,
+ ::sd::View* pView,
+ SdDrawDocument* pDoc,
+ SfxRequest& rReq)
: FuDraw(pViewSh, pWin, pView, pDoc, rReq),
bSelectionChanged(FALSE)
{
@@ -96,7 +96,7 @@ BOOL FuConstruct::MouseButtonDown(const MouseEvent& rMEvt)
// #90235# this extra triggering is an error and leads to
// erasing the last two points when creating a polygon.
// if ( rMEvt.IsRight() )
- // mpView->BckAction();
+ // mpView->BckAction();
return TRUE;
}
@@ -392,7 +392,7 @@ void FuConstruct::SetStyleSheet( SfxItemSet& rAttr, SdrObject* pObj,
else
{
/***********************************
- * object was created on normal page
+ * object was created on normal page
************************************/
if ( bForceNoFillStyle )
{
diff --git a/sd/source/ui/func/fuconuno.cxx b/sd/source/ui/func/fuconuno.cxx
index 6126fa15f97b..00474a0e91e0 100644
--- a/sd/source/ui/func/fuconuno.cxx
+++ b/sd/source/ui/func/fuconuno.cxx
@@ -2,7 +2,7 @@
/*************************************************************************
*
* 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
@@ -66,11 +66,11 @@ TYPEINIT1( FuConstructUnoControl, FuConstruct );
\************************************************************************/
FuConstructUnoControl::FuConstructUnoControl (
- ViewShell* pViewSh,
- ::sd::Window* pWin,
- ::sd::View* pView,
- SdDrawDocument* pDoc,
- SfxRequest& rReq)
+ ViewShell* pViewSh,
+ ::sd::Window* pWin,
+ ::sd::View* pView,
+ SdDrawDocument* pDoc,
+ SfxRequest& rReq)
: FuConstruct(pViewSh, pWin, pView, pDoc, rReq)
{
}
@@ -204,7 +204,7 @@ void FuConstructUnoControl::Deactivate()
SdrObject* FuConstructUnoControl::CreateDefaultObject(const sal_uInt16, const Rectangle& rRectangle)
{
// case SID_FM_CREATE_CONTROL:
-
+
SdrObject* pObj = SdrObjFactory::MakeNewObject(
mpView->GetCurrentObjInventor(), mpView->GetCurrentObjIdentifier(),
0L, mpDoc);
diff --git a/sd/source/ui/func/fucopy.cxx b/sd/source/ui/func/fucopy.cxx
index 858081dad195..d5572ddaa692 100644
--- a/sd/source/ui/func/fucopy.cxx
+++ b/sd/source/ui/func/fucopy.cxx
@@ -2,7 +2,7 @@
/*************************************************************************
*
* 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
@@ -63,10 +63,10 @@ TYPEINIT1( FuCopy, FuPoor );
\************************************************************************/
FuCopy::FuCopy (
- ViewShell* pViewSh,
- ::sd::Window* pWin,
+ ViewShell* pViewSh,
+ ::sd::Window* pWin,
::sd::View* pView,
- SdDrawDocument* pDoc,
+ SdDrawDocument* pDoc,
SfxRequest& rReq)
: FuPoor(pViewSh, pWin, pView, pDoc, rReq)
{
@@ -99,7 +99,7 @@ void FuCopy::DoExecute( SfxRequest& rReq )
// Farb-Attribut angeben
SfxItemSet aAttr( mpDoc->GetPool() );
mpView->GetAttributes( aAttr );
- const SfxPoolItem* pPoolItem = NULL;
+ const SfxPoolItem* pPoolItem = NULL;
if( SFX_ITEM_SET == aAttr.GetItemState( XATTR_FILLSTYLE, TRUE, &pPoolItem ) )
{
@@ -144,11 +144,11 @@ void FuCopy::DoExecute( SfxRequest& rReq )
}
}
- Rectangle aRect;
- INT32 lWidth = 0, lHeight = 0, lSizeX = 0L, lSizeY = 0L, lAngle = 0L;
- UINT16 nNumber = 0;
- Color aStartColor, aEndColor;
- BOOL bColor = FALSE;
+ Rectangle aRect;
+ INT32 lWidth = 0, lHeight = 0, lSizeX = 0L, lSizeY = 0L, lAngle = 0L;
+ UINT16 nNumber = 0;
+ Color aStartColor, aEndColor;
+ BOOL bColor = FALSE;
const SfxPoolItem* pPoolItem = NULL;
// Anzahl
@@ -201,19 +201,19 @@ void FuCopy::DoExecute( SfxRequest& rReq )
bWaiting = TRUE;
}
- const SdrMarkList aMarkList( mpView->GetMarkedObjectList() );
- const ULONG nMarkCount = aMarkList.GetMarkCount();
- SdrObject* pObj = NULL;
+ const SdrMarkList aMarkList( mpView->GetMarkedObjectList() );
+ const ULONG nMarkCount = aMarkList.GetMarkCount();
+ SdrObject* pObj = NULL;
// Anzahl moeglicher Kopien berechnen
aRect = mpView->GetAllMarkedRect();
-
+
if( lWidth < 0L )
{
long nTmp = ( aRect.Right() - aRect.Left() ) / -lWidth;
nNumber = (UINT16) Min( nTmp, (long)nNumber );
}
-
+
if( lHeight < 0L )
{
long nTmp = ( aRect.Bottom() - aRect.Top() ) / -lHeight;
@@ -237,16 +237,16 @@ void FuCopy::DoExecute( SfxRequest& rReq )
// make a copy of selected objects
mpView->CopyMarked();
-
- // get newly selected objects
+
+ // get newly selected objects
SdrMarkList aCopyMarkList( mpView->GetMarkedObjectList() );
- ULONG j, nCopyMarkCount = aMarkList.GetMarkCount();
-
+ ULONG j, nCopyMarkCount = aMarkList.GetMarkCount();
+
// set protection flags at marked copies to null
for( j = 0; j < nCopyMarkCount; j++ )
{
pObj = aCopyMarkList.GetMark( j )->GetMarkedSdrObj();
-
+
if( pObj )
{
pObj->SetMoveProtect( FALSE );
@@ -265,7 +265,7 @@ void FuCopy::DoExecute( SfxRequest& rReq )
if( mpView->IsMoveAllowed() )
mpView->MoveAllMarked( Size( lSizeX, lSizeY ) );
-
+
// set protection flags at marked copies to original values
if( nMarkCount == nCopyMarkCount )
{
@@ -273,8 +273,8 @@ void FuCopy::DoExecute( SfxRequest& rReq )
{
SdrObject* pSrcObj = aMarkList.GetMark( j )->GetMarkedSdrObj();
SdrObject* pDstObj = aCopyMarkList.GetMark( j )->GetMarkedSdrObj();
-
- if( pSrcObj && pDstObj &&
+
+ if( pSrcObj && pDstObj &&
( pSrcObj->GetObjInventor() == pDstObj->GetObjInventor() ) &&
( pSrcObj->GetObjIdentifier() == pDstObj->GetObjIdentifier() ) )
{
@@ -313,6 +313,6 @@ void FuCopy::DoExecute( SfxRequest& rReq )
}
}
-} // end of namespace
+} // end of namespace
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/sd/source/ui/func/fucushow.cxx b/sd/source/ui/func/fucushow.cxx
index 3000aaa8553c..dd150adcce86 100644
--- a/sd/source/ui/func/fucushow.cxx
+++ b/sd/source/ui/func/fucushow.cxx
@@ -2,7 +2,7 @@
/*************************************************************************
*
* 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
@@ -56,11 +56,11 @@ TYPEINIT1( FuCustomShowDlg, FuPoor );
\************************************************************************/
FuCustomShowDlg::FuCustomShowDlg (
- ViewShell* pViewSh,
- ::sd::Window* pWin,
- ::sd::View* pView,
- SdDrawDocument* pDoc,
- SfxRequest& rReq)
+ ViewShell* pViewSh,
+ ::sd::Window* pWin,
+ ::sd::View* pView,
+ SdDrawDocument* pDoc,
+ SfxRequest& rReq)
: FuPoor( pViewSh, pWin, pView, pDoc, rReq )
{
}
@@ -97,6 +97,6 @@ void FuCustomShowDlg::DoExecute( SfxRequest& )
}
}
-} // end of namespace
+} // end of namespace
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/sd/source/ui/func/fudraw.cxx b/sd/source/ui/func/fudraw.cxx
index 5caaf842aa41..d4217eee6918 100644
--- a/sd/source/ui/func/fudraw.cxx
+++ b/sd/source/ui/func/fudraw.cxx
@@ -2,7 +2,7 @@
/*************************************************************************
*
* 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
@@ -130,8 +130,8 @@ BOOL FuDraw::MouseButtonDown(const MouseEvent& rMEvt)
{
FrameView* pFrameView = mpViewShell->GetFrameView();
-// BOOL bOrtho = mpView->IsOrthoDesired() || pFrameView->IsOrtho();
-// bOrtho = bOrtho != rMEvt.IsShift();
+// BOOL bOrtho = mpView->IsOrthoDesired() || pFrameView->IsOrtho();
+// bOrtho = bOrtho != rMEvt.IsShift();
BOOL bOrtho = FALSE;
BOOL bRestricted = TRUE;
@@ -252,8 +252,8 @@ BOOL FuDraw::MouseMove(const MouseEvent& rMEvt)
FrameView* pFrameView = mpViewShell->GetFrameView();
Point aPos = mpWindow->PixelToLogic( rMEvt.GetPosPixel() );
-// BOOL bOrtho = mpView->IsOrthoDesired() || pFrameView->IsOrtho();
-// bOrtho = bOrtho != rMEvt.IsShift();
+// BOOL bOrtho = mpView->IsOrthoDesired() || pFrameView->IsOrtho();
+// bOrtho = bOrtho != rMEvt.IsShift();
BOOL bOrtho = FALSE;
BOOL bRestricted = TRUE;
@@ -688,8 +688,8 @@ void FuDraw::ForcePointer(const MouseEvent* pMEvt)
{
UINT16 nSdrObjKind = aVEvt.pObj->GetObjIdentifier();
- if ( nSdrObjKind != OBJ_TEXT &&
- nSdrObjKind != OBJ_TITLETEXT &&
+ if ( nSdrObjKind != OBJ_TEXT &&
+ nSdrObjKind != OBJ_TITLETEXT &&
nSdrObjKind != OBJ_OUTLINETEXT &&
aVEvt.pObj->IsEmptyPresObj() )
{
@@ -785,8 +785,8 @@ BOOL FuDraw::SetPointer(SdrObject* pObj, const Point& rPos)
||
(mpView->ISA(DrawView) &&
SlideShow::IsRunning( mpViewShell->GetViewShellBase() ) &&
- (pInfo->meClickAction == presentation::ClickAction_VANISH ||
- pInfo->meClickAction == presentation::ClickAction_INVISIBLE ||
+ (pInfo->meClickAction == presentation::ClickAction_VANISH ||
+ pInfo->meClickAction == presentation::ClickAction_INVISIBLE ||
pInfo->meClickAction == presentation::ClickAction_STOPPRESENTATION ||
(pInfo->mbActive &&
( pInfo->meEffect != presentation::AnimationEffect_NONE ||
diff --git a/sd/source/ui/func/fudspord.cxx b/sd/source/ui/func/fudspord.cxx
index 24528f251640..e7665a8145f9 100644
--- a/sd/source/ui/func/fudspord.cxx
+++ b/sd/source/ui/func/fudspord.cxx
@@ -2,7 +2,7 @@
/*************************************************************************
*
* 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
@@ -53,7 +53,7 @@ TYPEINIT1( FuDisplayOrder, FuPoor );
|*
\************************************************************************/
-FuDisplayOrder::FuDisplayOrder( ViewShell* pViewSh, ::sd::Window* pWin, ::sd::View* pView, SdDrawDocument* pDoc, SfxRequest& rReq)
+FuDisplayOrder::FuDisplayOrder( ViewShell* pViewSh, ::sd::Window* pWin, ::sd::View* pView, SdDrawDocument* pDoc, SfxRequest& rReq)
: FuPoor(pViewSh, pWin, pView, pDoc, rReq)
, mpRefObj(NULL)
, mpOverlay(0L)
diff --git a/sd/source/ui/func/fuediglu.cxx b/sd/source/ui/func/fuediglu.cxx
index 24fb5dfd2e9b..fb00ac95e209 100644
--- a/sd/source/ui/func/fuediglu.cxx
+++ b/sd/source/ui/func/fuediglu.cxx
@@ -2,7 +2,7 @@
/*************************************************************************
*
* 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
@@ -61,8 +61,8 @@ FuEditGluePoints::FuEditGluePoints (
ViewShell* pViewSh,
::sd::Window* pWin,
::sd::View* pView,
- SdDrawDocument* pDoc,
- SfxRequest& rReq)
+ SdDrawDocument* pDoc,
+ SfxRequest& rReq)
: FuDraw(pViewSh, pWin, pView, pDoc, rReq)
{
}
diff --git a/sd/source/ui/func/fuexpand.cxx b/sd/source/ui/func/fuexpand.cxx
index f09141ccc989..04667a62540c 100644
--- a/sd/source/ui/func/fuexpand.cxx
+++ b/sd/source/ui/func/fuexpand.cxx
@@ -2,7 +2,7 @@
/*************************************************************************
*
* 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
@@ -195,7 +195,7 @@ void FuExpandPage::DoExecute( SfxRequest& )
// Title-Textobjekt erstellen
SdrTextObj* pTextObj = (SdrTextObj*) pPage->GetPresObj(PRESOBJ_TITLE);
-
+
//
OutlinerParaObject* pOutlinerParaObject = pOutl->CreateParaObject( (USHORT) nParaPos, 1);
pOutlinerParaObject->SetOutlinerMode(OUTLINERMODE_TITLEOBJECT);
@@ -234,13 +234,13 @@ void FuExpandPage::DoExecute( SfxRequest& )
// --
SdrOutliner* pTempOutl = SdrMakeOutliner( OUTLINERMODE_OUTLINEOBJECT, mpDoc );
pTempOutl->SetText( *pOPO );
-
+
ULONG nParaCount2 = pTempOutl->GetParagraphCount();
ULONG nPara;
for( nPara = 0; nPara < nParaCount2; nPara++ )
{
pTempOutl->SetDepth (
- pTempOutl->GetParagraph( nPara ),
+ pTempOutl->GetParagraph( nPara ),
pTempOutl->GetDepth((USHORT) nPara ) - 1);
}
diff --git a/sd/source/ui/func/fuformatpaintbrush.cxx b/sd/source/ui/func/fuformatpaintbrush.cxx
index ce189dd459ab..2b933e5e888b 100644
--- a/sd/source/ui/func/fuformatpaintbrush.cxx
+++ b/sd/source/ui/func/fuformatpaintbrush.cxx
@@ -2,7 +2,7 @@
/*************************************************************************
*
* 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
@@ -60,7 +60,7 @@ namespace sd {
TYPEINIT1( FuFormatPaintBrush, FuText );
-FuFormatPaintBrush::FuFormatPaintBrush( ViewShell* pViewSh, ::sd::Window* pWin, ::sd::View* pView, SdDrawDocument* pDoc, SfxRequest& rReq )
+FuFormatPaintBrush::FuFormatPaintBrush( ViewShell* pViewSh, ::sd::Window* pWin, ::sd::View* pView, SdDrawDocument* pDoc, SfxRequest& rReq )
: FuText(pViewSh, pWin, pView, pDoc, rReq)
, mbPermanent( false )
, mbOldIsQuickTextEditMode( true )
@@ -91,7 +91,7 @@ void FuFormatPaintBrush::DoExecute( SfxRequest& rReq )
void FuFormatPaintBrush::implcancel()
{
if( mpViewShell && mpViewShell->GetViewFrame() )
- {
+ {
SfxViewFrame* pViewFrame = mpViewShell->GetViewFrame();
pViewFrame->GetBindings().Invalidate(SID_FORMATPAINTBRUSH);
pViewFrame->GetDispatcher()->Execute(SID_OBJECT_SELECT, SFX_CALLMODE_ASYNCHRON);
@@ -150,7 +150,7 @@ BOOL FuFormatPaintBrush::MouseButtonDown(const MouseEvent& rMEvt)
unmarkimpl( mpView );
if( aVEvt.pObj )
- {
+ {
USHORT nHitLog = USHORT ( mpWindow->PixelToLogic(Size(HITPIX,0)).Width() );
BOOL bToggle = FALSE;
mpView->MarkObj(mpWindow->PixelToLogic( rMEvt.GetPosPixel() ), nHitLog, bToggle, FALSE);
@@ -259,7 +259,7 @@ void FuFormatPaintBrush::Paste( bool bNoCharacterFormats, bool bNoParagraphForma
if(mpItemSet.get() && (rMarkList.GetMarkCount() == 1) )
{
SdrObject* pObj = rMarkList.GetMark(0)->GetMarkedSdrObj();
-
+
if( mpDoc->IsUndoEnabled() )
{
String sLabel( mpViewShell->GetViewShellBase().RetrieveLabelFromCommand( rtl::OUString( RTL_CONSTASCII_USTRINGPARAM( ".uno:FormatPaintbrush" ) ) ) );
@@ -268,7 +268,7 @@ void FuFormatPaintBrush::Paste( bool bNoCharacterFormats, bool bNoParagraphForma
}
mpView->ApplyFormatPaintBrush( *mpItemSet.get(), bNoCharacterFormats, bNoParagraphFormats );
-
+
if( mpDoc->IsUndoEnabled() )
{
mpDoc->EndUndo();
@@ -280,7 +280,7 @@ void FuFormatPaintBrush::Paste( bool bNoCharacterFormats, bool bNoParagraphForma
{
const SdrMarkList& rMarkList = rDrawViewShell.GetDrawView()->GetMarkedObjectList();
const ULONG nMarkCount = rMarkList.GetMarkCount();
-
+
if( nMarkCount == 1 )
{
SdrObject* pObj = rMarkList.GetMark(0)->GetMarkedSdrObj();
diff --git a/sd/source/ui/func/fuhhconv.cxx b/sd/source/ui/func/fuhhconv.cxx
index 3cc212478b93..39c202f86ab4 100644
--- a/sd/source/ui/func/fuhhconv.cxx
+++ b/sd/source/ui/func/fuhhconv.cxx
@@ -2,7 +2,7 @@
/*************************************************************************
*
* 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
diff --git a/sd/source/ui/func/fuinsert.cxx b/sd/source/ui/func/fuinsert.cxx
index de244e5f259a..743bf758f889 100644
--- a/sd/source/ui/func/fuinsert.cxx
+++ b/sd/source/ui/func/fuinsert.cxx
@@ -2,7 +2,7 @@
/*************************************************************************
*
* 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
@@ -130,17 +130,17 @@ FunctionReference FuInsertGraphic::Create( ViewShell* pViewSh, ::sd::Window* pWi
void FuInsertGraphic::DoExecute( SfxRequest& )
{
- SvxOpenGraphicDialog aDlg(SdResId(STR_INSERTGRAPHIC));
+ SvxOpenGraphicDialog aDlg(SdResId(STR_INSERTGRAPHIC));
if( aDlg.Execute() == GRFILTER_OK )
{
- Graphic aGraphic;
+ Graphic aGraphic;
int nError = aDlg.GetGraphic(aGraphic);
if( nError == GRFILTER_OK )
{
if( mpViewShell && mpViewShell->ISA(DrawViewShell))
{
- sal_Int8 nAction = DND_ACTION_COPY;
+ sal_Int8 nAction = DND_ACTION_COPY;
SdrObject* pPickObj = mpView->GetEmptyPresentationObject( PRESOBJ_GRAPHIC );
if( pPickObj )
nAction = DND_ACTION_LINK;
@@ -204,7 +204,7 @@ FunctionReference FuInsertClipboard::Create( ViewShell* pViewSh, ::sd::Window* p
void FuInsertClipboard::DoExecute( SfxRequest& )
{
- TransferableDataHelper aDataHelper( TransferableDataHelper::CreateFromSystemClipboard( mpWindow ) );
+ TransferableDataHelper aDataHelper( TransferableDataHelper::CreateFromSystemClipboard( mpWindow ) );
ULONG nFormatId;
SvxAbstractDialogFactory* pFact = SvxAbstractDialogFactory::Create();
@@ -721,9 +721,9 @@ FunctionReference FuInsertAVMedia::Create( ViewShell* pViewSh, ::sd::Window* pWi
void FuInsertAVMedia::DoExecute( SfxRequest& rReq )
{
- ::rtl::OUString aURL;
- const SfxItemSet* pReqArgs = rReq.GetArgs();
- bool bAPI = false;
+ ::rtl::OUString aURL;
+ const SfxItemSet* pReqArgs = rReq.GetArgs();
+ bool bAPI = false;
if( pReqArgs )
{
@@ -753,8 +753,8 @@ void FuInsertAVMedia::DoExecute( SfxRequest& rReq )
}
else
{
- Point aPos;
- Size aSize;
+ Point aPos;
+ Size aSize;
sal_Int8 nAction = DND_ACTION_COPY;
if( aPrefSize.Width() && aPrefSize.Height() )
diff --git a/sd/source/ui/func/fuinsfil.cxx b/sd/source/ui/func/fuinsfil.cxx
index 6b2807fca4c5..d664b54f8df1 100644
--- a/sd/source/ui/func/fuinsfil.cxx
+++ b/sd/source/ui/func/fuinsfil.cxx
@@ -2,7 +2,7 @@
/*************************************************************************
*
* 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
@@ -85,9 +85,9 @@ namespace sd {
TYPEINIT1( FuInsertFile, FuPoor );
-#define POOL_BUFFER_SIZE (USHORT)32768
-#define BASIC_BUFFER_SIZE (USHORT)8192
-#define DOCUMENT_BUFFER_SIZE (USHORT)32768
+#define POOL_BUFFER_SIZE (USHORT)32768
+#define BASIC_BUFFER_SIZE (USHORT)8192
+#define DOCUMENT_BUFFER_SIZE (USHORT)32768
/*************************************************************************
|*
@@ -97,10 +97,10 @@ TYPEINIT1( FuInsertFile, FuPoor );
FuInsertFile::FuInsertFile (
ViewShell* pViewSh,
- ::sd::Window* pWin,
- ::sd::View* pView,
+ ::sd::Window* pWin,
+ ::sd::View* pView,
SdDrawDocument* pDoc,
- SfxRequest& rReq)
+ SfxRequest& rReq)
: FuPoor(pViewSh, pWin, pView, pDoc, rReq)
{
}
@@ -127,7 +127,7 @@ void FuInsertFile::DoExecute( SfxRequest& rReq )
Reference< XFilterManager > xFilterManager( xFilePicker, UNO_QUERY );
String aOwnCont;
String aOtherCont;
- const SfxFilter* pFilter = NULL;
+ const SfxFilter* pFilter = NULL;
aFileDialog.SetTitle( String( SdResId(STR_DLG_INSERT_PAGES_FROM_FILE ) ) );
@@ -269,12 +269,12 @@ void FuInsertFile::DoExecute( SfxRequest& rReq )
mpDocSh->SetWaitCursor( TRUE );
- SfxMedium* pMedium = new SfxMedium( aFile, STREAM_READ | STREAM_NOCREATE, FALSE );
- const SfxFilter* pFilter = NULL;
-
+ SfxMedium* pMedium = new SfxMedium( aFile, STREAM_READ | STREAM_NOCREATE, FALSE );
+ const SfxFilter* pFilter = NULL;
+
SFX_APP()->GetFilterMatcher().GuessFilter( *pMedium, &pFilter, SFX_FILTER_IMPORT, SFX_FILTER_NOTINSTALLED | SFX_FILTER_EXECUTABLE );
-
- BOOL bDrawMode = mpViewShell && mpViewShell->ISA(DrawViewShell);
+
+ BOOL bDrawMode = mpViewShell && mpViewShell->ISA(DrawViewShell);
BOOL bInserted = FALSE;
if( pFilter )
@@ -512,11 +512,11 @@ void FuInsertFile::InsTextOrRTFinDrMode(SfxMedium* pMedium)
// was zeichnen muessen;
// der globale Outliner koennte in SdPage::CreatePresObj
// benutzt werden
-// SfxItemPool* pPool = mpDoc->GetDrawOutliner().GetEmptyItemSet().GetPool();
+// SfxItemPool* pPool = mpDoc->GetDrawOutliner().GetEmptyItemSet().GetPool();
SdrOutliner* pOutliner = new ::sd::Outliner( mpDoc, OUTLINERMODE_TEXTOBJECT );
-// pOutliner->SetStyleSheetPool((SfxStyleSheetPool*)mpDoc->GetStyleSheetPool());
-// pOutliner->SetEditTextObjectPool(pPool);
-// pOutliner->SetForbiddenCharsTable( mpDoc->GetForbiddenCharsTable() );
+// pOutliner->SetStyleSheetPool((SfxStyleSheetPool*)mpDoc->GetStyleSheetPool());
+// pOutliner->SetEditTextObjectPool(pPool);
+// pOutliner->SetForbiddenCharsTable( mpDoc->GetForbiddenCharsTable() );
// Referenz-Device setzen
pOutliner->SetRefDevice( SD_MOD()->GetRefDevice( *mpDocSh ) );
@@ -634,9 +634,9 @@ void FuInsertFile::InsTextOrRTFinOlMode(SfxMedium* pMedium)
else if( aFilterName.SearchAscii( "HTML" ) != STRING_NOTFOUND )
nFormat = EE_FORMAT_HTML;
- ::Outliner* pDocliner = static_cast<OutlineView*>(mpView)->GetOutliner();
- List* pList = pDocliner->GetView(0)->CreateSelectionList();
- Paragraph* pPara = (Paragraph*)pList->First();
+ ::Outliner* pDocliner = static_cast<OutlineView*>(mpView)->GetOutliner();
+ List* pList = pDocliner->GetView(0)->CreateSelectionList();
+ Paragraph* pPara = (Paragraph*)pList->First();
// wo soll eingefuegt werden?
while( !pDocliner->HasParaFlag( pPara, PARAFLAG_ISPAGE ) )
@@ -774,14 +774,14 @@ BOOL FuInsertFile::InsSDDinOlMode(SfxMedium* pMedium)
pOutliner->SetParaInsertedHdl( Link(NULL, NULL));
Link aOldParagraphRemovingHdl = pOutliner->GetParaRemovingHdl();
pOutliner->SetParaRemovingHdl( Link(NULL, NULL));
- Link aOldDepthChangedHdl = pOutliner->GetDepthChangedHdl();
+ Link aOldDepthChangedHdl = pOutliner->GetDepthChangedHdl();
pOutliner->SetDepthChangedHdl( Link(NULL, NULL));
- Link aOldBeginMovingHdl = pOutliner->GetBeginMovingHdl();
+ Link aOldBeginMovingHdl = pOutliner->GetBeginMovingHdl();
pOutliner->SetBeginMovingHdl( Link(NULL, NULL));
- Link aOldEndMovingHdl = pOutliner->GetEndMovingHdl();
+ Link aOldEndMovingHdl = pOutliner->GetEndMovingHdl();
pOutliner->SetEndMovingHdl( Link(NULL, NULL));
- Link aOldStatusEventHdl = pOutliner->GetStatusEventHdl();
+ Link aOldStatusEventHdl = pOutliner->GetStatusEventHdl();
pOutliner->SetStatusEventHdl(Link(NULL, NULL));
pOutliner->Clear();
diff --git a/sd/source/ui/func/fuline.cxx b/sd/source/ui/func/fuline.cxx
index e8191a9ee5d3..e16ed6dcef38 100644
--- a/sd/source/ui/func/fuline.cxx
+++ b/sd/source/ui/func/fuline.cxx
@@ -2,7 +2,7 @@
/*************************************************************************
*
* 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
@@ -61,10 +61,10 @@ TYPEINIT1( FuLine, FuPoor );
\************************************************************************/
FuLine::FuLine (
- ViewShell* pViewSh,
- ::sd::Window* pWin,
+ ViewShell* pViewSh,
+ ::sd::Window* pWin,
::sd::View* pView,
- SdDrawDocument* pDoc,
+ SdDrawDocument* pDoc,
SfxRequest& rReq)
: FuPoor(pViewSh, pWin, pView, pDoc, rReq)
{
@@ -79,7 +79,7 @@ FunctionReference FuLine::Create( ViewShell* pViewSh, ::sd::Window* pWin, ::sd::
void FuLine::DoExecute( SfxRequest& rReq )
{
- BOOL bHasMarked = mpView->AreObjectsMarked();
+ BOOL bHasMarked = mpView->AreObjectsMarked();
const SfxItemSet* pArgs = rReq.GetArgs();
diff --git a/sd/source/ui/func/fulinend.cxx b/sd/source/ui/func/fulinend.cxx
index a89bd4253ad7..a415beb911ef 100644
--- a/sd/source/ui/func/fulinend.cxx
+++ b/sd/source/ui/func/fulinend.cxx
@@ -2,7 +2,7 @@
/*************************************************************************
*
* 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
diff --git a/sd/source/ui/func/fulink.cxx b/sd/source/ui/func/fulink.cxx
index 8628dc76fb93..922af457ffb1 100644
--- a/sd/source/ui/func/fulink.cxx
+++ b/sd/source/ui/func/fulink.cxx
@@ -2,7 +2,7 @@
/*************************************************************************
*
* 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
diff --git a/sd/source/ui/func/fumeasur.cxx b/sd/source/ui/func/fumeasur.cxx
index 062664979c2d..4ce60fb86c38 100644
--- a/sd/source/ui/func/fumeasur.cxx
+++ b/sd/source/ui/func/fumeasur.cxx
@@ -2,7 +2,7 @@
/*************************************************************************
*
* 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
@@ -50,10 +50,10 @@ TYPEINIT1( FuMeasureDlg, FuPoor );
\************************************************************************/
FuMeasureDlg::FuMeasureDlg (
- ViewShell* pViewSh,
- ::sd::Window* pWin,
+ ViewShell* pViewSh,
+ ::sd::Window* pWin,
::sd::View* pView,
- SdDrawDocument* pDoc,
+ SdDrawDocument* pDoc,
SfxRequest& rReq)
: FuPoor(pViewSh, pWin, pView, pDoc, rReq)
{
diff --git a/sd/source/ui/func/fumorph.cxx b/sd/source/ui/func/fumorph.cxx
index e15c9adf3500..5ab48991715e 100644
--- a/sd/source/ui/func/fumorph.cxx
+++ b/sd/source/ui/func/fumorph.cxx
@@ -2,7 +2,7 @@
/*************************************************************************
*
* 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
@@ -67,12 +67,12 @@ TYPEINIT1( FuMorph, FuPoor );
// constructor
//
FuMorph::FuMorph (
- ViewShell* pViewSh,
- ::sd::Window* pWin,
+ ViewShell* pViewSh,
+ ::sd::Window* pWin,
::sd::View* pView,
- SdDrawDocument* pDoc,
- SfxRequest& rReq )
- : FuPoor(pViewSh, pWin, pView, pDoc, rReq)
+ SdDrawDocument* pDoc,
+ SfxRequest& rReq )
+ : FuPoor(pViewSh, pWin, pView, pDoc, rReq)
{
}
@@ -85,23 +85,23 @@ FunctionReference FuMorph::Create( ViewShell* pViewSh, ::sd::Window* pWin, ::sd:
void FuMorph::DoExecute( SfxRequest& )
{
- const SdrMarkList& rMarkList = mpView->GetMarkedObjectList();
+ const SdrMarkList& rMarkList = mpView->GetMarkedObjectList();
if(rMarkList.GetMarkCount() == 2)
{
// Clones erzeugen
- SdrObject* pObj1 = rMarkList.GetMark(0)->GetMarkedSdrObj();
- SdrObject* pObj2 = rMarkList.GetMark(1)->GetMarkedSdrObj();
- SdrObject* pCloneObj1 = pObj1->Clone();
- SdrObject* pCloneObj2 = pObj2->Clone();
+ SdrObject* pObj1 = rMarkList.GetMark(0)->GetMarkedSdrObj();
+ SdrObject* pObj2 = rMarkList.GetMark(1)->GetMarkedSdrObj();
+ SdrObject* pCloneObj1 = pObj1->Clone();
+ SdrObject* pCloneObj2 = pObj2->Clone();
// Text am Clone loeschen, da wir sonst kein richtiges PathObj bekommen
pCloneObj1->SetOutlinerParaObject(NULL);
pCloneObj2->SetOutlinerParaObject(NULL);
// Path-Objekte erzeugen
- SdrObject* pPolyObj1 = pCloneObj1->ConvertToPolyObj(FALSE, FALSE);
- SdrObject* pPolyObj2 = pCloneObj2->ConvertToPolyObj(FALSE, FALSE);
+ SdrObject* pPolyObj1 = pCloneObj1->ConvertToPolyObj(FALSE, FALSE);
+ SdrObject* pPolyObj2 = pCloneObj2->ConvertToPolyObj(FALSE, FALSE);
SdAbstractDialogFactory* pFact = SdAbstractDialogFactory::Create();
AbstractMorphDlg* pDlg = pFact ? pFact->CreateMorphDlg( static_cast< ::Window*>(mpWindow), pObj1, pObj2 ) : 0;
if(pPolyObj1 && pPolyObj2 && pDlg && (pDlg->Execute() == RET_OK))
@@ -262,7 +262,7 @@ void FuMorph::ImpEqualizePolyPointCount(::basegfx::B2DPolygon& rSmall, const ::b
const ::basegfx::B2DPoint aSrcPos(aSrcSize.getCenter());
const ::basegfx::B2DRange aDstSize(::basegfx::tools::getRange(rSmall));
const ::basegfx::B2DPoint aDstPos(aDstSize.getCenter());
-
+
basegfx::B2DHomMatrix aTrans(basegfx::tools::createTranslateB2DHomMatrix(-aSrcPos.getX(), -aSrcPos.getY()));
aTrans.scale(aDstSize.getWidth() / aSrcSize.getWidth(), aDstSize.getHeight() / aSrcSize.getHeight());
aTrans.translate(aDstPos.getX(), aDstPos.getY());
@@ -324,7 +324,7 @@ void FuMorph::ImpAddPolys(::basegfx::B2DPolyPolygon& rSmaller, const ::basegfx::
{
aNewPoly.append(aNewPoint);
}
-
+
rSmaller.append(aNewPoly);
}
}
@@ -335,21 +335,21 @@ void FuMorph::ImpAddPolys(::basegfx::B2DPolyPolygon& rSmaller, const ::basegfx::
void FuMorph::ImpInsertPolygons(List& rPolyPolyList3D, BOOL bAttributeFade,
const SdrObject* pObj1, const SdrObject* pObj2)
{
- Color aStartFillCol;
- Color aEndFillCol;
- Color aStartLineCol;
- Color aEndLineCol;
- long nStartLineWidth = 0;
- long nEndLineWidth = 0;
- SdrPageView* pPageView = mpView->GetSdrPageView();
- SfxItemPool* pPool = pObj1->GetObjectItemPool();
- SfxItemSet aSet1( *pPool,SDRATTR_START,SDRATTR_NOTPERSIST_FIRST-1,EE_ITEMS_START,EE_ITEMS_END,0 );
- SfxItemSet aSet2( aSet1 );
- BOOL bLineColor = FALSE;
- BOOL bFillColor = FALSE;
- BOOL bLineWidth = FALSE;
- BOOL bIgnoreLine = FALSE;
- BOOL bIgnoreFill = FALSE;
+ Color aStartFillCol;
+ Color aEndFillCol;
+ Color aStartLineCol;
+ Color aEndLineCol;
+ long nStartLineWidth = 0;
+ long nEndLineWidth = 0;
+ SdrPageView* pPageView = mpView->GetSdrPageView();
+ SfxItemPool* pPool = pObj1->GetObjectItemPool();
+ SfxItemSet aSet1( *pPool,SDRATTR_START,SDRATTR_NOTPERSIST_FIRST-1,EE_ITEMS_START,EE_ITEMS_END,0 );
+ SfxItemSet aSet2( aSet1 );
+ BOOL bLineColor = FALSE;
+ BOOL bFillColor = FALSE;
+ BOOL bLineWidth = FALSE;
+ BOOL bIgnoreLine = FALSE;
+ BOOL bIgnoreFill = FALSE;
aSet1.Put(pObj1->GetMergedItemSet());
aSet2.Put(pObj2->GetMergedItemSet());
@@ -390,13 +390,13 @@ void FuMorph::ImpInsertPolygons(List& rPolyPolyList3D, BOOL bAttributeFade,
if ( pPageView )
{
- SfxItemSet aSet( aSet1 );
- SdrObjGroup* pObjGroup = new SdrObjGroup;
- SdrObjList* pObjList = pObjGroup->GetSubList();
- const ULONG nCount = rPolyPolyList3D.Count();
- const double fStep = 1. / ( nCount + 1 );
- const double fDelta = nEndLineWidth - nStartLineWidth;
- double fFactor = fStep;
+ SfxItemSet aSet( aSet1 );
+ SdrObjGroup* pObjGroup = new SdrObjGroup;
+ SdrObjList* pObjList = pObjGroup->GetSubList();
+ const ULONG nCount = rPolyPolyList3D.Count();
+ const double fStep = 1. / ( nCount + 1 );
+ const double fDelta = nEndLineWidth - nStartLineWidth;
+ double fFactor = fStep;
aSet.Put( XLineStyleItem( XLINE_SOLID ) );
aSet.Put( XFillStyleItem( XFILL_SOLID ) );
@@ -446,8 +446,8 @@ void FuMorph::ImpInsertPolygons(List& rPolyPolyList3D, BOOL bAttributeFade,
//////////////////////////////////////////////////////////////////////////////
// create single morphed PolyPolygon
//
-::basegfx::B2DPolyPolygon* FuMorph::ImpCreateMorphedPolygon(
- const ::basegfx::B2DPolyPolygon& rPolyPolyStart,
+::basegfx::B2DPolyPolygon* FuMorph::ImpCreateMorphedPolygon(
+ const ::basegfx::B2DPolyPolygon& rPolyPolyStart,
const ::basegfx::B2DPolyPolygon& rPolyPolyEnd,
double fMorphingFactor)
{
@@ -479,7 +479,7 @@ void FuMorph::ImpInsertPolygons(List& rPolyPolyList3D, BOOL bAttributeFade,
// create morphed PolyPolygons
//
sal_Bool FuMorph::ImpMorphPolygons(
- const ::basegfx::B2DPolyPolygon& rPolyPoly1,
+ const ::basegfx::B2DPolyPolygon& rPolyPoly1,
const ::basegfx::B2DPolyPolygon& rPolyPoly2,
const sal_uInt16 nSteps, List& rPolyPolyList3D)
{
diff --git a/sd/source/ui/func/fuoaprms.cxx b/sd/source/ui/func/fuoaprms.cxx
index 142949a462fd..3e7d46a4dcfd 100644
--- a/sd/source/ui/func/fuoaprms.cxx
+++ b/sd/source/ui/func/fuoaprms.cxx
@@ -2,7 +2,7 @@
/*************************************************************************
*
* 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
@@ -55,7 +55,7 @@
#include "View.hxx"
#include "sdabstdlg.hxx"
#include "sdresid.hxx"
-#include <vcl/salbtype.hxx> // FRound
+#include <vcl/salbtype.hxx> // FRound
#include <basegfx/polygon/b2dpolygon.hxx>
using namespace ::com::sun::star;
@@ -75,11 +75,11 @@ TYPEINIT1( FuObjectAnimationParameters, FuPoor );
\************************************************************************/
FuObjectAnimationParameters::FuObjectAnimationParameters (
- ViewShell* pViewSh,
- ::sd::Window* pWin,
- ::sd::View* pView,
+ ViewShell* pViewSh,
+ ::sd::Window* pWin,
+ ::sd::View* pView,
SdDrawDocument* pDoc,
- SfxRequest& rReq)
+ SfxRequest& rReq)
: FuPoor(pViewSh, pWin, pView, pDoc, rReq)
{
}
@@ -96,8 +96,8 @@ void FuObjectAnimationParameters::DoExecute( SfxRequest& rReq )
SfxUndoManager* pUndoMgr = mpViewShell->GetViewFrame()->GetObjectShell()->GetUndoManager();
const SdrMarkList& rMarkList = mpView->GetMarkedObjectList();
- ULONG nCount = rMarkList.GetMarkCount();
- ULONG nObject = 0;
+ ULONG nCount = rMarkList.GetMarkCount();
+ ULONG nObject = 0;
short nAnimationSet = ATTR_MISSING;
short nEffectSet = ATTR_MISSING;
@@ -727,10 +727,10 @@ void FuObjectAnimationParameters::DoExecute( SfxRequest& rReq )
pAction->SetSoundOn(pInfo->mbSoundOn, pInfo->mbSoundOn);
pAction->SetSound(pInfo->maSoundFile, pInfo->maSoundFile);
pAction->SetPlayFull(pInfo->mbPlayFull, pInfo->mbPlayFull);
-// pAction->SetPathObj(pInfo->mpPathObj, pInfo->mpPathObj);
+// pAction->SetPathObj(pInfo->mpPathObj, pInfo->mpPathObj);
pAction->SetClickAction(pInfo->meClickAction, pInfo->meClickAction);
pAction->SetBookmark(pInfo->GetBookmark(), pInfo->GetBookmark());
-// pAction->SetInvisibleInPres(pInfo->mbInvisibleInPresentation, TRUE);
+// pAction->SetInvisibleInPres(pInfo->mbInvisibleInPresentation, TRUE);
pAction->SetVerb(pInfo->mnVerb, pInfo->mnVerb);
pAction->SetSecondEffect(pInfo->meSecondEffect, pInfo->meSecondEffect);
pAction->SetSecondSpeed(pInfo->meSecondSpeed, pInfo->meSecondSpeed);
@@ -738,7 +738,7 @@ void FuObjectAnimationParameters::DoExecute( SfxRequest& rReq )
pAction->SetSecondPlayFull(pInfo->mbSecondPlayFull, pInfo->mbSecondPlayFull);
pUndoGroup->AddAction(pAction);
-// pInfo->mbInvisibleInPresentation = TRUE;
+// pInfo->mbInvisibleInPresentation = TRUE;
}
else
{
@@ -759,8 +759,8 @@ void FuObjectAnimationParameters::DoExecute( SfxRequest& rReq )
pAction->SetPathObj(pInfo->mpPathObj, pPath);
pAction->SetClickAction(pInfo->meClickAction, eClickAction);
pAction->SetBookmark(pInfo->GetBookmark(), aBookmark);
-// pAction->SetInvisibleInPres(pInfo->mbInvisibleInPresentation,
-// pInfo->mbInvisibleInPresentation);
+// pAction->SetInvisibleInPres(pInfo->mbInvisibleInPresentation,
+// pInfo->mbInvisibleInPresentation);
pAction->SetVerb(pInfo->mnVerb, (USHORT)pInfo->GetBookmark().ToInt32() );
pAction->SetSecondEffect(pInfo->meSecondEffect, eSecondEffect);
pAction->SetSecondSpeed(pInfo->meSecondSpeed, eSecondSpeed);
@@ -818,8 +818,8 @@ void FuObjectAnimationParameters::DoExecute( SfxRequest& rReq )
pInfo->mbSecondPlayFull = bSecondPlayFull;
// noch ein paar Spezialitaeten
-// if (eEffect == presentation::AnimationEffect_PATH && nEffectSet == ATTR_SET)
-// pInfo->mSetPath(pPath);
+// if (eEffect == presentation::AnimationEffect_PATH && nEffectSet == ATTR_SET)
+// pInfo->mSetPath(pPath);
if (eClickAction == presentation::ClickAction_VERB)
pInfo->mnVerb = (USHORT)aBookmark.ToInt32();
diff --git a/sd/source/ui/func/fuolbull.cxx b/sd/source/ui/func/fuolbull.cxx
index c6388e788620..ae2113c66a39 100644
--- a/sd/source/ui/func/fuolbull.cxx
+++ b/sd/source/ui/func/fuolbull.cxx
@@ -2,7 +2,7 @@
/*************************************************************************
*
* 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
diff --git a/sd/source/ui/func/fuoltext.cxx b/sd/source/ui/func/fuoltext.cxx
index f3c146184c20..361b38ddee37 100644
--- a/sd/source/ui/func/fuoltext.cxx
+++ b/sd/source/ui/func/fuoltext.cxx
@@ -2,7 +2,7 @@
/*************************************************************************
*
* 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
diff --git a/sd/source/ui/func/fuoutl.cxx b/sd/source/ui/func/fuoutl.cxx
index d1d65291c4c6..30ae5344a316 100644
--- a/sd/source/ui/func/fuoutl.cxx
+++ b/sd/source/ui/func/fuoutl.cxx
@@ -2,7 +2,7 @@
/*************************************************************************
*
* 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
@@ -48,10 +48,10 @@ TYPEINIT1( FuOutline, FuPoor );
\************************************************************************/
FuOutline::FuOutline (
- ViewShell* pViewShell,
- ::sd::Window* pWindow,
+ ViewShell* pViewShell,
+ ::sd::Window* pWindow,
::sd::View* pView,
- SdDrawDocument* pDoc,
+ SdDrawDocument* pDoc,
SfxRequest& rReq)
: FuPoor(pViewShell, pWindow, pView, pDoc, rReq),
pOutlineViewShell (static_cast<OutlineViewShell*>(pViewShell)),
@@ -69,13 +69,13 @@ BOOL FuOutline::Command(const CommandEvent& rCEvt)
{
BOOL bResult = FALSE;
- OutlinerView* pOlView =
+ OutlinerView* pOlView =
static_cast<OutlineView*>(mpView)->GetViewByWindow(mpWindow);
DBG_ASSERT (pOlView, "keine OutlinerView gefunden");
if (pOlView)
{
- pOlView->Command(rCEvt); // liefert leider keinen Returnwert
+ pOlView->Command(rCEvt); // liefert leider keinen Returnwert
bResult = TRUE;
}
return bResult;
diff --git a/sd/source/ui/func/fupage.cxx b/sd/source/ui/func/fupage.cxx
index 9196c2803249..c6881014b14e 100644
--- a/sd/source/ui/func/fupage.cxx
+++ b/sd/source/ui/func/fupage.cxx
@@ -2,7 +2,7 @@
/*************************************************************************
*
* 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
@@ -124,7 +124,7 @@ void mergeItemSetsImpl( SfxItemSet& rTarget, const SfxItemSet& rSource )
FuPage::FuPage( ViewShell* pViewSh, ::sd::Window* pWin, ::sd::View* pView,
SdDrawDocument* pDoc, SfxRequest& rReq )
-: FuPoor(pViewSh, pWin, pView, pDoc, rReq),
+: FuPoor(pViewSh, pWin, pView, pDoc, rReq),
mrReq(rReq),
mpArgs( rReq.GetArgs() ),
mpBackgroundObjUndoAction( 0 ),
@@ -282,10 +282,10 @@ const SfxItemSet* FuPage::ExecuteDialog( Window* pParent )
}
else
{
- if(pStyleSheet
+ if(pStyleSheet
&& XFILL_NONE != ((const XFillStyleItem&)pStyleSheet->GetItemSet().Get(XATTR_FILLSTYLE)).GetValue())
{
- // if the page has no fill style, use the settings from the
+ // if the page has no fill style, use the settings from the
// background stylesheet (if used)
mergeItemSetsImpl(aMergedAttr, pStyleSheet->GetItemSet());
}
@@ -302,11 +302,11 @@ const SfxItemSet* FuPage::ExecuteDialog( Window* pParent )
if( GetSlotID() == SID_SELECT_BACKGROUND )
{
- SvxOpenGraphicDialog aDlg(SdResId(STR_SET_BACKGROUND_PICTURE));
+ SvxOpenGraphicDialog aDlg(SdResId(STR_SET_BACKGROUND_PICTURE));
if( aDlg.Execute() == GRFILTER_OK )
{
- Graphic aGraphic;
+ Graphic aGraphic;
int nError = aDlg.GetGraphic(aGraphic);
if( nError == GRFILTER_OK )
{
@@ -467,7 +467,7 @@ const SfxItemSet* FuPage::ExecuteDialog( Window* pParent )
SdrPage& rUsedMasterPage = mpPage->IsMasterPage() ? *mpPage : mpPage->TRG_GetMasterPage();
OSL_ENSURE(rUsedMasterPage.IsMasterPage(), "No MasterPage (!)");
rUsedMasterPage.getSdrPageProperties().ClearItem();
- OSL_ENSURE(0 != rUsedMasterPage.getSdrPageProperties().GetStyleSheet(),
+ OSL_ENSURE(0 != rUsedMasterPage.getSdrPageProperties().GetStyleSheet(),
"MasterPage without StyleSheet detected (!)");
}
@@ -493,10 +493,10 @@ void FuPage::ApplyItemSet( const SfxItemSet* pArgs )
const SfxPoolItem* pPoolItem;
BOOL bSetPageSizeAndBorder = FALSE;
Size aNewSize(maSize);
- INT32 nLeft = -1, nRight = -1, nUpper = -1, nLower = -1;
- BOOL bScaleAll = TRUE;
+ INT32 nLeft = -1, nRight = -1, nUpper = -1, nLower = -1;
+ BOOL bScaleAll = TRUE;
Orientation eOrientation = mpPage->GetOrientation();
- SdPage* pMasterPage = mpPage->IsMasterPage() ? mpPage : &(SdPage&)(mpPage->TRG_GetMasterPage());
+ SdPage* pMasterPage = mpPage->IsMasterPage() ? mpPage : &(SdPage&)(mpPage->TRG_GetMasterPage());
BOOL bFullSize = pMasterPage->IsBackgroundFullSize();
USHORT nPaperBin = mpPage->GetPaperBin();
diff --git a/sd/source/ui/func/fuparagr.cxx b/sd/source/ui/func/fuparagr.cxx
index e18240c6ca2e..62406e785e07 100644
--- a/sd/source/ui/func/fuparagr.cxx
+++ b/sd/source/ui/func/fuparagr.cxx
@@ -2,7 +2,7 @@
/*************************************************************************
*
* 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
diff --git a/sd/source/ui/func/fupoor.cxx b/sd/source/ui/func/fupoor.cxx
index 7400e477ead7..514c369f0abf 100644
--- a/sd/source/ui/func/fupoor.cxx
+++ b/sd/source/ui/func/fupoor.cxx
@@ -2,7 +2,7 @@
/*************************************************************************
*
* 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
@@ -183,12 +183,12 @@ void FuPoor::ForceScroll(const Point& aPixPos)
if ( !mpView->IsDragHelpLine() && !mpView->IsSetPageOrg() &&
!SlideShow::IsRunning( mpViewShell->GetViewShellBase() ) )
{
-/* Size aSize = mpWindow->GetSizePixel();
+/* Size aSize = mpWindow->GetSizePixel();
short dx = 0, dy = 0;
- if ( aPixPos.X() <= 0 ) dx = -1;
+ if ( aPixPos.X() <= 0 ) dx = -1;
if ( aPixPos.X() >= aSize.Width() ) dx = 1;
- if ( aPixPos.Y() <= 0 ) dy = -1;
+ if ( aPixPos.Y() <= 0 ) dy = -1;
if ( aPixPos.Y() >= aSize.Height() ) dy = 1;
*/
Point aPos = mpWindow->OutputToScreenPixel(aPixPos);
@@ -203,10 +203,10 @@ void FuPoor::ForceScroll(const Point& aPixPos)
{
short dx = 0, dy = 0;
- if ( aPos.X() <= rRect.Left() ) dx = -1;
- if ( aPos.X() >= rRect.Right() ) dx = 1;
- if ( aPos.Y() <= rRect.Top() ) dy = -1;
- if ( aPos.Y() >= rRect.Bottom() ) dy = 1;
+ if ( aPos.X() <= rRect.Left() ) dx = -1;
+ if ( aPos.X() >= rRect.Right() ) dx = 1;
+ if ( aPos.Y() <= rRect.Top() ) dy = -1;
+ if ( aPos.Y() >= rRect.Bottom() ) dy = 1;
if ( dx != 0 || dy != 0 )
{
@@ -233,7 +233,7 @@ void FuPoor::ForceScroll(const Point& aPixPos)
IMPL_LINK_INLINE_START( FuPoor, ScrollHdl, Timer *, EMPTYARG )
{
Point aPnt(mpWindow->GetPointerPosPixel());
-
+
// #95491# use remembered MouseButton state to create correct
// MouseEvents for this artifical MouseMove.
MouseMove(MouseEvent(aPnt, 1, 0, GetMouseButtonCode()));
@@ -266,7 +266,7 @@ BOOL FuPoor::KeyInput(const KeyEvent& rKEvt)
{
if(mpViewShell && mpViewShell->ISA(DrawViewShell))
{
- DrawViewShell* pDrawViewShell =
+ DrawViewShell* pDrawViewShell =
static_cast<DrawViewShell*>(mpViewShell);
SdPage* pActualPage = pDrawViewShell->GetActualPage();
SdrTextObj* pCandidate = 0L;
@@ -284,7 +284,7 @@ BOOL FuPoor::KeyInput(const KeyEvent& rKEvt)
sal_uInt32 nInv(pObj->GetObjInventor());
sal_uInt16 nKnd(pObj->GetObjIdentifier());
- if(SdrInventor == nInv &&
+ if(SdrInventor == nInv &&
(OBJ_TITLETEXT == nKnd || OBJ_OUTLINETEXT == nKnd || OBJ_TEXT == nKnd))
{
pCandidate = (SdrTextObj*)pObj;
@@ -317,7 +317,7 @@ BOOL FuPoor::KeyInput(const KeyEvent& rKEvt)
// #98255# activate OLE object on RETURN for selected object
// #98198# activate text edit on RETURN for selected object
const SdrMarkList& rMarkList = mpView->GetMarkedObjectList();
-
+
if( !mpView->IsTextEdit() && 1 == rMarkList.GetMarkCount() )
{
SdrObject* pObj = rMarkList.GetMark( 0 )->GetMarkedSdrObj();
@@ -370,7 +370,7 @@ BOOL FuPoor::KeyInput(const KeyEvent& rKEvt)
}
}
break;
-
+
case KEY_ESCAPE:
{
bReturn = FuPoor::cancel();
@@ -461,8 +461,8 @@ BOOL FuPoor::KeyInput(const KeyEvent& rKEvt)
case KEY_HOME:
{
- if (!mpView->IsTextEdit()
- && mpViewShell->ISA(DrawViewShell)
+ if (!mpView->IsTextEdit()
+ && mpViewShell->ISA(DrawViewShell)
&& !bSlideShow)
{
// Sprung zu erster Seite
@@ -474,12 +474,12 @@ BOOL FuPoor::KeyInput(const KeyEvent& rKEvt)
case KEY_END:
{
- if (!mpView->IsTextEdit()
- && mpViewShell->ISA(DrawViewShell)
+ if (!mpView->IsTextEdit()
+ && mpViewShell->ISA(DrawViewShell)
&& !bSlideShow)
{
// Sprung zu letzter Seite
- SdPage* pPage =
+ SdPage* pPage =
static_cast<DrawViewShell*>(mpViewShell)->GetActualPage();
static_cast<DrawViewShell*>(mpViewShell)
->SwitchPage(mpDoc->GetSdPageCount(
@@ -493,7 +493,7 @@ BOOL FuPoor::KeyInput(const KeyEvent& rKEvt)
{
if( rKEvt.GetKeyCode().IsMod1() && rKEvt.GetKeyCode().IsMod2() )
break;
-
+
if(mpViewShell->ISA(DrawViewShell) && !bSlideShow)
{
// The page-up key switches layers or pages depending on the
@@ -503,12 +503,12 @@ BOOL FuPoor::KeyInput(const KeyEvent& rKEvt)
// With no modifier pressed we move to the previous
// slide.
mpView->SdrEndTextEdit();
-
+
// Previous page.
bReturn = TRUE;
SdPage* pPage = static_cast<DrawViewShell*>(mpViewShell)->GetActualPage();
USHORT nSdPage = (pPage->GetPageNum() - 1) / 2;
-
+
if (nSdPage > 0)
{
// Switch the page and send events regarding
@@ -547,14 +547,14 @@ BOOL FuPoor::KeyInput(const KeyEvent& rKEvt)
// modifier key.
if ( ! rKEvt.GetKeyCode().GetAllModifier())
{
- // With no modifier pressed we move to the next slide.
+ // With no modifier pressed we move to the next slide.
mpView->SdrEndTextEdit();
-
+
// Next page.
bReturn = TRUE;
SdPage* pPage = static_cast<DrawViewShell*>(mpViewShell)->GetActualPage();
USHORT nSdPage = (pPage->GetPageNum() - 1) / 2;
-
+
if (nSdPage < mpDoc->GetSdPageCount(pPage->GetPageKind()) - 1)
{
// Switch the page and send events regarding
@@ -570,7 +570,7 @@ BOOL FuPoor::KeyInput(const KeyEvent& rKEvt)
}
}
else if (rKEvt.GetKeyCode().IsMod1())
- {
+ {
// With the CONTROL modifier we switch layers.
if (static_cast<DrawViewShell*>(mpViewShell)->IsLayerModeActive())
{
@@ -596,7 +596,7 @@ BOOL FuPoor::KeyInput(const KeyEvent& rKEvt)
// rescue ID of point with focus
sal_uInt32 nPol(pHdl->GetPolyNum());
sal_uInt32 nPnt(pHdl->GetPointNum());
-
+
if(mpView->IsPointMarked(*pHdl))
{
if(rKEvt.GetKeyCode().IsShift())
@@ -613,7 +613,7 @@ BOOL FuPoor::KeyInput(const KeyEvent& rKEvt)
mpView->MarkPoint(*pHdl);
}
-
+
if(0L == rHdlList.GetFocusHdl())
{
// restore point with focus
@@ -622,9 +622,9 @@ BOOL FuPoor::KeyInput(const KeyEvent& rKEvt)
for(sal_uInt32 a(0); !pNewOne && a < rHdlList.GetHdlCount(); a++)
{
SdrHdl* pAct = rHdlList.GetHdl(a);
-
- if(pAct
- && pAct->GetKind() == HDL_POLY
+
+ if(pAct
+ && pAct->GetKind() == HDL_POLY
&& pAct->GetPolyNum() == nPol
&& pAct->GetPointNum() == nPnt)
{
@@ -886,14 +886,14 @@ BOOL FuPoor::KeyInput(const KeyEvent& rKEvt)
// #98533# use common IsSimpleCharInput from
// the EditEngine.
sal_Bool bPrintable(EditEngine::IsSimpleCharInput(rKEvt));
-
+
if(bPrintable)
{
// try to activate textedit mode for the selected object
SfxStringItem aInputString(SID_ATTR_CHAR, String(rKEvt.GetCharCode()));
-
+
mpViewShell->GetViewFrame()->GetDispatcher()->Execute(
- SID_ATTR_CHAR,
+ SID_ATTR_CHAR,
SFX_CALLMODE_ASYNCHRON,
&aInputString,
0L);
@@ -907,10 +907,10 @@ BOOL FuPoor::KeyInput(const KeyEvent& rKEvt)
{
// #99039# test if there is a title object there. If yes, try to
// set it to edit mode and start typing...
- if(mpViewShell->ISA(DrawViewShell)
+ if(mpViewShell->ISA(DrawViewShell)
&& EditEngine::IsSimpleCharInput(rKEvt))
{
- DrawViewShell* pDrawViewShell =
+ DrawViewShell* pDrawViewShell =
static_cast<DrawViewShell*>(mpViewShell);
SdPage* pActualPage = pDrawViewShell->GetActualPage();
SdrTextObj* pCandidate = 0L;
@@ -944,7 +944,7 @@ BOOL FuPoor::KeyInput(const KeyEvent& rKEvt)
SfxStringItem aInputString(SID_ATTR_CHAR, String(rKEvt.GetCharCode()));
mpViewShell->GetViewFrame()->GetDispatcher()->Execute(
- SID_ATTR_CHAR,
+ SID_ATTR_CHAR,
SFX_CALLMODE_ASYNCHRON,
&aInputString,
0L);
@@ -1061,7 +1061,7 @@ IMPL_LINK_INLINE_START( FuPoor, DelayHdl, Timer *, EMPTYARG )
bScrollable = TRUE;
Point aPnt(mpWindow->GetPointerPosPixel());
-
+
// #95491# use remembered MouseButton state to create correct
// MouseEvents for this artifical MouseMove.
MouseMove(MouseEvent(aPnt, 1, 0, GetMouseButtonCode()));
@@ -1082,16 +1082,16 @@ BOOL FuPoor::MouseButtonUp (const MouseEvent& rMEvt)
SetMouseButtonCode(rMEvt.GetButtons());
aDelayToScrollTimer.Stop ();
- return bScrollable =
+ return bScrollable =
bDelayActive = FALSE;
}
-BOOL FuPoor::MouseButtonDown(const MouseEvent& rMEvt)
-{
+BOOL FuPoor::MouseButtonDown(const MouseEvent& rMEvt)
+{
// #95491# remember button state for creation of own MouseEvents
SetMouseButtonCode(rMEvt.GetButtons());
- return FALSE;
+ return FALSE;
}
/*************************************************************************
@@ -1176,13 +1176,13 @@ void FuPoor::ImpForceQuadratic(Rectangle& rRect)
if(rRect.GetWidth() > rRect.GetHeight())
{
rRect = Rectangle(
- Point(rRect.Left() + ((rRect.GetWidth() - rRect.GetHeight()) / 2), rRect.Top()),
+ Point(rRect.Left() + ((rRect.GetWidth() - rRect.GetHeight()) / 2), rRect.Top()),
Size(rRect.GetHeight(), rRect.GetHeight()));
}
else
{
rRect = Rectangle(
- Point(rRect.Left(), rRect.Top() + ((rRect.GetHeight() - rRect.GetWidth()) / 2)),
+ Point(rRect.Left(), rRect.Top() + ((rRect.GetHeight() - rRect.GetWidth()) / 2)),
Size(rRect.GetWidth(), rRect.GetWidth()));
}
}
@@ -1194,7 +1194,7 @@ void FuPoor::SwitchLayer (sal_Int32 nOffset)
{
if(mpViewShell && mpViewShell->ISA(DrawViewShell))
{
- DrawViewShell* pDrawViewShell =
+ DrawViewShell* pDrawViewShell =
static_cast<DrawViewShell*>(mpViewShell);
// Calculate the new index.
diff --git a/sd/source/ui/func/fuprlout.cxx b/sd/source/ui/func/fuprlout.cxx
index 7f6011005939..8da448d42356 100644
--- a/sd/source/ui/func/fuprlout.cxx
+++ b/sd/source/ui/func/fuprlout.cxx
@@ -2,7 +2,7 @@
/*************************************************************************
*
* 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
@@ -75,8 +75,8 @@ SO2_DECL_REF(SvStorage)
TYPEINIT1( FuPresentationLayout, FuPoor );
-#define POOL_BUFFER_SIZE (USHORT)32768
-#define DOCUMENT_BUFFER_SIZE (USHORT)32768
+#define POOL_BUFFER_SIZE (USHORT)32768
+#define DOCUMENT_BUFFER_SIZE (USHORT)32768
#define DOCUMENT_TOKEN (sal_Unicode('#'))
/*************************************************************************
@@ -146,9 +146,9 @@ void FuPresentationLayout::DoExecute( SfxRequest& rReq )
BOOL bCheckMasters = FALSE;
// Dialog aufrufen
- BOOL bLoad = FALSE; // tauchen neue Masterpages auf?
+ BOOL bLoad = FALSE; // tauchen neue Masterpages auf?
String aFile;
-
+
SfxItemSet aSet(mpDoc->GetPool(), ATTR_PRESLAYOUT_START, ATTR_PRESLAYOUT_END);
aSet.Put( SfxBoolItem( ATTR_PRESLAYOUT_LOAD, bLoad));
@@ -156,8 +156,8 @@ void FuPresentationLayout::DoExecute( SfxRequest& rReq )
aSet.Put( SfxBoolItem( ATTR_PRESLAYOUT_CHECK_MASTERS, bCheckMasters ) );
aSet.Put( SfxStringItem( ATTR_PRESLAYOUT_NAME, aOldLayoutName));
-
-
+
+
const SfxItemSet *pArgs = rReq.GetArgs ();
if (pArgs)
@@ -248,7 +248,7 @@ void FuPresentationLayout::DoExecute( SfxRequest& rReq )
{
if (mpViewShell->ISA(DrawViewShell))
{
- ::sd::View* pView =
+ ::sd::View* pView =
static_cast<DrawViewShell*>(mpViewShell)->GetView();
USHORT nPgNum = pSelectedPage->TRG_GetMasterPage().GetPageNum();
@@ -271,7 +271,7 @@ void FuPresentationLayout::DoExecute( SfxRequest& rReq )
// fake a mode change to repaint the page tab bar
if( mpViewShell && mpViewShell->ISA( DrawViewShell ) )
{
- DrawViewShell* pDrawViewSh =
+ DrawViewShell* pDrawViewSh =
static_cast<DrawViewShell*>(mpViewShell);
EditMode eMode = pDrawViewSh->GetEditMode();
BOOL bLayer = pDrawViewSh->IsLayerModeActive();
diff --git a/sd/source/ui/func/fuprobjs.cxx b/sd/source/ui/func/fuprobjs.cxx
index 1e67a409fb40..402bd9cc0324 100644
--- a/sd/source/ui/func/fuprobjs.cxx
+++ b/sd/source/ui/func/fuprobjs.cxx
@@ -2,7 +2,7 @@
/*************************************************************************
*
* 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
@@ -65,7 +65,7 @@ TYPEINIT1( FuPresentationObjects, FuPoor );
FuPresentationObjects::FuPresentationObjects (
ViewShell* pViewSh,
- ::sd::Window* pWin,
+ ::sd::Window* pWin,
::sd::View* pView,
SdDrawDocument* pDoc,
SfxRequest& rReq)
@@ -94,8 +94,8 @@ void FuPresentationObjects::DoExecute( SfxRequest& )
String aLayoutName = (((SfxStringItem&)aSet.Get(SID_STATUS_LAYOUT)).GetValue());
DBG_ASSERT(aLayoutName.Len(), "Layout unbestimmt");
- BOOL bUnique = FALSE;
- sal_Int16 nDepth, nTmp;
+ BOOL bUnique = FALSE;
+ sal_Int16 nDepth, nTmp;
OutlineView* pOlView = static_cast<OutlineView*>(pOutlineViewShell->GetView());
OutlinerView* pOutlinerView = pOlView->GetViewByWindow( (Window*) mpWindow );
::Outliner* pOutl = pOutlinerView->GetOutliner();
@@ -129,7 +129,7 @@ void FuPresentationObjects::DoExecute( SfxRequest& )
String aStyleName = aLayoutName;
aStyleName.AppendAscii( RTL_CONSTASCII_STRINGPARAM( SD_LT_SEPARATOR ) );
USHORT nDlgId = TAB_PRES_LAYOUT_TEMPLATE;
- PresentationObjects ePO;
+ PresentationObjects ePO;
if( bPage )
{
diff --git a/sd/source/ui/func/fuscale.cxx b/sd/source/ui/func/fuscale.cxx
index ab6ac2434d0a..1dca285dcdf2 100644
--- a/sd/source/ui/func/fuscale.cxx
+++ b/sd/source/ui/func/fuscale.cxx
@@ -2,7 +2,7 @@
/*************************************************************************
*
* 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
@@ -65,10 +65,10 @@ TYPEINIT1( FuScale, FuPoor );
\************************************************************************/
FuScale::FuScale (
- ViewShell* pViewSh,
- ::sd::Window* pWin,
+ ViewShell* pViewSh,
+ ::sd::Window* pWin,
::sd::View* pView,
- SdDrawDocument* pDoc,
+ SdDrawDocument* pDoc,
SfxRequest& rReq)
: FuPoor(pViewSh, pWin, pView, pDoc, rReq)
{
@@ -197,7 +197,7 @@ void FuScale::DoExecute( SfxRequest& rReq )
break;
}
}
-
+
delete pZoomItem;
}
else if(mpViewShell && (pArgs->Count () == 1))
diff --git a/sd/source/ui/func/fusearch.cxx b/sd/source/ui/func/fusearch.cxx
index f5e65b8a1e8a..8224e4d8915d 100644
--- a/sd/source/ui/func/fusearch.cxx
+++ b/sd/source/ui/func/fusearch.cxx
@@ -2,7 +2,7 @@
/*************************************************************************
*
* 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
diff --git a/sd/source/ui/func/fusel.cxx b/sd/source/ui/func/fusel.cxx
index 3cbb76adc095..240d96340e19 100644
--- a/sd/source/ui/func/fusel.cxx
+++ b/sd/source/ui/func/fusel.cxx
@@ -2,7 +2,7 @@
/*************************************************************************
*
* 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
diff --git a/sd/source/ui/func/fusldlg.cxx b/sd/source/ui/func/fusldlg.cxx
index 1d7e4cac9c8f..4223ac10ddda 100644
--- a/sd/source/ui/func/fusldlg.cxx
+++ b/sd/source/ui/func/fusldlg.cxx
@@ -2,7 +2,7 @@
/*************************************************************************
*
* 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
@@ -60,11 +60,11 @@ TYPEINIT1( FuSlideShowDlg, FuPoor );
\************************************************************************/
FuSlideShowDlg::FuSlideShowDlg (
- ViewShell* pViewSh,
+ ViewShell* pViewSh,
::sd::Window* pWin,
- ::sd::View* pView,
- SdDrawDocument* pDoc,
- SfxRequest& rReq)
+ ::sd::View* pView,
+ SdDrawDocument* pDoc,
+ SfxRequest& rReq)
: FuPoor( pViewSh, pWin, pView, pDoc, rReq )
{
}
@@ -80,13 +80,13 @@ void FuSlideShowDlg::DoExecute( SfxRequest& )
{
PresentationSettings& rPresentationSettings = mpDoc->getPresentationSettings();
- SfxItemSet aDlgSet( mpDoc->GetPool(), ATTR_PRESENT_START, ATTR_PRESENT_END );
- List aPageNameList;
- const String& rPresPage = rPresentationSettings.maPresPage;
- String aFirstPage;
- String aStandardName( SdResId( STR_PAGE ) );
- SdPage* pPage = NULL;
- long nPage;
+ SfxItemSet aDlgSet( mpDoc->GetPool(), ATTR_PRESENT_START, ATTR_PRESENT_END );
+ List aPageNameList;
+ const String& rPresPage = rPresentationSettings.maPresPage;
+ String aFirstPage;
+ String aStandardName( SdResId( STR_PAGE ) );
+ SdPage* pPage = NULL;
+ long nPage;
for( nPage = mpDoc->GetSdPageCount( PK_STANDARD ) - 1L; nPage >= 0L; nPage-- )
{
@@ -145,9 +145,9 @@ void FuSlideShowDlg::DoExecute( SfxRequest& )
if( pDlg && (pDlg->Execute() == RET_OK) )
{
rtl::OUString aPage;
- long nValue32;
+ long nValue32;
sal_Bool bValue;
- bool bValuesChanged = FALSE;
+ bool bValuesChanged = FALSE;
pDlg->GetAttr( aDlgSet );
diff --git a/sd/source/ui/func/fusnapln.cxx b/sd/source/ui/func/fusnapln.cxx
index dbd29cf755af..72356caf7e96 100644
--- a/sd/source/ui/func/fusnapln.cxx
+++ b/sd/source/ui/func/fusnapln.cxx
@@ -2,7 +2,7 @@
/*************************************************************************
*
* 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
@@ -75,8 +75,8 @@ void FuSnapLine::DoExecute( SfxRequest& rReq )
{
const SfxItemSet* pArgs = rReq.GetArgs();
SdrPageView* pPV = 0;
- USHORT nHelpLine = 0;
- BOOL bCreateNew = TRUE;
+ USHORT nHelpLine = 0;
+ BOOL bCreateNew = TRUE;
// Get index of snap line or snap point from the request.
SFX_REQUEST_ARG (rReq, pHelpLineIndex, SfxUInt32Item, ID_VAL_INDEX, FALSE);
@@ -86,19 +86,19 @@ void FuSnapLine::DoExecute( SfxRequest& rReq )
// Reset the argument pointer to trigger the display of the dialog.
pArgs = NULL;
}
-
+
if ( !pArgs )
{
SfxItemSet aNewAttr(mpViewShell->GetPool(), ATTR_SNAPLINE_START, ATTR_SNAPLINE_END);
bool bLineExist (false);
pPV = mpView->GetSdrPageView();
Point aLinePos;
-
+
if (pHelpLineIndex == NULL)
{
// The index of the snap line is not provided as argument to the
// request. Determine it from the mouse position.
-
+
aLinePos = static_cast<DrawViewShell*>(mpViewShell)->GetMousePos();
static_cast<DrawViewShell*>(mpViewShell)->SetMousePosFreezed( FALSE );
@@ -194,9 +194,9 @@ void FuSnapLine::DoExecute( SfxRequest& rReq )
switch ( (SnapKind) ((const SfxAllEnumItem&)
pArgs->Get(ATTR_SNAPLINE_KIND)).GetValue() )
{
- case SK_HORIZONTAL : eKind = SDRHELPLINE_HORIZONTAL; break;
- case SK_VERTICAL : eKind = SDRHELPLINE_VERTICAL; break;
- default : eKind = SDRHELPLINE_POINT; break;
+ case SK_HORIZONTAL : eKind = SDRHELPLINE_HORIZONTAL; break;
+ case SK_VERTICAL : eKind = SDRHELPLINE_VERTICAL; break;
+ default : eKind = SDRHELPLINE_POINT; break;
}
pPV->InsertHelpLine(SdrHelpLine(eKind, aHlpPos));
}
diff --git a/sd/source/ui/func/fusumry.cxx b/sd/source/ui/func/fusumry.cxx
index ace7e51524b2..48e6489a6ef8 100644
--- a/sd/source/ui/func/fusumry.cxx
+++ b/sd/source/ui/func/fusumry.cxx
@@ -2,7 +2,7 @@
/*************************************************************************
*
* 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
@@ -61,10 +61,10 @@ TYPEINIT1( FuSummaryPage, FuPoor );
|*
\************************************************************************/
FuSummaryPage::FuSummaryPage (
- ViewShell* pViewSh,
- ::sd::Window* pWin,
+ ViewShell* pViewSh,
+ ::sd::Window* pWin,
::sd::View* pView,
- SdDrawDocument* pDoc,
+ SdDrawDocument* pDoc,
SfxRequest& rReq)
: FuPoor(pViewSh, pWin, pView, pDoc, rReq)
{
diff --git a/sd/source/ui/func/futempl.cxx b/sd/source/ui/func/futempl.cxx
index 5ade46f9a8a3..35ffa85d3fc2 100644
--- a/sd/source/ui/func/futempl.cxx
+++ b/sd/source/ui/func/futempl.cxx
@@ -2,7 +2,7 @@
/*************************************************************************
*
* 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
@@ -247,14 +247,14 @@ void FuTemplate::DoExecute( SfxRequest& rReq )
String aStr;
if( // if the object had no style sheet, allow all
- !pOldStyleSheet ||
-
+ !pOldStyleSheet ||
+
// allow if old and new style sheet has same family
pStyleSheet->GetFamily() == pOldStyleSheet->GetFamily() ||
-
+
// allow if old was background objects and new is graphics
pStyleSheet->GetFamily() == (SD_STYLE_FAMILY_GRAPHICS && pOldStyleSheet->GetHelpId( aStr ) == HID_PSEUDOSHEET_BACKGROUNDOBJECTS) ||
-
+
// allow if old was presentation and we are a drawing document
(pOldStyleSheet->GetFamily() == SD_STYLE_FAMILY_MASTERPAGE && mpDoc->GetDocumentType() == DOCUMENT_TYPE_DRAW) )
{
diff --git a/sd/source/ui/func/futext.cxx b/sd/source/ui/func/futext.cxx
index ae617a2f218d..0b77cab868d1 100644
--- a/sd/source/ui/func/futext.cxx
+++ b/sd/source/ui/func/futext.cxx
@@ -2,7 +2,7 @@
/*************************************************************************
*
* 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
@@ -117,7 +117,7 @@ static USHORT SidArray[] = {
SID_SET_SUPER_SCRIPT, // 10294
SID_SET_SUB_SCRIPT, // 10295
SID_HYPERLINK_GETLINK, // 10361
- SID_CHARMAP, // 10503
+ SID_CHARMAP, // 10503
SID_TEXTDIRECTION_LEFT_TO_RIGHT, // 10907
SID_TEXTDIRECTION_TOP_TO_BOTTOM, // 10908
SID_ATTR_PARA_LEFT_TO_RIGHT, // 10950
@@ -138,7 +138,7 @@ static BOOL bTestText = 0;
|*
\************************************************************************/
-FuText::FuText( ViewShell* pViewSh, ::sd::Window* pWin, ::sd::View* pView, SdDrawDocument* pDoc, SfxRequest& rReq )
+FuText::FuText( ViewShell* pViewSh, ::sd::Window* pWin, ::sd::View* pView, SdDrawDocument* pDoc, SfxRequest& rReq )
: FuConstruct(pViewSh, pWin, pView, pDoc, rReq)
, bFirstObjCreated(FALSE)
, rRequest (rReq)
@@ -407,10 +407,10 @@ BOOL FuText::MouseButtonDown(const MouseEvent& rMEvt)
// this caused SdrEndTextEdit() to be called also when not in text editing and
// this does not make sense and caused troubles. (see issue 112855)
-// ::Outliner* pOutl = mpView->GetTextEditOutliner();
-//
-// if (mxTextObj.is() && (mxTextObj->GetOutlinerParaObject() ||
-// (pOutl && pOutl->GetText(pOutl->GetParagraph( 0 )).Len() != 0)))
+// ::Outliner* pOutl = mpView->GetTextEditOutliner();
+//
+// if (mxTextObj.is() && (mxTextObj->GetOutlinerParaObject() ||
+// (pOutl && pOutl->GetText(pOutl->GetParagraph( 0 )).Len() != 0)))
if( mpView->IsTextEdit() )
{
mpView->SdrEndTextEdit();
@@ -1006,8 +1006,8 @@ BOOL FuText::KeyInput(const KeyEvent& rKEvt)
mpViewShell->GetViewFrame()->GetBindings().Invalidate( SidArray );
-// if ( pTextObj )
-// pTextObj->SetEmptyPresObj(FALSE);
+// if ( pTextObj )
+// pTextObj->SetEmptyPresObj(FALSE);
}
else if (aKeyCode == KEY_ESCAPE)
{
@@ -1412,7 +1412,7 @@ void FuText::DoubleClick(const MouseEvent& )
*/
SdrObject* FuText::CreateDefaultObject(const sal_uInt16 nID, const Rectangle& rRectangle)
{
- // case SID_TEXTEDIT: // BASIC ???
+ // case SID_TEXTEDIT: // BASIC ???
// case SID_ATTR_CHAR:
// case SID_ATTR_CHAR_VERTICAL:
// case SID_TEXT_FITTOSIZE:
@@ -1501,7 +1501,7 @@ void FuText::ChangeFontSize( bool bGrow, OutlinerView* pOLV, const FontList* pFo
}
else
{
-// SdDrawDocument* pDoc = pView->GetDoc();
+// SdDrawDocument* pDoc = pView->GetDoc();
const SdrMarkList& rMarkList = pView->GetMarkedObjectList();
for( sal_uInt32 nMark = 0; nMark < rMarkList.GetMarkCount(); nMark++ )
@@ -1543,7 +1543,7 @@ void FuText::ChangeFontSize( bool bGrow, OutlinerView* pOLV, const FontList* pFo
pTextObj->SetObjectItemNoBroadcast( aShapeSet.Get( EE_CHAR_FONTHEIGHT_CTL ) );
}
}
- }
+ }
}
}
diff --git a/sd/source/ui/func/futhes.cxx b/sd/source/ui/func/futhes.cxx
index 7705a68b6930..82e172e8496f 100644
--- a/sd/source/ui/func/futhes.cxx
+++ b/sd/source/ui/func/futhes.cxx
@@ -2,7 +2,7 @@
/*************************************************************************
*
* 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
diff --git a/sd/source/ui/func/futransf.cxx b/sd/source/ui/func/futransf.cxx
index 58f88594dbda..f3cde6852b89 100644
--- a/sd/source/ui/func/futransf.cxx
+++ b/sd/source/ui/func/futransf.cxx
@@ -2,7 +2,7 @@
/*************************************************************************
*
* 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
diff --git a/sd/source/ui/func/futxtatt.cxx b/sd/source/ui/func/futxtatt.cxx
index d49825760570..8a1c9cd44413 100644
--- a/sd/source/ui/func/futxtatt.cxx
+++ b/sd/source/ui/func/futxtatt.cxx
@@ -2,7 +2,7 @@
/*************************************************************************
*
* 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
@@ -51,10 +51,10 @@ TYPEINIT1( FuTextAttrDlg, FuPoor );
\************************************************************************/
FuTextAttrDlg::FuTextAttrDlg (
- ViewShell* pViewSh,
- ::sd::Window* pWin,
+ ViewShell* pViewSh,
+ ::sd::Window* pWin,
::sd::View* pView,
- SdDrawDocument* pDoc,
+ SdDrawDocument* pDoc,
SfxRequest& rReq)
: FuPoor(pViewSh, pWin, pView, pDoc, rReq)
{
diff --git a/sd/source/ui/func/fuvect.cxx b/sd/source/ui/func/fuvect.cxx
index be46ab48d72b..0be4b7970936 100644
--- a/sd/source/ui/func/fuvect.cxx
+++ b/sd/source/ui/func/fuvect.cxx
@@ -2,7 +2,7 @@
/*************************************************************************
*
* 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
@@ -57,10 +57,10 @@ TYPEINIT1( FuVectorize, FuPoor );
\************************************************************************/
FuVectorize::FuVectorize (
- ViewShell* pViewSh,
- ::sd::Window* pWin,
+ ViewShell* pViewSh,
+ ::sd::Window* pWin,
::sd::View* pView,
- SdDrawDocument* pDoc,
+ SdDrawDocument* pDoc,
SfxRequest& rReq)
: FuPoor (pViewSh, pWin, pView, pDoc, rReq)
{
@@ -87,13 +87,13 @@ void FuVectorize::DoExecute( SfxRequest& )
AbstractSdVectorizeDlg* pDlg = pFact ? pFact->CreateSdVectorizeDlg( mpWindow, ( (SdrGrafObj*) pObj )->GetGraphic().GetBitmap(), mpDocSh ) : 0;
if( pDlg && pDlg->Execute() == RET_OK )
{
- const GDIMetaFile& rMtf = pDlg->GetGDIMetaFile();
- SdrPageView* pPageView = mpView->GetSdrPageView();
+ const GDIMetaFile& rMtf = pDlg->GetGDIMetaFile();
+ SdrPageView* pPageView = mpView->GetSdrPageView();
if( pPageView && rMtf.GetActionCount() )
{
- SdrGrafObj* pVectObj = (SdrGrafObj*) pObj->Clone();
- String aStr( mpView->GetDescriptionOfMarkedObjects() );
+ SdrGrafObj* pVectObj = (SdrGrafObj*) pObj->Clone();
+ String aStr( mpView->GetDescriptionOfMarkedObjects() );
aStr.Append( sal_Unicode(' ') );
aStr.Append( String( SdResId( STR_UNDO_VECTORIZE ) ) );
diff --git a/sd/source/ui/func/fuzoom.cxx b/sd/source/ui/func/fuzoom.cxx
index 5160c641e387..fe3e2fc13988 100644
--- a/sd/source/ui/func/fuzoom.cxx
+++ b/sd/source/ui/func/fuzoom.cxx
@@ -2,7 +2,7 @@
/*************************************************************************
*
* 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
@@ -65,8 +65,8 @@ FuZoom::FuZoom(
ViewShell* pViewSh,
::sd::Window* pWin,
::sd::View* pView,
- SdDrawDocument* pDoc,
- SfxRequest& rReq)
+ SdDrawDocument* pDoc,
+ SfxRequest& rReq)
: FuPoor(pViewSh, pWin, pView, pDoc, rReq),
bVisible(FALSE),
bStartDrag(FALSE)
diff --git a/sd/source/ui/func/sdundo.cxx b/sd/source/ui/func/sdundo.cxx
index ab9e3c6345b7..70024e69ee05 100644
--- a/sd/source/ui/func/sdundo.cxx
+++ b/sd/source/ui/func/sdundo.cxx
@@ -2,7 +2,7 @@
/*************************************************************************
*
* 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
diff --git a/sd/source/ui/func/sdundogr.cxx b/sd/source/ui/func/sdundogr.cxx
index 6d3550965a7c..427c2b0571f1 100644
--- a/sd/source/ui/func/sdundogr.cxx
+++ b/sd/source/ui/func/sdundogr.cxx
@@ -2,7 +2,7 @@
/*************************************************************************
*
* 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
@@ -64,14 +64,14 @@ BOOL SdUndoGroup::Merge( SfxUndoAction* pNextAction )
if( pNextAction && pNextAction->ISA( SdUndoAction ) )
{
SdUndoAction* pClone = static_cast< SdUndoAction* >( pNextAction )->Clone();
-
+
if( pClone )
{
AddAction( pClone );
bRet = TRUE;
}
}
-
+
return bRet;
}
diff --git a/sd/source/ui/func/smarttag.cxx b/sd/source/ui/func/smarttag.cxx
index 7743bbec6f10..cf3ff21b5526 100644
--- a/sd/source/ui/func/smarttag.cxx
+++ b/sd/source/ui/func/smarttag.cxx
@@ -2,7 +2,7 @@
/*************************************************************************
*
* 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
@@ -285,8 +285,8 @@ bool SmartTagSet::KeyInput( const KeyEvent& rKEvt )
return true;
}
}
-
-
+
+
return false;
}
@@ -336,7 +336,7 @@ bool SmartTagSet::Command( const CommandEvent& rCEvt )
{
if( mxSelectedTag.is() )
return mxSelectedTag->Command( rCEvt );
-
+
}
return false;
@@ -405,7 +405,7 @@ ULONG SmartTagSet::GetMarkedPointCount() const
BOOL SmartTagSet::IsPointMarkable(const SdrHdl& rHdl) const
{
const SmartHdl* pSmartHdl = dynamic_cast< const SmartHdl* >( &rHdl );
-
+
return pSmartHdl && pSmartHdl->isMarkable();
}
@@ -451,7 +451,7 @@ SmartHdl::SmartHdl( const SmartTagReference& xTag, const Point& rPnt, SdrHdlKind
: SdrHdl( rPnt, eNewKind )
, mxTag( xTag )
{
-}
+}
// --------------------------------------------------------------------
diff --git a/sd/source/ui/func/undoback.cxx b/sd/source/ui/func/undoback.cxx
index b09ace0712d6..e5bc6ec5521b 100644
--- a/sd/source/ui/func/undoback.cxx
+++ b/sd/source/ui/func/undoback.cxx
@@ -2,7 +2,7 @@
/*************************************************************************
*
* 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
@@ -43,10 +43,10 @@ TYPEINIT1( SdBackgroundObjUndoAction, SdUndoAction );
// -----------------------------------------------------------------------------
-SdBackgroundObjUndoAction::SdBackgroundObjUndoAction(
- SdDrawDocument& rDoc,
+SdBackgroundObjUndoAction::SdBackgroundObjUndoAction(
+ SdDrawDocument& rDoc,
SdPage& rPage,
- const SfxItemSet& rItenSet)
+ const SfxItemSet& rItenSet)
: SdUndoAction(&rDoc),
mrPage(rPage),
mpItemSet(new SfxItemSet(rItenSet))
diff --git a/sd/source/ui/func/undoheaderfooter.cxx b/sd/source/ui/func/undoheaderfooter.cxx
index dd3973085c12..f1b200fbfb3c 100644
--- a/sd/source/ui/func/undoheaderfooter.cxx
+++ b/sd/source/ui/func/undoheaderfooter.cxx
@@ -2,7 +2,7 @@
/*************************************************************************
*
* 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
@@ -40,8 +40,8 @@
TYPEINIT1(SdHeaderFooterUndoAction, SdUndoAction);
-SdHeaderFooterUndoAction::SdHeaderFooterUndoAction( SdDrawDocument* pDoc, SdPage* pPage, const sd::HeaderFooterSettings& rNewSettings )
-: SdUndoAction(pDoc),
+SdHeaderFooterUndoAction::SdHeaderFooterUndoAction( SdDrawDocument* pDoc, SdPage* pPage, const sd::HeaderFooterSettings& rNewSettings )
+: SdUndoAction(pDoc),
mpPage(pPage),
maOldSettings(pPage->getHeaderFooterSettings()),
maNewSettings(rNewSettings)
diff --git a/sd/source/ui/func/undolayer.cxx b/sd/source/ui/func/undolayer.cxx
index 563005021e4d..3c021d1304cd 100644
--- a/sd/source/ui/func/undolayer.cxx
+++ b/sd/source/ui/func/undolayer.cxx
@@ -2,7 +2,7 @@
/*************************************************************************
*
* 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
@@ -39,11 +39,11 @@
TYPEINIT1(SdLayerModifyUndoAction, SdUndoAction);
-SdLayerModifyUndoAction::SdLayerModifyUndoAction(
+SdLayerModifyUndoAction::SdLayerModifyUndoAction(
SdDrawDocument* _pDoc, SdrLayer* pLayer,
const String& rOldLayerName, const String& rOldLayerTitle, const String& rOldLayerDesc, bool bOldIsVisible, bool bOldIsLocked, bool bOldIsPrintable,
const String& rNewLayerName, const String& rNewLayerTitle, const String& rNewLayerDesc, bool bNewIsVisible, bool bNewIsLocked, bool bNewIsPrintable )
-: SdUndoAction( _pDoc ),
+: SdUndoAction( _pDoc ),
mpLayer( pLayer ),
maOldLayerName( rOldLayerName ),
maOldLayerTitle( rOldLayerTitle ),
@@ -67,7 +67,7 @@ void SdLayerModifyUndoAction::Undo()
::sd::DrawDocShell* mpDocSh = mpDoc->GetDocSh();
if( mpDocSh )
{
- ::sd::DrawViewShell* pDrViewSh =
+ ::sd::DrawViewShell* pDrViewSh =
PTR_CAST(::sd::DrawViewShell, mpDocSh->GetViewShell() );
if( pDrViewSh )
{
@@ -81,7 +81,7 @@ void SdLayerModifyUndoAction::Redo()
::sd::DrawDocShell* mpDocSh = mpDoc->GetDocSh();
if( mpDocSh )
{
- ::sd::DrawViewShell* pDrViewSh =
+ ::sd::DrawViewShell* pDrViewSh =
PTR_CAST(::sd::DrawViewShell, mpDocSh->GetViewShell() );
if( pDrViewSh )
{
diff --git a/sd/source/ui/func/undopage.cxx b/sd/source/ui/func/undopage.cxx
index ad3c47c0f24f..36355309daf9 100644
--- a/sd/source/ui/func/undopage.cxx
+++ b/sd/source/ui/func/undopage.cxx
@@ -2,7 +2,7 @@
/*************************************************************************
*
* 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
diff --git a/sd/source/ui/func/unmovss.cxx b/sd/source/ui/func/unmovss.cxx
index c7043cbe3804..a70484e59cd2 100644
--- a/sd/source/ui/func/unmovss.cxx
+++ b/sd/source/ui/func/unmovss.cxx
@@ -2,7 +2,7 @@
/*************************************************************************
*
* 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
@@ -62,7 +62,7 @@ void SdMoveStyleSheetsUndoAction::Undo()
if (mbMySheets)
{
- // the styles have to be inserted in the pool
+ // the styles have to be inserted in the pool
// first insert all styles to the pool
for(SdStyleSheetVector::iterator iter = maStyles.begin(); iter != maStyles.end(); iter++ )
diff --git a/sd/source/ui/func/unoaprms.cxx b/sd/source/ui/func/unoaprms.cxx
index 799f49f06267..a063d84e25fe 100644
--- a/sd/source/ui/func/unoaprms.cxx
+++ b/sd/source/ui/func/unoaprms.cxx
@@ -2,7 +2,7 @@
/*************************************************************************
*
* 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
@@ -49,26 +49,26 @@ void SdAnimationPrmsUndoAction::Undo()
// keine neu Info erzeugt: Daten restaurieren
if (!bInfoCreated)
{
- SdDrawDocument* pDoc = (SdDrawDocument*)pObject->GetModel();
+ SdDrawDocument* pDoc = (SdDrawDocument*)pObject->GetModel();
if( pDoc )
{
SdAnimationInfo* pInfo = pDoc->GetAnimationInfo( pObject );
// So nicht...
//SdAnimationInfo* pInfo = (SdAnimationInfo*)pObject->GetUserData(0);
- pInfo->mbActive = bOldActive;
+ pInfo->mbActive = bOldActive;
pInfo->meEffect = eOldEffect;
pInfo->meTextEffect = eOldTextEffect;
- pInfo->meSpeed = eOldSpeed;
+ pInfo->meSpeed = eOldSpeed;
pInfo->mbDimPrevious = bOldDimPrevious;
pInfo->maDimColor = aOldDimColor;
pInfo->mbDimHide = bOldDimHide;
pInfo->mbSoundOn = bOldSoundOn;
pInfo->maSoundFile = aOldSoundFile;
pInfo->mbPlayFull = bOldPlayFull;
-// pInfo->mSetPath(pOldPathObj);
+// pInfo->mSetPath(pOldPathObj);
pInfo->meClickAction = eOldClickAction;
pInfo->SetBookmark( aOldBookmark );
-// pInfo->mbInvisibleInPresentation = bOldInvisibleInPres;
+// pInfo->mbInvisibleInPresentation = bOldInvisibleInPres;
pInfo->mnVerb = nOldVerb;
pInfo->mnPresOrder = nOldPresOrder;
@@ -111,10 +111,10 @@ void SdAnimationPrmsUndoAction::Redo()
pInfo->mbSoundOn = bNewSoundOn;
pInfo->maSoundFile = aNewSoundFile;
pInfo->mbPlayFull = bNewPlayFull;
-// pInfo->mSetPath(pNewPathObj);
+// pInfo->mSetPath(pNewPathObj);
pInfo->meClickAction = eNewClickAction;
pInfo->SetBookmark( aNewBookmark );
-// pInfo->mbInvisibleInPresentation = bNewInvisibleInPres;
+// pInfo->mbInvisibleInPresentation = bNewInvisibleInPres;
pInfo->mnVerb = nNewVerb;
pInfo->mnPresOrder = nNewPresOrder;
diff --git a/sd/source/ui/func/unprlout.cxx b/sd/source/ui/func/unprlout.cxx
index 059fc04751e2..4904780f5b74 100644
--- a/sd/source/ui/func/unprlout.cxx
+++ b/sd/source/ui/func/unprlout.cxx
@@ -2,7 +2,7 @@
/*************************************************************************
*
* 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
diff --git a/sd/source/ui/inc/3dchld.hxx b/sd/source/ui/inc/3dchld.hxx
index 7bb61e3989c6..e39877dad440 100644
--- a/sd/source/ui/inc/3dchld.hxx
+++ b/sd/source/ui/inc/3dchld.hxx
@@ -2,7 +2,7 @@
/*************************************************************************
*
* 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
@@ -47,6 +47,6 @@ class Sd3DChildWindow : public SfxChildWindow
SFX_DECL_CHILDWINDOW(Sd3DChildWindow);
};
-#endif // _SD_3DCHLD_HXX
+#endif // _SD_3DCHLD_HXX
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/sd/source/ui/inc/AccessibleDocumentViewBase.hxx b/sd/source/ui/inc/AccessibleDocumentViewBase.hxx
index 53c51b749ac5..da8b8d12dddf 100644
--- a/sd/source/ui/inc/AccessibleDocumentViewBase.hxx
+++ b/sd/source/ui/inc/AccessibleDocumentViewBase.hxx
@@ -2,7 +2,7 @@
/*************************************************************************
*
* 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
@@ -73,18 +73,18 @@ namespace accessibility {
<p>This class implements three kinds of listeners:
<ol><li>The property change listener is not used directly but exists as
- convenience for derived classes. May be moved to those classes
+ convenience for derived classes. May be moved to those classes
instead.</li>
<li>As window listener it waits for changes of the window geometry and
forwards those as view forwarder changes.</li>
<li>As focus listener it keeps track of the focus to give this class and
derived classes the oportunity to set and remove the focus to/from
shapes.</li>
- </ol>
+ </ol>
</p>
*/
class AccessibleDocumentViewBase
- : public AccessibleContextBase,
+ : public AccessibleContextBase,
public AccessibleComponentBase,
public AccessibleSelectionBase,
public IAccessibleViewForwarderListener,
@@ -115,7 +115,7 @@ public:
const ::com::sun::star::uno::Reference<
::com::sun::star::accessibility::XAccessible>& rxParent);
- virtual ~AccessibleDocumentViewBase (void);
+ virtual ~AccessibleDocumentViewBase (void);
/** Initialize a new object. Call this method directly after creating a
new object. It finished the initialization begun in the constructor
@@ -135,7 +135,7 @@ public:
windowResized... methods it will be sufficient in most cases just to
overload this method.
*/
- virtual void ViewForwarderChanged (ChangeType aChangeType,
+ virtual void ViewForwarderChanged (ChangeType aChangeType,
const IAccessibleViewForwarder* pViewForwarder);
//===== XAccessibleContext ==============================================
@@ -164,42 +164,42 @@ public:
//===== XAccessibleComponent ============================================
- virtual ::com::sun::star::uno::Reference<
- ::com::sun::star::accessibility::XAccessible > SAL_CALL
- getAccessibleAtPoint (const ::com::sun::star::awt::Point& aPoint)
+ virtual ::com::sun::star::uno::Reference<
+ ::com::sun::star::accessibility::XAccessible > SAL_CALL
+ getAccessibleAtPoint (const ::com::sun::star::awt::Point& aPoint)
throw (::com::sun::star::uno::RuntimeException);
virtual ::com::sun::star::awt::Rectangle SAL_CALL getBounds (void)
throw (::com::sun::star::uno::RuntimeException);
- virtual ::com::sun::star::awt::Point SAL_CALL getLocation (void)
+ virtual ::com::sun::star::awt::Point SAL_CALL getLocation (void)
throw (::com::sun::star::uno::RuntimeException);
- virtual ::com::sun::star::awt::Point SAL_CALL getLocationOnScreen (void)
+ virtual ::com::sun::star::awt::Point SAL_CALL getLocationOnScreen (void)
throw (::com::sun::star::uno::RuntimeException);
- virtual ::com::sun::star::awt::Size SAL_CALL getSize (void)
+ virtual ::com::sun::star::awt::Size SAL_CALL getSize (void)
throw (::com::sun::star::uno::RuntimeException);
//===== XInterface ======================================================
-
+
virtual com::sun::star::uno::Any SAL_CALL
queryInterface (const com::sun::star::uno::Type & rType)
throw (::com::sun::star::uno::RuntimeException);
-
+
virtual void SAL_CALL
- acquire (void)
+ acquire (void)
throw ();
-
+
virtual void SAL_CALL
release (void)
throw ();
-
-
+
+
//===== XServiceInfo ====================================================
-
- /** Returns an identifier for the implementation of this object.
+
+ /** Returns an identifier for the implementation of this object.
*/
virtual ::rtl::OUString SAL_CALL
getImplementationName (void)
@@ -211,7 +211,7 @@ public:
//===== XTypeProvider ===================================================
-
+
virtual ::com::sun::star::uno::Sequence< ::com::sun::star::uno::Type> SAL_CALL
getTypes (void)
throw (::com::sun::star::uno::RuntimeException);
@@ -233,48 +233,48 @@ public:
//===== XWindowListener =================================================
- virtual void SAL_CALL
- windowResized (const ::com::sun::star::awt::WindowEvent& e)
+ virtual void SAL_CALL
+ windowResized (const ::com::sun::star::awt::WindowEvent& e)
throw (::com::sun::star::uno::RuntimeException);
- virtual void SAL_CALL
- windowMoved (const ::com::sun::star::awt::WindowEvent& e)
+ virtual void SAL_CALL
+ windowMoved (const ::com::sun::star::awt::WindowEvent& e)
throw (::com::sun::star::uno::RuntimeException);
- virtual void SAL_CALL
- windowShown (const ::com::sun::star::lang::EventObject& e)
+ virtual void SAL_CALL
+ windowShown (const ::com::sun::star::lang::EventObject& e)
throw (::com::sun::star::uno::RuntimeException);
- virtual void SAL_CALL
- windowHidden (const ::com::sun::star::lang::EventObject& e)
+ virtual void SAL_CALL
+ windowHidden (const ::com::sun::star::lang::EventObject& e)
throw (::com::sun::star::uno::RuntimeException);
//===== XFocusListener =================================================
virtual void SAL_CALL focusGained (const ::com::sun::star::awt::FocusEvent& e)
- throw (::com::sun::star::uno::RuntimeException);
+ throw (::com::sun::star::uno::RuntimeException);
virtual void SAL_CALL focusLost (const ::com::sun::star::awt::FocusEvent& e)
- throw (::com::sun::star::uno::RuntimeException);
+ throw (::com::sun::star::uno::RuntimeException);
private:
// return the member maMutex;
- virtual ::osl::Mutex&
+ virtual ::osl::Mutex&
implGetMutex();
-
+
// return ourself as context in default case
- virtual ::com::sun::star::uno::Reference< ::com::sun::star::accessibility::XAccessibleContext >
- implGetAccessibleContext()
+ virtual ::com::sun::star::uno::Reference< ::com::sun::star::accessibility::XAccessibleContext >
+ implGetAccessibleContext()
throw ( ::com::sun::star::uno::RuntimeException );
// return sal_False in default case
- virtual sal_Bool
- implIsSelected( sal_Int32 nAccessibleChildIndex )
+ virtual sal_Bool
+ implIsSelected( sal_Int32 nAccessibleChildIndex )
throw (::com::sun::star::uno::RuntimeException);
// return nothing in default case
virtual void
- implSelect( sal_Int32 nAccessibleChildIndex, sal_Bool bSelect )
+ implSelect( sal_Int32 nAccessibleChildIndex, sal_Bool bSelect )
throw (::com::sun::star::lang::IndexOutOfBoundsException, ::com::sun::star::uno::RuntimeException);
protected:
@@ -290,7 +290,7 @@ protected:
mxController;
/// Model of the document.
- ::com::sun::star::uno::Reference < ::com::sun::star::frame::XModel>
+ ::com::sun::star::uno::Reference < ::com::sun::star::frame::XModel>
mxModel;
// Bundle of information that is passed down the shape tree.
@@ -303,7 +303,7 @@ protected:
<member>SetAccessibleOLEObject</member> method.
*/
::com::sun::star::uno::Reference <
- ::com::sun::star::accessibility::XAccessible>
+ ::com::sun::star::accessibility::XAccessible>
mxAccessibleOLEObject;
Link maWindowLink;
@@ -312,7 +312,7 @@ protected:
// disposing.
virtual void SAL_CALL disposing (void);
- /** Create a name string. The current name is not modified and,
+ /** Create a name string. The current name is not modified and,
therefore, no events are send. This method is usually called once
by the <member>getAccessibleName</member> method of the base class.
@return
@@ -322,7 +322,7 @@ protected:
CreateAccessibleName ()
throw (::com::sun::star::uno::RuntimeException);
- /** Create a description string. The current description is not
+ /** Create a description string. The current description is not
modified and, therefore, no events are send. This method is usually
called once by the <member>getAccessibleDescription</member> method
of the base class.
@@ -337,7 +337,7 @@ protected:
document has been activated. Can be used to send FOCUSED state
changes for the currently selected element.
- Note: Currently used as a substitute for FocusGained. Should be
+ Note: Currently used as a substitute for FocusGained. Should be
renamed in the future.
*/
virtual void Activated (void);
@@ -346,7 +346,7 @@ protected:
this document has been deactivated. Can be used to send FOCUSED
state changes for the currently selected element.
- Note: Currently used as a substitute for FocusLost. Should be
+ Note: Currently used as a substitute for FocusLost. Should be
renamed in the future.
*/
virtual void Deactivated (void);
diff --git a/sd/source/ui/inc/AccessibleDrawDocumentView.hxx b/sd/source/ui/inc/AccessibleDrawDocumentView.hxx
index 2fdacb0601e0..c48b6d84a73c 100644
--- a/sd/source/ui/inc/AccessibleDrawDocumentView.hxx
+++ b/sd/source/ui/inc/AccessibleDrawDocumentView.hxx
@@ -2,7 +2,7 @@
/*************************************************************************
*
* 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
@@ -42,7 +42,7 @@ namespace accessibility {
Please see the documentation of the base class for further
explanations of the individual methods.
*/
-class AccessibleDrawDocumentView :
+class AccessibleDrawDocumentView :
public AccessibleDocumentViewBase
{
public:
@@ -55,7 +55,7 @@ public:
const ::com::sun::star::uno::Reference<
::com::sun::star::accessibility::XAccessible>& rxParent);
- virtual ~AccessibleDrawDocumentView (void);
+ virtual ~AccessibleDrawDocumentView (void);
/** Complete the initialization begun in the constructor.
*/
@@ -64,7 +64,7 @@ public:
//===== IAccessibleViewForwarderListener ================================
- virtual void ViewForwarderChanged (ChangeType aChangeType,
+ virtual void ViewForwarderChanged (ChangeType aChangeType,
const IAccessibleViewForwarder* pViewForwarder);
//===== XAccessibleContext ==============================================
@@ -95,7 +95,7 @@ public:
protected:
//===== XServiceInfo ====================================================
-
+
virtual ::rtl::OUString SAL_CALL
getImplementationName (void)
throw (::com::sun::star::uno::RuntimeException);
@@ -105,8 +105,8 @@ protected:
throw (::com::sun::star::uno::RuntimeException);
- virtual sal_Bool
- implIsSelected( sal_Int32 nAccessibleChildIndex )
+ virtual sal_Bool
+ implIsSelected( sal_Int32 nAccessibleChildIndex )
throw (::com::sun::star::uno::RuntimeException);
/** Select or deselect the specified child or all children if the given
@@ -123,7 +123,7 @@ protected:
reps. children.
*/
virtual void
- implSelect( sal_Int32 nAccessibleChildIndex, sal_Bool bSelect )
+ implSelect( sal_Int32 nAccessibleChildIndex, sal_Bool bSelect )
throw (::com::sun::star::lang::IndexOutOfBoundsException, ::com::sun::star::uno::RuntimeException);
protected:
@@ -141,12 +141,12 @@ protected:
*/
AccessiblePageShape* CreateDrawPageShape (void);
- /// Create an accessible name that contains the current view mode.
+ /// Create an accessible name that contains the current view mode.
virtual ::rtl::OUString
CreateAccessibleName ()
throw (::com::sun::star::uno::RuntimeException);
- /** Create an accessible description that contains the current
+ /** Create an accessible description that contains the current
view mode.
*/
virtual ::rtl::OUString
@@ -164,7 +164,7 @@ protected:
virtual void Deactivated (void);
virtual void impl_dispose (void);
-
+
private:
void UpdateAccessibleName (void);
};
diff --git a/sd/source/ui/inc/AccessibleOutlineEditSource.hxx b/sd/source/ui/inc/AccessibleOutlineEditSource.hxx
index 25932045a7c2..01211ce41e05 100644
--- a/sd/source/ui/inc/AccessibleOutlineEditSource.hxx
+++ b/sd/source/ui/inc/AccessibleOutlineEditSource.hxx
@@ -2,7 +2,7 @@
/*************************************************************************
*
* 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
@@ -43,10 +43,10 @@ class SdrOutliner;
class SdrView;
class Window;
-namespace accessibility
+namespace accessibility
{
- /** Implementation of the SvxEditSource interface in the SdOutlineView
-
+ /** Implementation of the SvxEditSource interface in the SdOutlineView
+
This class connects the SdOutlineView and its EditEngine
outliner with the AccessibleTextHelper, which provides all
necessary functionality to make the outliner text accessible
@@ -54,33 +54,33 @@ namespace accessibility
@see SvxEditSource
@see SvxViewForwarder
*/
- class AccessibleOutlineEditSource : public SvxEditSource, public SvxViewForwarder, public SfxBroadcaster, public SfxListener
+ class AccessibleOutlineEditSource : public SvxEditSource, public SvxViewForwarder, public SfxBroadcaster, public SfxListener
{
public:
/// Create an SvxEditSource interface for the given Outliner
- AccessibleOutlineEditSource(
- SdrOutliner& rOutliner,
- SdrView& rView,
- OutlinerView& rOutlView,
+ AccessibleOutlineEditSource(
+ SdrOutliner& rOutliner,
+ SdrView& rView,
+ OutlinerView& rOutlView,
const ::Window& rViewWindow );
virtual ~AccessibleOutlineEditSource();
/// This method is disabled and always returns NULL
- virtual SvxEditSource* Clone() const;
- virtual SvxTextForwarder* GetTextForwarder();
- virtual SvxViewForwarder* GetViewForwarder();
- virtual SvxEditViewForwarder* GetEditViewForwarder( sal_Bool bCreate = sal_False );
- virtual void UpdateData();
- virtual SfxBroadcaster& GetBroadcaster() const;
-
- // the view forwarder
- virtual BOOL IsValid() const;
- virtual Rectangle GetVisArea() const;
- virtual Point LogicToPixel( const Point& rPoint, const MapMode& rMapMode ) const;
- virtual Point PixelToLogic( const Point& rPoint, const MapMode& rMapMode ) const;
+ virtual SvxEditSource* Clone() const;
+ virtual SvxTextForwarder* GetTextForwarder();
+ virtual SvxViewForwarder* GetViewForwarder();
+ virtual SvxEditViewForwarder* GetEditViewForwarder( sal_Bool bCreate = sal_False );
+ virtual void UpdateData();
+ virtual SfxBroadcaster& GetBroadcaster() const;
+
+ // the view forwarder
+ virtual BOOL IsValid() const;
+ virtual Rectangle GetVisArea() const;
+ virtual Point LogicToPixel( const Point& rPoint, const MapMode& rMapMode ) const;
+ virtual Point PixelToLogic( const Point& rPoint, const MapMode& rMapMode ) const;
// SfxListener
- virtual void Notify( SfxBroadcaster& rBC, const SfxHint& rHint );
+ virtual void Notify( SfxBroadcaster& rBC, const SfxHint& rHint );
private:
@@ -90,13 +90,13 @@ namespace accessibility
DECL_LINK( NotifyHdl, EENotify* );
- SdrView& mrView;
+ SdrView& mrView;
const ::Window& mrWindow;
- SdrOutliner* mpOutliner;
+ SdrOutliner* mpOutliner;
OutlinerView* mpOutlinerView;
- SvxOutlinerForwarder mTextForwarder;
- SvxDrawOutlinerViewForwarder mViewForwarder;
+ SvxOutlinerForwarder mTextForwarder;
+ SvxDrawOutlinerViewForwarder mViewForwarder;
};
diff --git a/sd/source/ui/inc/AccessibleOutlineView.hxx b/sd/source/ui/inc/AccessibleOutlineView.hxx
index 003ee0b9f02d..f864e68c2286 100644
--- a/sd/source/ui/inc/AccessibleOutlineView.hxx
+++ b/sd/source/ui/inc/AccessibleOutlineView.hxx
@@ -2,7 +2,7 @@
/*************************************************************************
*
* 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
@@ -59,7 +59,7 @@ public:
const ::com::sun::star::uno::Reference<
::com::sun::star::accessibility::XAccessible>& rxParent);
- virtual ~AccessibleOutlineView (void);
+ virtual ~AccessibleOutlineView (void);
/** Complete the initialization begun in the constructor.
*/
@@ -68,7 +68,7 @@ public:
//===== IAccessibleViewForwarderListener ================================
- virtual void ViewForwarderChanged (ChangeType aChangeType,
+ virtual void ViewForwarderChanged (ChangeType aChangeType,
const IAccessibleViewForwarder* pViewForwarder);
//===== XAccessibleContext ==============================================
@@ -83,24 +83,24 @@ public:
//===== XAccessibleEventBroadcaster ========================================
- virtual void SAL_CALL
+ virtual void SAL_CALL
addEventListener (
- const ::com::sun::star::uno::Reference<
- ::com::sun::star::accessibility::XAccessibleEventListener >& xListener)
+ const ::com::sun::star::uno::Reference<
+ ::com::sun::star::accessibility::XAccessibleEventListener >& xListener)
throw (::com::sun::star::uno::RuntimeException);
- virtual void SAL_CALL
- removeEventListener (
- const ::com::sun::star::uno::Reference<
- ::com::sun::star::accessibility::XAccessibleEventListener >& xListener)
+ virtual void SAL_CALL
+ removeEventListener (
+ const ::com::sun::star::uno::Reference<
+ ::com::sun::star::accessibility::XAccessibleEventListener >& xListener)
throw (::com::sun::star::uno::RuntimeException);
using cppu::WeakComponentImplHelperBase::addEventListener;
using cppu::WeakComponentImplHelperBase::removeEventListener;
//===== XServiceInfo ====================================================
-
- /** Returns an identifier for the implementation of this object.
+
+ /** Returns an identifier for the implementation of this object.
*/
virtual ::rtl::OUString SAL_CALL
getImplementationName (void)
@@ -137,13 +137,13 @@ protected:
// This method is called from the component helper base class while disposing.
virtual void SAL_CALL disposing (void);
- /// Create an accessible name that contains the current view mode.
+ /// Create an accessible name that contains the current view mode.
virtual ::rtl::OUString
CreateAccessibleName ()
throw (::com::sun::star::uno::RuntimeException);
- /// Create an accessible description that contains the current
- /// view mode.
+ /// Create an accessible description that contains the current
+ /// view mode.
virtual ::rtl::OUString
CreateAccessibleDescription ()
throw (::com::sun::star::uno::RuntimeException);
diff --git a/sd/source/ui/inc/AccessiblePageShape.hxx b/sd/source/ui/inc/AccessiblePageShape.hxx
index 0fe78db1a320..6071359b1a91 100644
--- a/sd/source/ui/inc/AccessiblePageShape.hxx
+++ b/sd/source/ui/inc/AccessiblePageShape.hxx
@@ -2,7 +2,7 @@
/*************************************************************************
*
* 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
@@ -46,7 +46,7 @@ namespace accessibility {
/** A page shape represents the actual page as seen on the screen.
*/
class AccessiblePageShape
- : public AccessibleShape
+ : public AccessibleShape
{
public:
//===== internal ========================================================
@@ -86,12 +86,12 @@ public:
//===== XAccessibleContext ==============================================
- /// Returns always 0 because there can be no children.
+ /// Returns always 0 because there can be no children.
virtual sal_Int32 SAL_CALL
getAccessibleChildCount (void)
throw ();
-
- /** Return the specified child.
+
+ /** Return the specified child.
@param nIndex
Index of the requested child.
@return
@@ -101,31 +101,31 @@ public:
Throws always an exception because there are no children.
*/
virtual ::com::sun::star::uno::Reference<
- ::com::sun::star::accessibility::XAccessible> SAL_CALL
+ ::com::sun::star::accessibility::XAccessible> SAL_CALL
getAccessibleChild (sal_Int32 nIndex)
throw (::com::sun::star::uno::RuntimeException);
//===== XAccessibleComponent ============================================
- virtual ::com::sun::star::awt::Rectangle SAL_CALL getBounds (void)
+ virtual ::com::sun::star::awt::Rectangle SAL_CALL getBounds (void)
throw (::com::sun::star::uno::RuntimeException);
- virtual sal_Int32 SAL_CALL getForeground (void)
+ virtual sal_Int32 SAL_CALL getForeground (void)
throw (::com::sun::star::uno::RuntimeException);
- virtual sal_Int32 SAL_CALL getBackground (void)
+ virtual sal_Int32 SAL_CALL getBackground (void)
throw (::com::sun::star::uno::RuntimeException);
//===== XComponent ======================================================
- virtual void SAL_CALL
- dispose (void)
+ virtual void SAL_CALL
+ dispose (void)
throw (::com::sun::star::uno::RuntimeException);
//===== XServiceInfo ====================================================
-
+
virtual ::rtl::OUString SAL_CALL
getImplementationName (void)
throw (::com::sun::star::uno::RuntimeException);
@@ -137,15 +137,15 @@ public:
//===== lang::XEventListener ============================================
- virtual void SAL_CALL
- disposing (const ::com::sun::star::lang::EventObject& Source)
+ virtual void SAL_CALL
+ disposing (const ::com::sun::star::lang::EventObject& Source)
throw (::com::sun::star::uno::RuntimeException);
using AccessibleShape::disposing;
protected:
- /** Create a base name string that contains the accessible name.
+ /** Create a base name string that contains the accessible name.
*/
virtual ::rtl::OUString
CreateAccessibleBaseName (void)
@@ -155,7 +155,7 @@ protected:
CreateAccessibleName (void)
throw (::com::sun::star::uno::RuntimeException);
- /// Create a description string that contains the accessible description.
+ /// Create a description string that contains the accessible description.
virtual ::rtl::OUString
CreateAccessibleDescription (void)
throw (::com::sun::star::uno::RuntimeException);
@@ -163,8 +163,8 @@ protected:
private:
::com::sun::star::uno::Reference<
::com::sun::star::drawing::XDrawPage> mxPage;
-
- /** Don't use the default constructor. Use the public constructor that
+
+ /** Don't use the default constructor. Use the public constructor that
takes the original shape and the parent as arguments instead.
*/
explicit AccessiblePageShape (void);
diff --git a/sd/source/ui/inc/AccessiblePresentationGraphicShape.hxx b/sd/source/ui/inc/AccessiblePresentationGraphicShape.hxx
index cc647fb24802..6143704124a0 100644
--- a/sd/source/ui/inc/AccessiblePresentationGraphicShape.hxx
+++ b/sd/source/ui/inc/AccessiblePresentationGraphicShape.hxx
@@ -2,7 +2,7 @@
/*************************************************************************
*
* 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
@@ -34,10 +34,10 @@
namespace accessibility {
-/** This class makes Impress shapes accessible.
+/** This class makes Impress shapes accessible.
*/
class AccessiblePresentationGraphicShape
- : public AccessibleGraphicShape
+ : public AccessibleGraphicShape
{
public:
//===== internal ========================================================
@@ -47,8 +47,8 @@ public:
virtual ~AccessiblePresentationGraphicShape (void);
//===== XServiceInfo ====================================================
-
- /** Returns an identifier for the implementation of this object.
+
+ /** Returns an identifier for the implementation of this object.
*/
virtual ::rtl::OUString SAL_CALL
getImplementationName (void)
@@ -56,12 +56,12 @@ public:
//===== internal ========================================================
- /// Create a name string that contains the accessible name.
+ /// Create a name string that contains the accessible name.
virtual ::rtl::OUString
CreateAccessibleBaseName ()
throw (::com::sun::star::uno::RuntimeException);
- /// Create a description string that contains the accessible description.
+ /// Create a description string that contains the accessible description.
virtual ::rtl::OUString
CreateAccessibleDescription ()
throw (::com::sun::star::uno::RuntimeException);
diff --git a/sd/source/ui/inc/AccessiblePresentationOLEShape.hxx b/sd/source/ui/inc/AccessiblePresentationOLEShape.hxx
index 5039c465fa2e..3d80656fa3f2 100644
--- a/sd/source/ui/inc/AccessiblePresentationOLEShape.hxx
+++ b/sd/source/ui/inc/AccessiblePresentationOLEShape.hxx
@@ -2,7 +2,7 @@
/*************************************************************************
*
* 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
@@ -34,10 +34,10 @@
namespace accessibility {
-/** This class makes Impress shapes accessible.
+/** This class makes Impress shapes accessible.
*/
class AccessiblePresentationOLEShape
- : public AccessibleOLEShape
+ : public AccessibleOLEShape
{
public:
//===== internal ========================================================
@@ -47,8 +47,8 @@ public:
virtual ~AccessiblePresentationOLEShape (void);
//===== XServiceInfo ====================================================
-
- /** Returns an identifier for the implementation of this object.
+
+ /** Returns an identifier for the implementation of this object.
*/
virtual ::rtl::OUString SAL_CALL
getImplementationName (void)
@@ -56,12 +56,12 @@ public:
//===== internal ========================================================
- /// Create a name string that contains the accessible name.
+ /// Create a name string that contains the accessible name.
virtual ::rtl::OUString
CreateAccessibleBaseName ()
throw (::com::sun::star::uno::RuntimeException);
- /// Create a description string that contains the accessible description.
+ /// Create a description string that contains the accessible description.
virtual ::rtl::OUString
CreateAccessibleDescription ()
throw (::com::sun::star::uno::RuntimeException);
diff --git a/sd/source/ui/inc/AccessiblePresentationShape.hxx b/sd/source/ui/inc/AccessiblePresentationShape.hxx
index 3ef837002bc0..0e314da328ba 100644
--- a/sd/source/ui/inc/AccessiblePresentationShape.hxx
+++ b/sd/source/ui/inc/AccessiblePresentationShape.hxx
@@ -2,7 +2,7 @@
/*************************************************************************
*
* 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
@@ -33,10 +33,10 @@
namespace accessibility {
-/** This class makes Impress shapes accessible.
+/** This class makes Impress shapes accessible.
*/
class AccessiblePresentationShape
- : public AccessibleShape
+ : public AccessibleShape
{
public:
//===== internal ========================================================
@@ -46,8 +46,8 @@ public:
virtual ~AccessiblePresentationShape (void);
//===== XServiceInfo ====================================================
-
- /** Returns an identifier for the implementation of this object.
+
+ /** Returns an identifier for the implementation of this object.
*/
virtual ::rtl::OUString SAL_CALL
getImplementationName (void)
@@ -55,18 +55,18 @@ public:
//===== internal ========================================================
- /// Create a name string that contains the accessible name.
+ /// Create a name string that contains the accessible name.
virtual ::rtl::OUString
CreateAccessibleBaseName ()
throw (::com::sun::star::uno::RuntimeException);
- /// Create a description string that contains the accessible description.
+ /// Create a description string that contains the accessible description.
virtual ::rtl::OUString
CreateAccessibleDescription ()
throw (::com::sun::star::uno::RuntimeException);
private:
- /** Don't use the default constructor. Use the public constructor that
+ /** Don't use the default constructor. Use the public constructor that
takes the original shape and the parent as arguments instead.
*/
AccessiblePresentationShape (void);
diff --git a/sd/source/ui/inc/AccessibleScrollPanel.hxx b/sd/source/ui/inc/AccessibleScrollPanel.hxx
index 86fb0a9f9d68..b88615559ef0 100644
--- a/sd/source/ui/inc/AccessibleScrollPanel.hxx
+++ b/sd/source/ui/inc/AccessibleScrollPanel.hxx
@@ -2,7 +2,7 @@
/*************************************************************************
*
* 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
@@ -53,11 +53,11 @@ public:
//===== XAccessibleContext ==============================================
- /// Return the number of currently visible children.
+ /// Return the number of currently visible children.
virtual sal_Int32 SAL_CALL
getAccessibleChildCount (void) throw (::com::sun::star::uno::RuntimeException);
- /// Return the specified child or throw exception.
+ /// Return the specified child or throw exception.
virtual ::com::sun::star::uno::Reference<
::com::sun::star::accessibility::XAccessible> SAL_CALL
getAccessibleChild (sal_Int32 nIndex)
@@ -66,7 +66,7 @@ public:
//===== XServiceInfo ====================================================
- /** Returns an identifier for the implementation of this object.
+ /** Returns an identifier for the implementation of this object.
*/
virtual ::rtl::OUString SAL_CALL
getImplementationName (void)
diff --git a/sd/source/ui/inc/AccessibleSlideSorterObject.hxx b/sd/source/ui/inc/AccessibleSlideSorterObject.hxx
index 9337d1160784..e2b6f68d079b 100644
--- a/sd/source/ui/inc/AccessibleSlideSorterObject.hxx
+++ b/sd/source/ui/inc/AccessibleSlideSorterObject.hxx
@@ -2,7 +2,7 @@
/*************************************************************************
*
* 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
@@ -49,7 +49,7 @@ class SlideSorter;
namespace accessibility {
-typedef ::cppu::WeakComponentImplHelper5<
+typedef ::cppu::WeakComponentImplHelper5<
::com::sun::star::accessibility::XAccessible,
::com::sun::star::accessibility::XAccessibleEventBroadcaster,
::com::sun::star::accessibility::XAccessibleContext,
@@ -87,7 +87,7 @@ public:
/** The page number as given to the constructor.
*/
sal_uInt16 GetPageNumber (void) const;
-
+
void FireAccessibleEvent (
short nEventId,
const ::com::sun::star::uno::Any& rOldValue,
@@ -104,14 +104,14 @@ public:
getAccessibleContext (void)
throw (::com::sun::star::uno::RuntimeException);
-
+
//===== XAccessibleEventBroadcaster =======================================
virtual void SAL_CALL
addEventListener(
const ::com::sun::star::uno::Reference<
::com::sun::star::accessibility::XAccessibleEventListener >& rxListener)
throw (::com::sun::star::uno::RuntimeException);
-
+
virtual void SAL_CALL
removeEventListener(
const ::com::sun::star::uno::Reference<
@@ -120,7 +120,7 @@ public:
using cppu::WeakComponentImplHelperBase::addEventListener;
using cppu::WeakComponentImplHelperBase::removeEventListener;
-
+
//===== XAccessibleContext ==============================================
virtual sal_Int32 SAL_CALL
@@ -134,7 +134,7 @@ public:
getAccessibleParent (void)
throw (::com::sun::star::uno::RuntimeException);
- virtual sal_Int32 SAL_CALL
+ virtual sal_Int32 SAL_CALL
getAccessibleIndexInParent (void)
throw (::com::sun::star::uno::RuntimeException);
@@ -167,46 +167,46 @@ public:
//===== XAccessibleComponent ================================================
virtual sal_Bool SAL_CALL containsPoint (
- const ::com::sun::star::awt::Point& aPoint)
+ const ::com::sun::star::awt::Point& aPoint)
throw (::com::sun::star::uno::RuntimeException);
- virtual ::com::sun::star::uno::Reference< ::com::sun::star::accessibility::XAccessible > SAL_CALL
+ virtual ::com::sun::star::uno::Reference< ::com::sun::star::accessibility::XAccessible > SAL_CALL
getAccessibleAtPoint (
- const ::com::sun::star::awt::Point& aPoint)
+ const ::com::sun::star::awt::Point& aPoint)
throw (::com::sun::star::uno::RuntimeException);
virtual ::com::sun::star::awt::Rectangle SAL_CALL getBounds (void)
throw (::com::sun::star::uno::RuntimeException);
- virtual ::com::sun::star::awt::Point SAL_CALL getLocation (void)
+ virtual ::com::sun::star::awt::Point SAL_CALL getLocation (void)
throw (::com::sun::star::uno::RuntimeException);
- virtual ::com::sun::star::awt::Point SAL_CALL getLocationOnScreen (void)
+ virtual ::com::sun::star::awt::Point SAL_CALL getLocationOnScreen (void)
throw (::com::sun::star::uno::RuntimeException);
- virtual ::com::sun::star::awt::Size SAL_CALL getSize (void)
+ virtual ::com::sun::star::awt::Size SAL_CALL getSize (void)
throw (::com::sun::star::uno::RuntimeException);
- virtual void SAL_CALL grabFocus (void)
+ virtual void SAL_CALL grabFocus (void)
throw (::com::sun::star::uno::RuntimeException);
- virtual sal_Int32 SAL_CALL getForeground (void)
+ virtual sal_Int32 SAL_CALL getForeground (void)
throw (::com::sun::star::uno::RuntimeException);
- virtual sal_Int32 SAL_CALL getBackground (void)
+ virtual sal_Int32 SAL_CALL getBackground (void)
throw (::com::sun::star::uno::RuntimeException);
-
+
//===== XServiceInfo ====================================================
- /** Returns an identifier for the implementation of this object.
+ /** Returns an identifier for the implementation of this object.
*/
virtual ::rtl::OUString SAL_CALL
getImplementationName (void)
throw (::com::sun::star::uno::RuntimeException);
- /** Return whether the specified service is supported by this class.
+ /** Return whether the specified service is supported by this class.
*/
virtual sal_Bool SAL_CALL
supportsService (const ::rtl::OUString& sServiceName)
@@ -235,7 +235,7 @@ private:
throw (::com::sun::star::lang::DisposedException);
/** Check whether or not the object has been disposed (or is in the
- state of beeing disposed).
+ state of beeing disposed).
@return sal_True, if the object is disposed or in the course
of being disposed. Otherwise, sal_False is returned.
diff --git a/sd/source/ui/inc/AccessibleSlideSorterView.hxx b/sd/source/ui/inc/AccessibleSlideSorterView.hxx
index e418b342b193..2bab6373c6ca 100644
--- a/sd/source/ui/inc/AccessibleSlideSorterView.hxx
+++ b/sd/source/ui/inc/AccessibleSlideSorterView.hxx
@@ -2,7 +2,7 @@
/*************************************************************************
*
* 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
@@ -55,7 +55,7 @@ namespace accessibility {
class AccessibleSlideSorterObject;
-typedef ::cppu::WeakComponentImplHelper6<
+typedef ::cppu::WeakComponentImplHelper6<
::com::sun::star::accessibility::XAccessible,
::com::sun::star::accessibility::XAccessibleEventBroadcaster,
::com::sun::star::accessibility::XAccessibleContext,
@@ -79,7 +79,7 @@ public:
::Window* pParentWindow);
void Init();
-
+
virtual ~AccessibleSlideSorterView (void);
/** This method acts like a dispose call. It sends a disposing to all
@@ -99,7 +99,7 @@ public:
Index of the child for which to return the implementation object.
*/
AccessibleSlideSorterObject* GetAccessibleChildImplementation (sal_Int32 nIndex);
-
+
//===== XAccessible =======================================================
virtual ::com::sun::star::uno::Reference<
@@ -107,14 +107,14 @@ public:
getAccessibleContext (void)
throw (::com::sun::star::uno::RuntimeException);
-
+
//===== XAccessibleEventBroadcaster =======================================
virtual void SAL_CALL
addEventListener(
const ::com::sun::star::uno::Reference<
::com::sun::star::accessibility::XAccessibleEventListener >& rxListener)
throw (::com::sun::star::uno::RuntimeException);
-
+
virtual void SAL_CALL
removeEventListener(
const ::com::sun::star::uno::Reference<
@@ -123,56 +123,56 @@ public:
using cppu::WeakComponentImplHelperBase::addEventListener;
using cppu::WeakComponentImplHelperBase::removeEventListener;
-
+
//===== XAccessibleContext ==============================================
- /// Return the number of currently visible children.
+ /// Return the number of currently visible children.
virtual sal_Int32 SAL_CALL
getAccessibleChildCount (void) throw (::com::sun::star::uno::RuntimeException);
- /// Return the specified child or throw exception.
+ /// Return the specified child or throw exception.
virtual ::com::sun::star::uno::Reference< ::com::sun::star::accessibility::XAccessible> SAL_CALL
getAccessibleChild (sal_Int32 nIndex)
throw (::com::sun::star::lang::IndexOutOfBoundsException, ::com::sun::star::uno::RuntimeException);
- /// Return a reference to the parent.
+ /// Return a reference to the parent.
virtual ::com::sun::star::uno::Reference< ::com::sun::star::accessibility::XAccessible> SAL_CALL
getAccessibleParent (void)
throw (::com::sun::star::uno::RuntimeException);
- /// Return this objects index among the parents children.
- virtual sal_Int32 SAL_CALL
+ /// Return this objects index among the parents children.
+ virtual sal_Int32 SAL_CALL
getAccessibleIndexInParent (void)
throw (::com::sun::star::uno::RuntimeException);
- /// Return this object's role.
+ /// Return this object's role.
virtual sal_Int16 SAL_CALL
getAccessibleRole (void)
throw (::com::sun::star::uno::RuntimeException);
- /// Return this object's description.
+ /// Return this object's description.
virtual ::rtl::OUString SAL_CALL
getAccessibleDescription (void)
throw (::com::sun::star::uno::RuntimeException);
- /// Return the object's current name.
+ /// Return the object's current name.
virtual ::rtl::OUString SAL_CALL
getAccessibleName (void)
throw (::com::sun::star::uno::RuntimeException);
- /// Return NULL to indicate that an empty relation set.
+ /// Return NULL to indicate that an empty relation set.
virtual ::com::sun::star::uno::Reference<
::com::sun::star::accessibility::XAccessibleRelationSet> SAL_CALL
getAccessibleRelationSet (void)
throw (::com::sun::star::uno::RuntimeException);
- /// Return the set of current states.
+ /// Return the set of current states.
virtual ::com::sun::star::uno::Reference<
::com::sun::star::accessibility::XAccessibleStateSet> SAL_CALL
getAccessibleStateSet (void)
throw (::com::sun::star::uno::RuntimeException);
- /** Return the parents locale or throw exception if this object has no
+ /** Return the parents locale or throw exception if this object has no
parent yet/anymore.
*/
virtual ::com::sun::star::lang::Locale SAL_CALL
@@ -187,15 +187,15 @@ public:
inside this object.
*/
virtual sal_Bool SAL_CALL containsPoint (
- const ::com::sun::star::awt::Point& aPoint)
+ const ::com::sun::star::awt::Point& aPoint)
throw (::com::sun::star::uno::RuntimeException);
/** The default implementation returns an empty reference.
*/
- virtual ::com::sun::star::uno::Reference<
- ::com::sun::star::accessibility::XAccessible > SAL_CALL
+ virtual ::com::sun::star::uno::Reference<
+ ::com::sun::star::accessibility::XAccessible > SAL_CALL
getAccessibleAtPoint (
- const ::com::sun::star::awt::Point& aPoint)
+ const ::com::sun::star::awt::Point& aPoint)
throw (::com::sun::star::uno::RuntimeException);
/** The default implementation returns an empty rectangle.
@@ -206,82 +206,82 @@ public:
/** The default implementation uses the result of
<member>getBounds</member> to determine the location.
*/
- virtual ::com::sun::star::awt::Point SAL_CALL getLocation (void)
+ virtual ::com::sun::star::awt::Point SAL_CALL getLocation (void)
throw (::com::sun::star::uno::RuntimeException);
/** The default implementation returns an empty position, i.e. the
* result of the default constructor of <type>com::sun::star::awt::Point</type>.
*/
- virtual ::com::sun::star::awt::Point SAL_CALL getLocationOnScreen (void)
+ virtual ::com::sun::star::awt::Point SAL_CALL getLocationOnScreen (void)
throw (::com::sun::star::uno::RuntimeException);
/** The default implementation uses the result of
<member>getBounds</member> to determine the size.
*/
- virtual ::com::sun::star::awt::Size SAL_CALL getSize (void)
+ virtual ::com::sun::star::awt::Size SAL_CALL getSize (void)
throw (::com::sun::star::uno::RuntimeException);
/** The default implementation does nothing.
*/
- virtual void SAL_CALL grabFocus (void)
+ virtual void SAL_CALL grabFocus (void)
throw (::com::sun::star::uno::RuntimeException);
/** Returns black as the default foreground color.
*/
- virtual sal_Int32 SAL_CALL getForeground (void)
+ virtual sal_Int32 SAL_CALL getForeground (void)
throw (::com::sun::star::uno::RuntimeException);
/** Returns white as the default background color.
*/
- virtual sal_Int32 SAL_CALL getBackground (void)
+ virtual sal_Int32 SAL_CALL getBackground (void)
throw (::com::sun::star::uno::RuntimeException);
-
+
//===== XAccessibleSelection ==============================================
virtual void SAL_CALL
selectAccessibleChild (sal_Int32 nChildIndex)
throw (::com::sun::star::lang::IndexOutOfBoundsException,
::com::sun::star::uno::RuntimeException);
-
+
virtual sal_Bool SAL_CALL
isAccessibleChildSelected( sal_Int32 nChildIndex )
throw (::com::sun::star::lang::IndexOutOfBoundsException,
::com::sun::star::uno::RuntimeException);
-
+
virtual void SAL_CALL
clearAccessibleSelection( )
throw (::com::sun::star::uno::RuntimeException);
-
+
virtual void SAL_CALL
selectAllAccessibleChildren( )
throw (::com::sun::star::uno::RuntimeException);
-
+
virtual sal_Int32 SAL_CALL
getSelectedAccessibleChildCount( )
throw (::com::sun::star::uno::RuntimeException);
-
+
virtual ::com::sun::star::uno::Reference<
::com::sun::star::accessibility::XAccessible > SAL_CALL
getSelectedAccessibleChild( sal_Int32 nSelectedChildIndex )
throw (::com::sun::star::lang::IndexOutOfBoundsException,
::com::sun::star::uno::RuntimeException);
-
+
virtual void SAL_CALL
deselectAccessibleChild( sal_Int32 nSelectedChildIndex )
throw (::com::sun::star::lang::IndexOutOfBoundsException,
::com::sun::star::uno::RuntimeException);
-
+
//===== XServiceInfo ====================================================
- /** Returns an identifier for the implementation of this object.
+ /** Returns an identifier for the implementation of this object.
*/
virtual ::rtl::OUString SAL_CALL
getImplementationName (void)
throw (::com::sun::star::uno::RuntimeException);
- /** Return whether the specified service is supported by this class.
+ /** Return whether the specified service is supported by this class.
*/
virtual sal_Bool SAL_CALL
supportsService (const ::rtl::OUString& sServiceName)
@@ -293,7 +293,7 @@ public:
getSupportedServiceNames (void)
throw (::com::sun::star::uno::RuntimeException);
-
+
private:
class Implementation;
::std::auto_ptr<Implementation> mpImpl;
@@ -316,7 +316,7 @@ private:
throw (::com::sun::star::lang::DisposedException);
/** Check whether or not the object has been disposed (or is in the
- state of beeing disposed).
+ state of beeing disposed).
@return sal_True, if the object is disposed or in the course
of being disposed. Otherwise, sal_False is returned.
diff --git a/sd/source/ui/inc/AccessibleSlideView.hxx b/sd/source/ui/inc/AccessibleSlideView.hxx
index 921c64c536a3..8b95307cc7ea 100644
--- a/sd/source/ui/inc/AccessibleSlideView.hxx
+++ b/sd/source/ui/inc/AccessibleSlideView.hxx
@@ -2,7 +2,7 @@
/*************************************************************************
*
* 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
@@ -54,7 +54,7 @@ class Window;
// - AccessibleSlideViewObject -
// -----------------------------
-class AccessibleSlideViewObject : public ::cppu::WeakImplHelper6<
+class AccessibleSlideViewObject : public ::cppu::WeakImplHelper6<
::com::sun::star::lang::XUnoTunnel,
::com::sun::star::accessibility::XAccessible,
::com::sun::star::accessibility::XAccessibleEventBroadcaster,
@@ -69,8 +69,8 @@ private:
AccessibleSlideView* mpManager;
/// client id in the AccessibleEventNotifier queue
sal_uInt32 mnClientId;
- sal_uInt16 mnPage;
- sal_Bool mbVisible;
+ sal_uInt16 mnPage;
+ sal_Bool mbVisible;
sal_Bool mbValid;
private:
@@ -109,21 +109,21 @@ private:
virtual ::com::sun::star::awt::Size SAL_CALL getSize( ) throw (::com::sun::star::uno::RuntimeException);
virtual void SAL_CALL grabFocus( ) throw (::com::sun::star::uno::RuntimeException);
- virtual sal_Int32 SAL_CALL getForeground (void)
+ virtual sal_Int32 SAL_CALL getForeground (void)
throw (::com::sun::star::uno::RuntimeException);
- virtual sal_Int32 SAL_CALL getBackground (void)
+ virtual sal_Int32 SAL_CALL getBackground (void)
throw (::com::sun::star::uno::RuntimeException);
//===== XServiceInfo ====================================================
- /** Returns an identifier for the implementation of this object.
+ /** Returns an identifier for the implementation of this object.
*/
virtual ::rtl::OUString SAL_CALL
getImplementationName (void)
throw (::com::sun::star::uno::RuntimeException);
- /** Return whether the specified service is supported by this class.
+ /** Return whether the specified service is supported by this class.
*/
virtual sal_Bool SAL_CALL
supportsService (const ::rtl::OUString& sServiceName)
@@ -138,9 +138,9 @@ private:
public:
static AccessibleSlideViewObject* getImplementation( const ::com::sun::star::uno::Reference< ::com::sun::star::uno::XInterface >& rxData ) throw();
-
-public:
-
+
+public:
+
AccessibleSlideViewObject( const ::com::sun::star::uno::Reference< ::com::sun::star::accessibility::XAccessible >& rxParent, sal_uInt16 nPage, sal_Bool bVisible );
~AccessibleSlideViewObject();
@@ -152,16 +152,16 @@ public:
void Destroyed (void);
sal_uInt16 GetPageNum() const { return mnPage; }
-
- void SetVisible( sal_Bool bVisible );
- sal_Bool IsVisible() const;
+
+ void SetVisible( sal_Bool bVisible );
+ sal_Bool IsVisible() const;
};
// -----------------------
// - AccessibleSlideView -
// -----------------------
-class AccessibleSlideView : public ::cppu::WeakImplHelper7<
+class AccessibleSlideView : public ::cppu::WeakImplHelper7<
::com::sun::star::lang::XUnoTunnel,
::com::sun::star::accessibility::XAccessible,
::com::sun::star::accessibility::XAccessibleEventBroadcaster,
@@ -175,8 +175,8 @@ public:
static AccessibleSlideView* getImplementation( const ::com::sun::star::uno::Reference< ::com::sun::star::uno::XInterface >& rxData ) throw();
AccessibleSlideView(
- SdDrawDocument& rDoc,
- ::sd::SlideView& rView,
+ SdDrawDocument& rDoc,
+ ::sd::SlideView& rView,
::sd::Window& rParentWindow);
virtual ~AccessibleSlideView (void);
@@ -191,8 +191,8 @@ public:
::sd::SlideView* GetSlideView() const { return mpView; }
::sd::Window* GetParentWindow() const { return mpParentWindow; }
- void SetPageVisible( sal_uInt16 nPage, sal_Bool bVisible );
- void Reset();
+ void SetPageVisible( sal_uInt16 nPage, sal_Bool bVisible );
+ void Reset();
void FocusHasChanged( USHORT nOldFocusPage, USHORT nNewFocusPage );
@@ -241,10 +241,10 @@ private:
virtual ::com::sun::star::awt::Size SAL_CALL getSize( ) throw (::com::sun::star::uno::RuntimeException);
virtual void SAL_CALL grabFocus( ) throw (::com::sun::star::uno::RuntimeException);
- virtual sal_Int32 SAL_CALL getForeground (void)
+ virtual sal_Int32 SAL_CALL getForeground (void)
throw (::com::sun::star::uno::RuntimeException);
- virtual sal_Int32 SAL_CALL getBackground (void)
+ virtual sal_Int32 SAL_CALL getBackground (void)
throw (::com::sun::star::uno::RuntimeException);
// XAccessibleSelection
@@ -258,13 +258,13 @@ private:
//===== XServiceInfo ====================================================
- /** Returns an identifier for the implementation of this object.
+ /** Returns an identifier for the implementation of this object.
*/
virtual ::rtl::OUString SAL_CALL
getImplementationName (void)
throw (::com::sun::star::uno::RuntimeException);
- /** Return whether the specified service is supported by this class.
+ /** Return whether the specified service is supported by this class.
*/
virtual sal_Bool SAL_CALL
supportsService (const ::rtl::OUString& sServiceName)
diff --git a/sd/source/ui/inc/AccessibleTreeNode.hxx b/sd/source/ui/inc/AccessibleTreeNode.hxx
index 7df371456c0e..5d8d20766d78 100644
--- a/sd/source/ui/inc/AccessibleTreeNode.hxx
+++ b/sd/source/ui/inc/AccessibleTreeNode.hxx
@@ -2,7 +2,7 @@
/*************************************************************************
*
* 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
@@ -62,7 +62,7 @@ namespace accessibility {
class AccessibleSlideSorterObject;
-typedef ::cppu::WeakComponentImplHelper5<
+typedef ::cppu::WeakComponentImplHelper5<
::com::sun::star::accessibility::XAccessible,
::com::sun::star::accessibility::XAccessibleEventBroadcaster,
::com::sun::star::accessibility::XAccessibleContext,
@@ -96,7 +96,7 @@ public:
const ::rtl::OUString& rsName,
const ::rtl::OUString& rsDescription,
sal_Int16 eRole);
-
+
/** Use this variant of the constructor when the accessible parent is
non-standard.
@param rxParent
@@ -120,7 +120,7 @@ public:
const ::rtl::OUString& rsName,
const ::rtl::OUString& rsDescription,
sal_Int16 eRole);
-
+
void FireAccessibleEvent (
short nEventId,
const ::com::sun::star::uno::Any& rOldValue,
@@ -135,7 +135,7 @@ public:
getAccessibleContext (void)
throw (::com::sun::star::uno::RuntimeException);
-
+
//===== XAccessibleEventBroadcaster =======================================
virtual void SAL_CALL
@@ -143,7 +143,7 @@ public:
const ::com::sun::star::uno::Reference<
::com::sun::star::accessibility::XAccessibleEventListener >& rxListener)
throw (::com::sun::star::uno::RuntimeException);
-
+
virtual void SAL_CALL
removeEventListener(
const ::com::sun::star::uno::Reference<
@@ -152,56 +152,56 @@ public:
using cppu::WeakComponentImplHelperBase::addEventListener;
using cppu::WeakComponentImplHelperBase::removeEventListener;
-
+
//===== XAccessibleContext ==============================================
- /// Return the number of currently visible children.
+ /// Return the number of currently visible children.
virtual sal_Int32 SAL_CALL
getAccessibleChildCount (void) throw (::com::sun::star::uno::RuntimeException);
- /// Return the specified child or throw exception.
+ /// Return the specified child or throw exception.
virtual ::com::sun::star::uno::Reference< ::com::sun::star::accessibility::XAccessible> SAL_CALL
getAccessibleChild (sal_Int32 nIndex)
throw (::com::sun::star::lang::IndexOutOfBoundsException, ::com::sun::star::uno::RuntimeException);
- /// Return a reference to the parent.
+ /// Return a reference to the parent.
virtual ::com::sun::star::uno::Reference< ::com::sun::star::accessibility::XAccessible> SAL_CALL
getAccessibleParent (void)
throw (::com::sun::star::uno::RuntimeException);
- /// Return this objects index among the parents children.
- virtual sal_Int32 SAL_CALL
+ /// Return this objects index among the parents children.
+ virtual sal_Int32 SAL_CALL
getAccessibleIndexInParent (void)
throw (::com::sun::star::uno::RuntimeException);
- /// Return this object's role.
+ /// Return this object's role.
virtual sal_Int16 SAL_CALL
getAccessibleRole (void)
throw (::com::sun::star::uno::RuntimeException);
- /// Return this object's description.
+ /// Return this object's description.
virtual ::rtl::OUString SAL_CALL
getAccessibleDescription (void)
throw (::com::sun::star::uno::RuntimeException);
- /// Return the object's current name.
+ /// Return the object's current name.
virtual ::rtl::OUString SAL_CALL
getAccessibleName (void)
throw (::com::sun::star::uno::RuntimeException);
- /// Return NULL to indicate that an empty relation set.
+ /// Return NULL to indicate that an empty relation set.
virtual ::com::sun::star::uno::Reference<
::com::sun::star::accessibility::XAccessibleRelationSet> SAL_CALL
getAccessibleRelationSet (void)
throw (::com::sun::star::uno::RuntimeException);
- /// Return the set of current states.
+ /// Return the set of current states.
virtual ::com::sun::star::uno::Reference<
::com::sun::star::accessibility::XAccessibleStateSet> SAL_CALL
getAccessibleStateSet (void)
throw (::com::sun::star::uno::RuntimeException);
- /** Return the parents locale or throw exception if this object has no
+ /** Return the parents locale or throw exception if this object has no
parent yet/anymore.
*/
virtual ::com::sun::star::lang::Locale SAL_CALL
@@ -212,46 +212,46 @@ public:
//===== XAccessibleComponent ================================================
virtual sal_Bool SAL_CALL containsPoint (
- const ::com::sun::star::awt::Point& aPoint)
+ const ::com::sun::star::awt::Point& aPoint)
throw (::com::sun::star::uno::RuntimeException);
- virtual ::com::sun::star::uno::Reference<
- ::com::sun::star::accessibility::XAccessible > SAL_CALL
+ virtual ::com::sun::star::uno::Reference<
+ ::com::sun::star::accessibility::XAccessible > SAL_CALL
getAccessibleAtPoint (
- const ::com::sun::star::awt::Point& aPoint)
+ const ::com::sun::star::awt::Point& aPoint)
throw (::com::sun::star::uno::RuntimeException);
virtual ::com::sun::star::awt::Rectangle SAL_CALL getBounds (void)
throw (::com::sun::star::uno::RuntimeException);
- virtual ::com::sun::star::awt::Point SAL_CALL getLocation (void)
+ virtual ::com::sun::star::awt::Point SAL_CALL getLocation (void)
throw (::com::sun::star::uno::RuntimeException);
- virtual ::com::sun::star::awt::Point SAL_CALL getLocationOnScreen (void)
+ virtual ::com::sun::star::awt::Point SAL_CALL getLocationOnScreen (void)
throw (::com::sun::star::uno::RuntimeException);
- virtual ::com::sun::star::awt::Size SAL_CALL getSize (void)
+ virtual ::com::sun::star::awt::Size SAL_CALL getSize (void)
throw (::com::sun::star::uno::RuntimeException);
- virtual void SAL_CALL grabFocus (void)
+ virtual void SAL_CALL grabFocus (void)
throw (::com::sun::star::uno::RuntimeException);
- virtual sal_Int32 SAL_CALL getForeground (void)
+ virtual sal_Int32 SAL_CALL getForeground (void)
throw (::com::sun::star::uno::RuntimeException);
- virtual sal_Int32 SAL_CALL getBackground (void)
+ virtual sal_Int32 SAL_CALL getBackground (void)
throw (::com::sun::star::uno::RuntimeException);
-
+
//===== XServiceInfo ====================================================
- /** Returns an identifier for the implementation of this object.
+ /** Returns an identifier for the implementation of this object.
*/
virtual ::rtl::OUString SAL_CALL
getImplementationName (void)
throw (::com::sun::star::uno::RuntimeException);
- /** Return whether the specified service is supported by this class.
+ /** Return whether the specified service is supported by this class.
*/
virtual sal_Bool SAL_CALL
supportsService (const ::rtl::OUString& sServiceName)
@@ -263,13 +263,13 @@ public:
getSupportedServiceNames (void)
throw (::com::sun::star::uno::RuntimeException);
-
+
protected:
::com::sun::star::uno::Reference<
::com::sun::star::accessibility::XAccessible> mxParent;
::sd::toolpanel::TreeNode& mrTreeNode;
::rtl::Reference< ::utl::AccessibleStateSetHelper> mrStateSet;
-
+
const ::rtl::OUString msName;
const ::rtl::OUString msDescription;
const sal_Int16 meRole;
@@ -285,7 +285,7 @@ protected:
throw (::com::sun::star::lang::DisposedException);
/** Check whether or not the object has been disposed (or is in the
- state of beeing disposed).
+ state of beeing disposed).
@return sal_True, if the object is disposed or in the course
of being disposed. Otherwise, sal_False is returned.
@@ -303,10 +303,10 @@ protected:
void UpdateState(
sal_Int16 aState,
bool bValue);
-
+
DECL_LINK(StateChangeListener, ::sd::toolpanel::TreeNodeStateChangeEvent*);
DECL_LINK(WindowEventListener, VclWindowEvent*);
-
+
private:
sal_uInt32 mnClientId;
diff --git a/sd/source/ui/inc/AccessibleViewForwarder.hxx b/sd/source/ui/inc/AccessibleViewForwarder.hxx
index 7c3fe45abc27..cb475aadb200 100644
--- a/sd/source/ui/inc/AccessibleViewForwarder.hxx
+++ b/sd/source/ui/inc/AccessibleViewForwarder.hxx
@@ -2,7 +2,7 @@
/*************************************************************************
*
* 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
@@ -37,7 +37,7 @@ class OutputDevice;
namespace accessibility {
-/** <p>This class provides the means to transform between internal coordinates
+/** <p>This class provides the means to transform between internal coordinates
and screen coordinates without giving direct access to the underlying
view. It represents a certain window. A call to
<method>GetVisArea</method> returns the corresponding visible
@@ -49,7 +49,7 @@ namespace accessibility {
change the validity of the forwarder have to be signaled seperately.
*/
class AccessibleViewForwarder
- : public IAccessibleViewForwarder
+ : public IAccessibleViewForwarder
{
public:
//===== internal ========================================================
@@ -57,7 +57,7 @@ public:
AccessibleViewForwarder (SdrPaintView* pView, OutputDevice& rDevice);
virtual ~AccessibleViewForwarder (void);
-
+
//===== IAccessibleViewforwarder ========================================
/** This method informs you about the state of the forwarder. Do not
@@ -71,7 +71,7 @@ public:
/** Returns the area of the underlying document that is visible in the
* corresponding window.
- @return
+ @return
The rectangle of the visible part of the document.
*/
virtual Rectangle GetVisibleArea() const;
@@ -82,7 +82,7 @@ public:
@param rPoint
Point in internal coordinates.
- @return
+ @return
The same point but in screen coordinates relative to the upper
left corner of the (current) screen.
*/
@@ -94,7 +94,7 @@ public:
@param rSize
Size in internal coordinates.
- @return
+ @return
The same size but in screen coordinates.
*/
virtual Size LogicToPixel (const Size& rSize) const;
@@ -106,7 +106,7 @@ public:
Point in screen coordinates relative to the upper left corner of
the (current) screen.
- @return
+ @return
The same point but in internal coordinates.
*/
virtual Point PixelToLogic (const Point& rPoint) const;
@@ -117,7 +117,7 @@ public:
@param rSize
Size in screen coordinates.
- @return
+ @return
The same size but in internal coordinates.
*/
virtual Size PixelToLogic (const Size& rSize) const;
diff --git a/sd/source/ui/inc/AnimationChildWindow.hxx b/sd/source/ui/inc/AnimationChildWindow.hxx
index 8731d6600e09..8d8f3a038885 100644
--- a/sd/source/ui/inc/AnimationChildWindow.hxx
+++ b/sd/source/ui/inc/AnimationChildWindow.hxx
@@ -2,7 +2,7 @@
/*************************************************************************
*
* 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
@@ -37,13 +37,13 @@ class SfxBindings;
namespace sd {
-class AnimationChildWindow
+class AnimationChildWindow
: public SfxChildWindow
{
public:
AnimationChildWindow(
- ::Window*,
- USHORT,
+ ::Window*,
+ USHORT,
SfxBindings*,
SfxChildWinInfo*);
diff --git a/sd/source/ui/inc/BezierObjectBar.hxx b/sd/source/ui/inc/BezierObjectBar.hxx
index 764508cd77d5..373c72969886 100644
--- a/sd/source/ui/inc/BezierObjectBar.hxx
+++ b/sd/source/ui/inc/BezierObjectBar.hxx
@@ -2,7 +2,7 @@
/*************************************************************************
*
* 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
@@ -38,7 +38,7 @@ namespace sd {
class View;
class ViewShell;
-class BezierObjectBar
+class BezierObjectBar
: public SfxShell
{
public:
diff --git a/sd/source/ui/inc/BreakDlg.hxx b/sd/source/ui/inc/BreakDlg.hxx
index 87c9a0f7c718..4d503e5b9198 100644
--- a/sd/source/ui/inc/BreakDlg.hxx
+++ b/sd/source/ui/inc/BreakDlg.hxx
@@ -2,7 +2,7 @@
/*************************************************************************
*
* 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
@@ -52,38 +52,38 @@ class DrawView;
|* Dialog zum aufbrechen von Metafiles
|*
\************************************************************************/
-class BreakDlg
+class BreakDlg
: public SfxModalDialog
{
public:
BreakDlg (
- ::Window* pWindow,
- DrawView* pDrView,
- DrawDocShell* pShell,
- ULONG nSumActionCount,
+ ::Window* pWindow,
+ DrawView* pDrView,
+ DrawDocShell* pShell,
+ ULONG nSumActionCount,
ULONG nObjCount);
virtual ~BreakDlg();
short Execute();
private:
- FixedText aFtObjInfo;
- FixedText aFtActInfo;
- FixedText aFtInsInfo;
+ FixedText aFtObjInfo;
+ FixedText aFtActInfo;
+ FixedText aFtInsInfo;
- FixedInfo aFiObjInfo;
- FixedInfo aFiActInfo;
- FixedInfo aFiInsInfo;
+ FixedInfo aFiObjInfo;
+ FixedInfo aFiActInfo;
+ FixedInfo aFiInsInfo;
- CancelButton aBtnCancel;
- DrawView* pDrView;
+ CancelButton aBtnCancel;
+ DrawView* pDrView;
- BOOL bCancel;
+ BOOL bCancel;
- Timer aTimer;
+ Timer aTimer;
SvdProgressInfo *pProgrInfo;
- Link aLink;
- SfxProgress *mpProgress;
+ Link aLink;
+ SfxProgress *mpProgress;
DECL_LINK( CancelButtonHdl, void* );
DECL_LINK( UpDate, void* );
diff --git a/sd/source/ui/inc/Client.hxx b/sd/source/ui/inc/Client.hxx
index 365c14efa4ba..035e168cd231 100644
--- a/sd/source/ui/inc/Client.hxx
+++ b/sd/source/ui/inc/Client.hxx
@@ -2,7 +2,7 @@
/*************************************************************************
*
* 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
@@ -48,24 +48,24 @@ class ViewShell;
class Client : public SfxInPlaceClient
{
ViewShell* mpViewShell;
- SdrOle2Obj* pSdrOle2Obj;
- SdrGrafObj* pSdrGrafObj;
+ SdrOle2Obj* pSdrOle2Obj;
+ SdrGrafObj* pSdrGrafObj;
OutlinerParaObject* pOutlinerParaObj;
virtual void ObjectAreaChanged();
virtual void RequestNewObjectArea( Rectangle& );
virtual void ViewChanged();
- virtual void MakeVisible();
+ virtual void MakeVisible();
public:
Client (SdrOle2Obj* pObj, ViewShell* pSdViewShell, ::Window* pWindow);
virtual ~Client (void);
- SdrOle2Obj* GetSdrOle2Obj() const { return pSdrOle2Obj; }
- void SetSdrGrafObj(SdrGrafObj* pObj) { pSdrGrafObj = pObj; }
- SdrGrafObj* GetSdrGrafObj() const { return pSdrGrafObj; }
- void SetOutlinerParaObj (OutlinerParaObject* pObj) { pOutlinerParaObj = pObj; }
- OutlinerParaObject* GetOutlinerParaObject () const { return pOutlinerParaObj; }
+ SdrOle2Obj* GetSdrOle2Obj() const { return pSdrOle2Obj; }
+ void SetSdrGrafObj(SdrGrafObj* pObj) { pSdrGrafObj = pObj; }
+ SdrGrafObj* GetSdrGrafObj() const { return pSdrGrafObj; }
+ void SetOutlinerParaObj (OutlinerParaObject* pObj) { pOutlinerParaObj = pObj; }
+ OutlinerParaObject* GetOutlinerParaObject () const { return pOutlinerParaObj; }
};
} // end of namespace sd
diff --git a/sd/source/ui/inc/ClientView.hxx b/sd/source/ui/inc/ClientView.hxx
index 8bf053dca341..f62d87531c12 100644
--- a/sd/source/ui/inc/ClientView.hxx
+++ b/sd/source/ui/inc/ClientView.hxx
@@ -2,7 +2,7 @@
/*************************************************************************
*
* 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
@@ -41,12 +41,12 @@ class DrawViewShell;
|*
\************************************************************************/
-class ClientView
+class ClientView
: public DrawView
{
public:
ClientView (
- DrawDocShell* pDocSh,
+ DrawDocShell* pDocSh,
OutputDevice* pOutDev,
DrawViewShell* pShell);
virtual ~ClientView (void);
diff --git a/sd/source/ui/inc/CustomAnimation.hxx b/sd/source/ui/inc/CustomAnimation.hxx
index c7eea3966cc7..00f07a6facb0 100644
--- a/sd/source/ui/inc/CustomAnimation.hxx
+++ b/sd/source/ui/inc/CustomAnimation.hxx
@@ -2,7 +2,7 @@
/*************************************************************************
*
* 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
@@ -35,7 +35,7 @@ class Window;
namespace sd {
-// extern void showCustomAnimationPane( const ::com::sun::star::uno::Reference< ::com::sun::star::drawing::XDrawView >& xView );
+// extern void showCustomAnimationPane( const ::com::sun::star::uno::Reference< ::com::sun::star::drawing::XDrawView >& xView );
extern ::Window* createCustomAnimationPane( ::Window* pParent, const ::com::sun::star::uno::Reference< ::com::sun::star::frame::XModel >& xModel );
}
diff --git a/sd/source/ui/inc/DialogListBox.hxx b/sd/source/ui/inc/DialogListBox.hxx
index 4b1e0cea8178..e663bcf83f5d 100644
--- a/sd/source/ui/inc/DialogListBox.hxx
+++ b/sd/source/ui/inc/DialogListBox.hxx
@@ -2,7 +2,7 @@
/*************************************************************************
*
* 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
@@ -37,36 +37,36 @@ namespace sd
class DialogListBox : public Control
{
private:
- ScrollBar* mpHScrollBar;
- ScrollBar* mpVScrollBar;
- ScrollBarBox* mpScrollBarBox;
- ::Window* mpChild;
- bool mbVScroll;
- bool mbHScroll;
- bool mbAutoHScroll;
- Size maMinSize, maInnerSize;
+ ScrollBar* mpHScrollBar;
+ ScrollBar* mpVScrollBar;
+ ScrollBarBox* mpScrollBarBox;
+ ::Window* mpChild;
+ bool mbVScroll;
+ bool mbHScroll;
+ bool mbAutoHScroll;
+ Size maMinSize, maInnerSize;
protected:
- virtual void GetFocus();
- virtual void StateChanged( StateChangedType nType );
+ virtual void GetFocus();
+ virtual void StateChanged( StateChangedType nType );
- long Notify( NotifyEvent& rNEvt );
+ long Notify( NotifyEvent& rNEvt );
- void ImplResizeControls();
- void ImplCheckScrollBars();
- void ImplInitScrollBars();
- void ImplResizeChild();
+ void ImplResizeControls();
+ void ImplCheckScrollBars();
+ void ImplInitScrollBars();
+ void ImplResizeChild();
- DECL_LINK( ScrollBarHdl, ScrollBar* );
+ DECL_LINK( ScrollBarHdl, ScrollBar* );
public:
DialogListBox( ::Window* pParent, WinBits nWinStyle );
~DialogListBox();
- void SetChildWindow( ::Window* pChild, const Size& rMinSize );
+ void SetChildWindow( ::Window* pChild, const Size& rMinSize );
- ::Window* GetPreferredKeyInputWindow();
- void Resize();
+ ::Window* GetPreferredKeyInputWindow();
+ void Resize();
};
diff --git a/sd/source/ui/inc/DocumentRenderer.hxx b/sd/source/ui/inc/DocumentRenderer.hxx
index 4874ddd745c2..c4f2869e1737 100644
--- a/sd/source/ui/inc/DocumentRenderer.hxx
+++ b/sd/source/ui/inc/DocumentRenderer.hxx
@@ -2,7 +2,7 @@
/*************************************************************************
*
* 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
@@ -60,13 +60,13 @@ public:
const css::uno::Any& aSelection,
const css::uno::Sequence<css::beans::PropertyValue >& xOptions)
throw (css::lang::IllegalArgumentException, css::uno::RuntimeException);
-
+
virtual css::uno::Sequence<css::beans::PropertyValue> SAL_CALL getRenderer (
sal_Int32 nRenderer,
const css::uno::Any& rSelection,
const css::uno::Sequence<css::beans::PropertyValue>& rxOptions)
throw (css::lang::IllegalArgumentException, css::uno::RuntimeException);
-
+
virtual void SAL_CALL render (
sal_Int32 nRenderer,
const css::uno::Any& rSelection,
diff --git a/sd/source/ui/inc/DrawController.hxx b/sd/source/ui/inc/DrawController.hxx
index 039f1308011e..98e7967c6ecf 100644
--- a/sd/source/ui/inc/DrawController.hxx
+++ b/sd/source/ui/inc/DrawController.hxx
@@ -2,7 +2,7 @@
/*************************************************************************
*
* 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
@@ -199,20 +199,20 @@ public:
virtual ::com::sun::star::uno::Reference< ::com::sun::star::awt::XControl > SAL_CALL getControl( const ::com::sun::star::uno::Reference< ::com::sun::star::awt::XControlModel >& xModel ) throw (::com::sun::star::container::NoSuchElementException, ::com::sun::star::uno::RuntimeException);
// XDrawView
- virtual void SAL_CALL
+ virtual void SAL_CALL
setCurrentPage (
- const ::com::sun::star::uno::Reference<
+ const ::com::sun::star::uno::Reference<
::com::sun::star::drawing::XDrawPage >& xPage)
throw(::com::sun::star::uno::RuntimeException);
virtual ::com::sun::star::uno::Reference<
- ::com::sun::star::drawing::XDrawPage > SAL_CALL
+ ::com::sun::star::drawing::XDrawPage > SAL_CALL
getCurrentPage (void)
throw(::com::sun::star::uno::RuntimeException);
// lang::XEventListener
- virtual void SAL_CALL
+ virtual void SAL_CALL
disposing (const ::com::sun::star::lang::EventObject& rEventObject)
throw (::com::sun::star::uno::RuntimeException);
@@ -224,7 +224,7 @@ public:
// XControllerManager
-
+
virtual css::uno::Reference<css::drawing::framework::XConfigurationController> SAL_CALL
getConfigurationController (void)
throw (::com::sun::star::uno::RuntimeException);
@@ -232,8 +232,8 @@ public:
virtual css::uno::Reference<css::drawing::framework::XModuleController> SAL_CALL
getModuleController (void)
throw (::com::sun::star::uno::RuntimeException);
-
-
+
+
// XUnoTunnel
virtual sal_Int64 SAL_CALL getSomething (const com::sun::star::uno::Sequence<sal_Int8>& rId)
@@ -244,7 +244,7 @@ protected:
contains all property names and types of this object.
*/
virtual ::cppu::IPropertyArrayHelper & SAL_CALL getInfoHelper();
-
+
virtual void FillPropertyTable (
::std::vector< ::com::sun::star::beans::Property>& rProperties);
@@ -257,9 +257,9 @@ protected:
sal_Int32 nHandle ) const;
/** Convert the value rValue and return the result in rConvertedValue and the
- old value in rOldValue.
+ old value in rOldValue.
After this call the vetoable listeners are notified.
-
+
@param rConvertedValue
The converted value. Only set if return is true.
@param rOldValue
@@ -290,7 +290,7 @@ protected:
*/
void ThrowIfDisposed (void) const
throw (::com::sun::star::lang::DisposedException);
-
+
using cppu::OPropertySetHelper::disposing;
using cppu::OPropertySetHelper::getFastPropertyValue;
diff --git a/sd/source/ui/inc/DrawDocShell.hxx b/sd/source/ui/inc/DrawDocShell.hxx
index ec3a9b33f018..65d28656fe04 100644
--- a/sd/source/ui/inc/DrawDocShell.hxx
+++ b/sd/source/ui/inc/DrawDocShell.hxx
@@ -2,7 +2,7 @@
/*************************************************************************
*
* 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
@@ -86,12 +86,12 @@ public:
virtual ~DrawDocShell();
void UpdateRefDevice();
- virtual void Activate( BOOL bMDI );
- virtual void Deactivate( BOOL bMDI );
+ virtual void Activate( BOOL bMDI );
+ virtual void Deactivate( BOOL bMDI );
virtual BOOL InitNew( const ::com::sun::star::uno::Reference< ::com::sun::star::embed::XStorage >& xStorage );
virtual sal_Bool ImportFrom( SfxMedium &rMedium );
- virtual BOOL ConvertFrom( SfxMedium &rMedium );
- virtual BOOL Save();
+ virtual BOOL ConvertFrom( SfxMedium &rMedium );
+ virtual BOOL Save();
virtual BOOL SaveAsOwnFormat( SfxMedium& rMedium );
virtual BOOL ConvertTo( SfxMedium &rMedium );
virtual BOOL SaveCompleted( const ::com::sun::star::uno::Reference< ::com::sun::star::embed::XStorage >& xStorage );
@@ -101,13 +101,13 @@ public:
virtual sal_Bool SaveAs( SfxMedium &rMedium );
virtual Rectangle GetVisArea(USHORT nAspect) const;
- virtual void Draw(OutputDevice*, const JobSetup& rSetup, USHORT nAspect = ASPECT_CONTENT);
+ virtual void Draw(OutputDevice*, const JobSetup& rSetup, USHORT nAspect = ASPECT_CONTENT);
virtual SfxUndoManager* GetUndoManager();
virtual Printer* GetDocumentPrinter();
virtual void OnDocumentPrinterChanged(Printer* pNewPrinter);
virtual SfxStyleSheetBasePool* GetStyleSheetPool();
- virtual void SetOrganizerSearchMask(SfxStyleSheetBasePool* pBasePool) const;
- virtual Size GetFirstPageSize();
+ virtual void SetOrganizerSearchMask(SfxStyleSheetBasePool* pBasePool) const;
+ virtual Size GetFirstPageSize();
virtual void FillClass(SvGlobalName* pClassName, sal_uInt32* pFormat, String* pAppName, String* pFullTypeName, String* pShortTypeName, sal_Int32 nFileFormat, sal_Bool bTemplate = sal_False ) const;
virtual void SetModified( BOOL = TRUE );
@@ -117,28 +117,28 @@ public:
sd::ViewShell* GetViewShell() { return mpViewShell; }
::sd::FrameView* GetFrameView();
- ::sd::FunctionReference GetDocShellFunction() const { return mxDocShellFunction; }
+ ::sd::FunctionReference GetDocShellFunction() const { return mxDocShellFunction; }
void SetDocShellFunction( const ::sd::FunctionReference& xFunction );
SdDrawDocument* GetDoc();
DocumentType GetDocumentType() const { return meDocType; }
SfxPrinter* GetPrinter(BOOL bCreate);
- void SetPrinter(SfxPrinter *pNewPrinter);
- void UpdateFontList();
+ void SetPrinter(SfxPrinter *pNewPrinter);
+ void UpdateFontList();
BOOL IsInDestruction() const { return mbInDestruction; }
- void CancelSearching();
+ void CancelSearching();
- void Execute( SfxRequest& rReq );
- void GetState(SfxItemSet&);
+ void Execute( SfxRequest& rReq );
+ void GetState(SfxItemSet&);
- void Connect(sd::ViewShell* pViewSh);
- void Disconnect(sd::ViewShell* pViewSh);
- void UpdateTablePointers();
+ void Connect(sd::ViewShell* pViewSh);
+ void Disconnect(sd::ViewShell* pViewSh);
+ void UpdateTablePointers();
- BOOL GotoBookmark(const String& rBookmark);
+ BOOL GotoBookmark(const String& rBookmark);
Bitmap GetPagePreviewBitmap(SdPage* pPage, USHORT nMaxEdgePixel);
@@ -157,17 +157,17 @@ public:
a default name of a not-yet-existing slide (e.g. 'Slide 17'),
TRUE is returned, but rName is set to an empty string.
*/
- BOOL CheckPageName(::Window* pWin, String& rName );
+ BOOL CheckPageName(::Window* pWin, String& rName );
void SetSlotFilter(BOOL bEnable = FALSE, USHORT nCount = 0, const USHORT* pSIDs = NULL) { mbFilterEnable = bEnable; mnFilterCount = nCount; mpFilterSIDs = pSIDs; }
void ApplySlotFilter() const;
- UINT16 GetStyleFamily() const { return mnStyleFamily; }
- void SetStyleFamily( UINT16 nSF ) { mnStyleFamily = nSF; }
+ UINT16 GetStyleFamily() const { return mnStyleFamily; }
+ void SetStyleFamily( UINT16 nSF ) { mnStyleFamily = nSF; }
/** executes the SID_OPENDOC slot to let the framework open a document
with the given URL and this document as a referer */
- void OpenBookmark( const String& rBookmarkURL );
+ void OpenBookmark( const String& rBookmarkURL );
/** checks, if the given name is a valid new name for a slide
@@ -206,28 +206,28 @@ public:
// #91457# ExecuteSpellPopup now handled by DrawDocShell
DECL_LINK( OnlineSpellCallback, SpellCallbackInfo* );
- void ClearUndoBuffer();
+ void ClearUndoBuffer();
protected:
- SdDrawDocument* mpDoc;
- SfxUndoManager* mpUndoManager;
- SfxPrinter* mpPrinter;
- ::sd::ViewShell* mpViewShell;
- FontList* mpFontList;
- ::sd::FunctionReference mxDocShellFunction;
+ SdDrawDocument* mpDoc;
+ SfxUndoManager* mpUndoManager;
+ SfxPrinter* mpPrinter;
+ ::sd::ViewShell* mpViewShell;
+ FontList* mpFontList;
+ ::sd::FunctionReference mxDocShellFunction;
DocumentType meDocType;
- UINT16 mnStyleFamily;
+ UINT16 mnStyleFamily;
const USHORT* mpFilterSIDs;
USHORT mnFilterCount;
BOOL mbFilterEnable;
- BOOL mbSdDataObj;
+ BOOL mbSdDataObj;
BOOL mbInDestruction;
- BOOL mbOwnPrinter;
+ BOOL mbOwnPrinter;
BOOL mbNewDocument;
- bool mbOwnDocument; // if true, we own mpDoc and will delete it in our d'tor
- void Construct(bool bClipboard);
+ bool mbOwnDocument; // if true, we own mpDoc and will delete it in our d'tor
+ void Construct(bool bClipboard);
virtual void InPlaceActivate( BOOL bActive );
};
diff --git a/sd/source/ui/inc/DrawSubController.hxx b/sd/source/ui/inc/DrawSubController.hxx
index 9950296ef63c..3c83bb8cc96f 100644
--- a/sd/source/ui/inc/DrawSubController.hxx
+++ b/sd/source/ui/inc/DrawSubController.hxx
@@ -2,7 +2,7 @@
/*************************************************************************
*
* 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
diff --git a/sd/source/ui/inc/DrawViewShell.hxx b/sd/source/ui/inc/DrawViewShell.hxx
index 4943da811f69..be9207f6d1f6 100644
--- a/sd/source/ui/inc/DrawViewShell.hxx
+++ b/sd/source/ui/inc/DrawViewShell.hxx
@@ -2,7 +2,7 @@
/*************************************************************************
*
* 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
@@ -100,7 +100,7 @@ public:
virtual void Init (bool bIsMainViewShell);
virtual void Shutdown (void);
-
+
void PrePaint();
virtual void Paint(const Rectangle& rRect, ::sd::Window* pWin);
@@ -122,7 +122,7 @@ public:
@param rSize
The new size in pixel.
*/
- // virtual void AdjustPosSizePixel(const Point &rPos, const Size &rSize);
+ // virtual void AdjustPosSizePixel(const Point &rPos, const Size &rSize);
/** Arrange and resize the GUI elements like rulers, sliders, and
buttons as well as the actual document view according to the size of
@@ -131,7 +131,7 @@ public:
*/
virtual void ArrangeGUIElements (void);
- void HidePage();
+ void HidePage();
virtual BOOL KeyInput(const KeyEvent& rKEvt, ::sd::Window* pWin);
virtual void MouseMove(const MouseEvent& rMEvt, ::sd::Window* pWin);
@@ -151,77 +151,77 @@ public:
virtual void SetZoom( long nZoom );
virtual void SetZoomRect( const Rectangle& rZoomRect );
- void InsertURLField(const String& rURL, const String& rText, const String& rTarget,
+ void InsertURLField(const String& rURL, const String& rText, const String& rTarget,
const Point* pPos);
- void InsertURLButton(const String& rURL, const String& rText, const String& rTarget,
+ void InsertURLButton(const String& rURL, const String& rText, const String& rTarget,
const Point* pPos);
virtual void SetUIUnit(FieldUnit eUnit);
- void SelectionHasChanged();
- void ModelHasChanged();
+ void SelectionHasChanged();
+ void ModelHasChanged();
virtual void Activate(BOOL bIsMDIActivate);
virtual void Deactivate(BOOL IsMDIActivate);
virtual void UIActivating( SfxInPlaceClient* );
virtual void UIDeactivated( SfxInPlaceClient* );
- virtual String GetSelectionText( BOOL bCompleteWords = FALSE );
+ virtual String GetSelectionText( BOOL bCompleteWords = FALSE );
virtual BOOL HasSelection( BOOL bText = TRUE ) const;
- void ExecCtrl(SfxRequest& rReq);
- void GetCtrlState(SfxItemSet& rSet);
- void GetMenuState(SfxItemSet& rSet);
- void GetTableMenuState(SfxItemSet& rSet);
+ void ExecCtrl(SfxRequest& rReq);
+ void GetCtrlState(SfxItemSet& rSet);
+ void GetMenuState(SfxItemSet& rSet);
+ void GetTableMenuState(SfxItemSet& rSet);
/** Set the items of the given item set that are related to
switching the editing mode to the correct values.
<p>This function also sets the states of the mode buttons
(those at the upper right corner) accordingly.</p>
*/
void GetModeSwitchingMenuState (SfxItemSet &rSet);
- void GetAttrState(SfxItemSet& rSet);
- void GetSnapItemState(SfxItemSet& rSet);
+ void GetAttrState(SfxItemSet& rSet);
+ void GetSnapItemState(SfxItemSet& rSet);
- void GetState (SfxItemSet& rSet);
+ void GetState (SfxItemSet& rSet);
void Execute (SfxRequest& rReq);
- void ExecStatusBar(SfxRequest& rReq);
- void GetStatusBarState(SfxItemSet& rSet);
+ void ExecStatusBar(SfxRequest& rReq);
+ void GetStatusBarState(SfxItemSet& rSet);
- void ExecOptionsBar(SfxRequest& rReq);
- void GetOptionsBarState(SfxItemSet& rSet);
+ void ExecOptionsBar(SfxRequest& rReq);
+ void GetOptionsBarState(SfxItemSet& rSet);
- void ExecRuler(SfxRequest& rReq);
- void GetRulerState(SfxItemSet& rSet);
+ void ExecRuler(SfxRequest& rReq);
+ void GetRulerState(SfxItemSet& rSet);
- void ExecFormText(SfxRequest& rReq);
- void GetFormTextState(SfxItemSet& rSet);
+ void ExecFormText(SfxRequest& rReq);
+ void GetFormTextState(SfxItemSet& rSet);
- void ExecAnimationWin(SfxRequest& rReq);
- void GetAnimationWinState(SfxItemSet& rSet);
+ void ExecAnimationWin(SfxRequest& rReq);
+ void GetAnimationWinState(SfxItemSet& rSet);
- void ExecNavigatorWin(SfxRequest& rReq);
- void GetNavigatorWinState(SfxItemSet& rSet);
+ void ExecNavigatorWin(SfxRequest& rReq);
+ void GetNavigatorWinState(SfxItemSet& rSet);
- void ExecEffectWin(SfxRequest& rReq);
+ void ExecEffectWin(SfxRequest& rReq);
- void Update3DWindow();
- void AssignFrom3DWindow();
+ void Update3DWindow();
+ void AssignFrom3DWindow();
- void ExecGallery(SfxRequest& rReq);
- void GetGalleryState(SfxItemSet& rSet);
+ void ExecGallery(SfxRequest& rReq);
+ void GetGalleryState(SfxItemSet& rSet);
- void ExecBmpMask( SfxRequest& rReq );
- void GetBmpMaskState( SfxItemSet& rSet );
+ void ExecBmpMask( SfxRequest& rReq );
+ void GetBmpMaskState( SfxItemSet& rSet );
- void ExecIMap( SfxRequest& rReq );
- void GetIMapState( SfxItemSet& rSet );
+ void ExecIMap( SfxRequest& rReq );
+ void GetIMapState( SfxItemSet& rSet );
- void FuTemporary(SfxRequest& rReq);
- void FuPermanent(SfxRequest& rReq);
- void FuSupport(SfxRequest& rReq);
- void FuTable(SfxRequest& rReq);
+ void FuTemporary(SfxRequest& rReq);
+ void FuPermanent(SfxRequest& rReq);
+ void FuSupport(SfxRequest& rReq);
+ void FuTable(SfxRequest& rReq);
- void AttrExec (SfxRequest& rReq);
- void AttrState (SfxItemSet& rSet);
+ void AttrExec (SfxRequest& rReq);
+ void AttrState (SfxItemSet& rSet);
void ExecuteAnnotation (SfxRequest& rRequest);
void GetAnnotationState (SfxItemSet& rItemSet);
@@ -232,24 +232,24 @@ public:
virtual USHORT PrepareClose( BOOL bUI = TRUE, BOOL bForBrowsing = FALSE );
- PageKind GetPageKind() { return mePageKind; }
+ PageKind GetPageKind() { return mePageKind; }
- Point GetMousePos() { return maMousePos; }
- BOOL IsMousePosFreezed() { return mbMousePosFreezed; }
- void SetMousePosFreezed( BOOL bIn ) { mbMousePosFreezed = bIn; }
+ Point GetMousePos() { return maMousePos; }
+ BOOL IsMousePosFreezed() { return mbMousePosFreezed; }
+ void SetMousePosFreezed( BOOL bIn ) { mbMousePosFreezed = bIn; }
- EditMode GetEditMode() const { return meEditMode; }
- virtual SdPage* GetActualPage() { return mpActualPage; }
+ EditMode GetEditMode() const { return meEditMode; }
+ virtual SdPage* GetActualPage() { return mpActualPage; }
/// inherited from sd::ViewShell
virtual SdPage* getCurrentPage() const;
- void ResetActualPage();
- void ResetActualLayer();
- BOOL SwitchPage(USHORT nPage);
- BOOL IsSwitchPageAllowed() const;
+ void ResetActualPage();
+ void ResetActualLayer();
+ BOOL SwitchPage(USHORT nPage);
+ BOOL IsSwitchPageAllowed() const;
- BOOL GotoBookmark(const String& rBookmark);
+ BOOL GotoBookmark(const String& rBookmark);
void MakeVisible(const Rectangle& rRect, ::Window& rWin);
virtual void ReadFrameViewData(FrameView* pView);
@@ -258,22 +258,22 @@ public:
virtual ErrCode DoVerb(long nVerb);
virtual BOOL ActivateObject(SdrOle2Obj* pObj, long nVerb);
- void SetZoomOnPage( BOOL bZoom = TRUE ) { mbZoomOnPage = bZoom; }
- BOOL IsZoomOnPage() { return mbZoomOnPage; }
- void CheckLineTo (SfxRequest& rReq);
- void FuTemp01(SfxRequest& rReq);
- void FuTemp02(SfxRequest& rReq);
- void FuTemp03(SfxRequest& rReq);
- void FuTemp04(SfxRequest& rReq);
- void SetChildWindowState( SfxItemSet& rSet );
+ void SetZoomOnPage( BOOL bZoom = TRUE ) { mbZoomOnPage = bZoom; }
+ BOOL IsZoomOnPage() { return mbZoomOnPage; }
+ void CheckLineTo (SfxRequest& rReq);
+ void FuTemp01(SfxRequest& rReq);
+ void FuTemp02(SfxRequest& rReq);
+ void FuTemp03(SfxRequest& rReq);
+ void FuTemp04(SfxRequest& rReq);
+ void SetChildWindowState( SfxItemSet& rSet );
- void UpdateIMapDlg( SdrObject* pObj );
+ void UpdateIMapDlg( SdrObject* pObj );
- void LockInput();
- void UnlockInput();
- BOOL IsInputLocked() const { return mnLockCount > 0UL; }
+ void LockInput();
+ void UnlockInput();
+ BOOL IsInputLocked() const { return mnLockCount > 0UL; }
- USHORT GetCurPageId() { return( maTabControl.GetCurPageId() ); }
+ USHORT GetCurPageId() { return( maTabControl.GetCurPageId() ); }
/** Show controls of the UI or hide them, depending on the given flag.
Do not call this method directly. Call the method at ViewShellBase
@@ -281,11 +281,11 @@ public:
*/
virtual void ShowUIControls (bool bVisible = true);
- void ScannerEvent( const ::com::sun::star::lang::EventObject& rEventObject );
+ void ScannerEvent( const ::com::sun::star::lang::EventObject& rEventObject );
bool IsLayerModeActive (void) const;
- USHORT* GetSlotArray() const { return mpSlotArray; }
+ USHORT* GetSlotArray() const { return mpSlotArray; }
virtual sal_Int8 AcceptDrop( const AcceptDropEvent& rEvt, DropTargetHelper& rTargetHelper,
::sd::Window* pTargetWindow, USHORT nPage, USHORT nLayer );
@@ -360,8 +360,8 @@ public:
void ModifyLayer( SdrLayer* pLayer, const String& rLayerName, const String& rLayerTitle, const String& rLayerDesc, bool bIsVisible, bool bIsLocked, bool bIsPrintable );
virtual css::uno::Reference<css::drawing::XDrawSubController> CreateSubController (void);
-
- DrawView* GetDrawView() const { return mpDrawView; }
+
+ DrawView* GetDrawView() const { return mpDrawView; }
/** Relocation to a new parent window is not supported for DrawViewShell
objects so this method always returns <FALSE/>.
@@ -369,22 +369,22 @@ public:
virtual bool RelocateToParentWindow (::Window* pParentWindow);
protected:
- DrawView* mpDrawView;
- SdPage* mpActualPage;
- Rectangle maMarkRect;
- Point maMousePos;
- BOOL mbMousePosFreezed;
- TabControl maTabControl;
- EditMode meEditMode;
- PageKind mePageKind;
- BOOL mbZoomOnPage;
- BOOL mbIsRulerDrag;
- ULONG mnLockCount;
- Timer maCloseTimer;
- BOOL mbReadOnly;
- USHORT* mpSlotArray;
-
- static BOOL mbPipette;
+ DrawView* mpDrawView;
+ SdPage* mpActualPage;
+ Rectangle maMarkRect;
+ Point maMousePos;
+ BOOL mbMousePosFreezed;
+ TabControl maTabControl;
+ EditMode meEditMode;
+ PageKind mePageKind;
+ BOOL mbZoomOnPage;
+ BOOL mbIsRulerDrag;
+ ULONG mnLockCount;
+ Timer maCloseTimer;
+ BOOL mbReadOnly;
+ USHORT* mpSlotArray;
+
+ static BOOL mbPipette;
DECL_LINK( ClipboardChanged, TransferableDataHelper* );
DECL_LINK( CloseHdl, Timer* pTimer );
@@ -392,8 +392,8 @@ protected:
DECL_LINK( NameObjectHdl, AbstractSvxNameDialog* );
DECL_LINK( RenameSlideHdl, AbstractSvxNameDialog* );
- void DeleteActualPage();
- void DeleteActualLayer();
+ void DeleteActualPage();
+ void DeleteActualLayer();
virtual SvxRuler* CreateHRuler(::sd::Window* pWin, BOOL bIsFirst);
virtual SvxRuler* CreateVRuler(::sd::Window* pWin);
@@ -406,13 +406,13 @@ protected:
void SetupPage( Size &rSize, long nLeft, long nRight, long nUpper, long nLower,
BOOL bSize, BOOL bMargin, BOOL bScaleAll );
- USHORT GetIdBySubId( USHORT nSId );
- void MapSlot( USHORT nSId );
- void UpdateToolboxImages( SfxItemSet &rSet, BOOL bPermanent = TRUE );
- USHORT GetMappedSlot( USHORT nSId );
- USHORT GetArrayId( USHORT nSId );
+ USHORT GetIdBySubId( USHORT nSId );
+ void MapSlot( USHORT nSId );
+ void UpdateToolboxImages( SfxItemSet &rSet, BOOL bPermanent = TRUE );
+ USHORT GetMappedSlot( USHORT nSId );
+ USHORT GetArrayId( USHORT nSId );
- void GetMenuStateSel(SfxItemSet& rSet);
+ void GetMenuStateSel(SfxItemSet& rSet);
private:
/** This flag controls whether the layer mode is active, i.e. the layer
@@ -446,10 +446,10 @@ private:
PageKind ePageKind,
SdPage* pPage);
- ::com::sun::star::uno::Reference< ::com::sun::star::scanner::XScannerManager > mxScannerManager;
- ::com::sun::star::uno::Reference< ::com::sun::star::lang::XEventListener > mxScannerListener;
+ ::com::sun::star::uno::Reference< ::com::sun::star::scanner::XScannerManager > mxScannerManager;
+ ::com::sun::star::uno::Reference< ::com::sun::star::lang::XEventListener > mxScannerListener;
TransferableClipboardListener* mpClipEvtLstnr;
- BOOL mbPastePossible;
+ BOOL mbPastePossible;
virtual void Notify (SfxBroadcaster& rBC, const SfxHint& rHint);
@@ -488,7 +488,7 @@ private:
const Point& rMouseLocation);
using ViewShell::Notify;
-
+
::std::auto_ptr< AnnotationManager > mpAnnotationManager;
::std::auto_ptr< ViewOverlayManager > mpViewOverlayManager;
};
diff --git a/sd/source/ui/inc/EventMultiplexer.hxx b/sd/source/ui/inc/EventMultiplexer.hxx
index 439cc733bcc7..79615390c394 100644
--- a/sd/source/ui/inc/EventMultiplexer.hxx
+++ b/sd/source/ui/inc/EventMultiplexer.hxx
@@ -2,7 +2,7 @@
/*************************************************************************
*
* 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
@@ -48,14 +48,14 @@ public:
typedef sal_uInt32 EventId;
/** The EventMultiplexer itself is being disposed. Called for a live
EventMultiplexer. Removing a listener as response is not necessary,
- though.
+ though.
*/
static const EventId EID_DISPOSING = 0x00000001;
-
+
/** The selection in the center pane has changed.
*/
static const EventId EID_EDIT_VIEW_SELECTION = 0x00000002;
-
+
/** The selection in the slide sorter has changed, regardless of whether
the slide sorter is displayed in the left pane or the center pane.
*/
@@ -69,7 +69,7 @@ public:
pane) has been removed.
*/
static const EventId EID_MAIN_VIEW_REMOVED = 0x00000010;
-
+
/** A new ViewShell has been made the MainViewShell.
*/
static const EventId EID_MAIN_VIEW_ADDED = 0x00000020;
@@ -102,7 +102,7 @@ public:
/** Text editing in one of the shapes in the MainViewShell has started.
*/
static const EventId EID_BEGIN_TEXT_EDIT = 0x00000800;
-
+
/** Text editing in one of the shapes in the MainViewShell has ended.
*/
static const EventId EID_END_TEXT_EDIT = 0x00001000;
@@ -110,7 +110,7 @@ public:
/** A UNO controller has been attached to the UNO frame.
*/
static const EventId EID_CONTROLLER_ATTACHED = 0x00002000;
-
+
/** A UNO controller has been detached to the UNO frame.
*/
static const EventId EID_CONTROLLER_DETACHED = 0x00004000;
@@ -120,7 +120,7 @@ public:
static const EventId EID_SHAPE_CHANGED = 0x00008000;
/** A shape has been inserted to a page. The page is available in the
- user data.
+ user data.
*/
static const EventId EID_SHAPE_INSERTED = 0x00010000;
@@ -157,7 +157,7 @@ public:
When a listener is registered it can specify the events it
wants to be informed of. This can be done with code like the following:
-
+
mrViewShellBase.GetEventMultiplexer().AddEventListener (
LINK(this,MasterPagesSelector,EventMultiplexerListener),
tools::EventMultiplexerEvent::EID_MAIN_VIEW_ADDED
@@ -187,7 +187,7 @@ public:
be informed about.
*/
void AddEventListener (
- Link& rCallback,
+ Link& rCallback,
EventMultiplexerEvent::EventId aEventTypeSet);
/** Remove an event listener for the specified event types.
@@ -198,7 +198,7 @@ public:
for.
*/
void RemoveEventListener (
- Link& rCallback,
+ Link& rCallback,
EventMultiplexerEvent::EventId aEventTypeSet = EID_FULL_SET);
/** This method is used for out-of-line events. An event of the
diff --git a/sd/source/ui/inc/FormShellManager.hxx b/sd/source/ui/inc/FormShellManager.hxx
index 54b20ddfcfea..1e2ee86080a7 100644
--- a/sd/source/ui/inc/FormShellManager.hxx
+++ b/sd/source/ui/inc/FormShellManager.hxx
@@ -2,7 +2,7 @@
/*************************************************************************
*
* 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
@@ -50,7 +50,7 @@ class ViewShellBase;
The form shell is moved above the view shell when the form shell is
activated, i.e. the FormControlActivated handler is called.
-
+
It is moved below the view shell when the main window of the
main view shell is focused.
diff --git a/sd/source/ui/inc/FrameView.hxx b/sd/source/ui/inc/FrameView.hxx
index 857a1486d700..55a259581a98 100644
--- a/sd/source/ui/inc/FrameView.hxx
+++ b/sd/source/ui/inc/FrameView.hxx
@@ -2,7 +2,7 @@
/*************************************************************************
*
* 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
@@ -43,7 +43,7 @@ namespace sd {
|* View fuer den MDIFrame
|*
\************************************************************************/
-class FrameView
+class FrameView
: public SdrView
{
public:
@@ -121,7 +121,7 @@ public:
document is loaded.
*/
void SetViewShEditModeOnLoad (const EditMode eMode);
-
+
/** Return the value of the edit mode as it was when the document was
loaded.
*/
@@ -135,14 +135,14 @@ public:
{ mbQuickEdit = bQEdit; }
BOOL IsQuickEdit() const { return mbQuickEdit; }
- void SetBigHandles( BOOL bOn = TRUE ) { mbBigHandles = bOn; }
- BOOL IsBigHandles() const { return mbBigHandles; }
+ void SetBigHandles( BOOL bOn = TRUE ) { mbBigHandles = bOn; }
+ BOOL IsBigHandles() const { return mbBigHandles; }
- void SetDoubleClickTextEdit( BOOL bOn = TRUE ) { mbDoubleClickTextEdit = bOn; }
- BOOL IsDoubleClickTextEdit() const { return mbDoubleClickTextEdit; }
+ void SetDoubleClickTextEdit( BOOL bOn = TRUE ) { mbDoubleClickTextEdit = bOn; }
+ BOOL IsDoubleClickTextEdit() const { return mbDoubleClickTextEdit; }
- void SetClickChangeRotation( BOOL bOn = TRUE ) { mbClickChangeRotation = bOn; }
- BOOL IsClickChangeRotation() const { return mbClickChangeRotation; }
+ void SetClickChangeRotation( BOOL bOn = TRUE ) { mbClickChangeRotation = bOn; }
+ BOOL IsClickChangeRotation() const { return mbClickChangeRotation; }
/** Remember the type of the view shell that was (or soon will be)
previously associated with this frame view.
@@ -163,7 +163,7 @@ public:
void SetViewShellTypeOnLoad (ViewShell::ShellType eType);
ViewShell::ShellType GetViewShellTypeOnLoad (void) const;
-
+
void SetPresentationViewShellId(USHORT nId)
{ mnPresViewShellId = nId; }
USHORT GetPresentationViewShellId() const { return mnPresViewShellId; }
@@ -187,41 +187,41 @@ public:
virtual void ReadUserDataSequence ( const ::com::sun::star::uno::Sequence < ::com::sun::star::beans::PropertyValue >&, sal_Bool bBrowse = sal_False );
private:
- USHORT mnRefCount;
- VirtualDevice* mpVDev;
- BOOL mbRuler;
- SetOfByte maVisibleLayers;
- SetOfByte maLockedLayers;
- SetOfByte maPrintableLayers;
+ USHORT mnRefCount;
+ VirtualDevice* mpVDev;
+ BOOL mbRuler;
+ SetOfByte maVisibleLayers;
+ SetOfByte maLockedLayers;
+ SetOfByte maPrintableLayers;
SdrHelpLineList maStandardHelpLines;
SdrHelpLineList maNotesHelpLines;
SdrHelpLineList maHandoutHelpLines;
- BOOL mbNoColors; // Gliederungsmodus
- BOOL mbNoAttribs; // Gliederungsmodus
- Rectangle maVisArea; // Sichtbarer Bereich
- PageKind mePageKind; // Seitentyp (Standard, Notizen, Handzettel)
- USHORT mnSelectedPage; // Selektierte Seite
- PageKind mePageKindOnLoad;
- USHORT mnSelectedPageOnLoad;
+ BOOL mbNoColors; // Gliederungsmodus
+ BOOL mbNoAttribs; // Gliederungsmodus
+ Rectangle maVisArea; // Sichtbarer Bereich
+ PageKind mePageKind; // Seitentyp (Standard, Notizen, Handzettel)
+ USHORT mnSelectedPage; // Selektierte Seite
+ PageKind mePageKindOnLoad;
+ USHORT mnSelectedPageOnLoad;
EditMode meStandardEditMode; // Editmode im Zeichenmodus (Page/MasterPage)
EditMode meNotesEditMode; // Editmode im Notizen-Modus (Page/MasterPage)
EditMode meHandoutEditMode; // Editmode im Handzettel-Modus (Page/MasterPage)
EditMode meEditModeOnLoad;
- BOOL mbLayerMode; // Layer an/aus
- BOOL mbQuickEdit; // QuickEdit an/aus
- BOOL mbBigHandles; // Grosse Handles
- BOOL mbDoubleClickTextEdit; // Textmodus nach Doppelklick
- BOOL mbClickChangeRotation; // Einfachklick wechselt Selektions-/Rotationsmodus
- USHORT mnPresViewShellId; // ViewShell aus der die Pres. gestartet wurde
- USHORT mnSlotId; // SlotId, welche initial ausgefuehrt wird
+ BOOL mbLayerMode; // Layer an/aus
+ BOOL mbQuickEdit; // QuickEdit an/aus
+ BOOL mbBigHandles; // Grosse Handles
+ BOOL mbDoubleClickTextEdit; // Textmodus nach Doppelklick
+ BOOL mbClickChangeRotation; // Einfachklick wechselt Selektions-/Rotationsmodus
+ USHORT mnPresViewShellId; // ViewShell aus der die Pres. gestartet wurde
+ USHORT mnSlotId; // SlotId, welche initial ausgefuehrt wird
USHORT mnSlidesPerRow; // Dias pro Reihe auf dem Diatisch
- ULONG mnDrawMode; // Drawmode fuer das normale Fenster
+ ULONG mnDrawMode; // Drawmode fuer das normale Fenster
double mnTabCtrlPercent;
/** Remember whether the navigator shows all shapes (<TRUE/>) or only
the names ones (<FALSE/>). Not persistent.
*/
bool mbIsNavigatorShowingAllShapes;
-
+
/** The type of the previous view shell. The (default) value
ViewShell::ST_NONE indicates that there was no previous view shell.
Note that this value is used only temporarily and is not saved or
diff --git a/sd/source/ui/inc/GraphicDocShell.hxx b/sd/source/ui/inc/GraphicDocShell.hxx
index 4e36f7447862..7f8195bb5aa3 100644
--- a/sd/source/ui/inc/GraphicDocShell.hxx
+++ b/sd/source/ui/inc/GraphicDocShell.hxx
@@ -2,7 +2,7 @@
/*************************************************************************
*
* 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
diff --git a/sd/source/ui/inc/GraphicObjectBar.hxx b/sd/source/ui/inc/GraphicObjectBar.hxx
index cbb3f212e6c3..499585453ce7 100644
--- a/sd/source/ui/inc/GraphicObjectBar.hxx
+++ b/sd/source/ui/inc/GraphicObjectBar.hxx
@@ -2,7 +2,7 @@
/*************************************************************************
*
* 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
@@ -39,7 +39,7 @@ class View;
class ViewShell;
-class GraphicObjectBar
+class GraphicObjectBar
: public SfxShell
{
public:
@@ -49,16 +49,16 @@ public:
GraphicObjectBar (ViewShell* pSdViewShell, ::sd::View* pSdView);
virtual ~GraphicObjectBar (void);
- void GetAttrState( SfxItemSet& rSet );
- void Execute( SfxRequest& rReq );
+ void GetAttrState( SfxItemSet& rSet );
+ void Execute( SfxRequest& rReq );
- void GetFilterState( SfxItemSet& rSet );
- void ExecuteFilter( SfxRequest& rReq );
+ void GetFilterState( SfxItemSet& rSet );
+ void ExecuteFilter( SfxRequest& rReq );
protected:
::sd::View* mpView;
- ViewShell* mpViewSh;
- USHORT nMappedSlotFilter;
+ ViewShell* mpViewSh;
+ USHORT nMappedSlotFilter;
};
diff --git a/sd/source/ui/inc/GraphicViewShell.hxx b/sd/source/ui/inc/GraphicViewShell.hxx
index eda0fbf2ecdf..c6bbd17254f7 100644
--- a/sd/source/ui/inc/GraphicViewShell.hxx
+++ b/sd/source/ui/inc/GraphicViewShell.hxx
@@ -2,7 +2,7 @@
/*************************************************************************
*
* 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
@@ -61,7 +61,7 @@ public:
one view shell to the next.
*/
GraphicViewShell (
- SfxViewFrame* pFrame,
+ SfxViewFrame* pFrame,
ViewShellBase& rViewShellBase,
::Window* pParentWindow,
FrameView* pFrameView = NULL);
diff --git a/sd/source/ui/inc/GraphicViewShellBase.hxx b/sd/source/ui/inc/GraphicViewShellBase.hxx
index c7f6417395da..cf0d5c182275 100644
--- a/sd/source/ui/inc/GraphicViewShellBase.hxx
+++ b/sd/source/ui/inc/GraphicViewShellBase.hxx
@@ -2,7 +2,7 @@
/*************************************************************************
*
* 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
diff --git a/sd/source/ui/inc/ImpressViewShellBase.hxx b/sd/source/ui/inc/ImpressViewShellBase.hxx
index 852e95a4dc23..62bf183dfcd3 100644
--- a/sd/source/ui/inc/ImpressViewShellBase.hxx
+++ b/sd/source/ui/inc/ImpressViewShellBase.hxx
@@ -2,7 +2,7 @@
/*************************************************************************
*
* 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
diff --git a/sd/source/ui/inc/LayerDialog.hrc b/sd/source/ui/inc/LayerDialog.hrc
index 88323539fb99..74e29a789761 100644
--- a/sd/source/ui/inc/LayerDialog.hrc
+++ b/sd/source/ui/inc/LayerDialog.hrc
@@ -1,7 +1,7 @@
/*************************************************************************
*
* 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
@@ -26,4 +26,4 @@
************************************************************************/
#define FLT_WIN_LAYER_DIALOG 791
-#define TB_LAYERS 1
+#define TB_LAYERS 1
diff --git a/sd/source/ui/inc/LayerDialogChildWindow.hxx b/sd/source/ui/inc/LayerDialogChildWindow.hxx
index 71c42d81a419..3b57242c7189 100644
--- a/sd/source/ui/inc/LayerDialogChildWindow.hxx
+++ b/sd/source/ui/inc/LayerDialogChildWindow.hxx
@@ -2,7 +2,7 @@
/*************************************************************************
*
* 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
@@ -41,8 +41,8 @@ class LayerDialogChildWindow
{
public:
LayerDialogChildWindow (
- ::Window*,
- USHORT,
+ ::Window*,
+ USHORT,
SfxBindings*,
SfxChildWinInfo*);
virtual ~LayerDialogChildWindow (void);
diff --git a/sd/source/ui/inc/LayerDialogContent.hxx b/sd/source/ui/inc/LayerDialogContent.hxx
index e9910284c19d..738c4f2a428c 100644
--- a/sd/source/ui/inc/LayerDialogContent.hxx
+++ b/sd/source/ui/inc/LayerDialogContent.hxx
@@ -2,7 +2,7 @@
/*************************************************************************
*
* 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
@@ -37,14 +37,14 @@ namespace sd {
class ViewShellBase;
-class LayerDialogContent
+class LayerDialogContent
: public SfxDockingWindow
{
public:
LayerDialogContent (
- SfxBindings* pBindings,
+ SfxBindings* pBindings,
SfxChildWindow *pCW,
- ::Window* pParent,
+ ::Window* pParent,
const SdResId& rSdResId,
ViewShellBase& rBase);
virtual ~LayerDialogContent (void);
diff --git a/sd/source/ui/inc/LayerTabBar.hxx b/sd/source/ui/inc/LayerTabBar.hxx
index 81477d34b88e..233220805306 100644
--- a/sd/source/ui/inc/LayerTabBar.hxx
+++ b/sd/source/ui/inc/LayerTabBar.hxx
@@ -2,7 +2,7 @@
/*************************************************************************
*
* 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
@@ -43,15 +43,15 @@ namespace sd {
class DrawViewShell;
class LayerTabBar
- : public TabBar,
+ : public TabBar,
public DropTargetHelper
{
public:
LayerTabBar (
- DrawViewShell* pDrViewSh,
+ DrawViewShell* pDrViewSh,
::Window* pParent);
LayerTabBar (
- DrawViewShell* pDrViewSh,
+ DrawViewShell* pDrViewSh,
::Window* pParent,
const ResId& rResId);
virtual ~LayerTabBar (void);
@@ -72,21 +72,21 @@ protected:
DrawViewShell* pDrViewSh;
// TabBar
- virtual void Select();
- virtual void DoubleClick();
- virtual void MouseButtonDown(const MouseEvent& rMEvt);
-
- virtual void Command(const CommandEvent& rCEvt);
-
- virtual long StartRenaming();
- virtual long AllowRenaming();
- virtual void EndRenaming();
-
- virtual void ActivatePage();
+ virtual void Select();
+ virtual void DoubleClick();
+ virtual void MouseButtonDown(const MouseEvent& rMEvt);
+
+ virtual void Command(const CommandEvent& rCEvt);
+
+ virtual long StartRenaming();
+ virtual long AllowRenaming();
+ virtual void EndRenaming();
+
+ virtual void ActivatePage();
// DropTargetHelper
- virtual sal_Int8 AcceptDrop( const AcceptDropEvent& rEvt );
- virtual sal_Int8 ExecuteDrop( const ExecuteDropEvent& rEvt );
+ virtual sal_Int8 AcceptDrop( const AcceptDropEvent& rEvt );
+ virtual sal_Int8 ExecuteDrop( const ExecuteDropEvent& rEvt );
};
} // end of namespace sd
diff --git a/sd/source/ui/inc/MasterPageObserver.hxx b/sd/source/ui/inc/MasterPageObserver.hxx
index 4526a1cd1530..821d2703f846 100644
--- a/sd/source/ui/inc/MasterPageObserver.hxx
+++ b/sd/source/ui/inc/MasterPageObserver.hxx
@@ -2,7 +2,7 @@
/*************************************************************************
*
* 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
@@ -64,7 +64,7 @@ public:
document.
*/
void UnregisterDocument (SdDrawDocument& rDocument);
-
+
/** Add a listener that is informed of master pages that are newly
assigned to slides or become unassigned.
@param rEventListener
@@ -118,13 +118,13 @@ public:
EventType meType;
SdDrawDocument& mrDocument;
const String& mrMasterPageName;
-
+
MasterPageObserverEvent (
EventType eType,
SdDrawDocument& rDocument,
const String& rMasterPageName)
- : meType(eType),
- mrDocument(rDocument),
+ : meType(eType),
+ mrDocument(rDocument),
mrMasterPageName(rMasterPageName)
{}
diff --git a/sd/source/ui/inc/MediaObjectBar.hxx b/sd/source/ui/inc/MediaObjectBar.hxx
index b384918544d8..67384db6e924 100644
--- a/sd/source/ui/inc/MediaObjectBar.hxx
+++ b/sd/source/ui/inc/MediaObjectBar.hxx
@@ -2,7 +2,7 @@
/*************************************************************************
*
* 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
@@ -39,7 +39,7 @@ class View;
class ViewShell;
-class MediaObjectBar
+class MediaObjectBar
: public SfxShell
{
public:
@@ -49,12 +49,12 @@ public:
MediaObjectBar (ViewShell* pSdViewShell, ::sd::View* pSdView);
virtual ~MediaObjectBar (void);
- void GetState( SfxItemSet& rSet );
- void Execute( SfxRequest& rReq );
+ void GetState( SfxItemSet& rSet );
+ void Execute( SfxRequest& rReq );
protected:
::sd::View* mpView;
- ViewShell* mpViewSh;
+ ViewShell* mpViewSh;
};
} // end of namespace sd
diff --git a/sd/source/ui/inc/MutexOwner.hxx b/sd/source/ui/inc/MutexOwner.hxx
index 3667475bec9e..b7d9fdea3b24 100644
--- a/sd/source/ui/inc/MutexOwner.hxx
+++ b/sd/source/ui/inc/MutexOwner.hxx
@@ -2,7 +2,7 @@
/*************************************************************************
*
* 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
@@ -37,7 +37,7 @@ namespace sd {
satisfy some helper classes from cppuhelper who expect a mutex as
argument to their constructor.
*/
-class MutexOwner
+class MutexOwner
{
protected:
mutable ::osl::Mutex maMutex;
diff --git a/sd/source/ui/inc/NavigatorChildWindow.hxx b/sd/source/ui/inc/NavigatorChildWindow.hxx
index 7eca616dc332..00a2628d2aaa 100644
--- a/sd/source/ui/inc/NavigatorChildWindow.hxx
+++ b/sd/source/ui/inc/NavigatorChildWindow.hxx
@@ -2,7 +2,7 @@
/*************************************************************************
*
* 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
@@ -42,13 +42,13 @@ namespace sd {
|*
\************************************************************************/
-class NavigatorChildWindow
+class NavigatorChildWindow
: public SfxChildWindowContext
{
public:
NavigatorChildWindow (
- ::Window*,
- USHORT,
+ ::Window*,
+ USHORT,
SfxBindings*,
SfxChildWinInfo*);
diff --git a/sd/source/ui/inc/NotesChildWindow.hrc b/sd/source/ui/inc/NotesChildWindow.hrc
index c25109d81a22..30eeb8ffd112 100644
--- a/sd/source/ui/inc/NotesChildWindow.hrc
+++ b/sd/source/ui/inc/NotesChildWindow.hrc
@@ -1,7 +1,7 @@
/*************************************************************************
*
* 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
diff --git a/sd/source/ui/inc/NotesChildWindow.hxx b/sd/source/ui/inc/NotesChildWindow.hxx
index fc2f8151e2fe..65f59fb167d3 100644
--- a/sd/source/ui/inc/NotesChildWindow.hxx
+++ b/sd/source/ui/inc/NotesChildWindow.hxx
@@ -2,7 +2,7 @@
/*************************************************************************
*
* 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
@@ -46,7 +46,7 @@ class NotesChildWindow
public:
NotesChildWindow (::Window*, USHORT, SfxBindings*, SfxChildWinInfo*);
virtual ~NotesChildWindow (void);
-
+
SFX_DECL_CHILDWINDOW (NotesChildWindow);
};
diff --git a/sd/source/ui/inc/OutlineBulletDlg.hxx b/sd/source/ui/inc/OutlineBulletDlg.hxx
index 83e452532086..60e766e12199 100644
--- a/sd/source/ui/inc/OutlineBulletDlg.hxx
+++ b/sd/source/ui/inc/OutlineBulletDlg.hxx
@@ -2,7 +2,7 @@
/*************************************************************************
*
* 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
@@ -42,13 +42,13 @@ class View;
|* Bullet-Tab-Dialog
|*
\************************************************************************/
-class OutlineBulletDlg
+class OutlineBulletDlg
: public SfxTabDialog
{
public:
OutlineBulletDlg (
- ::Window* pParent,
- const SfxItemSet* pAttr,
+ ::Window* pParent,
+ const SfxItemSet* pAttr,
::sd::View* pView );
virtual ~OutlineBulletDlg (void);
@@ -60,10 +60,10 @@ protected:
private:
using SfxTabDialog::GetOutputItemSet;
- SfxItemSet aInputSet;
- SfxItemSet *pOutputSet;
- BOOL bTitle;
- ::sd::View *pSdView;
+ SfxItemSet aInputSet;
+ SfxItemSet *pOutputSet;
+ BOOL bTitle;
+ ::sd::View *pSdView;
};
} // end of namespace sd
diff --git a/sd/source/ui/inc/OutlineView.hxx b/sd/source/ui/inc/OutlineView.hxx
index 6f1448fec799..b6a372f9fe96 100644
--- a/sd/source/ui/inc/OutlineView.hxx
+++ b/sd/source/ui/inc/OutlineView.hxx
@@ -2,7 +2,7 @@
/*************************************************************************
*
* 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
@@ -62,12 +62,12 @@ static const int MAX_OUTLINERVIEWS = 4;
|*
\************************************************************************/
-class OutlineView
+class OutlineView
: public ::sd::View
{
friend class OutlineViewModelChangeGuard;
public:
- OutlineView (DrawDocShell* pDocSh,
+ OutlineView (DrawDocShell* pDocSh,
::Window* pWindow,
OutlineViewShell* pOutlineViewSh);
~OutlineView (void);
@@ -82,30 +82,30 @@ public:
TYPEINFO();
- SdrTextObj* GetTitleTextObject(SdrPage* pPage);
- SdrTextObj* GetOutlineTextObject(SdrPage* pPage);
+ SdrTextObj* GetTitleTextObject(SdrPage* pPage);
+ SdrTextObj* GetOutlineTextObject(SdrPage* pPage);
- SdrTextObj* CreateTitleTextObject(SdPage* pPage);
- SdrTextObj* CreateOutlineTextObject(SdPage* pPage);
+ SdrTextObj* CreateTitleTextObject(SdPage* pPage);
+ SdrTextObj* CreateOutlineTextObject(SdPage* pPage);
virtual void AddWindowToPaintView(OutputDevice* pWin);
virtual void DeleteWindowFromPaintView(OutputDevice* pWin);
- OutlinerView* GetViewByWindow (::Window* pWin) const;
+ OutlinerView* GetViewByWindow (::Window* pWin) const;
SdrOutliner* GetOutliner() { return(mpOutliner) ; }
- Paragraph* GetPrevTitle(const Paragraph* pPara);
- Paragraph* GetNextTitle(const Paragraph* pPara);
- SdPage* GetActualPage();
- SdPage* GetPageForParagraph( Paragraph* pPara );
- Paragraph* GetParagraphForPage( ::Outliner* pOutl, SdPage* pPage );
+ Paragraph* GetPrevTitle(const Paragraph* pPara);
+ Paragraph* GetNextTitle(const Paragraph* pPara);
+ SdPage* GetActualPage();
+ SdPage* GetPageForParagraph( Paragraph* pPara );
+ Paragraph* GetParagraphForPage( ::Outliner* pOutl, SdPage* pPage );
/** selects the paragraph for the given page at the outliner view*/
- void SetActualPage( SdPage* pActual );
+ void SetActualPage( SdPage* pActual );
virtual void Paint (const Rectangle& rRect, ::sd::Window* pWin);
virtual void AdjustPosSizePixel(
- const Point &rPos,
+ const Point &rPos,
const Size &rSize,
::sd::Window* pWindow);
@@ -122,15 +122,15 @@ public:
DECL_LINK( EndDropHdl, void * );
DECL_LINK( PaintingFirstLineHdl, PaintFirstLineInfo* );
- ULONG GetPaperWidth() const { return 2*21000; } // DIN A4 Breite
+ ULONG GetPaperWidth() const { return 2*21000; } // DIN A4 Breite
- BOOL PrepareClose(BOOL bUI = TRUE);
+ BOOL PrepareClose(BOOL bUI = TRUE);
- virtual BOOL GetAttributes( SfxItemSet& rTargetSet, BOOL bOnlyHardAttr=FALSE ) const;
- virtual BOOL SetAttributes(const SfxItemSet& rSet, BOOL bReplaceAll = FALSE);
+ virtual BOOL GetAttributes( SfxItemSet& rTargetSet, BOOL bOnlyHardAttr=FALSE ) const;
+ virtual BOOL SetAttributes(const SfxItemSet& rSet, BOOL bReplaceAll = FALSE);
-// virtual BOOL HasMarkedObjUnused() const;
- void FillOutliner();
+// virtual BOOL HasMarkedObjUnused() const;
+ void FillOutliner();
void SetLinks();
void ResetLinks() const;
@@ -139,16 +139,16 @@ public:
void SetSelectedPages();
virtual sal_Int8 AcceptDrop (
- const AcceptDropEvent& rEvt,
- DropTargetHelper& rTargetHelper,
- ::sd::Window* pTargetWindow = NULL,
- USHORT nPage = SDRPAGE_NOTFOUND,
+ const AcceptDropEvent& rEvt,
+ DropTargetHelper& rTargetHelper,
+ ::sd::Window* pTargetWindow = NULL,
+ USHORT nPage = SDRPAGE_NOTFOUND,
USHORT nLayer = SDRPAGE_NOTFOUND);
virtual sal_Int8 ExecuteDrop (
- const ExecuteDropEvent& rEvt,
- DropTargetHelper& rTargetHelper,
- ::sd::Window* pTargetWindow = NULL,
- USHORT nPage = SDRPAGE_NOTFOUND,
+ const ExecuteDropEvent& rEvt,
+ DropTargetHelper& rTargetHelper,
+ ::sd::Window* pTargetWindow = NULL,
+ USHORT nPage = SDRPAGE_NOTFOUND,
USHORT nLayer = SDRPAGE_NOTFOUND);
@@ -174,7 +174,7 @@ protected:
virtual void OnEndPasteOrDrop( PasteOrDropInfos* pInfos );
private:
- /** call this method before you do anything that can modify the outliner
+ /** call this method before you do anything that can modify the outliner
and or the drawing document model. It will create needed undo actions */
void BeginModelChange();
@@ -188,19 +188,19 @@ private:
/** updates all changes in the outliner model to the draw model */
void UpdateDocument();
- OutlineViewShell* mpOutlineViewShell;
- SdrOutliner* mpOutliner;
- OutlinerView* mpOutlinerView[MAX_OUTLINERVIEWS];
+ OutlineViewShell* mpOutlineViewShell;
+ SdrOutliner* mpOutliner;
+ OutlinerView* mpOutlinerView[MAX_OUTLINERVIEWS];
- List* mpOldParaOrder;
- List* mpSelectedParas;
+ List* mpOldParaOrder;
+ List* mpSelectedParas;
- USHORT mnPagesToProcess; // fuer die Fortschrittsanzeige
- USHORT mnPagesProcessed;
+ USHORT mnPagesToProcess; // fuer die Fortschrittsanzeige
+ USHORT mnPagesProcessed;
- BOOL mbFirstPaint;
+ BOOL mbFirstPaint;
- SfxProgress* mpProgress;
+ SfxProgress* mpProgress;
/** stores the last used high contrast mode.
this is changed in onUpdateStyleSettings()
@@ -213,7 +213,7 @@ private:
Color maDocColor;
/** updates the high contrast settings and document color if they changed.
- @param bForceUpdate forces the method to set all style settings
+ @param bForceUpdate forces the method to set all style settings
*/
void onUpdateStyleSettings( bool bForceUpdate = false );
diff --git a/sd/source/ui/inc/OutlineViewShell.hxx b/sd/source/ui/inc/OutlineViewShell.hxx
index 31eb6d124fe6..451dd4632c36 100644
--- a/sd/source/ui/inc/OutlineViewShell.hxx
+++ b/sd/source/ui/inc/OutlineViewShell.hxx
@@ -2,7 +2,7 @@
/*************************************************************************
*
* 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
@@ -92,11 +92,11 @@ public:
virtual void Activate( BOOL IsMDIActivate );
virtual void Deactivate( BOOL IsMDIActivate );
- virtual SdPage* GetActualPage();
+ virtual SdPage* GetActualPage();
/// inherited from sd::ViewShell
- virtual SdPage* getCurrentPage() const;
-
+ virtual SdPage* getCurrentPage() const;
+
/** Return a string that describes the currently selected pages.
*/
String GetPageRangeString (void);
@@ -117,7 +117,7 @@ public:
virtual void SetZoom(long nZoom);
virtual void SetZoomRect(const Rectangle& rZoomRect);
- virtual String GetSelectionText( BOOL bCompleteWords = FALSE );
+ virtual String GetSelectionText( BOOL bCompleteWords = FALSE );
virtual BOOL HasSelection( BOOL bText = TRUE ) const;
void Execute(SfxRequest& rReq);
@@ -170,9 +170,9 @@ protected:
private:
OutlineView* pOlView;
- SdPage* pLastPage; // Zur performanten Aufbereitung der Preview
+ SdPage* pLastPage; // Zur performanten Aufbereitung der Preview
TransferableClipboardListener* pClipEvtLstnr;
- BOOL bPastePossible;
+ BOOL bPastePossible;
bool mbInitialized;
void Construct (DrawDocShell* pDocSh);
diff --git a/sd/source/ui/inc/OutlineViewShellBase.hxx b/sd/source/ui/inc/OutlineViewShellBase.hxx
index 2f82dd271420..000426a57d27 100644
--- a/sd/source/ui/inc/OutlineViewShellBase.hxx
+++ b/sd/source/ui/inc/OutlineViewShellBase.hxx
@@ -2,7 +2,7 @@
/*************************************************************************
*
* 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
diff --git a/sd/source/ui/inc/OutlinerIteratorImpl.hxx b/sd/source/ui/inc/OutlinerIteratorImpl.hxx
index cf667909a8ac..6b62b4489a35 100644
--- a/sd/source/ui/inc/OutlinerIteratorImpl.hxx
+++ b/sd/source/ui/inc/OutlinerIteratorImpl.hxx
@@ -2,7 +2,7 @@
/*************************************************************************
*
* 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
@@ -37,7 +37,7 @@ class SdDrawDocument;
class SdPage;
class SdrObjListIter;
-namespace sd {
+namespace sd {
class ViewShell;
@@ -52,7 +52,7 @@ class IteratorImplBase;
*/
class IteratorImplBase
{
-public:
+public:
/** The constructor stores the given arguments to be used by the derived
classes.
@param pDocument
@@ -141,14 +141,14 @@ protected:
<p>For documentation of the methods please refere to the base class
<type>IteratorImplBase</type>.</p>
*/
-class SelectionIteratorImpl
+class SelectionIteratorImpl
: public IteratorImplBase
{
public:
SelectionIteratorImpl (
const ::std::vector< SdrObjectWeakRef >& rObjectList,
sal_Int32 nObjectIndex,
- SdDrawDocument* pDocument,
+ SdDrawDocument* pDocument,
const ::boost::weak_ptr<ViewShell>& rpViewShellWeak,
bool bDirectionIsForward);
SelectionIteratorImpl (const SelectionIteratorImpl& rObject);
@@ -172,7 +172,7 @@ private:
@return
Returns <TRUE/> when both iterators point to the same object.
*/
- virtual bool IsEqual (const IteratorImplBase& rIterator, IteratorType aType) const;
+ virtual bool IsEqual (const IteratorImplBase& rIterator, IteratorType aType) const;
IteratorImplBase& operator= (const IteratorImplBase& rIterator);
};
@@ -190,16 +190,16 @@ class ViewIteratorImpl : public IteratorImplBase
{
public:
ViewIteratorImpl (
- sal_Int32 nPageIndex,
- SdDrawDocument* pDocument,
+ sal_Int32 nPageIndex,
+ SdDrawDocument* pDocument,
const ::boost::weak_ptr<ViewShell>& rpViewShellWeak,
bool bDirectionIsForward);
ViewIteratorImpl (
- sal_Int32 nPageIndex,
- SdDrawDocument* pDocument,
+ sal_Int32 nPageIndex,
+ SdDrawDocument* pDocument,
const ::boost::weak_ptr<ViewShell>& rpViewShellWeak,
- bool bDirectionIsForward,
- PageKind ePageKind,
+ bool bDirectionIsForward,
+ PageKind ePageKind,
EditMode eEditMode);
virtual ~ViewIteratorImpl (void);
@@ -250,9 +250,9 @@ class DocumentIteratorImpl : public ViewIteratorImpl
public:
DocumentIteratorImpl (
sal_Int32 nPageIndex,
- PageKind ePageKind,
+ PageKind ePageKind,
EditMode eEditMode,
- SdDrawDocument* pDocument,
+ SdDrawDocument* pDocument,
const ::boost::weak_ptr<ViewShell>& rpViewShellWeak,
bool bDirectionIsForward);
virtual ~DocumentIteratorImpl (void);
diff --git a/sd/source/ui/inc/PaneChildWindows.hxx b/sd/source/ui/inc/PaneChildWindows.hxx
index 1378d0afc3ed..552d149365b4 100644
--- a/sd/source/ui/inc/PaneChildWindows.hxx
+++ b/sd/source/ui/inc/PaneChildWindows.hxx
@@ -2,7 +2,7 @@
/*************************************************************************
*
* 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
@@ -40,8 +40,8 @@ class PaneChildWindow
public:
PaneChildWindow (
::Window* pParentWindow,
- USHORT nId,
- SfxBindings* pBindings,
+ USHORT nId,
+ SfxBindings* pBindings,
SfxChildWinInfo* pInfo,
const USHORT nDockWinTitleResId,
const USHORT nTitleBarResId,
@@ -85,8 +85,8 @@ class ToolPanelChildWindow :public PaneChildWindow
public:
ToolPanelChildWindow(
::Window* i_pParentWindow,
- USHORT i_nId,
- SfxBindings* i_pBindings,
+ USHORT i_nId,
+ SfxBindings* i_pBindings,
SfxChildWinInfo* i_pChildWindowInfo );
SFX_DECL_CHILDWINDOW( ToolPanelChildWindow );
diff --git a/sd/source/ui/inc/PaneDockingWindow.hrc b/sd/source/ui/inc/PaneDockingWindow.hrc
index eb7c23c075ec..deb2de3613fa 100755
--- a/sd/source/ui/inc/PaneDockingWindow.hrc
+++ b/sd/source/ui/inc/PaneDockingWindow.hrc
@@ -1,7 +1,7 @@
/*************************************************************************
*
* 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
diff --git a/sd/source/ui/inc/PaneDockingWindow.hxx b/sd/source/ui/inc/PaneDockingWindow.hxx
index 8d9c928708e1..16627f6878cf 100644
--- a/sd/source/ui/inc/PaneDockingWindow.hxx
+++ b/sd/source/ui/inc/PaneDockingWindow.hxx
@@ -2,7 +2,7 @@
/*************************************************************************
*
* 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
diff --git a/sd/source/ui/inc/PaneShells.hxx b/sd/source/ui/inc/PaneShells.hxx
index 28e516267c45..a2e812439414 100644
--- a/sd/source/ui/inc/PaneShells.hxx
+++ b/sd/source/ui/inc/PaneShells.hxx
@@ -2,7 +2,7 @@
/*************************************************************************
*
* 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
@@ -40,9 +40,9 @@ namespace sd {
/** Shell that displays the left pane for Impress. The shell does not do
- anything else and has especially no slots.
+ anything else and has especially no slots.
*/
-class LeftImpressPaneShell
+class LeftImpressPaneShell
: public SfxShell
{
public:
@@ -57,9 +57,9 @@ public:
/** Shell that displays the left pane for Draw. The shell does not do
- anything else and has especially no slots.
+ anything else and has especially no slots.
*/
-class LeftDrawPaneShell
+class LeftDrawPaneShell
: public SfxShell
{
public:
diff --git a/sd/source/ui/inc/PresentationViewShell.hxx b/sd/source/ui/inc/PresentationViewShell.hxx
index 4d787708a00f..dcc1768254dd 100644
--- a/sd/source/ui/inc/PresentationViewShell.hxx
+++ b/sd/source/ui/inc/PresentationViewShell.hxx
@@ -2,7 +2,7 @@
/*************************************************************************
*
* 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
@@ -42,10 +42,10 @@ class PresentationViewShell : public DrawViewShell
{
public:
TYPEINFO();
-
+
SFX_DECL_VIEWFACTORY(PresViewShell);
SFX_DECL_INTERFACE( SD_IF_SDPRESVIEWSHELL )
-
+
PresentationViewShell( SfxViewFrame* pFrame, ViewShellBase& rViewShellBase, ::Window* pParentWindow, FrameView* pFrameView = NULL);
virtual ~PresentationViewShell (void);
@@ -66,7 +66,7 @@ protected:
private:
Rectangle maOldVisArea;
-
+
virtual void Activate (BOOL bIsMDIActivate);
virtual void Paint (const Rectangle& rRect, ::sd::Window* pWin);
};
diff --git a/sd/source/ui/inc/PresentationViewShellBase.hxx b/sd/source/ui/inc/PresentationViewShellBase.hxx
index 8ecde3d1649f..8fdd04380fb8 100644
--- a/sd/source/ui/inc/PresentationViewShellBase.hxx
+++ b/sd/source/ui/inc/PresentationViewShellBase.hxx
@@ -2,7 +2,7 @@
/*************************************************************************
*
* 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
diff --git a/sd/source/ui/inc/PreviewRenderer.hxx b/sd/source/ui/inc/PreviewRenderer.hxx
index 38830c4ccdaa..2db35ea5a988 100644
--- a/sd/source/ui/inc/PreviewRenderer.hxx
+++ b/sd/source/ui/inc/PreviewRenderer.hxx
@@ -2,7 +2,7 @@
/*************************************************************************
*
* 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
@@ -83,7 +83,7 @@ public:
rendered in high contrast mode.
*/
Image RenderPage (
- const SdPage* pPage,
+ const SdPage* pPage,
const sal_Int32 nWidth,
const String& sSubstitutionText,
const bool bObeyHighContrastMode = true);
@@ -104,7 +104,7 @@ public:
rendered in high contrast mode.
*/
Image RenderPage (
- const SdPage* pPage,
+ const SdPage* pPage,
const Size aPreviewPixelSize,
const String& sSubstitutionText,
const bool bObeyHighContrastMode = true);
@@ -117,7 +117,7 @@ public:
Image RenderSubstitution (
const Size& rPreviewPixelSize,
const String& sSubstitutionText);
-
+
/** Scale the given bitmap by keeping its aspect ratio to the desired
width. Add a frame to it afterwards.
*/
diff --git a/sd/source/ui/inc/Ruler.hxx b/sd/source/ui/inc/Ruler.hxx
index f278c525f22f..fb8c9515ae84 100644
--- a/sd/source/ui/inc/Ruler.hxx
+++ b/sd/source/ui/inc/Ruler.hxx
@@ -2,7 +2,7 @@
/*************************************************************************
*
* 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
@@ -46,15 +46,15 @@ class Window;
|*
\************************************************************************/
-class Ruler
+class Ruler
: public SvxRuler
{
public:
Ruler (
- DrawViewShell& rViewSh,
- ::Window* pParent,
+ DrawViewShell& rViewSh,
+ ::Window* pParent,
::sd::Window* pWin,
- USHORT nRulerFlags,
+ USHORT nRulerFlags,
SfxBindings& rBindings,
WinBits nWinStyle);
virtual ~Ruler (void);
@@ -71,10 +71,10 @@ protected:
RulerCtrlItem* pCtrlItem;
BOOL bHorz;
- virtual void MouseButtonDown(const MouseEvent& rMEvt);
- virtual void MouseButtonUp(const MouseEvent& rMEvt);
- virtual void MouseMove(const MouseEvent& rMEvt);
- virtual void Command(const CommandEvent& rCEvt);
+ virtual void MouseButtonDown(const MouseEvent& rMEvt);
+ virtual void MouseButtonUp(const MouseEvent& rMEvt);
+ virtual void MouseMove(const MouseEvent& rMEvt);
+ virtual void Command(const CommandEvent& rCEvt);
virtual void ExtraDown();
};
diff --git a/sd/source/ui/inc/SdUnoDrawView.hxx b/sd/source/ui/inc/SdUnoDrawView.hxx
index f0c835f234cf..ebd0791974fa 100644
--- a/sd/source/ui/inc/SdUnoDrawView.hxx
+++ b/sd/source/ui/inc/SdUnoDrawView.hxx
@@ -2,7 +2,7 @@
/*************************************************************************
*
* 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
@@ -50,7 +50,7 @@ class DrawViewShell;
/** This class implements the DrawViewShell specific part of the controller.
*/
-class SdUnoDrawView
+class SdUnoDrawView
: private cppu::BaseMutex,
public DrawSubControllerInterfaceBase
{
@@ -62,34 +62,34 @@ public:
virtual ~SdUnoDrawView (void) throw();
// XSelectionSupplier
-
+
virtual sal_Bool SAL_CALL select (
const css::uno::Any& aSelection)
throw(css::lang::IllegalArgumentException,
css::uno::RuntimeException);
-
+
virtual css::uno::Any SAL_CALL getSelection (void)
throw(css::uno::RuntimeException);
-
+
virtual void SAL_CALL addSelectionChangeListener (
const css::uno::Reference<css::view::XSelectionChangeListener>& rxListener)
throw(css::uno::RuntimeException);
-
+
virtual void SAL_CALL removeSelectionChangeListener (
const css::uno::Reference<css::view::XSelectionChangeListener>& rxListener)
throw(css::uno::RuntimeException);
-
+
// XDrawView
-
+
virtual void SAL_CALL setCurrentPage (
const css::uno::Reference<css::drawing::XDrawPage >& xPage)
throw(css::uno::RuntimeException);
-
+
virtual css::uno::Reference<css::drawing::XDrawPage> SAL_CALL getCurrentPage (void)
throw(css::uno::RuntimeException);
-
+
// XFastPropertySet
virtual void SAL_CALL setFastPropertyValue (
@@ -100,13 +100,13 @@ public:
css::lang::IllegalArgumentException,
css::lang::WrappedTargetException,
css::uno::RuntimeException);
-
+
virtual css::uno::Any SAL_CALL getFastPropertyValue (
sal_Int32 nHandle)
throw(css::beans::UnknownPropertyException,
css::lang::WrappedTargetException,
css::uno::RuntimeException);
-
+
// XServiceInfo
virtual ::rtl::OUString SAL_CALL getImplementationName( ) throw (::com::sun::star::uno::RuntimeException);
virtual ::sal_Bool SAL_CALL supportsService( const ::rtl::OUString& ServiceName ) throw (::com::sun::star::uno::RuntimeException);
diff --git a/sd/source/ui/inc/SdUnoOutlineView.hxx b/sd/source/ui/inc/SdUnoOutlineView.hxx
index fd2bb2b66201..ad4bfbd9ca91 100644
--- a/sd/source/ui/inc/SdUnoOutlineView.hxx
+++ b/sd/source/ui/inc/SdUnoOutlineView.hxx
@@ -2,7 +2,7 @@
/*************************************************************************
*
* 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
@@ -47,7 +47,7 @@ class View;
/** This class implements the OutlineViewShell specific part of the controller.
*/
-class SdUnoOutlineView
+class SdUnoOutlineView
: private cppu::BaseMutex,
public DrawSubControllerInterfaceBase
{
@@ -67,29 +67,29 @@ public:
const css::uno::Any& aSelection)
throw(css::lang::IllegalArgumentException,
css::uno::RuntimeException);
-
+
virtual css::uno::Any SAL_CALL getSelection (void)
throw(css::uno::RuntimeException);
-
+
virtual void SAL_CALL addSelectionChangeListener (
const css::uno::Reference<css::view::XSelectionChangeListener>& rxListener)
throw(css::uno::RuntimeException);
-
+
virtual void SAL_CALL removeSelectionChangeListener (
const css::uno::Reference<css::view::XSelectionChangeListener>& rxListener)
throw(css::uno::RuntimeException);
// XDrawView
-
+
virtual void SAL_CALL setCurrentPage (
const css::uno::Reference<css::drawing::XDrawPage >& xPage)
throw(css::uno::RuntimeException);
-
+
virtual css::uno::Reference<css::drawing::XDrawPage> SAL_CALL getCurrentPage (void)
throw(css::uno::RuntimeException);
-
+
// XFastPropertySet
virtual void SAL_CALL setFastPropertyValue (
@@ -100,7 +100,7 @@ public:
css::lang::IllegalArgumentException,
css::lang::WrappedTargetException,
css::uno::RuntimeException);
-
+
virtual css::uno::Any SAL_CALL getFastPropertyValue (
sal_Int32 nHandle)
throw(css::beans::UnknownPropertyException,
@@ -108,10 +108,10 @@ public:
css::uno::RuntimeException);
// lang::XEventListener
- virtual void SAL_CALL
+ virtual void SAL_CALL
disposing (const ::com::sun::star::lang::EventObject& rEventObject)
throw (::com::sun::star::uno::RuntimeException);
-
+
// XServiceInfo
virtual ::rtl::OUString SAL_CALL getImplementationName( ) throw (::com::sun::star::uno::RuntimeException);
virtual ::sal_Bool SAL_CALL supportsService( const ::rtl::OUString& ServiceName ) throw (::com::sun::star::uno::RuntimeException);
diff --git a/sd/source/ui/inc/SdUnoSlideView.hxx b/sd/source/ui/inc/SdUnoSlideView.hxx
index ef14ddf636ab..c44831c784ac 100644
--- a/sd/source/ui/inc/SdUnoSlideView.hxx
+++ b/sd/source/ui/inc/SdUnoSlideView.hxx
@@ -2,7 +2,7 @@
/*************************************************************************
*
* 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
@@ -53,7 +53,7 @@ class View;
/** This class implements the SlideSorter specific part of the
controller.
*/
-class SdUnoSlideView
+class SdUnoSlideView
: private cppu::BaseMutex,
public DrawSubControllerInterfaceBase
{
@@ -69,25 +69,25 @@ public:
virtual sal_Bool SAL_CALL select (const ::com::sun::star::uno::Any& aSelection)
throw(::com::sun::star::lang::IllegalArgumentException,
::com::sun::star::uno::RuntimeException);
-
+
virtual ::com::sun::star::uno::Any SAL_CALL getSelection (void)
throw(::com::sun::star::uno::RuntimeException);
virtual void SAL_CALL addSelectionChangeListener (
const css::uno::Reference<css::view::XSelectionChangeListener>& rxListener)
throw(css::uno::RuntimeException);
-
+
virtual void SAL_CALL removeSelectionChangeListener (
const css::uno::Reference<css::view::XSelectionChangeListener>& rxListener)
throw(css::uno::RuntimeException);
-
+
// XDrawView
-
+
virtual void SAL_CALL setCurrentPage (
const ::com::sun::star::uno::Reference< ::com::sun::star::drawing::XDrawPage >& xPage)
throw(::com::sun::star::uno::RuntimeException);
-
+
virtual ::com::sun::star::uno::Reference< ::com::sun::star::drawing::XDrawPage > SAL_CALL
getCurrentPage (void)
throw(::com::sun::star::uno::RuntimeException);
@@ -103,7 +103,7 @@ public:
css::lang::IllegalArgumentException,
css::lang::WrappedTargetException,
css::uno::RuntimeException);
-
+
virtual css::uno::Any SAL_CALL getFastPropertyValue (
sal_Int32 nHandle)
throw(css::beans::UnknownPropertyException,
diff --git a/sd/source/ui/inc/ShellFactory.hxx b/sd/source/ui/inc/ShellFactory.hxx
index 02004ea9826f..f6ca72e0a27e 100644
--- a/sd/source/ui/inc/ShellFactory.hxx
+++ b/sd/source/ui/inc/ShellFactory.hxx
@@ -2,7 +2,7 @@
/*************************************************************************
*
* 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
diff --git a/sd/source/ui/inc/SlideSorter.hxx b/sd/source/ui/inc/SlideSorter.hxx
index cb0c37f0daf3..a54797dccaac 100644
--- a/sd/source/ui/inc/SlideSorter.hxx
+++ b/sd/source/ui/inc/SlideSorter.hxx
@@ -2,7 +2,7 @@
/*************************************************************************
*
* 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
@@ -68,7 +68,7 @@ namespace sd { namespace slidesorter {
/** Show previews for all the slides in a document and allow the user to
insert or delete slides and modify the order of the slides.
-
+
This class is a facade for the model, view, and controller classes.
It is a hub that allows access to the various parts of a slide sorter.
@@ -88,7 +88,7 @@ public:
shutdown (when that can be detected).
*/
bool IsValid (void) const;
-
+
/** Create a new slide sorter that is strongly coupled to the given view
shell. Use this function for a slide sorter in the left pane.
@param rViewShell
@@ -172,7 +172,7 @@ public:
ViewShellBase* GetViewShellBase (void) const;
void Paint (const Rectangle& rRepaintArea);
-
+
/** Place and size the controls and windows. You may want to call this
method when something has changed that for instance affects the
visibility state of the scroll bars.
@@ -187,7 +187,7 @@ public:
/** Set the current function at the view shell or, when it is not
present, set it at the content window. This method supports the use
of functions even when there is no SlideSorterViewShell.
- */
+ */
void SetCurrentFunction (const FunctionReference& rpFunction);
protected:
diff --git a/sd/source/ui/inc/SlideSorterChildWindow.hrc b/sd/source/ui/inc/SlideSorterChildWindow.hrc
index 541b0bd3a18c..3a827e7bde44 100644
--- a/sd/source/ui/inc/SlideSorterChildWindow.hrc
+++ b/sd/source/ui/inc/SlideSorterChildWindow.hrc
@@ -1,7 +1,7 @@
/*************************************************************************
*
* 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
diff --git a/sd/source/ui/inc/SlideSorterChildWindow.hxx b/sd/source/ui/inc/SlideSorterChildWindow.hxx
index bf823c465328..443c98bbcd25 100644
--- a/sd/source/ui/inc/SlideSorterChildWindow.hxx
+++ b/sd/source/ui/inc/SlideSorterChildWindow.hxx
@@ -2,7 +2,7 @@
/*************************************************************************
*
* 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
@@ -43,13 +43,13 @@ class SlideSorterChildWindow
{
public:
SlideSorterChildWindow (
- ::Window*,
- USHORT,
- SfxBindings*,
+ ::Window*,
+ USHORT,
+ SfxBindings*,
SfxChildWinInfo*);
virtual ~SlideSorterChildWindow (void);
-
+
SFX_DECL_CHILDWINDOW (SlideBrowserChildWindow);
};
diff --git a/sd/source/ui/inc/SlideSorterViewShell.hxx b/sd/source/ui/inc/SlideSorterViewShell.hxx
index a72e8ecbc9fc..66768020f769 100644
--- a/sd/source/ui/inc/SlideSorterViewShell.hxx
+++ b/sd/source/ui/inc/SlideSorterViewShell.hxx
@@ -2,7 +2,7 @@
/*************************************************************************
*
* 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
@@ -55,7 +55,7 @@ public:
SFX_DECL_INTERFACE(SD_IF_SDSLIDESORTERVIEWSHELL)
static ::boost::shared_ptr<SlideSorterViewShell> Create(
- SfxViewFrame* pFrame,
+ SfxViewFrame* pFrame,
ViewShellBase& rViewShellBase,
::Window* pParentWindow,
FrameView* pFrameView);
@@ -78,10 +78,10 @@ public:
virtual void GetFocus (void);
virtual void LoseFocus (void);
- virtual SdPage* GetActualPage (void);
+ virtual SdPage* GetActualPage (void);
/// inherited from sd::ViewShell
- virtual SdPage* getCurrentPage() const;
+ virtual SdPage* getCurrentPage() const;
void ExecCtrl (SfxRequest& rRequest);
virtual void GetCtrlState (SfxItemSet &rSet);
@@ -130,15 +130,15 @@ public:
sal_Int8 nDropAction);
virtual sal_Int8 AcceptDrop (
const AcceptDropEvent& rEvt,
- DropTargetHelper& rTargetHelper,
- ::sd::Window* pTargetWindow = NULL,
- USHORT nPage = SDRPAGE_NOTFOUND,
+ DropTargetHelper& rTargetHelper,
+ ::sd::Window* pTargetWindow = NULL,
+ USHORT nPage = SDRPAGE_NOTFOUND,
USHORT nLayer = SDRPAGE_NOTFOUND );
virtual sal_Int8 ExecuteDrop (
- const ExecuteDropEvent& rEvt,
+ const ExecuteDropEvent& rEvt,
DropTargetHelper& rTargetHelper,
- ::sd::Window* pTargetWindow = NULL,
- USHORT nPage = SDRPAGE_NOTFOUND,
+ ::sd::Window* pTargetWindow = NULL,
+ USHORT nPage = SDRPAGE_NOTFOUND,
USHORT nLayer = SDRPAGE_NOTFOUND);
typedef ::std::vector<SdPage*> PageSelection;
@@ -199,7 +199,7 @@ private:
::boost::shared_ptr<SlideSorter> mpSlideSorter;
SlideSorterViewShell (
- SfxViewFrame* pFrame,
+ SfxViewFrame* pFrame,
ViewShellBase& rViewShellBase,
::Window* pParentWindow,
FrameView* pFrameView);
diff --git a/sd/source/ui/inc/SlideSorterViewShellBase.hxx b/sd/source/ui/inc/SlideSorterViewShellBase.hxx
index 07f52353cbaf..5deee7cd483a 100644
--- a/sd/source/ui/inc/SlideSorterViewShellBase.hxx
+++ b/sd/source/ui/inc/SlideSorterViewShellBase.hxx
@@ -2,7 +2,7 @@
/*************************************************************************
*
* 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
diff --git a/sd/source/ui/inc/SlideView.hxx b/sd/source/ui/inc/SlideView.hxx
index c861d7192910..57295d4d8a06 100644
--- a/sd/source/ui/inc/SlideView.hxx
+++ b/sd/source/ui/inc/SlideView.hxx
@@ -2,7 +2,7 @@
/*************************************************************************
*
* 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
@@ -59,15 +59,15 @@ enum SlideViewFocusMove
// - SdSlideView -
// ---------------
-class SlideView
+class SlideView
: public ::sd::View
{
public:
TYPEINFO();
SlideView (
- SdDrawDocument* pDoc,
- ::Window* pWindow,
+ SdDrawDocument* pDoc,
+ ::Window* pWindow,
SlideViewShell* pSlideVShell);
virtual ~SlideView (void);
@@ -90,18 +90,18 @@ public:
void Paint(const Rectangle& rRect, OutputDevice* pOut);
void DrawSelectionRect(USHORT nPage);
- Point CalcPagePos( USHORT nPageNo ) const;
+ Point CalcPagePos( USHORT nPageNo ) const;
Rectangle GetPageArea( USHORT nPageNo ) const;
- ULONG GetPageGap() const;
+ ULONG GetPageGap() const;
Rectangle GetFadeIconArea( USHORT nPageNo ) const;
SdPage* GetHitPage( const Point& rPos ) const;
SdPage* GetFadePage( const Point& rPos ) const;
SdPage* GetNearestPage( const Point& rPos ) const;
-
+
void DeleteMarked();
void MoveMarked( USHORT nTargetPage );
- void AddToCache( SdPage* pPage, const Bitmap& rBitmap, long nZoom );
+ void AddToCache( SdPage* pPage, const Bitmap& rBitmap, long nZoom );
const GraphicObject* GetFromCache( SdPage* pPage, long& rZoom, long nZoomTolerance ) const;
virtual void Notify( SfxBroadcaster& rBC, const SfxHint& rHint );
@@ -112,29 +112,29 @@ public:
virtual void StartDrag( const Point& rDragPt, ::Window* pWindow );
virtual void DragFinished( sal_Int8 nDropAction );
-
- virtual sal_Int8 AcceptDrop( const AcceptDropEvent& rEvt, DropTargetHelper& rTargetHelper,
- ::sd::Window* pTargetWindow = NULL,
- USHORT nPage = SDRPAGE_NOTFOUND,
+
+ virtual sal_Int8 AcceptDrop( const AcceptDropEvent& rEvt, DropTargetHelper& rTargetHelper,
+ ::sd::Window* pTargetWindow = NULL,
+ USHORT nPage = SDRPAGE_NOTFOUND,
USHORT nLayer = SDRPAGE_NOTFOUND );
virtual sal_Int8 ExecuteDrop( const ExecuteDropEvent& rEvt, DropTargetHelper& rTargetHelper,
- ::sd::Window* pTargetWindow = NULL,
- USHORT nPage = SDRPAGE_NOTFOUND,
+ ::sd::Window* pTargetWindow = NULL,
+ USHORT nPage = SDRPAGE_NOTFOUND,
USHORT nLayer = SDRPAGE_NOTFOUND );
- void UpdateAllPages();
+ void UpdateAllPages();
private:
- Timer aDelayedPaintTimer;
- List aDelayedPaints;
- SlideViewShell* pSlideViewShell;
- BitmapCache* pCache;
- VirtualDevice* mpVDev;
- USHORT nAllowInvalidateSmph;
- USHORT nPagesPerRow;
+ Timer aDelayedPaintTimer;
+ List aDelayedPaints;
+ SlideViewShell* pSlideViewShell;
+ BitmapCache* pCache;
+ VirtualDevice* mpVDev;
+ USHORT nAllowInvalidateSmph;
+ USHORT nPagesPerRow;
USHORT nFocusPage;
- BOOL bInPaint;
- BOOL bInDelayedPaint;
+ BOOL bInPaint;
+ BOOL bInDelayedPaint;
DECL_LINK( PaintDelayed, Timer * );
void CreateSlideTransferable (::Window* pWindow, BOOL bDrag);
diff --git a/sd/source/ui/inc/SlideViewShell.hxx b/sd/source/ui/inc/SlideViewShell.hxx
index 15673024ddce..a8c8a261938d 100644
--- a/sd/source/ui/inc/SlideViewShell.hxx
+++ b/sd/source/ui/inc/SlideViewShell.hxx
@@ -2,7 +2,7 @@
/*************************************************************************
*
* 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
@@ -67,12 +67,12 @@ public:
The frame view that makes it possible to pass information from
one view shell to the next.
*/
- SlideViewShell(SfxViewFrame* pFrame,
+ SlideViewShell(SfxViewFrame* pFrame,
ViewShellBase& rViewShellBase,
::Window* pParentWindow,
FrameView* pFrameView = NULL);
- SlideViewShell(SfxViewFrame *pFrame,
+ SlideViewShell(SfxViewFrame *pFrame,
::Window* pParentWindow,
const SlideViewShell& rShell);
@@ -88,14 +88,14 @@ public:
virtual void ArrangeGUIElements (void);
virtual void AddWindow(::sd::Window* pWin) { pSlideView->AddWindowToPaintView((OutputDevice*) pWin); }
virtual void RemoveWindow(::sd::Window* pWin) { pSlideView->DeleteWindowFromPaintView((OutputDevice*) pWin); }
-
+
virtual BOOL KeyInput(const KeyEvent& rKEvt, ::sd::Window* pWin);
virtual void MouseMove(const MouseEvent& rMEvt, ::sd::Window* pWin);
virtual void MouseButtonUp(const MouseEvent& rMEvt, ::sd::Window* pWin);
virtual void MouseButtonDown(const MouseEvent& rMEvt, ::sd::Window* pWin);
virtual void Command(const CommandEvent& rCEvt, ::sd::Window* pWin);
- virtual SdPage* GetActualPage();
+ virtual SdPage* GetActualPage();
/** @returns
current or selected page or 0.
@@ -123,8 +123,8 @@ public:
virtual void ReadFrameViewData(FrameView* pView);
virtual void WriteFrameViewData();
- virtual void SetZoom(long nZoom);
- virtual void SetZoomRect(const Rectangle& rZoomRect);
+ virtual void SetZoom(long nZoom);
+ virtual void SetZoomRect(const Rectangle& rZoomRect);
virtual BOOL HasSelection( BOOL bText = TRUE ) const;
@@ -138,8 +138,8 @@ public:
@param nPage
When the page number is invalid then the call is ignored.
*/
- void DrawSelectionRect( USHORT nPage );
- void DrawFocusRect( USHORT nPage );
+ void DrawSelectionRect( USHORT nPage );
+ void DrawFocusRect( USHORT nPage );
virtual void WriteUserDataSequence ( ::com::sun::star::uno::Sequence < ::com::sun::star::beans::PropertyValue >&, sal_Bool bBrowse = sal_False );
virtual void ReadUserDataSequence ( const ::com::sun::star::uno::Sequence < ::com::sun::star::beans::PropertyValue >&, sal_Bool bBrowse = sal_False );
@@ -165,11 +165,11 @@ protected:
private:
SlideView* pSlideView;
- Point aDisplayPos;
- Size aDisplaySize;
+ Point aDisplayPos;
+ Size aDisplaySize;
USHORT nCurFocusPage;
- bool bSetInitialZoomFactor;
- bool bInitializeWinPos;
+ bool bSetInitialZoomFactor;
+ bool bInitializeWinPos;
void Construct(SdDrawDocument* pDoc);
void ImplDrawFocusRect( USHORT nPage, BOOL bVisible );
diff --git a/sd/source/ui/inc/SpellDialogChildWindow.hxx b/sd/source/ui/inc/SpellDialogChildWindow.hxx
index f50391a14711..82c66cb40161 100644
--- a/sd/source/ui/inc/SpellDialogChildWindow.hxx
+++ b/sd/source/ui/inc/SpellDialogChildWindow.hxx
@@ -2,7 +2,7 @@
/*************************************************************************
*
* 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
@@ -45,9 +45,9 @@ class SpellDialogChildWindow
{
public:
SpellDialogChildWindow (
- ::Window* pParent,
+ ::Window* pParent,
USHORT nId,
- SfxBindings* pBindings,
+ SfxBindings* pBindings,
SfxChildWinInfo* pInfo);
virtual ~SpellDialogChildWindow (void);
diff --git a/sd/source/ui/inc/TabControl.hxx b/sd/source/ui/inc/TabControl.hxx
index 7a5bd1648e8a..e5c14d020cd8 100644
--- a/sd/source/ui/inc/TabControl.hxx
+++ b/sd/source/ui/inc/TabControl.hxx
@@ -2,7 +2,7 @@
/*************************************************************************
*
* 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
@@ -42,10 +42,10 @@ namespace sd {
class DrawViewShell;
-class TabControl
- : public TabBar,
- public DragSourceHelper,
- public DropTargetHelper
+class TabControl
+ : public TabBar,
+ public DragSourceHelper,
+ public DropTargetHelper
{
public:
TabControl (DrawViewShell* pDrViewSh, ::Window* pParent);
@@ -64,29 +64,29 @@ public:
void SendDeactivatePageEvent (void);
protected:
- DrawViewShell* pDrViewSh;
- BOOL bInternalMove;
+ DrawViewShell* pDrViewSh;
+ BOOL bInternalMove;
// TabBar
- virtual void Select();
- virtual void DoubleClick();
- virtual void MouseButtonDown(const MouseEvent& rMEvt);
-
- virtual void Command(const CommandEvent& rCEvt);
-
- virtual long StartRenaming();
- virtual long AllowRenaming();
- virtual void EndRenaming();
-
- virtual void ActivatePage();
- virtual long DeactivatePage();
+ virtual void Select();
+ virtual void DoubleClick();
+ virtual void MouseButtonDown(const MouseEvent& rMEvt);
+
+ virtual void Command(const CommandEvent& rCEvt);
+
+ virtual long StartRenaming();
+ virtual long AllowRenaming();
+ virtual void EndRenaming();
+
+ virtual void ActivatePage();
+ virtual long DeactivatePage();
// DragSourceHelper
- virtual void StartDrag( sal_Int8 nAction, const Point& rPosPixel );
+ virtual void StartDrag( sal_Int8 nAction, const Point& rPosPixel );
// DropTargetHelper
- virtual sal_Int8 AcceptDrop( const AcceptDropEvent& rEvt );
- virtual sal_Int8 ExecuteDrop( const ExecuteDropEvent& rEvt );
+ virtual sal_Int8 AcceptDrop( const AcceptDropEvent& rEvt );
+ virtual sal_Int8 ExecuteDrop( const ExecuteDropEvent& rEvt );
DECL_LINK(DeactivatePageHdl, void*);
@@ -99,19 +99,19 @@ private:
mrParent( rParent ) {}
private:
- TabControl& mrParent;
-
- virtual ~TabControlTransferable();
-
- virtual void AddSupportedFormats();
- virtual sal_Bool GetData( const ::com::sun::star::datatransfer::DataFlavor& rFlavor );
- virtual void DragFinished( sal_Int8 nDropAction );
+ TabControl& mrParent;
+ virtual ~TabControlTransferable();
+
+ virtual void AddSupportedFormats();
+ virtual sal_Bool GetData( const ::com::sun::star::datatransfer::DataFlavor& rFlavor );
+ virtual void DragFinished( sal_Int8 nDropAction );
+
};
friend class TabControl::TabControlTransferable;
- void DragFinished( sal_Int8 nDropAction );
+ void DragFinished( sal_Int8 nDropAction );
private:
using TabBar::StartDrag;
diff --git a/sd/source/ui/inc/TemplateScanner.hxx b/sd/source/ui/inc/TemplateScanner.hxx
index 86c862a298cf..deb48ef0562d 100644
--- a/sd/source/ui/inc/TemplateScanner.hxx
+++ b/sd/source/ui/inc/TemplateScanner.hxx
@@ -2,7 +2,7 @@
/*************************************************************************
*
* 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
@@ -166,7 +166,7 @@ private:
*/
class FolderDescriptorList;
::boost::scoped_ptr<FolderDescriptorList> mpFolderDescriptors;
-
+
/** Set of state variables used by the methods
InitializeFolderScanning(), GatherFolderList(), ScanFolder(),
InitializeEntryScanning(), and ScanEntry().
diff --git a/sd/source/ui/inc/TextLogger.hxx b/sd/source/ui/inc/TextLogger.hxx
index 7903a5232fea..7a7bc0b066eb 100644
--- a/sd/source/ui/inc/TextLogger.hxx
+++ b/sd/source/ui/inc/TextLogger.hxx
@@ -2,7 +2,7 @@
/*************************************************************************
*
* 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
diff --git a/sd/source/ui/inc/TextObjectBar.hxx b/sd/source/ui/inc/TextObjectBar.hxx
index 30ee37482a4d..2ef1f2bffc34 100644
--- a/sd/source/ui/inc/TextObjectBar.hxx
+++ b/sd/source/ui/inc/TextObjectBar.hxx
@@ -2,7 +2,7 @@
/*************************************************************************
*
* 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
@@ -42,7 +42,7 @@ class View;
class ViewShell;
class Window;
-class TextObjectBar
+class TextObjectBar
: public SfxShell
{
public:
@@ -50,7 +50,7 @@ public:
SFX_DECL_INTERFACE(SD_IF_SDDRAWTEXTOBJECTBAR)
TextObjectBar (
- ViewShell* pSdViewShell,
+ ViewShell* pSdViewShell,
SfxItemPool& rItemPool,
::sd::View* pSdView);
virtual ~TextObjectBar (void);
diff --git a/sd/source/ui/inc/ToolBarManager.hxx b/sd/source/ui/inc/ToolBarManager.hxx
index 04341ef37c42..bdf30db4d09b 100644
--- a/sd/source/ui/inc/ToolBarManager.hxx
+++ b/sd/source/ui/inc/ToolBarManager.hxx
@@ -2,7 +2,7 @@
/*************************************************************************
*
* 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
@@ -131,7 +131,7 @@ public:
const static ::rtl::OUString msBezierObjectBar; // RID_BEZIER_TOOLBOX, 23015
const static ::rtl::OUString msGraphicObjectBar; // RID_DRAW_GRAF_TOOLBOX, 23030
const static ::rtl::OUString msMediaObjectBar; // RID_DRAW_MEDIA_TOOLBOX, 23031
- const static ::rtl::OUString msTableObjectBar; // RID_DRAW_TABLE_TOOLBOX
+ const static ::rtl::OUString msTableObjectBar; // RID_DRAW_TABLE_TOOLBOX
/** The set of tool bar groups.
*/
diff --git a/sd/source/ui/inc/UpdateLockManager.hxx b/sd/source/ui/inc/UpdateLockManager.hxx
index 2f5a4df30c5f..1f12d3dc7b5f 100644
--- a/sd/source/ui/inc/UpdateLockManager.hxx
+++ b/sd/source/ui/inc/UpdateLockManager.hxx
@@ -2,7 +2,7 @@
/*************************************************************************
*
* 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
diff --git a/sd/source/ui/inc/View.hxx b/sd/source/ui/inc/View.hxx
index 7b7fe03f2f73..9939b0efbc16 100644
--- a/sd/source/ui/inc/View.hxx
+++ b/sd/source/ui/inc/View.hxx
@@ -2,7 +2,7 @@
/*************************************************************************
*
* 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
@@ -68,7 +68,7 @@ class ViewClipboard;
struct SdViewRedrawRec
{
OutputDevice* mpOut;
- Rectangle aRect;
+ Rectangle aRect;
};
@@ -78,17 +78,17 @@ public:
TYPEINFO();
View (
- SdDrawDocument* pDrawDoc,
- OutputDevice* pOutDev,
+ SdDrawDocument* pDrawDoc,
+ OutputDevice* pOutDev,
ViewShell* pViewSh=NULL);
virtual ~View (void);
void CompleteRedraw( OutputDevice* pOutDev, const Region& rReg, sdr::contact::ViewObjectContactRedirector* pRedirector = 0L);
- virtual BOOL GetAttributes( SfxItemSet& rTargetSet, BOOL bOnlyHardAttr=FALSE ) const;
- virtual BOOL SetAttributes(const SfxItemSet& rSet, BOOL bReplaceAll = FALSE);
- virtual void MarkListHasChanged();
- virtual void ModelHasChanged();
+ virtual BOOL GetAttributes( SfxItemSet& rTargetSet, BOOL bOnlyHardAttr=FALSE ) const;
+ virtual BOOL SetAttributes(const SfxItemSet& rSet, BOOL bReplaceAll = FALSE);
+ virtual void MarkListHasChanged();
+ virtual void ModelHasChanged();
virtual void SelectAll();
virtual void DoCut(::Window* pWindow=NULL);
virtual void DoCopy(::Window* pWindow=NULL);
@@ -98,24 +98,24 @@ public:
virtual void StartDrag( const Point& rStartPos, ::Window* pWindow );
virtual void DragFinished( sal_Int8 nDropAction );
virtual sal_Int8 AcceptDrop (
- const AcceptDropEvent& rEvt,
+ const AcceptDropEvent& rEvt,
DropTargetHelper& rTargetHelper,
- ::sd::Window* pTargetWindow = NULL,
- USHORT nPage = SDRPAGE_NOTFOUND,
+ ::sd::Window* pTargetWindow = NULL,
+ USHORT nPage = SDRPAGE_NOTFOUND,
USHORT nLayer = SDRPAGE_NOTFOUND);
virtual sal_Int8 ExecuteDrop (
- const ExecuteDropEvent& rEvt,
+ const ExecuteDropEvent& rEvt,
DropTargetHelper& rTargetHelper,
- ::sd::Window* pTargetWindow = NULL,
- USHORT nPage = SDRPAGE_NOTFOUND,
+ ::sd::Window* pTargetWindow = NULL,
+ USHORT nPage = SDRPAGE_NOTFOUND,
USHORT nLayer = SDRPAGE_NOTFOUND);
::com::sun::star::uno::Reference<
- ::com::sun::star::datatransfer::XTransferable>
+ ::com::sun::star::datatransfer::XTransferable>
CreateClipboardDataObject (::sd::View*, ::Window& rWindow);
- ::com::sun::star::uno::Reference<
+ ::com::sun::star::uno::Reference<
::com::sun::star::datatransfer::XTransferable>
- CreateDragDataObject (::sd::View*, ::Window& rWindow,
+ CreateDragDataObject (::sd::View*, ::Window& rWindow,
const Point& rDragPos);
::com::sun::star::uno::Reference<
::com::sun::star::datatransfer::XTransferable>
@@ -135,15 +135,15 @@ public:
bool RestoreDefaultText( SdrTextObj* pTextObj );
- BOOL InsertData( const TransferableDataHelper& rDataHelper,
+ BOOL InsertData( const TransferableDataHelper& rDataHelper,
const Point& rPos, sal_Int8& rDnDAction, BOOL bDrag,
ULONG nFormat = 0, USHORT nPage = SDRPAGE_NOTFOUND, USHORT nLayer = SDRLAYER_NOTFOUND );
/** gets the metafile from the given transferable helper and insert it as a graphic shape.
@param bOptimize if set to true, the metafile is analyzed and if only one bitmap action is
present, then is is inserted as a single graphic.
*/
- bool InsertMetaFile( TransferableDataHelper& rDataHelper,
- const Point& rInsertPos,
+ bool InsertMetaFile( TransferableDataHelper& rDataHelper,
+ const Point& rInsertPos,
ImageMap* pImageMap, bool bOptimize );
SdrGrafObj* InsertGraphic( const Graphic& rGraphic,
@@ -154,23 +154,23 @@ public:
bool PasteRTFTable( SotStorageStreamRef xStm, SdrPage* pPage, ULONG nPasteOptions );
- BOOL IsPresObjSelected(BOOL bOnPage=TRUE, BOOL bOnMasterPage=TRUE, BOOL bCheckPresObjListOnly=FALSE, BOOL bCheckLayoutOnly=FALSE) const;
+ BOOL IsPresObjSelected(BOOL bOnPage=TRUE, BOOL bOnMasterPage=TRUE, BOOL bCheckPresObjListOnly=FALSE, BOOL bCheckLayoutOnly=FALSE) const;
- void SetMarkedOriginalSize();
+ void SetMarkedOriginalSize();
- void LockRedraw(BOOL bLock);
+ void LockRedraw(BOOL bLock);
- BOOL IsMorphingAllowed() const;
- BOOL IsVectorizeAllowed() const;
+ BOOL IsMorphingAllowed() const;
+ BOOL IsVectorizeAllowed() const;
virtual SfxStyleSheet* GetStyleSheet() const;
- BOOL GetExchangeList( List*& rpExchangeList, List* pBookmarkList, USHORT nType );
+ BOOL GetExchangeList( List*& rpExchangeList, List* pBookmarkList, USHORT nType );
virtual void onAccessibilityOptionsChanged();
virtual SdrModel* GetMarkedObjModel() const;
- virtual BOOL Paste(const SdrModel& rMod, const Point& rPos, SdrObjList* pLst=NULL, UINT32 nOptions=0);
+ virtual BOOL Paste(const SdrModel& rMod, const Point& rPos, SdrObjList* pLst=NULL, UINT32 nOptions=0);
using SdrExchangeView::Paste;
/** returns true if we have an undo manager and there is an open list undo action */
@@ -211,21 +211,21 @@ protected:
virtual void OnBeginPasteOrDrop( PasteOrDropInfos* pInfos );
virtual void OnEndPasteOrDrop( PasteOrDropInfos* pInfos );
- SdDrawDocument* mpDoc;
- DrawDocShell* mpDocSh;
- ViewShell* mpViewSh;
- SdrMarkList* mpDragSrcMarkList;
- SdrObject* mpDropMarkerObj;
- SdrDropMarkerOverlay* mpDropMarker;
- USHORT mnDragSrcPgNum;
- Point maDropPos;
- ::std::vector< String > maDropFileVector;
- sal_Int8 mnAction;
- Timer maDropErrorTimer;
- Timer maDropInsertFileTimer;
- USHORT mnLockRedrawSmph;
- List* mpLockedRedraws;
- bool mbIsDropAllowed;
+ SdDrawDocument* mpDoc;
+ DrawDocShell* mpDocSh;
+ ViewShell* mpViewSh;
+ SdrMarkList* mpDragSrcMarkList;
+ SdrObject* mpDropMarkerObj;
+ SdrDropMarkerOverlay* mpDropMarker;
+ USHORT mnDragSrcPgNum;
+ Point maDropPos;
+ ::std::vector< String > maDropFileVector;
+ sal_Int8 mnAction;
+ Timer maDropErrorTimer;
+ Timer maDropInsertFileTimer;
+ USHORT mnLockRedrawSmph;
+ List* mpLockedRedraws;
+ bool mbIsDropAllowed;
DECL_LINK( DropErrorHdl, Timer* );
DECL_LINK( DropInsertFileHdl, Timer* );
@@ -233,20 +233,20 @@ protected:
void ImplClearDrawDropMarker();
- SmartTagSet maSmartTags;
+ SmartTagSet maSmartTags;
private:
::std::auto_ptr<ViewClipboard> mpClipboard;
};
-DrawDocShell* View::GetDocSh (void) const
+DrawDocShell* View::GetDocSh (void) const
{
- return mpDocSh;
+ return mpDocSh;
}
-SdDrawDocument* View::GetDoc (void) const
+SdDrawDocument* View::GetDoc (void) const
{
- return mpDoc;
+ return mpDoc;
}
ViewShell* View::GetViewShell (void) const
diff --git a/sd/source/ui/inc/ViewClipboard.hxx b/sd/source/ui/inc/ViewClipboard.hxx
index 6dbfe46ba0dc..81eca2cc93f9 100644
--- a/sd/source/ui/inc/ViewClipboard.hxx
+++ b/sd/source/ui/inc/ViewClipboard.hxx
@@ -2,7 +2,7 @@
/*************************************************************************
*
* 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
diff --git a/sd/source/ui/inc/ViewShell.hxx b/sd/source/ui/inc/ViewShell.hxx
index 8f70c35cf8cc..7feada71fdbf 100644
--- a/sd/source/ui/inc/ViewShell.hxx
+++ b/sd/source/ui/inc/ViewShell.hxx
@@ -2,7 +2,7 @@
/*************************************************************************
*
* 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
@@ -49,7 +49,7 @@
class SdPage;
class SvxRuler;
-class SdrOle2Obj; // fuer die, die Teile von SVDRAW rausdefiniert haben
+class SdrOle2Obj; // fuer die, die Teile von SVDRAW rausdefiniert haben
class ScrollBarBox;
class SdDrawDocument;
class ScrollBar;
@@ -110,33 +110,33 @@ public:
ST_DRAW, // The Draw application.
ST_IMPRESS, // Main view of the Impress application.
ST_NOTES,
- ST_HANDOUT,
- ST_OUTLINE,
+ ST_HANDOUT,
+ ST_OUTLINE,
ST_SLIDE_SORTER,
ST_PRESENTATION,
ST_TASK_PANE
};
static const int MAX_HSPLIT_CNT = 1;
static const int MAX_VSPLIT_CNT = 1;
- static const int MIN_SCROLLBAR_SIZE = 50;
+ static const int MIN_SCROLLBAR_SIZE = 50;
static const ULONG OUTPUT_DRAWMODE_COLOR = DRAWMODE_DEFAULT;
- static const ULONG OUTPUT_DRAWMODE_GRAYSCALE
- = DRAWMODE_GRAYLINE | DRAWMODE_GRAYFILL
- | DRAWMODE_BLACKTEXT | DRAWMODE_GRAYBITMAP
+ static const ULONG OUTPUT_DRAWMODE_GRAYSCALE
+ = DRAWMODE_GRAYLINE | DRAWMODE_GRAYFILL
+ | DRAWMODE_BLACKTEXT | DRAWMODE_GRAYBITMAP
| DRAWMODE_GRAYGRADIENT;
- static const int OUTPUT_DRAWMODE_BLACKWHITE
- = DRAWMODE_BLACKLINE | DRAWMODE_BLACKTEXT
- | DRAWMODE_WHITEFILL | DRAWMODE_GRAYBITMAP
+ static const int OUTPUT_DRAWMODE_BLACKWHITE
+ = DRAWMODE_BLACKLINE | DRAWMODE_BLACKTEXT
+ | DRAWMODE_WHITEFILL | DRAWMODE_GRAYBITMAP
| DRAWMODE_WHITEGRADIENT;
- static const int OUTPUT_DRAWMODE_CONTRAST
- = DRAWMODE_SETTINGSLINE | DRAWMODE_SETTINGSFILL
+ static const int OUTPUT_DRAWMODE_CONTRAST
+ = DRAWMODE_SETTINGSLINE | DRAWMODE_SETTINGSFILL
| DRAWMODE_SETTINGSTEXT | DRAWMODE_SETTINGSGRADIENT;
TYPEINFO();
ViewShell (
- SfxViewFrame *pFrame,
+ SfxViewFrame *pFrame,
::Window* pParentWindow,
ViewShellBase& rViewShellBase,
bool bAllowCenter = true);
@@ -223,13 +223,13 @@ public:
bar controls are not modified.
*/
virtual void UpdateScrollBars (void);
- void Scroll(long nX, long nY);
- void ScrollLines(long nX, long nY);
- virtual void SetZoom(long nZoom);
- virtual void SetZoomRect(const Rectangle& rZoomRect);
- void InitWindows(const Point& rViewOrigin, const Size& rViewSize,
+ void Scroll(long nX, long nY);
+ void ScrollLines(long nX, long nY);
+ virtual void SetZoom(long nZoom);
+ virtual void SetZoomRect(const Rectangle& rZoomRect);
+ void InitWindows(const Point& rViewOrigin, const Size& rViewSize,
const Point& rWinPos, BOOL bUpdate = FALSE);
- void InvalidateWindows();
+ void InvalidateWindows();
/** This method is still used by the OutlineViewShell to update the
model according to the content of the outline view. This in turn
updates the previews in the slide sorter.
@@ -238,7 +238,7 @@ public:
void DrawMarkRect(const Rectangle& rRect) const;
- void ExecReq( SfxRequest &rReq );
+ void ExecReq( SfxRequest &rReq );
ZoomList* GetZoomList (void);
@@ -259,10 +259,10 @@ public:
/** @returns
current or selected page or 0. This method
will fail in master page mode.
-
+
@deprecated, please use getCurrentPage();
*/
- virtual SdPage* GetActualPage() = 0;
+ virtual SdPage* GetActualPage() = 0;
/** @returns
current or selected page or 0.
@@ -279,13 +279,13 @@ public:
void SetOldFunction(const FunctionReference& xFunction);
void DeactivateCurrentFunction( bool bPermanent = false );
- void SetPageSizeAndBorder(PageKind ePageKind, const Size& rNewSize,
+ void SetPageSizeAndBorder(PageKind ePageKind, const Size& rNewSize,
long nLeft, long nRight, long nUpper, long nLower,
BOOL bScaleAll, Orientation eOrient, USHORT nPaperBin,
BOOL bBackgroundFullSize );
- void SetStartShowWithDialog( BOOL bIn = TRUE ) { mbStartShowWithDialog = bIn; }
- BOOL IsStartShowWithDialog() const { return mbStartShowWithDialog; }
+ void SetStartShowWithDialog( BOOL bIn = TRUE ) { mbStartShowWithDialog = bIn; }
+ BOOL IsStartShowWithDialog() const { return mbStartShowWithDialog; }
USHORT GetPrintedHandoutPageNum (void) const { return mnPrintedHandoutPageNum; }
void SetPrintedHandoutPageNum (USHORT nPageNumber) {mnPrintedHandoutPageNum=nPageNumber; }
@@ -370,7 +370,7 @@ public:
The new size in pixel.
*/
// This is to be replaced by Resize.
- // virtual void AdjustPosSizePixel(const Point &rPos, const Size &rSize);
+ // virtual void AdjustPosSizePixel(const Point &rPos, const Size &rSize);
/** Set position and size of the GUI elements that are controllerd by
the view shell like rulers and scroll bars as well as the actual
@@ -379,8 +379,8 @@ public:
*/
virtual void ArrangeGUIElements (void);
- // virtual void OuterResizePixel(const Point &rPos, const Size &rSize);
- // virtual void InnerResizePixel(const Point &rPos, const Size &rSize);
+ // virtual void OuterResizePixel(const Point &rPos, const Size &rSize);
+ // virtual void InnerResizePixel(const Point &rPos, const Size &rSize);
ViewShellBase& GetViewShellBase (void) const;
@@ -408,8 +408,8 @@ public:
/** This method is more or less an alias to Deactivate(). It is called
before an object of this class is taken from the stack of view
- shells.
-
+ shells.
+
<p>When this method is not called before a view shell is taken from
a stack then the Deactivate() call from the SFX as a response to
RemoveSubShell() comes to late when the view shell is not on the
@@ -474,24 +474,24 @@ protected:
/// The active window.
::sd::Window* mpActiveWindow;
::sd::View* mpView;
- FrameView* mpFrameView;
+ FrameView* mpFrameView;
- FunctionReference mxCurrentFunction;
- FunctionReference mxOldFunction;
- ZoomList* mpZoomList;
+ FunctionReference mxCurrentFunction;
+ FunctionReference mxOldFunction;
+ ZoomList* mpZoomList;
- Point maViewPos;
- Size maViewSize;
- Size maScrBarWH;
+ Point maViewPos;
+ Size maViewSize;
+ Size maScrBarWH;
- BOOL mbCenterAllowed; // wird an Fenster weitergegeben
+ BOOL mbCenterAllowed; // wird an Fenster weitergegeben
- BOOL mbStartShowWithDialog; // Praesentation wurde ueber Dialog gestartet
- USHORT mnPrintedHandoutPageNum; // Page number of the handout page that is to be printed.
+ BOOL mbStartShowWithDialog; // Praesentation wurde ueber Dialog gestartet
+ USHORT mnPrintedHandoutPageNum; // Page number of the handout page that is to be printed.
USHORT mnPrintedHandoutPageCount; // Page count of the handout pages that are to be printed.
- //af BOOL bPrintDirectSelected; // Print only selected objects in direct print
- //afString sPageRange; // pagerange if selected objects in direct print
+ //af BOOL bPrintDirectSelected; // Print only selected objects in direct print
+ //afString sPageRange; // pagerange if selected objects in direct print
/** Area covered by all windows, i.e. the area of the parent window
without the controls at the borders like rulers, scroll bars, tab
@@ -585,12 +585,12 @@ private:
return mpParentWindow;
}
-::sd::View* ViewShell::GetView (void) const
+::sd::View* ViewShell::GetView (void) const
{
- return mpView;
+ return mpView;
}
-SdrView* ViewShell::GetDrawView (void) const
+SdrView* ViewShell::GetDrawView (void) const
{
return static_cast<SdrView*>(mpView);
}
diff --git a/sd/source/ui/inc/ViewShellBase.hxx b/sd/source/ui/inc/ViewShellBase.hxx
index 18f6a14c2a1f..16584fb45857 100644
--- a/sd/source/ui/inc/ViewShellBase.hxx
+++ b/sd/source/ui/inc/ViewShellBase.hxx
@@ -2,7 +2,7 @@
/*************************************************************************
*
* 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
@@ -209,7 +209,7 @@ public:
This is done by adding the border used by the ViewShellBase itself
with the border used by the main view shell.
- @param bForce if true the borders are also updated if old border
+ @param bForce if true the borders are also updated if old border
and new border are same.
*/
void UpdateBorder ( bool bForce = false );
@@ -250,7 +250,7 @@ public:
of that window remains with the called ViewShellBase object.
*/
::Window* GetViewWindow (void);
-
+
/** returns the ui descriptive name for the given uno slot. The result is taken from the configuration
and not cached, so do not use it excessive (f.e. in status updates) */
::rtl::OUString RetrieveLabelFromCommand( const ::rtl::OUString& aCmdURL ) const;
diff --git a/sd/source/ui/inc/ViewShellHint.hxx b/sd/source/ui/inc/ViewShellHint.hxx
index b83be387abb7..c72780783ca9 100644
--- a/sd/source/ui/inc/ViewShellHint.hxx
+++ b/sd/source/ui/inc/ViewShellHint.hxx
@@ -2,7 +2,7 @@
/*************************************************************************
*
* 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
diff --git a/sd/source/ui/inc/ViewShellImplementation.hxx b/sd/source/ui/inc/ViewShellImplementation.hxx
index aad225fba1d0..699047659588 100644
--- a/sd/source/ui/inc/ViewShellImplementation.hxx
+++ b/sd/source/ui/inc/ViewShellImplementation.hxx
@@ -2,7 +2,7 @@
/*************************************************************************
*
* 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
@@ -128,8 +128,8 @@ public:
void AssignLayout ( SfxRequest& rRequest, PageKind ePageKind );
/** Determine the view id of the view shell. This corresponds to the
- view id stored in the SfxViewFrame class.
-
+ view id stored in the SfxViewFrame class.
+
We can not use the view of that class because with the introduction
of the multi pane GUI we do not switch the SfxViewShell anymore when
switching the view in the center pane. The view id of the
diff --git a/sd/source/ui/inc/ViewShellManager.hxx b/sd/source/ui/inc/ViewShellManager.hxx
index b7561ea9f744..9a3a7b1f48fc 100644
--- a/sd/source/ui/inc/ViewShellManager.hxx
+++ b/sd/source/ui/inc/ViewShellManager.hxx
@@ -2,7 +2,7 @@
/*************************************************************************
*
* 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
@@ -56,7 +56,7 @@ class ViewShellBase;
view shells. The FormShell is a special case. With the SetFormShell()
method it can be placed directly above or below one of the view
shells.</p>
-
+
<p>Shells managed by this class are created by factories or are given
directly to Activate... methods. For the sub shells there is one
factory for every view shell. Factories are added or removed via the
@@ -99,7 +99,7 @@ public:
use the ActivateViewShell() method.
*/
void ActivateShell (SfxShell* pShell);
-
+
/** Deactivate the specified shell, i.e. take it and all of its
object bars from the shell stack.
@param pShell
@@ -146,13 +146,13 @@ public:
taken once off the stack and are then moved back on again.)
*/
void MoveSubShellToTop (const ViewShell& rParentShell, ShellId nId);
-
+
/** Send all sub shells of the specified view shell an Invalidate()
call. This does not modify the shell stack.
*/
void InvalidateAllSubShells (
ViewShell* pViewShell);
-
+
/** Move the specified view shell to the top most position on the stack
of view shells in relation to the other view shells. After this the
only shells that are higher on the stack are its object bars.
@@ -182,7 +182,7 @@ public:
whether that is a view shell or a sub shell.
*/
SfxShell* GetTopShell (void) const;
-
+
/** Use this class to safely lock updates of the view shell stack.
*/
class UpdateLock
diff --git a/sd/source/ui/inc/ViewTabBar.hxx b/sd/source/ui/inc/ViewTabBar.hxx
index ed7de6a04e50..ce668bea7650 100644
--- a/sd/source/ui/inc/ViewTabBar.hxx
+++ b/sd/source/ui/inc/ViewTabBar.hxx
@@ -2,7 +2,7 @@
/*************************************************************************
*
* 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
@@ -70,7 +70,7 @@ namespace sd {
/** Tab control for switching between views in the center pane.
*/
-class ViewTabBar
+class ViewTabBar
: private sd::MutexOwner,
public ViewTabBarInterfaceBase
{
@@ -90,12 +90,12 @@ public:
//----- drawing::framework::XConfigurationChangeListener ------------------
- virtual void SAL_CALL
+ virtual void SAL_CALL
notifyConfigurationChange (
const ::com::sun::star::drawing::framework::ConfigurationChangeEvent& rEvent)
throw (::com::sun::star::uno::RuntimeException);
-
+
//----- XEventListener ----------------------------------------------------
virtual void SAL_CALL disposing(
@@ -120,17 +120,17 @@ public:
SAL_CALL removeTabBarButton (
const ::com::sun::star::drawing::framework::TabBarButton& rButton)
throw (::com::sun::star::uno::RuntimeException);
-
+
virtual sal_Bool
SAL_CALL hasTabBarButton (
const ::com::sun::star::drawing::framework::TabBarButton& rButton)
throw (::com::sun::star::uno::RuntimeException);
-
+
virtual ::com::sun::star::uno::Sequence<com::sun::star::drawing::framework::TabBarButton>
SAL_CALL getTabBarButtons (void)
throw (::com::sun::star::uno::RuntimeException);
-
+
//----- XResource ---------------------------------------------------------
virtual ::com::sun::star::uno::Reference<
@@ -170,7 +170,7 @@ public:
const ::com::sun::star::drawing::framework::TabBarButton& rButton);
::com::sun::star::uno::Sequence<com::sun::star::drawing::framework::TabBarButton>
GetTabBarButtons (void);
-
+
private:
::boost::shared_ptr< ::TabControl> mpTabControl;
::com::sun::star::uno::Reference<
diff --git a/sd/source/ui/inc/ViewTabControl.hxx b/sd/source/ui/inc/ViewTabControl.hxx
index 7f4e955a7532..9314791ad7a6 100644
--- a/sd/source/ui/inc/ViewTabControl.hxx
+++ b/sd/source/ui/inc/ViewTabControl.hxx
@@ -2,7 +2,7 @@
/*************************************************************************
*
* 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
@@ -42,10 +42,10 @@ namespace sd {
class DrawViewShell;
-class TabControl
- : public TabBar,
- public DragSourceHelper,
- public DropTargetHelper
+class TabControl
+ : public TabBar,
+ public DragSourceHelper,
+ public DropTargetHelper
{
public:
TabControl (DrawViewShell* pDrViewSh, ::Window* pParent);
@@ -64,29 +64,29 @@ public:
void SendDeactivatePageEvent (void);
protected:
- DrawViewShell* pDrViewSh;
- BOOL bInternalMove;
+ DrawViewShell* pDrViewSh;
+ BOOL bInternalMove;
// TabBar
- virtual void Select();
- virtual void DoubleClick();
- virtual void MouseButtonDown(const MouseEvent& rMEvt);
-
- virtual void Command(const CommandEvent& rCEvt);
-
- virtual long StartRenaming();
- virtual long AllowRenaming();
- virtual void EndRenaming();
-
- virtual void ActivatePage();
- virtual long DeactivatePage();
+ virtual void Select();
+ virtual void DoubleClick();
+ virtual void MouseButtonDown(const MouseEvent& rMEvt);
+
+ virtual void Command(const CommandEvent& rCEvt);
+
+ virtual long StartRenaming();
+ virtual long AllowRenaming();
+ virtual void EndRenaming();
+
+ virtual void ActivatePage();
+ virtual long DeactivatePage();
// DragSourceHelper
- virtual void StartDrag( sal_Int8 nAction, const Point& rPosPixel );
+ virtual void StartDrag( sal_Int8 nAction, const Point& rPosPixel );
// DropTargetHelper
- virtual sal_Int8 AcceptDrop( const AcceptDropEvent& rEvt );
- virtual sal_Int8 ExecuteDrop( const ExecuteDropEvent& rEvt );
+ virtual sal_Int8 AcceptDrop( const AcceptDropEvent& rEvt );
+ virtual sal_Int8 ExecuteDrop( const ExecuteDropEvent& rEvt );
DECL_LINK(DeactivatePageHdl, void*);
@@ -99,19 +99,19 @@ private:
mrParent( rParent ) {}
private:
- TabControl& mrParent;
-
- virtual ~TabControlTransferable();
-
- virtual void AddSupportedFormats();
- virtual sal_Bool GetData( const ::com::sun::star::datatransfer::DataFlavor& rFlavor );
- virtual void DragFinished( sal_Int8 nDropAction );
+ TabControl& mrParent;
+ virtual ~TabControlTransferable();
+
+ virtual void AddSupportedFormats();
+ virtual sal_Bool GetData( const ::com::sun::star::datatransfer::DataFlavor& rFlavor );
+ virtual void DragFinished( sal_Int8 nDropAction );
+
};
friend class TabControl::TabControlTransferable;
- void DragFinished( sal_Int8 nDropAction );
+ void DragFinished( sal_Int8 nDropAction );
};
diff --git a/sd/source/ui/inc/Window.hxx b/sd/source/ui/inc/Window.hxx
index b085cf0ed9ef..986e207ec081 100644
--- a/sd/source/ui/inc/Window.hxx
+++ b/sd/source/ui/inc/Window.hxx
@@ -2,7 +2,7 @@
/*************************************************************************
*
* 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
@@ -44,7 +44,7 @@ class ViewShell;
// #i2237#
// removed old stuff here which still forced zoom to be
// %BRUSH_SIZE which is outdated now
-//#define BRUSH_SIZE 8
+//#define BRUSH_SIZE 8
/** An SdWindow contains the actual working area of ViewShell.
@@ -57,26 +57,26 @@ class ViewShell;
member of the <type>OutputDevice</type> base class. It is calculated to
be an integer percent value.
*/
-class Window
- : public ::Window,
+class Window
+ : public ::Window,
public ::DropTargetHelper
{
public:
Window (::Window* pParent);
virtual ~Window (void);
- void SetViewShell (ViewShell* pViewSh);
+ void SetViewShell (ViewShell* pViewSh);
/** Set the zoom factor to the specified value and center the display
- area arround the zoom center.
- @param nZoom
+ area arround the zoom center.
+ @param nZoom
The zoom factor is given as integral percent value.
*/
- void SetZoomIntegral(long nZoom);
+ void SetZoomIntegral(long nZoom);
/** This internally used method performs the actual adaption of the
- window's map mode to the specified zoom factor.
- @param nZoom
+ window's map mode to the specified zoom factor.
+ @param nZoom
The zoom factor is given as integral percent value.
@return
When the given zoom factor lies outside the valid range enclosed
@@ -85,7 +85,7 @@ public:
forced into that interval. Therefore the returned value is a
valid zoom factor.
*/
- long SetZoomFactor(long nZoom);
+ long SetZoomFactor(long nZoom);
/** This method is called when the whole page shall be displayed in the
window. Position and zoom factor are set so that the given
@@ -96,7 +96,7 @@ public:
@param rZoomRect
The rectangle is expected to be given relative to the upper left
corner of the window in logical coordinates (100th of mm).
- @return
+ @return
The new zoom factor is returned as integral percent value.
*/
long SetZoomRect (const Rectangle& rZoomRect);
@@ -112,8 +112,8 @@ public:
manually or programatically are set to this value if they are
smaller. If the currently used zoom factor is smaller than the minimal zoom
factor than set the minimal zoom factor as the new current zoom
- factor.
-
+ factor.
+
<p>This calculation is performed only when the
<member>bMinZoomAutoCalc</member> is set (to <TRUE/>).</p>
*/
@@ -144,21 +144,21 @@ public:
void UpdateMapMode (void);
- double GetVisibleX(); // Interface fuer ScrollBars
- double GetVisibleY();
- void SetVisibleXY(double fX, double fY);
- double GetVisibleWidth();
- double GetVisibleHeight();
- double GetScrlLineWidth();
- double GetScrlLineHeight();
- double GetScrlPageWidth();
- double GetScrlPageHeight();
+ double GetVisibleX(); // Interface fuer ScrollBars
+ double GetVisibleY();
+ void SetVisibleXY(double fX, double fY);
+ double GetVisibleWidth();
+ double GetVisibleHeight();
+ double GetScrlLineWidth();
+ double GetScrlLineHeight();
+ double GetScrlPageWidth();
+ double GetScrlPageHeight();
virtual void GrabFocus();
virtual void DataChanged( const DataChangedEvent& rDCEvt );
// DropTargetHelper
- virtual sal_Int8 AcceptDrop( const AcceptDropEvent& rEvt );
- virtual sal_Int8 ExecuteDrop( const ExecuteDropEvent& rEvt );
+ virtual sal_Int8 AcceptDrop( const AcceptDropEvent& rEvt );
+ virtual sal_Int8 ExecuteDrop( const ExecuteDropEvent& rEvt );
/** The DropScroll() method is used by AcceptDrop() to scroll the
content of the window while dragging and dropping. With this method
@@ -200,13 +200,13 @@ protected:
virtual long Notify( NotifyEvent& rNEvt );
/** Create an accessibility object that makes this window accessible.
-
+
@return
The returned reference is empty if an accessible object could
not be created.
*/
virtual ::com::sun::star::uno::Reference<
- ::com::sun::star::accessibility::XAccessible>
+ ::com::sun::star::accessibility::XAccessible>
CreateAccessible (void);
XubString GetSurroundingText() const;
diff --git a/sd/source/ui/inc/WindowUpdater.hxx b/sd/source/ui/inc/WindowUpdater.hxx
index 0799823f4c96..63d5138dade1 100644
--- a/sd/source/ui/inc/WindowUpdater.hxx
+++ b/sd/source/ui/inc/WindowUpdater.hxx
@@ -2,7 +2,7 @@
/*************************************************************************
*
* 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
diff --git a/sd/source/ui/inc/animobjs.hrc b/sd/source/ui/inc/animobjs.hrc
index 5c5c8e7852cc..7542dbe73882 100644
--- a/sd/source/ui/inc/animobjs.hrc
+++ b/sd/source/ui/inc/animobjs.hrc
@@ -1,7 +1,7 @@
/*************************************************************************
*
* 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
diff --git a/sd/source/ui/inc/animobjs.hxx b/sd/source/ui/inc/animobjs.hxx
index 0de7dac8ad8a..969cecbb88fe 100644
--- a/sd/source/ui/inc/animobjs.hxx
+++ b/sd/source/ui/inc/animobjs.hxx
@@ -2,7 +2,7 @@
/*************************************************************************
*
* 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
@@ -74,8 +74,8 @@ enum BitmapAdjustment
class SdDisplay : public Control
{
private:
- BitmapEx aBitmapEx;
- Fraction aScale;
+ BitmapEx aBitmapEx;
+ Fraction aScale;
public:
SdDisplay( ::Window* pWin, SdResId Id );
@@ -83,8 +83,8 @@ public:
virtual void Paint( const Rectangle& rRect );
- void SetBitmapEx( BitmapEx* pBmpEx );
- void SetScale( const Fraction& rFrac );
+ void SetBitmapEx( BitmapEx* pBmpEx );
+ void SetScale( const Fraction& rFrac );
virtual void DataChanged( const DataChangedEvent& rDCEvt );
};
@@ -101,59 +101,59 @@ public:
::Window* pParent, const SdResId& rSdResId );
virtual ~AnimationWindow();
- void AddObj( ::sd::View& rView );
- void CreateAnimObj( ::sd::View& rView );
+ void AddObj( ::sd::View& rView );
+ void CreateAnimObj( ::sd::View& rView );
virtual void DataChanged( const DataChangedEvent& rDCEvt );
protected:
- virtual BOOL Close();
- virtual void Resize();
- virtual void FillInfo( SfxChildWinInfo& ) const;
+ virtual BOOL Close();
+ virtual void Resize();
+ virtual void FillInfo( SfxChildWinInfo& ) const;
private:
- SdDisplay aCtlDisplay;
- ImageButton aBtnFirst;
- ImageButton aBtnReverse;
- ImageButton aBtnStop;
- ImageButton aBtnPlay;
- ImageButton aBtnLast;
- NumericField aNumFldBitmap;
- TimeField aTimeField;
- ListBox aLbLoopCount;
-
- ImageButton aBtnGetOneObject;
- ImageButton aBtnGetAllObjects;
- ImageButton aBtnRemoveBitmap;
- ImageButton aBtnRemoveAll;
- FixedText aFtCount;
- FixedInfo aFiCount;
- FixedLine aGrpBitmap;
-
- RadioButton aRbtGroup;
- RadioButton aRbtBitmap;
- FixedText aFtAdjustment;
- ListBox aLbAdjustment;
- PushButton aBtnCreateGroup;
- FixedLine aGrpAnimation;
-
- ::Window* pWin;
- List aBmpExList;
- List aTimeList;
+ SdDisplay aCtlDisplay;
+ ImageButton aBtnFirst;
+ ImageButton aBtnReverse;
+ ImageButton aBtnStop;
+ ImageButton aBtnPlay;
+ ImageButton aBtnLast;
+ NumericField aNumFldBitmap;
+ TimeField aTimeField;
+ ListBox aLbLoopCount;
+
+ ImageButton aBtnGetOneObject;
+ ImageButton aBtnGetAllObjects;
+ ImageButton aBtnRemoveBitmap;
+ ImageButton aBtnRemoveAll;
+ FixedText aFtCount;
+ FixedInfo aFiCount;
+ FixedLine aGrpBitmap;
+
+ RadioButton aRbtGroup;
+ RadioButton aRbtBitmap;
+ FixedText aFtAdjustment;
+ ListBox aLbAdjustment;
+ PushButton aBtnCreateGroup;
+ FixedLine aGrpAnimation;
+
+ ::Window* pWin;
+ List aBmpExList;
+ List aTimeList;
SdDrawDocument* pMyDoc;
- BitmapEx* pBitmapEx;
+ BitmapEx* pBitmapEx;
- Size aSize;
- Size aFltWinSize;
- Size aDisplaySize;
- Size aBmpSize;
- BOOL bMovie;
- BOOL bAllObjects;
+ Size aSize;
+ Size aFltWinSize;
+ Size aDisplaySize;
+ Size aBmpSize;
+ BOOL bMovie;
+ BOOL bAllObjects;
- SfxBindings* pBindings;
- AnimationControllerItem* pControllerItem;
+ SfxBindings* pBindings;
+ AnimationControllerItem* pControllerItem;
- ScopeLock maPlayLock;
+ ScopeLock maPlayLock;
//------------------------------------
DECL_LINK( ClickFirstHdl, void * );
@@ -167,11 +167,11 @@ private:
DECL_LINK( ModifyBitmapHdl, void * );
DECL_LINK( ModifyTimeHdl, void * );
- void UpdateControl( ULONG nPos, BOOL bDisableCtrls = FALSE );
- void ResetAttrs();
- void WaitInEffect( ULONG nMilliSeconds, ULONG nTime,
+ void UpdateControl( ULONG nPos, BOOL bDisableCtrls = FALSE );
+ void ResetAttrs();
+ void WaitInEffect( ULONG nMilliSeconds, ULONG nTime,
SfxProgress* pStbMgr ) const;
- Fraction GetScale();
+ Fraction GetScale();
};
/*************************************************************************
diff --git a/sd/source/ui/inc/annotationmanager.hxx b/sd/source/ui/inc/annotationmanager.hxx
index 3c68e468f4c9..0d596bd6efcd 100644
--- a/sd/source/ui/inc/annotationmanager.hxx
+++ b/sd/source/ui/inc/annotationmanager.hxx
@@ -2,7 +2,7 @@
/*************************************************************************
*
* 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
@@ -47,13 +47,13 @@ class AnnotationManager
public:
AnnotationManager( ViewShellBase& rViewShellBase );
~AnnotationManager();
-
+
void ExecuteAnnotation (SfxRequest& rRequest);
void GetAnnotationState (SfxItemSet& rItemSet);
private:
::rtl::Reference< AnnotationManagerImpl > mxImpl;
-};
+};
}
diff --git a/sd/source/ui/inc/assclass.hxx b/sd/source/ui/inc/assclass.hxx
index 9074ab44f9ce..11a765111739 100644
--- a/sd/source/ui/inc/assclass.hxx
+++ b/sd/source/ui/inc/assclass.hxx
@@ -2,7 +2,7 @@
/*************************************************************************
*
* 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
diff --git a/sd/source/ui/inc/bmcache.hxx b/sd/source/ui/inc/bmcache.hxx
index 3a68e760bcda..3841dc30ba1c 100644
--- a/sd/source/ui/inc/bmcache.hxx
+++ b/sd/source/ui/inc/bmcache.hxx
@@ -2,7 +2,7 @@
/*************************************************************************
*
* 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
@@ -37,18 +37,18 @@ class GraphicObject;
class BitmapCache
{
- ULONG nMaxSize;
- ULONG nCurSize;
- List aEntries;
-
-public:
+ ULONG nMaxSize;
+ ULONG nCurSize;
+ List aEntries;
+
+public:
BitmapCache(ULONG nMaxSizeKB)
: nMaxSize(nMaxSizeKB), nCurSize(0) {}
- virtual ~BitmapCache();
+ virtual ~BitmapCache();
void Remove(const SdPage* pPage);
};
-#endif // _SD_BMCACHE_HXX
+#endif // _SD_BMCACHE_HXX
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/sd/source/ui/inc/brkdlg.hrc b/sd/source/ui/inc/brkdlg.hrc
index 02f2311a39ff..934b50d30ddd 100644
--- a/sd/source/ui/inc/brkdlg.hrc
+++ b/sd/source/ui/inc/brkdlg.hrc
@@ -1,7 +1,7 @@
/*************************************************************************
*
* 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
@@ -25,10 +25,10 @@
*
************************************************************************/
#define FT_OBJ_INFO 1
-#define FT_ACT_INFO 2
-#define FT_INS_INFO 3
+#define FT_ACT_INFO 2
+#define FT_INS_INFO 3
#define FI_OBJ_INFO 4
-#define FI_ACT_INFO 5
-#define FI_INS_INFO 6
+#define FI_ACT_INFO 5
+#define FI_INS_INFO 6
#define BTN_CANCEL 7
#define DLG_BREAK 6197
diff --git a/sd/source/ui/inc/bulmaper.hxx b/sd/source/ui/inc/bulmaper.hxx
index 53f466b354c6..2e8c0143a2ea 100644
--- a/sd/source/ui/inc/bulmaper.hxx
+++ b/sd/source/ui/inc/bulmaper.hxx
@@ -2,7 +2,7 @@
/*************************************************************************
*
* 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
diff --git a/sd/source/ui/inc/celltempl.hrc b/sd/source/ui/inc/celltempl.hrc
index ee3c596a494d..c82d60452b56 100644
--- a/sd/source/ui/inc/celltempl.hrc
+++ b/sd/source/ui/inc/celltempl.hrc
@@ -1,7 +1,7 @@
/*************************************************************************
*
* 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
@@ -25,5 +25,5 @@
*
************************************************************************/
#include <sfx2/sfx.hrc>
-#define TAB_CELL_TEMPLATE 910
+#define TAB_CELL_TEMPLATE 910
#define TAB_CONTROL 1
diff --git a/sd/source/ui/inc/celltempl.hxx b/sd/source/ui/inc/celltempl.hxx
index 4a25a784d3c3..0e8a0456f77d 100644
--- a/sd/source/ui/inc/celltempl.hxx
+++ b/sd/source/ui/inc/celltempl.hxx
@@ -2,7 +2,7 @@
/*************************************************************************
*
* 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
@@ -41,13 +41,13 @@ class SdrModel;
class SdPresCellTemplateDlg : public SfxStyleDialog
{
private:
- XColorTable* mpColorTab;
- XGradientList* mpGradientList;
- XHatchList* mpHatchingList;
- XBitmapList* mpBitmapList;
+ XColorTable* mpColorTab;
+ XGradientList* mpGradientList;
+ XHatchList* mpHatchingList;
+ XBitmapList* mpBitmapList;
- virtual void PageCreated( USHORT nId, SfxTabPage &rPage );
- virtual const SfxItemSet* GetRefreshedSet();
+ virtual void PageCreated( USHORT nId, SfxTabPage &rPage );
+ virtual const SfxItemSet* GetRefreshedSet();
public:
SdPresCellTemplateDlg( SdrModel* pModel, Window* pParent, SfxStyleSheetBase& rStyleBase );
diff --git a/sd/source/ui/inc/cfgids.hxx b/sd/source/ui/inc/cfgids.hxx
index df2a4dec9cbe..58e4e898e1df 100644
--- a/sd/source/ui/inc/cfgids.hxx
+++ b/sd/source/ui/inc/cfgids.hxx
@@ -2,7 +2,7 @@
/*************************************************************************
*
* 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
@@ -37,40 +37,40 @@
#define SDCFG_DRAW (SFX_ITEMTYPE_SD_BEGIN + 3)
// Acceleratoren, Menus, ...
-#define RID_DRAW_DEFAULTACCEL (SFX_ITEMTYPE_SD_BEGIN + 5)
-#define RID_DRAW_DEFAULTMENU (SFX_ITEMTYPE_SD_BEGIN + 6)
-#define RID_DRAW_PORTALMENU (SFX_ITEMTYPE_SD_BEGIN + 35)
-#define RID_DRAW_STATUSBAR (SFX_ITEMTYPE_SD_BEGIN + 7)
+#define RID_DRAW_DEFAULTACCEL (SFX_ITEMTYPE_SD_BEGIN + 5)
+#define RID_DRAW_DEFAULTMENU (SFX_ITEMTYPE_SD_BEGIN + 6)
+#define RID_DRAW_PORTALMENU (SFX_ITEMTYPE_SD_BEGIN + 35)
+#define RID_DRAW_STATUSBAR (SFX_ITEMTYPE_SD_BEGIN + 7)
// Acceleratoren, Menus, ... (fuers Draw (Graphic))
-#define RID_GRAPHIC_DEFAULTACCEL (SFX_ITEMTYPE_SD_BEGIN + 8)
-#define RID_GRAPHIC_DEFAULTMENU (SFX_ITEMTYPE_SD_BEGIN + 9)
-#define RID_GRAPHIC_PORTALMENU (SFX_ITEMTYPE_SD_BEGIN + 36)
-//#define RID_GRAPHIC_STATUSBAR (SFX_ITEMTYPE_SD_BEGIN + 30)
+#define RID_GRAPHIC_DEFAULTACCEL (SFX_ITEMTYPE_SD_BEGIN + 8)
+#define RID_GRAPHIC_DEFAULTMENU (SFX_ITEMTYPE_SD_BEGIN + 9)
+#define RID_GRAPHIC_PORTALMENU (SFX_ITEMTYPE_SD_BEGIN + 36)
+//#define RID_GRAPHIC_STATUSBAR (SFX_ITEMTYPE_SD_BEGIN + 30)
// Toolbars
-#define RID_DRAW_DEFAULTTOOLBOX (SFX_ITEMTYPE_SD_BEGIN + 10)
-#define RID_DRAW_TOOLBOX (SFX_ITEMTYPE_SD_BEGIN + 11)
-#define RID_SLIDE_TOOLBOX (SFX_ITEMTYPE_SD_BEGIN + 12)
-#define RID_DRAW_OBJ_TOOLBOX (SFX_ITEMTYPE_SD_BEGIN + 13)
-#define RID_SLIDE_OBJ_TOOLBOX (SFX_ITEMTYPE_SD_BEGIN + 14)
-#define RID_BEZIER_TOOLBOX (SFX_ITEMTYPE_SD_BEGIN + 15)
-#define RID_DRAW_TEXT_TOOLBOX (SFX_ITEMTYPE_SD_BEGIN + 16)
-#define RID_OUTLINE_TOOLBOX (SFX_ITEMTYPE_SD_BEGIN + 17)
-#define RID_DRAW_TABLE_TOOLBOX (SFX_ITEMTYPE_SD_BEGIN + 18)
-#define RID_GLUEPOINTS_TOOLBOX (SFX_ITEMTYPE_SD_BEGIN + 19)
-#define RID_DRAW_OPTIONS_TOOLBOX (SFX_ITEMTYPE_SD_BEGIN + 20)
-#define RID_DRAW_COMMONTASK_TOOLBOX (SFX_ITEMTYPE_SD_BEGIN + 21)
-#define RID_FORMLAYER_TOOLBOX (SFX_ITEMTYPE_SD_BEGIN + 22)
-#define RID_DRAW_VIEWER_TOOLBOX (SFX_ITEMTYPE_SD_BEGIN + 23)
+#define RID_DRAW_DEFAULTTOOLBOX (SFX_ITEMTYPE_SD_BEGIN + 10)
+#define RID_DRAW_TOOLBOX (SFX_ITEMTYPE_SD_BEGIN + 11)
+#define RID_SLIDE_TOOLBOX (SFX_ITEMTYPE_SD_BEGIN + 12)
+#define RID_DRAW_OBJ_TOOLBOX (SFX_ITEMTYPE_SD_BEGIN + 13)
+#define RID_SLIDE_OBJ_TOOLBOX (SFX_ITEMTYPE_SD_BEGIN + 14)
+#define RID_BEZIER_TOOLBOX (SFX_ITEMTYPE_SD_BEGIN + 15)
+#define RID_DRAW_TEXT_TOOLBOX (SFX_ITEMTYPE_SD_BEGIN + 16)
+#define RID_OUTLINE_TOOLBOX (SFX_ITEMTYPE_SD_BEGIN + 17)
+#define RID_DRAW_TABLE_TOOLBOX (SFX_ITEMTYPE_SD_BEGIN + 18)
+#define RID_GLUEPOINTS_TOOLBOX (SFX_ITEMTYPE_SD_BEGIN + 19)
+#define RID_DRAW_OPTIONS_TOOLBOX (SFX_ITEMTYPE_SD_BEGIN + 20)
+#define RID_DRAW_COMMONTASK_TOOLBOX (SFX_ITEMTYPE_SD_BEGIN + 21)
+#define RID_FORMLAYER_TOOLBOX (SFX_ITEMTYPE_SD_BEGIN + 22)
+#define RID_DRAW_VIEWER_TOOLBOX (SFX_ITEMTYPE_SD_BEGIN + 23)
#define RID_GRAPHIC_VIEWER_TOOLBOX (SFX_ITEMTYPE_SD_BEGIN + 24)
-#define RID_GRAPHIC_TOOLBOX (SFX_ITEMTYPE_SD_BEGIN + 25)
-#define RID_GRAPHIC_OPTIONS_TOOLBOX (SFX_ITEMTYPE_SD_BEGIN + 26)
-#define RID_GRAPHIC_OBJ_TOOLBOX (SFX_ITEMTYPE_SD_BEGIN + 27)
+#define RID_GRAPHIC_TOOLBOX (SFX_ITEMTYPE_SD_BEGIN + 25)
+#define RID_GRAPHIC_OPTIONS_TOOLBOX (SFX_ITEMTYPE_SD_BEGIN + 26)
+#define RID_GRAPHIC_OBJ_TOOLBOX (SFX_ITEMTYPE_SD_BEGIN + 27)
#define RID_GRAPHIC_TEXT_TOOLBOX (SFX_ITEMTYPE_SD_BEGIN + 28)
-#define RID_DRAW_GRAF_TOOLBOX (SFX_ITEMTYPE_SD_BEGIN + 30)
-#define RID_DRAW_MEDIA_TOOLBOX (SFX_ITEMTYPE_SD_BEGIN + 31)
+#define RID_DRAW_GRAF_TOOLBOX (SFX_ITEMTYPE_SD_BEGIN + 30)
+#define RID_DRAW_MEDIA_TOOLBOX (SFX_ITEMTYPE_SD_BEGIN + 31)
#endif
diff --git a/sd/source/ui/inc/copydlg.hrc b/sd/source/ui/inc/copydlg.hrc
index f0067bd47cee..77a77694c5c4 100644
--- a/sd/source/ui/inc/copydlg.hrc
+++ b/sd/source/ui/inc/copydlg.hrc
@@ -1,7 +1,7 @@
/*************************************************************************
*
* 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
diff --git a/sd/source/ui/inc/copydlg.hxx b/sd/source/ui/inc/copydlg.hxx
index 6ef5eca2b051..bcb5b86204c4 100644
--- a/sd/source/ui/inc/copydlg.hxx
+++ b/sd/source/ui/inc/copydlg.hxx
@@ -2,7 +2,7 @@
/*************************************************************************
*
* 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
@@ -47,7 +47,7 @@ class View;
|* Dialog zum Einstellen des Bildschirms
|*
\************************************************************************/
-class CopyDlg
+class CopyDlg
: public SfxModalDialog
{
public:
@@ -55,43 +55,43 @@ public:
XColorTable* pColTab, ::sd::View* pView );
~CopyDlg();
- void GetAttr( SfxItemSet& rOutAttrs );
+ void GetAttr( SfxItemSet& rOutAttrs );
DECL_LINK( Reset, void* );
private:
- FixedText maFtCopies;
- NumericField maNumFldCopies;
- ImageButton maBtnSetViewData;
-
- FixedText maFtMoveX;
- MetricField maMtrFldMoveX;
- FixedText maFtMoveY;
- MetricField maMtrFldMoveY;
- FixedText maFtAngle;
- MetricField maMtrFldAngle;
- FixedLine maGrpMovement;
-
- FixedText maFtWidth;
- MetricField maMtrFldWidth;
- FixedText maFtHeight;
- MetricField maMtrFldHeight;
- FixedLine maGrpEnlargement;
-
- FixedText maFtStartColor;
- ColorLB maLbStartColor;
- FixedText maFtEndColor;
- ColorLB maLbEndColor;
- FixedLine maGrpColor;
-
- OKButton maBtnOK;
- CancelButton maBtnCancel;
- HelpButton maBtnHelp;
- PushButton maBtnSetDefault;
-
- const SfxItemSet& mrOutAttrs;
- XColorTable* mpColorTab;
- Fraction maUIScale;
- ::sd::View* mpView;
+ FixedText maFtCopies;
+ NumericField maNumFldCopies;
+ ImageButton maBtnSetViewData;
+
+ FixedText maFtMoveX;
+ MetricField maMtrFldMoveX;
+ FixedText maFtMoveY;
+ MetricField maMtrFldMoveY;
+ FixedText maFtAngle;
+ MetricField maMtrFldAngle;
+ FixedLine maGrpMovement;
+
+ FixedText maFtWidth;
+ MetricField maMtrFldWidth;
+ FixedText maFtHeight;
+ MetricField maMtrFldHeight;
+ FixedLine maGrpEnlargement;
+
+ FixedText maFtStartColor;
+ ColorLB maLbStartColor;
+ FixedText maFtEndColor;
+ ColorLB maLbEndColor;
+ FixedLine maGrpColor;
+
+ OKButton maBtnOK;
+ CancelButton maBtnCancel;
+ HelpButton maBtnHelp;
+ PushButton maBtnSetDefault;
+
+ const SfxItemSet& mrOutAttrs;
+ XColorTable* mpColorTab;
+ Fraction maUIScale;
+ ::sd::View* mpView;
DECL_LINK( SelectColorHdl, void * );
DECL_LINK( SetViewData, void * );
diff --git a/sd/source/ui/inc/custsdlg.hrc b/sd/source/ui/inc/custsdlg.hrc
index 2ce79cdae877..2945740b951d 100644
--- a/sd/source/ui/inc/custsdlg.hrc
+++ b/sd/source/ui/inc/custsdlg.hrc
@@ -1,7 +1,7 @@
/*************************************************************************
*
* 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
@@ -26,8 +26,8 @@
************************************************************************/
#include <sfx2/sfx.hrc>
-#define DLG_CUSTOMSHOW 843
-#define DLG_DEFINE_CUSTOMSHOW 890
+#define DLG_CUSTOMSHOW 843
+#define DLG_DEFINE_CUSTOMSHOW 890
#define BTN_OK 1
#define BTN_NEW 1
#define BTN_EDIT 2
diff --git a/sd/source/ui/inc/custsdlg.hxx b/sd/source/ui/inc/custsdlg.hxx
index 53bfc4c6114b..36d5ea100d1f 100644
--- a/sd/source/ui/inc/custsdlg.hxx
+++ b/sd/source/ui/inc/custsdlg.hxx
@@ -2,7 +2,7 @@
/*************************************************************************
*
* 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
@@ -45,22 +45,22 @@ class SdCustomShow;
class SdCustomShowDlg : public ModalDialog
{
private:
- ListBox aLbCustomShows;
- CheckBox aCbxUseCustomShow;
- PushButton aBtnNew;
- PushButton aBtnEdit;
- PushButton aBtnRemove;
- PushButton aBtnCopy;
- HelpButton aBtnHelp;
- PushButton aBtnStartShow;
- OKButton aBtnOK;
-
- SdDrawDocument& rDoc;
- List* pCustomShowList;
- SdCustomShow* pCustomShow;
- BOOL bModified;
-
- void CheckState();
+ ListBox aLbCustomShows;
+ CheckBox aCbxUseCustomShow;
+ PushButton aBtnNew;
+ PushButton aBtnEdit;
+ PushButton aBtnRemove;
+ PushButton aBtnCopy;
+ HelpButton aBtnHelp;
+ PushButton aBtnStartShow;
+ OKButton aBtnOK;
+
+ SdDrawDocument& rDoc;
+ List* pCustomShowList;
+ SdCustomShow* pCustomShow;
+ BOOL bModified;
+
+ void CheckState();
DECL_LINK( ClickButtonHdl, void * );
DECL_LINK( StartShowHdl, Button* );
@@ -69,8 +69,8 @@ public:
SdCustomShowDlg( Window* pWindow, SdDrawDocument& rDrawDoc );
~SdCustomShowDlg();
- BOOL IsModified() const { return( bModified ); }
- BOOL IsCustomShow() const;
+ BOOL IsModified() const { return( bModified ); }
+ BOOL IsCustomShow() const;
};
@@ -79,25 +79,25 @@ public:
class SdDefineCustomShowDlg : public ModalDialog
{
private:
- FixedText aFtName;
- Edit aEdtName;
- FixedText aFtPages;
- MultiListBox aLbPages;
- PushButton aBtnAdd;
- PushButton aBtnRemove;
- FixedText aFtCustomPages;
- SvTreeListBox aLbCustomPages;
- OKButton aBtnOK;
- CancelButton aBtnCancel;
- HelpButton aBtnHelp;
-
- SdDrawDocument& rDoc;
- SdCustomShow*& rpCustomShow;
- BOOL bModified;
- String aOldName;
-
- void CheckState();
- void CheckCustomShow();
+ FixedText aFtName;
+ Edit aEdtName;
+ FixedText aFtPages;
+ MultiListBox aLbPages;
+ PushButton aBtnAdd;
+ PushButton aBtnRemove;
+ FixedText aFtCustomPages;
+ SvTreeListBox aLbCustomPages;
+ OKButton aBtnOK;
+ CancelButton aBtnCancel;
+ HelpButton aBtnHelp;
+
+ SdDrawDocument& rDoc;
+ SdCustomShow*& rpCustomShow;
+ BOOL bModified;
+ String aOldName;
+
+ void CheckState();
+ void CheckCustomShow();
DECL_LINK( ClickButtonHdl, void * );
DECL_LINK( OKHdl, Button* );
@@ -108,7 +108,7 @@ public:
SdDrawDocument& rDrawDoc, SdCustomShow*& rpCS );
~SdDefineCustomShowDlg();
- BOOL IsModified() const { return( bModified ); }
+ BOOL IsModified() const { return( bModified ); }
};
#endif // _SD_CUSTSDLG_HXX
diff --git a/sd/source/ui/inc/diactrl.hxx b/sd/source/ui/inc/diactrl.hxx
index 6b84865ed65d..5b8f24c87849 100644
--- a/sd/source/ui/inc/diactrl.hxx
+++ b/sd/source/ui/inc/diactrl.hxx
@@ -2,7 +2,7 @@
/*************************************************************************
*
* 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
@@ -47,15 +47,15 @@ class SdPagesField : public SvxMetricField
private:
::com::sun::star::uno::Reference< ::com::sun::star::frame::XFrame > m_xFrame;
protected:
- virtual void Modify();
+ virtual void Modify();
public:
- SdPagesField( Window* pParent,
+ SdPagesField( Window* pParent,
const ::com::sun::star::uno::Reference< ::com::sun::star::frame::XFrame >& rFrame,
WinBits nBits = WB_BORDER | WB_SPIN | WB_REPEAT );
~SdPagesField();
- void UpdatePagesField( const SfxUInt16Item* pItem );
+ void UpdatePagesField( const SfxUInt16Item* pItem );
};
//========================================================================
@@ -65,9 +65,9 @@ public:
class SdTbxCtlDiaPages : public SfxToolBoxControl
{
public:
- virtual void StateChanged( USHORT nSID, SfxItemState eState,
+ virtual void StateChanged( USHORT nSID, SfxItemState eState,
const SfxPoolItem* pState );
- virtual Window* CreateItemWindow( Window *pParent );
+ virtual Window* CreateItemWindow( Window *pParent );
SFX_DECL_TOOLBOX_CONTROL();
diff --git a/sd/source/ui/inc/dialogs.hrc b/sd/source/ui/inc/dialogs.hrc
index af233ad3b52c..48e2c67d602b 100644
--- a/sd/source/ui/inc/dialogs.hrc
+++ b/sd/source/ui/inc/dialogs.hrc
@@ -1,7 +1,7 @@
/*************************************************************************
*
* 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
@@ -26,11 +26,11 @@
************************************************************************/
/** module unique resource ids for dialogs */
-#define RID_SD_DLG_HEADERFOOTER (1000)
-#define RID_SD_DLG_MASTER_LAYOUT (1001)
+#define RID_SD_DLG_HEADERFOOTER (1000)
+#define RID_SD_DLG_MASTER_LAYOUT (1001)
/** module unique resource ids for tabpages */
-#define RID_SD_TABPAGE_HEADERFOOTER (1000)
-#define RID_SD_TABPAGE_HEADERFOOTER_SLIDE (1001)
-#define RID_SD_TABPAGE_HEADERFOOTER_NOTESHANDOUT (1002)
+#define RID_SD_TABPAGE_HEADERFOOTER (1000)
+#define RID_SD_TABPAGE_HEADERFOOTER_SLIDE (1001)
+#define RID_SD_TABPAGE_HEADERFOOTER_NOTESHANDOUT (1002)
diff --git a/sd/source/ui/inc/dlg_char.hrc b/sd/source/ui/inc/dlg_char.hrc
index dccf0570f1a7..6f9ede93df38 100644
--- a/sd/source/ui/inc/dlg_char.hrc
+++ b/sd/source/ui/inc/dlg_char.hrc
@@ -1,7 +1,7 @@
/*************************************************************************
*
* 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
@@ -24,5 +24,5 @@
* for a copy of the LGPLv3 License.
*
************************************************************************/
-#define TAB_CHAR 20600
+#define TAB_CHAR 20600
diff --git a/sd/source/ui/inc/dlg_char.hxx b/sd/source/ui/inc/dlg_char.hxx
index f5b1c3e7ff27..952db207fba4 100644
--- a/sd/source/ui/inc/dlg_char.hxx
+++ b/sd/source/ui/inc/dlg_char.hxx
@@ -2,7 +2,7 @@
/*************************************************************************
*
* 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
@@ -46,10 +46,10 @@ class SfxObjectShell;
class SdCharDlg : public SfxTabDialog
{
private:
- const SfxItemSet& rOutAttrs;
+ const SfxItemSet& rOutAttrs;
const SfxObjectShell& rDocShell;
- virtual void PageCreated( USHORT nId, SfxTabPage &rPage );
+ virtual void PageCreated( USHORT nId, SfxTabPage &rPage );
public:
diff --git a/sd/source/ui/inc/dlgass.hrc b/sd/source/ui/inc/dlgass.hrc
index 5e406cfbc121..9ce7e72537bc 100644
--- a/sd/source/ui/inc/dlgass.hrc
+++ b/sd/source/ui/inc/dlgass.hrc
@@ -1,7 +1,7 @@
/*************************************************************************
*
* 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
@@ -33,56 +33,56 @@
#define CB_PREVIEW 7
#define CB_STARTWITH 8
-#define FB_PAGE1 9
-#define FL_PAGE1_ARTGROUP 10
-#define RB_PAGE1_EMPTY 11
-#define RB_PAGE1_TEMPLATE 12
-#define LB_PAGE1_REGION 13
-#define LB_PAGE1_TEMPLATES 14
-#define RB_PAGE1_OPEN 15
-#define LB_PAGE1_OPEN 16
+#define FB_PAGE1 9
+#define FL_PAGE1_ARTGROUP 10
+#define RB_PAGE1_EMPTY 11
+#define RB_PAGE1_TEMPLATE 12
+#define LB_PAGE1_REGION 13
+#define LB_PAGE1_TEMPLATES 14
+#define RB_PAGE1_OPEN 15
+#define LB_PAGE1_OPEN 16
#define PB_PAGE1_OPEN 17
-#define FB_PAGE2 30
-#define FL_PAGE2_LAYOUT 31
-#define LB_PAGE2_REGION 32
-#define LB_PAGE2_LAYOUT 33
-#define FL_PAGE2_OUTPUTTYPES 34
-#define RB_PAGE2_MEDIUM1 35
-#define RB_PAGE2_MEDIUM2 36
-#define RB_PAGE2_MEDIUM3 37
-#define RB_PAGE2_MEDIUM4 38
-#define RB_PAGE2_MEDIUM5 39
+#define FB_PAGE2 30
+#define FL_PAGE2_LAYOUT 31
+#define LB_PAGE2_REGION 32
+#define LB_PAGE2_LAYOUT 33
+#define FL_PAGE2_OUTPUTTYPES 34
+#define RB_PAGE2_MEDIUM1 35
+#define RB_PAGE2_MEDIUM2 36
+#define RB_PAGE2_MEDIUM3 37
+#define RB_PAGE2_MEDIUM4 38
+#define RB_PAGE2_MEDIUM5 39
-#define FB_PAGE3 40
-#define FL_PAGE3_EFFECT 41
-#define FT_PAGE3_EFFECT 42
-#define LB_PAGE3_EFFECT 43
-#define FT_PAGE3_SPEED 44
-#define LB_PAGE3_SPEED 45
-#define FL_PAGE3_PRESTYPE 46
-#define RB_PAGE3_LIVE 47
-#define RB_PAGE3_KIOSK 48
-#define FT_PAGE3_TIME 49
-#define TMF_PAGE3_TIME 50
-#define FT_PAGE3_BREAK 51
-#define TMF_PAGE3_BREAK 52
-#define CB_PAGE3_LOGO 53
+#define FB_PAGE3 40
+#define FL_PAGE3_EFFECT 41
+#define FT_PAGE3_EFFECT 42
+#define LB_PAGE3_EFFECT 43
+#define FT_PAGE3_SPEED 44
+#define LB_PAGE3_SPEED 45
+#define FL_PAGE3_PRESTYPE 46
+#define RB_PAGE3_LIVE 47
+#define RB_PAGE3_KIOSK 48
+#define FT_PAGE3_TIME 49
+#define TMF_PAGE3_TIME 50
+#define FT_PAGE3_BREAK 51
+#define TMF_PAGE3_BREAK 52
+#define CB_PAGE3_LOGO 53
-#define FB_PAGE4 20
-#define FL_PAGE4_PERSONAL 21
-#define FT_PAGE4_ASKNAME 22
-#define EDT_PAGE4_ASKNAME 23
-#define FT_PAGE4_ASKTOPIC 24
-#define EDT_PAGE4_ASKTOPIC 25
-#define FT_PAGE4_ASKINFORMATION 26
-#define EDT_PAGE4_ASKINFORMATION 27
+#define FB_PAGE4 20
+#define FL_PAGE4_PERSONAL 21
+#define FT_PAGE4_ASKNAME 22
+#define EDT_PAGE4_ASKNAME 23
+#define FT_PAGE4_ASKTOPIC 24
+#define EDT_PAGE4_ASKTOPIC 25
+#define FT_PAGE4_ASKINFORMATION 26
+#define EDT_PAGE4_ASKINFORMATION 27
-#define FB_PAGE5 60
-#define FT_PAGE5_PAGELIST 61
-#define CT_PAGE5_PAGELIST 62
-#define CB_PAGE5_SUMMARY 63
+#define FB_PAGE5 60
+#define FT_PAGE5_PAGELIST 61
+#define CT_PAGE5_PAGELIST 62
+#define CB_PAGE5_SUMMARY 63
-#define STR_CREATE 64
-#define STR_OPEN 65
+#define STR_CREATE 64
+#define STR_OPEN 65
#define DLG_ASS 900
diff --git a/sd/source/ui/inc/dlgass.hxx b/sd/source/ui/inc/dlgass.hxx
index ec6493513135..923f204a9f88 100644
--- a/sd/source/ui/inc/dlgass.hxx
+++ b/sd/source/ui/inc/dlgass.hxx
@@ -2,7 +2,7 @@
/*************************************************************************
*
* 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
diff --git a/sd/source/ui/inc/dlgctrls.hxx b/sd/source/ui/inc/dlgctrls.hxx
index 992f8a98044c..aa8798e9a97e 100644
--- a/sd/source/ui/inc/dlgctrls.hxx
+++ b/sd/source/ui/inc/dlgctrls.hxx
@@ -2,7 +2,7 @@
/*************************************************************************
*
* 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
@@ -50,12 +50,12 @@ class SD_DLLPUBLIC FadeEffectLB : public ListBox
public:
FadeEffectLB( Window* pParent, SdResId Id );
~FadeEffectLB();
- virtual void Fill();
+ virtual void Fill();
-/* void selectEffectFromPage( SdPage* pPage ); */
- void applySelected( SdPage* pSlide ) const;
+/* void selectEffectFromPage( SdPage* pPage ); */
+ void applySelected( SdPage* pSlide ) const;
- FadeEffectLBImpl* mpImpl;
+ FadeEffectLBImpl* mpImpl;
};
#endif // SD_DLGCTRLS_HXX
diff --git a/sd/source/ui/inc/dlgfield.hrc b/sd/source/ui/inc/dlgfield.hrc
index 61585c8fc17f..9a21f7e152f1 100644
--- a/sd/source/ui/inc/dlgfield.hrc
+++ b/sd/source/ui/inc/dlgfield.hrc
@@ -1,7 +1,7 @@
/*************************************************************************
*
* 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
diff --git a/sd/source/ui/inc/dlgfield.hxx b/sd/source/ui/inc/dlgfield.hxx
index e5c91aa2bb36..3ebc88fe1229 100644
--- a/sd/source/ui/inc/dlgfield.hxx
+++ b/sd/source/ui/inc/dlgfield.hxx
@@ -2,7 +2,7 @@
/*************************************************************************
*
* 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
@@ -48,22 +48,22 @@ class SvxFieldData;
class SdModifyFieldDlg : public ModalDialog
{
private:
- RadioButton aRbtFix;
- RadioButton aRbtVar;
- FixedLine aGrpType;
- FixedText maFtLanguage;
- SvxLanguageBox maLbLanguage;
- FixedText aFtFormat;
- ListBox aLbFormat;
- OKButton aBtnOK;
- CancelButton aBtnCancel;
- HelpButton aBtnHelp;
- SfxItemSet maInputSet;
+ RadioButton aRbtFix;
+ RadioButton aRbtVar;
+ FixedLine aGrpType;
+ FixedText maFtLanguage;
+ SvxLanguageBox maLbLanguage;
+ FixedText aFtFormat;
+ ListBox aLbFormat;
+ OKButton aBtnOK;
+ CancelButton aBtnCancel;
+ HelpButton aBtnHelp;
+ SfxItemSet maInputSet;
- const SvxFieldData* pField;
+ const SvxFieldData* pField;
- void FillFormatList();
- void FillControls();
+ void FillFormatList();
+ void FillControls();
DECL_LINK( LanguageChangeHdl, void * );
@@ -71,12 +71,12 @@ public:
SdModifyFieldDlg( Window* pWindow, const SvxFieldData* pInField, const SfxItemSet& rSet );
~SdModifyFieldDlg() {}
- SvxFieldData* GetField();
- SfxItemSet GetItemSet();
+ SvxFieldData* GetField();
+ SfxItemSet GetItemSet();
};
-#endif // _SD_DLGFIELD_HXX
+#endif // _SD_DLGFIELD_HXX
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/sd/source/ui/inc/dlgolbul.hrc b/sd/source/ui/inc/dlgolbul.hrc
index 0dffa9cb2f07..670b95b0343a 100644
--- a/sd/source/ui/inc/dlgolbul.hrc
+++ b/sd/source/ui/inc/dlgolbul.hrc
@@ -1,7 +1,7 @@
/*************************************************************************
*
* 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
@@ -24,4 +24,4 @@
* for a copy of the LGPLv3 License.
*
************************************************************************/
-#define TAB_OUTLINEBULLET 20601
+#define TAB_OUTLINEBULLET 20601
diff --git a/sd/source/ui/inc/dlgpage.hrc b/sd/source/ui/inc/dlgpage.hrc
index e12333c6310e..9dc0c52361f9 100644
--- a/sd/source/ui/inc/dlgpage.hrc
+++ b/sd/source/ui/inc/dlgpage.hrc
@@ -1,7 +1,7 @@
/*************************************************************************
*
* 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
@@ -24,4 +24,4 @@
* for a copy of the LGPLv3 License.
*
************************************************************************/
-#define TAB_PAGE 20625
+#define TAB_PAGE 20625
diff --git a/sd/source/ui/inc/dlgpage.hxx b/sd/source/ui/inc/dlgpage.hxx
index 16f95eba2c9f..f0dfba1625fc 100644
--- a/sd/source/ui/inc/dlgpage.hxx
+++ b/sd/source/ui/inc/dlgpage.hxx
@@ -2,7 +2,7 @@
/*************************************************************************
*
* 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
@@ -49,14 +49,14 @@ typedef USHORT ChangeType;
class SdPageDlg : public SfxTabDialog
{
private:
- const SfxItemSet& mrOutAttrs;
+ const SfxItemSet& mrOutAttrs;
const SfxObjectShell* mpDocShell;
- XColorTable* mpColorTab;
- XGradientList* mpGradientList;
- XHatchList* mpHatchingList;
- XBitmapList* mpBitmapList;
+ XColorTable* mpColorTab;
+ XGradientList* mpGradientList;
+ XHatchList* mpHatchingList;
+ XBitmapList* mpBitmapList;
public:
SdPageDlg( SfxObjectShell* pDocSh, Window* pParent, const SfxItemSet* pAttr, BOOL bAreaPage = TRUE );
diff --git a/sd/source/ui/inc/dlgsnap.hrc b/sd/source/ui/inc/dlgsnap.hrc
index 1d7f5bf7c164..f7a20249eeff 100644
--- a/sd/source/ui/inc/dlgsnap.hrc
+++ b/sd/source/ui/inc/dlgsnap.hrc
@@ -1,7 +1,7 @@
/*************************************************************************
*
* 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
diff --git a/sd/source/ui/inc/dlgsnap.hxx b/sd/source/ui/inc/dlgsnap.hxx
index 163828bc14c9..2813edaf89d4 100644
--- a/sd/source/ui/inc/dlgsnap.hxx
+++ b/sd/source/ui/inc/dlgsnap.hxx
@@ -2,7 +2,7 @@
/*************************************************************************
*
* 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
@@ -55,23 +55,23 @@ namespace sd {
class SdSnapLineDlg : public ModalDialog
{
private:
- FixedLine aFlPos;
- FixedText aFtX;
- MetricField aMtrFldX;
- FixedText aFtY;
- MetricField aMtrFldY;
- FixedLine aFlDir;
- ImageRadioButton aRbPoint;
- ImageRadioButton aRbVert;
- ImageRadioButton aRbHorz;
- OKButton aBtnOK;
- CancelButton aBtnCancel;
- HelpButton aBtnHelp;
- PushButton aBtnDelete;
- long nXValue;
- long nYValue;
- FieldUnit eUIUnit;
- Fraction aUIScale;
+ FixedLine aFlPos;
+ FixedText aFtX;
+ MetricField aMtrFldX;
+ FixedText aFtY;
+ MetricField aMtrFldY;
+ FixedLine aFlDir;
+ ImageRadioButton aRbPoint;
+ ImageRadioButton aRbVert;
+ ImageRadioButton aRbHorz;
+ OKButton aBtnOK;
+ CancelButton aBtnCancel;
+ HelpButton aBtnHelp;
+ PushButton aBtnDelete;
+ long nXValue;
+ long nYValue;
+ FieldUnit eUIUnit;
+ Fraction aUIScale;
DECL_LINK( ClickHdl, Button * );
@@ -87,6 +87,6 @@ public:
-#endif // _SD_DLGSNAP_HXX
+#endif // _SD_DLGSNAP_HXX
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/sd/source/ui/inc/docprev.hxx b/sd/source/ui/inc/docprev.hxx
index 95cd38dccd33..9a0a5debf00b 100644
--- a/sd/source/ui/inc/docprev.hxx
+++ b/sd/source/ui/inc/docprev.hxx
@@ -2,7 +2,7 @@
/*************************************************************************
*
* 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
@@ -50,16 +50,16 @@ class SD_DLLPUBLIC SdDocPreviewWin : public Control, public SfxListener
{
protected:
GDIMetaFile* pMetaFile;
- BOOL bInEffect;
- Link aClickHdl;
+ BOOL bInEffect;
+ Link aClickHdl;
SfxObjectShell* mpObj;
- sal_uInt16 mnShowPage;
- Color maDocumentColor;
+ sal_uInt16 mnShowPage;
+ Color maDocumentColor;
rtl::Reference< sd::SlideShow > mxSlideShow;
- virtual void Paint( const Rectangle& rRect );
- static void CalcSizeAndPos( GDIMetaFile* pFile, Size& rSize, Point& rPoint );
- void ImpPaint( GDIMetaFile* pFile, OutputDevice* pVDev );
+ virtual void Paint( const Rectangle& rRect );
+ static void CalcSizeAndPos( GDIMetaFile* pFile, Size& rSize, Point& rPoint );
+ void ImpPaint( GDIMetaFile* pFile, OutputDevice* pVDev );
static const int FRAME;
@@ -74,12 +74,12 @@ public:
~SdDocPreviewWin();
void SetObjectShell( SfxObjectShell* pObj, sal_uInt16 nShowPage = 0 );
virtual void Resize();
- void startPreview();
+ void startPreview();
- virtual long Notify( NotifyEvent& rNEvt );
+ virtual long Notify( NotifyEvent& rNEvt );
- void SetClickHdl( const Link& rLink ) { aClickHdl = rLink; }
- const Link& GetClickHdl() const { return aClickHdl; }
+ void SetClickHdl( const Link& rLink ) { aClickHdl = rLink; }
+ const Link& GetClickHdl() const { return aClickHdl; }
virtual void DataChanged( const DataChangedEvent& rDCEvt );
diff --git a/sd/source/ui/inc/drawview.hxx b/sd/source/ui/inc/drawview.hxx
index 57eed72e3c32..206637f9e3b9 100644
--- a/sd/source/ui/inc/drawview.hxx
+++ b/sd/source/ui/inc/drawview.hxx
@@ -2,7 +2,7 @@
/*************************************************************************
*
* 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
@@ -53,7 +53,7 @@ public:
TYPEINFO();
DrawView (
- DrawDocShell* pDocSh,
+ DrawDocShell* pDocSh,
OutputDevice* pOutDev,
DrawViewShell* pShell);
virtual ~DrawView (void);
@@ -65,9 +65,9 @@ public:
virtual void Notify(SfxBroadcaster& rBC, const SfxHint& rHint);
- void BlockPageOrderChangedHint(BOOL bBlock);
+ void BlockPageOrderChangedHint(BOOL bBlock);
- BOOL SetStyleSheet(SfxStyleSheet* pStyleSheet, BOOL bDontRemoveHardAttr = FALSE);
+ BOOL SetStyleSheet(SfxStyleSheet* pStyleSheet, BOOL bDontRemoveHardAttr = FALSE);
virtual BOOL IsObjMarkable(SdrObject* pObj, SdrPageView* pPV) const;
virtual void MakeVisible(const Rectangle& rRect, ::Window& rWin);
@@ -82,11 +82,11 @@ protected:
private:
friend class DrawViewRedirector;
- DrawDocShell* mpDocShell;
- DrawViewShell* mpDrawViewShell;
- VirtualDevice* mpVDev;
+ DrawDocShell* mpDocShell;
+ DrawViewShell* mpDrawViewShell;
+ VirtualDevice* mpVDev;
- USHORT mnPOCHSmph; // zum blockieren des PageOrderChangedHint
+ USHORT mnPOCHSmph; // zum blockieren des PageOrderChangedHint
};
} // end of namespace sd
diff --git a/sd/source/ui/inc/enumdlg.hrc b/sd/source/ui/inc/enumdlg.hrc
index 5b3b4e127b06..46db72ad5318 100644
--- a/sd/source/ui/inc/enumdlg.hrc
+++ b/sd/source/ui/inc/enumdlg.hrc
@@ -1,7 +1,7 @@
/*************************************************************************
*
* 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
diff --git a/sd/source/ui/inc/filedlg.hxx b/sd/source/ui/inc/filedlg.hxx
index ae5aa687db12..2115796323bb 100644
--- a/sd/source/ui/inc/filedlg.hxx
+++ b/sd/source/ui/inc/filedlg.hxx
@@ -2,7 +2,7 @@
/*************************************************************************
*
* 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
@@ -45,14 +45,14 @@ class SdFileDialog_Imp;
/******************************************************************************/
/**
- The class SdOpenSoundFileDialog wraps the FileDialogHelper, displaying the
- FILEOPEN_PLAY dialog template and performing the 'preview' functionality
- (playing the selected sound file). The interface is a downstripped version
+ The class SdOpenSoundFileDialog wraps the FileDialogHelper, displaying the
+ FILEOPEN_PLAY dialog template and performing the 'preview' functionality
+ (playing the selected sound file). The interface is a downstripped version
of the aforementioned class, with similar semantics.
*/
class SD_DLLPUBLIC SdOpenSoundFileDialog
{
- const std::auto_ptr< SdFileDialog_Imp > mpImpl;
+ const std::auto_ptr< SdFileDialog_Imp > mpImpl;
// forbidden and not implemented
SdOpenSoundFileDialog (const SdOpenSoundFileDialog &);
@@ -62,8 +62,8 @@ public:
SdOpenSoundFileDialog();
~SdOpenSoundFileDialog();
- ErrCode Execute();
- String GetPath() const;
+ ErrCode Execute();
+ String GetPath() const;
void SetPath( const String& rPath );
String ReqDisplayDirectory() const;
diff --git a/sd/source/ui/inc/fontwork.hrc b/sd/source/ui/inc/fontwork.hrc
index 0f7406cd8b7e..693c3ae9f23f 100644
--- a/sd/source/ui/inc/fontwork.hrc
+++ b/sd/source/ui/inc/fontwork.hrc
@@ -1,7 +1,7 @@
/*************************************************************************
*
* 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
diff --git a/sd/source/ui/inc/framework/Configuration.hxx b/sd/source/ui/inc/framework/Configuration.hxx
index 6367c058581b..8f5dd6c6a913 100644
--- a/sd/source/ui/inc/framework/Configuration.hxx
+++ b/sd/source/ui/inc/framework/Configuration.hxx
@@ -2,7 +2,7 @@
/*************************************************************************
*
* 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
@@ -73,7 +73,7 @@ namespace sd { namespace framework {
*/
class Configuration
: private sd::MutexOwner,
- public ConfigurationInterfaceBase
+ public ConfigurationInterfaceBase
{
public:
/** Create a new configuration with a broadcaster that is used to send
@@ -92,12 +92,12 @@ public:
::com::sun::star::drawing::framework::XConfigurationControllerBroadcaster>& rxBroadcaster,
bool bBroadcastRequestEvents);
virtual ~Configuration (void);
-
+
virtual void SAL_CALL disposing (void);
// XConfiguration
-
+
virtual void SAL_CALL addResource (
const ::com::sun::star::uno::Reference<com::sun::star::drawing::framework::XResourceId>&
rxResourceId)
@@ -107,7 +107,7 @@ public:
const ::com::sun::star::uno::Reference<com::sun::star::drawing::framework::XResourceId>&
rxResourceId)
throw (::com::sun::star::uno::RuntimeException);
-
+
virtual ::com::sun::star::uno::Sequence< com::sun::star::uno::Reference<
com::sun::star::drawing::framework::XResourceId> > SAL_CALL getResources (
const ::com::sun::star::uno::Reference<
@@ -121,14 +121,14 @@ public:
rxResourceId)
throw (::com::sun::star::uno::RuntimeException);
-
+
// XCloneable
virtual ::com::sun::star::uno::Reference<com::sun::star::util::XCloneable>
SAL_CALL createClone (void)
throw (::com::sun::star::uno::RuntimeException);
-
+
// XNamed
/** Return a human readable string representation. This is used for
@@ -169,7 +169,7 @@ private:
::com::sun::star::drawing::framework::XConfigurationControllerBroadcaster>& rxBroadcaster,
bool bBroadcastRequestEvents,
const ResourceContainer& rResourceContainer);
-
+
/** Send an event to all interested listeners that a resource has been
added or removed. The event is sent to the listeners via the
ConfigurationController.
diff --git a/sd/source/ui/inc/framework/ConfigurationController.hxx b/sd/source/ui/inc/framework/ConfigurationController.hxx
index b4b41d07064d..221ff7cdaff7 100644
--- a/sd/source/ui/inc/framework/ConfigurationController.hxx
+++ b/sd/source/ui/inc/framework/ConfigurationController.hxx
@@ -2,7 +2,7 @@
/*************************************************************************
*
* 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
@@ -80,7 +80,7 @@ class ConfigurationUpdaterLock;
class ConfigurationController
: private sd::MutexOwner,
private boost::noncopyable,
- public ConfigurationControllerInterfaceBase
+ public ConfigurationControllerInterfaceBase
{
public:
ConfigurationController (void) throw();
@@ -102,18 +102,18 @@ public:
void RequestSynchronousUpdate (void);
// XConfigurationController
-
+
virtual void SAL_CALL lock (void)
throw (css::uno::RuntimeException);
virtual void SAL_CALL unlock (void)
throw (css::uno::RuntimeException);
-
+
virtual void SAL_CALL requestResourceActivation (
const css::uno::Reference<css::drawing::framework::XResourceId>& rxResourceId,
css::drawing::framework::ResourceActivationMode eMode)
throw (css::uno::RuntimeException);
-
+
virtual void SAL_CALL requestResourceDeactivation (
const css::uno::Reference<css::drawing::framework::XResourceId>&
rxResourceId)
@@ -144,14 +144,14 @@ public:
// XConfigurationControllerBroadcaster
-
+
virtual void SAL_CALL addConfigurationChangeListener (
const css::uno::Reference<
css::drawing::framework::XConfigurationChangeListener>& rxListener,
const ::rtl::OUString& rsEventType,
const css::uno::Any& rUserData)
throw (css::uno::RuntimeException);
-
+
virtual void SAL_CALL removeConfigurationChangeListener (
const css::uno::Reference<
css::drawing::framework::XConfigurationChangeListener>& rxListener)
@@ -166,7 +166,7 @@ public:
virtual sal_Bool SAL_CALL hasPendingRequests (void)
throw (css::uno::RuntimeException);
-
+
virtual void SAL_CALL postChangeRequest (
const css::uno::Reference<
css::drawing::framework::XConfigurationChangeRequest>& rxRequest)
@@ -174,12 +174,12 @@ public:
// XResourceFactoryManager
-
+
virtual void SAL_CALL addResourceFactory(
const ::rtl::OUString& sResourceURL,
const css::uno::Reference<css::drawing::framework::XResourceFactory>& rxResourceFactory)
throw (css::uno::RuntimeException);
-
+
virtual void SAL_CALL removeResourceFactoryForURL(
const ::rtl::OUString& sResourceURL)
throw (css::uno::RuntimeException);
@@ -195,7 +195,7 @@ public:
// XInitialization
-
+
virtual void SAL_CALL initialize(
const css::uno::Sequence<css::uno::Any>& rArguments)
throw (css::uno::Exception, css::uno::RuntimeException);
@@ -214,7 +214,7 @@ public:
css::uno::Reference<
css::drawing::framework::XConfigurationController> mxController;
};
-
+
private:
class Implementation;
::boost::scoped_ptr<Implementation> mpImplementation;
diff --git a/sd/source/ui/inc/framework/DrawModule.hxx b/sd/source/ui/inc/framework/DrawModule.hxx
index 02ffceb7fafd..14865c67479c 100644
--- a/sd/source/ui/inc/framework/DrawModule.hxx
+++ b/sd/source/ui/inc/framework/DrawModule.hxx
@@ -2,7 +2,7 @@
/*************************************************************************
*
* 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
diff --git a/sd/source/ui/inc/framework/FrameworkHelper.hxx b/sd/source/ui/inc/framework/FrameworkHelper.hxx
index 8c081cc52eed..df5aba21f3e4 100644
--- a/sd/source/ui/inc/framework/FrameworkHelper.hxx
+++ b/sd/source/ui/inc/framework/FrameworkHelper.hxx
@@ -2,7 +2,7 @@
/*************************************************************************
*
* 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
@@ -126,14 +126,14 @@ public:
/** Mark the FrameworkHelper object for the given ViewShellBase as
disposed. A following ReleaseInstance() call will destroy the
FrameworkHelper object.
-
+
Do not call this method. It is an internally used method that can
not be made private.
*/
static void DisposeInstance (ViewShellBase& rBase);
/** Destroy the FrameworkHelper object for the given ViewShellBase.
-
+
Do not call this method. It is an internally used method that can
not be made private.
*/
@@ -227,7 +227,7 @@ public:
*/
void RequestTaskPanel (
const ::rtl::OUString& rsTaskPanelURL);
-
+
/** Process a slot call that requests a view shell change.
*/
void HandleModeChangeSlot (
@@ -253,7 +253,7 @@ public:
rCallback.
@param rCallback
The callback to be called when the resource is activated.
-
+
*/
void RunOnResourceActivation(
const css::uno::Reference<css::drawing::framework::XResourceId>& rxResourceId,
@@ -269,7 +269,7 @@ public:
Do not use this method until there is absolutely no other way.
*/
void RequestSynchronousUpdate (void);
-
+
/** Block until the specified event is notified by the configuration
controller. When the configuration controller is not processing any
requests the method returns immediately.
@@ -310,7 +310,7 @@ public:
CreateResourceId (
const ::rtl::OUString& rsResourceURL,
const ::rtl::OUString& rsAnchorURL);
-
+
/** Create a new XResourceId object for the given resource URL and the
two given anchor URLs.
*/
@@ -353,7 +353,7 @@ private:
friend class DisposeListener;
css::uno::Reference<css::lang::XComponent>
mxDisposeListener;
-
+
FrameworkHelper (ViewShellBase& rBase);
FrameworkHelper (const FrameworkHelper& rHelper); // Not implemented.
FrameworkHelper& operator= (const FrameworkHelper& rHelper); // Not implemented.
diff --git a/sd/source/ui/inc/framework/ImpressModule.hxx b/sd/source/ui/inc/framework/ImpressModule.hxx
index 0b3aa49f9c08..3d5744e187a2 100644
--- a/sd/source/ui/inc/framework/ImpressModule.hxx
+++ b/sd/source/ui/inc/framework/ImpressModule.hxx
@@ -2,7 +2,7 @@
/*************************************************************************
*
* 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
diff --git a/sd/source/ui/inc/framework/ModuleController.hxx b/sd/source/ui/inc/framework/ModuleController.hxx
index a9faab1ec97a..9be39f1e83bd 100644
--- a/sd/source/ui/inc/framework/ModuleController.hxx
+++ b/sd/source/ui/inc/framework/ModuleController.hxx
@@ -2,7 +2,7 @@
/*************************************************************************
*
* 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
@@ -76,7 +76,7 @@ namespace sd { namespace framework {
*/
class ModuleController
: private sd::MutexOwner,
- public ModuleControllerInterfaceBase
+ public ModuleControllerInterfaceBase
{
public:
static css::uno::Reference<
@@ -87,15 +87,15 @@ public:
virtual void SAL_CALL disposing (void);
-
+
// XModuleController
virtual void SAL_CALL requestResource(const ::rtl::OUString& rsResourceURL)
throw (css::uno::RuntimeException);
-
+
// XInitialization
-
+
virtual void SAL_CALL initialize(
const css::uno::Sequence<css::uno::Any>& aArguments)
throw (css::uno::Exception, css::uno::RuntimeException);
@@ -108,14 +108,14 @@ private:
::boost::scoped_ptr<ResourceToFactoryMap> mpResourceToFactoryMap;
class LoadedFactoryContainer;
::boost::scoped_ptr<LoadedFactoryContainer> mpLoadedFactories;
-
+
ModuleController (
const css::uno::Reference<css::uno::XComponentContext>& rxContext)
throw();
ModuleController (void); // Not implemented.
ModuleController (const ModuleController&); // Not implemented.
virtual ~ModuleController (void) throw();
-
+
/** Load a list of URL to service mappings from the
/org.openoffice.Office.Impress/MultiPaneGUI/Framework/ResourceFactories
configuration entry. The mappings are stored in the
@@ -126,7 +126,7 @@ private:
/** Called for every entry in the ResourceFactories configuration entry.
*/
void ProcessFactory (const ::std::vector<css::uno::Any>& rValues);
-
+
/** Instantiate all startup services that are found in the
/org.openoffice.Office.Impress/MultiPaneGUI/Framework/StartupServices
configuration entry. This method is called once when a new
diff --git a/sd/source/ui/inc/framework/Pane.hxx b/sd/source/ui/inc/framework/Pane.hxx
index 89de980fe5f9..7293bc53dc58 100644
--- a/sd/source/ui/inc/framework/Pane.hxx
+++ b/sd/source/ui/inc/framework/Pane.hxx
@@ -2,7 +2,7 @@
/*************************************************************************
*
* 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
@@ -63,7 +63,7 @@ namespace sd { namespace framework {
This class has two responsibilities:
1. It implements the XPane interface. This is the most important
interface of this class for API based views (of which there not that
- many yet) because it gives access to the XWindow.
+ many yet) because it gives access to the XWindow.
2. It gives access to the underlying VCL Window by implementing the
XUnoTunnel interface. This is necessary at the moment and in the
foreseeable future because many parts of the Draw and Impress views rely
@@ -91,7 +91,7 @@ public:
virtual ~Pane (void) throw();
virtual void SAL_CALL disposing (void);
-
+
static const ::com::sun::star::uno::Sequence<sal_Int8>& getUnoTunnelId (void);
/** This method is typically used together with the XUnoTunnel to obtain
@@ -99,7 +99,7 @@ public:
*/
virtual ::Window* GetWindow (void);
-
+
//----- XPane -------------------------------------------------------------
/** For a UNO API based implementation of a view this may the most
@@ -116,7 +116,7 @@ public:
//----- XPane2 -------------------------------------------------------------
-
+
virtual sal_Bool SAL_CALL isVisible (void)
throw (cssu::RuntimeException);
@@ -132,7 +132,7 @@ public:
//----- XResource ---------------------------------------------------------
-
+
virtual ::com::sun::star::uno::Reference<com::sun::star::drawing::framework::XResourceId>
SAL_CALL getResourceId (void)
throw (::com::sun::star::uno::RuntimeException);
@@ -143,7 +143,7 @@ public:
virtual sal_Bool SAL_CALL isAnchorOnly (void)
throw (com::sun::star::uno::RuntimeException);
-
+
//----- XUnoTunnel --------------------------------------------------------
virtual sal_Int64 SAL_CALL getSomething (const com::sun::star::uno::Sequence<sal_Int8>& rId)
diff --git a/sd/source/ui/inc/framework/PresentationFactory.hxx b/sd/source/ui/inc/framework/PresentationFactory.hxx
index 1c770e6b8cbe..140ce0f22222 100644
--- a/sd/source/ui/inc/framework/PresentationFactory.hxx
+++ b/sd/source/ui/inc/framework/PresentationFactory.hxx
@@ -2,7 +2,7 @@
/*************************************************************************
*
* 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
@@ -65,7 +65,7 @@ namespace sd { namespace framework {
*/
class PresentationFactory
: private sd::MutexOwner,
- public PresentationFactoryInterfaceBase
+ public PresentationFactoryInterfaceBase
{
public:
static const ::rtl::OUString msPresentationViewURL;
@@ -73,10 +73,10 @@ public:
PresentationFactory (
const css::uno::Reference<css::frame::XController>& rxController);
virtual ~PresentationFactory (void);
-
+
virtual void SAL_CALL disposing (void);
-
+
// XResourceFactory
virtual css::uno::Reference<css::drawing::framework::XResource>
@@ -98,7 +98,7 @@ public:
// lang::XEventListener
-
+
virtual void SAL_CALL disposing (
const css::lang::EventObject& rEventObject)
throw (css::uno::RuntimeException);
diff --git a/sd/source/ui/inc/framework/PresentationModule.hxx b/sd/source/ui/inc/framework/PresentationModule.hxx
index 677fed52ab1b..064c4549da4c 100644
--- a/sd/source/ui/inc/framework/PresentationModule.hxx
+++ b/sd/source/ui/inc/framework/PresentationModule.hxx
@@ -2,7 +2,7 @@
/*************************************************************************
*
* 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
diff --git a/sd/source/ui/inc/framework/ResourceId.hxx b/sd/source/ui/inc/framework/ResourceId.hxx
index fb4913576b7d..cfcf61d152dd 100644
--- a/sd/source/ui/inc/framework/ResourceId.hxx
+++ b/sd/source/ui/inc/framework/ResourceId.hxx
@@ -2,7 +2,7 @@
/*************************************************************************
*
* 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
@@ -125,7 +125,7 @@ public:
URLs.
*/
const ::std::vector<rtl::OUString>& GetResourceURLs (void) const;
-
+
//===== XResourceId =======================================================
virtual ::rtl::OUString SAL_CALL
@@ -164,7 +164,7 @@ public:
css::drawing::framework::XResourceId>& rxResourceId,
css::drawing::framework::AnchorBindingMode eMode)
throw(css::uno::RuntimeException);
-
+
virtual sal_Bool SAL_CALL
isBoundToURL (
const ::rtl::OUString& rsAnchorURL,
diff --git a/sd/source/ui/inc/framework/ViewShellWrapper.hxx b/sd/source/ui/inc/framework/ViewShellWrapper.hxx
index 96c9261d33cf..e2acb35a9eb0 100644
--- a/sd/source/ui/inc/framework/ViewShellWrapper.hxx
+++ b/sd/source/ui/inc/framework/ViewShellWrapper.hxx
@@ -2,7 +2,7 @@
/*************************************************************************
*
* 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
@@ -79,7 +79,7 @@ public:
::com::sun::star::drawing::framework::XResourceId>& rxViewId,
const ::com::sun::star::uno::Reference<com::sun::star::awt::XWindow>& rxWindow);
virtual ~ViewShellWrapper (void);
-
+
virtual void SAL_CALL disposing (void);
static const ::com::sun::star::uno::Sequence<sal_Int8>& getUnoTunnelId (void);
@@ -104,7 +104,7 @@ public:
virtual sal_Bool SAL_CALL isAnchorOnly (void)
throw (com::sun::star::uno::RuntimeException);
-
+
// XRelocatableResource
virtual sal_Bool SAL_CALL relocateToAnchor (
@@ -118,15 +118,15 @@ public:
virtual void SAL_CALL windowResized(
const ::com::sun::star::awt::WindowEvent& rEvent)
throw (::com::sun::star::uno::RuntimeException);
-
+
virtual void SAL_CALL windowMoved(
const ::com::sun::star::awt::WindowEvent& rEvent)
throw (::com::sun::star::uno::RuntimeException);
-
+
virtual void SAL_CALL windowShown(
const ::com::sun::star::lang::EventObject& rEvent)
throw (::com::sun::star::uno::RuntimeException);
-
+
virtual void SAL_CALL windowHidden(
const ::com::sun::star::lang::EventObject& rEvent)
throw (::com::sun::star::uno::RuntimeException);
diff --git a/sd/source/ui/inc/fuarea.hxx b/sd/source/ui/inc/fuarea.hxx
index fd6fc44a24da..afbe9b6a2773 100644
--- a/sd/source/ui/inc/fuarea.hxx
+++ b/sd/source/ui/inc/fuarea.hxx
@@ -2,7 +2,7 @@
/*************************************************************************
*
* 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
@@ -45,10 +45,10 @@ public:
private:
FuArea (
- ViewShell* pViewSh,
- ::sd::Window* pWin,
+ ViewShell* pViewSh,
+ ::sd::Window* pWin,
::sd::View* pView,
- SdDrawDocument* pDoc,
+ SdDrawDocument* pDoc,
SfxRequest& rReq);
virtual void DoExecute( SfxRequest& rReq );
diff --git a/sd/source/ui/inc/fubullet.hxx b/sd/source/ui/inc/fubullet.hxx
index 151e4c173d47..76108e90384c 100644
--- a/sd/source/ui/inc/fubullet.hxx
+++ b/sd/source/ui/inc/fubullet.hxx
@@ -2,7 +2,7 @@
/*************************************************************************
*
* 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
@@ -50,8 +50,8 @@ public:
private:
FuBullet (
- ViewShell* pViewSh,
- ::sd::Window* pWin,
+ ViewShell* pViewSh,
+ ::sd::Window* pWin,
::sd::View* pView,
SdDrawDocument* pDoc,
SfxRequest& rReq);
diff --git a/sd/source/ui/inc/fuchar.hxx b/sd/source/ui/inc/fuchar.hxx
index fdd006615466..fc02994de1b4 100644
--- a/sd/source/ui/inc/fuchar.hxx
+++ b/sd/source/ui/inc/fuchar.hxx
@@ -2,7 +2,7 @@
/*************************************************************************
*
* 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
@@ -33,7 +33,7 @@
namespace sd {
-class FuChar
+class FuChar
: public FuPoor
{
public:
@@ -48,10 +48,10 @@ public:
private:
FuChar (
- ViewShell* pViewSh,
- ::sd::Window* pWin,
+ ViewShell* pViewSh,
+ ::sd::Window* pWin,
::sd::View* pView,
- SdDrawDocument* pDoc,
+ SdDrawDocument* pDoc,
SfxRequest& rReq);
};
diff --git a/sd/source/ui/inc/fucon3d.hxx b/sd/source/ui/inc/fucon3d.hxx
index d064843bc969..4ad0430dd930 100644
--- a/sd/source/ui/inc/fucon3d.hxx
+++ b/sd/source/ui/inc/fucon3d.hxx
@@ -2,7 +2,7 @@
/*************************************************************************
*
* 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
@@ -53,17 +53,17 @@ public:
virtual BOOL MouseButtonUp(const MouseEvent& rMEvt);
virtual BOOL MouseButtonDown(const MouseEvent& rMEvt);
- virtual void Activate(); // Function aktivieren
- virtual void Deactivate(); // Function deaktivieren
+ virtual void Activate(); // Function aktivieren
+ virtual void Deactivate(); // Function deaktivieren
// #97016#
virtual SdrObject* CreateDefaultObject(const sal_uInt16 nID, const Rectangle& rRectangle);
private:
FuConstruct3dObject (
- ViewShell* pViewSh,
+ ViewShell* pViewSh,
::sd::Window* pWin,
- ::sd::View* pView,
+ ::sd::View* pView,
SdDrawDocument* pDoc,
SfxRequest& rReq);
diff --git a/sd/source/ui/inc/fuconarc.hxx b/sd/source/ui/inc/fuconarc.hxx
index 135f5e5fcce5..b2f653d4e9bb 100644
--- a/sd/source/ui/inc/fuconarc.hxx
+++ b/sd/source/ui/inc/fuconarc.hxx
@@ -2,7 +2,7 @@
/*************************************************************************
*
* 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
@@ -34,7 +34,7 @@
namespace sd {
-class FuConstructArc
+class FuConstructArc
: public FuConstruct
{
public:
@@ -49,17 +49,17 @@ public:
virtual BOOL MouseButtonUp(const MouseEvent& rMEvt);
virtual BOOL MouseButtonDown(const MouseEvent& rMEvt);
- virtual void Activate(); // Function aktivieren
- virtual void Deactivate(); // Function deaktivieren
+ virtual void Activate(); // Function aktivieren
+ virtual void Deactivate(); // Function deaktivieren
// #97016#
virtual SdrObject* CreateDefaultObject(const sal_uInt16 nID, const Rectangle& rRectangle);
protected:
FuConstructArc (
- ViewShell* pViewSh,
+ ViewShell* pViewSh,
::sd::Window* pWin,
- ::sd::View* pView,
+ ::sd::View* pView,
SdDrawDocument* pDoc,
SfxRequest& rReq);
diff --git a/sd/source/ui/inc/fuconbez.hxx b/sd/source/ui/inc/fuconbez.hxx
index cdf93ee99390..2a2ea01a66d3 100644
--- a/sd/source/ui/inc/fuconbez.hxx
+++ b/sd/source/ui/inc/fuconbez.hxx
@@ -2,7 +2,7 @@
/*************************************************************************
*
* 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
@@ -41,7 +41,7 @@ class DrawViewShell;
class Window;
-class FuConstructBezierPolygon
+class FuConstructBezierPolygon
: public FuConstruct
{
public:
@@ -56,8 +56,8 @@ public:
virtual BOOL MouseButtonUp(const MouseEvent& rMEvt);
virtual BOOL MouseButtonDown(const MouseEvent& rMEvt);
- virtual void Activate(); // Function aktivieren
- virtual void Deactivate(); // Function deaktivieren
+ virtual void Activate(); // Function aktivieren
+ virtual void Deactivate(); // Function deaktivieren
virtual void SelectionHasChanged();
@@ -69,15 +69,15 @@ public:
protected:
FuConstructBezierPolygon (
- ViewShell* pViewSh,
- ::sd::Window* pWin,
+ ViewShell* pViewSh,
+ ::sd::Window* pWin,
::sd::View* pView,
- SdDrawDocument* pDoc,
+ SdDrawDocument* pDoc,
SfxRequest& rReq);
USHORT nEditMode;
- ::com::sun::star::uno::Any maTargets; // used for creating a path for custom animations
+ ::com::sun::star::uno::Any maTargets; // used for creating a path for custom animations
};
} // end of namespace sd
diff --git a/sd/source/ui/inc/fuconcs.hxx b/sd/source/ui/inc/fuconcs.hxx
index eaea8ba0fe22..6924db3c4927 100644
--- a/sd/source/ui/inc/fuconcs.hxx
+++ b/sd/source/ui/inc/fuconcs.hxx
@@ -2,7 +2,7 @@
/*************************************************************************
*
* 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
@@ -60,7 +60,7 @@ public:
virtual BOOL MouseButtonUp(const MouseEvent& rMEvt);
virtual BOOL MouseButtonDown(const MouseEvent& rMEvt);
- virtual void Activate(); // Function aktivieren
+ virtual void Activate(); // Function aktivieren
void SetAttributes( SdrObject* pObj );
@@ -72,9 +72,9 @@ public:
protected:
FuConstructCustomShape (
- ViewShell* pViewSh,
+ ViewShell* pViewSh,
::sd::Window* pWin,
- ::sd::View* pView,
+ ::sd::View* pView,
SdDrawDocument* pDoc,
SfxRequest& rReq);
diff --git a/sd/source/ui/inc/fuconnct.hxx b/sd/source/ui/inc/fuconnct.hxx
index 42377374ea80..0f923cd8639f 100644
--- a/sd/source/ui/inc/fuconnct.hxx
+++ b/sd/source/ui/inc/fuconnct.hxx
@@ -2,7 +2,7 @@
/*************************************************************************
*
* 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
@@ -33,7 +33,7 @@
namespace sd {
-class FuConnectionDlg
+class FuConnectionDlg
: public FuPoor
{
public:
@@ -45,10 +45,10 @@ public:
private:
FuConnectionDlg (
- ViewShell* pViewSh,
- ::sd::Window* pWin,
+ ViewShell* pViewSh,
+ ::sd::Window* pWin,
::sd::View* pView,
- SdDrawDocument* pDoc,
+ SdDrawDocument* pDoc,
SfxRequest& rReq);
};
diff --git a/sd/source/ui/inc/fuconrec.hxx b/sd/source/ui/inc/fuconrec.hxx
index 140f4f36c1c2..268456a330bd 100644
--- a/sd/source/ui/inc/fuconrec.hxx
+++ b/sd/source/ui/inc/fuconrec.hxx
@@ -2,7 +2,7 @@
/*************************************************************************
*
* 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
@@ -45,7 +45,7 @@ namespace sd {
|*
\************************************************************************/
-class FuConstructRectangle
+class FuConstructRectangle
: public FuConstruct
{
public:
@@ -60,8 +60,8 @@ public:
virtual BOOL MouseButtonUp(const MouseEvent& rMEvt);
virtual BOOL MouseButtonDown(const MouseEvent& rMEvt);
- virtual void Activate(); // Function aktivieren
- virtual void Deactivate(); // Function deaktivieren
+ virtual void Activate(); // Function aktivieren
+ virtual void Deactivate(); // Function deaktivieren
void SetAttributes(SfxItemSet& rAttr, SdrObject* pObj);
void SetLineEnds(SfxItemSet& rAttr, SdrObject* pObj);
@@ -71,9 +71,9 @@ public:
protected:
FuConstructRectangle (
- ViewShell* pViewSh,
+ ViewShell* pViewSh,
::sd::Window* pWin,
- ::sd::View* pView,
+ ::sd::View* pView,
SdDrawDocument* pDoc,
SfxRequest& rReq);
diff --git a/sd/source/ui/inc/fuconstr.hxx b/sd/source/ui/inc/fuconstr.hxx
index 62b57f733a34..fe04226e6e64 100644
--- a/sd/source/ui/inc/fuconstr.hxx
+++ b/sd/source/ui/inc/fuconstr.hxx
@@ -2,7 +2,7 @@
/*************************************************************************
*
* 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
@@ -43,7 +43,7 @@ namespace sd {
|*
\************************************************************************/
-class FuConstruct
+class FuConstruct
: public FuDraw
{
public:
@@ -52,15 +52,15 @@ public:
TYPEINFO();
virtual void DoExecute( SfxRequest& rReq );
-
+
// Mouse- & Key-Events
virtual BOOL KeyInput(const KeyEvent& rKEvt);
virtual BOOL MouseMove(const MouseEvent& rMEvt);
virtual BOOL MouseButtonUp(const MouseEvent& rMEvt);
virtual BOOL MouseButtonDown(const MouseEvent& rMEvt);
- virtual void Activate(); // Function aktivieren
- virtual void Deactivate(); // Function deaktivieren
+ virtual void Activate(); // Function aktivieren
+ virtual void Deactivate(); // Function deaktivieren
virtual void SelectionHasChanged() { bSelectionChanged = TRUE; }
@@ -74,10 +74,10 @@ public:
const sal_Bool bUseFillStyle, const sal_Bool bUseNoFillStyle );
protected:
- FuConstruct (ViewShell* pViewSh,
- ::sd::Window* pWin,
+ FuConstruct (ViewShell* pViewSh,
+ ::sd::Window* pWin,
::sd::View* pView,
- SdDrawDocument* pDoc,
+ SdDrawDocument* pDoc,
SfxRequest& rReq);
bool bSelectionChanged;
@@ -85,6 +85,6 @@ protected:
} // end of namespace sd
-#endif // _SD_FUCONSTR_HXX
+#endif // _SD_FUCONSTR_HXX
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/sd/source/ui/inc/fuconuno.hxx b/sd/source/ui/inc/fuconuno.hxx
index b9c67003eaa2..e2d6f4d1bfd0 100644
--- a/sd/source/ui/inc/fuconuno.hxx
+++ b/sd/source/ui/inc/fuconuno.hxx
@@ -2,7 +2,7 @@
/*************************************************************************
*
* 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
@@ -40,7 +40,7 @@ namespace sd {
|*
\************************************************************************/
-class FuConstructUnoControl
+class FuConstructUnoControl
: public FuConstruct
{
public:
@@ -55,21 +55,21 @@ public:
virtual BOOL MouseButtonUp(const MouseEvent& rMEvt);
virtual BOOL MouseButtonDown(const MouseEvent& rMEvt);
- virtual void Activate(); // Function aktivieren
- virtual void Deactivate(); // Function deaktivieren
+ virtual void Activate(); // Function aktivieren
+ virtual void Deactivate(); // Function deaktivieren
// #97016#
virtual SdrObject* CreateDefaultObject(const sal_uInt16 nID, const Rectangle& rRectangle);
protected:
FuConstructUnoControl(
- ViewShell* pViewSh,
+ ViewShell* pViewSh,
::sd::Window* pWin,
- ::sd::View* pView,
+ ::sd::View* pView,
SdDrawDocument* pDoc,
SfxRequest& rReq);
- String aOldLayer;
+ String aOldLayer;
private:
UINT32 nInventor;
diff --git a/sd/source/ui/inc/fucopy.hxx b/sd/source/ui/inc/fucopy.hxx
index 809b988ce83e..2b244ef9b45d 100644
--- a/sd/source/ui/inc/fucopy.hxx
+++ b/sd/source/ui/inc/fucopy.hxx
@@ -2,7 +2,7 @@
/*************************************************************************
*
* 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
@@ -33,7 +33,7 @@
namespace sd {
-class FuCopy
+class FuCopy
: public FuPoor
{
public:
@@ -45,10 +45,10 @@ public:
private:
FuCopy (
- ViewShell* pViewSh,
- ::sd::Window* pWin,
+ ViewShell* pViewSh,
+ ::sd::Window* pWin,
::sd::View* pView,
- SdDrawDocument* pDoc,
+ SdDrawDocument* pDoc,
SfxRequest& rReq);
};
diff --git a/sd/source/ui/inc/fucushow.hxx b/sd/source/ui/inc/fucushow.hxx
index fa3b3f196ed4..783d755efc18 100644
--- a/sd/source/ui/inc/fucushow.hxx
+++ b/sd/source/ui/inc/fucushow.hxx
@@ -2,7 +2,7 @@
/*************************************************************************
*
* 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
@@ -33,7 +33,7 @@
namespace sd {
-class FuCustomShowDlg
+class FuCustomShowDlg
: public FuPoor
{
public:
@@ -44,10 +44,10 @@ public:
private:
FuCustomShowDlg (
- ViewShell* pViewSh,
- ::sd::Window* pWin,
+ ViewShell* pViewSh,
+ ::sd::Window* pWin,
::sd::View* pView,
- SdDrawDocument* pDoc,
+ SdDrawDocument* pDoc,
SfxRequest& rReq);
};
diff --git a/sd/source/ui/inc/fudraw.hxx b/sd/source/ui/inc/fudraw.hxx
index 26c332f392dd..f9321c187c15 100644
--- a/sd/source/ui/inc/fudraw.hxx
+++ b/sd/source/ui/inc/fudraw.hxx
@@ -2,7 +2,7 @@
/*************************************************************************
*
* 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
@@ -43,7 +43,7 @@ namespace sd {
|*
\************************************************************************/
-class FuDraw
+class FuDraw
: public FuPoor
{
public:
@@ -65,7 +65,7 @@ public:
virtual void DoubleClick(const MouseEvent& rMEvt);
- BOOL SetPointer(SdrObject* pObj, const Point& rPos);
+ BOOL SetPointer(SdrObject* pObj, const Point& rPos);
BOOL SetHelpText(SdrObject* pObj, const Point& rPos, const SdrViewEvent& rVEvt);
void SetPermanent(BOOL bSet) { bPermanent = bSet; }
@@ -79,25 +79,25 @@ public:
virtual bool cancel();
protected:
- FuDraw (ViewShell* pViewSh,
- ::sd::Window* pWin,
+ FuDraw (ViewShell* pViewSh,
+ ::sd::Window* pWin,
::sd::View* pView,
- SdDrawDocument* pDoc,
+ SdDrawDocument* pDoc,
SfxRequest& rReq);
virtual ~FuDraw();
Pointer aNewPointer;
Pointer aOldPointer;
- BOOL bMBDown;
- BOOL bDragHelpLine;
- USHORT nHelpLine;
+ BOOL bMBDown;
+ BOOL bDragHelpLine;
+ USHORT nHelpLine;
BOOL bPermanent;
};
} // end of namespace sd
-#endif // _SD_FUDRAW_HXX
+#endif // _SD_FUDRAW_HXX
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/sd/source/ui/inc/fudspord.hxx b/sd/source/ui/inc/fudspord.hxx
index 3167d95e6f7f..e3186dcd642e 100644
--- a/sd/source/ui/inc/fudspord.hxx
+++ b/sd/source/ui/inc/fudspord.hxx
@@ -2,7 +2,7 @@
/*************************************************************************
*
* 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
@@ -44,7 +44,7 @@ namespace sd {
|*
\************************************************************************/
-class FuDisplayOrder
+class FuDisplayOrder
: public FuPoor
{
public:
@@ -57,28 +57,28 @@ public:
virtual BOOL MouseButtonUp(const MouseEvent& rMEvt);
virtual BOOL MouseButtonDown(const MouseEvent& rMEvt);
- virtual void Activate(); // Function aktivieren
- virtual void Deactivate(); // Function deaktivieren
+ virtual void Activate(); // Function aktivieren
+ virtual void Deactivate(); // Function deaktivieren
protected:
virtual ~FuDisplayOrder (void);
void implClearOverlay();
- Pointer maPtr;
- SdrObject* mpRefObj;
- SdrDropMarkerOverlay* mpOverlay;
+ Pointer maPtr;
+ SdrObject* mpRefObj;
+ SdrDropMarkerOverlay* mpOverlay;
private:
FuDisplayOrder (
- ViewShell* pViewSh,
- ::sd::Window* pWin,
+ ViewShell* pViewSh,
+ ::sd::Window* pWin,
::sd::View* pView,
- SdDrawDocument* pDoc,
- SfxRequest& rReq);
+ SdDrawDocument* pDoc,
+ SfxRequest& rReq);
};
} // end of namespace sd
-#endif // _SD_FUDSPORD_HXX
+#endif // _SD_FUDSPORD_HXX
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/sd/source/ui/inc/fuediglu.hxx b/sd/source/ui/inc/fuediglu.hxx
index 82a9e50fd60f..b5d8a93de352 100644
--- a/sd/source/ui/inc/fuediglu.hxx
+++ b/sd/source/ui/inc/fuediglu.hxx
@@ -2,7 +2,7 @@
/*************************************************************************
*
* 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
@@ -39,12 +39,12 @@ namespace sd {
|*
\************************************************************************/
-class FuEditGluePoints
+class FuEditGluePoints
: public FuDraw
{
public:
TYPEINFO();
-
+
static FunctionReference Create( ViewShell* pViewSh, ::sd::Window* pWin, ::sd::View* pView, SdDrawDocument* pDoc, SfxRequest& rReq, bool bPermanent );
virtual void DoExecute( SfxRequest& rReq );
@@ -56,15 +56,15 @@ public:
virtual BOOL Command(const CommandEvent& rCEvt);
virtual void ReceiveRequest(SfxRequest& rReq);
- virtual void Activate(); // Function aktivieren
- virtual void Deactivate(); // Function deaktivieren
+ virtual void Activate(); // Function aktivieren
+ virtual void Deactivate(); // Function deaktivieren
protected:
FuEditGluePoints (
- ViewShell* pViewSh,
- ::sd::Window* pWin,
+ ViewShell* pViewSh,
+ ::sd::Window* pWin,
::sd::View* pView,
- SdDrawDocument* pDoc,
+ SdDrawDocument* pDoc,
SfxRequest& rReq);
virtual ~FuEditGluePoints (void);
};
diff --git a/sd/source/ui/inc/fuexpand.hxx b/sd/source/ui/inc/fuexpand.hxx
index 47ca7580aab0..fb37e32a6ed0 100644
--- a/sd/source/ui/inc/fuexpand.hxx
+++ b/sd/source/ui/inc/fuexpand.hxx
@@ -2,7 +2,7 @@
/*************************************************************************
*
* 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
@@ -33,7 +33,7 @@
namespace sd {
-class FuExpandPage
+class FuExpandPage
: public FuPoor
{
public:
@@ -44,10 +44,10 @@ class FuExpandPage
private:
FuExpandPage (
- ViewShell* pViewSh,
- ::sd::Window* pWin,
+ ViewShell* pViewSh,
+ ::sd::Window* pWin,
::sd::View* pView,
- SdDrawDocument* pDoc,
+ SdDrawDocument* pDoc,
SfxRequest& rReq);
};
diff --git a/sd/source/ui/inc/fuformatpaintbrush.hxx b/sd/source/ui/inc/fuformatpaintbrush.hxx
index 1eb9a3223fc0..15848af8a691 100644
--- a/sd/source/ui/inc/fuformatpaintbrush.hxx
+++ b/sd/source/ui/inc/fuformatpaintbrush.hxx
@@ -2,7 +2,7 @@
/*************************************************************************
*
* 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
@@ -61,12 +61,12 @@ private:
FuFormatPaintBrush ( ViewShell* pViewSh, ::sd::Window* pWin, ::sd::View* pView, SdDrawDocument* pDoc, SfxRequest& rReq);
void DoExecute( SfxRequest& rReq );
-
+
bool HasContentForThisType( UINT32 nObjectInventor, UINT16 nObjectIdentifier ) const;
void Paste( bool, bool );
-
+
void implcancel();
-
+
::boost::shared_ptr<SfxItemSet> mpItemSet;
bool mbPermanent;
bool mbOldIsQuickTextEditMode;
diff --git a/sd/source/ui/inc/fugrid.hxx b/sd/source/ui/inc/fugrid.hxx
index a86c34f62e07..4e21704f434b 100644
--- a/sd/source/ui/inc/fugrid.hxx
+++ b/sd/source/ui/inc/fugrid.hxx
@@ -2,7 +2,7 @@
/*************************************************************************
*
* 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
@@ -33,7 +33,7 @@
namespace sd {
-class FuGrid
+class FuGrid
: public FuPoor
{
public:
@@ -46,10 +46,10 @@ public:
private:
FuGrid (
- ViewShell* pViewSh,
- ::sd::Window* pWin,
+ ViewShell* pViewSh,
+ ::sd::Window* pWin,
::sd::View* pView,
- SdDrawDocument* pDoc,
+ SdDrawDocument* pDoc,
SfxRequest& rReq);
};
diff --git a/sd/source/ui/inc/fuhhconv.hxx b/sd/source/ui/inc/fuhhconv.hxx
index 65eab16ea831..c41bd53a5573 100644
--- a/sd/source/ui/inc/fuhhconv.hxx
+++ b/sd/source/ui/inc/fuhhconv.hxx
@@ -2,7 +2,7 @@
/*************************************************************************
*
* 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
@@ -43,7 +43,7 @@ class FuHangulHanjaConversion : public FuPoor
static FunctionReference Create( ViewShell* pViewSh, ::sd::Window* pWin, ::sd::View* pView, SdDrawDocument* pDoc, SfxRequest& rReq );
- void StartConversion( INT16 nSourceLanguage, INT16 nTargetLanguage,
+ void StartConversion( INT16 nSourceLanguage, INT16 nTargetLanguage,
const Font *pTargetFont, INT32 nOptions, BOOL bIsInteractive );
void StartChineseConversion();
@@ -55,15 +55,15 @@ class FuHangulHanjaConversion : public FuPoor
protected:
~FuHangulHanjaConversion();
- Outliner* pSdOutliner;
- BOOL bOwnOutliner;
+ Outliner* pSdOutliner;
+ BOOL bOwnOutliner;
private:
FuHangulHanjaConversion (
- ViewShell* pViewSh,
- ::sd::Window* pWin,
+ ViewShell* pViewSh,
+ ::sd::Window* pWin,
::sd::View* pView,
- SdDrawDocument* pDoc,
+ SdDrawDocument* pDoc,
SfxRequest& rReq );
};
diff --git a/sd/source/ui/inc/fuinsert.hxx b/sd/source/ui/inc/fuinsert.hxx
index 7a1330318122..e54f7d42c616 100644
--- a/sd/source/ui/inc/fuinsert.hxx
+++ b/sd/source/ui/inc/fuinsert.hxx
@@ -2,7 +2,7 @@
/*************************************************************************
*
* 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
@@ -33,7 +33,7 @@
namespace sd {
-class FuInsertGraphic
+class FuInsertGraphic
: public FuPoor
{
public:
@@ -45,17 +45,17 @@ public:
private:
FuInsertGraphic (
- ViewShell* pViewSh,
- ::sd::Window* pWin,
+ ViewShell* pViewSh,
+ ::sd::Window* pWin,
::sd::View* pView,
- SdDrawDocument* pDoc,
+ SdDrawDocument* pDoc,
SfxRequest& rReq);
};
/************************************************************************/
-class FuInsertClipboard
+class FuInsertClipboard
: public FuPoor
{
public:
@@ -66,17 +66,17 @@ public:
private:
FuInsertClipboard (
- ViewShell* pViewSh,
- ::sd::Window* pWin,
+ ViewShell* pViewSh,
+ ::sd::Window* pWin,
::sd::View* pView,
- SdDrawDocument* pDoc,
+ SdDrawDocument* pDoc,
SfxRequest& rReq);
};
/************************************************************************/
-class FuInsertOLE
+class FuInsertOLE
: public FuPoor
{
public:
@@ -87,10 +87,10 @@ class FuInsertOLE
private:
FuInsertOLE (
- ViewShell* pViewSh,
+ ViewShell* pViewSh,
::sd::Window* pWin,
::sd::View* pView,
- SdDrawDocument* pDoc,
+ SdDrawDocument* pDoc,
SfxRequest& rReq);
};
@@ -107,10 +107,10 @@ public:
private:
FuInsertAVMedia (
- ViewShell* pViewSh,
- ::sd::Window* pWin,
+ ViewShell* pViewSh,
+ ::sd::Window* pWin,
::sd::View* pView,
- SdDrawDocument* pDoc,
+ SdDrawDocument* pDoc,
SfxRequest& rReq);
};
diff --git a/sd/source/ui/inc/fuinsfil.hxx b/sd/source/ui/inc/fuinsfil.hxx
index 16d4bb0f346a..0f65f0f894f9 100644
--- a/sd/source/ui/inc/fuinsfil.hxx
+++ b/sd/source/ui/inc/fuinsfil.hxx
@@ -2,7 +2,7 @@
/*************************************************************************
*
* 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
@@ -37,7 +37,7 @@ struct StyleRequestData;
namespace sd {
-class FuInsertFile
+class FuInsertFile
: public FuPoor
{
public:
@@ -50,15 +50,15 @@ public:
private:
FuInsertFile (
- ViewShell* pViewSh,
- ::sd::Window* pWin,
+ ViewShell* pViewSh,
+ ::sd::Window* pWin,
::sd::View* pView,
- SdDrawDocument* pDoc,
+ SdDrawDocument* pDoc,
SfxRequest& rReq);
-
+
String aLayoutName; // Layoutname der aktuell eingefuegten Seite
String aFilterName; // gewaehlter Dateifilter
- String aFile; // gewaehlter Dateiname
+ String aFile; // gewaehlter Dateiname
void InsTextOrRTFinOlMode(SfxMedium* pMedium);
BOOL InsSDDinOlMode(SfxMedium* pMedium);
diff --git a/sd/source/ui/inc/fuline.hxx b/sd/source/ui/inc/fuline.hxx
index 77035fb14b2e..936357e695c9 100644
--- a/sd/source/ui/inc/fuline.hxx
+++ b/sd/source/ui/inc/fuline.hxx
@@ -2,7 +2,7 @@
/*************************************************************************
*
* 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
@@ -33,7 +33,7 @@
namespace sd {
-class FuLine
+class FuLine
: public FuPoor
{
public:
@@ -48,10 +48,10 @@ public:
private:
FuLine (
- ViewShell* pViewSh,
- ::sd::Window* pWin,
+ ViewShell* pViewSh,
+ ::sd::Window* pWin,
::sd::View* pView,
- SdDrawDocument* pDoc,
+ SdDrawDocument* pDoc,
SfxRequest& rReq);
};
diff --git a/sd/source/ui/inc/fulinend.hxx b/sd/source/ui/inc/fulinend.hxx
index 5e44f1b535a9..cda6c5c49e31 100644
--- a/sd/source/ui/inc/fulinend.hxx
+++ b/sd/source/ui/inc/fulinend.hxx
@@ -2,7 +2,7 @@
/*************************************************************************
*
* 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
@@ -33,7 +33,7 @@
namespace sd {
-class FuLineEnd
+class FuLineEnd
: public FuPoor
{
public:
@@ -48,10 +48,10 @@ public:
private:
FuLineEnd (
- ViewShell* pViewSh,
- ::sd::Window* pWin,
+ ViewShell* pViewSh,
+ ::sd::Window* pWin,
::sd::View* pView,
- SdDrawDocument* pDoc,
+ SdDrawDocument* pDoc,
SfxRequest& rReq);
};
diff --git a/sd/source/ui/inc/fulink.hxx b/sd/source/ui/inc/fulink.hxx
index 03197da354d5..aa675b338c69 100644
--- a/sd/source/ui/inc/fulink.hxx
+++ b/sd/source/ui/inc/fulink.hxx
@@ -2,7 +2,7 @@
/*************************************************************************
*
* 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
@@ -33,7 +33,7 @@
namespace sd {
-class FuLink
+class FuLink
: public FuPoor
{
public:
@@ -45,10 +45,10 @@ public:
private:
FuLink (
- ViewShell* pViewSh,
- ::sd::Window* pWin,
+ ViewShell* pViewSh,
+ ::sd::Window* pWin,
::sd::View* pView,
- SdDrawDocument* pDoc,
+ SdDrawDocument* pDoc,
SfxRequest& rReq );
};
diff --git a/sd/source/ui/inc/fumeasur.hxx b/sd/source/ui/inc/fumeasur.hxx
index 7bc6d41c9e00..7781429d0d61 100644
--- a/sd/source/ui/inc/fumeasur.hxx
+++ b/sd/source/ui/inc/fumeasur.hxx
@@ -2,7 +2,7 @@
/*************************************************************************
*
* 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
@@ -33,7 +33,7 @@
namespace sd {
-class FuMeasureDlg
+class FuMeasureDlg
: public FuPoor
{
public:
@@ -45,10 +45,10 @@ class FuMeasureDlg
private:
FuMeasureDlg (
- ViewShell* pViewSh,
- ::sd::Window* pWin,
+ ViewShell* pViewSh,
+ ::sd::Window* pWin,
::sd::View* pView,
- SdDrawDocument* pDoc,
+ SdDrawDocument* pDoc,
SfxRequest& rReq);
};
diff --git a/sd/source/ui/inc/fumorph.hxx b/sd/source/ui/inc/fumorph.hxx
index 1137823d1f04..32c386065b0f 100644
--- a/sd/source/ui/inc/fumorph.hxx
+++ b/sd/source/ui/inc/fumorph.hxx
@@ -2,7 +2,7 @@
/*************************************************************************
*
* 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
@@ -37,15 +37,15 @@
|*
\************************************************************************/
class List;
-namespace basegfx {
+namespace basegfx {
class B2DPolyPolygon;
class B2DPolygon;
- class B2DPoint;
+ class B2DPoint;
}
namespace sd {
-class FuMorph
+class FuMorph
: public FuPoor
{
public:
@@ -56,16 +56,16 @@ public:
private:
FuMorph (
- ViewShell* pViewSh,
- ::sd::Window* pWin,
+ ViewShell* pViewSh,
+ ::sd::Window* pWin,
::sd::View* pView,
- SdDrawDocument* pDoc,
+ SdDrawDocument* pDoc,
SfxRequest& rReq);
void ImpInsertPolygons(List& rPolyPolyList3D, BOOL bAttributeFade,
const SdrObject* pObj1, const SdrObject* pObj2);
- ::basegfx::B2DPolyPolygon* ImpCreateMorphedPolygon(
- const ::basegfx::B2DPolyPolygon& rPolyPolyStart,
+ ::basegfx::B2DPolyPolygon* ImpCreateMorphedPolygon(
+ const ::basegfx::B2DPolyPolygon& rPolyPolyStart,
const ::basegfx::B2DPolyPolygon& rPolyPolyEnd,
double fMorphingFactor);
sal_Bool ImpMorphPolygons(
diff --git a/sd/source/ui/inc/fuoaprms.hxx b/sd/source/ui/inc/fuoaprms.hxx
index 6e8990e1fa61..2728e2339f45 100644
--- a/sd/source/ui/inc/fuoaprms.hxx
+++ b/sd/source/ui/inc/fuoaprms.hxx
@@ -2,7 +2,7 @@
/*************************************************************************
*
* 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
@@ -33,7 +33,7 @@
namespace sd {
-class FuObjectAnimationParameters
+class FuObjectAnimationParameters
: public FuPoor
{
public:
@@ -47,7 +47,7 @@ private:
FuObjectAnimationParameters (
ViewShell* pViewSh,
::sd::Window* pWin,
- ::sd::View* pView,
+ ::sd::View* pView,
SdDrawDocument* pDoc,
SfxRequest& rReq);
};
diff --git a/sd/source/ui/inc/fuolbull.hxx b/sd/source/ui/inc/fuolbull.hxx
index 0d233f7b79ad..06c395570a82 100644
--- a/sd/source/ui/inc/fuolbull.hxx
+++ b/sd/source/ui/inc/fuolbull.hxx
@@ -2,7 +2,7 @@
/*************************************************************************
*
* 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
@@ -46,7 +46,7 @@ class Window;
|*
\************************************************************************/
-class FuOutlineBullet
+class FuOutlineBullet
: public FuPoor
{
public:
@@ -57,10 +57,10 @@ public:
private:
FuOutlineBullet (
- ViewShell* pViewShell,
- ::sd::Window* pWin,
+ ViewShell* pViewShell,
+ ::sd::Window* pWin,
::sd::View* pView,
- SdDrawDocument* pDoc,
+ SdDrawDocument* pDoc,
SfxRequest& rReq);
};
diff --git a/sd/source/ui/inc/fuoltext.hxx b/sd/source/ui/inc/fuoltext.hxx
index e3a248d5bdec..b1ce15c604c1 100644
--- a/sd/source/ui/inc/fuoltext.hxx
+++ b/sd/source/ui/inc/fuoltext.hxx
@@ -2,7 +2,7 @@
/*************************************************************************
*
* 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
@@ -45,7 +45,7 @@ class Window;
|* Textfunktionen im Outlinermodus
|*
\************************************************************************/
-class FuOutlineText
+class FuOutlineText
: public FuOutline
{
public:
@@ -62,8 +62,8 @@ public:
virtual void DoCopy();
virtual void DoPaste();
- virtual void Activate(); // Function aktivieren
- virtual void Deactivate(); // Function deaktivieren
+ virtual void Activate(); // Function aktivieren
+ virtual void Deactivate(); // Function deaktivieren
/** Call this method when the text in the outliner (may) has changed.
It will invalidate some slots of the view frame and update the
@@ -73,10 +73,10 @@ public:
protected:
FuOutlineText (
- ViewShell* pViewShell,
- ::sd::Window* pWin,
+ ViewShell* pViewShell,
+ ::sd::Window* pWin,
::sd::View* pView,
- SdDrawDocument* pDoc,
+ SdDrawDocument* pDoc,
SfxRequest& rReq);
};
diff --git a/sd/source/ui/inc/fuoutl.hxx b/sd/source/ui/inc/fuoutl.hxx
index eb513c58403c..74074ae396ae 100644
--- a/sd/source/ui/inc/fuoutl.hxx
+++ b/sd/source/ui/inc/fuoutl.hxx
@@ -2,7 +2,7 @@
/*************************************************************************
*
* 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
@@ -49,7 +49,7 @@ class Window;
|*
\************************************************************************/
-class FuOutline
+class FuOutline
: public FuPoor
{
public:
@@ -62,10 +62,10 @@ public:
protected:
FuOutline (
- ViewShell* pViewShell,
- ::sd::Window* pWindow,
+ ViewShell* pViewShell,
+ ::sd::Window* pWindow,
::sd::View* pView,
- SdDrawDocument* pDoc,
+ SdDrawDocument* pDoc,
SfxRequest& rReq);
OutlineViewShell* pOutlineViewShell;
diff --git a/sd/source/ui/inc/fupage.hxx b/sd/source/ui/inc/fupage.hxx
index c33a2669ec52..eaf7a892936d 100644
--- a/sd/source/ui/inc/fupage.hxx
+++ b/sd/source/ui/inc/fupage.hxx
@@ -2,7 +2,7 @@
/*************************************************************************
*
* 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
@@ -38,7 +38,7 @@ class SdPage;
namespace sd {
class DrawViewShell;
-class FuPage
+class FuPage
: public FuPoor
{
public:
@@ -47,8 +47,8 @@ class FuPage
static FunctionReference Create( ViewShell* pViewSh, ::sd::Window* pWin, ::sd::View* pView, SdDrawDocument* pDoc, SfxRequest& rReq );
virtual void DoExecute( SfxRequest& rReq );
- virtual void Activate(); // Function aktivieren
- virtual void Deactivate(); // Function deaktivieren
+ virtual void Activate(); // Function aktivieren
+ virtual void Deactivate(); // Function deaktivieren
const SfxItemSet* ExecuteDialog( Window* pParent );
@@ -57,23 +57,23 @@ protected:
private:
FuPage (
- ViewShell* pViewSh,
- ::sd::Window* pWin,
+ ViewShell* pViewSh,
+ ::sd::Window* pWin,
::sd::View* pView,
- SdDrawDocument* pDoc,
+ SdDrawDocument* pDoc,
SfxRequest& rReq );
void ApplyItemSet( const SfxItemSet* pArgs );
- SfxRequest& mrReq;
- const SfxItemSet* mpArgs;
- SdBackgroundObjUndoAction* mpBackgroundObjUndoAction;
- Size maSize;
- bool mbPageBckgrdDeleted;
- bool mbMasterPage;
- bool mbDisplayBackgroundTabPage;
- SdPage* mpPage;
- DrawViewShell* mpDrawViewShell;
+ SfxRequest& mrReq;
+ const SfxItemSet* mpArgs;
+ SdBackgroundObjUndoAction* mpBackgroundObjUndoAction;
+ Size maSize;
+ bool mbPageBckgrdDeleted;
+ bool mbMasterPage;
+ bool mbDisplayBackgroundTabPage;
+ SdPage* mpPage;
+ DrawViewShell* mpDrawViewShell;
};
} // end of namespace sd
diff --git a/sd/source/ui/inc/fuparagr.hxx b/sd/source/ui/inc/fuparagr.hxx
index 886b225d0aba..284eb8964a3a 100644
--- a/sd/source/ui/inc/fuparagr.hxx
+++ b/sd/source/ui/inc/fuparagr.hxx
@@ -2,7 +2,7 @@
/*************************************************************************
*
* 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
@@ -33,7 +33,7 @@
namespace sd {
-class FuParagraph
+class FuParagraph
: public FuPoor
{
public:
@@ -47,10 +47,10 @@ public:
private:
FuParagraph (
- ViewShell* pViewSh,
- ::sd::Window* pWin,
+ ViewShell* pViewSh,
+ ::sd::Window* pWin,
::sd::View* pView,
- SdDrawDocument* pDoc,
+ SdDrawDocument* pDoc,
SfxRequest& rReq);
};
diff --git a/sd/source/ui/inc/fupoor.hxx b/sd/source/ui/inc/fupoor.hxx
index 70112574d1bf..f13d50bb358d 100644
--- a/sd/source/ui/inc/fupoor.hxx
+++ b/sd/source/ui/inc/fupoor.hxx
@@ -2,7 +2,7 @@
/*************************************************************************
*
* 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
@@ -59,8 +59,8 @@ class Window;
class FuPoor : public SimpleReferenceComponent
{
public:
- static const int HITPIX = 2; // Hit-Toleranz in Pixel
- static const int DRGPIX = 2; // Drag MinMove in Pixel
+ static const int HITPIX = 2; // Hit-Toleranz in Pixel
+ static const int DRGPIX = 2; // Drag MinMove in Pixel
TYPEINFO();
@@ -84,27 +84,27 @@ public:
// #95491# moved from inline to *.cxx
virtual BOOL MouseButtonDown(const MouseEvent& rMEvt);
-
+
virtual BOOL Command(const CommandEvent& rCEvt);
virtual BOOL RequestHelp(const HelpEvent& rHEvt);
virtual void Paint(const Rectangle&, ::sd::Window* );
virtual void ReceiveRequest(SfxRequest& rReq);
- virtual void Activate(); // Function aktivieren
- virtual void Deactivate(); // Function deaktivieren
+ virtual void Activate(); // Function aktivieren
+ virtual void Deactivate(); // Function deaktivieren
- virtual void ScrollStart() {} // diese Funktionen werden von
- virtual void ScrollEnd() {} // ForceScroll aufgerufen
+ virtual void ScrollStart() {} // diese Funktionen werden von
+ virtual void ScrollEnd() {} // ForceScroll aufgerufen
void SetWindow(::sd::Window* pWin) { mpWindow = pWin; }
// #97016# II
virtual void SelectionHasChanged();
- USHORT GetSlotID() const { return( nSlotId ); }
- USHORT GetSlotValue() const { return( nSlotValue ); }
+ USHORT GetSlotID() const { return( nSlotId ); }
+ USHORT GetSlotValue() const { return( nSlotValue ); }
- void SetNoScrollUntilInside(BOOL bNoScroll = TRUE)
+ void SetNoScrollUntilInside(BOOL bNoScroll = TRUE)
{ bNoScrollUntilInside = bNoScroll; }
void StartDelayToScrollTimer ();
@@ -135,10 +135,10 @@ protected:
@param pViewSh
May be NULL.
*/
- FuPoor (ViewShell* pViewSh,
- ::sd::Window* pWin,
+ FuPoor (ViewShell* pViewSh,
+ ::sd::Window* pWin,
::sd::View* pView,
- SdDrawDocument* pDoc,
+ SdDrawDocument* pDoc,
SfxRequest& rReq);
virtual ~FuPoor (void);
@@ -150,7 +150,7 @@ protected:
offset relative to the active layer. With respect to the layer bar
control at the lower left of the document window positive values
move to the right and negative values move to the left.
-
+
<p>Switching the layer is independant of the view's layer mode. The
layers are switched even when the layer mode is turned off and the
layer control is not visible.</p>
@@ -170,36 +170,36 @@ protected:
DrawDocShell* mpDocSh;
SdDrawDocument* mpDoc;
- USHORT nSlotId;
- USHORT nSlotValue;
+ USHORT nSlotId;
+ USHORT nSlotValue;
- Dialog* pDialog;
+ Dialog* pDialog;
- Timer aScrollTimer; // fuer Autoscrolling
+ Timer aScrollTimer; // fuer Autoscrolling
DECL_LINK( ScrollHdl, Timer * );
void ForceScroll(const Point& aPixPos);
- Timer aDragTimer; // fuer Drag&Drop
+ Timer aDragTimer; // fuer Drag&Drop
DECL_LINK( DragHdl, Timer * );
- BOOL bIsInDragMode;
- Point aMDPos; // Position von MouseButtonDown
+ BOOL bIsInDragMode;
+ Point aMDPos; // Position von MouseButtonDown
// Flag, um AutoScrolling zu verhindern, bis von ausserhalb in das
// Fenster hinein gedragt wurde
- BOOL bNoScrollUntilInside;
+ BOOL bNoScrollUntilInside;
// Timer um das scrolling zu verzoegern, wenn aus dem fenster
// herausgedraggt wird (ca. 1 sec.)
- Timer aDelayToScrollTimer; // fuer Verzoegerung bis scroll
- BOOL bScrollable;
- BOOL bDelayActive;
- BOOL bFirstMouseMove;
+ Timer aDelayToScrollTimer; // fuer Verzoegerung bis scroll
+ BOOL bScrollable;
+ BOOL bDelayActive;
+ BOOL bFirstMouseMove;
// #95491# member to hold state of the mouse buttons for creation
// of own MouseEvents (like in ScrollHdl)
private:
- sal_uInt16 mnCode;
+ sal_uInt16 mnCode;
};
@@ -207,6 +207,6 @@ typedef rtl::Reference< FuPoor > FunctionReference;
} // end of namespace sd
-#endif // _SD_FUPOOR_HXX
+#endif // _SD_FUPOOR_HXX
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/sd/source/ui/inc/fuprlout.hxx b/sd/source/ui/inc/fuprlout.hxx
index 8d03750c7900..6b89b96b1da1 100644
--- a/sd/source/ui/inc/fuprlout.hxx
+++ b/sd/source/ui/inc/fuprlout.hxx
@@ -2,7 +2,7 @@
/*************************************************************************
*
* 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
@@ -41,7 +41,7 @@ class View;
class ViewShell;
class Window;
-class FuPresentationLayout
+class FuPresentationLayout
: public FuPoor
{
public:
@@ -52,10 +52,10 @@ public:
private:
FuPresentationLayout (
- ViewShell* pViewSh,
- ::sd::Window* pWin,
+ ViewShell* pViewSh,
+ ::sd::Window* pWin,
::sd::View* pView,
- SdDrawDocument* pDoc,
+ SdDrawDocument* pDoc,
SfxRequest& rReq);
};
diff --git a/sd/source/ui/inc/fuprobjs.hxx b/sd/source/ui/inc/fuprobjs.hxx
index 949948a32c84..4eba956f3e8d 100644
--- a/sd/source/ui/inc/fuprobjs.hxx
+++ b/sd/source/ui/inc/fuprobjs.hxx
@@ -2,7 +2,7 @@
/*************************************************************************
*
* 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
@@ -41,7 +41,7 @@ class ViewShell;
class Window;
-class FuPresentationObjects
+class FuPresentationObjects
: public FuPoor
{
public:
@@ -52,10 +52,10 @@ public:
private:
FuPresentationObjects (
- ViewShell* pViewSh,
- ::sd::Window* pWin,
+ ViewShell* pViewSh,
+ ::sd::Window* pWin,
::sd::View* pView,
- SdDrawDocument* pDoc,
+ SdDrawDocument* pDoc,
SfxRequest& rReq);
};
diff --git a/sd/source/ui/inc/fuscale.hxx b/sd/source/ui/inc/fuscale.hxx
index 3af6a8fdd4cf..325aa0ccde90 100644
--- a/sd/source/ui/inc/fuscale.hxx
+++ b/sd/source/ui/inc/fuscale.hxx
@@ -2,7 +2,7 @@
/*************************************************************************
*
* 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
@@ -33,7 +33,7 @@
namespace sd {
-class FuScale
+class FuScale
: public FuPoor
{
public:
@@ -44,10 +44,10 @@ public:
private:
FuScale (
- ViewShell* pViewSh,
- ::sd::Window* pWin,
+ ViewShell* pViewSh,
+ ::sd::Window* pWin,
::sd::View* pView,
- SdDrawDocument* pDoc,
+ SdDrawDocument* pDoc,
SfxRequest& rReq);
};
diff --git a/sd/source/ui/inc/fusearch.hxx b/sd/source/ui/inc/fusearch.hxx
index 3bbededb5331..1b9f5330570e 100644
--- a/sd/source/ui/inc/fusearch.hxx
+++ b/sd/source/ui/inc/fusearch.hxx
@@ -2,7 +2,7 @@
/*************************************************************************
*
* 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
@@ -37,7 +37,7 @@ namespace sd {
class Outliner;
-class FuSearch
+class FuSearch
: public FuPoor
{
public:
@@ -59,9 +59,9 @@ protected:
private:
FuSearch (
ViewShell* pViewSh,
- ::sd::Window* pWin,
+ ::sd::Window* pWin,
::sd::View* pView,
- SdDrawDocument* pDoc,
+ SdDrawDocument* pDoc,
SfxRequest& rReq);
};
diff --git a/sd/source/ui/inc/fusel.hxx b/sd/source/ui/inc/fusel.hxx
index 3aab29ff0c61..5a23f5533e42 100644
--- a/sd/source/ui/inc/fusel.hxx
+++ b/sd/source/ui/inc/fusel.hxx
@@ -2,7 +2,7 @@
/*************************************************************************
*
* 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
@@ -40,7 +40,7 @@ class Sound;
namespace sd {
-class FuSelection
+class FuSelection
: public FuDraw
{
public:
@@ -55,15 +55,15 @@ public:
virtual BOOL MouseButtonUp(const MouseEvent& rMEvt);
virtual BOOL MouseButtonDown(const MouseEvent& rMEvt);
- virtual void Activate(); // Function aktivieren
- virtual void Deactivate(); // Function deaktivieren
+ virtual void Activate(); // Function aktivieren
+ virtual void Deactivate(); // Function deaktivieren
virtual void SelectionHasChanged();
void SetEditMode(USHORT nMode);
USHORT GetEditMode() { return nEditMode; }
- BOOL AnimateObj(SdrObject* pObj, const Point& rPos);
+ BOOL AnimateObj(SdrObject* pObj, const Point& rPos);
/** is called when the currenct function should be aborted. <p>
This is used when a function gets a KEY_ESCAPE but can also
@@ -74,15 +74,15 @@ public:
virtual bool cancel();
protected:
- FuSelection (ViewShell* pViewSh,
- ::sd::Window* pWin,
+ FuSelection (ViewShell* pViewSh,
+ ::sd::Window* pWin,
::sd::View* pView,
- SdDrawDocument* pDoc,
+ SdDrawDocument* pDoc,
SfxRequest& rReq);
virtual ~FuSelection();
- BOOL bTempRotation;
+ BOOL bTempRotation;
BOOL bSelectionChanged;
BOOL bHideAndAnimate;
SdrHdl* pHdl;
@@ -109,6 +109,6 @@ private:
} // end of namespace sd
-#endif // _SD_FUSEL_HXX
+#endif // _SD_FUSEL_HXX
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/sd/source/ui/inc/fusldlg.hxx b/sd/source/ui/inc/fusldlg.hxx
index bc5b99acdfb7..4342058b5035 100644
--- a/sd/source/ui/inc/fusldlg.hxx
+++ b/sd/source/ui/inc/fusldlg.hxx
@@ -2,7 +2,7 @@
/*************************************************************************
*
* 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
@@ -33,7 +33,7 @@
namespace sd {
-class FuSlideShowDlg
+class FuSlideShowDlg
: public FuPoor
{
public:
@@ -44,10 +44,10 @@ public:
private:
FuSlideShowDlg (
- ViewShell* pViewSh,
- ::sd::Window* pWin,
+ ViewShell* pViewSh,
+ ::sd::Window* pWin,
::sd::View* pView,
- SdDrawDocument* pDoc,
+ SdDrawDocument* pDoc,
SfxRequest& rReq);
};
diff --git a/sd/source/ui/inc/fuslhide.hxx b/sd/source/ui/inc/fuslhide.hxx
index 587f7387b243..dcceef0dceb4 100644
--- a/sd/source/ui/inc/fuslhide.hxx
+++ b/sd/source/ui/inc/fuslhide.hxx
@@ -2,7 +2,7 @@
/*************************************************************************
*
* 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
@@ -39,7 +39,7 @@ namespace sd {
|*
\************************************************************************/
-class FuSlideHide
+class FuSlideHide
: public FuSlide
{
public:
@@ -50,10 +50,10 @@ public:
protected:
FuSlideHide (
- ViewShell* pViewSh,
- ::sd::Window* pWin,
+ ViewShell* pViewSh,
+ ::sd::Window* pWin,
::sd::View* pView,
- SdDrawDocument* pDoc,
+ SdDrawDocument* pDoc,
SfxRequest& rReq);
virtual ~FuSlideHide (void);
};
diff --git a/sd/source/ui/inc/fuslid.hxx b/sd/source/ui/inc/fuslid.hxx
index 6e17e21d3941..64312fee2aff 100644
--- a/sd/source/ui/inc/fuslid.hxx
+++ b/sd/source/ui/inc/fuslid.hxx
@@ -2,7 +2,7 @@
/*************************************************************************
*
* 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
@@ -46,7 +46,7 @@ class Window;
|*
\************************************************************************/
-class FuSlide
+class FuSlide
: public FuPoor
{
public:
@@ -63,14 +63,14 @@ public:
protected:
FuSlide (
- SlideViewShell* pViewSh,
+ SlideViewShell* pViewSh,
::sd::Window* pWin,
- SlideView* pView,
- SdDrawDocument* pDoc,
+ SlideView* pView,
+ SdDrawDocument* pDoc,
SfxRequest& rReq);
SlideViewShell* pSlViewShell;
- SlideView* pSlView;
+ SlideView* pSlView;
};
} // end of namespace sd
diff --git a/sd/source/ui/inc/fuslsel.hxx b/sd/source/ui/inc/fuslsel.hxx
index 3e07ad886a29..23b4549299ea 100644
--- a/sd/source/ui/inc/fuslsel.hxx
+++ b/sd/source/ui/inc/fuslsel.hxx
@@ -2,7 +2,7 @@
/*************************************************************************
*
* 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
@@ -43,12 +43,12 @@ class Window;
struct FSS_IsShowingEffectInfo
{
- BOOL bIsShowingEffect; // TRUE while we show a fade effect one the slide view
- BOOL bDisposed; // TRUE if the FuSlideSelection was deleted during fade effect
+ BOOL bIsShowingEffect; // TRUE while we show a fade effect one the slide view
+ BOOL bDisposed; // TRUE if the FuSlideSelection was deleted during fade effect
};
-class FuSlideSelection
+class FuSlideSelection
: public FuSlide
{
public:
@@ -63,13 +63,13 @@ public:
virtual BOOL MouseButtonUp(const MouseEvent& rMEvt);
virtual BOOL MouseButtonDown(const MouseEvent& rMEvt);
virtual void Paint(const Rectangle& rRect, ::sd::Window* pWin);
-
- virtual void Activate(); // Function aktivieren
- virtual void Deactivate(); // Function deaktivieren
-
+
+ virtual void Activate(); // Function aktivieren
+ virtual void Deactivate(); // Function deaktivieren
+
virtual void ScrollStart();
virtual void ScrollEnd();
-
+
BOOL IsShowingEffect() const { return pIsShowingEffectInfo && pIsShowingEffectInfo->bIsShowingEffect; }
/** is called when the currenct function should be aborted. <p>
@@ -82,23 +82,23 @@ public:
protected:
FuSlideSelection (
- SlideViewShell* pViewSh,
+ SlideViewShell* pViewSh,
::sd::Window* pWin,
- SlideView* pView,
+ SlideView* pView,
SdDrawDocument* pDoc,
SfxRequest& rReq);
virtual ~FuSlideSelection (void);
private:
- BOOL bSubstShown;
- BOOL bPageHit;
- List aSubstList; // Liste mit Ertsatzdarstellungen
- Point aDragPos; // hier wird die Seite angefasst
- BOOL bDragSelection;
- Point aDragSelRectAnchor; // fester Punkt des Selektionsrechtecks
- Rectangle aDragSelRect;
- Point aPosOfInsertMarker;
- FSS_IsShowingEffectInfo* pIsShowingEffectInfo;
+ BOOL bSubstShown;
+ BOOL bPageHit;
+ List aSubstList; // Liste mit Ertsatzdarstellungen
+ Point aDragPos; // hier wird die Seite angefasst
+ BOOL bDragSelection;
+ Point aDragSelRectAnchor; // fester Punkt des Selektionsrechtecks
+ Rectangle aDragSelRect;
+ Point aPosOfInsertMarker;
+ FSS_IsShowingEffectInfo* pIsShowingEffectInfo;
void DrawInsertMarker(BOOL bShow);
Point CalcPosOfInsertMarker(const Point& rPoint);
diff --git a/sd/source/ui/inc/fusnapln.hxx b/sd/source/ui/inc/fusnapln.hxx
index ed5b6408487b..ec677511bf3a 100644
--- a/sd/source/ui/inc/fusnapln.hxx
+++ b/sd/source/ui/inc/fusnapln.hxx
@@ -2,7 +2,7 @@
/*************************************************************************
*
* 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
@@ -33,7 +33,7 @@
namespace sd {
-class FuSnapLine
+class FuSnapLine
: public FuPoor
{
public:
@@ -47,10 +47,10 @@ public:
private:
FuSnapLine (
- ViewShell* pViewSh,
- ::sd::Window* pWin,
+ ViewShell* pViewSh,
+ ::sd::Window* pWin,
::sd::View* pView,
- SdDrawDocument* pDoc,
+ SdDrawDocument* pDoc,
SfxRequest& rReq);
};
diff --git a/sd/source/ui/inc/fusumry.hxx b/sd/source/ui/inc/fusumry.hxx
index c88475e7697f..dc868acbb2fc 100644
--- a/sd/source/ui/inc/fusumry.hxx
+++ b/sd/source/ui/inc/fusumry.hxx
@@ -2,7 +2,7 @@
/*************************************************************************
*
* 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
@@ -33,7 +33,7 @@
namespace sd {
-class FuSummaryPage
+class FuSummaryPage
: public FuPoor
{
public:
@@ -44,10 +44,10 @@ public:
private:
FuSummaryPage (
- ViewShell* pViewSh,
- ::sd::Window* pWin,
+ ViewShell* pViewSh,
+ ::sd::Window* pWin,
::sd::View* pView,
- SdDrawDocument* pDoc,
+ SdDrawDocument* pDoc,
SfxRequest& rReq);
};
diff --git a/sd/source/ui/inc/futempl.hxx b/sd/source/ui/inc/futempl.hxx
index 5d63db2f6ec4..91e78d33b4cd 100644
--- a/sd/source/ui/inc/futempl.hxx
+++ b/sd/source/ui/inc/futempl.hxx
@@ -2,7 +2,7 @@
/*************************************************************************
*
* 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
@@ -33,7 +33,7 @@
namespace sd {
-class FuTemplate
+class FuTemplate
: public FuPoor
{
public:
@@ -47,10 +47,10 @@ public:
private:
FuTemplate (
- ViewShell* pViewSh,
- ::sd::Window* pWin,
+ ViewShell* pViewSh,
+ ::sd::Window* pWin,
::sd::View* pView,
- SdDrawDocument* pDoc,
+ SdDrawDocument* pDoc,
SfxRequest& rReq);
};
diff --git a/sd/source/ui/inc/futext.hxx b/sd/source/ui/inc/futext.hxx
index bd732ab3a534..d169ac700f67 100644
--- a/sd/source/ui/inc/futext.hxx
+++ b/sd/source/ui/inc/futext.hxx
@@ -2,7 +2,7 @@
/*************************************************************************
*
* 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
@@ -47,7 +47,7 @@ namespace sd {
|*
\************************************************************************/
-class FuText
+class FuText
: public FuConstruct
{
public:
@@ -65,11 +65,11 @@ public:
virtual void ReceiveRequest(SfxRequest& rReq);
virtual void DoubleClick(const MouseEvent& rMEvt);
- virtual void Activate(); // Function aktivieren
- virtual void Deactivate(); // Function deaktivieren
+ virtual void Activate(); // Function aktivieren
+ virtual void Deactivate(); // Function deaktivieren
void SetInEditMode(const MouseEvent& rMEvt, BOOL bQuickDrag);
- BOOL DeleteDefaultText();
+ BOOL DeleteDefaultText();
SdrTextObj* GetTextObj() { return static_cast< SdrTextObj* >( mxTextObj.get() ); }
DECL_LINK(SpellError, void* );
@@ -88,19 +88,19 @@ public:
static void ChangeFontSize( bool, OutlinerView*, const FontList*, ::sd::View* );
protected:
- FuText (ViewShell* pViewSh,
- ::sd::Window* pWin,
+ FuText (ViewShell* pViewSh,
+ ::sd::Window* pWin,
::sd::View* pView,
- SdDrawDocument* pDoc,
+ SdDrawDocument* pDoc,
SfxRequest& rReq);
virtual void disposing();
- SdrObjectWeakRef mxTextObj;
+ SdrObjectWeakRef mxTextObj;
Link aOldLink;
BOOL bFirstObjCreated;
- SfxRequest& rRequest;
+ SfxRequest& rRequest;
private:
// #97016#
diff --git a/sd/source/ui/inc/futhes.hxx b/sd/source/ui/inc/futhes.hxx
index c829c46f7b27..8c46681a495e 100644
--- a/sd/source/ui/inc/futhes.hxx
+++ b/sd/source/ui/inc/futhes.hxx
@@ -2,7 +2,7 @@
/*************************************************************************
*
* 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
@@ -33,7 +33,7 @@
namespace sd {
-class FuThesaurus
+class FuThesaurus
: public FuPoor
{
public:
@@ -44,10 +44,10 @@ public:
private:
FuThesaurus (
- ViewShell* pViewSh,
- ::sd::Window* pWin,
+ ViewShell* pViewSh,
+ ::sd::Window* pWin,
::sd::View* pView,
- SdDrawDocument* pDoc,
+ SdDrawDocument* pDoc,
SfxRequest& rReq);
};
diff --git a/sd/source/ui/inc/futransf.hxx b/sd/source/ui/inc/futransf.hxx
index aca70cf6e0cf..8e2a2281309c 100644
--- a/sd/source/ui/inc/futransf.hxx
+++ b/sd/source/ui/inc/futransf.hxx
@@ -2,7 +2,7 @@
/*************************************************************************
*
* 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
@@ -34,7 +34,7 @@
namespace sd {
-class FuTransform
+class FuTransform
: public FuPoor
{
public:
@@ -45,10 +45,10 @@ public:
private:
FuTransform (
- ViewShell* pViewSh,
- ::sd::Window* pWin,
+ ViewShell* pViewSh,
+ ::sd::Window* pWin,
::sd::View* pView,
- SdDrawDocument* pDoc,
+ SdDrawDocument* pDoc,
SfxRequest& rReq);
};
diff --git a/sd/source/ui/inc/futxtatt.hxx b/sd/source/ui/inc/futxtatt.hxx
index 123c0043fcd2..a8d2ac21211a 100644
--- a/sd/source/ui/inc/futxtatt.hxx
+++ b/sd/source/ui/inc/futxtatt.hxx
@@ -2,7 +2,7 @@
/*************************************************************************
*
* 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
@@ -33,7 +33,7 @@
namespace sd {
-class FuTextAttrDlg
+class FuTextAttrDlg
: public FuPoor
{
public:
@@ -44,10 +44,10 @@ class FuTextAttrDlg
private:
FuTextAttrDlg (
- ViewShell* pViewSh,
- ::sd::Window* pWin,
+ ViewShell* pViewSh,
+ ::sd::Window* pWin,
::sd::View* pView,
- SdDrawDocument* pDoc,
+ SdDrawDocument* pDoc,
SfxRequest& rReq);
};
diff --git a/sd/source/ui/inc/fuvect.hxx b/sd/source/ui/inc/fuvect.hxx
index b29d607ca708..7aa80e057216 100644
--- a/sd/source/ui/inc/fuvect.hxx
+++ b/sd/source/ui/inc/fuvect.hxx
@@ -2,7 +2,7 @@
/*************************************************************************
*
* 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
@@ -33,7 +33,7 @@
namespace sd {
-class FuVectorize
+class FuVectorize
: public FuPoor
{
public:
@@ -45,10 +45,10 @@ public:
private:
FuVectorize (
- ViewShell* pViewSh,
- ::sd::Window* pWin,
+ ViewShell* pViewSh,
+ ::sd::Window* pWin,
::sd::View* pView,
- SdDrawDocument* pDoc,
+ SdDrawDocument* pDoc,
SfxRequest& rReq);
};
diff --git a/sd/source/ui/inc/fuzoom.hxx b/sd/source/ui/inc/fuzoom.hxx
index 793f073a9cb9..a97516ebcd80 100644
--- a/sd/source/ui/inc/fuzoom.hxx
+++ b/sd/source/ui/inc/fuzoom.hxx
@@ -2,7 +2,7 @@
/*************************************************************************
*
* 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
@@ -36,39 +36,39 @@ namespace sd {
extern USHORT SidArrayZoom[];
-class FuZoom
+class FuZoom
: public FuPoor
{
public:
TYPEINFO();
static FunctionReference Create( ViewShell* pViewSh, ::sd::Window* pWin, ::sd::View* pView, SdDrawDocument* pDoc, SfxRequest& rReq );
-
+
// Mouse- & Key-Events
virtual BOOL MouseMove(const MouseEvent& rMEvt);
virtual BOOL MouseButtonUp(const MouseEvent& rMEvt);
virtual BOOL MouseButtonDown(const MouseEvent& rMEvt);
- virtual void Activate(); // Function aktivieren
- virtual void Deactivate(); // Function deaktivieren
+ virtual void Activate(); // Function aktivieren
+ virtual void Deactivate(); // Function deaktivieren
protected:
virtual ~FuZoom (void);
- Point aBeginPosPix;
- Point aBeginPos;
- Point aEndPos;
- Rectangle aZoomRect;
- BOOL bVisible;
- BOOL bStartDrag;
- Pointer aPtr;
+ Point aBeginPosPix;
+ Point aBeginPos;
+ Point aEndPos;
+ Rectangle aZoomRect;
+ BOOL bVisible;
+ BOOL bStartDrag;
+ Pointer aPtr;
private:
FuZoom (
- ViewShell* pViewSh,
+ ViewShell* pViewSh,
::sd::Window* pWin,
::sd::View* pView,
- SdDrawDocument* pDoc,
+ SdDrawDocument* pDoc,
SfxRequest& rReq);
};
diff --git a/sd/source/ui/inc/gluectrl.hxx b/sd/source/ui/inc/gluectrl.hxx
index 93cf110f0a47..32ca96be16a4 100644
--- a/sd/source/ui/inc/gluectrl.hxx
+++ b/sd/source/ui/inc/gluectrl.hxx
@@ -2,7 +2,7 @@
/*************************************************************************
*
* 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
@@ -42,13 +42,13 @@ class GlueEscDirLB : public ListBox
private:
::com::sun::star::uno::Reference< ::com::sun::star::frame::XFrame > m_xFrame;
public:
- GlueEscDirLB( Window* pParent,
+ GlueEscDirLB( Window* pParent,
const ::com::sun::star::uno::Reference< ::com::sun::star::frame::XFrame >& rFrame );
~GlueEscDirLB();
virtual void Select();
- void Fill();
+ void Fill();
};
/*************************************************************************
@@ -60,12 +60,12 @@ public:
class SdTbxCtlGlueEscDir: public SfxToolBoxControl
{
private:
- UINT16 GetEscDirPos( UINT16 nEscDir );
+ UINT16 GetEscDirPos( UINT16 nEscDir );
public:
virtual void StateChanged( USHORT nSId, SfxItemState eState,
const SfxPoolItem* pState );
- virtual Window* CreateItemWindow( Window *pParent );
+ virtual Window* CreateItemWindow( Window *pParent );
SFX_DECL_TOOLBOX_CONTROL();
diff --git a/sd/source/ui/inc/headerfooterdlg.hrc b/sd/source/ui/inc/headerfooterdlg.hrc
index d79874d42faa..458d8e8e21a5 100644
--- a/sd/source/ui/inc/headerfooterdlg.hrc
+++ b/sd/source/ui/inc/headerfooterdlg.hrc
@@ -1,7 +1,7 @@
/*************************************************************************
*
* 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
@@ -25,31 +25,31 @@
*
************************************************************************/
-#define FL_INCLUDE_ON_PAGE 1
-#define CB_DATETIME 2
-#define RB_DATETIME_FIXED 3
-#define TB_DATETIME_FIXED 4
-#define RB_DATETIME_AUTOMATIC 5
-#define CB_DATETIME_FORMAT 6
-#define FT_DATETIME_LANGUAGE 7
-#define CB_DATETIME_LANGUAGE 8
-#define FL_FOOTER 9
-#define CB_FOOTER 10
-#define FT_FOOTER 11
-#define TB_FOOTER_FIXED 12
-#define FL_SLIDENUMBER 13
-#define CB_SLIDENUMBER 14
-#define FL_NOTONTITLE 15
-#define CB_NOTONTITLE 16
-#define BT_APPLYTOALL 17
-#define BT_APPLY 18
-#define BT_CANCEL 19
-#define BT_HELP 20
-#define FL_HEADER 21
-#define CB_HEADER 22
-#define FT_HEADER 23
-#define TB_HEADER_FIXED 24
-#define FL_DATETIME 25
-#define CT_PREVIEW 26
-#define STR_PAGE_NUMBER 27
-#define STR_INCLUDE_ON_PAGE 28
+#define FL_INCLUDE_ON_PAGE 1
+#define CB_DATETIME 2
+#define RB_DATETIME_FIXED 3
+#define TB_DATETIME_FIXED 4
+#define RB_DATETIME_AUTOMATIC 5
+#define CB_DATETIME_FORMAT 6
+#define FT_DATETIME_LANGUAGE 7
+#define CB_DATETIME_LANGUAGE 8
+#define FL_FOOTER 9
+#define CB_FOOTER 10
+#define FT_FOOTER 11
+#define TB_FOOTER_FIXED 12
+#define FL_SLIDENUMBER 13
+#define CB_SLIDENUMBER 14
+#define FL_NOTONTITLE 15
+#define CB_NOTONTITLE 16
+#define BT_APPLYTOALL 17
+#define BT_APPLY 18
+#define BT_CANCEL 19
+#define BT_HELP 20
+#define FL_HEADER 21
+#define CB_HEADER 22
+#define FT_HEADER 23
+#define TB_HEADER_FIXED 24
+#define FL_DATETIME 25
+#define CT_PREVIEW 26
+#define STR_PAGE_NUMBER 27
+#define STR_INCLUDE_ON_PAGE 28
diff --git a/sd/source/ui/inc/headerfooterdlg.hxx b/sd/source/ui/inc/headerfooterdlg.hxx
index b3f188e130d3..f49ebcd82246 100644
--- a/sd/source/ui/inc/headerfooterdlg.hxx
+++ b/sd/source/ui/inc/headerfooterdlg.hxx
@@ -2,7 +2,7 @@
/*************************************************************************
*
* 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
@@ -51,18 +51,18 @@ private:
DECL_LINK( ActivatePageHdl, TabControl * );
DECL_LINK( DeactivatePageHdl, TabControl * );
- TabControl maTabCtrl;
+ TabControl maTabCtrl;
- HeaderFooterTabPage* mpSlideTabPage;
- HeaderFooterTabPage* mpNotesHandoutsTabPage;
+ HeaderFooterTabPage* mpSlideTabPage;
+ HeaderFooterTabPage* mpNotesHandoutsTabPage;
- HeaderFooterSettings maSlideSettings;
- HeaderFooterSettings maNotesHandoutSettings;
- bool mbNotOnTitle;
+ HeaderFooterSettings maSlideSettings;
+ HeaderFooterSettings maNotesHandoutSettings;
+ bool mbNotOnTitle;
- SdDrawDocument* mpDoc;
- SdPage* mpCurrentPage;
- ViewShell* mpViewShell;
+ SdDrawDocument* mpDoc;
+ SdPage* mpCurrentPage;
+ ViewShell* mpViewShell;
void apply( bool bToAll, bool bForceSlides );
void change( SdUndoGroup* pUndoGroup, SdPage* pPage, const HeaderFooterSettings& rNewSettings );
diff --git a/sd/source/ui/inc/ins_paste.hrc b/sd/source/ui/inc/ins_paste.hrc
index 500b152c08c8..3a881eac70a7 100644
--- a/sd/source/ui/inc/ins_paste.hrc
+++ b/sd/source/ui/inc/ins_paste.hrc
@@ -1,7 +1,7 @@
/*************************************************************************
*
* 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
@@ -25,12 +25,12 @@
*
************************************************************************/
-#define DLG_INSERT_PASTE 678
+#define DLG_INSERT_PASTE 678
-#define BTN_OK 1
-#define BTN_CANCEL 1
-#define BTN_HELP 1
+#define BTN_OK 1
+#define BTN_CANCEL 1
+#define BTN_HELP 1
#define FL_POSITION 1
-#define RB_BEFORE 1
-#define RB_AFTER 2
+#define RB_BEFORE 1
+#define RB_AFTER 2
diff --git a/sd/source/ui/inc/ins_paste.hxx b/sd/source/ui/inc/ins_paste.hxx
index 1a35860235c0..a8540cd5d53b 100644
--- a/sd/source/ui/inc/ins_paste.hxx
+++ b/sd/source/ui/inc/ins_paste.hxx
@@ -2,7 +2,7 @@
/*************************************************************************
*
* 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
@@ -45,16 +45,16 @@ private:
FixedLine aFlPosition;
RadioButton aRbBefore;
RadioButton aRbAfter;
- OKButton aBtnOK;
- CancelButton aBtnCancel;
- HelpButton aBtnHelp;
+ OKButton aBtnOK;
+ CancelButton aBtnCancel;
+ HelpButton aBtnHelp;
public:
SdInsertPasteDlg( Window* pWindow );
~SdInsertPasteDlg();
- BOOL IsInsertBefore() const;
+ BOOL IsInsertBefore() const;
};
#endif // _SD_INS_PASTE_HXX_
diff --git a/sd/source/ui/inc/inspagob.hrc b/sd/source/ui/inc/inspagob.hrc
index bba29081f721..f2108abf0c82 100644
--- a/sd/source/ui/inc/inspagob.hrc
+++ b/sd/source/ui/inc/inspagob.hrc
@@ -1,7 +1,7 @@
/*************************************************************************
*
* 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
diff --git a/sd/source/ui/inc/inspagob.hxx b/sd/source/ui/inc/inspagob.hxx
index b84792d8476f..f787abfb910e 100644
--- a/sd/source/ui/inc/inspagob.hxx
+++ b/sd/source/ui/inc/inspagob.hxx
@@ -2,7 +2,7 @@
/*************************************************************************
*
* 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
@@ -40,18 +40,18 @@ class SdDrawDocument;
class SdInsertPagesObjsDlg : public ModalDialog
{
private:
- SdPageObjsTLB aLbTree;
- CheckBox aCbxLink;
- CheckBox aCbxMasters;
- OKButton aBtnOk;
- CancelButton aBtnCancel;
- HelpButton aBtnHelp;
+ SdPageObjsTLB aLbTree;
+ CheckBox aCbxLink;
+ CheckBox aCbxMasters;
+ OKButton aBtnOk;
+ CancelButton aBtnCancel;
+ HelpButton aBtnHelp;
- SfxMedium* pMedium;
- const SdDrawDocument* mpDoc;
- const String& rName;
+ SfxMedium* pMedium;
+ const SdDrawDocument* mpDoc;
+ const String& rName;
- void Reset();
+ void Reset();
DECL_LINK( SelectObjectHdl, void * );
public:
@@ -61,9 +61,9 @@ public:
const String& rFileName );
~SdInsertPagesObjsDlg();
- List* GetList( USHORT nType );
- BOOL IsLink();
- BOOL IsRemoveUnnessesaryMasterPages() const;
+ List* GetList( USHORT nType );
+ BOOL IsLink();
+ BOOL IsRemoveUnnessesaryMasterPages() const;
};
diff --git a/sd/source/ui/inc/layeroptionsdlg.hrc b/sd/source/ui/inc/layeroptionsdlg.hrc
index 63bb1b4105e0..5d94c700f5fa 100644
--- a/sd/source/ui/inc/layeroptionsdlg.hrc
+++ b/sd/source/ui/inc/layeroptionsdlg.hrc
@@ -1,7 +1,7 @@
/*************************************************************************
*
* 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
diff --git a/sd/source/ui/inc/layeroptionsdlg.hxx b/sd/source/ui/inc/layeroptionsdlg.hxx
index 311a9f59d531..bf58b1ec7cb5 100644
--- a/sd/source/ui/inc/layeroptionsdlg.hxx
+++ b/sd/source/ui/inc/layeroptionsdlg.hxx
@@ -2,7 +2,7 @@
/*************************************************************************
*
* 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
@@ -43,26 +43,26 @@ class SfxItemSet;
class SdInsertLayerDlg : public ModalDialog
{
private:
- FixedText maFtName;
- Edit maEdtName;
- FixedText maFtTitle;
- Edit maEdtTitle;
- FixedText maFtDesc;
- MultiLineEdit maEdtDesc;
- CheckBox maCbxVisible;
- CheckBox maCbxPrintable;
- CheckBox maCbxLocked;
- FixedLine maFixedLine;
- HelpButton maBtnHelp;
- OKButton maBtnOK;
- CancelButton maBtnCancel;
+ FixedText maFtName;
+ Edit maEdtName;
+ FixedText maFtTitle;
+ Edit maEdtTitle;
+ FixedText maFtDesc;
+ MultiLineEdit maEdtDesc;
+ CheckBox maCbxVisible;
+ CheckBox maCbxPrintable;
+ CheckBox maCbxLocked;
+ FixedLine maFixedLine;
+ HelpButton maBtnHelp;
+ OKButton maBtnOK;
+ CancelButton maBtnCancel;
- const SfxItemSet& mrOutAttrs;
+ const SfxItemSet& mrOutAttrs;
public:
SdInsertLayerDlg( Window* pWindow, const SfxItemSet& rInAttrs, bool bDeletable, String aStr );
- void GetAttr( SfxItemSet& rOutAttrs );
+ void GetAttr( SfxItemSet& rOutAttrs );
};
#endif // _SD_LAYER_DLG_HXX_
diff --git a/sd/source/ui/inc/masterlayoutdlg.hrc b/sd/source/ui/inc/masterlayoutdlg.hrc
index 635b5cbdef10..23cd99f8a624 100644
--- a/sd/source/ui/inc/masterlayoutdlg.hrc
+++ b/sd/source/ui/inc/masterlayoutdlg.hrc
@@ -1,7 +1,7 @@
/*************************************************************************
*
* 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
@@ -25,12 +25,12 @@
*
************************************************************************/
-#define FL_PLACEHOLDERS 1
-#define CB_DATE 2
-#define CB_PAGE_NUMBER 3
-#define CB_HEADER 4
-#define CB_FOOTER 5
-#define BT_OK 6
-#define BT_CANCEL 7
-#define STR_SLIDE_NUMBER 8
+#define FL_PLACEHOLDERS 1
+#define CB_DATE 2
+#define CB_PAGE_NUMBER 3
+#define CB_HEADER 4
+#define CB_FOOTER 5
+#define BT_OK 6
+#define BT_CANCEL 7
+#define STR_SLIDE_NUMBER 8
#define STR_MASTER_LAYOUT_TITLE 9
diff --git a/sd/source/ui/inc/masterlayoutdlg.hxx b/sd/source/ui/inc/masterlayoutdlg.hxx
index 73affd4caa9d..86bdef54a46f 100644
--- a/sd/source/ui/inc/masterlayoutdlg.hxx
+++ b/sd/source/ui/inc/masterlayoutdlg.hxx
@@ -2,7 +2,7 @@
/*************************************************************************
*
* 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
@@ -43,22 +43,22 @@ namespace sd
class MasterLayoutDialog : public ModalDialog
{
private:
- SdDrawDocument* mpDoc;
- SdPage* mpCurrentPage;
+ SdDrawDocument* mpDoc;
+ SdPage* mpCurrentPage;
- FixedLine maFLPlaceholders;
- CheckBox maCBDate;
- CheckBox maCBPageNumber;
- CheckBox maCBHeader;
- CheckBox maCBFooter;
+ FixedLine maFLPlaceholders;
+ CheckBox maCBDate;
+ CheckBox maCBPageNumber;
+ CheckBox maCBHeader;
+ CheckBox maCBFooter;
- OKButton maPBOK;
- CancelButton maPBCancel;
+ OKButton maPBOK;
+ CancelButton maPBCancel;
- BOOL mbOldHeader;
- BOOL mbOldFooter;
- BOOL mbOldDate;
- BOOL mbOldPageNumber;
+ BOOL mbOldHeader;
+ BOOL mbOldFooter;
+ BOOL mbOldDate;
+ BOOL mbOldPageNumber;
void applyChanges();
void remove( PresObjKind eKind );
diff --git a/sd/source/ui/inc/morphdlg.hrc b/sd/source/ui/inc/morphdlg.hrc
index f9a23c681d7e..8657d2a65b35 100644
--- a/sd/source/ui/inc/morphdlg.hrc
+++ b/sd/source/ui/inc/morphdlg.hrc
@@ -1,7 +1,7 @@
/*************************************************************************
*
* 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
@@ -24,12 +24,12 @@
* for a copy of the LGPLv3 License.
*
************************************************************************/
-#define DLG_MORPH 653
-#define BTN_OK 1
-#define BTN_CANCEL 1
-#define BTN_HELP 1
-#define GRP_PRESET 1
-#define FT_STEPS 1
-#define MTF_STEPS 1
-#define CBX_ATTRIBUTES 1
-#define CBX_ORIENTATION 2
+#define DLG_MORPH 653
+#define BTN_OK 1
+#define BTN_CANCEL 1
+#define BTN_HELP 1
+#define GRP_PRESET 1
+#define FT_STEPS 1
+#define MTF_STEPS 1
+#define CBX_ATTRIBUTES 1
+#define CBX_ORIENTATION 2
diff --git a/sd/source/ui/inc/morphdlg.hxx b/sd/source/ui/inc/morphdlg.hxx
index 387c7df1d7ec..86f72a06d681 100644
--- a/sd/source/ui/inc/morphdlg.hxx
+++ b/sd/source/ui/inc/morphdlg.hxx
@@ -2,7 +2,7 @@
/*************************************************************************
*
* 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
@@ -45,34 +45,34 @@ namespace sd {
|*
\******************************************************************************/
-class MorphDlg
+class MorphDlg
: public ModalDialog
{
public:
MorphDlg (
- ::Window* pParent,
- const SdrObject* pObj1,
+ ::Window* pParent,
+ const SdrObject* pObj1,
const SdrObject* pObj2);
virtual ~MorphDlg (void);
- void SaveSettings() const;
- USHORT GetFadeSteps() const { return (USHORT) aMtfSteps.GetValue(); }
- BOOL IsAttributeFade() const { return aCbxAttributes.IsChecked(); }
- BOOL IsOrientationFade() const { return aCbxOrientation.IsChecked(); }
+ void SaveSettings() const;
+ USHORT GetFadeSteps() const { return (USHORT) aMtfSteps.GetValue(); }
+ BOOL IsAttributeFade() const { return aCbxAttributes.IsChecked(); }
+ BOOL IsOrientationFade() const { return aCbxOrientation.IsChecked(); }
private:
- FixedLine aGrpPreset;
- FixedText aFtSteps;
- MetricField aMtfSteps;
- CheckBox aCbxAttributes;
- CheckBox aCbxOrientation;
- OKButton aBtnOK;
- CancelButton aBtnCancel;
+ FixedLine aGrpPreset;
+ FixedText aFtSteps;
+ MetricField aMtfSteps;
+ CheckBox aCbxAttributes;
+ CheckBox aCbxOrientation;
+ OKButton aBtnOK;
+ CancelButton aBtnCancel;
HelpButton aBtnHelp;
- SdrObject* pSdrObj1;
- SdrObject* pSdrObj2;
+ SdrObject* pSdrObj1;
+ SdrObject* pSdrObj2;
- void LoadSettings();
+ void LoadSettings();
};
diff --git a/sd/source/ui/inc/navigatr.hrc b/sd/source/ui/inc/navigatr.hrc
index 47812c304890..1791d405f247 100644
--- a/sd/source/ui/inc/navigatr.hrc
+++ b/sd/source/ui/inc/navigatr.hrc
@@ -1,7 +1,7 @@
/*************************************************************************
*
* 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
diff --git a/sd/source/ui/inc/navigatr.hxx b/sd/source/ui/inc/navigatr.hxx
index fd05e9ffa99f..72818eb2d6a1 100644
--- a/sd/source/ui/inc/navigatr.hxx
+++ b/sd/source/ui/inc/navigatr.hxx
@@ -2,7 +2,7 @@
/*************************************************************************
*
* 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
@@ -36,24 +36,24 @@
#include "sdtreelb.hxx"
#include "pres.hxx"
-#define NAVSTATE_NONE 0x00000000
+#define NAVSTATE_NONE 0x00000000
-#define NAVBTN_PEN_ENABLED 0x00000010
-#define NAVBTN_PEN_DISABLED 0x00000020
-#define NAVBTN_PEN_CHECKED 0x00000040
-#define NAVBTN_PEN_UNCHECKED 0x00000080
+#define NAVBTN_PEN_ENABLED 0x00000010
+#define NAVBTN_PEN_DISABLED 0x00000020
+#define NAVBTN_PEN_CHECKED 0x00000040
+#define NAVBTN_PEN_UNCHECKED 0x00000080
-#define NAVTLB_UPDATE 0x00000100
+#define NAVTLB_UPDATE 0x00000100
-#define NAVBTN_FIRST_ENABLED 0x00001000
-#define NAVBTN_FIRST_DISABLED 0x00002000
-#define NAVBTN_PREV_ENABLED 0x00004000
-#define NAVBTN_PREV_DISABLED 0x00008000
+#define NAVBTN_FIRST_ENABLED 0x00001000
+#define NAVBTN_FIRST_DISABLED 0x00002000
+#define NAVBTN_PREV_ENABLED 0x00004000
+#define NAVBTN_PREV_DISABLED 0x00008000
-#define NAVBTN_LAST_ENABLED 0x00010000
-#define NAVBTN_LAST_DISABLED 0x00020000
-#define NAVBTN_NEXT_ENABLED 0x00040000
-#define NAVBTN_NEXT_DISABLED 0x00080000
+#define NAVBTN_LAST_ENABLED 0x00010000
+#define NAVBTN_LAST_DISABLED 0x00020000
+#define NAVBTN_NEXT_ENABLED 0x00040000
+#define NAVBTN_NEXT_DISABLED 0x00080000
// forward
namespace sd {
@@ -72,16 +72,16 @@ class NavDocInfo
public:
NavDocInfo() { mpDocShell = NULL; }
- BOOL HasName() { return( (BOOL) bName ); }
- BOOL IsActive() { return( (BOOL) bActive ); }
+ BOOL HasName() { return( (BOOL) bName ); }
+ BOOL IsActive() { return( (BOOL) bActive ); }
- void SetName( BOOL bOn = TRUE ) { bName = bOn; }
- void SetActive( BOOL bOn = TRUE ) { bActive = bOn; }
+ void SetName( BOOL bOn = TRUE ) { bName = bOn; }
+ void SetActive( BOOL bOn = TRUE ) { bActive = bOn; }
private:
friend class SdNavigatorWin;
- BOOL bName : 1;
- BOOL bActive : 1;
+ BOOL bName : 1;
+ BOOL bActive : 1;
::sd::DrawDocShell* mpDocShell;
};
@@ -98,19 +98,19 @@ public:
SfxBindings* pBindings );
virtual ~SdNavigatorWin();
- virtual void KeyInput( const KeyEvent& rKEvt );
+ virtual void KeyInput( const KeyEvent& rKEvt );
- void InitTreeLB( const SdDrawDocument* pDoc );
- void RefreshDocumentLB( const String* pDocName = NULL );
+ void InitTreeLB( const SdDrawDocument* pDoc );
+ void RefreshDocumentLB( const String* pDocName = NULL );
- BOOL InsertFile(const String& rFileName);
+ BOOL InsertFile(const String& rFileName);
- NavigatorDragType GetNavigatorDragType();
- void SetNavigatorDragType(NavigatorDragType eType) { meDragType = eType; }
+ NavigatorDragType GetNavigatorDragType();
+ void SetNavigatorDragType(NavigatorDragType eType) { meDragType = eType; }
protected:
- virtual void Resize();
- virtual long Notify(NotifyEvent& rNEvt);
+ virtual void Resize();
+ virtual long Notify(NotifyEvent& rNEvt);
private:
@@ -118,32 +118,32 @@ private:
friend class SdNavigatorControllerItem;
friend class SdPageNameControllerItem;
- ToolBox maToolbox;
- SdPageObjsTLB maTlbObjects;
- ListBox maLbDocs;
-
- ::sd::NavigatorChildWindow* mpChildWinContext;
- Size maSize;
- Size maMinSize;
-// Size maFltWinSize;
- BOOL mbDocImported;
- String maDropFileName;
- NavigatorDragType meDragType;
- List* mpDocList;
- SfxBindings* mpBindings;
- SdNavigatorControllerItem* mpNavigatorCtrlItem;
- SdPageNameControllerItem* mpPageNameCtrlItem;
-
- ImageList maImageList;
- ImageList maImageListH;
+ ToolBox maToolbox;
+ SdPageObjsTLB maTlbObjects;
+ ListBox maLbDocs;
+
+ ::sd::NavigatorChildWindow* mpChildWinContext;
+ Size maSize;
+ Size maMinSize;
+// Size maFltWinSize;
+ BOOL mbDocImported;
+ String maDropFileName;
+ NavigatorDragType meDragType;
+ List* mpDocList;
+ SfxBindings* mpBindings;
+ SdNavigatorControllerItem* mpNavigatorCtrlItem;
+ SdPageNameControllerItem* mpPageNameCtrlItem;
+
+ ImageList maImageList;
+ ImageList maImageListH;
/** This flag controls whether all shapes or only the named shapes are
shown.
*/
bool mbShowAllShapes;
- USHORT GetDragTypeSdResId( NavigatorDragType eDT, BOOL bImage = FALSE );
- NavDocInfo* GetDocInfo();
+ USHORT GetDragTypeSdResId( NavigatorDragType eDT, BOOL bImage = FALSE );
+ NavDocInfo* GetDocInfo();
DECL_LINK( GetFocusObjectsHdl, void * );
DECL_LINK( SelectToolboxHdl, void * );
@@ -155,9 +155,9 @@ private:
DECL_LINK( MenuSelectHdl, Menu * );
DECL_LINK( ShapeFilterCallback, Menu * );
- virtual void DataChanged( const DataChangedEvent& rDCEvt );
- void SetDragImage();
- void ApplyImageList();
+ virtual void DataChanged( const DataChangedEvent& rDCEvt );
+ void SetDragImage();
+ void ApplyImageList();
};
diff --git a/sd/source/ui/inc/optdlg.hrc b/sd/source/ui/inc/optdlg.hrc
index 6c50299c5ab2..8f8e781d4136 100644
--- a/sd/source/ui/inc/optdlg.hrc
+++ b/sd/source/ui/inc/optdlg.hrc
@@ -1,7 +1,7 @@
/*************************************************************************
*
* 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
@@ -24,11 +24,11 @@
* for a copy of the LGPLv3 License.
*
************************************************************************/
-#define TAB_DLG_IMPRESS_OPTIONS 842
-#define TAB_DLG_DRAW_OPTIONS 843
+#define TAB_DLG_IMPRESS_OPTIONS 842
+#define TAB_DLG_DRAW_OPTIONS 843
-#define TP_GENERAL 1
+#define TP_GENERAL 1
#define TP_SAVE 2
#define TP_PATH 3
-#define TP_PRINT 4
+#define TP_PRINT 4
diff --git a/sd/source/ui/inc/optdlg.hxx b/sd/source/ui/inc/optdlg.hxx
index dcbe7e40d070..610d9f8077c9 100644
--- a/sd/source/ui/inc/optdlg.hxx
+++ b/sd/source/ui/inc/optdlg.hxx
@@ -2,7 +2,7 @@
/*************************************************************************
*
* 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
@@ -38,7 +38,7 @@ class SfxItemSet;
class SdOptionsDlg : public SfxTabDialog
{
private:
- DocumentType meDocType;
+ DocumentType meDocType;
public:
SdOptionsDlg( Window* pParent, const SfxItemSet& rInAttrs,
@@ -47,8 +47,8 @@ public:
protected:
- virtual void PageCreated( USHORT nId, SfxTabPage &rPage );
-// virtual SfxItemSet* CreateInputItemSet( USHORT nPageId );
+ virtual void PageCreated( USHORT nId, SfxTabPage &rPage );
+// virtual SfxItemSet* CreateInputItemSet( USHORT nPageId );
};
diff --git a/sd/source/ui/inc/optsitem.hxx b/sd/source/ui/inc/optsitem.hxx
index 5d2b98b5952c..cc76a089acdb 100644
--- a/sd/source/ui/inc/optsitem.hxx
+++ b/sd/source/ui/inc/optsitem.hxx
@@ -2,7 +2,7 @@
/*************************************************************************
*
* 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
@@ -41,16 +41,16 @@
// - Option ranges -
// -----------------
-#define SD_OPTIONS_NONE 0x00000000
-#define SD_OPTIONS_ALL 0xffffffff
+#define SD_OPTIONS_NONE 0x00000000
+#define SD_OPTIONS_ALL 0xffffffff
-#define SD_OPTIONS_LAYOUT 0x00000001
+#define SD_OPTIONS_LAYOUT 0x00000001
#define SD_OPTIONS_CONTENTS 0x00000002
-#define SD_OPTIONS_MISC 0x00000004
-#define SD_OPTIONS_SNAP 0x00000008
-#define SD_OPTIONS_ZOOM 0x00000010
-#define SD_OPTIONS_GRID 0x00000020
-#define SD_OPTIONS_PRINT 0x00000040
+#define SD_OPTIONS_MISC 0x00000004
+#define SD_OPTIONS_SNAP 0x00000008
+#define SD_OPTIONS_ZOOM 0x00000010
+#define SD_OPTIONS_GRID 0x00000020
+#define SD_OPTIONS_PRINT 0x00000040
// ------------
// - Forwards -
@@ -74,22 +74,22 @@ class SD_DLLPUBLIC SdOptionsItem : public ::utl::ConfigItem
private:
- const SdOptionsGeneric& mrParent;
-
+ const SdOptionsGeneric& mrParent;
+
public:
SdOptionsItem( const SdOptionsGeneric& rParent, const ::rtl::OUString rSubTree );
virtual ~SdOptionsItem();
- virtual void Commit();
+ virtual void Commit();
virtual void Notify( const com::sun::star::uno::Sequence<rtl::OUString>& aPropertyNames);
- ::com::sun::star::uno::Sequence< ::com::sun::star::uno::Any > GetProperties(
+ ::com::sun::star::uno::Sequence< ::com::sun::star::uno::Any > GetProperties(
const ::com::sun::star::uno::Sequence< ::rtl::OUString >& rNames );
sal_Bool PutProperties( const com::sun::star::uno::Sequence< rtl::OUString >& rNames,
const com::sun::star::uno::Sequence< com::sun::star::uno::Any>& rValues );
- void SetModified();
+ void SetModified();
};
// --------------------
@@ -102,40 +102,40 @@ friend class SdOptionsItem;
private:
- ::rtl::OUString maSubTree;
- SdOptionsItem* mpCfgItem;
- USHORT mnConfigId;
- BOOL mbInit : 1;
- BOOL mbEnableModify : 1;
+ ::rtl::OUString maSubTree;
+ SdOptionsItem* mpCfgItem;
+ USHORT mnConfigId;
+ BOOL mbInit : 1;
+ BOOL mbEnableModify : 1;
SD_DLLPRIVATE void Commit( SdOptionsItem& rCfgItem ) const;
SD_DLLPRIVATE ::com::sun::star::uno::Sequence< ::rtl::OUString > GetPropertyNames() const;
-protected:
-
- void Init() const;
- void OptionsChanged() { if( mpCfgItem && mbEnableModify ) mpCfgItem->SetModified(); }
+protected:
+
+ void Init() const;
+ void OptionsChanged() { if( mpCfgItem && mbEnableModify ) mpCfgItem->SetModified(); }
protected:
-
- virtual void GetPropNameArray( const char**& ppNames, ULONG& rCount ) const = 0;
- virtual BOOL ReadData( const ::com::sun::star::uno::Any* pValues ) = 0;
- virtual BOOL WriteData( ::com::sun::star::uno::Any* pValues ) const = 0;
+
+ virtual void GetPropNameArray( const char**& ppNames, ULONG& rCount ) const = 0;
+ virtual BOOL ReadData( const ::com::sun::star::uno::Any* pValues ) = 0;
+ virtual BOOL WriteData( ::com::sun::star::uno::Any* pValues ) const = 0;
public:
SdOptionsGeneric( USHORT nConfigId, const ::rtl::OUString& rSubTree );
virtual ~SdOptionsGeneric();
- const ::rtl::OUString& GetSubTree() const { return maSubTree; }
- USHORT GetConfigId() const { return mnConfigId; }
+ const ::rtl::OUString& GetSubTree() const { return maSubTree; }
+ USHORT GetConfigId() const { return mnConfigId; }
- void EnableModify( BOOL bModify ) { mbEnableModify = bModify; }
+ void EnableModify( BOOL bModify ) { mbEnableModify = bModify; }
- void Store();
+ void Store();
- static bool isMetricSystem();
+ static bool isMetricSystem();
};
// -------------------
@@ -146,13 +146,13 @@ class SD_DLLPUBLIC SdOptionsLayout : public SdOptionsGeneric
{
private:
- BOOL bRuler : 1; // Layout/Display/Ruler
- BOOL bMoveOutline : 1; // Layout/Display/Contur
- BOOL bDragStripes : 1; // Layout/Display/Guide
- BOOL bHandlesBezier : 1; // Layout/Display/Bezier
- BOOL bHelplines : 1; // Layout/Display/Helpline
- UINT16 nMetric; // Layout/Other/MeasureUnit
- UINT16 nDefTab; // Layout/Other/TabStop
+ BOOL bRuler : 1; // Layout/Display/Ruler
+ BOOL bMoveOutline : 1; // Layout/Display/Contur
+ BOOL bDragStripes : 1; // Layout/Display/Guide
+ BOOL bHandlesBezier : 1; // Layout/Display/Bezier
+ BOOL bHelplines : 1; // Layout/Display/Helpline
+ UINT16 nMetric; // Layout/Other/MeasureUnit
+ UINT16 nDefTab; // Layout/Other/TabStop
protected:
@@ -164,40 +164,40 @@ public:
SdOptionsLayout( USHORT nConfigId, BOOL bUseConfig );
virtual ~SdOptionsLayout() {}
- BOOL operator==( const SdOptionsLayout& rOpt ) const;
+ BOOL operator==( const SdOptionsLayout& rOpt ) const;
- BOOL IsRulerVisible() const { Init(); return (BOOL) bRuler; }
- BOOL IsMoveOutline() const { Init(); return (BOOL) bMoveOutline; }
- BOOL IsDragStripes() const { Init(); return (BOOL) bDragStripes; }
- BOOL IsHandlesBezier() const { Init(); return (BOOL) bHandlesBezier; }
- BOOL IsHelplines() const { Init(); return (BOOL) bHelplines; }
+ BOOL IsRulerVisible() const { Init(); return (BOOL) bRuler; }
+ BOOL IsMoveOutline() const { Init(); return (BOOL) bMoveOutline; }
+ BOOL IsDragStripes() const { Init(); return (BOOL) bDragStripes; }
+ BOOL IsHandlesBezier() const { Init(); return (BOOL) bHandlesBezier; }
+ BOOL IsHelplines() const { Init(); return (BOOL) bHelplines; }
UINT16 GetMetric() const { Init(); return( ( 0xffff == nMetric ) ? (UINT16)SfxModule::GetCurrentFieldUnit() : nMetric ); }
- UINT16 GetDefTab() const { Init(); return nDefTab; }
-
- void SetRulerVisible( BOOL bOn = TRUE ) { if( bRuler != bOn ) { OptionsChanged(); bRuler = bOn; } }
- void SetMoveOutline( BOOL bOn = TRUE ) { if( bMoveOutline != bOn ) { OptionsChanged(); bMoveOutline = bOn; } }
- void SetDragStripes( BOOL bOn = TRUE ) { if( bDragStripes != bOn ) { OptionsChanged(); bDragStripes = bOn; } }
- void SetHandlesBezier( BOOL bOn = TRUE ) { if( bHandlesBezier != bOn ) { OptionsChanged(); bHandlesBezier = bOn; } }
- void SetHelplines( BOOL bOn = TRUE ) { if( bHelplines != bOn ) { OptionsChanged(); bHelplines = bOn; } }
- void SetMetric( UINT16 nInMetric ) { if( nMetric != nInMetric ) { OptionsChanged(); nMetric = nInMetric; } }
- void SetDefTab( UINT16 nTab ) { if( nDefTab != nTab ) { OptionsChanged(); nDefTab = nTab; } }
+ UINT16 GetDefTab() const { Init(); return nDefTab; }
+
+ void SetRulerVisible( BOOL bOn = TRUE ) { if( bRuler != bOn ) { OptionsChanged(); bRuler = bOn; } }
+ void SetMoveOutline( BOOL bOn = TRUE ) { if( bMoveOutline != bOn ) { OptionsChanged(); bMoveOutline = bOn; } }
+ void SetDragStripes( BOOL bOn = TRUE ) { if( bDragStripes != bOn ) { OptionsChanged(); bDragStripes = bOn; } }
+ void SetHandlesBezier( BOOL bOn = TRUE ) { if( bHandlesBezier != bOn ) { OptionsChanged(); bHandlesBezier = bOn; } }
+ void SetHelplines( BOOL bOn = TRUE ) { if( bHelplines != bOn ) { OptionsChanged(); bHelplines = bOn; } }
+ void SetMetric( UINT16 nInMetric ) { if( nMetric != nInMetric ) { OptionsChanged(); nMetric = nInMetric; } }
+ void SetDefTab( UINT16 nTab ) { if( nDefTab != nTab ) { OptionsChanged(); nDefTab = nTab; } }
};
// -----------------------------------------------------------------------------
-class SD_DLLPUBLIC SdOptionsLayoutItem : public SfxPoolItem
+class SD_DLLPUBLIC SdOptionsLayoutItem : public SfxPoolItem
{
public:
-
+
SdOptionsLayoutItem( USHORT nWhich);
SdOptionsLayoutItem( USHORT nWhich, SdOptions* pOpts, ::sd::FrameView* pView = NULL );
- virtual SfxPoolItem* Clone( SfxItemPool *pPool = 0 ) const;
- virtual int operator==( const SfxPoolItem& ) const;
-
- void SetOptions( SdOptions* pOpts ) const;
+ virtual SfxPoolItem* Clone( SfxItemPool *pPool = 0 ) const;
+ virtual int operator==( const SfxPoolItem& ) const;
+
+ void SetOptions( SdOptions* pOpts ) const;
- SdOptionsLayout& GetOptionsLayout() { return maOptionsLayout; }
+ SdOptionsLayout& GetOptionsLayout() { return maOptionsLayout; }
private:
SdOptionsLayout maOptionsLayout;
};
@@ -220,7 +220,7 @@ public:
SdOptionsContents( USHORT nConfigId, BOOL bUseConfig );
virtual ~SdOptionsContents() {}
- BOOL operator==( const SdOptionsContents& rOpt ) const;
+ BOOL operator==( const SdOptionsContents& rOpt ) const;
};
// -----------------------------------------------------------------------------
@@ -231,14 +231,14 @@ public:
SdOptionsContentsItem( USHORT nWhich, SdOptions* pOpts, ::sd::FrameView* pView = NULL );
- virtual SfxPoolItem* Clone( SfxItemPool *pPool = 0 ) const;
- virtual int operator==( const SfxPoolItem& ) const;
+ virtual SfxPoolItem* Clone( SfxItemPool *pPool = 0 ) const;
+ virtual int operator==( const SfxPoolItem& ) const;
+
+ void SetOptions( SdOptions* pOpts ) const;
- void SetOptions( SdOptions* pOpts ) const;
-
- SdOptionsContents& GetOptionsContents() { return maOptionsContents; }
+ SdOptionsContents& GetOptionsContents() { return maOptionsContents; }
private:
- SdOptionsContents maOptionsContents;
+ SdOptionsContents maOptionsContents;
};
// -----------------
@@ -250,42 +250,42 @@ class SD_DLLPUBLIC SdOptionsMisc : public SdOptionsGeneric
private:
// #97016#
- ULONG nDefaultObjectSizeWidth;
- ULONG nDefaultObjectSizeHeight;
-
- BOOL bStartWithTemplate : 1; // Misc/NewDoc/AutoPilot
- BOOL bMarkedHitMovesAlways : 1; // Misc/ObjectMoveable
- BOOL bMoveOnlyDragging : 1; // Currently, not in use !!!
- BOOL bCrookNoContortion : 1; // Misc/NoDistort
- BOOL bQuickEdit : 1; // Misc/TextObject/QuickEditing
- BOOL bMasterPageCache : 1; // Misc/BackgroundCache
- BOOL bDragWithCopy : 1; // Misc/CopyWhileMoving
- BOOL bPickThrough : 1; // Misc/TextObject/Selectable
- BOOL bBigHandles : 1; // Misc/BigHandles
- BOOL bDoubleClickTextEdit : 1; // Misc/DclickTextedit
- BOOL bClickChangeRotation : 1; // Misc/RotateClick
- BOOL bStartWithActualPage : 1; // Misc/Start/CurrentPage
- BOOL bSolidDragging : 1; // Misc/ModifyWithAttributes
- BOOL bSolidMarkHdl : 1; // /Misc/SimpleHandles
- BOOL bSummationOfParagraphs : 1; // misc/SummationOfParagraphs
+ ULONG nDefaultObjectSizeWidth;
+ ULONG nDefaultObjectSizeHeight;
+
+ BOOL bStartWithTemplate : 1; // Misc/NewDoc/AutoPilot
+ BOOL bMarkedHitMovesAlways : 1; // Misc/ObjectMoveable
+ BOOL bMoveOnlyDragging : 1; // Currently, not in use !!!
+ BOOL bCrookNoContortion : 1; // Misc/NoDistort
+ BOOL bQuickEdit : 1; // Misc/TextObject/QuickEditing
+ BOOL bMasterPageCache : 1; // Misc/BackgroundCache
+ BOOL bDragWithCopy : 1; // Misc/CopyWhileMoving
+ BOOL bPickThrough : 1; // Misc/TextObject/Selectable
+ BOOL bBigHandles : 1; // Misc/BigHandles
+ BOOL bDoubleClickTextEdit : 1; // Misc/DclickTextedit
+ BOOL bClickChangeRotation : 1; // Misc/RotateClick
+ BOOL bStartWithActualPage : 1; // Misc/Start/CurrentPage
+ BOOL bSolidDragging : 1; // Misc/ModifyWithAttributes
+ BOOL bSolidMarkHdl : 1; // /Misc/SimpleHandles
+ BOOL bSummationOfParagraphs : 1; // misc/SummationOfParagraphs
// #90356#
- BOOL bShowUndoDeleteWarning : 1; // Misc/ShowUndoDeleteWarning
+ BOOL bShowUndoDeleteWarning : 1; // Misc/ShowUndoDeleteWarning
// #i75315#
- BOOL bSlideshowRespectZOrder : 1; // Misc/SlideshowRespectZOrder
+ BOOL bSlideshowRespectZOrder : 1; // Misc/SlideshowRespectZOrder
BOOL bShowComments : 1; // Misc/ShowComments
+
+ sal_Bool bPreviewNewEffects;
+ sal_Bool bPreviewChangedEffects;
+ sal_Bool bPreviewTransitions;
- sal_Bool bPreviewNewEffects;
- sal_Bool bPreviewChangedEffects;
- sal_Bool bPreviewTransitions;
-
- sal_Int32 mnDisplay;
+ sal_Int32 mnDisplay;
/** This value controls the device to use for formatting documents.
The currently supported values are 0 for the current printer or 1
for the printer independent virtual device the can be retrieved from
the modules.
*/
- USHORT mnPrinterIndependentLayout; // Misc/Compatibility/PrinterIndependentLayout
+ USHORT mnPrinterIndependentLayout; // Misc/Compatibility/PrinterIndependentLayout
// Misc
protected:
@@ -299,76 +299,76 @@ public:
SdOptionsMisc( USHORT nConfigId, BOOL bUseConfig );
virtual ~SdOptionsMisc() {}
- BOOL operator==( const SdOptionsMisc& rOpt ) const;
-
- BOOL IsStartWithTemplate() const { Init(); return (BOOL) bStartWithTemplate; }
- BOOL IsMarkedHitMovesAlways() const { Init(); return (BOOL) bMarkedHitMovesAlways; }
- BOOL IsMoveOnlyDragging() const { Init(); return (BOOL) bMoveOnlyDragging; }
- BOOL IsCrookNoContortion() const { Init(); return (BOOL) bCrookNoContortion; }
- BOOL IsQuickEdit() const { Init(); return (BOOL) bQuickEdit; }
- BOOL IsMasterPagePaintCaching() const { Init(); return (BOOL) bMasterPageCache; }
- BOOL IsDragWithCopy() const { Init(); return (BOOL) bDragWithCopy; }
- BOOL IsPickThrough() const { Init(); return (BOOL) bPickThrough; }
- BOOL IsBigHandles() const { Init(); return (BOOL) bBigHandles; }
- BOOL IsDoubleClickTextEdit() const { Init(); return (BOOL) bDoubleClickTextEdit; }
- BOOL IsClickChangeRotation() const { Init(); return (BOOL) bClickChangeRotation; }
- BOOL IsStartWithActualPage() const { Init(); return (BOOL) bStartWithActualPage; }
- BOOL IsSolidDragging() const { Init(); return (BOOL) bSolidDragging; }
- BOOL IsSolidMarkHdl() const { Init(); return (BOOL) bSolidMarkHdl; }
- BOOL IsSummationOfParagraphs() const { Init(); return bSummationOfParagraphs != 0; };
-
+ BOOL operator==( const SdOptionsMisc& rOpt ) const;
+
+ BOOL IsStartWithTemplate() const { Init(); return (BOOL) bStartWithTemplate; }
+ BOOL IsMarkedHitMovesAlways() const { Init(); return (BOOL) bMarkedHitMovesAlways; }
+ BOOL IsMoveOnlyDragging() const { Init(); return (BOOL) bMoveOnlyDragging; }
+ BOOL IsCrookNoContortion() const { Init(); return (BOOL) bCrookNoContortion; }
+ BOOL IsQuickEdit() const { Init(); return (BOOL) bQuickEdit; }
+ BOOL IsMasterPagePaintCaching() const { Init(); return (BOOL) bMasterPageCache; }
+ BOOL IsDragWithCopy() const { Init(); return (BOOL) bDragWithCopy; }
+ BOOL IsPickThrough() const { Init(); return (BOOL) bPickThrough; }
+ BOOL IsBigHandles() const { Init(); return (BOOL) bBigHandles; }
+ BOOL IsDoubleClickTextEdit() const { Init(); return (BOOL) bDoubleClickTextEdit; }
+ BOOL IsClickChangeRotation() const { Init(); return (BOOL) bClickChangeRotation; }
+ BOOL IsStartWithActualPage() const { Init(); return (BOOL) bStartWithActualPage; }
+ BOOL IsSolidDragging() const { Init(); return (BOOL) bSolidDragging; }
+ BOOL IsSolidMarkHdl() const { Init(); return (BOOL) bSolidMarkHdl; }
+ BOOL IsSummationOfParagraphs() const { Init(); return bSummationOfParagraphs != 0; };
+
/** Return the currently selected printer independent layout mode.
- @return
+ @return
Returns 1 for printer independent layout enabled and 0 when it
is disabled. Other values are reserved for future use.
*/
- USHORT GetPrinterIndependentLayout() const { Init(); return mnPrinterIndependentLayout; };
+ USHORT GetPrinterIndependentLayout() const { Init(); return mnPrinterIndependentLayout; };
// #90356#
- BOOL IsShowUndoDeleteWarning() const { Init(); return (BOOL) bShowUndoDeleteWarning; }
- BOOL IsSlideshowRespectZOrder() const { Init(); return (BOOL) bSlideshowRespectZOrder; }
+ BOOL IsShowUndoDeleteWarning() const { Init(); return (BOOL) bShowUndoDeleteWarning; }
+ BOOL IsSlideshowRespectZOrder() const { Init(); return (BOOL) bSlideshowRespectZOrder; }
// #97016#
- ULONG GetDefaultObjectSizeWidth() const { Init(); return nDefaultObjectSizeWidth; }
- ULONG GetDefaultObjectSizeHeight() const { Init(); return nDefaultObjectSizeHeight; }
-
- sal_Bool IsPreviewNewEffects() const { Init(); return bPreviewNewEffects; }
- sal_Bool IsPreviewChangedEffects() const { Init(); return bPreviewChangedEffects; }
- sal_Bool IsPreviewTransitions() const { Init(); return bPreviewTransitions; }
-
- sal_Int32 GetDisplay() const { Init(); return mnDisplay; }
- void SetDisplay( sal_Int32 nDisplay = 0 ) { if( mnDisplay != nDisplay ) { OptionsChanged(); mnDisplay = nDisplay; } }
-
- void SetStartWithTemplate( BOOL bOn = TRUE ) { if( bStartWithTemplate != bOn ) { OptionsChanged(); bStartWithTemplate = bOn; } }
- void SetMarkedHitMovesAlways( BOOL bOn = TRUE ) { if( bMarkedHitMovesAlways != bOn ) { OptionsChanged(); bMarkedHitMovesAlways = bOn; } }
- void SetMoveOnlyDragging( BOOL bOn = TRUE ) { if( bMoveOnlyDragging != bOn ) { OptionsChanged(); bMoveOnlyDragging = bOn; } }
- void SetCrookNoContortion( BOOL bOn = TRUE ) { if( bCrookNoContortion != bOn ) { OptionsChanged(); bCrookNoContortion = bOn; } }
- void SetQuickEdit( BOOL bOn = TRUE ) { if( bQuickEdit != bOn ) { OptionsChanged(); bQuickEdit = bOn; } }
- void SetMasterPagePaintCaching( BOOL bOn = TRUE ) { if( bMasterPageCache != bOn ) { OptionsChanged(); bMasterPageCache = bOn; } }
- void SetDragWithCopy( BOOL bOn = TRUE ) { if( bDragWithCopy != bOn ) { OptionsChanged(); bDragWithCopy = bOn; } }
- void SetPickThrough( BOOL bOn = TRUE ) { if( bPickThrough != bOn ) { OptionsChanged(); bPickThrough = bOn; } }
- void SetBigHandles( BOOL bOn = TRUE ) { if( bBigHandles != bOn ) { OptionsChanged(); bBigHandles = bOn; } }
- void SetDoubleClickTextEdit( BOOL bOn = TRUE ) { if( bDoubleClickTextEdit != bOn ) { OptionsChanged(); bDoubleClickTextEdit = bOn; } }
- void SetClickChangeRotation( BOOL bOn = TRUE ) { if( bClickChangeRotation != bOn ) { OptionsChanged(); bClickChangeRotation = bOn; } }
- void SetStartWithActualPage( BOOL bOn = TRUE ) { if( bStartWithActualPage != bOn ) { OptionsChanged(); bStartWithActualPage = bOn; } }
- void SetSummationOfParagraphs( BOOL bOn = TRUE ){ if ( bOn != bSummationOfParagraphs ) { OptionsChanged(); bSummationOfParagraphs = bOn; } }
+ ULONG GetDefaultObjectSizeWidth() const { Init(); return nDefaultObjectSizeWidth; }
+ ULONG GetDefaultObjectSizeHeight() const { Init(); return nDefaultObjectSizeHeight; }
+
+ sal_Bool IsPreviewNewEffects() const { Init(); return bPreviewNewEffects; }
+ sal_Bool IsPreviewChangedEffects() const { Init(); return bPreviewChangedEffects; }
+ sal_Bool IsPreviewTransitions() const { Init(); return bPreviewTransitions; }
+
+ sal_Int32 GetDisplay() const { Init(); return mnDisplay; }
+ void SetDisplay( sal_Int32 nDisplay = 0 ) { if( mnDisplay != nDisplay ) { OptionsChanged(); mnDisplay = nDisplay; } }
+
+ void SetStartWithTemplate( BOOL bOn = TRUE ) { if( bStartWithTemplate != bOn ) { OptionsChanged(); bStartWithTemplate = bOn; } }
+ void SetMarkedHitMovesAlways( BOOL bOn = TRUE ) { if( bMarkedHitMovesAlways != bOn ) { OptionsChanged(); bMarkedHitMovesAlways = bOn; } }
+ void SetMoveOnlyDragging( BOOL bOn = TRUE ) { if( bMoveOnlyDragging != bOn ) { OptionsChanged(); bMoveOnlyDragging = bOn; } }
+ void SetCrookNoContortion( BOOL bOn = TRUE ) { if( bCrookNoContortion != bOn ) { OptionsChanged(); bCrookNoContortion = bOn; } }
+ void SetQuickEdit( BOOL bOn = TRUE ) { if( bQuickEdit != bOn ) { OptionsChanged(); bQuickEdit = bOn; } }
+ void SetMasterPagePaintCaching( BOOL bOn = TRUE ) { if( bMasterPageCache != bOn ) { OptionsChanged(); bMasterPageCache = bOn; } }
+ void SetDragWithCopy( BOOL bOn = TRUE ) { if( bDragWithCopy != bOn ) { OptionsChanged(); bDragWithCopy = bOn; } }
+ void SetPickThrough( BOOL bOn = TRUE ) { if( bPickThrough != bOn ) { OptionsChanged(); bPickThrough = bOn; } }
+ void SetBigHandles( BOOL bOn = TRUE ) { if( bBigHandles != bOn ) { OptionsChanged(); bBigHandles = bOn; } }
+ void SetDoubleClickTextEdit( BOOL bOn = TRUE ) { if( bDoubleClickTextEdit != bOn ) { OptionsChanged(); bDoubleClickTextEdit = bOn; } }
+ void SetClickChangeRotation( BOOL bOn = TRUE ) { if( bClickChangeRotation != bOn ) { OptionsChanged(); bClickChangeRotation = bOn; } }
+ void SetStartWithActualPage( BOOL bOn = TRUE ) { if( bStartWithActualPage != bOn ) { OptionsChanged(); bStartWithActualPage = bOn; } }
+ void SetSummationOfParagraphs( BOOL bOn = TRUE ){ if ( bOn != bSummationOfParagraphs ) { OptionsChanged(); bSummationOfParagraphs = bOn; } }
/** Set the printer independent layout mode.
- @param nOn
+ @param nOn
The default value is to switch printer independent layout on,
hence the parameters name. Use 0 for turning it off. Other
values are reserved for future use.
*/
- void SetPrinterIndependentLayout (USHORT nOn = 1 ){ if ( nOn != mnPrinterIndependentLayout ) { OptionsChanged(); mnPrinterIndependentLayout = nOn; } }
- void SetSolidDragging( BOOL bOn = TRUE ) { if( bSolidDragging != bOn ) { OptionsChanged(); bSolidDragging = bOn; } }
- void SetSolidMarkHdl( BOOL bOn = TRUE ) { if( bSolidMarkHdl != bOn ) { OptionsChanged(); bSolidMarkHdl = bOn; } }
+ void SetPrinterIndependentLayout (USHORT nOn = 1 ){ if ( nOn != mnPrinterIndependentLayout ) { OptionsChanged(); mnPrinterIndependentLayout = nOn; } }
+ void SetSolidDragging( BOOL bOn = TRUE ) { if( bSolidDragging != bOn ) { OptionsChanged(); bSolidDragging = bOn; } }
+ void SetSolidMarkHdl( BOOL bOn = TRUE ) { if( bSolidMarkHdl != bOn ) { OptionsChanged(); bSolidMarkHdl = bOn; } }
// #90356#
- void SetShowUndoDeleteWarning( BOOL bOn = TRUE ) { if( bShowUndoDeleteWarning != bOn ) { OptionsChanged(); bShowUndoDeleteWarning = bOn; } }
- void SetSlideshowRespectZOrder( BOOL bOn = TRUE ) { if( bSlideshowRespectZOrder != bOn ) { OptionsChanged(); bSlideshowRespectZOrder = bOn; } }
+ void SetShowUndoDeleteWarning( BOOL bOn = TRUE ) { if( bShowUndoDeleteWarning != bOn ) { OptionsChanged(); bShowUndoDeleteWarning = bOn; } }
+ void SetSlideshowRespectZOrder( BOOL bOn = TRUE ) { if( bSlideshowRespectZOrder != bOn ) { OptionsChanged(); bSlideshowRespectZOrder = bOn; } }
// #97016#
- void SetDefaultObjectSizeWidth( ULONG nWidth ) { if( nDefaultObjectSizeWidth != nWidth ) { OptionsChanged(); nDefaultObjectSizeWidth = nWidth; } }
- void SetDefaultObjectSizeHeight( ULONG nHeight ) { if( nDefaultObjectSizeHeight != nHeight ) { OptionsChanged(); nDefaultObjectSizeHeight = nHeight; } }
+ void SetDefaultObjectSizeWidth( ULONG nWidth ) { if( nDefaultObjectSizeWidth != nWidth ) { OptionsChanged(); nDefaultObjectSizeWidth = nWidth; } }
+ void SetDefaultObjectSizeHeight( ULONG nHeight ) { if( nDefaultObjectSizeHeight != nHeight ) { OptionsChanged(); nDefaultObjectSizeHeight = nHeight; } }
- void SetPreviewNewEffects( sal_Bool bOn ) { if( bPreviewNewEffects != bOn ) { OptionsChanged(); bPreviewNewEffects = bOn; } }
- void SetPreviewChangedEffects( sal_Bool bOn ) { if( bPreviewChangedEffects != bOn ) { OptionsChanged(); bPreviewChangedEffects = bOn; } }
- void SetPreviewTransitions( sal_Bool bOn ) { if( bPreviewTransitions != bOn ) { OptionsChanged(); bPreviewTransitions = bOn; } }
+ void SetPreviewNewEffects( sal_Bool bOn ) { if( bPreviewNewEffects != bOn ) { OptionsChanged(); bPreviewNewEffects = bOn; } }
+ void SetPreviewChangedEffects( sal_Bool bOn ) { if( bPreviewChangedEffects != bOn ) { OptionsChanged(); bPreviewChangedEffects = bOn; } }
+ void SetPreviewTransitions( sal_Bool bOn ) { if( bPreviewTransitions != bOn ) { OptionsChanged(); bPreviewTransitions = bOn; } }
BOOL IsShowComments() const { Init(); return bShowComments; }
void SetShowComments( BOOL bShow ) { if( bShowComments != bShow ) { OptionsChanged(); bShowComments = bShow; } }
@@ -383,15 +383,15 @@ public:
SdOptionsMiscItem( USHORT nWhich);
SdOptionsMiscItem( USHORT nWhich, SdOptions* pOpts, ::sd::FrameView* pView = NULL );
- virtual SfxPoolItem* Clone( SfxItemPool *pPool = 0 ) const;
- virtual int operator==( const SfxPoolItem& ) const;
-
- void SetOptions( SdOptions* pOpts ) const;
+ virtual SfxPoolItem* Clone( SfxItemPool *pPool = 0 ) const;
+ virtual int operator==( const SfxPoolItem& ) const;
+
+ void SetOptions( SdOptions* pOpts ) const;
- SdOptionsMisc& GetOptionsMisc() { return maOptionsMisc; }
- const SdOptionsMisc& GetOptionsMisc() const { return maOptionsMisc; }
+ SdOptionsMisc& GetOptionsMisc() { return maOptionsMisc; }
+ const SdOptionsMisc& GetOptionsMisc() const { return maOptionsMisc; }
private:
- SdOptionsMisc maOptionsMisc;
+ SdOptionsMisc maOptionsMisc;
};
// -----------------
@@ -402,16 +402,16 @@ class SD_DLLPUBLIC SdOptionsSnap : public SdOptionsGeneric
{
private:
- BOOL bSnapHelplines : 1; // Snap/Object/SnapLine
- BOOL bSnapBorder : 1; // Snap/Object/PageMargin
- BOOL bSnapFrame : 1; // Snap/Object/ObjectFrame
- BOOL bSnapPoints : 1; // Snap/Object/ObjectPoint
- BOOL bOrtho : 1; // Snap/Position/CreatingMoving
- BOOL bBigOrtho : 1; // Snap/Position/ExtendEdges
- BOOL bRotate : 1; // Snap/Position/Rotating
- INT16 nSnapArea; // Snap/Object/Range
- INT16 nAngle; // Snap/Position/RotatingValue
- INT16 nBezAngle; // Snap/Position/PointReduction
+ BOOL bSnapHelplines : 1; // Snap/Object/SnapLine
+ BOOL bSnapBorder : 1; // Snap/Object/PageMargin
+ BOOL bSnapFrame : 1; // Snap/Object/ObjectFrame
+ BOOL bSnapPoints : 1; // Snap/Object/ObjectPoint
+ BOOL bOrtho : 1; // Snap/Position/CreatingMoving
+ BOOL bBigOrtho : 1; // Snap/Position/ExtendEdges
+ BOOL bRotate : 1; // Snap/Position/Rotating
+ INT16 nSnapArea; // Snap/Object/Range
+ INT16 nAngle; // Snap/Position/RotatingValue
+ INT16 nBezAngle; // Snap/Position/PointReduction
protected:
@@ -420,33 +420,33 @@ protected:
virtual BOOL WriteData( ::com::sun::star::uno::Any* pValues ) const;
public:
-
+
SdOptionsSnap( USHORT nConfigId, BOOL bUseConfig );
virtual ~SdOptionsSnap() {}
- BOOL operator==( const SdOptionsSnap& rOpt ) const;
-
- BOOL IsSnapHelplines() const { Init(); return (BOOL) bSnapHelplines; }
- BOOL IsSnapBorder() const { Init(); return (BOOL) bSnapBorder; }
- BOOL IsSnapFrame() const { Init(); return (BOOL) bSnapFrame; }
- BOOL IsSnapPoints() const { Init(); return (BOOL) bSnapPoints; }
- BOOL IsOrtho() const { Init(); return (BOOL) bOrtho; }
- BOOL IsBigOrtho() const { Init(); return (BOOL) bBigOrtho; }
- BOOL IsRotate() const { Init(); return (BOOL) bRotate; }
- INT16 GetSnapArea() const { Init(); return nSnapArea; }
- INT16 GetAngle() const { Init(); return nAngle; }
- INT16 GetEliminatePolyPointLimitAngle() const { Init(); return nBezAngle; }
-
- void SetSnapHelplines( BOOL bOn = TRUE ) { if( bSnapHelplines != bOn ) { OptionsChanged(); bSnapHelplines = bOn; } }
- void SetSnapBorder( BOOL bOn = TRUE ) { if( bSnapBorder != bOn ) { OptionsChanged(); bSnapBorder = bOn; } }
- void SetSnapFrame( BOOL bOn = TRUE ) { if( bSnapFrame != bOn ) { OptionsChanged(); bSnapFrame = bOn; } }
- void SetSnapPoints( BOOL bOn = TRUE ) { if( bSnapPoints != bOn ) { OptionsChanged(); bSnapPoints = bOn; } }
- void SetOrtho( BOOL bOn = TRUE ) { if( bOrtho != bOn ) { OptionsChanged(); bOrtho = bOn; } }
- void SetBigOrtho( BOOL bOn = TRUE ) { if( bBigOrtho != bOn ) { OptionsChanged(); bBigOrtho = bOn; } }
- void SetRotate( BOOL bOn = TRUE ) { if( bRotate != bOn ) { OptionsChanged(); bRotate = bOn; } }
- void SetSnapArea( INT16 nIn ) { if( nSnapArea != nIn ) { OptionsChanged(); nSnapArea = nIn; } }
- void SetAngle( INT16 nIn ) { if( nAngle != nIn ) { OptionsChanged(); nAngle = nIn; } }
- void SetEliminatePolyPointLimitAngle( INT16 nIn ) { if( nBezAngle != nIn ) { OptionsChanged(); nBezAngle = nIn; } }
+ BOOL operator==( const SdOptionsSnap& rOpt ) const;
+
+ BOOL IsSnapHelplines() const { Init(); return (BOOL) bSnapHelplines; }
+ BOOL IsSnapBorder() const { Init(); return (BOOL) bSnapBorder; }
+ BOOL IsSnapFrame() const { Init(); return (BOOL) bSnapFrame; }
+ BOOL IsSnapPoints() const { Init(); return (BOOL) bSnapPoints; }
+ BOOL IsOrtho() const { Init(); return (BOOL) bOrtho; }
+ BOOL IsBigOrtho() const { Init(); return (BOOL) bBigOrtho; }
+ BOOL IsRotate() const { Init(); return (BOOL) bRotate; }
+ INT16 GetSnapArea() const { Init(); return nSnapArea; }
+ INT16 GetAngle() const { Init(); return nAngle; }
+ INT16 GetEliminatePolyPointLimitAngle() const { Init(); return nBezAngle; }
+
+ void SetSnapHelplines( BOOL bOn = TRUE ) { if( bSnapHelplines != bOn ) { OptionsChanged(); bSnapHelplines = bOn; } }
+ void SetSnapBorder( BOOL bOn = TRUE ) { if( bSnapBorder != bOn ) { OptionsChanged(); bSnapBorder = bOn; } }
+ void SetSnapFrame( BOOL bOn = TRUE ) { if( bSnapFrame != bOn ) { OptionsChanged(); bSnapFrame = bOn; } }
+ void SetSnapPoints( BOOL bOn = TRUE ) { if( bSnapPoints != bOn ) { OptionsChanged(); bSnapPoints = bOn; } }
+ void SetOrtho( BOOL bOn = TRUE ) { if( bOrtho != bOn ) { OptionsChanged(); bOrtho = bOn; } }
+ void SetBigOrtho( BOOL bOn = TRUE ) { if( bBigOrtho != bOn ) { OptionsChanged(); bBigOrtho = bOn; } }
+ void SetRotate( BOOL bOn = TRUE ) { if( bRotate != bOn ) { OptionsChanged(); bRotate = bOn; } }
+ void SetSnapArea( INT16 nIn ) { if( nSnapArea != nIn ) { OptionsChanged(); nSnapArea = nIn; } }
+ void SetAngle( INT16 nIn ) { if( nAngle != nIn ) { OptionsChanged(); nAngle = nIn; } }
+ void SetEliminatePolyPointLimitAngle( INT16 nIn ) { if( nBezAngle != nIn ) { OptionsChanged(); nBezAngle = nIn; } }
};
// -----------------------------------------------------------------------------
@@ -458,14 +458,14 @@ public:
SdOptionsSnapItem( USHORT nWhich);
SdOptionsSnapItem( USHORT nWhich, SdOptions* pOpts, ::sd::FrameView* pView = NULL );
- virtual SfxPoolItem* Clone( SfxItemPool *pPool = 0 ) const;
- virtual int operator==( const SfxPoolItem& ) const;
+ virtual SfxPoolItem* Clone( SfxItemPool *pPool = 0 ) const;
+ virtual int operator==( const SfxPoolItem& ) const;
+
+ void SetOptions( SdOptions* pOpts ) const;
- void SetOptions( SdOptions* pOpts ) const;
-
- SdOptionsSnap& GetOptionsSnap() { return maOptionsSnap; }
+ SdOptionsSnap& GetOptionsSnap() { return maOptionsSnap; }
private:
- SdOptionsSnap maOptionsSnap;
+ SdOptionsSnap maOptionsSnap;
};
// -----------------
@@ -476,8 +476,8 @@ class SdOptionsZoom : public SdOptionsGeneric
{
private:
- INT32 nX; // Zoom/ScaleX
- INT32 nY; // Zoom/ScaleY
+ INT32 nX; // Zoom/ScaleX
+ INT32 nY; // Zoom/ScaleY
protected:
@@ -486,14 +486,14 @@ protected:
virtual BOOL WriteData( ::com::sun::star::uno::Any* pValues ) const;
public:
-
+
SdOptionsZoom( USHORT nConfigId, BOOL bUseConfig );
virtual ~SdOptionsZoom() {}
- BOOL operator==( const SdOptionsZoom& rOpt ) const;
+ BOOL operator==( const SdOptionsZoom& rOpt ) const;
- void GetScale( INT32& rX, INT32& rY ) const { Init(); rX = nX; rY = nY; }
- void SetScale( INT32 nInX, INT32 nInY ) { if( nX != nInX || nY != nInY ) { OptionsChanged(); nX = nInX; nY = nInY; } }
+ void GetScale( INT32& rX, INT32& rY ) const { Init(); rX = nX; rY = nY; }
+ void SetScale( INT32 nInX, INT32 nInY ) { if( nX != nInX || nY != nInY ) { OptionsChanged(); nX = nInX; nY = nInY; } }
};
// -----------------------------------------------------------------------------
@@ -515,30 +515,30 @@ public:
SdOptionsGrid( USHORT nConfigId, BOOL bUseConfig );
virtual ~SdOptionsGrid();
- void SetDefaults();
- BOOL operator==( const SdOptionsGrid& rOpt ) const;
-
- UINT32 GetFldDrawX() const { Init(); return SvxOptionsGrid::GetFldDrawX(); }
- UINT32 GetFldDivisionX() const { Init(); return SvxOptionsGrid::GetFldDivisionX(); }
- UINT32 GetFldDrawY() const { Init(); return SvxOptionsGrid::GetFldDrawY(); }
- UINT32 GetFldDivisionY() const { Init(); return SvxOptionsGrid::GetFldDivisionY(); }
- UINT32 GetFldSnapX() const { Init(); return SvxOptionsGrid::GetFldSnapX(); }
- UINT32 GetFldSnapY() const { Init(); return SvxOptionsGrid::GetFldSnapY(); }
- BOOL IsUseGridSnap() const { Init(); return SvxOptionsGrid::GetUseGridSnap(); }
- BOOL IsSynchronize() const { Init(); return SvxOptionsGrid::GetSynchronize(); }
- BOOL IsGridVisible() const { Init(); return SvxOptionsGrid::GetGridVisible(); }
- BOOL IsEqualGrid() const { Init(); return SvxOptionsGrid::GetEqualGrid(); }
-
- void SetFldDrawX( UINT32 nSet ) { if( nSet != SvxOptionsGrid::GetFldDrawX() ) { OptionsChanged(); SvxOptionsGrid::SetFldDrawX( nSet ); } }
- void SetFldDivisionX( UINT32 nSet ) { if( nSet != SvxOptionsGrid::GetFldDivisionX() ) { OptionsChanged(); SvxOptionsGrid::SetFldDivisionX( nSet ); } }
- void SetFldDrawY( UINT32 nSet ) { if( nSet != SvxOptionsGrid::GetFldDrawY() ) { OptionsChanged(); SvxOptionsGrid::SetFldDrawY( nSet ); } }
- void SetFldDivisionY( UINT32 nSet ) { if( nSet != SvxOptionsGrid::GetFldDivisionY() ) { OptionsChanged(); SvxOptionsGrid::SetFldDivisionY( nSet ); } }
- void SetFldSnapX( UINT32 nSet ) { if( nSet != SvxOptionsGrid::GetFldSnapX() ) { OptionsChanged(); SvxOptionsGrid::SetFldSnapX( nSet ); } }
- void SetFldSnapY( UINT32 nSet ) { if( nSet != SvxOptionsGrid::GetFldSnapY() ) { OptionsChanged(); SvxOptionsGrid::SetFldSnapY( nSet ); } }
- void SetUseGridSnap( BOOL bSet ) { if( bSet != SvxOptionsGrid::GetUseGridSnap() ) { OptionsChanged(); SvxOptionsGrid::SetUseGridSnap( bSet ); } }
- void SetSynchronize( BOOL bSet ) { if( bSet != SvxOptionsGrid::GetSynchronize() ) { OptionsChanged(); SvxOptionsGrid::SetSynchronize( bSet ); } }
- void SetGridVisible( BOOL bSet ) { if( bSet != SvxOptionsGrid::GetGridVisible() ) { OptionsChanged(); SvxOptionsGrid::SetGridVisible( bSet ); } }
- void SetEqualGrid( BOOL bSet ) { if( bSet != SvxOptionsGrid::GetEqualGrid() ) { OptionsChanged(); SvxOptionsGrid::SetEqualGrid( bSet ); } }
+ void SetDefaults();
+ BOOL operator==( const SdOptionsGrid& rOpt ) const;
+
+ UINT32 GetFldDrawX() const { Init(); return SvxOptionsGrid::GetFldDrawX(); }
+ UINT32 GetFldDivisionX() const { Init(); return SvxOptionsGrid::GetFldDivisionX(); }
+ UINT32 GetFldDrawY() const { Init(); return SvxOptionsGrid::GetFldDrawY(); }
+ UINT32 GetFldDivisionY() const { Init(); return SvxOptionsGrid::GetFldDivisionY(); }
+ UINT32 GetFldSnapX() const { Init(); return SvxOptionsGrid::GetFldSnapX(); }
+ UINT32 GetFldSnapY() const { Init(); return SvxOptionsGrid::GetFldSnapY(); }
+ BOOL IsUseGridSnap() const { Init(); return SvxOptionsGrid::GetUseGridSnap(); }
+ BOOL IsSynchronize() const { Init(); return SvxOptionsGrid::GetSynchronize(); }
+ BOOL IsGridVisible() const { Init(); return SvxOptionsGrid::GetGridVisible(); }
+ BOOL IsEqualGrid() const { Init(); return SvxOptionsGrid::GetEqualGrid(); }
+
+ void SetFldDrawX( UINT32 nSet ) { if( nSet != SvxOptionsGrid::GetFldDrawX() ) { OptionsChanged(); SvxOptionsGrid::SetFldDrawX( nSet ); } }
+ void SetFldDivisionX( UINT32 nSet ) { if( nSet != SvxOptionsGrid::GetFldDivisionX() ) { OptionsChanged(); SvxOptionsGrid::SetFldDivisionX( nSet ); } }
+ void SetFldDrawY( UINT32 nSet ) { if( nSet != SvxOptionsGrid::GetFldDrawY() ) { OptionsChanged(); SvxOptionsGrid::SetFldDrawY( nSet ); } }
+ void SetFldDivisionY( UINT32 nSet ) { if( nSet != SvxOptionsGrid::GetFldDivisionY() ) { OptionsChanged(); SvxOptionsGrid::SetFldDivisionY( nSet ); } }
+ void SetFldSnapX( UINT32 nSet ) { if( nSet != SvxOptionsGrid::GetFldSnapX() ) { OptionsChanged(); SvxOptionsGrid::SetFldSnapX( nSet ); } }
+ void SetFldSnapY( UINT32 nSet ) { if( nSet != SvxOptionsGrid::GetFldSnapY() ) { OptionsChanged(); SvxOptionsGrid::SetFldSnapY( nSet ); } }
+ void SetUseGridSnap( BOOL bSet ) { if( bSet != SvxOptionsGrid::GetUseGridSnap() ) { OptionsChanged(); SvxOptionsGrid::SetUseGridSnap( bSet ); } }
+ void SetSynchronize( BOOL bSet ) { if( bSet != SvxOptionsGrid::GetSynchronize() ) { OptionsChanged(); SvxOptionsGrid::SetSynchronize( bSet ); } }
+ void SetGridVisible( BOOL bSet ) { if( bSet != SvxOptionsGrid::GetGridVisible() ) { OptionsChanged(); SvxOptionsGrid::SetGridVisible( bSet ); } }
+ void SetEqualGrid( BOOL bSet ) { if( bSet != SvxOptionsGrid::GetEqualGrid() ) { OptionsChanged(); SvxOptionsGrid::SetEqualGrid( bSet ); } }
};
// -----------------------------------------------
@@ -549,7 +549,7 @@ class SdOptionsGridItem : public SvxGridItem
public:
SdOptionsGridItem( USHORT nWhich, SdOptions* pOpts, ::sd::FrameView* pView = NULL );
- void SetOptions( SdOptions* pOpts ) const;
+ void SetOptions( SdOptions* pOpts ) const;
};
// ------------------
@@ -560,27 +560,27 @@ class SD_DLLPUBLIC SdOptionsPrint : public SdOptionsGeneric
{
private:
- BOOL bDraw : 1; // Print/Content/Drawing
- BOOL bNotes : 1; // Print/Content/Note
- BOOL bHandout : 1; // Print/Content/Handout
- BOOL bOutline : 1; // Print/Content/Outline
- BOOL bDate : 1; // Print/Other/Date
- BOOL bTime : 1; // Print/Other/Time
- BOOL bPagename : 1; // Print/Other/PageName
- BOOL bHiddenPages : 1; // Print/Other/HiddenPage
- BOOL bPagesize : 1; // Print/Page/PageSize
- BOOL bPagetile : 1; // Print/Page/PageTile
- BOOL bWarningPrinter : 1; // These flags you get
- BOOL bWarningSize : 1; // from the common options,
- BOOL bWarningOrientation : 1; // currently org.openoffice.Office.Common.xml (class OfaMiscCfg ; sfx2/misccfg.hxx )
- BOOL bBooklet : 1; // Print/Page/Booklet
- BOOL bFront : 1; // Print/Page/BookletFront
- BOOL bBack : 1; // Print/Page/BookletFront
- BOOL bCutPage : 1; // NOT persistent !!!
- BOOL bPaperbin : 1; // Print/Other/FromPrinterSetup
- BOOL mbHandoutHorizontal : 1; // Order Page previews on Handout Pages horizontal
- UINT16 mnHandoutPages; // Number of page previews on handout page (only 1/2/4/6/9 are supported)
- UINT16 nQuality; // Print/Other/Quality
+ BOOL bDraw : 1; // Print/Content/Drawing
+ BOOL bNotes : 1; // Print/Content/Note
+ BOOL bHandout : 1; // Print/Content/Handout
+ BOOL bOutline : 1; // Print/Content/Outline
+ BOOL bDate : 1; // Print/Other/Date
+ BOOL bTime : 1; // Print/Other/Time
+ BOOL bPagename : 1; // Print/Other/PageName
+ BOOL bHiddenPages : 1; // Print/Other/HiddenPage
+ BOOL bPagesize : 1; // Print/Page/PageSize
+ BOOL bPagetile : 1; // Print/Page/PageTile
+ BOOL bWarningPrinter : 1; // These flags you get
+ BOOL bWarningSize : 1; // from the common options,
+ BOOL bWarningOrientation : 1; // currently org.openoffice.Office.Common.xml (class OfaMiscCfg ; sfx2/misccfg.hxx )
+ BOOL bBooklet : 1; // Print/Page/Booklet
+ BOOL bFront : 1; // Print/Page/BookletFront
+ BOOL bBack : 1; // Print/Page/BookletFront
+ BOOL bCutPage : 1; // NOT persistent !!!
+ BOOL bPaperbin : 1; // Print/Other/FromPrinterSetup
+ BOOL mbHandoutHorizontal : 1; // Order Page previews on Handout Pages horizontal
+ UINT16 mnHandoutPages; // Number of page previews on handout page (only 1/2/4/6/9 are supported)
+ UINT16 nQuality; // Print/Other/Quality
protected:
@@ -589,55 +589,55 @@ protected:
virtual BOOL WriteData( ::com::sun::star::uno::Any* pValues ) const;
public:
-
+
SdOptionsPrint( USHORT nConfigId, BOOL bUseConfig );
virtual ~SdOptionsPrint() {}
- BOOL operator==( const SdOptionsPrint& rOpt ) const;
-
- BOOL IsDraw() const { Init(); return (BOOL) bDraw; }
- BOOL IsNotes() const { Init(); return (BOOL) bNotes; }
- BOOL IsHandout() const { Init(); return (BOOL) bHandout; }
- BOOL IsOutline() const { Init(); return (BOOL) bOutline; }
- BOOL IsDate() const { Init(); return (BOOL) bDate; }
- BOOL IsTime() const { Init(); return (BOOL) bTime; }
- BOOL IsPagename() const { Init(); return (BOOL) bPagename; }
- BOOL IsHiddenPages() const { Init(); return (BOOL) bHiddenPages; }
- BOOL IsPagesize() const { Init(); return (BOOL) bPagesize; }
- BOOL IsPagetile() const { Init(); return (BOOL) bPagetile; }
- BOOL IsWarningPrinter() const { Init(); return (BOOL) bWarningPrinter; }
- BOOL IsWarningSize() const { Init(); return (BOOL) bWarningSize; }
- BOOL IsWarningOrientation() const { Init(); return (BOOL) bWarningOrientation; }
- BOOL IsBooklet() const { Init(); return (BOOL) bBooklet; }
- BOOL IsFrontPage() const { Init(); return (BOOL) bFront; }
- BOOL IsBackPage() const { Init(); return (BOOL) bBack; }
- BOOL IsCutPage() const { Init(); return (BOOL) bCutPage; }
- BOOL IsPaperbin() const { Init(); return (BOOL) bPaperbin; }
- UINT16 GetOutputQuality() const { Init(); return nQuality; }
- BOOL IsHandoutHorizontal() const { Init(); return mbHandoutHorizontal; }
- UINT16 GetHandoutPages() const { Init(); return mnHandoutPages; }
-
- void SetDraw( BOOL bOn = TRUE ) { if( bDraw != bOn ) { OptionsChanged(); bDraw = bOn; } }
- void SetNotes( BOOL bOn = TRUE ) { if( bNotes != bOn ) { OptionsChanged(); bNotes = bOn; } }
- void SetHandout( BOOL bOn = TRUE ) { if( bHandout != bOn ) { OptionsChanged(); bHandout = bOn; } }
- void SetOutline( BOOL bOn = TRUE ) { if( bOutline != bOn ) { OptionsChanged(); bOutline = bOn; } }
- void SetDate( BOOL bOn = TRUE ) { if( bDate != bOn ) { OptionsChanged(); bDate = bOn; } }
- void SetTime( BOOL bOn = TRUE ) { if( bTime != bOn ) { OptionsChanged(); bTime = bOn; } }
- void SetPagename( BOOL bOn = TRUE ) { if( bPagename != bOn ) { OptionsChanged(); bPagename = bOn; } }
- void SetHiddenPages( BOOL bOn = TRUE ) { if( bHiddenPages != bOn ) { OptionsChanged(); bHiddenPages = bOn; } }
- void SetPagesize( BOOL bOn = TRUE ) { if( bPagesize != bOn ) { OptionsChanged(); bPagesize = bOn; } }
- void SetPagetile( BOOL bOn = TRUE ) { if( bPagetile != bOn ) { OptionsChanged(); bPagetile = bOn; } }
- void SetWarningPrinter( BOOL bOn = TRUE ) { if( bWarningPrinter != bOn ) { OptionsChanged(); bWarningPrinter = bOn; } }
- void SetWarningSize( BOOL bOn = TRUE ) { if( bWarningSize != bOn ) { OptionsChanged(); bWarningSize = bOn; } }
- void SetWarningOrientation( BOOL bOn = TRUE ) { if( bWarningOrientation != bOn ) { OptionsChanged(); bWarningOrientation = bOn; } }
- void SetBooklet( BOOL bOn = TRUE ) { if( bBooklet != bOn ) { OptionsChanged(); bBooklet = bOn; } }
- void SetFrontPage( BOOL bOn = TRUE ) { if( bFront != bOn ) { OptionsChanged(); bFront = bOn; } }
- void SetBackPage( BOOL bOn = TRUE ) { if( bBack != bOn ) { OptionsChanged(); bBack = bOn; } }
- void SetCutPage( BOOL bOn = TRUE ) { if( bCutPage != bOn ) { OptionsChanged(); bCutPage = bOn; } }
- void SetPaperbin( BOOL bOn = TRUE ) { if( bPaperbin != bOn ) { OptionsChanged(); bPaperbin = bOn; } }
- void SetOutputQuality( UINT16 nInQuality ) { if( nQuality != nInQuality ) { OptionsChanged(); nQuality = nInQuality; } }
- void SetHandoutHorizontal( BOOL bHandoutHorizontal ) { if( mbHandoutHorizontal != bHandoutHorizontal ) { OptionsChanged(); mbHandoutHorizontal = bHandoutHorizontal; } }
- void SetHandoutPages( UINT16 nHandoutPages ) { if( nHandoutPages != mnHandoutPages ) { OptionsChanged(); mnHandoutPages = nHandoutPages; } }
+ BOOL operator==( const SdOptionsPrint& rOpt ) const;
+
+ BOOL IsDraw() const { Init(); return (BOOL) bDraw; }
+ BOOL IsNotes() const { Init(); return (BOOL) bNotes; }
+ BOOL IsHandout() const { Init(); return (BOOL) bHandout; }
+ BOOL IsOutline() const { Init(); return (BOOL) bOutline; }
+ BOOL IsDate() const { Init(); return (BOOL) bDate; }
+ BOOL IsTime() const { Init(); return (BOOL) bTime; }
+ BOOL IsPagename() const { Init(); return (BOOL) bPagename; }
+ BOOL IsHiddenPages() const { Init(); return (BOOL) bHiddenPages; }
+ BOOL IsPagesize() const { Init(); return (BOOL) bPagesize; }
+ BOOL IsPagetile() const { Init(); return (BOOL) bPagetile; }
+ BOOL IsWarningPrinter() const { Init(); return (BOOL) bWarningPrinter; }
+ BOOL IsWarningSize() const { Init(); return (BOOL) bWarningSize; }
+ BOOL IsWarningOrientation() const { Init(); return (BOOL) bWarningOrientation; }
+ BOOL IsBooklet() const { Init(); return (BOOL) bBooklet; }
+ BOOL IsFrontPage() const { Init(); return (BOOL) bFront; }
+ BOOL IsBackPage() const { Init(); return (BOOL) bBack; }
+ BOOL IsCutPage() const { Init(); return (BOOL) bCutPage; }
+ BOOL IsPaperbin() const { Init(); return (BOOL) bPaperbin; }
+ UINT16 GetOutputQuality() const { Init(); return nQuality; }
+ BOOL IsHandoutHorizontal() const { Init(); return mbHandoutHorizontal; }
+ UINT16 GetHandoutPages() const { Init(); return mnHandoutPages; }
+
+ void SetDraw( BOOL bOn = TRUE ) { if( bDraw != bOn ) { OptionsChanged(); bDraw = bOn; } }
+ void SetNotes( BOOL bOn = TRUE ) { if( bNotes != bOn ) { OptionsChanged(); bNotes = bOn; } }
+ void SetHandout( BOOL bOn = TRUE ) { if( bHandout != bOn ) { OptionsChanged(); bHandout = bOn; } }
+ void SetOutline( BOOL bOn = TRUE ) { if( bOutline != bOn ) { OptionsChanged(); bOutline = bOn; } }
+ void SetDate( BOOL bOn = TRUE ) { if( bDate != bOn ) { OptionsChanged(); bDate = bOn; } }
+ void SetTime( BOOL bOn = TRUE ) { if( bTime != bOn ) { OptionsChanged(); bTime = bOn; } }
+ void SetPagename( BOOL bOn = TRUE ) { if( bPagename != bOn ) { OptionsChanged(); bPagename = bOn; } }
+ void SetHiddenPages( BOOL bOn = TRUE ) { if( bHiddenPages != bOn ) { OptionsChanged(); bHiddenPages = bOn; } }
+ void SetPagesize( BOOL bOn = TRUE ) { if( bPagesize != bOn ) { OptionsChanged(); bPagesize = bOn; } }
+ void SetPagetile( BOOL bOn = TRUE ) { if( bPagetile != bOn ) { OptionsChanged(); bPagetile = bOn; } }
+ void SetWarningPrinter( BOOL bOn = TRUE ) { if( bWarningPrinter != bOn ) { OptionsChanged(); bWarningPrinter = bOn; } }
+ void SetWarningSize( BOOL bOn = TRUE ) { if( bWarningSize != bOn ) { OptionsChanged(); bWarningSize = bOn; } }
+ void SetWarningOrientation( BOOL bOn = TRUE ) { if( bWarningOrientation != bOn ) { OptionsChanged(); bWarningOrientation = bOn; } }
+ void SetBooklet( BOOL bOn = TRUE ) { if( bBooklet != bOn ) { OptionsChanged(); bBooklet = bOn; } }
+ void SetFrontPage( BOOL bOn = TRUE ) { if( bFront != bOn ) { OptionsChanged(); bFront = bOn; } }
+ void SetBackPage( BOOL bOn = TRUE ) { if( bBack != bOn ) { OptionsChanged(); bBack = bOn; } }
+ void SetCutPage( BOOL bOn = TRUE ) { if( bCutPage != bOn ) { OptionsChanged(); bCutPage = bOn; } }
+ void SetPaperbin( BOOL bOn = TRUE ) { if( bPaperbin != bOn ) { OptionsChanged(); bPaperbin = bOn; } }
+ void SetOutputQuality( UINT16 nInQuality ) { if( nQuality != nInQuality ) { OptionsChanged(); nQuality = nInQuality; } }
+ void SetHandoutHorizontal( BOOL bHandoutHorizontal ) { if( mbHandoutHorizontal != bHandoutHorizontal ) { OptionsChanged(); mbHandoutHorizontal = bHandoutHorizontal; } }
+ void SetHandoutPages( UINT16 nHandoutPages ) { if( nHandoutPages != mnHandoutPages ) { OptionsChanged(); mnHandoutPages = nHandoutPages; } }
};
// -----------------------------------------------------------------------------
@@ -645,19 +645,19 @@ public:
class SD_DLLPUBLIC SdOptionsPrintItem : public SfxPoolItem
{
public:
-
+
SdOptionsPrintItem( USHORT nWhich);
SdOptionsPrintItem( USHORT nWhich, SdOptions* pOpts, ::sd::FrameView* pView = NULL );
- virtual SfxPoolItem* Clone( SfxItemPool *pPool = 0 ) const;
- virtual int operator==( const SfxPoolItem& ) const;
+ virtual SfxPoolItem* Clone( SfxItemPool *pPool = 0 ) const;
+ virtual int operator==( const SfxPoolItem& ) const;
+
+ void SetOptions( SdOptions* pOpts ) const;
- void SetOptions( SdOptions* pOpts ) const;
-
- SdOptionsPrint& GetOptionsPrint() { return maOptionsPrint; }
- const SdOptionsPrint& GetOptionsPrint() const { return maOptionsPrint; }
+ SdOptionsPrint& GetOptionsPrint() { return maOptionsPrint; }
+ const SdOptionsPrint& GetOptionsPrint() const { return maOptionsPrint; }
private:
- SdOptionsPrint maOptionsPrint;
+ SdOptionsPrint maOptionsPrint;
};
// -------------
@@ -667,14 +667,14 @@ private:
class SdOptions : public SdOptionsLayout, public SdOptionsContents,
public SdOptionsMisc, public SdOptionsSnap,
public SdOptionsZoom, public SdOptionsGrid,
- public SdOptionsPrint
+ public SdOptionsPrint
{
public:
-
+
SdOptions( USHORT nConfigId );
virtual ~SdOptions();
- void StoreConfig( ULONG nOptionRange = SD_OPTIONS_ALL );
+ void StoreConfig( ULONG nOptionRange = SD_OPTIONS_ALL );
};
#endif // _SD_OPTSITEM_HXX
diff --git a/sd/source/ui/inc/packgdlg.hrc b/sd/source/ui/inc/packgdlg.hrc
index fe6546a7082b..df0b6375317c 100644
--- a/sd/source/ui/inc/packgdlg.hrc
+++ b/sd/source/ui/inc/packgdlg.hrc
@@ -1,7 +1,7 @@
/*************************************************************************
*
* 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
@@ -25,22 +25,22 @@
*
************************************************************************/
-#define DLG_PACKNGO 939
+#define DLG_PACKNGO 939
-#define BTN_OK 1
-#define BTN_CANCEL 2
-#define BTN_HELP 3
+#define BTN_OK 1
+#define BTN_CANCEL 2
+#define BTN_HELP 3
-#define GRP_DOKU 4
-#define CBX_UNLINK 5
-#define GRP_STORE 6
-#define GRP_SEPARATOR 7
-#define CBX_SPANNING 8
-#define LB_STOREMEDIUM 9
+#define GRP_DOKU 4
+#define CBX_UNLINK 5
+#define GRP_STORE 6
+#define GRP_SEPARATOR 7
+#define CBX_SPANNING 8
+#define LB_STOREMEDIUM 9
-#define FT_DOKU_DESCR 10
-#define FT_STORE_DESCR 11
-#define FT_STOREMEDIUM 12
+#define FT_DOKU_DESCR 10
+#define FT_STORE_DESCR 11
+#define FT_STOREMEDIUM 12
-#define MTR_USERDEFINED 13
+#define MTR_USERDEFINED 13
diff --git a/sd/source/ui/inc/paragr.hrc b/sd/source/ui/inc/paragr.hrc
index 1510325ce2e1..96815fb6188a 100644
--- a/sd/source/ui/inc/paragr.hrc
+++ b/sd/source/ui/inc/paragr.hrc
@@ -1,7 +1,7 @@
/*************************************************************************
*
* 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
@@ -24,7 +24,7 @@
* for a copy of the LGPLv3 License.
*
************************************************************************/
-#define TAB_PARAGRAPH 20620
+#define TAB_PARAGRAPH 20620
#define CB_NEW_START 1
#define CB_NUMBER_NEW_START 2
diff --git a/sd/source/ui/inc/paragr.hxx b/sd/source/ui/inc/paragr.hxx
index af801492672d..6ba6b2d969db 100644
--- a/sd/source/ui/inc/paragr.hxx
+++ b/sd/source/ui/inc/paragr.hxx
@@ -2,7 +2,7 @@
/*************************************************************************
*
* 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
@@ -42,7 +42,7 @@
class SdParagraphDlg : public SfxTabDialog
{
private:
- const SfxItemSet& rOutAttrs;
+ const SfxItemSet& rOutAttrs;
public:
SdParagraphDlg( Window* pParent, const SfxItemSet* pAttr );
diff --git a/sd/source/ui/inc/pgjump.hxx b/sd/source/ui/inc/pgjump.hxx
index 238b77fe410f..a906a8c39f08 100644
--- a/sd/source/ui/inc/pgjump.hxx
+++ b/sd/source/ui/inc/pgjump.hxx
@@ -2,7 +2,7 @@
/*************************************************************************
*
* 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
diff --git a/sd/source/ui/inc/present.hrc b/sd/source/ui/inc/present.hrc
index fc4d3b68d9f4..6ad233269b6c 100644
--- a/sd/source/ui/inc/present.hrc
+++ b/sd/source/ui/inc/present.hrc
@@ -1,7 +1,7 @@
/*************************************************************************
*
* 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
@@ -26,7 +26,7 @@
************************************************************************/
#include <sfx2/sfx.hrc>
-#define DLG_START_PRESENTATION RID_APP_START+3
+#define DLG_START_PRESENTATION RID_APP_START+3
#define BTN_OK 1
#define BTN_CANCEL 1
#define BTN_HELP 1
@@ -39,9 +39,9 @@
#define LB_CUSTOMSHOW 2
#define GRP_KIND 2
-#define RBT_STANDARD 4
-#define RBT_WINDOW 5
-#define RBT_AUTO 6
+#define RBT_STANDARD 4
+#define RBT_WINDOW 5
+#define RBT_AUTO 6
#define FT_PAUSE 1
#define TMF_PAUSE 1
#define CBX_AUTOLOGO 1
diff --git a/sd/source/ui/inc/present.hxx b/sd/source/ui/inc/present.hxx
index 65ec34f2ac20..6069edcde65b 100644
--- a/sd/source/ui/inc/present.hxx
+++ b/sd/source/ui/inc/present.hxx
@@ -2,7 +2,7 @@
/*************************************************************************
*
* 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
@@ -47,50 +47,50 @@ class SdStartPresentationDlg : public ModalDialog
{
private:
- FixedLine aGrpRange;
- RadioButton aRbtAll;
- RadioButton aRbtAtDia;
- RadioButton aRbtCustomshow;
- ListBox aLbDias;
- ListBox aLbCustomshow;
-
- FixedLine aGrpKind;
- RadioButton aRbtStandard;
- RadioButton aRbtWindow;
- RadioButton aRbtAuto;
- TimeField aTmfPause;
- CheckBox aCbxAutoLogo;
-
- FixedLine aGrpOptions;
- CheckBox aCbxManuel;
- CheckBox aCbxMousepointer;
- CheckBox aCbxPen;
- CheckBox aCbxNavigator;
+ FixedLine aGrpRange;
+ RadioButton aRbtAll;
+ RadioButton aRbtAtDia;
+ RadioButton aRbtCustomshow;
+ ListBox aLbDias;
+ ListBox aLbCustomshow;
+
+ FixedLine aGrpKind;
+ RadioButton aRbtStandard;
+ RadioButton aRbtWindow;
+ RadioButton aRbtAuto;
+ TimeField aTmfPause;
+ CheckBox aCbxAutoLogo;
+
+ FixedLine aGrpOptions;
+ CheckBox aCbxManuel;
+ CheckBox aCbxMousepointer;
+ CheckBox aCbxPen;
+ CheckBox aCbxNavigator;
CheckBox aCbxAnimationAllowed;
CheckBox aCbxChangePage;
- CheckBox aCbxAlwaysOnTop;
+ CheckBox aCbxAlwaysOnTop;
- FixedLine maGrpMonitor;
- FixedText maFtMonitor;
- ListBox maLBMonitor;
+ FixedLine maGrpMonitor;
+ FixedText maFtMonitor;
+ ListBox maLBMonitor;
- OKButton aBtnOK;
- CancelButton aBtnCancel;
- HelpButton aBtnHelp;
+ OKButton aBtnOK;
+ CancelButton aBtnCancel;
+ HelpButton aBtnHelp;
- List* pCustomShowList;
- const SfxItemSet& rOutAttrs;
- sal_Int32 mnMonitors;
+ List* pCustomShowList;
+ const SfxItemSet& rOutAttrs;
+ sal_Int32 mnMonitors;
- String msPrimaryMonitor;
- String msMonitor;
- String msAllMonitors;
+ String msPrimaryMonitor;
+ String msMonitor;
+ String msAllMonitors;
DECL_LINK( ChangeRangeHdl, void * );
DECL_LINK( ClickWindowPresentationHdl, void * );
DECL_LINK( ChangePauseHdl, void * );
- void InitMonitorSettings();
+ void InitMonitorSettings();
public:
SdStartPresentationDlg( Window* pWindow,
@@ -98,7 +98,7 @@ public:
List& rPageNames,
List* pCSList );
- void GetAttr( SfxItemSet& rOutAttrs );
+ void GetAttr( SfxItemSet& rOutAttrs );
};
#endif // _SD_PRESENT_HXX_
diff --git a/sd/source/ui/inc/preview.hrc b/sd/source/ui/inc/preview.hrc
index dd9f8756161a..b40f5b654b57 100644
--- a/sd/source/ui/inc/preview.hrc
+++ b/sd/source/ui/inc/preview.hrc
@@ -1,7 +1,7 @@
/*************************************************************************
*
* 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
diff --git a/sd/source/ui/inc/prltempl.hrc b/sd/source/ui/inc/prltempl.hrc
index 97529b7d9068..cb32af4dfee4 100644
--- a/sd/source/ui/inc/prltempl.hrc
+++ b/sd/source/ui/inc/prltempl.hrc
@@ -1,7 +1,7 @@
/*************************************************************************
*
* 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
@@ -25,7 +25,7 @@
*
************************************************************************/
#include <sfx2/sfx.hrc>
-/* #define TAB_PRES_LAYOUT_TEMPLATE RID_APP_START+??? */
-#define TAB_PRES_LAYOUT_TEMPLATE 844
-#define TAB_PRES_LAYOUT_TEMPLATE_BACKGROUND 846
+/* #define TAB_PRES_LAYOUT_TEMPLATE RID_APP_START+??? */
+#define TAB_PRES_LAYOUT_TEMPLATE 844
+#define TAB_PRES_LAYOUT_TEMPLATE_BACKGROUND 846
#define TAB_CONTROL 1
diff --git a/sd/source/ui/inc/prltempl.hxx b/sd/source/ui/inc/prltempl.hxx
index f182f4311dab..7a2141dff7a5 100644
--- a/sd/source/ui/inc/prltempl.hxx
+++ b/sd/source/ui/inc/prltempl.hxx
@@ -2,7 +2,7 @@
/*************************************************************************
*
* 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
@@ -55,29 +55,29 @@ class SfxStyleSheetBasePool;
class SdPresLayoutTemplateDlg : public SfxTabDialog
{
private:
- const SfxObjectShell* mpDocShell;
+ const SfxObjectShell* mpDocShell;
- XColorTable* pColorTab;
- XGradientList* pGradientList;
- XHatchList* pHatchingList;
- XBitmapList* pBitmapList;
- XDashList* pDashList;
- XLineEndList* pLineEndList;
+ XColorTable* pColorTab;
+ XGradientList* pGradientList;
+ XHatchList* pHatchingList;
+ XBitmapList* pBitmapList;
+ XDashList* pDashList;
+ XLineEndList* pLineEndList;
- USHORT nPageType;
- USHORT nDlgType;
- USHORT nPos;
+ USHORT nPageType;
+ USHORT nDlgType;
+ USHORT nPos;
- ChangeType nColorTableState;
- ChangeType nBitmapListState;
- ChangeType nGradientListState;
- ChangeType nHatchingListState;
- ChangeType nLineEndListState;
- ChangeType nDashListState;
+ ChangeType nColorTableState;
+ ChangeType nBitmapListState;
+ ChangeType nGradientListState;
+ ChangeType nHatchingListState;
+ ChangeType nLineEndListState;
+ ChangeType nDashListState;
- PresentationObjects ePO;
+ PresentationObjects ePO;
- virtual void PageCreated( USHORT nId, SfxTabPage &rPage );
+ virtual void PageCreated( USHORT nId, SfxTabPage &rPage );
// fuers Maping mit dem neuen SvxNumBulletItem
SfxItemSet aInputSet;
diff --git a/sd/source/ui/inc/prntopts.hrc b/sd/source/ui/inc/prntopts.hrc
index 04d155f6730d..4698a1c5983f 100644
--- a/sd/source/ui/inc/prntopts.hrc
+++ b/sd/source/ui/inc/prntopts.hrc
@@ -1,7 +1,7 @@
/*************************************************************************
*
* 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
@@ -47,10 +47,10 @@
#define GRP_PRINT_EXT 3
#define GRP_PAPERBIN 4
-#define RBT_COLOR 5
-#define RBT_GRAYSCALE 6
-#define RBT_BLACKWHITE 7
-#define GRP_OUTPUT 5
+#define RBT_COLOR 5
+#define RBT_GRAYSCALE 6
+#define RBT_BLACKWHITE 7
+#define GRP_OUTPUT 5
#define FL_SEPARATOR1 6
#define FL_SEPARATOR2 7
diff --git a/sd/source/ui/inc/prntopts.hxx b/sd/source/ui/inc/prntopts.hxx
index 291f40e0e7b6..e2221d2cbd41 100644
--- a/sd/source/ui/inc/prntopts.hxx
+++ b/sd/source/ui/inc/prntopts.hxx
@@ -2,7 +2,7 @@
/*************************************************************************
*
* 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
@@ -53,34 +53,34 @@ class SdPrintOptions : public SfxTabPage
private:
FixedLine aGrpPrint;
CheckBox aCbxDraw;
- CheckBox aCbxNotes;
- CheckBox aCbxHandout;
- CheckBox aCbxOutline;
+ CheckBox aCbxNotes;
+ CheckBox aCbxHandout;
+ CheckBox aCbxOutline;
FixedLine aSeparator1FL;
FixedLine aGrpOutput;
RadioButton aRbtColor;
- RadioButton aRbtGrayscale;
- RadioButton aRbtBlackWhite;
+ RadioButton aRbtGrayscale;
+ RadioButton aRbtBlackWhite;
FixedLine aGrpPrintExt;
CheckBox aCbxPagename;
- CheckBox aCbxDate;
- CheckBox aCbxTime;
+ CheckBox aCbxDate;
+ CheckBox aCbxTime;
CheckBox aCbxHiddenPages;
FixedLine aSeparator2FL;
FixedLine aGrpPageoptions;
RadioButton aRbtDefault;
- RadioButton aRbtPagesize;
- RadioButton aRbtPagetile;
- RadioButton aRbtBooklet;
- CheckBox aCbxFront;
- CheckBox aCbxBack;
+ RadioButton aRbtPagesize;
+ RadioButton aRbtPagetile;
+ RadioButton aRbtBooklet;
+ CheckBox aCbxFront;
+ CheckBox aCbxBack;
- CheckBox aCbxPaperbin;
+ CheckBox aCbxPaperbin;
- const SfxItemSet& rOutAttrs;
+ const SfxItemSet& rOutAttrs;
DECL_LINK( ClickCheckboxHdl, CheckBox * );
DECL_LINK( ClickBookletHdl, CheckBox * );
@@ -92,13 +92,13 @@ public:
SdPrintOptions( Window* pParent, const SfxItemSet& rInAttrs);
~SdPrintOptions();
- static SfxTabPage* Create( Window*, const SfxItemSet& );
+ static SfxTabPage* Create( Window*, const SfxItemSet& );
virtual BOOL FillItemSet( SfxItemSet& );
virtual void Reset( const SfxItemSet & );
void SetDrawMode();
- virtual void PageCreated (SfxAllItemSet aSet);
+ virtual void PageCreated (SfxAllItemSet aSet);
};
diff --git a/sd/source/ui/inc/pubdlg.hrc b/sd/source/ui/inc/pubdlg.hrc
index 8e3c1be2111d..1e54b3a5c125 100644
--- a/sd/source/ui/inc/pubdlg.hrc
+++ b/sd/source/ui/inc/pubdlg.hrc
@@ -1,7 +1,7 @@
/*************************************************************************
*
* 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
@@ -26,111 +26,111 @@
************************************************************************/
-#define PAGE1_BMP 1
-#define PAGE1_TITEL 2
-#define PAGE1_NEW_DESIGN 3
-#define PAGE1_OLD_DESIGN 4
-#define PAGE1_DESIGNS 5
-#define PAGE1_DEL_DESIGN 6
-#define PAGE1_DESC 7
+#define PAGE1_BMP 1
+#define PAGE1_TITEL 2
+#define PAGE1_NEW_DESIGN 3
+#define PAGE1_OLD_DESIGN 4
+#define PAGE1_DESIGNS 5
+#define PAGE1_DEL_DESIGN 6
+#define PAGE1_DESC 7
//////////////////////////////
-#define PAGE2_BMP 20
-#define PAGE2_TITEL 21
-#define PAGE2_STANDARD 22
-#define PAGE2_FRAMES 23
-#define PAGE2_KIOSK 24
-#define PAGE2_WEBCAST 25
-
-#define PAGE2_NOFRAMES_FB 26
-#define PAGE2_FRAMES_FB 27
-#define PAGE2_KIOSK_FB 28
-#define PAGE2_WEBCAST_FB 29
-
-#define PAGE2_TITEL_HTML 30
-#define PAGE2_CONTENT 31
-#define PAGE2_NOTES 32
-
-#define PAGE2_TITEL_KIOSK 33
-#define PAGE2_CHG_DEFAULT 34
-#define PAGE2_CHG_AUTO 35
-#define PAGE2_DURATION_TXT 36
-#define PAGE2_DURATION_TMF 37
-#define PAGE2_ENDLESS 38
-
-#define PAGE2_TITEL_WEBCAST 40
-#define PAGE2_ASP 41
-#define PAGE2_PERL 42
-#define PAGE2_INDEX_TXT 43
-#define PAGE2_INDEX 44
-#define PAGE2_URL_TXT 45
-#define PAGE2_URL 46
-#define PAGE2_CGI_TXT 47
-#define PAGE2_CGI 48
-#define PAGE2_VERT 49
+#define PAGE2_BMP 20
+#define PAGE2_TITEL 21
+#define PAGE2_STANDARD 22
+#define PAGE2_FRAMES 23
+#define PAGE2_KIOSK 24
+#define PAGE2_WEBCAST 25
+
+#define PAGE2_NOFRAMES_FB 26
+#define PAGE2_FRAMES_FB 27
+#define PAGE2_KIOSK_FB 28
+#define PAGE2_WEBCAST_FB 29
+
+#define PAGE2_TITEL_HTML 30
+#define PAGE2_CONTENT 31
+#define PAGE2_NOTES 32
+
+#define PAGE2_TITEL_KIOSK 33
+#define PAGE2_CHG_DEFAULT 34
+#define PAGE2_CHG_AUTO 35
+#define PAGE2_DURATION_TXT 36
+#define PAGE2_DURATION_TMF 37
+#define PAGE2_ENDLESS 38
+
+#define PAGE2_TITEL_WEBCAST 40
+#define PAGE2_ASP 41
+#define PAGE2_PERL 42
+#define PAGE2_INDEX_TXT 43
+#define PAGE2_INDEX 44
+#define PAGE2_URL_TXT 45
+#define PAGE2_URL 46
+#define PAGE2_CGI_TXT 47
+#define PAGE2_CGI 48
+#define PAGE2_VERT 49
//////////////////////////////
-#define PAGE3_BMP 50
-#define PAGE3_TITEL_1 51
-#define PAGE3_PNG 51
-#define PAGE3_GIF 52
-#define PAGE3_JPG 53
-#define PAGE3_QUALITY_TXT 54
-#define PAGE3_QUALITY 55
-#define PAGE3_TITEL_2 56
-#define PAGE3_RESOLUTION_1 57
-#define PAGE3_RESOLUTION_2 58
-#define PAGE3_RESOLUTION_3 59
-#define PAGE3_TITEL_3 60
-#define PAGE3_SLD_SOUND 61
-#define PAGE3_VERT 62
+#define PAGE3_BMP 50
+#define PAGE3_TITEL_1 51
+#define PAGE3_PNG 51
+#define PAGE3_GIF 52
+#define PAGE3_JPG 53
+#define PAGE3_QUALITY_TXT 54
+#define PAGE3_QUALITY 55
+#define PAGE3_TITEL_2 56
+#define PAGE3_RESOLUTION_1 57
+#define PAGE3_RESOLUTION_2 58
+#define PAGE3_RESOLUTION_3 59
+#define PAGE3_TITEL_3 60
+#define PAGE3_SLD_SOUND 61
+#define PAGE3_VERT 62
#define PAGE3_HIDDEN_SLIDES 63
//////////////////////////////
-#define PAGE4_BMP 65
-#define PAGE4_TITEL_1 66
-#define PAGE4_AUTHOR_TXT 67
-#define PAGE4_AUTHOR 68
-#define PAGE4_EMAIL_TXT 69
-#define PAGE4_EMAIL_EDIT 70
-#define PAGE4_WWW_TXT 71
-#define PAGE4_WWW_EDIT 72
-#define PAGE4_TITEL_2 73
-#define PAGE4_MISC 74
-#define PAGE4_DOWNLOAD 75
-#define PAGE4_CREATED 76
+#define PAGE4_BMP 65
+#define PAGE4_TITEL_1 66
+#define PAGE4_AUTHOR_TXT 67
+#define PAGE4_AUTHOR 68
+#define PAGE4_EMAIL_TXT 69
+#define PAGE4_EMAIL_EDIT 70
+#define PAGE4_WWW_TXT 71
+#define PAGE4_WWW_EDIT 72
+#define PAGE4_TITEL_2 73
+#define PAGE4_MISC 74
+#define PAGE4_DOWNLOAD 75
+#define PAGE4_CREATED 76
//////////////////////////////
-#define PAGE5_BMP 80
-#define PAGE5_TITEL 81
-#define PAGE5_TEXTONLY 82
-#define PAGE5_BUTTONS 83
-#define PAGE5_TITEL_2 84
-#define PAGE5_NOBACK 85
-#define PAGE5_BACKS 86
+#define PAGE5_BMP 80
+#define PAGE5_TITEL 81
+#define PAGE5_TEXTONLY 82
+#define PAGE5_BUTTONS 83
+#define PAGE5_TITEL_2 84
+#define PAGE5_NOBACK 85
+#define PAGE5_BACKS 86
//////////////////////////////
-#define PAGE6_BMP 100
-#define PAGE6_TITEL 101
-#define PAGE6_DEFAULT 102
-#define PAGE6_USER 103
-#define PAGE6_BACK 104
-#define PAGE6_TEXT 105
-#define PAGE6_LINK 106
-#define PAGE6_VLINK 107
-#define PAGE6_ALINK 108
-#define PAGE6_DOCCOLORS 109
-#define PAGE6_USECOLOR 110
-#define PAGE6_PREVIEW 111
+#define PAGE6_BMP 100
+#define PAGE6_TITEL 101
+#define PAGE6_DEFAULT 102
+#define PAGE6_USER 103
+#define PAGE6_BACK 104
+#define PAGE6_TEXT 105
+#define PAGE6_LINK 106
+#define PAGE6_VLINK 107
+#define PAGE6_ALINK 108
+#define PAGE6_DOCCOLORS 109
+#define PAGE6_USECOLOR 110
+#define PAGE6_PREVIEW 111
//////////////////////////////
-//#define PAGE6_PAGE_SND 128
+//#define PAGE6_PAGE_SND 128
//////////////////////////////
@@ -139,7 +139,7 @@
#define BUT_FINISH 202
#define BUT_CANCEL 203
#define BUT_HELP 204
-#define BOTTOM_LINE 205
+#define BOTTOM_LINE 205
//////////////////////////////
@@ -147,7 +147,7 @@
//////////////////////////////
-#define BTN_SAVE 1
-#define BTN_NOSAVE 2
-#define EDT_NAME 3
+#define BTN_SAVE 1
+#define BTN_NOSAVE 2
+#define EDT_NAME 3
#define DLG_DESIGNNAME 740
diff --git a/sd/source/ui/inc/pubdlg.hxx b/sd/source/ui/inc/pubdlg.hxx
index 61a7b0b86a30..1b4c15805521 100644
--- a/sd/source/ui/inc/pubdlg.hxx
+++ b/sd/source/ui/inc/pubdlg.hxx
@@ -2,7 +2,7 @@
/*************************************************************************
*
* 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
@@ -44,7 +44,7 @@
#define NOOFPAGES 6
-enum HtmlPublishMode { PUBLISH_HTML, PUBLISH_FRAMES, PUBLISH_WEBCAST, PUBLISH_KIOSK };
+enum HtmlPublishMode { PUBLISH_HTML, PUBLISH_FRAMES, PUBLISH_WEBCAST, PUBLISH_KIOSK };
class SfxItemSet;
@@ -68,115 +68,115 @@ class SdPublishingDlg : public ModalDialog
{
private:
// page 1 controls
- FixedBitmap* pPage1_Bmp;
- FixedLine* pPage1_Titel;
- RadioButton* pPage1_NewDesign;
- RadioButton* pPage1_OldDesign;
- ListBox* pPage1_Designs;
- PushButton* pPage1_DelDesign;
- FixedText* pPage1_Desc;
+ FixedBitmap* pPage1_Bmp;
+ FixedLine* pPage1_Titel;
+ RadioButton* pPage1_NewDesign;
+ RadioButton* pPage1_OldDesign;
+ ListBox* pPage1_Designs;
+ PushButton* pPage1_DelDesign;
+ FixedText* pPage1_Desc;
// page 2 controls
- FixedBitmap* pPage2_Bmp;
- FixedLine* pPage2_Titel;
- RadioButton* pPage2_Standard;
- RadioButton* pPage2_Frames;
- RadioButton* pPage2_Kiosk;
- RadioButton* pPage2_WebCast;
- FixedBitmap* pPage2_Standard_FB;
- FixedBitmap* pPage2_Frames_FB;
- FixedBitmap* pPage2_Kiosk_FB;
- FixedBitmap* pPage2_WebCast_FB;
-
- FixedLine* pPage2_Titel_Html;
- CheckBox* pPage2_Content;
- CheckBox* pPage2_Notes;
-
- FixedLine* pPage2_Titel_WebCast;
- RadioButton* pPage2_ASP;
- RadioButton* pPage2_PERL;
- FixedText* pPage2_URL_txt;
- Edit* pPage2_URL;
- FixedText* pPage2_CGI_txt;
- Edit* pPage2_CGI;
- FixedText* pPage2_Index_txt;
- Edit* pPage2_Index;
+ FixedBitmap* pPage2_Bmp;
+ FixedLine* pPage2_Titel;
+ RadioButton* pPage2_Standard;
+ RadioButton* pPage2_Frames;
+ RadioButton* pPage2_Kiosk;
+ RadioButton* pPage2_WebCast;
+ FixedBitmap* pPage2_Standard_FB;
+ FixedBitmap* pPage2_Frames_FB;
+ FixedBitmap* pPage2_Kiosk_FB;
+ FixedBitmap* pPage2_WebCast_FB;
+
+ FixedLine* pPage2_Titel_Html;
+ CheckBox* pPage2_Content;
+ CheckBox* pPage2_Notes;
+
+ FixedLine* pPage2_Titel_WebCast;
+ RadioButton* pPage2_ASP;
+ RadioButton* pPage2_PERL;
+ FixedText* pPage2_URL_txt;
+ Edit* pPage2_URL;
+ FixedText* pPage2_CGI_txt;
+ Edit* pPage2_CGI;
+ FixedText* pPage2_Index_txt;
+ Edit* pPage2_Index;
FixedLine* pPage2_Vert;
- FixedLine* pPage2_Titel_Kiosk;
- RadioButton* pPage2_ChgDefault;
- RadioButton* pPage2_ChgAuto;
- FixedText* pPage2_Duration_txt;
- TimeField* pPage2_Duration;
- CheckBox* pPage2_Endless;
+ FixedLine* pPage2_Titel_Kiosk;
+ RadioButton* pPage2_ChgDefault;
+ RadioButton* pPage2_ChgAuto;
+ FixedText* pPage2_Duration_txt;
+ TimeField* pPage2_Duration;
+ CheckBox* pPage2_Endless;
// page 3 controls
- FixedBitmap* pPage3_Bmp;
- FixedLine* pPage3_Titel1;
- RadioButton* pPage3_Png;
- RadioButton* pPage3_Gif;
- RadioButton* pPage3_Jpg;
- FixedText* pPage3_Quality_txt;
- ComboBox* pPage3_Quality;
+ FixedBitmap* pPage3_Bmp;
+ FixedLine* pPage3_Titel1;
+ RadioButton* pPage3_Png;
+ RadioButton* pPage3_Gif;
+ RadioButton* pPage3_Jpg;
+ FixedText* pPage3_Quality_txt;
+ ComboBox* pPage3_Quality;
FixedLine* pPage3_Vert;
- FixedLine* pPage3_Titel2;
- RadioButton* pPage3_Resolution_1;
- RadioButton* pPage3_Resolution_2;
- RadioButton* pPage3_Resolution_3;
- FixedLine* pPage3_Titel3;
- CheckBox* pPage3_SldSound;
- CheckBox* pPage3_HiddenSlides;
+ FixedLine* pPage3_Titel2;
+ RadioButton* pPage3_Resolution_1;
+ RadioButton* pPage3_Resolution_2;
+ RadioButton* pPage3_Resolution_3;
+ FixedLine* pPage3_Titel3;
+ CheckBox* pPage3_SldSound;
+ CheckBox* pPage3_HiddenSlides;
// page 4 controls
- FixedBitmap* pPage4_Bmp;
- FixedLine* pPage4_Titel1;
- FixedText* pPage4_Author_txt;
- Edit* pPage4_Author;
- FixedText* pPage4_Email_txt;
- Edit* pPage4_Email;
- FixedText* pPage4_WWW_txt;
- Edit* pPage4_WWW;
- FixedText* pPage4_Titel2;
- MultiLineEdit* pPage4_Misc;
- CheckBox* pPage4_Download;
-//-/ CheckBox* pPage4_Created;
+ FixedBitmap* pPage4_Bmp;
+ FixedLine* pPage4_Titel1;
+ FixedText* pPage4_Author_txt;
+ Edit* pPage4_Author;
+ FixedText* pPage4_Email_txt;
+ Edit* pPage4_Email;
+ FixedText* pPage4_WWW_txt;
+ Edit* pPage4_WWW;
+ FixedText* pPage4_Titel2;
+ MultiLineEdit* pPage4_Misc;
+ CheckBox* pPage4_Download;
+//-/ CheckBox* pPage4_Created;
// page 5 controls
- FixedBitmap* pPage5_Bmp;
- FixedLine* pPage5_Titel;
- CheckBox* pPage5_TextOnly;
- ValueSet* pPage5_Buttons;
+ FixedBitmap* pPage5_Bmp;
+ FixedLine* pPage5_Titel;
+ CheckBox* pPage5_TextOnly;
+ ValueSet* pPage5_Buttons;
// page 6 controls
- FixedBitmap* pPage6_Bmp;
- FixedLine* pPage6_Titel;
- RadioButton* pPage6_Default;
- RadioButton* pPage6_User;
- PushButton* pPage6_Back;
- PushButton* pPage6_Text;
- PushButton* pPage6_Link;
- PushButton* pPage6_VLink;
- PushButton* pPage6_ALink;
- RadioButton* pPage6_DocColors;
- SdHtmlAttrPreview* pPage6_Preview;
+ FixedBitmap* pPage6_Bmp;
+ FixedLine* pPage6_Titel;
+ RadioButton* pPage6_Default;
+ RadioButton* pPage6_User;
+ PushButton* pPage6_Back;
+ PushButton* pPage6_Text;
+ PushButton* pPage6_Link;
+ PushButton* pPage6_VLink;
+ PushButton* pPage6_ALink;
+ RadioButton* pPage6_DocColors;
+ SdHtmlAttrPreview* pPage6_Preview;
boost::scoped_ptr< ButtonSet > mpButtonSet;
-// CheckBox* pPage6_Sound;
+// CheckBox* pPage6_Sound;
// standard controls
- FixedLine aBottomLine;
- HelpButton aHelpButton;
- CancelButton aCancelButton;
- PushButton aLastPageButton;
- PushButton aNextPageButton;
- OKButton aFinishButton;
+ FixedLine aBottomLine;
+ HelpButton aHelpButton;
+ CancelButton aCancelButton;
+ PushButton aLastPageButton;
+ PushButton aNextPageButton;
+ OKButton aFinishButton;
- Assistent aAssistentFunc;
+ Assistent aAssistentFunc;
- BOOL m_bImpress;
- BOOL m_bButtonsDirty;
+ BOOL m_bImpress;
+ BOOL m_bButtonsDirty;
void SetDefaults();
void CreatePages();
@@ -185,19 +185,19 @@ private:
Color m_aBackColor, m_aTextColor, m_aLinkColor;
Color m_aVLinkColor, m_aALinkColor;
- void ChangePage();
- void UpdatePage();
+ void ChangePage();
+ void UpdatePage();
- List* m_pDesignList;
- BOOL m_bDesignListDirty;
+ List* m_pDesignList;
+ BOOL m_bDesignListDirty;
SdPublishingDesign* m_pDesign;
- BOOL Load();
- BOOL Save();
+ BOOL Load();
+ BOOL Save();
- void GetDesign( SdPublishingDesign* pDesign );
- void SetDesign( SdPublishingDesign* pDesign );
+ void GetDesign( SdPublishingDesign* pDesign );
+ void SetDesign( SdPublishingDesign* pDesign );
- void LoadPreviewButtons();
+ void LoadPreviewButtons();
DECL_LINK( FinishHdl, OKButton * );
DECL_LINK( NextPageHdl, PushButton * );
diff --git a/sd/source/ui/inc/res_bmp.hrc b/sd/source/ui/inc/res_bmp.hrc
index fb788cb83614..192ee97a4aeb 100755
--- a/sd/source/ui/inc/res_bmp.hrc
+++ b/sd/source/ui/inc/res_bmp.hrc
@@ -1,7 +1,7 @@
/*************************************************************************
*
* 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
@@ -40,305 +40,305 @@
#define RID_CONTROLS RID_APP_START+3
#define RID_IMPRESS_DOCWINDOWICON RID_APP_START+4
-#define RID_ALIGNMENT_TBX RID_APP_START+5
-#define RID_ZOOM_TBX RID_APP_START+6
-#define RID_CHOOSE_MODE RID_APP_START+7
-#define RID_CHOOSE_MODE_TBX RID_APP_START+8
-
-#define RID_TEXT RID_APP_START+10
-#define RID_TEXT_TBX RID_APP_START+11
-#define RID_RECTANGLES RID_APP_START+12
-#define RID_RECTANGLES_TBX RID_APP_START+13
-#define RID_ELLIPSES RID_APP_START+14
-#define RID_ELLIPSES_TBX RID_APP_START+15
-#define RID_LINES RID_APP_START+16
-#define RID_LINES_TBX RID_APP_START+17
-#define RID_3D_OBJECTS RID_APP_START+18
-#define RID_3D_OBJECTS_TBX RID_APP_START+19
-#define RID_INSERT RID_APP_START+20
-#define RID_INSERT_TBX RID_APP_START+21
-#define RID_POSITION RID_APP_START+22
-#define RID_POSITION_TBX RID_APP_START+23
+#define RID_ALIGNMENT_TBX RID_APP_START+5
+#define RID_ZOOM_TBX RID_APP_START+6
+#define RID_CHOOSE_MODE RID_APP_START+7
+#define RID_CHOOSE_MODE_TBX RID_APP_START+8
+
+#define RID_TEXT RID_APP_START+10
+#define RID_TEXT_TBX RID_APP_START+11
+#define RID_RECTANGLES RID_APP_START+12
+#define RID_RECTANGLES_TBX RID_APP_START+13
+#define RID_ELLIPSES RID_APP_START+14
+#define RID_ELLIPSES_TBX RID_APP_START+15
+#define RID_LINES RID_APP_START+16
+#define RID_LINES_TBX RID_APP_START+17
+#define RID_3D_OBJECTS RID_APP_START+18
+#define RID_3D_OBJECTS_TBX RID_APP_START+19
+#define RID_INSERT RID_APP_START+20
+#define RID_INSERT_TBX RID_APP_START+21
+#define RID_POSITION RID_APP_START+22
+#define RID_POSITION_TBX RID_APP_START+23
#define RID_CONNECTORS RID_APP_START+24
#define RID_CONNECTORS_TBX RID_APP_START+25
-#define RID_ARROWS RID_APP_START+26
-#define RID_ARROWS_TBX RID_APP_START+27
+#define RID_ARROWS RID_APP_START+26
+#define RID_ARROWS_TBX RID_APP_START+27
#define RID_DRAW_DOCWINDOWICON RID_APP_START+28
-#define RID_GRAFFILTERS RID_APP_START+29
-#define RID_GRAFFILTERS_TBX RID_APP_START+30
+#define RID_GRAFFILTERS RID_APP_START+29
+#define RID_GRAFFILTERS_TBX RID_APP_START+30
// Bitmaps fuer Tree-ListBox im Effekte-TabDialog
-#define BMP_PAGE RID_APP_START+42
-#define BMP_PAGEOBJS RID_APP_START+43
-#define BMP_OBJECTS RID_APP_START+44
-#define BMP_DOC_OPEN RID_APP_START+45
-#define BMP_DOC_CLOSED RID_APP_START+46
-#define BMP_DOC_TEXT RID_APP_START+47
-#define BMP_OLE RID_APP_START+48
-#define BMP_PAGE_EXCLUDED RID_APP_START+49
+#define BMP_PAGE RID_APP_START+42
+#define BMP_PAGEOBJS RID_APP_START+43
+#define BMP_OBJECTS RID_APP_START+44
+#define BMP_DOC_OPEN RID_APP_START+45
+#define BMP_DOC_CLOSED RID_APP_START+46
+#define BMP_DOC_TEXT RID_APP_START+47
+#define BMP_OLE RID_APP_START+48
+#define BMP_PAGE_EXCLUDED RID_APP_START+49
#define BMP_PAGEOBJS_EXCLUDED RID_APP_START+50
-#define BMP_EXPAND RID_APP_START+51
-#define BMP_COLLAPSE RID_APP_START+52
-#define BMP_GRAPHIC RID_APP_START+53
+#define BMP_EXPAND RID_APP_START+51
+#define BMP_COLLAPSE RID_APP_START+52
+#define BMP_GRAPHIC RID_APP_START+53
// Bimaps fuer ValueSet im EffekteWindow
-#define BMP_EFFECT_NONE RID_APP_START+105
-#define BMP_TEXTEFFECT_DISCARD_FROM_T RID_APP_START+106
-#define BMP_TEXTEFFECT_FADE_FROM_CENTER RID_APP_START+107
-#define BMP_EFFECT_HIDE RID_APP_START+108
-#define BMP_EFFECT_APPEAR RID_APP_START+109
+#define BMP_EFFECT_NONE RID_APP_START+105
+#define BMP_TEXTEFFECT_DISCARD_FROM_T RID_APP_START+106
+#define BMP_TEXTEFFECT_FADE_FROM_CENTER RID_APP_START+107
+#define BMP_EFFECT_HIDE RID_APP_START+108
+#define BMP_EFFECT_APPEAR RID_APP_START+109
// -----------------------------------------------------------------------------
-#define BMP_FOIL_NONE RID_APP_START+120
-#define BMP_GROUP RID_APP_START+121
-#define BMP_WAIT_ICON RID_APP_START+124
+#define BMP_FOIL_NONE RID_APP_START+120
+#define BMP_GROUP RID_APP_START+121
+#define BMP_WAIT_ICON RID_APP_START+124
// -----------------------------------------------------------------------------
// additional effects
-#define BMP_EFFECT_DISCARD_FROM_UL RID_APP_START+130
-#define BMP_EFFECT_DISCARD_FROM_UR RID_APP_START+131
-#define BMP_EFFECT_DISCARD_FROM_LR RID_APP_START+132
-#define BMP_EFFECT_DISCARD_FROM_LL RID_APP_START+133
-#define BMP_EFFECT_DISCARD_S_FROM_L RID_APP_START+134
-#define BMP_EFFECT_DISCARD_S_FROM_UL RID_APP_START+135
-#define BMP_EFFECT_DISCARD_S_FROM_T RID_APP_START+136
-#define BMP_EFFECT_DISCARD_S_FROM_UR RID_APP_START+137
-#define BMP_EFFECT_DISCARD_S_FROM_R RID_APP_START+138
-#define BMP_EFFECT_DISCARD_S_FROM_LR RID_APP_START+139
-#define BMP_EFFECT_DISCARD_S_FROM_B RID_APP_START+140
-#define BMP_EFFECT_DISCARD_S_FROM_LL RID_APP_START+141
-#define BMP_EFFECT_VERTICAL_CHECKERBOARD RID_APP_START+142
-#define BMP_EFFECT_HORIZONTAL_CHECKERBOARD RID_APP_START+143
-#define BMP_EFFECT_STRTCH_FROM_L RID_APP_START+144
-#define BMP_EFFECT_STRTCH_FROM_UL RID_APP_START+145
-#define BMP_EFFECT_STRTCH_FROM_T RID_APP_START+146
-#define BMP_EFFECT_STRTCH_FROM_UR RID_APP_START+147
-#define BMP_EFFECT_STRTCH_FROM_R RID_APP_START+148
-#define BMP_EFFECT_STRTCH_FROM_LR RID_APP_START+149
-#define BMP_EFFECT_STRTCH_FROM_B RID_APP_START+150
-#define BMP_EFFECT_STRTCH_FROM_LL RID_APP_START+151
-
-#define BMP_EFFECT_STRTCH_HORIZONTAL RID_APP_START+152
-#define BMP_EFFECT_STRTCH_VERTICAL RID_APP_START+153
-#define BMP_EFFECT_ROTATE_HORIZONTAL RID_APP_START+154
-#define BMP_EFFECT_ROTATE_VERTICAL RID_APP_START+155
-
-#define BMP_FOIL_21 RID_APP_START+156
-#define BMP_FOIL_22 RID_APP_START+157
-#define BMP_FOIL_23 RID_APP_START+158
-#define BMP_FOIL_24 RID_APP_START+159
-
-#define BMP_EFFECT_UNCOVER_TO_L RID_APP_START+165
-#define BMP_EFFECT_UNCOVER_TO_UL RID_APP_START+166
-#define BMP_EFFECT_UNCOVER_TO_T RID_APP_START+167
-#define BMP_EFFECT_UNCOVER_TO_UR RID_APP_START+168
-#define BMP_EFFECT_UNCOVER_TO_R RID_APP_START+169
-#define BMP_EFFECT_UNCOVER_TO_LR RID_APP_START+170
-#define BMP_EFFECT_UNCOVER_TO_B RID_APP_START+171
-#define BMP_EFFECT_UNCOVER_TO_LL RID_APP_START+172
-
-#define BMP_PAGE_H RID_SD_START+213
-#define BMP_PAGEOBJS_H RID_SD_START+214
-#define BMP_OBJECTS_H RID_SD_START+215
-#define BMP_DOC_OPEN_H RID_SD_START+216
-#define BMP_DOC_CLOSED_H RID_SD_START+217
-#define BMP_DOC_TEXT_H RID_SD_START+218
-#define BMP_OLE_H RID_SD_START+219
-#define BMP_PAGE_EXCLUDED_H RID_SD_START+220
-#define BMP_PAGEOBJS_EXCLUDED_H RID_SD_START+221
-#define BMP_EXPAND_H RID_SD_START+222
-#define BMP_COLLAPSE_H RID_SD_START+223
-#define BMP_GRAPHIC_H RID_SD_START+224
-
-#define BMP_FOIL_NONE_H RID_SD_START+225
-#define BMP_GROUP_H RID_SD_START+226
-#define BMP_WAIT_ICON_H RID_SD_START+229
+#define BMP_EFFECT_DISCARD_FROM_UL RID_APP_START+130
+#define BMP_EFFECT_DISCARD_FROM_UR RID_APP_START+131
+#define BMP_EFFECT_DISCARD_FROM_LR RID_APP_START+132
+#define BMP_EFFECT_DISCARD_FROM_LL RID_APP_START+133
+#define BMP_EFFECT_DISCARD_S_FROM_L RID_APP_START+134
+#define BMP_EFFECT_DISCARD_S_FROM_UL RID_APP_START+135
+#define BMP_EFFECT_DISCARD_S_FROM_T RID_APP_START+136
+#define BMP_EFFECT_DISCARD_S_FROM_UR RID_APP_START+137
+#define BMP_EFFECT_DISCARD_S_FROM_R RID_APP_START+138
+#define BMP_EFFECT_DISCARD_S_FROM_LR RID_APP_START+139
+#define BMP_EFFECT_DISCARD_S_FROM_B RID_APP_START+140
+#define BMP_EFFECT_DISCARD_S_FROM_LL RID_APP_START+141
+#define BMP_EFFECT_VERTICAL_CHECKERBOARD RID_APP_START+142
+#define BMP_EFFECT_HORIZONTAL_CHECKERBOARD RID_APP_START+143
+#define BMP_EFFECT_STRTCH_FROM_L RID_APP_START+144
+#define BMP_EFFECT_STRTCH_FROM_UL RID_APP_START+145
+#define BMP_EFFECT_STRTCH_FROM_T RID_APP_START+146
+#define BMP_EFFECT_STRTCH_FROM_UR RID_APP_START+147
+#define BMP_EFFECT_STRTCH_FROM_R RID_APP_START+148
+#define BMP_EFFECT_STRTCH_FROM_LR RID_APP_START+149
+#define BMP_EFFECT_STRTCH_FROM_B RID_APP_START+150
+#define BMP_EFFECT_STRTCH_FROM_LL RID_APP_START+151
+
+#define BMP_EFFECT_STRTCH_HORIZONTAL RID_APP_START+152
+#define BMP_EFFECT_STRTCH_VERTICAL RID_APP_START+153
+#define BMP_EFFECT_ROTATE_HORIZONTAL RID_APP_START+154
+#define BMP_EFFECT_ROTATE_VERTICAL RID_APP_START+155
+
+#define BMP_FOIL_21 RID_APP_START+156
+#define BMP_FOIL_22 RID_APP_START+157
+#define BMP_FOIL_23 RID_APP_START+158
+#define BMP_FOIL_24 RID_APP_START+159
+
+#define BMP_EFFECT_UNCOVER_TO_L RID_APP_START+165
+#define BMP_EFFECT_UNCOVER_TO_UL RID_APP_START+166
+#define BMP_EFFECT_UNCOVER_TO_T RID_APP_START+167
+#define BMP_EFFECT_UNCOVER_TO_UR RID_APP_START+168
+#define BMP_EFFECT_UNCOVER_TO_R RID_APP_START+169
+#define BMP_EFFECT_UNCOVER_TO_LR RID_APP_START+170
+#define BMP_EFFECT_UNCOVER_TO_B RID_APP_START+171
+#define BMP_EFFECT_UNCOVER_TO_LL RID_APP_START+172
+
+#define BMP_PAGE_H RID_SD_START+213
+#define BMP_PAGEOBJS_H RID_SD_START+214
+#define BMP_OBJECTS_H RID_SD_START+215
+#define BMP_DOC_OPEN_H RID_SD_START+216
+#define BMP_DOC_CLOSED_H RID_SD_START+217
+#define BMP_DOC_TEXT_H RID_SD_START+218
+#define BMP_OLE_H RID_SD_START+219
+#define BMP_PAGE_EXCLUDED_H RID_SD_START+220
+#define BMP_PAGEOBJS_EXCLUDED_H RID_SD_START+221
+#define BMP_EXPAND_H RID_SD_START+222
+#define BMP_COLLAPSE_H RID_SD_START+223
+#define BMP_GRAPHIC_H RID_SD_START+224
+
+#define BMP_FOIL_NONE_H RID_SD_START+225
+#define BMP_GROUP_H RID_SD_START+226
+#define BMP_WAIT_ICON_H RID_SD_START+229
#define BMP_FADE_EFFECT_INDICATOR RID_SD_START+331
#define BMP_FADE_EFFECT_INDICATOR_H RID_SD_START+332
-#define BMP_COMMENTS_INDICATOR RID_SD_START+338
-#define BMP_COMMENTS_INDICATOR_H RID_SD_START+339
-
-#define BMP_LAYOUT_EMPTY RID_SD_START+340
-#define BMP_LAYOUT_EMPTY_H RID_SD_START+341
-#define BMP_LAYOUT_HEAD01 RID_SD_START+342
-#define BMP_LAYOUT_HEAD01_H RID_SD_START+343
-#define BMP_LAYOUT_HEAD02 RID_SD_START+344
-#define BMP_LAYOUT_HEAD02_H RID_SD_START+345
-#define BMP_LAYOUT_HEAD02A RID_SD_START+346
-#define BMP_LAYOUT_HEAD02A_H RID_SD_START+347
-#define BMP_LAYOUT_HEAD02B RID_SD_START+348
-#define BMP_LAYOUT_HEAD02B_H RID_SD_START+349
-#define BMP_LAYOUT_HEAD03 RID_SD_START+350
-#define BMP_LAYOUT_HEAD03_H RID_SD_START+351
-#define BMP_LAYOUT_HEAD03A RID_SD_START+352
-#define BMP_LAYOUT_HEAD03A_H RID_SD_START+353
-#define BMP_LAYOUT_HEAD03B RID_SD_START+354
-#define BMP_LAYOUT_HEAD03B_H RID_SD_START+355
-#define BMP_LAYOUT_HEAD03C RID_SD_START+356
-#define BMP_LAYOUT_HEAD03C_H RID_SD_START+357
-#define BMP_LAYOUT_HEAD04 RID_SD_START+358
-#define BMP_LAYOUT_HEAD04_H RID_SD_START+359
-#define BMP_LAYOUT_HEAD06 RID_SD_START+360
-#define BMP_LAYOUT_HEAD06_H RID_SD_START+361
-#define BMP_LAYOUT_TEXTONLY RID_SD_START+362
-#define BMP_LAYOUT_TEXTONLY_H RID_SD_START+363
-#define BMP_LAYOUT_VERTICAL01 RID_SD_START+364
-#define BMP_LAYOUT_VERTICAL01_H RID_SD_START+365
-#define BMP_LAYOUT_VERTICAL02 RID_SD_START+366
-#define BMP_LAYOUT_VERTICAL02_H RID_SD_START+367
-
-#define BMP_FOILH_01 RID_SD_START+388
-#define BMP_FOILH_01_H RID_SD_START+389
-#define BMP_FOILH_02 RID_SD_START+390
-#define BMP_FOILH_02_H RID_SD_START+391
-#define BMP_FOILH_03 RID_SD_START+392
-#define BMP_FOILH_03_H RID_SD_START+393
-#define BMP_FOILH_04 RID_SD_START+394
-#define BMP_FOILH_04_H RID_SD_START+395
-#define BMP_FOILH_06 RID_SD_START+396
-#define BMP_FOILH_06_H RID_SD_START+397
-#define BMP_FOILH_09 RID_SD_START+398
-#define BMP_FOILH_09_H RID_SD_START+399
-
-#define BMP_FOILN_01 RID_SD_START+400
-#define BMP_FOILN_01_H RID_SD_START+401
-
-#define BMP_PLACEHOLDER_SMALL_START (RID_SD_START+402) // these ids must stay in order!
-#define BMP_PLACEHOLDER_TABLE_SMALL (RID_SD_START+402)
-#define BMP_PLACEHOLDER_CHART_SMALL (RID_SD_START+403)
-#define BMP_PLACEHOLDER_IMAGE_SMALL (RID_SD_START+404)
-#define BMP_PLACEHOLDER_MOVIE_SMALL (RID_SD_START+405)
-#define BMP_PLACEHOLDER_TABLE_SMALL_HOVER (RID_SD_START+406)
-#define BMP_PLACEHOLDER_CHART_SMALL_HOVER (RID_SD_START+407)
-#define BMP_PLACEHOLDER_IMAGE_SMALL_HOVER (RID_SD_START+408)
-#define BMP_PLACEHOLDER_MOVIE_SMALL_HOVER (RID_SD_START+409)
-#define BMP_PLACEHOLDER_SMALL_END (RID_SD_START+410)
-#define BMP_PLACEHOLDER_LARGE_START (RID_SD_START+410)
-#define BMP_PLACEHOLDER_TABLE_LARGE (RID_SD_START+410)
-#define BMP_PLACEHOLDER_CHART_LARGE (RID_SD_START+411)
-#define BMP_PLACEHOLDER_IMAGE_LARGE (RID_SD_START+412)
-#define BMP_PLACEHOLDER_MOVIE_LARGE (RID_SD_START+413)
-#define BMP_PLACEHOLDER_TABLE_LARGE_HOVER (RID_SD_START+414)
-#define BMP_PLACEHOLDER_CHART_LARGE_HOVER (RID_SD_START+415)
-#define BMP_PLACEHOLDER_IMAGE_LARGE_HOVER (RID_SD_START+416)
-#define BMP_PLACEHOLDER_MOVIE_LARGE_HOVER (RID_SD_START+417)
-#define BMP_PLACEHOLDER_LARGE_END (RID_SD_START+418) // until here!
+#define BMP_COMMENTS_INDICATOR RID_SD_START+338
+#define BMP_COMMENTS_INDICATOR_H RID_SD_START+339
+
+#define BMP_LAYOUT_EMPTY RID_SD_START+340
+#define BMP_LAYOUT_EMPTY_H RID_SD_START+341
+#define BMP_LAYOUT_HEAD01 RID_SD_START+342
+#define BMP_LAYOUT_HEAD01_H RID_SD_START+343
+#define BMP_LAYOUT_HEAD02 RID_SD_START+344
+#define BMP_LAYOUT_HEAD02_H RID_SD_START+345
+#define BMP_LAYOUT_HEAD02A RID_SD_START+346
+#define BMP_LAYOUT_HEAD02A_H RID_SD_START+347
+#define BMP_LAYOUT_HEAD02B RID_SD_START+348
+#define BMP_LAYOUT_HEAD02B_H RID_SD_START+349
+#define BMP_LAYOUT_HEAD03 RID_SD_START+350
+#define BMP_LAYOUT_HEAD03_H RID_SD_START+351
+#define BMP_LAYOUT_HEAD03A RID_SD_START+352
+#define BMP_LAYOUT_HEAD03A_H RID_SD_START+353
+#define BMP_LAYOUT_HEAD03B RID_SD_START+354
+#define BMP_LAYOUT_HEAD03B_H RID_SD_START+355
+#define BMP_LAYOUT_HEAD03C RID_SD_START+356
+#define BMP_LAYOUT_HEAD03C_H RID_SD_START+357
+#define BMP_LAYOUT_HEAD04 RID_SD_START+358
+#define BMP_LAYOUT_HEAD04_H RID_SD_START+359
+#define BMP_LAYOUT_HEAD06 RID_SD_START+360
+#define BMP_LAYOUT_HEAD06_H RID_SD_START+361
+#define BMP_LAYOUT_TEXTONLY RID_SD_START+362
+#define BMP_LAYOUT_TEXTONLY_H RID_SD_START+363
+#define BMP_LAYOUT_VERTICAL01 RID_SD_START+364
+#define BMP_LAYOUT_VERTICAL01_H RID_SD_START+365
+#define BMP_LAYOUT_VERTICAL02 RID_SD_START+366
+#define BMP_LAYOUT_VERTICAL02_H RID_SD_START+367
+
+#define BMP_FOILH_01 RID_SD_START+388
+#define BMP_FOILH_01_H RID_SD_START+389
+#define BMP_FOILH_02 RID_SD_START+390
+#define BMP_FOILH_02_H RID_SD_START+391
+#define BMP_FOILH_03 RID_SD_START+392
+#define BMP_FOILH_03_H RID_SD_START+393
+#define BMP_FOILH_04 RID_SD_START+394
+#define BMP_FOILH_04_H RID_SD_START+395
+#define BMP_FOILH_06 RID_SD_START+396
+#define BMP_FOILH_06_H RID_SD_START+397
+#define BMP_FOILH_09 RID_SD_START+398
+#define BMP_FOILH_09_H RID_SD_START+399
+
+#define BMP_FOILN_01 RID_SD_START+400
+#define BMP_FOILN_01_H RID_SD_START+401
+
+#define BMP_PLACEHOLDER_SMALL_START (RID_SD_START+402) // these ids must stay in order!
+#define BMP_PLACEHOLDER_TABLE_SMALL (RID_SD_START+402)
+#define BMP_PLACEHOLDER_CHART_SMALL (RID_SD_START+403)
+#define BMP_PLACEHOLDER_IMAGE_SMALL (RID_SD_START+404)
+#define BMP_PLACEHOLDER_MOVIE_SMALL (RID_SD_START+405)
+#define BMP_PLACEHOLDER_TABLE_SMALL_HOVER (RID_SD_START+406)
+#define BMP_PLACEHOLDER_CHART_SMALL_HOVER (RID_SD_START+407)
+#define BMP_PLACEHOLDER_IMAGE_SMALL_HOVER (RID_SD_START+408)
+#define BMP_PLACEHOLDER_MOVIE_SMALL_HOVER (RID_SD_START+409)
+#define BMP_PLACEHOLDER_SMALL_END (RID_SD_START+410)
+#define BMP_PLACEHOLDER_LARGE_START (RID_SD_START+410)
+#define BMP_PLACEHOLDER_TABLE_LARGE (RID_SD_START+410)
+#define BMP_PLACEHOLDER_CHART_LARGE (RID_SD_START+411)
+#define BMP_PLACEHOLDER_IMAGE_LARGE (RID_SD_START+412)
+#define BMP_PLACEHOLDER_MOVIE_LARGE (RID_SD_START+413)
+#define BMP_PLACEHOLDER_TABLE_LARGE_HOVER (RID_SD_START+414)
+#define BMP_PLACEHOLDER_CHART_LARGE_HOVER (RID_SD_START+415)
+#define BMP_PLACEHOLDER_IMAGE_LARGE_HOVER (RID_SD_START+416)
+#define BMP_PLACEHOLDER_MOVIE_LARGE_HOVER (RID_SD_START+417)
+#define BMP_PLACEHOLDER_LARGE_END (RID_SD_START+418) // until here!
// -----------------------------------------------------------------------------
-#define IMG_PIPETTE_H RID_APP_START+21
-#define IMG_GET1OBJECT_H RID_APP_START+22
-#define IMG_GETALLOBJECT_H RID_APP_START+23
-#define IMG_REMOVEBMP_H RID_APP_START+24
-#define IMG_REMOVEALLBMP_H RID_APP_START+25
+#define IMG_PIPETTE_H RID_APP_START+21
+#define IMG_GET1OBJECT_H RID_APP_START+22
+#define IMG_GETALLOBJECT_H RID_APP_START+23
+#define IMG_REMOVEBMP_H RID_APP_START+24
+#define IMG_REMOVEALLBMP_H RID_APP_START+25
/*
- * ResourceIDs fuer Popup-Menues brauchen keinen Dummy-String !!!
+ * ResourceIDs fuer Popup-Menues brauchen keinen Dummy-String !!!
*/
-#define RID_DRAW_TEXTOBJ_POPUP RID_APP_START+43
-#define RID_DRAW_GEOMOBJ_POPUP RID_APP_START+44
-#define RID_DRAW_NOSEL_POPUP RID_APP_START+45
-#define RID_SLIDE_SORTER_IMPRESS_SEL_POPUP RID_APP_START+46
-#define RID_BEZIER_POPUP RID_APP_START+47
-#define RID_DRAW_LINEOBJ_POPUP RID_APP_START+48
-#define RID_DRAW_MULTISELECTION_POPUP RID_APP_START+49
-#define RID_DRAW_PAGETAB_POPUP RID_APP_START+50
-#define RID_LAYERTAB_POPUP RID_APP_START+51
-#define RID_DRAW_GRAPHIC_POPUP RID_APP_START+52
-#define RID_DRAW_OLE2_POPUP RID_APP_START+53
-#define RID_DRAW_TEXTOBJ_INSIDE_POPUP RID_APP_START+54
+#define RID_DRAW_TEXTOBJ_POPUP RID_APP_START+43
+#define RID_DRAW_GEOMOBJ_POPUP RID_APP_START+44
+#define RID_DRAW_NOSEL_POPUP RID_APP_START+45
+#define RID_SLIDE_SORTER_IMPRESS_SEL_POPUP RID_APP_START+46
+#define RID_BEZIER_POPUP RID_APP_START+47
+#define RID_DRAW_LINEOBJ_POPUP RID_APP_START+48
+#define RID_DRAW_MULTISELECTION_POPUP RID_APP_START+49
+#define RID_DRAW_PAGETAB_POPUP RID_APP_START+50
+#define RID_LAYERTAB_POPUP RID_APP_START+51
+#define RID_DRAW_GRAPHIC_POPUP RID_APP_START+52
+#define RID_DRAW_OLE2_POPUP RID_APP_START+53
+#define RID_DRAW_TEXTOBJ_INSIDE_POPUP RID_APP_START+54
#define RID_SLIDE_SORTER_IMPRESS_NOSEL_POPUP RID_APP_START+55
-#define RID_OUTLINE_POPUP RID_APP_START+56
-#define RID_MASTERPAGE_POPUP RID_APP_START+57
-#define RID_DRAW_GROUPOBJ_POPUP RID_APP_START+58
-#define RID_DRAW_3DOBJ_POPUP RID_APP_START+59
-#define RID_DRAW_MEASUREOBJ_POPUP RID_APP_START+60
-#define RID_DRAW_EDGEOBJ_POPUP RID_APP_START+61
-#define RID_DRAW_BMP_CONVERT_POPUP RID_APP_START+62
-#define RID_DRAW_POLYLINEOBJ_POPUP RID_APP_START+63
-#define RID_DRAW_3DSCENE_POPUP RID_APP_START+64
-#define RID_DRAW_3DSCENE2_POPUP RID_APP_START+65
-#define RID_DRAW_CUSTOMSHAPE_POPUP RID_APP_START+66
-#define RID_TASKPANE_MASTERPAGESSELECTOR_POPUP RID_APP_START+67
-#define RID_TASKPANE_LAYOUTMENU_POPUP RID_APP_START+68
-#define RID_DRAW_MEDIA_POPUP RID_APP_START+69
+#define RID_OUTLINE_POPUP RID_APP_START+56
+#define RID_MASTERPAGE_POPUP RID_APP_START+57
+#define RID_DRAW_GROUPOBJ_POPUP RID_APP_START+58
+#define RID_DRAW_3DOBJ_POPUP RID_APP_START+59
+#define RID_DRAW_MEASUREOBJ_POPUP RID_APP_START+60
+#define RID_DRAW_EDGEOBJ_POPUP RID_APP_START+61
+#define RID_DRAW_BMP_CONVERT_POPUP RID_APP_START+62
+#define RID_DRAW_POLYLINEOBJ_POPUP RID_APP_START+63
+#define RID_DRAW_3DSCENE_POPUP RID_APP_START+64
+#define RID_DRAW_3DSCENE2_POPUP RID_APP_START+65
+#define RID_DRAW_CUSTOMSHAPE_POPUP RID_APP_START+66
+#define RID_TASKPANE_MASTERPAGESSELECTOR_POPUP RID_APP_START+67
+#define RID_TASKPANE_LAYOUTMENU_POPUP RID_APP_START+68
+#define RID_DRAW_MEDIA_POPUP RID_APP_START+69
// Draw (Graphic)
-#define RID_GRAPHIC_TEXTOBJ_POPUP RID_APP_START+70
-#define RID_GRAPHIC_GEOMOBJ_POPUP RID_APP_START+71
-#define RID_GRAPHIC_NOSEL_POPUP RID_APP_START+72
-#define RID_GRAPHIC_LINEOBJ_POPUP RID_APP_START+73
-#define RID_GRAPHIC_MULTISELECTION_POPUP RID_APP_START+74
-#define RID_GRAPHIC_PAGETAB_POPUP RID_APP_START+75
-#define RID_GRAPHIC_GRAPHIC_POPUP RID_APP_START+76
-#define RID_GRAPHIC_OLE2_POPUP RID_APP_START+77
-#define RID_GRAPHIC_GROUPOBJ_POPUP RID_APP_START+78
-#define RID_GRAPHIC_3DOBJ_POPUP RID_APP_START+79
-#define RID_GRAPHIC_MEASUREOBJ_POPUP RID_APP_START+80
-#define RID_GRAPHIC_EDGEOBJ_POPUP RID_APP_START+81
-#define RID_GRAPHIC_POLYLINEOBJ_POPUP RID_APP_START+82
-#define RID_GRAPHIC_3DSCENE_POPUP RID_APP_START+83
-#define RID_GRAPHIC_3DSCENE2_POPUP RID_APP_START+84
-#define RID_GRAPHIC_CUSTOMSHAPE_POPUP RID_APP_START+85
-#define RID_GRAPHIC_MEDIA_POPUP RID_APP_START+86
+#define RID_GRAPHIC_TEXTOBJ_POPUP RID_APP_START+70
+#define RID_GRAPHIC_GEOMOBJ_POPUP RID_APP_START+71
+#define RID_GRAPHIC_NOSEL_POPUP RID_APP_START+72
+#define RID_GRAPHIC_LINEOBJ_POPUP RID_APP_START+73
+#define RID_GRAPHIC_MULTISELECTION_POPUP RID_APP_START+74
+#define RID_GRAPHIC_PAGETAB_POPUP RID_APP_START+75
+#define RID_GRAPHIC_GRAPHIC_POPUP RID_APP_START+76
+#define RID_GRAPHIC_OLE2_POPUP RID_APP_START+77
+#define RID_GRAPHIC_GROUPOBJ_POPUP RID_APP_START+78
+#define RID_GRAPHIC_3DOBJ_POPUP RID_APP_START+79
+#define RID_GRAPHIC_MEASUREOBJ_POPUP RID_APP_START+80
+#define RID_GRAPHIC_EDGEOBJ_POPUP RID_APP_START+81
+#define RID_GRAPHIC_POLYLINEOBJ_POPUP RID_APP_START+82
+#define RID_GRAPHIC_3DSCENE_POPUP RID_APP_START+83
+#define RID_GRAPHIC_3DSCENE2_POPUP RID_APP_START+84
+#define RID_GRAPHIC_CUSTOMSHAPE_POPUP RID_APP_START+85
+#define RID_GRAPHIC_MEDIA_POPUP RID_APP_START+86
#define RID_SLIDE_SORTER_DRAW_SEL_POPUP RID_APP_START+87
#define RID_SLIDE_SORTER_DRAW_NOSEL_POPUP RID_APP_START+88
#define RID_SLIDE_SORTER_MASTER_SEL_POPUP RID_APP_START+89
#define RID_SLIDE_SORTER_MASTER_NOSEL_POPUP RID_APP_START+90
-#define RID_DRAW_TABLE_POPUP RID_APP_START+91
-#define RID_GRAPHIC_TABLE_POPUP RID_APP_START+92
+#define RID_DRAW_TABLE_POPUP RID_APP_START+91
+#define RID_GRAPHIC_TABLE_POPUP RID_APP_START+92
-#define RID_TASKPANE_CURRENT_MASTERPAGESSELECTOR_POPUP RID_APP_START+93
+#define RID_TASKPANE_CURRENT_MASTERPAGESSELECTOR_POPUP RID_APP_START+93
-#define RID_DRAW_TABLEOBJ_INSIDE_POPUP RID_APP_START+94
+#define RID_DRAW_TABLEOBJ_INSIDE_POPUP RID_APP_START+94
-#define RID_DRAW_OUTLINETEXTOBJ_POPUP RID_APP_START+95
-#define RID_GRAPHIC_OUTLINETEXTOBJ_POPUP RID_APP_START+96
+#define RID_DRAW_OUTLINETEXTOBJ_POPUP RID_APP_START+95
+#define RID_GRAPHIC_OUTLINETEXTOBJ_POPUP RID_APP_START+96
/*
* Pointer (Mauszeiger)
*/
-#define PTR_WATERCAN RID_APP_START+100
-#define PTR_PENCIL RID_APP_START+101
+#define PTR_WATERCAN RID_APP_START+100
+#define PTR_PENCIL RID_APP_START+101
/*
* Globale Dialog-IDs
*/
-#define DLG_FONTWORK RID_APP_START+150
+#define DLG_FONTWORK RID_APP_START+150
/*
- * ResourceIDs fuer Toolboxen nicht aendern, ohne die Strings in
- * strings.hrc auf die selben IDs zu setzen (eine Toolbox und sein
- * Konfigurationsstring muessen dieselbe ResourceID haben!).
+ * ResourceIDs fuer Toolboxen nicht aendern, ohne die Strings in
+ * strings.hrc auf die selben IDs zu setzen (eine Toolbox und sein
+ * Konfigurationsstring muessen dieselbe ResourceID haben!).
*/
// --> Jetzt in cfgids.hxx
/*
-#define _RID_DRAW_TOOLBOX RID_APP_START+200
-#define _RID_SLIDE_TOOLBOX RID_APP_START+201
-#define _RID_DRAW_OBJ_TOOLBOX RID_APP_START+202
-#define _RID_SLIDE_OBJ_TOOLBOX RID_APP_START+203
-#define _RID_BEZIER_TOOLBOX RID_APP_START+204
-#define _RID_TEXT_TOOLBOX RID_APP_START+205
-#define _RID_OUTLINE_TOOLBOX RID_APP_START+206
-#define _RID_DRAW_POLYLINEOBJ_POPUP RID_APP_START+207
-#define _RID_GLUEPOINTS_TOOLBOX RID_APP_START+208
+#define _RID_DRAW_TOOLBOX RID_APP_START+200
+#define _RID_SLIDE_TOOLBOX RID_APP_START+201
+#define _RID_DRAW_OBJ_TOOLBOX RID_APP_START+202
+#define _RID_SLIDE_OBJ_TOOLBOX RID_APP_START+203
+#define _RID_BEZIER_TOOLBOX RID_APP_START+204
+#define _RID_TEXT_TOOLBOX RID_APP_START+205
+#define _RID_OUTLINE_TOOLBOX RID_APP_START+206
+#define _RID_DRAW_POLYLINEOBJ_POPUP RID_APP_START+207
+#define _RID_GLUEPOINTS_TOOLBOX RID_APP_START+208
*/
-#define RID_DRAW_SNAPOBJECT_POPUP RID_APP_START+390
-#define RID_DRAW_GLUEPOINT_POPUP RID_APP_START+392
-#define RID_DRAW_CONTROL_POPUP RID_APP_START+393
-#define RID_FORM_CONTROL_POPUP RID_APP_START+394
+#define RID_DRAW_SNAPOBJECT_POPUP RID_APP_START+390
+#define RID_DRAW_GLUEPOINT_POPUP RID_APP_START+392
+#define RID_DRAW_CONTROL_POPUP RID_APP_START+393
+#define RID_FORM_CONTROL_POPUP RID_APP_START+394
-#define RID_GRAPHICSTYLEFAMILY RID_APP_START+395
-#define RID_PRESENTATIONSTYLEFAMILY RID_APP_START+396
-#define RID_GRAPHICSCELLFAMILY RID_APP_START+397
+#define RID_GRAPHICSTYLEFAMILY RID_APP_START+395
+#define RID_PRESENTATIONSTYLEFAMILY RID_APP_START+396
+#define RID_GRAPHICSCELLFAMILY RID_APP_START+397
diff --git a/sd/source/ui/inc/sdpopup.hxx b/sd/source/ui/inc/sdpopup.hxx
index 38bdbdbb05b4..8e41835e67ac 100644
--- a/sd/source/ui/inc/sdpopup.hxx
+++ b/sd/source/ui/inc/sdpopup.hxx
@@ -2,7 +2,7 @@
/*************************************************************************
*
* 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
@@ -44,21 +44,21 @@ class SvxFieldData;
class SdFieldPopup : public PopupMenu
{
private:
- const SvxFieldData* pField;
+ const SvxFieldData* pField;
- void Fill( LanguageType eLanguage );
+ void Fill( LanguageType eLanguage );
public:
SdFieldPopup( const SvxFieldData* pInField, LanguageType eLanguage );
~SdFieldPopup();
- //virtual void Select();
+ //virtual void Select();
- SvxFieldData* GetField();
+ SvxFieldData* GetField();
};
-#endif // _SD_SDPOPUP_HXX
+#endif // _SD_SDPOPUP_HXX
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/sd/source/ui/inc/sdpreslt.hrc b/sd/source/ui/inc/sdpreslt.hrc
index 19c3ded484fb..a93c5ac6cacf 100644
--- a/sd/source/ui/inc/sdpreslt.hrc
+++ b/sd/source/ui/inc/sdpreslt.hrc
@@ -1,7 +1,7 @@
/*************************************************************************
*
* 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
diff --git a/sd/source/ui/inc/sdpreslt.hxx b/sd/source/ui/inc/sdpreslt.hxx
index 95b89bb6c9f4..a1df1b62596e 100644
--- a/sd/source/ui/inc/sdpreslt.hxx
+++ b/sd/source/ui/inc/sdpreslt.hxx
@@ -2,7 +2,7 @@
/*************************************************************************
*
* 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
@@ -43,13 +43,13 @@ class ViewShell;
-class SdPresLayoutDlg
+class SdPresLayoutDlg
: public ModalDialog
{
public:
SdPresLayoutDlg(
- ::sd::DrawDocShell* pDocShell,
- ::sd::ViewShell* pViewShell,
+ ::sd::DrawDocShell* pDocShell,
+ ::sd::ViewShell* pViewShell,
::Window* pWindow,
const SfxItemSet& rInAttrs);
@@ -62,26 +62,26 @@ public:
private:
::sd::DrawDocShell* mpDocSh;
- ::sd::ViewShell* mpViewSh;
- FixedText maFtLayout;
+ ::sd::ViewShell* mpViewSh;
+ FixedText maFtLayout;
ValueSet maVS;
- OKButton maBtnOK;
- CancelButton maBtnCancel;
- HelpButton maBtnHelp;
- CheckBox maCbxMasterPage;
- CheckBox maCbxCheckMasters;
+ OKButton maBtnOK;
+ CancelButton maBtnCancel;
+ HelpButton maBtnHelp;
+ CheckBox maCbxMasterPage;
+ CheckBox maCbxCheckMasters;
PushButton maBtnLoad;
- const SfxItemSet& mrOutAttrs;
+ const SfxItemSet& mrOutAttrs;
List* mpLayoutNames;
String maName; // Layoutname oder Dateiname
- long mnLayoutCount; // Anzahl, der im Dokument vorhandenen MasterPages
- const String maStrNone;
+ long mnLayoutCount; // Anzahl, der im Dokument vorhandenen MasterPages
+ const String maStrNone;
void FillValueSet();
- void Reset();
+ void Reset();
};
#endif
diff --git a/sd/source/ui/inc/sdstring.hrc b/sd/source/ui/inc/sdstring.hrc
index 0646da058faf..e9194a7be159 100644
--- a/sd/source/ui/inc/sdstring.hrc
+++ b/sd/source/ui/inc/sdstring.hrc
@@ -1,7 +1,7 @@
/*************************************************************************
*
* 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
@@ -25,11 +25,11 @@
*
************************************************************************/
#include <sfx2/sfx.hrc>
-#define SID_SD_STRING_START RID_APP_START+300
+#define SID_SD_STRING_START RID_APP_START+300
// Texts for search and replace info and question boxes.
#define STR_SAR_NOT_FOUND SID_SD_STRING_START+23
#define STR_SAR_WRAP_FORWARD SID_SD_STRING_START+24
#define STR_SAR_WRAP_BACKWARD SID_SD_STRING_START+25
-#define STR_SAR_WRAP_FORWARD_DRAW SID_SD_STRING_START+26
+#define STR_SAR_WRAP_FORWARD_DRAW SID_SD_STRING_START+26
#define STR_SAR_WRAP_BACKWARD_DRAW SID_SD_STRING_START+27
diff --git a/sd/source/ui/inc/sdtreelb.hxx b/sd/source/ui/inc/sdtreelb.hxx
index 06cd1f57814d..9f5919fe5342 100644
--- a/sd/source/ui/inc/sdtreelb.hxx
+++ b/sd/source/ui/inc/sdtreelb.hxx
@@ -2,7 +2,7 @@
/*************************************************************************
*
* 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
@@ -66,7 +66,7 @@ SV_DECL_REF(DrawDocShell)
class SD_DLLPUBLIC SdPageObjsTLB : public SvTreeListBox
{
private:
-
+
static BOOL SD_DLLPRIVATE bIsInDrag; // static, falls der Navigator im ExecuteDrag geloescht wird
public:
@@ -75,15 +75,15 @@ public:
class SdPageObjsTransferable : public SdTransferable
{
public:
- SdPageObjsTransferable(
- SdPageObjsTLB& rParent,
+ SdPageObjsTransferable(
+ SdPageObjsTLB& rParent,
const INetBookmark& rBookmark,
::sd::DrawDocShell& rDocShell,
NavigatorDragType eDragType,
const ::com::sun::star::uno::Any& rTreeListBoxData );
::sd::DrawDocShell& GetDocShell() const;
NavigatorDragType GetDragType() const;
-
+
static const ::com::sun::star::uno::Sequence< sal_Int8 >& getUnoTunnelId();
static SdPageObjsTransferable* getImplementation( const ::com::sun::star::uno::Reference< ::com::sun::star::uno::XInterface >& rxData ) throw();
/** Return a temporary transferable data flavor that is used
@@ -91,24 +91,24 @@ public:
lifetime ends with the office application.
*/
static sal_uInt32 GetListBoxDropFormatId (void);
-
+
private:
/** Temporary drop flavor id that is used internally in the
navigator.
*/
static sal_uInt32 mnListBoxDropFormatId;
- SdPageObjsTLB& mrParent;
- INetBookmark maBookmark;
+ SdPageObjsTLB& mrParent;
+ INetBookmark maBookmark;
::sd::DrawDocShell& mrDocShell;
NavigatorDragType meDragType;
const ::com::sun::star::uno::Any maTreeListBoxData;
- SD_DLLPRIVATE virtual ~SdPageObjsTransferable();
-
- SD_DLLPRIVATE virtual void AddSupportedFormats();
- SD_DLLPRIVATE virtual sal_Bool GetData( const ::com::sun::star::datatransfer::DataFlavor& rFlavor );
- SD_DLLPRIVATE virtual void DragFinished( sal_Int8 nDropAction );
+ SD_DLLPRIVATE virtual ~SdPageObjsTransferable();
+
+ SD_DLLPRIVATE virtual void AddSupportedFormats();
+ SD_DLLPRIVATE virtual sal_Bool GetData( const ::com::sun::star::datatransfer::DataFlavor& rFlavor );
+ SD_DLLPRIVATE virtual void DragFinished( sal_Int8 nDropAction );
SD_DLLPRIVATE virtual sal_Int64 SAL_CALL getSomething( const ::com::sun::star::uno::Sequence< sal_Int8 >& rId ) throw( ::com::sun::star::uno::RuntimeException );
};
@@ -127,35 +127,35 @@ public:
bool PageBelongsToCurrentShow (const SdPage* pPage) const;
protected:
-
- Window* mpParent;
- const SdDrawDocument* mpDoc;
- SdDrawDocument* mpBookmarkDoc;
- SfxMedium* mpMedium;
- SfxMedium* mpOwnMedium;
- Image maImgOle;
- Image maImgGraphic;
- Image maImgOleH;
- Image maImgGraphicH;
+
+ Window* mpParent;
+ const SdDrawDocument* mpDoc;
+ SdDrawDocument* mpBookmarkDoc;
+ SfxMedium* mpMedium;
+ SfxMedium* mpOwnMedium;
+ Image maImgOle;
+ Image maImgGraphic;
+ Image maImgOleH;
+ Image maImgGraphicH;
BOOL mbLinkableSelected;
- BOOL mbDragEnabled;
- String maDocName;
- ::sd::DrawDocShellRef mxBookmarkDocShRef; // Zum Laden von Bookmarks
- ::sd::DrawDocShell* mpDropDocSh;
- SdNavigatorWin* mpDropNavWin;
+ BOOL mbDragEnabled;
+ String maDocName;
+ ::sd::DrawDocShellRef mxBookmarkDocShRef; // Zum Laden von Bookmarks
+ ::sd::DrawDocShell* mpDropDocSh;
+ SdNavigatorWin* mpDropNavWin;
SfxViewFrame* mpFrame;
- // DragSourceHelper
- virtual void StartDrag( sal_Int8 nAction, const Point& rPosPixel );
+ // DragSourceHelper
+ virtual void StartDrag( sal_Int8 nAction, const Point& rPosPixel );
// DropTargetHelper
- virtual sal_Int8 AcceptDrop( const AcceptDropEvent& rEvt );
- virtual sal_Int8 ExecuteDrop( const ExecuteDropEvent& rEvt );
-
- virtual void RequestingChilds( SvLBoxEntry* pParent );
+ virtual sal_Int8 AcceptDrop( const AcceptDropEvent& rEvt );
+ virtual sal_Int8 ExecuteDrop( const ExecuteDropEvent& rEvt );
+ virtual void RequestingChilds( SvLBoxEntry* pParent );
+
void DoDrag();
- void OnDragFinished( sal_uInt8 nDropAction );
+ void OnDragFinished( sal_uInt8 nDropAction );
/** Return the name of the object. When the object has no user supplied
name and the bCreate flag is <TRUE/> then a name is created
@@ -173,7 +173,7 @@ protected:
String GetObjectName (
const SdrObject* pObject,
const bool bCreate = true) const;
- void CloseBookmarkDoc();
+ void CloseBookmarkDoc();
DECL_STATIC_LINK(SdPageObjsTLB, ExecDragHdl, void*);
/** Handle the reordering of entries in the navigator. This method
@@ -184,37 +184,37 @@ protected:
SvLBoxEntry* pTarget,
SvLBoxEntry* pEntry,
SvLBoxEntry*& rpNewParent,
- ULONG& rNewChildPos);
-
+ ULONG& rNewChildPos);
+
using Window::GetDropTarget;
virtual SvLBoxEntry* GetDropTarget (const Point& rLocation);
public:
-
+
SdPageObjsTLB( Window* pParent, const SdResId& rSdResId );
~SdPageObjsTLB();
- virtual void SelectHdl();
- virtual void KeyInput( const KeyEvent& rKEvt );
-
- void SetViewFrame( SfxViewFrame* pViewFrame ) { mpFrame = pViewFrame; }
- SfxViewFrame* GetViewFrame() const { return mpFrame; }
-
- void Fill( const SdDrawDocument*, BOOL bAllPages, const String& rDocName );
- void Fill( const SdDrawDocument*, SfxMedium* pSfxMedium, const String& rDocName );
+ virtual void SelectHdl();
+ virtual void KeyInput( const KeyEvent& rKEvt );
+
+ void SetViewFrame( SfxViewFrame* pViewFrame ) { mpFrame = pViewFrame; }
+ SfxViewFrame* GetViewFrame() const { return mpFrame; }
+
+ void Fill( const SdDrawDocument*, BOOL bAllPages, const String& rDocName );
+ void Fill( const SdDrawDocument*, SfxMedium* pSfxMedium, const String& rDocName );
void SetShowAllShapes (const bool bShowAllShapes, const bool bFill);
bool GetShowAllShapes (void) const;
- BOOL IsEqualToDoc( const SdDrawDocument* pInDoc = NULL );
- BOOL HasSelectedChilds( const String& rName );
- BOOL SelectEntry( const String& rName );
- String GetSelectEntry();
- List* GetSelectEntryList( USHORT nDepth );
- SdDrawDocument* GetBookmarkDoc(SfxMedium* pMedium = NULL);
- ::sd::DrawDocShell* GetDropDocSh() { return(mpDropDocSh); }
-
+ BOOL IsEqualToDoc( const SdDrawDocument* pInDoc = NULL );
+ BOOL HasSelectedChilds( const String& rName );
+ BOOL SelectEntry( const String& rName );
+ String GetSelectEntry();
+ List* GetSelectEntryList( USHORT nDepth );
+ SdDrawDocument* GetBookmarkDoc(SfxMedium* pMedium = NULL);
+ ::sd::DrawDocShell* GetDropDocSh() { return(mpDropDocSh); }
+
BOOL IsLinkableSelected() const { return mbLinkableSelected; }
-
- static BOOL IsInDrag();
+
+ static BOOL IsInDrag();
using SvLBox::ExecuteDrop;
private:
@@ -267,6 +267,6 @@ private:
SdrObject& rObject) const;
};
-#endif // _SDTREELB_HXX
+#endif // _SDTREELB_HXX
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/sd/source/ui/inc/sdundogr.hxx b/sd/source/ui/inc/sdundogr.hxx
index fdc2c3c2abc7..38d9c0334e0b 100644
--- a/sd/source/ui/inc/sdundogr.hxx
+++ b/sd/source/ui/inc/sdundogr.hxx
@@ -2,7 +2,7 @@
/*************************************************************************
*
* 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
@@ -35,24 +35,24 @@
class SD_DLLPUBLIC SdUndoGroup : public SdUndoAction
{
- Container aCtn;
+ Container aCtn;
public:
TYPEINFO();
SdUndoGroup(SdDrawDocument* pSdDrawDocument)
: SdUndoAction(pSdDrawDocument),
aCtn(16, 16, 16) {}
- virtual ~SdUndoGroup();
+ virtual ~SdUndoGroup();
virtual BOOL Merge( SfxUndoAction* pNextAction );
virtual void Undo();
virtual void Redo();
- void AddAction(SdUndoAction* pAction);
- ULONG Count() const { return aCtn.Count(); }
+ void AddAction(SdUndoAction* pAction);
+ ULONG Count() const { return aCtn.Count(); }
};
-#endif // _SD_SDUNDOGR_HXX
+#endif // _SD_SDUNDOGR_HXX
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/sd/source/ui/inc/sdxfer.hxx b/sd/source/ui/inc/sdxfer.hxx
index 749c7b4fede4..94a8fc74688f 100644
--- a/sd/source/ui/inc/sdxfer.hxx
+++ b/sd/source/ui/inc/sdxfer.hxx
@@ -2,7 +2,7 @@
/*************************************************************************
*
* 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
@@ -60,79 +60,79 @@ public:
void SetDocShell( const SfxObjectShellRef& rRef ) { maDocShellRef = rRef; }
const SfxObjectShellRef& GetDocShell() const { return maDocShellRef; }
- void SetWorkDocument( const SdDrawDocument* pWorkDoc ) { mpSdDrawDocument = mpSdDrawDocumentIntern = (SdDrawDocument*) pWorkDoc; }
- const SdDrawDocument* GetWorkDocument() const { return mpSdDrawDocument; }
+ void SetWorkDocument( const SdDrawDocument* pWorkDoc ) { mpSdDrawDocument = mpSdDrawDocumentIntern = (SdDrawDocument*) pWorkDoc; }
+ const SdDrawDocument* GetWorkDocument() const { return mpSdDrawDocument; }
- void SetView( const ::sd::View* pView ) { mpSdView = pView; }
- const ::sd::View* GetView() const { return mpSdView; }
+ void SetView( const ::sd::View* pView ) { mpSdView = pView; }
+ const ::sd::View* GetView() const { return mpSdView; }
- void SetObjectDescriptor( const TransferableObjectDescriptor& rObjDesc );
+ void SetObjectDescriptor( const TransferableObjectDescriptor& rObjDesc );
- void SetStartPos( const Point& rStartPos ) { maStartPos = rStartPos; }
- const Point& GetStartPos() const { return maStartPos; }
+ void SetStartPos( const Point& rStartPos ) { maStartPos = rStartPos; }
+ const Point& GetStartPos() const { return maStartPos; }
- void SetInternalMove( BOOL bSet ) { mbInternalMove = bSet; }
- BOOL IsInternalMove() const { return mbInternalMove; }
+ void SetInternalMove( BOOL bSet ) { mbInternalMove = bSet; }
+ BOOL IsInternalMove() const { return mbInternalMove; }
- BOOL HasSourceDoc( const SdDrawDocument* pDoc ) const { return( mpSourceDoc == pDoc ); }
+ BOOL HasSourceDoc( const SdDrawDocument* pDoc ) const { return( mpSourceDoc == pDoc ); }
- void SetPageBookmarks( const List& rPageBookmarks, BOOL bPersistent );
+ void SetPageBookmarks( const List& rPageBookmarks, BOOL bPersistent );
BOOL IsPageTransferable() const { return mbPageTransferable; }
BOOL HasPageBookmarks() const { return( mpPageDocShell && ( maPageBookmarks.Count() > 0 ) ); }
const List& GetPageBookmarks() const { return maPageBookmarks; }
- ::sd::DrawDocShell* GetPageDocShell() const { return mpPageDocShell; }
+ ::sd::DrawDocShell* GetPageDocShell() const { return mpPageDocShell; }
- sal_Bool SetTableRTF( SdDrawDocument*, const ::com::sun::star::datatransfer::DataFlavor& );
+ sal_Bool SetTableRTF( SdDrawDocument*, const ::com::sun::star::datatransfer::DataFlavor& );
static const ::com::sun::star::uno::Sequence< sal_Int8 >& getUnoTunnelId();
static SdTransferable* getImplementation( const ::com::sun::star::uno::Reference< ::com::sun::star::uno::XInterface >& rxData ) throw();
// SfxListener
- virtual void Notify( SfxBroadcaster& rBC, const SfxHint& rHint );
+ virtual void Notify( SfxBroadcaster& rBC, const SfxHint& rHint );
protected:
- virtual void AddSupportedFormats();
- virtual sal_Bool GetData( const ::com::sun::star::datatransfer::DataFlavor& rFlavor );
- virtual sal_Bool WriteObject( SotStorageStreamRef& rxOStm, void* pUserObject, sal_uInt32 nUserObjectId, const ::com::sun::star::datatransfer::DataFlavor& rFlavor );
- virtual void DragFinished( sal_Int8 nDropAction );
- virtual void ObjectReleased();
+ virtual void AddSupportedFormats();
+ virtual sal_Bool GetData( const ::com::sun::star::datatransfer::DataFlavor& rFlavor );
+ virtual sal_Bool WriteObject( SotStorageStreamRef& rxOStm, void* pUserObject, sal_uInt32 nUserObjectId, const ::com::sun::star::datatransfer::DataFlavor& rFlavor );
+ virtual void DragFinished( sal_Int8 nDropAction );
+ virtual void ObjectReleased();
virtual sal_Int64 SAL_CALL getSomething( const ::com::sun::star::uno::Sequence< sal_Int8 >& rId ) throw( ::com::sun::star::uno::RuntimeException );
private:
- SfxObjectShellRef maDocShellRef;
- ::sd::DrawDocShell* mpPageDocShell;
+ SfxObjectShellRef maDocShellRef;
+ ::sd::DrawDocShell* mpPageDocShell;
List maPageBookmarks;
- TransferableDataHelper* mpOLEDataHelper;
- TransferableObjectDescriptor* mpObjDesc;
- const ::sd::View* mpSdView;
- ::sd::View* mpSdViewIntern;
- SdDrawDocument* mpSdDrawDocument;
- SdDrawDocument* mpSdDrawDocumentIntern;
- SdDrawDocument* mpSourceDoc;
- VirtualDevice* mpVDev;
- INetBookmark* mpBookmark;
- Graphic* mpGraphic;
- ImageMap* mpImageMap;
- Rectangle maVisArea;
- Point maStartPos;
- BOOL mbInternalMove : 1;
- BOOL mbOwnDocument : 1;
- BOOL mbOwnView : 1;
- BOOL mbLateInit : 1;
+ TransferableDataHelper* mpOLEDataHelper;
+ TransferableObjectDescriptor* mpObjDesc;
+ const ::sd::View* mpSdView;
+ ::sd::View* mpSdViewIntern;
+ SdDrawDocument* mpSdDrawDocument;
+ SdDrawDocument* mpSdDrawDocumentIntern;
+ SdDrawDocument* mpSourceDoc;
+ VirtualDevice* mpVDev;
+ INetBookmark* mpBookmark;
+ Graphic* mpGraphic;
+ ImageMap* mpImageMap;
+ Rectangle maVisArea;
+ Point maStartPos;
+ BOOL mbInternalMove : 1;
+ BOOL mbOwnDocument : 1;
+ BOOL mbOwnView : 1;
+ BOOL mbLateInit : 1;
BOOL mbPageTransferable : 1;
BOOL mbPageTransferablePersistent : 1;
- bool mbIsUnoObj : 1;
+ bool mbIsUnoObj : 1;
// not available
SdTransferable();
SdTransferable( const SdTransferable& );
- SdTransferable& operator=( const SdTransferable& );
+ SdTransferable& operator=( const SdTransferable& );
- void CreateObjectReplacement( SdrObject* pObj );
- void CreateData();
+ void CreateObjectReplacement( SdrObject* pObj );
+ void CreateData();
};
diff --git a/sd/source/ui/inc/slideshow.hxx b/sd/source/ui/inc/slideshow.hxx
index 4915bf6b9466..50f715755161 100644
--- a/sd/source/ui/inc/slideshow.hxx
+++ b/sd/source/ui/inc/slideshow.hxx
@@ -2,7 +2,7 @@
/*************************************************************************
*
* 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
@@ -45,7 +45,7 @@
#include <boost/shared_ptr.hpp>
namespace com { namespace sun { namespace star {
-
+
namespace drawing {
class XDrawPage;
}
@@ -65,10 +65,10 @@ class Window;
class SfxRequest;
// TODO: Remove
-#define PAGE_NO_END 65535
-#define PAGE_NO_SOFTEND (PAGE_NO_END - 1)
-#define PAGE_NO_PAUSE (PAGE_NO_SOFTEND - 1)
-#define PAGE_NO_FIRSTDEF PAGE_NO_PAUSE // immer mit anpassen
+#define PAGE_NO_END 65535
+#define PAGE_NO_SOFTEND (PAGE_NO_END - 1)
+#define PAGE_NO_PAUSE (PAGE_NO_SOFTEND - 1)
+#define PAGE_NO_FIRSTDEF PAGE_NO_PAUSE // immer mit anpassen
/* Definition of SlideShow class */
@@ -123,7 +123,7 @@ public:
// helper api
- bool startPreview(
+ bool startPreview(
const ::com::sun::star::uno::Reference< ::com::sun::star::drawing::XDrawPage >& xDrawPage,
const ::com::sun::star::uno::Reference< ::com::sun::star::animations::XAnimationNode >& xAnimationNode,
::Window* pParent = 0 );
@@ -158,10 +158,10 @@ public:
// legacy api
- // actions
- void jumpToPageNumber( sal_Int32 nPage ); // a.k.a. FuSlideShow::JumpToPage()
+ // actions
+ void jumpToPageNumber( sal_Int32 nPage ); // a.k.a. FuSlideShow::JumpToPage()
void jumpToPageIndex( sal_Int32 nIndex );
- void jumpToBookmark( const ::rtl::OUString& sBookmark ); // a.k.a. FuSlideShow::JumpToBookmark()
+ void jumpToBookmark( const ::rtl::OUString& sBookmark ); // a.k.a. FuSlideShow::JumpToBookmark()
/** sets or clears the pause state of the running slideshow.
!!!! This should only be called by the SdShowWindow !!!!*/
@@ -169,11 +169,11 @@ public:
// settings
- bool isFullScreen(); // a.k.a. FuSlideShow::IsFullScreen()
- bool isAlwaysOnTop(); // a.k.a. FuSlideShow::IsAlwaysOnTop();
- ShowWindow* getShowWindow(); // a.k.a. FuSlideShow::GetShowWindow()
- int getAnimationMode(); // a.k.a. FuSlideShow::GetAnimationMode()
- sal_Int32 getCurrentPageNumber(); // a.k.a. FuSlideShow::GetCurrentPage()
+ bool isFullScreen(); // a.k.a. FuSlideShow::IsFullScreen()
+ bool isAlwaysOnTop(); // a.k.a. FuSlideShow::IsAlwaysOnTop();
+ ShowWindow* getShowWindow(); // a.k.a. FuSlideShow::GetShowWindow()
+ int getAnimationMode(); // a.k.a. FuSlideShow::GetAnimationMode()
+ sal_Int32 getCurrentPageNumber(); // a.k.a. FuSlideShow::GetCurrentPage()
sal_Int32 getFirstPageNumber();
sal_Int32 getLastPageNumber();
bool isEndless();
@@ -186,7 +186,7 @@ public:
void paint( const Rectangle& rRect );
bool keyInput(const KeyEvent& rKEvt);
-
+
void receiveRequest(SfxRequest& rReq);
bool dependsOn( ViewShellBase* pViewShellBase );
@@ -210,7 +210,7 @@ private:
SlideShow(const SlideShow&);
SlideShow& operator=( const SlideShow& );
- SvxItemPropertySet maPropSet;
+ SvxItemPropertySet maPropSet;
rtl::Reference< SlideshowImpl > mxController;
/** This flag is used together with mxController.is() to prevent
@@ -225,7 +225,7 @@ private:
ViewShellBase* mpCurrentViewShellBase;
ViewShellBase* mpFullScreenViewShellBase;
FrameView* mpFullScreenFrameView;
- sal_Int32 mnInPlaceConfigEvent;
+ sal_Int32 mnInPlaceConfigEvent;
};
}
diff --git a/sd/source/ui/inc/smarttag.hxx b/sd/source/ui/inc/smarttag.hxx
index a776197ea1ff..54763ddbf7b7 100644
--- a/sd/source/ui/inc/smarttag.hxx
+++ b/sd/source/ui/inc/smarttag.hxx
@@ -2,7 +2,7 @@
/*************************************************************************
*
* 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
@@ -63,7 +63,7 @@ public:
virtual bool MouseButtonDown( const MouseEvent&, SmartHdl& );
/** returns true if the SmartTag consumes this event. */
- virtual bool KeyInput( const KeyEvent& rKEvt );
+ virtual bool KeyInput( const KeyEvent& rKEvt );
/** returns true if the SmartTag consumes this event. */
virtual bool RequestHelp( const HelpEvent& rHEvt );
@@ -94,8 +94,8 @@ protected:
bool mbSelected;
private:
- SmartTag( const SmartTag& ); // not implemented
- SmartTag& operator=( const SmartTag& ); // not implemented
+ SmartTag( const SmartTag& ); // not implemented
+ SmartTag& operator=( const SmartTag& ); // not implemented
};
typedef rtl::Reference< SmartTag > SmartTagReference;
@@ -121,7 +121,7 @@ public:
bool MouseButtonDown( const MouseEvent& );
/** returns true if a SmartTag consumes this event. */
- bool KeyInput( const KeyEvent& rKEvt );
+ bool KeyInput( const KeyEvent& rKEvt );
/** returns true if a SmartTag consumes this event. */
bool RequestHelp( const HelpEvent& rHEvt );
@@ -151,8 +151,8 @@ public:
void CheckPossibilities();
private:
- SmartTagSet( const SmartTagSet& ); // not implemented
- SmartTagSet& operator=( const SmartTagSet& ); // not implemented
+ SmartTagSet( const SmartTagSet& ); // not implemented
+ SmartTagSet& operator=( const SmartTagSet& ); // not implemented
/** adds a new smart tag to this set */
void add( const SmartTagReference& xTag );
@@ -185,6 +185,6 @@ protected:
} // end of namespace sd
-#endif // _SD_SMARTTAG_HXX_
+#endif // _SD_SMARTTAG_HXX_
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/sd/source/ui/inc/sprite.hxx b/sd/source/ui/inc/sprite.hxx
index fed519b25d7f..57db1a3b4036 100644
--- a/sd/source/ui/inc/sprite.hxx
+++ b/sd/source/ui/inc/sprite.hxx
@@ -2,7 +2,7 @@
/*************************************************************************
*
* 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
@@ -51,36 +51,36 @@ public:
Sprite( List* pListOfBmpEx );
~Sprite();
- BOOL StartMoving( OutputDevice* pOut,
+ BOOL StartMoving( OutputDevice* pOut,
OutputDevice* pBottomLayer = NULL,
BitmapEx* pTopLayer = NULL,
- MetaFile** ppTopMtf = NULL,
+ MetaFile** ppTopMtf = NULL,
Marker* pObjStartMarker = NULL,
Marker* pObjEndMarker = NULL );
- void MoveTo( OutputDevice* pOut, const Point& rPt, const Size* pSz = NULL );
- void MoveTo( OutputDevice* pOut, const Point& rPt, const double& rScaleX, const double& rScaleY );
- void EndMoving( OutputDevice* pOut );
+ void MoveTo( OutputDevice* pOut, const Point& rPt, const Size* pSz = NULL );
+ void MoveTo( OutputDevice* pOut, const Point& rPt, const double& rScaleX, const double& rScaleY );
+ void EndMoving( OutputDevice* pOut );
protected:
- MapMode aOldMap;
- Region aOldClip;
- Rectangle aPaintRect;
- Point aPt;
- Size aSz;
- Point aLayerOffsetPix;
- VirtualDevice* pPaintDev;
- VirtualDevice* pBottomLayer;
- BitmapEx* pActBmpEx;
- BitmapEx* pTopLayer;
- MetaFile** ppTopMtf;
- Marker* pObjStartMarker;
- Marker* pObjEndMarker;
- List* pListOfBmpEx;
- ULONG nLastTime;
- BOOL bClipRegion;
+ MapMode aOldMap;
+ Region aOldClip;
+ Rectangle aPaintRect;
+ Point aPt;
+ Size aSz;
+ Point aLayerOffsetPix;
+ VirtualDevice* pPaintDev;
+ VirtualDevice* pBottomLayer;
+ BitmapEx* pActBmpEx;
+ BitmapEx* pTopLayer;
+ MetaFile** ppTopMtf;
+ Marker* pObjStartMarker;
+ Marker* pObjEndMarker;
+ List* pListOfBmpEx;
+ ULONG nLastTime;
+ BOOL bClipRegion;
- BOOL ImplPrepareMoveTo();
- void ImplDrawSprite( OutputDevice* pOut, const Point& rPt, const Size& rSz );
+ BOOL ImplPrepareMoveTo();
+ void ImplDrawSprite( OutputDevice* pOut, const Point& rPt, const Size& rSz );
};
diff --git a/sd/source/ui/inc/strings.hrc b/sd/source/ui/inc/strings.hrc
index 7f5086057e5c..f46f85fc99c5 100755
--- a/sd/source/ui/inc/strings.hrc
+++ b/sd/source/ui/inc/strings.hrc
@@ -1,7 +1,7 @@
/*************************************************************************
*
* 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
@@ -28,61 +28,61 @@
#ifndef _SD_CFGID_HXX
#include "cfgids.hxx"
#endif
-#define STR_NULL (RID_APP_START+3)
-#define STR_INSERTPAGE (RID_APP_START+35)
-#define STR_INSERTLAYER (RID_APP_START+37)
-#define STR_MODIFYLAYER (RID_APP_START+38)
-#define STR_UNDO_SLIDE_MOVE (RID_APP_START+41)
-#define STR_UNDO_REPLACE (RID_APP_START+42)
+#define STR_NULL (RID_APP_START+3)
+#define STR_INSERTPAGE (RID_APP_START+35)
+#define STR_INSERTLAYER (RID_APP_START+37)
+#define STR_MODIFYLAYER (RID_APP_START+38)
+#define STR_UNDO_SLIDE_MOVE (RID_APP_START+41)
+#define STR_UNDO_REPLACE (RID_APP_START+42)
/*
- * Dummy-Strings, diese ResourceIDs duerfen nicht an andere Strings vergeben
- * werden, da sie fuer Popup-Menues benutzt werden (ein Popup-Menue und sein
- * Konfigurationsstring muessen dieselbe ResourceID haben!).
- * siehe auch: res_bmp.hrc, popup.src
+ * Dummy-Strings, diese ResourceIDs duerfen nicht an andere Strings vergeben
+ * werden, da sie fuer Popup-Menues benutzt werden (ein Popup-Menue und sein
+ * Konfigurationsstring muessen dieselbe ResourceID haben!).
+ * siehe auch: res_bmp.hrc, popup.src
*/
-#define STR_DRAW_TEXTOBJ_POPUP (RID_APP_START+43)
-#define STR_DRAW_GEOMOBJ_POPUP (RID_APP_START+44)
-#define STR_DRAW_NOSEL_POPUP (RID_APP_START+45)
-#define STR_SLIDETABLE_POPUP (RID_APP_START+46)
-#define STR_BEZIER_POPUP (RID_APP_START+47)
-#define STR_DRAW_LINEOBJ_POPUP (RID_APP_START+48)
-#define STR_DRAW_MULTISELECTION_POPUP (RID_APP_START+49)
-#define STR_PAGETAB_POPUP (RID_APP_START+50)
-#define STR_LAYERTAB_POPUP (RID_APP_START+51)
-#define STR_DRAW_GRAPHIC_POPUP (RID_APP_START+52)
-#define STR_DRAW_OLE2_POPUP (RID_APP_START+53)
-#define STR_DRAW_TEXTOBJ_INSIDE_POPUP (RID_APP_START+54)
-#define STR_SLIDE_NOSEL_POPUP (RID_APP_START+55)
-#define STR_OUTLINE_POPUP (RID_APP_START+56)
-#define STR_MASTERPAGE_POPUP (RID_APP_START+57)
-#define STR_DRAW_GROUPOBJ_POPUP (RID_APP_START+58)
-
-#define STR_UNDO_CUT (RID_APP_START+59)
-#define STR_UNDO_DRAGDROP (RID_APP_START+66)
-#define STR_INSERTGRAPHIC (RID_APP_START+67)
+#define STR_DRAW_TEXTOBJ_POPUP (RID_APP_START+43)
+#define STR_DRAW_GEOMOBJ_POPUP (RID_APP_START+44)
+#define STR_DRAW_NOSEL_POPUP (RID_APP_START+45)
+#define STR_SLIDETABLE_POPUP (RID_APP_START+46)
+#define STR_BEZIER_POPUP (RID_APP_START+47)
+#define STR_DRAW_LINEOBJ_POPUP (RID_APP_START+48)
+#define STR_DRAW_MULTISELECTION_POPUP (RID_APP_START+49)
+#define STR_PAGETAB_POPUP (RID_APP_START+50)
+#define STR_LAYERTAB_POPUP (RID_APP_START+51)
+#define STR_DRAW_GRAPHIC_POPUP (RID_APP_START+52)
+#define STR_DRAW_OLE2_POPUP (RID_APP_START+53)
+#define STR_DRAW_TEXTOBJ_INSIDE_POPUP (RID_APP_START+54)
+#define STR_SLIDE_NOSEL_POPUP (RID_APP_START+55)
+#define STR_OUTLINE_POPUP (RID_APP_START+56)
+#define STR_MASTERPAGE_POPUP (RID_APP_START+57)
+#define STR_DRAW_GROUPOBJ_POPUP (RID_APP_START+58)
+
+#define STR_UNDO_CUT (RID_APP_START+59)
+#define STR_UNDO_DRAGDROP (RID_APP_START+66)
+#define STR_INSERTGRAPHIC (RID_APP_START+67)
/*
* Ueberblendeffekte: sollten nach hinten offen bleiben,
* da FadeEffectLB mit variabler Anzahl arbeitet
* (Jetzt ueber STR_EFFECT_...)
*/
-#define STR_DRAGTYPE_URL (RID_APP_START+70)
-#define STR_DRAGTYPE_EMBEDDED (RID_APP_START+71)
-#define STR_DRAGTYPE_LINK (RID_APP_START+72)
-#define STR_GLUE_ESCDIR_SMART (RID_APP_START+73)
-#define STR_GLUE_ESCDIR_LEFT (RID_APP_START+74)
-#define STR_GLUE_ESCDIR_RIGHT (RID_APP_START+75)
-#define STR_GLUE_ESCDIR_TOP (RID_APP_START+76)
-#define STR_GLUE_ESCDIR_BOTTOM (RID_APP_START+77)
-#define STR_GLUE_ESCDIR_LO (RID_APP_START+78)
-#define STR_GLUE_ESCDIR_LU (RID_APP_START+79)
-#define STR_GLUE_ESCDIR_RO (RID_APP_START+80)
-#define STR_GLUE_ESCDIR_RU (RID_APP_START+81)
-#define STR_GLUE_ESCDIR_HORZ (RID_APP_START+82)
-#define STR_GLUE_ESCDIR_VERT (RID_APP_START+83)
-#define STR_GLUE_ESCDIR_ALL (RID_APP_START+84)
+#define STR_DRAGTYPE_URL (RID_APP_START+70)
+#define STR_DRAGTYPE_EMBEDDED (RID_APP_START+71)
+#define STR_DRAGTYPE_LINK (RID_APP_START+72)
+#define STR_GLUE_ESCDIR_SMART (RID_APP_START+73)
+#define STR_GLUE_ESCDIR_LEFT (RID_APP_START+74)
+#define STR_GLUE_ESCDIR_RIGHT (RID_APP_START+75)
+#define STR_GLUE_ESCDIR_TOP (RID_APP_START+76)
+#define STR_GLUE_ESCDIR_BOTTOM (RID_APP_START+77)
+#define STR_GLUE_ESCDIR_LO (RID_APP_START+78)
+#define STR_GLUE_ESCDIR_LU (RID_APP_START+79)
+#define STR_GLUE_ESCDIR_RO (RID_APP_START+80)
+#define STR_GLUE_ESCDIR_RU (RID_APP_START+81)
+#define STR_GLUE_ESCDIR_HORZ (RID_APP_START+82)
+#define STR_GLUE_ESCDIR_VERT (RID_APP_START+83)
+#define STR_GLUE_ESCDIR_ALL (RID_APP_START+84)
#define STR_CANT_PERFORM_IN_LIVEMODE (RID_APP_START+85)
#define STR_PUBLISH_BACK (RID_APP_START+86)
@@ -91,218 +91,218 @@
#define STR_UNDO_COLORRESOLUTION (RID_APP_START+89)
/* Von 90 - 100 fuer Popups freihalten */
-#define STR_DRAW_3DOBJ_POPUP (RID_APP_START+90)
-#define STR_DRAW_MEASUREOBJ_POPUP (RID_APP_START+91)
+#define STR_DRAW_3DOBJ_POPUP (RID_APP_START+90)
+#define STR_DRAW_MEASUREOBJ_POPUP (RID_APP_START+91)
#define STR_ASK_DELETE_ALL_PICTURES (RID_APP_START+92)
#define STR_WARN_PAGE_EXISTS (RID_APP_START+93)
-#define STR_SLOW (RID_APP_START+112)
-#define STR_MEDIUM (RID_APP_START+113)
-#define STR_FAST (RID_APP_START+114)
+#define STR_SLOW (RID_APP_START+112)
+#define STR_MEDIUM (RID_APP_START+113)
+#define STR_FAST (RID_APP_START+114)
-#define STR_SLIDE_MODE (RID_APP_START+121)
-#define STR_DRAW_MODE (RID_APP_START+122)
-#define STR_OUTLINE_MODE (RID_APP_START+123)
+#define STR_SLIDE_MODE (RID_APP_START+121)
+#define STR_DRAW_MODE (RID_APP_START+122)
+#define STR_OUTLINE_MODE (RID_APP_START+123)
-#define STR_UNDO_BEZCLOSE (RID_APP_START+127)
+#define STR_UNDO_BEZCLOSE (RID_APP_START+127)
#define STR_END_SPELLING_OBJ (RID_APP_START+129)
-#define STR_NOTES_MODE (RID_APP_START+135)
-#define STR_HANDOUT_MODE (RID_APP_START+136)
+#define STR_NOTES_MODE (RID_APP_START+135)
+#define STR_HANDOUT_MODE (RID_APP_START+136)
-#define STR_LINEEND (RID_APP_START+137)
-#define STR_DESC_LINEEND (RID_APP_START+138)
-#define STR_WARN_NAME_DUPLICATE (RID_APP_START+139)
-#define STR_UNDO_COPYOBJECTS (RID_APP_START+140)
-#define STR_DESC_NAMEGROUP (RID_APP_START+141)
-#define STR_TITLE_NAMEGROUP (RID_APP_START+143)
+#define STR_LINEEND (RID_APP_START+137)
+#define STR_DESC_LINEEND (RID_APP_START+138)
+#define STR_WARN_NAME_DUPLICATE (RID_APP_START+139)
+#define STR_UNDO_COPYOBJECTS (RID_APP_START+140)
+#define STR_DESC_NAMEGROUP (RID_APP_START+141)
+#define STR_TITLE_NAMEGROUP (RID_APP_START+143)
-#define STR_SNAPDLG_SETLINE (RID_APP_START+144)
-#define STR_SNAPDLG_SETPOINT (RID_APP_START+145)
-#define STR_POPUP_EDIT_SNAPLINE (RID_APP_START+146)
-#define STR_POPUP_EDIT_SNAPPOINT (RID_APP_START+147)
+#define STR_SNAPDLG_SETLINE (RID_APP_START+144)
+#define STR_SNAPDLG_SETPOINT (RID_APP_START+145)
+#define STR_POPUP_EDIT_SNAPLINE (RID_APP_START+146)
+#define STR_POPUP_EDIT_SNAPPOINT (RID_APP_START+147)
#define STR_IMPRESS (RID_APP_START+149)
#define STR_IMPRESS_DOCUMENT (RID_APP_START+154)
-#define STR_LAYER (RID_APP_START+158)
+#define STR_LAYER (RID_APP_START+158)
// #define (RID_APP_START+159)
-#define STR_POPUP_DELETE_SNAPLINE (RID_APP_START+160)
-#define STR_POPUP_DELETE_SNAPPOINT (RID_APP_START+161)
+#define STR_POPUP_DELETE_SNAPLINE (RID_APP_START+160)
+#define STR_POPUP_DELETE_SNAPPOINT (RID_APP_START+161)
-#define STR_SCALE_OBJS_TO_PAGE (RID_APP_START+162)
+#define STR_SCALE_OBJS_TO_PAGE (RID_APP_START+162)
-#define STR_EYEDROPPER (RID_APP_START+163)
+#define STR_EYEDROPPER (RID_APP_START+163)
-#define STR_UNDO_MORPHING (RID_APP_START+164)
+#define STR_UNDO_MORPHING (RID_APP_START+164)
#define STR_IMPRESS_DOCUMENT_FULLTYPE_60 (RID_APP_START+170)
/*
- * ResourceIDs fuer Toolboxen nicht aendern, ohne die Strings in
- * strings.hrc auf die selben IDs zu setzen (eine Toolbox und sein
- * Konfigurationsstring muessen dieselbe ResourceID haben!).
+ * ResourceIDs fuer Toolboxen nicht aendern, ohne die Strings in
+ * strings.hrc auf die selben IDs zu setzen (eine Toolbox und sein
+ * Konfigurationsstring muessen dieselbe ResourceID haben!).
*/
-#define STR_PLUGIN_TOOLBOX RID_PLUGINTOOLBOX
-#define STR_DRAW_TOOLBOX RID_DRAW_TOOLBOX
-#define STR_SLIDE_TOOLBOX RID_SLIDE_TOOLBOX
-#define STR_DRAW_OBJ_TOOLBOX RID_DRAW_OBJ_TOOLBOX
-#define STR_SLIDE_OBJ_TOOLBOX RID_SLIDE_OBJ_TOOLBOX
-#define STR_BEZIER_TOOLBOX RID_BEZIER_TOOLBOX
-#define STR_DRAW_TEXT_TOOLBOX RID_DRAW_TEXT_TOOLBOX
-#define STR_DRAW_TABLE_TOOLBOX RID_DRAW_TABLE_TOOLBOX
-#define STR_OUTLINE_TOOLBOX RID_OUTLINE_TOOLBOX
-#define STR_DRAW_POLYLINEOBJ_POPUP RID_DRAW_POLYLINEOBJ_POPUP
-#define STR_GLUEPOINTS_TOOLBOX RID_GLUEPOINTS_TOOLBOX
-#define STR_DRAW_OPTIONS_TOOLBOX RID_DRAW_OPTIONS_TOOLBOX
-#define STR_DRAW_COMMONTASK_TOOLBOX RID_DRAW_COMMONTASK_TOOLBOX
-
-#define STR_GRAPHIC_TOOLBOX RID_GRAPHIC_TOOLBOX
-#define STR_GRAPHIC_OPTIONS_TOOLBOX RID_GRAPHIC_OPTIONS_TOOLBOX
-#define STR_GRAPHIC_OBJ_TOOLBOX RID_GRAPHIC_OBJ_TOOLBOX
+#define STR_PLUGIN_TOOLBOX RID_PLUGINTOOLBOX
+#define STR_DRAW_TOOLBOX RID_DRAW_TOOLBOX
+#define STR_SLIDE_TOOLBOX RID_SLIDE_TOOLBOX
+#define STR_DRAW_OBJ_TOOLBOX RID_DRAW_OBJ_TOOLBOX
+#define STR_SLIDE_OBJ_TOOLBOX RID_SLIDE_OBJ_TOOLBOX
+#define STR_BEZIER_TOOLBOX RID_BEZIER_TOOLBOX
+#define STR_DRAW_TEXT_TOOLBOX RID_DRAW_TEXT_TOOLBOX
+#define STR_DRAW_TABLE_TOOLBOX RID_DRAW_TABLE_TOOLBOX
+#define STR_OUTLINE_TOOLBOX RID_OUTLINE_TOOLBOX
+#define STR_DRAW_POLYLINEOBJ_POPUP RID_DRAW_POLYLINEOBJ_POPUP
+#define STR_GLUEPOINTS_TOOLBOX RID_GLUEPOINTS_TOOLBOX
+#define STR_DRAW_OPTIONS_TOOLBOX RID_DRAW_OPTIONS_TOOLBOX
+#define STR_DRAW_COMMONTASK_TOOLBOX RID_DRAW_COMMONTASK_TOOLBOX
+
+#define STR_GRAPHIC_TOOLBOX RID_GRAPHIC_TOOLBOX
+#define STR_GRAPHIC_OPTIONS_TOOLBOX RID_GRAPHIC_OPTIONS_TOOLBOX
+#define STR_GRAPHIC_OBJ_TOOLBOX RID_GRAPHIC_OBJ_TOOLBOX
#define STR_GRAPHIC_TEXT_TOOLBOX RID_GRAPHIC_TEXT_TOOLBOX
-#define STR_DRAW_GRAF_TOOLBOX RID_DRAW_GRAF_TOOLBOX
-#define STR_DRAW_MEDIA_TOOLBOX RID_DRAW_MEDIA_TOOLBOX
+#define STR_DRAW_GRAF_TOOLBOX RID_DRAW_GRAF_TOOLBOX
+#define STR_DRAW_MEDIA_TOOLBOX RID_DRAW_MEDIA_TOOLBOX
// IDs fuer Praesentationsfolien
-#define STR_AUTOLAYOUT_NONE (RID_APP_START+210)
-#define STR_AUTOLAYOUT_ONLY_TITLE (RID_APP_START+211)
-#define STR_AUTOLAYOUT_ONLY_TEXT (RID_APP_START+212)
-#define STR_AUTOLAYOUT_TITLE (RID_APP_START+213)
-#define STR_AUTOLAYOUT_CONTENT (RID_APP_START+214)
-#define STR_AUTOLAYOUT_2CONTENT (RID_APP_START+215)
-#define STR_AUTOLAYOUT_CONTENT_2CONTENT (RID_APP_START+217)
-#define STR_AUTOLAYOUT_2CONTENT_CONTENT (RID_APP_START+218)
-#define STR_AUTOLAYOUT_CONTENT_OVER_2CONTENT (RID_APP_START+219)
-#define STR_AUTOLAYOUT_2CONTENT_OVER_CONTENT (RID_APP_START+220)
-#define STR_AUTOLAYOUT_CONTENT_OVER_CONTENT (RID_APP_START+221)
-#define STR_AUTOLAYOUT_4CONTENT (RID_APP_START+222)
-#define STR_AUTOLAYOUT_6CONTENT (RID_APP_START+223)
-
-#define STR_AUTOLAYOUT_HANDOUT1 (RID_APP_START+231)
-#define STR_AUTOLAYOUT_HANDOUT2 (RID_APP_START+232)
-#define STR_AUTOLAYOUT_HANDOUT3 (RID_APP_START+233)
-#define STR_AUTOLAYOUT_HANDOUT4 (RID_APP_START+234)
-#define STR_AUTOLAYOUT_HANDOUT6 (RID_APP_START+235)
-#define STR_AUTOLAYOUT_NOTES (RID_APP_START+236)
-#define STR_AUTOLAYOUT_HANDOUT9 (RID_APP_START+237)
-
-#define STR_TRANSFORM (RID_APP_START+240)
-
-#define STR_EXPORT_HTML_NAME (RID_APP_START+244)
-#define STR_EXPORT_HTML_FILTER (RID_APP_START+245)
-#define STR_EXPORT_DIALOG_TITLE (RID_APP_START+261)
-#define STR_TWAIN_NO_SOURCE_UNX (RID_APP_START+262)
-#define STR_UNDO_DELETEPAGES (RID_APP_START+265)
-#define STR_UNDO_INSERTPAGES (RID_APP_START+266)
+#define STR_AUTOLAYOUT_NONE (RID_APP_START+210)
+#define STR_AUTOLAYOUT_ONLY_TITLE (RID_APP_START+211)
+#define STR_AUTOLAYOUT_ONLY_TEXT (RID_APP_START+212)
+#define STR_AUTOLAYOUT_TITLE (RID_APP_START+213)
+#define STR_AUTOLAYOUT_CONTENT (RID_APP_START+214)
+#define STR_AUTOLAYOUT_2CONTENT (RID_APP_START+215)
+#define STR_AUTOLAYOUT_CONTENT_2CONTENT (RID_APP_START+217)
+#define STR_AUTOLAYOUT_2CONTENT_CONTENT (RID_APP_START+218)
+#define STR_AUTOLAYOUT_CONTENT_OVER_2CONTENT (RID_APP_START+219)
+#define STR_AUTOLAYOUT_2CONTENT_OVER_CONTENT (RID_APP_START+220)
+#define STR_AUTOLAYOUT_CONTENT_OVER_CONTENT (RID_APP_START+221)
+#define STR_AUTOLAYOUT_4CONTENT (RID_APP_START+222)
+#define STR_AUTOLAYOUT_6CONTENT (RID_APP_START+223)
+
+#define STR_AUTOLAYOUT_HANDOUT1 (RID_APP_START+231)
+#define STR_AUTOLAYOUT_HANDOUT2 (RID_APP_START+232)
+#define STR_AUTOLAYOUT_HANDOUT3 (RID_APP_START+233)
+#define STR_AUTOLAYOUT_HANDOUT4 (RID_APP_START+234)
+#define STR_AUTOLAYOUT_HANDOUT6 (RID_APP_START+235)
+#define STR_AUTOLAYOUT_NOTES (RID_APP_START+236)
+#define STR_AUTOLAYOUT_HANDOUT9 (RID_APP_START+237)
+
+#define STR_TRANSFORM (RID_APP_START+240)
+
+#define STR_EXPORT_HTML_NAME (RID_APP_START+244)
+#define STR_EXPORT_HTML_FILTER (RID_APP_START+245)
+#define STR_EXPORT_DIALOG_TITLE (RID_APP_START+261)
+#define STR_TWAIN_NO_SOURCE_UNX (RID_APP_START+262)
+#define STR_UNDO_DELETEPAGES (RID_APP_START+265)
+#define STR_UNDO_INSERTPAGES (RID_APP_START+266)
//free (RID_APP_START+267)
-#define STR_ASK_DELETE_LAYER (RID_APP_START+268)
-#define STR_UNDO_CHANGE_TITLE_AND_LAYOUT (RID_APP_START+269)
-#define STR_WAV_FILE (RID_APP_START+270)
-#define STR_MIDI_FILE (RID_APP_START+271)
-#define STR_SD_PAGE (RID_APP_START+272)
-#define STR_ALL_FILES (RID_APP_START+274)
-#define STR_UNDO_INSERT_TEXTFRAME (RID_APP_START+275)
-#define STR_ACTION_NOTPOSSIBLE (RID_APP_START+278)
-#define STR_DLG_INSERT_PAGES_FROM_FILE (RID_APP_START+279)
-#define STR_SCALE_OBJECTS (RID_APP_START+281)
-#define STR_CREATE_PAGES (RID_APP_START+282)
+#define STR_ASK_DELETE_LAYER (RID_APP_START+268)
+#define STR_UNDO_CHANGE_TITLE_AND_LAYOUT (RID_APP_START+269)
+#define STR_WAV_FILE (RID_APP_START+270)
+#define STR_MIDI_FILE (RID_APP_START+271)
+#define STR_SD_PAGE (RID_APP_START+272)
+#define STR_ALL_FILES (RID_APP_START+274)
+#define STR_UNDO_INSERT_TEXTFRAME (RID_APP_START+275)
+#define STR_ACTION_NOTPOSSIBLE (RID_APP_START+278)
+#define STR_DLG_INSERT_PAGES_FROM_FILE (RID_APP_START+279)
+#define STR_SCALE_OBJECTS (RID_APP_START+281)
+#define STR_CREATE_PAGES (RID_APP_START+282)
-#define STR_UNDO_CHANGE_PAGEFORMAT (RID_APP_START+283)
-#define STR_UNDO_CHANGE_PAGEBORDER (RID_APP_START+284)
+#define STR_UNDO_CHANGE_PAGEFORMAT (RID_APP_START+283)
+#define STR_UNDO_CHANGE_PAGEBORDER (RID_APP_START+284)
-#define STR_EDIT_OBJ (RID_APP_START+288)
+#define STR_EDIT_OBJ (RID_APP_START+288)
-#define STR_READ_DATA_ERROR (RID_APP_START+290)
+#define STR_READ_DATA_ERROR (RID_APP_START+290)
/******************************************************************************
* Ab (RID_APP_START+300 beginnen die Ids in sdstring.hrc!
******************************************************************************/
-#define STR_DELETE_PAGES (RID_APP_START+332)
-#define STR_WARN_PRINTFORMAT_FAILURE (RID_APP_START+333)
-#define STR_REMOVE_LINK (RID_APP_START+334)
-
-#define STR_IMPORT_GRFILTER_OPENERROR (RID_APP_START+335)
-#define STR_IMPORT_GRFILTER_IOERROR (RID_APP_START+336)
-#define STR_IMPORT_GRFILTER_FORMATERROR (RID_APP_START+337)
-#define STR_IMPORT_GRFILTER_VERSIONERROR (RID_APP_START+338)
-#define STR_IMPORT_GRFILTER_FILTERERROR (RID_APP_START+339)
-#define STR_IMPORT_GRFILTER_TOOBIG (RID_APP_START+340)
-
-#define STR_OBJECTS (RID_APP_START+341)
-#define STR_END_SEARCHING (RID_APP_START+342)
-#define STR_END_SPELLING (RID_APP_START+343)
-#define STR_NOLANGUAGE (RID_APP_START+344)
-#define STR_ASK_FOR_CONVERT_TO_BEZIER (RID_APP_START+347)
-#define STR_UNDO_CHANGE_PRES_OBJECT (RID_APP_START+349)
-#define STR_UNDO_MODIFY_PAGE (RID_APP_START+350)
-#define STR_STATSTR_PRINT (RID_APP_START+351)
-#define STR_UNDO_INSERT_FILE (RID_APP_START+352)
-#define STR_UNDO_INSERT_SPECCHAR (RID_APP_START+353)
-#define STR_UNDO_SET_PRESLAYOUT (RID_APP_START+354)
-#define STR_STRING_NOTFOUND (RID_APP_START+355)
-#define STR_PLAY (RID_APP_START+356)
-#define STR_STOP (RID_APP_START+357)
-#define STR_UNDO_ORIGINALSIZE (RID_APP_START+359)
-#define STR_PRINT_DRAWING (RID_APP_START+361)
-#define STR_PRINT_NOTES (RID_APP_START+362)
-#define STR_PRINT_HANDOUT (RID_APP_START+363)
-#define STR_PRINT_OUTLINE (RID_APP_START+364)
-#define STR_WARN_SCALE_FAIL (RID_APP_START+365)
+#define STR_DELETE_PAGES (RID_APP_START+332)
+#define STR_WARN_PRINTFORMAT_FAILURE (RID_APP_START+333)
+#define STR_REMOVE_LINK (RID_APP_START+334)
+
+#define STR_IMPORT_GRFILTER_OPENERROR (RID_APP_START+335)
+#define STR_IMPORT_GRFILTER_IOERROR (RID_APP_START+336)
+#define STR_IMPORT_GRFILTER_FORMATERROR (RID_APP_START+337)
+#define STR_IMPORT_GRFILTER_VERSIONERROR (RID_APP_START+338)
+#define STR_IMPORT_GRFILTER_FILTERERROR (RID_APP_START+339)
+#define STR_IMPORT_GRFILTER_TOOBIG (RID_APP_START+340)
+
+#define STR_OBJECTS (RID_APP_START+341)
+#define STR_END_SEARCHING (RID_APP_START+342)
+#define STR_END_SPELLING (RID_APP_START+343)
+#define STR_NOLANGUAGE (RID_APP_START+344)
+#define STR_ASK_FOR_CONVERT_TO_BEZIER (RID_APP_START+347)
+#define STR_UNDO_CHANGE_PRES_OBJECT (RID_APP_START+349)
+#define STR_UNDO_MODIFY_PAGE (RID_APP_START+350)
+#define STR_STATSTR_PRINT (RID_APP_START+351)
+#define STR_UNDO_INSERT_FILE (RID_APP_START+352)
+#define STR_UNDO_INSERT_SPECCHAR (RID_APP_START+353)
+#define STR_UNDO_SET_PRESLAYOUT (RID_APP_START+354)
+#define STR_STRING_NOTFOUND (RID_APP_START+355)
+#define STR_PLAY (RID_APP_START+356)
+#define STR_STOP (RID_APP_START+357)
+#define STR_UNDO_ORIGINALSIZE (RID_APP_START+359)
+#define STR_PRINT_DRAWING (RID_APP_START+361)
+#define STR_PRINT_NOTES (RID_APP_START+362)
+#define STR_PRINT_HANDOUT (RID_APP_START+363)
+#define STR_PRINT_OUTLINE (RID_APP_START+364)
+#define STR_WARN_SCALE_FAIL (RID_APP_START+365)
// Strings fuer Klick-Effekte (Reihenfolge beibehalten)
-#define STR_CLICK_ACTION_NONE (RID_APP_START+366)
-#define STR_CLICK_ACTION_PREVPAGE (RID_APP_START+367)
-#define STR_CLICK_ACTION_NEXTPAGE (RID_APP_START+368)
-#define STR_CLICK_ACTION_FIRSTPAGE (RID_APP_START+369)
-#define STR_CLICK_ACTION_LASTPAGE (RID_APP_START+370)
-#define STR_CLICK_ACTION_BOOKMARK (RID_APP_START+371)
-#define STR_CLICK_ACTION_DOCUMENT (RID_APP_START+372)
-#define STR_CLICK_ACTION_VANISH (RID_APP_START+373)
-#define STR_CLICK_ACTION_INVISIBLE (RID_APP_START+374)
-#define STR_CLICK_ACTION_SOUND (RID_APP_START+375)
-#define STR_CLICK_ACTION_VERB (RID_APP_START+376)
-#define STR_CLICK_ACTION_PROGRAM (RID_APP_START+377)
-#define STR_CLICK_ACTION_MACRO (RID_APP_START+378)
+#define STR_CLICK_ACTION_NONE (RID_APP_START+366)
+#define STR_CLICK_ACTION_PREVPAGE (RID_APP_START+367)
+#define STR_CLICK_ACTION_NEXTPAGE (RID_APP_START+368)
+#define STR_CLICK_ACTION_FIRSTPAGE (RID_APP_START+369)
+#define STR_CLICK_ACTION_LASTPAGE (RID_APP_START+370)
+#define STR_CLICK_ACTION_BOOKMARK (RID_APP_START+371)
+#define STR_CLICK_ACTION_DOCUMENT (RID_APP_START+372)
+#define STR_CLICK_ACTION_VANISH (RID_APP_START+373)
+#define STR_CLICK_ACTION_INVISIBLE (RID_APP_START+374)
+#define STR_CLICK_ACTION_SOUND (RID_APP_START+375)
+#define STR_CLICK_ACTION_VERB (RID_APP_START+376)
+#define STR_CLICK_ACTION_PROGRAM (RID_APP_START+377)
+#define STR_CLICK_ACTION_MACRO (RID_APP_START+378)
// Mind. bis 380 freihalten
-#define STR_EFFECTDLG_SOUND (RID_APP_START+380)
-#define STR_EFFECTDLG_PAGE_OBJECT (RID_APP_START+382)
-#define STR_EFFECTDLG_DOCUMENT (RID_APP_START+383)
-#define STR_EFFECTDLG_PROGRAM (RID_APP_START+384)
-#define STR_EFFECTDLG_MACRO (RID_APP_START+385)
-#define STR_EFFECTDLG_JUMP (RID_APP_START+386)
-#define STR_EFFECTDLG_ACTION (RID_APP_START+387)
-
-/* Fortsetzung von RID_APP_START+43 bis RID_APP_START+58:
- * Dummy-Strings, diese ResourceIDs duerfen nicht an andere Strings vergeben
- * werden, da sie fuer Popup-Menues benutzt werden (ein Popup-Menue und sein
- * Konfigurationsstring muessen dieselbe ResourceID haben!).
- * siehe auch: res_bmp.hrc, popup.src
+#define STR_EFFECTDLG_SOUND (RID_APP_START+380)
+#define STR_EFFECTDLG_PAGE_OBJECT (RID_APP_START+382)
+#define STR_EFFECTDLG_DOCUMENT (RID_APP_START+383)
+#define STR_EFFECTDLG_PROGRAM (RID_APP_START+384)
+#define STR_EFFECTDLG_MACRO (RID_APP_START+385)
+#define STR_EFFECTDLG_JUMP (RID_APP_START+386)
+#define STR_EFFECTDLG_ACTION (RID_APP_START+387)
+
+/* Fortsetzung von RID_APP_START+43 bis RID_APP_START+58:
+ * Dummy-Strings, diese ResourceIDs duerfen nicht an andere Strings vergeben
+ * werden, da sie fuer Popup-Menues benutzt werden (ein Popup-Menue und sein
+ * Konfigurationsstring muessen dieselbe ResourceID haben!).
+ * siehe auch: res_bmp.hrc, popup.src
*/
-#define STR_DRAW_SNAPOBJECT_POPUP (RID_APP_START+390)
-#define STR_DRAW_GLUEPOINT_POPUP (RID_APP_START+392)
-#define STR_DRAW_CONTROL_POPUP (RID_APP_START+393)
+#define STR_DRAW_SNAPOBJECT_POPUP (RID_APP_START+390)
+#define STR_DRAW_GLUEPOINT_POPUP (RID_APP_START+392)
+#define STR_DRAW_CONTROL_POPUP (RID_APP_START+393)
-#define STR_EFFECT_NONE (RID_APP_START+400)
+#define STR_EFFECT_NONE (RID_APP_START+400)
-#define STR_INSERT_TEXT (RID_APP_START+432)
-#define STR_SLIDE_SINGULAR (RID_APP_START+433)
-#define STR_SLIDE_PLURAL (RID_APP_START+434)
-#define STR_AU_FILE (RID_APP_START+435)
-#define STR_VOC_FILE (RID_APP_START+436)
-#define STR_AIFF_FILE (RID_APP_START+437)
-#define STR_SVX_FILE (RID_APP_START+438)
+#define STR_INSERT_TEXT (RID_APP_START+432)
+#define STR_SLIDE_SINGULAR (RID_APP_START+433)
+#define STR_SLIDE_PLURAL (RID_APP_START+434)
+#define STR_AU_FILE (RID_APP_START+435)
+#define STR_VOC_FILE (RID_APP_START+436)
+#define STR_AIFF_FILE (RID_APP_START+437)
+#define STR_SVX_FILE (RID_APP_START+438)
-/* Stringdefinitionen fuer die Chartbeschriftung
+/* Stringdefinitionen fuer die Chartbeschriftung
*/
-#define STR_LOAD_PRESENTATION_LAYOUT (RID_APP_START+448)
+#define STR_LOAD_PRESENTATION_LAYOUT (RID_APP_START+448)
#define STR_CLICK_ACTION_STOPPRESENTATION (RID_APP_START+475)
@@ -312,171 +312,171 @@
#define STR_GRAPHIC_DOCUMENT (RID_APP_START+499)
#define STR_GRAPHIC_DOCUMENT_FULLTYPE_60 (RID_APP_START+501)
-#define STR_FIX (RID_APP_START+502)
-#define STR_VAR (RID_APP_START+503)
-#define STR_STANDARD_NORMAL (RID_APP_START+504)
-#define STR_STANDARD_SMALL (RID_APP_START+505)
-#define STR_STANDARD_BIG (RID_APP_START+506)
-#define STR_FILEFORMAT_NAME_EXT (RID_APP_START+507)
-#define STR_FILEFORMAT_FULLPATH (RID_APP_START+508)
-#define STR_FILEFORMAT_PATH (RID_APP_START+509)
-#define STR_FILEFORMAT_NAME (RID_APP_START+510)
+#define STR_FIX (RID_APP_START+502)
+#define STR_VAR (RID_APP_START+503)
+#define STR_STANDARD_NORMAL (RID_APP_START+504)
+#define STR_STANDARD_SMALL (RID_APP_START+505)
+#define STR_STANDARD_BIG (RID_APP_START+506)
+#define STR_FILEFORMAT_NAME_EXT (RID_APP_START+507)
+#define STR_FILEFORMAT_FULLPATH (RID_APP_START+508)
+#define STR_FILEFORMAT_PATH (RID_APP_START+509)
+#define STR_FILEFORMAT_NAME (RID_APP_START+510)
-#define STR_RELEASE_GRAPHICLINK (RID_APP_START+511)
+#define STR_RELEASE_GRAPHICLINK (RID_APP_START+511)
-#define STR_NEW_CUSTOMSHOW (RID_APP_START+512)
-#define STR_COPY_CUSTOMSHOW (RID_APP_START+513)
+#define STR_NEW_CUSTOMSHOW (RID_APP_START+512)
+#define STR_COPY_CUSTOMSHOW (RID_APP_START+513)
-#define STR_VIEWTYPE_DUMMY (RID_APP_START+518)
+#define STR_VIEWTYPE_DUMMY (RID_APP_START+518)
-#define STR_BREAK_METAFILE (RID_APP_START+521)
-#define STR_BREAK_FAIL (RID_APP_START+522)
+#define STR_BREAK_METAFILE (RID_APP_START+521)
+#define STR_BREAK_FAIL (RID_APP_START+522)
-#define STR_PUBDLG_SAMENAME (RID_APP_START+523)
+#define STR_PUBDLG_SAMENAME (RID_APP_START+523)
-#define STR_HTMLATTR_TEXT (RID_APP_START+524)
-#define STR_HTMLATTR_LINK (RID_APP_START+525)
-#define STR_HTMLATTR_VLINK (RID_APP_START+526)
-#define STR_HTMLATTR_ALINK (RID_APP_START+527)
+#define STR_HTMLATTR_TEXT (RID_APP_START+524)
+#define STR_HTMLATTR_LINK (RID_APP_START+525)
+#define STR_HTMLATTR_VLINK (RID_APP_START+526)
+#define STR_HTMLATTR_ALINK (RID_APP_START+527)
-#define STR_HTMLEXP_NOTES (RID_APP_START+528)
-#define STR_HTMLEXP_CONTENTS (RID_APP_START+529)
-#define STR_HTMLEXP_CLICKSTART (RID_APP_START+530)
-#define STR_HTMLEXP_AUTHOR (RID_APP_START+531)
-#define STR_HTMLEXP_EMAIL (RID_APP_START+532)
-#define STR_HTMLEXP_HOMEPAGE (RID_APP_START+533)
-#define STR_HTMLEXP_INFO (RID_APP_START+534)
-#define STR_HTMLEXP_DOWNLOAD (RID_APP_START+536)
-#define STR_HTMLEXP_NOFRAMES (RID_APP_START+537)
-#define STR_HTMLEXP_FIRSTPAGE (RID_APP_START+538)
-#define STR_HTMLEXP_LASTPAGE (RID_APP_START+539)
-#define STR_HTMLEXP_SETTEXT (RID_APP_START+540)
-#define STR_HTMLEXP_SETGRAPHIC (RID_APP_START+541)
-#define STR_HTMLEXP_OUTLINE (RID_APP_START+542)
-#define STR_HTMLEXP_NOOUTLINE (RID_APP_START+543)
+#define STR_HTMLEXP_NOTES (RID_APP_START+528)
+#define STR_HTMLEXP_CONTENTS (RID_APP_START+529)
+#define STR_HTMLEXP_CLICKSTART (RID_APP_START+530)
+#define STR_HTMLEXP_AUTHOR (RID_APP_START+531)
+#define STR_HTMLEXP_EMAIL (RID_APP_START+532)
+#define STR_HTMLEXP_HOMEPAGE (RID_APP_START+533)
+#define STR_HTMLEXP_INFO (RID_APP_START+534)
+#define STR_HTMLEXP_DOWNLOAD (RID_APP_START+536)
+#define STR_HTMLEXP_NOFRAMES (RID_APP_START+537)
+#define STR_HTMLEXP_FIRSTPAGE (RID_APP_START+538)
+#define STR_HTMLEXP_LASTPAGE (RID_APP_START+539)
+#define STR_HTMLEXP_SETTEXT (RID_APP_START+540)
+#define STR_HTMLEXP_SETGRAPHIC (RID_APP_START+541)
+#define STR_HTMLEXP_OUTLINE (RID_APP_START+542)
+#define STR_HTMLEXP_NOOUTLINE (RID_APP_START+543)
-#define STR_PRES_SOFTEND (RID_APP_START+550)
-#define STR_PRES_PAUSE (RID_APP_START+551)
+#define STR_PRES_SOFTEND (RID_APP_START+550)
+#define STR_PRES_PAUSE (RID_APP_START+551)
-#define STR_WIZARD_ORIGINAL (RID_APP_START+552)
+#define STR_WIZARD_ORIGINAL (RID_APP_START+552)
-#define STR_ISLOADING (RID_APP_START+554)
+#define STR_ISLOADING (RID_APP_START+554)
-#define STR_WEBVIEW_SAVE (RID_APP_START+555)
+#define STR_WEBVIEW_SAVE (RID_APP_START+555)
-#define STR_UNDO_APPLY_3D_FAVOURITE (RID_APP_START+556)
+#define STR_UNDO_APPLY_3D_FAVOURITE (RID_APP_START+556)
//free (RID_APP_START+557)
-#define RID_UNDO_DELETE_WARNING (RID_APP_START+558)
-#define IMG_UNDO_DELETE_WARNING (RID_APP_START+559)
-#define FT_UNDO_DELETE_WARNING (RID_APP_START+560)
-#define CB_UNDO_DELETE_DISABLE (RID_APP_START+561)
-#define BTN_UNDO_DELETE_YES (RID_APP_START+562)
-#define BTN_UNDO_DELETE_NO (RID_APP_START+564)
+#define RID_UNDO_DELETE_WARNING (RID_APP_START+558)
+#define IMG_UNDO_DELETE_WARNING (RID_APP_START+559)
+#define FT_UNDO_DELETE_WARNING (RID_APP_START+560)
+#define CB_UNDO_DELETE_DISABLE (RID_APP_START+561)
+#define BTN_UNDO_DELETE_YES (RID_APP_START+562)
+#define BTN_UNDO_DELETE_NO (RID_APP_START+564)
#define STR_WARNING_NOSOUNDFILE (RID_APP_START+565)
-#define STR_UNDO_GRAFFILTER (RID_APP_START+570)
+#define STR_UNDO_GRAFFILTER (RID_APP_START+570)
-#define STR_UNDO_CONVERT_TO_METAFILE (RID_APP_START+571)
-#define STR_UNDO_CONVERT_TO_BITMAP (RID_APP_START+572)
+#define STR_UNDO_CONVERT_TO_METAFILE (RID_APP_START+571)
+#define STR_UNDO_CONVERT_TO_BITMAP (RID_APP_START+572)
-#define STR_HTMLEXP_ERROR_CREATE_FILE (RID_APP_START+578)
-#define STR_HTMLEXP_ERROR_OPEN_FILE (RID_APP_START+579)
-#define STR_HTMLEXP_ERROR_COPY_FILE (RID_APP_START+580)
+#define STR_HTMLEXP_ERROR_CREATE_FILE (RID_APP_START+578)
+#define STR_HTMLEXP_ERROR_OPEN_FILE (RID_APP_START+579)
+#define STR_HTMLEXP_ERROR_COPY_FILE (RID_APP_START+580)
-#define STR_PAGE_BACKGROUND_TXT (RID_APP_START+583)
-#define STR_PAGE_BACKGROUND_TITLE (RID_APP_START+584)
+#define STR_PAGE_BACKGROUND_TXT (RID_APP_START+583)
+#define STR_PAGE_BACKGROUND_TITLE (RID_APP_START+584)
// additional effects
-#define STR_EFFECT_DISCARD_SHORT (RID_APP_START+598)
-
-#define STR_EFFECT_DISCARD_FROM_UL (RID_APP_START+600)
-#define STR_EFFECT_DISCARD_FROM_UR (RID_APP_START+601)
-#define STR_EFFECT_DISCARD_FROM_LR (RID_APP_START+602)
-#define STR_EFFECT_DISCARD_FROM_LL (RID_APP_START+603)
-#define STR_EFFECT_DISCARD_S_FROM_L (RID_APP_START+604)
-#define STR_EFFECT_DISCARD_S_FROM_UL (RID_APP_START+605)
-#define STR_EFFECT_DISCARD_S_FROM_T (RID_APP_START+606)
-#define STR_EFFECT_DISCARD_S_FROM_UR (RID_APP_START+607)
-#define STR_EFFECT_DISCARD_S_FROM_R (RID_APP_START+608)
-#define STR_EFFECT_DISCARD_S_FROM_LR (RID_APP_START+609)
-#define STR_EFFECT_DISCARD_S_FROM_B (RID_APP_START+610)
-#define STR_EFFECT_DISCARD_S_FROM_LL (RID_APP_START+611)
-#define STR_EFFECT_VERTICAL_CHECKERBOARD (RID_APP_START+612)
-#define STR_EFFECT_HORIZONTAL_CHECKERBOARD (RID_APP_START+613)
-
-#define STR_EFFECT_MOVE_TO_UL (RID_APP_START+620)
-#define STR_EFFECT_MOVE_TO_UR (RID_APP_START+621)
-#define STR_EFFECT_MOVE_TO_LR (RID_APP_START+622)
-#define STR_EFFECT_MOVE_TO_LL (RID_APP_START+623)
-#define STR_EFFECT_MOVE_S_TO_L (RID_APP_START+625)
-#define STR_EFFECT_MOVE_S_TO_UL (RID_APP_START+626)
-#define STR_EFFECT_MOVE_S_TO_T (RID_APP_START+627)
-#define STR_EFFECT_MOVE_S_TO_UR (RID_APP_START+628)
-#define STR_EFFECT_MOVE_S_TO_R (RID_APP_START+629)
-#define STR_EFFECT_MOVE_S_TO_LR (RID_APP_START+630)
-#define STR_EFFECT_MOVE_S_TO_B (RID_APP_START+631)
-#define STR_EFFECT_MOVE_S_TO_LL (RID_APP_START+632)
-
-#define STR_EFFECT_STRTCH (RID_APP_START+634)
-#define STR_EFFECT_STRTCH_FROM_L (RID_APP_START+635)
-#define STR_EFFECT_STRTCH_FROM_UL (RID_APP_START+636)
-#define STR_EFFECT_STRTCH_FROM_T (RID_APP_START+637)
-#define STR_EFFECT_STRTCH_FROM_UR (RID_APP_START+638)
-#define STR_EFFECT_STRTCH_FROM_R (RID_APP_START+639)
-#define STR_EFFECT_STRTCH_FROM_LR (RID_APP_START+640)
-#define STR_EFFECT_STRTCH_FROM_B (RID_APP_START+641)
-#define STR_EFFECT_STRTCH_FROM_LL (RID_APP_START+642)
-
-#define STR_EFFECT_STRTCH_ROTATE (RID_APP_START+643)
-#define STR_EFFECT_STRTCH_HORIZONTAL (RID_APP_START+644)
-#define STR_EFFECT_STRTCH_VERTICAL (RID_APP_START+645)
-#define STR_EFFECT_ROTATE_HORIZONTAL (RID_APP_START+646)
-#define STR_EFFECT_ROTATE_VERTICAL (RID_APP_START+647)
-
-#define STR_EFFECT_UNCOVER (RID_APP_START+650)
-#define STR_EFFECT_UNCOVER_TO_L (RID_APP_START+651)
-#define STR_EFFECT_UNCOVER_TO_UL (RID_APP_START+652)
-#define STR_EFFECT_UNCOVER_TO_T (RID_APP_START+653)
-#define STR_EFFECT_UNCOVER_TO_UR (RID_APP_START+654)
-#define STR_EFFECT_UNCOVER_TO_R (RID_APP_START+655)
-#define STR_EFFECT_UNCOVER_TO_LR (RID_APP_START+656)
-#define STR_EFFECT_UNCOVER_TO_B (RID_APP_START+657)
-#define STR_EFFECT_UNCOVER_TO_LL (RID_APP_START+658)
-
-#define STR_TWAIN_NO_SOURCE (RID_APP_START+670)
-#define STR_UNDO_VECTORIZE (RID_APP_START+671)
-
-#define STR_AL_VERT_TITLE_TEXT_CHART (RID_APP_START+672)
-#define STR_AL_VERT_TITLE_VERT_OUTLINE (RID_APP_START+673)
+#define STR_EFFECT_DISCARD_SHORT (RID_APP_START+598)
+
+#define STR_EFFECT_DISCARD_FROM_UL (RID_APP_START+600)
+#define STR_EFFECT_DISCARD_FROM_UR (RID_APP_START+601)
+#define STR_EFFECT_DISCARD_FROM_LR (RID_APP_START+602)
+#define STR_EFFECT_DISCARD_FROM_LL (RID_APP_START+603)
+#define STR_EFFECT_DISCARD_S_FROM_L (RID_APP_START+604)
+#define STR_EFFECT_DISCARD_S_FROM_UL (RID_APP_START+605)
+#define STR_EFFECT_DISCARD_S_FROM_T (RID_APP_START+606)
+#define STR_EFFECT_DISCARD_S_FROM_UR (RID_APP_START+607)
+#define STR_EFFECT_DISCARD_S_FROM_R (RID_APP_START+608)
+#define STR_EFFECT_DISCARD_S_FROM_LR (RID_APP_START+609)
+#define STR_EFFECT_DISCARD_S_FROM_B (RID_APP_START+610)
+#define STR_EFFECT_DISCARD_S_FROM_LL (RID_APP_START+611)
+#define STR_EFFECT_VERTICAL_CHECKERBOARD (RID_APP_START+612)
+#define STR_EFFECT_HORIZONTAL_CHECKERBOARD (RID_APP_START+613)
+
+#define STR_EFFECT_MOVE_TO_UL (RID_APP_START+620)
+#define STR_EFFECT_MOVE_TO_UR (RID_APP_START+621)
+#define STR_EFFECT_MOVE_TO_LR (RID_APP_START+622)
+#define STR_EFFECT_MOVE_TO_LL (RID_APP_START+623)
+#define STR_EFFECT_MOVE_S_TO_L (RID_APP_START+625)
+#define STR_EFFECT_MOVE_S_TO_UL (RID_APP_START+626)
+#define STR_EFFECT_MOVE_S_TO_T (RID_APP_START+627)
+#define STR_EFFECT_MOVE_S_TO_UR (RID_APP_START+628)
+#define STR_EFFECT_MOVE_S_TO_R (RID_APP_START+629)
+#define STR_EFFECT_MOVE_S_TO_LR (RID_APP_START+630)
+#define STR_EFFECT_MOVE_S_TO_B (RID_APP_START+631)
+#define STR_EFFECT_MOVE_S_TO_LL (RID_APP_START+632)
+
+#define STR_EFFECT_STRTCH (RID_APP_START+634)
+#define STR_EFFECT_STRTCH_FROM_L (RID_APP_START+635)
+#define STR_EFFECT_STRTCH_FROM_UL (RID_APP_START+636)
+#define STR_EFFECT_STRTCH_FROM_T (RID_APP_START+637)
+#define STR_EFFECT_STRTCH_FROM_UR (RID_APP_START+638)
+#define STR_EFFECT_STRTCH_FROM_R (RID_APP_START+639)
+#define STR_EFFECT_STRTCH_FROM_LR (RID_APP_START+640)
+#define STR_EFFECT_STRTCH_FROM_B (RID_APP_START+641)
+#define STR_EFFECT_STRTCH_FROM_LL (RID_APP_START+642)
+
+#define STR_EFFECT_STRTCH_ROTATE (RID_APP_START+643)
+#define STR_EFFECT_STRTCH_HORIZONTAL (RID_APP_START+644)
+#define STR_EFFECT_STRTCH_VERTICAL (RID_APP_START+645)
+#define STR_EFFECT_ROTATE_HORIZONTAL (RID_APP_START+646)
+#define STR_EFFECT_ROTATE_VERTICAL (RID_APP_START+647)
+
+#define STR_EFFECT_UNCOVER (RID_APP_START+650)
+#define STR_EFFECT_UNCOVER_TO_L (RID_APP_START+651)
+#define STR_EFFECT_UNCOVER_TO_UL (RID_APP_START+652)
+#define STR_EFFECT_UNCOVER_TO_T (RID_APP_START+653)
+#define STR_EFFECT_UNCOVER_TO_UR (RID_APP_START+654)
+#define STR_EFFECT_UNCOVER_TO_R (RID_APP_START+655)
+#define STR_EFFECT_UNCOVER_TO_LR (RID_APP_START+656)
+#define STR_EFFECT_UNCOVER_TO_B (RID_APP_START+657)
+#define STR_EFFECT_UNCOVER_TO_LL (RID_APP_START+658)
+
+#define STR_TWAIN_NO_SOURCE (RID_APP_START+670)
+#define STR_UNDO_VECTORIZE (RID_APP_START+671)
+
+#define STR_AL_VERT_TITLE_TEXT_CHART (RID_APP_START+672)
+#define STR_AL_VERT_TITLE_VERT_OUTLINE (RID_APP_START+673)
#define STR_AL_TITLE_VERT_OUTLINE (RID_APP_START+674)
#define STR_AL_TITLE_VERT_OUTLINE_CLIPART (RID_APP_START+675)
-#define STR_HTMLEXP_DEFAULT_EXTENSION (RID_APP_START+680)
+#define STR_HTMLEXP_DEFAULT_EXTENSION (RID_APP_START+680)
-#define STR_SET_BACKGROUND_PICTURE (RID_APP_START+681)
+#define STR_SET_BACKGROUND_PICTURE (RID_APP_START+681)
#define STR_DESC_RENAMESLIDE (RID_APP_START+682)
#define STR_TITLE_RENAMESLIDE (RID_APP_START+683)
-#define STR_PLACEHOLDER_DESCRIPTION_TITLE (RID_APP_START+684)
-#define STR_PLACEHOLDER_DESCRIPTION_OUTLINE (RID_APP_START+685)
-#define STR_PLACEHOLDER_DESCRIPTION_FOOTER (RID_APP_START+686)
-#define STR_PLACEHOLDER_DESCRIPTION_HEADER (RID_APP_START+687)
-#define STR_PLACEHOLDER_DESCRIPTION_DATETIME (RID_APP_START+688)
-#define STR_PLACEHOLDER_DESCRIPTION_NUMBER (RID_APP_START+689)
-#define STR_PLACEHOLDER_DESCRIPTION_SLIDE (RID_APP_START+690)
-#define STR_PLACEHOLDER_DESCRIPTION_NOTES (RID_APP_START+691)
+#define STR_PLACEHOLDER_DESCRIPTION_TITLE (RID_APP_START+684)
+#define STR_PLACEHOLDER_DESCRIPTION_OUTLINE (RID_APP_START+685)
+#define STR_PLACEHOLDER_DESCRIPTION_FOOTER (RID_APP_START+686)
+#define STR_PLACEHOLDER_DESCRIPTION_HEADER (RID_APP_START+687)
+#define STR_PLACEHOLDER_DESCRIPTION_DATETIME (RID_APP_START+688)
+#define STR_PLACEHOLDER_DESCRIPTION_NUMBER (RID_APP_START+689)
+#define STR_PLACEHOLDER_DESCRIPTION_SLIDE (RID_APP_START+690)
+#define STR_PLACEHOLDER_DESCRIPTION_NOTES (RID_APP_START+691)
-#define STR_FIELD_PLACEHOLDER_HEADER (RID_APP_START+692)
-#define STR_FIELD_PLACEHOLDER_FOOTER (RID_APP_START+693)
-#define STR_FIELD_PLACEHOLDER_DATETIME (RID_APP_START+694)
-#define STR_FIELD_PLACEHOLDER_NUMBER (RID_APP_START+695)
+#define STR_FIELD_PLACEHOLDER_HEADER (RID_APP_START+692)
+#define STR_FIELD_PLACEHOLDER_FOOTER (RID_APP_START+693)
+#define STR_FIELD_PLACEHOLDER_DATETIME (RID_APP_START+694)
+#define STR_FIELD_PLACEHOLDER_NUMBER (RID_APP_START+695)
#define STR_UNDO_HANGULHANJACONVERSION (RID_APP_START+696)
-#define STR_FIELD_PLACEHOLDER_COUNT (RID_APP_START+697)
+#define STR_FIELD_PLACEHOLDER_COUNT (RID_APP_START+697)
#define STR_LEFT_PANE_DRAW_TITLE (RID_APP_START+700)
#define STR_LEFT_PANE_IMPRESS_TITLE (RID_APP_START+701)
@@ -491,21 +491,21 @@
#define STR_TASKPANEL_NOT_AVAILABLE_SUBSTITUTION (RID_APP_START+711)
#define STR_TASKPANEL_PREPARING_PREVIEW_SUBSTITUTION (RID_APP_START+712)
#define STR_TASKPANEL_LAYOUT_MENU_TITLE (RID_APP_START+713)
-#define STR_RESTORE_DRAW_MODE (RID_APP_START+714)
+#define STR_RESTORE_DRAW_MODE (RID_APP_START+714)
#define STR_GRAPHICS_STYLE_FAMILY (RID_APP_START+715)
-#define STR_TITLE_SAVE_AS_PICTURE (RID_APP_START+716)
-#define STR_CELL_STYLE_FAMILY (RID_APP_START+717)
+#define STR_TITLE_SAVE_AS_PICTURE (RID_APP_START+716)
+#define STR_CELL_STYLE_FAMILY (RID_APP_START+717)
#define STR_NAVIGATOR_SHOW_NAMED_SHAPES (RID_APP_START+718)
#define STR_NAVIGATOR_SHOW_ALL_SHAPES (RID_APP_START+719)
#define STR_NAVIGATOR_SHAPE_BASE_NAME (RID_APP_START+720)
-#define STR_RESET_LAYOUT (RID_APP_START+721)
-#define STR_INSERT_TABLE (RID_APP_START+722)
-#define STR_INSERT_CHART (RID_APP_START+723)
-#define STR_INSERT_PICTURE (RID_APP_START+724)
-#define STR_INSERT_MOVIE (RID_APP_START+725)
+#define STR_RESET_LAYOUT (RID_APP_START+721)
+#define STR_INSERT_TABLE (RID_APP_START+722)
+#define STR_INSERT_CHART (RID_APP_START+723)
+#define STR_INSERT_PICTURE (RID_APP_START+724)
+#define STR_INSERT_MOVIE (RID_APP_START+725)
/******************************************************************************
* The ids in glob.hrc start at RID_APP_START+750!
diff --git a/sd/source/ui/inc/tabtempl.hrc b/sd/source/ui/inc/tabtempl.hrc
index 19fd9105b318..898140703093 100644
--- a/sd/source/ui/inc/tabtempl.hrc
+++ b/sd/source/ui/inc/tabtempl.hrc
@@ -1,7 +1,7 @@
/*************************************************************************
*
* 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
@@ -25,6 +25,6 @@
*
************************************************************************/
#include <sfx2/sfx.hrc>
-/* #define TAB_TEMPLATE RID_APP_START+??? */
-#define TAB_TEMPLATE 637
+/* #define TAB_TEMPLATE RID_APP_START+??? */
+#define TAB_TEMPLATE 637
#define TAB_CONTROL 1
diff --git a/sd/source/ui/inc/tabtempl.hxx b/sd/source/ui/inc/tabtempl.hxx
index 1b6b3f4aa373..5311d4232d95 100644
--- a/sd/source/ui/inc/tabtempl.hxx
+++ b/sd/source/ui/inc/tabtempl.hxx
@@ -2,7 +2,7 @@
/*************************************************************************
*
* 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
@@ -51,26 +51,26 @@ class XLineEndList;
class SdTabTemplateDlg : public SfxStyleDialog
{
private:
- const SfxObjectShell& rDocShell;
- SdrView* pSdrView;
+ const SfxObjectShell& rDocShell;
+ SdrView* pSdrView;
- XColorTable* pColorTab;
- XGradientList* pGradientList;
- XHatchList* pHatchingList;
- XBitmapList* pBitmapList;
- XDashList* pDashList;
- XLineEndList* pLineEndList;
+ XColorTable* pColorTab;
+ XGradientList* pGradientList;
+ XHatchList* pHatchingList;
+ XBitmapList* pBitmapList;
+ XDashList* pDashList;
+ XLineEndList* pLineEndList;
- USHORT nPageType;
- USHORT nDlgType;
- USHORT nPos;
- ChangeType nColorTableState;
- ChangeType nBitmapListState;
- ChangeType nGradientListState;
- ChangeType nHatchingListState;
+ USHORT nPageType;
+ USHORT nDlgType;
+ USHORT nPos;
+ ChangeType nColorTableState;
+ ChangeType nBitmapListState;
+ ChangeType nGradientListState;
+ ChangeType nHatchingListState;
- virtual void PageCreated( USHORT nId, SfxTabPage &rPage );
- virtual const SfxItemSet* GetRefreshedSet();
+ virtual void PageCreated( USHORT nId, SfxTabPage &rPage );
+ virtual const SfxItemSet* GetRefreshedSet();
public:
SdTabTemplateDlg( Window* pParent,
diff --git a/sd/source/ui/inc/taskpane/ControlContainer.hxx b/sd/source/ui/inc/taskpane/ControlContainer.hxx
index d14dd1418f44..65e13de8ebc5 100644
--- a/sd/source/ui/inc/taskpane/ControlContainer.hxx
+++ b/sd/source/ui/inc/taskpane/ControlContainer.hxx
@@ -2,7 +2,7 @@
/*************************************************************************
*
* 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
diff --git a/sd/source/ui/inc/taskpane/ILayoutableWindow.hxx b/sd/source/ui/inc/taskpane/ILayoutableWindow.hxx
index 1788557196ce..7f0c9c5f65d7 100644
--- a/sd/source/ui/inc/taskpane/ILayoutableWindow.hxx
+++ b/sd/source/ui/inc/taskpane/ILayoutableWindow.hxx
@@ -2,7 +2,7 @@
/*************************************************************************
*
* 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
@@ -49,7 +49,7 @@ public:
/** This interface has to be implemented by windows that want to be
- layouted by a SubToolPanel or ScrollablePanel object.
+ layouted by a SubToolPanel or ScrollablePanel object.
*/
class ILayoutableWindow
{
@@ -80,10 +80,10 @@ public:
/** Return wether the window is generally resizable. When used by
a VerticalLayouter then the width will always be resized and
the return value of this method determines whether the height
- may be modified as well.
+ may be modified as well.
*/
virtual bool IsResizable (void) = 0;
-
+
/** Return the window so that its size and position can be set.
@return
Returns the window which is layouted or NULL to indicate
@@ -93,7 +93,7 @@ public:
/** Return the minimal width of the window.
*/
- virtual sal_Int32 GetMinimumWidth (void) = 0;
+ virtual sal_Int32 GetMinimumWidth (void) = 0;
};
diff --git a/sd/source/ui/inc/taskpane/PanelId.hxx b/sd/source/ui/inc/taskpane/PanelId.hxx
index 56576c36959c..204e0f5069cd 100644
--- a/sd/source/ui/inc/taskpane/PanelId.hxx
+++ b/sd/source/ui/inc/taskpane/PanelId.hxx
@@ -1,7 +1,7 @@
/* -*- 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
diff --git a/sd/source/ui/inc/taskpane/ScrollPanel.hxx b/sd/source/ui/inc/taskpane/ScrollPanel.hxx
index 92186cbc2529..7ceb19131f4a 100644
--- a/sd/source/ui/inc/taskpane/ScrollPanel.hxx
+++ b/sd/source/ui/inc/taskpane/ScrollPanel.hxx
@@ -2,7 +2,7 @@
/*************************************************************************
*
* 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
@@ -79,7 +79,7 @@ public:
title bar as children is returned.
*/
TitledControl* AddControl (
- ::std::auto_ptr<TreeNode> pControl,
+ ::std::auto_ptr<TreeNode> pControl,
const String& rTitle,
ULONG nHelpId);
@@ -126,7 +126,7 @@ public:
@param pWindow
This window is used to translate the given coordinates into ones
that are relative to the scroll panel.
-
+
*/
void MakeRectangleVisible (
Rectangle& aRectangle,
diff --git a/sd/source/ui/inc/taskpane/SlideSorterCacheDisplay.hxx b/sd/source/ui/inc/taskpane/SlideSorterCacheDisplay.hxx
index f79d5d4f4324..efc1c2fe7945 100644
--- a/sd/source/ui/inc/taskpane/SlideSorterCacheDisplay.hxx
+++ b/sd/source/ui/inc/taskpane/SlideSorterCacheDisplay.hxx
@@ -2,7 +2,7 @@
/*************************************************************************
*
* 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
@@ -72,7 +72,7 @@ public:
virtual void Resize (void);
static SlideSorterCacheDisplay* Instance (const SdDrawDocument* pDocument);
-
+
void SetPageCount (sal_Int32 nPageCount);
enum PageStatus {
NONE,
@@ -192,10 +192,10 @@ void SscdSetUpToDate (const SdrPage* pPage, bool bUpToDate)
#else
-#define SSCD_SET_REQUEST_CLASS(Page,RequestClass)
-#define SSCD_SET_STATUS(RequestData,Status)
-#define SSCD_SET_VISIBILITY(Model,Index,Visible)
-#define SSCD_SET_UPTODATE(Page,UpToDate)
+#define SSCD_SET_REQUEST_CLASS(Page,RequestClass)
+#define SSCD_SET_STATUS(RequestData,Status)
+#define SSCD_SET_VISIBILITY(Model,Index,Visible)
+#define SSCD_SET_UPTODATE(Page,UpToDate)
#endif
diff --git a/sd/source/ui/inc/taskpane/SubToolPanel.hxx b/sd/source/ui/inc/taskpane/SubToolPanel.hxx
index 46063086bfa3..dd25f45adc24 100644
--- a/sd/source/ui/inc/taskpane/SubToolPanel.hxx
+++ b/sd/source/ui/inc/taskpane/SubToolPanel.hxx
@@ -2,7 +2,7 @@
/*************************************************************************
*
* 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
diff --git a/sd/source/ui/inc/taskpane/TaskPaneControlFactory.hxx b/sd/source/ui/inc/taskpane/TaskPaneControlFactory.hxx
index cd4f2a8c5f59..12f1d163f14a 100644
--- a/sd/source/ui/inc/taskpane/TaskPaneControlFactory.hxx
+++ b/sd/source/ui/inc/taskpane/TaskPaneControlFactory.hxx
@@ -2,7 +2,7 @@
/*************************************************************************
*
* 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
diff --git a/sd/source/ui/inc/taskpane/TaskPaneTreeNode.hxx b/sd/source/ui/inc/taskpane/TaskPaneTreeNode.hxx
index 2c3ca8a96a91..75d2d66e3641 100644
--- a/sd/source/ui/inc/taskpane/TaskPaneTreeNode.hxx
+++ b/sd/source/ui/inc/taskpane/TaskPaneTreeNode.hxx
@@ -2,7 +2,7 @@
/*************************************************************************
*
* 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
@@ -84,7 +84,7 @@ public:
/** Return the joined minimum width of all children, i.e. the largest of
the minimum widths.
*/
- virtual sal_Int32 GetMinimumWidth (void);
+ virtual sal_Int32 GetMinimumWidth (void);
/** The default implementaion always returns <FALSE/>
*/
@@ -94,7 +94,7 @@ public:
called node has to be changed, e.g. when the layout menu shows more
or less items than before. As a typical result the node will layout
and resize its children according to their size requirements.
-
+
Please remember that the size of the children can be changed in the
first place because scroll bars can give a node the space it needs.
@@ -157,7 +157,7 @@ public:
The accessible parent of the accessible object to create. It is
not necessaryly the accessible object of the parent window of
GetWindow().
-
+
*/
virtual ::com::sun::star::uno::Reference<
::com::sun::star::accessibility::XAccessible> CreateAccessibleObject (
@@ -180,7 +180,7 @@ public:
void FireStateChangeEvent (
TreeNodeStateChangeEventId eEventId,
TreeNode* pChild = NULL) const;
-
+
protected:
::std::auto_ptr<ControlContainer> mpControlContainer;
diff --git a/sd/source/ui/inc/taskpane/TitleBar.hxx b/sd/source/ui/inc/taskpane/TitleBar.hxx
index 052fd39f3b4c..afa332fa739c 100644
--- a/sd/source/ui/inc/taskpane/TitleBar.hxx
+++ b/sd/source/ui/inc/taskpane/TitleBar.hxx
@@ -2,7 +2,7 @@
/*************************************************************************
*
* 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
diff --git a/sd/source/ui/inc/taskpane/TitledControl.hxx b/sd/source/ui/inc/taskpane/TitledControl.hxx
index 134ea745bf42..35902469f6d6 100644
--- a/sd/source/ui/inc/taskpane/TitledControl.hxx
+++ b/sd/source/ui/inc/taskpane/TitledControl.hxx
@@ -2,7 +2,7 @@
/*************************************************************************
*
* 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
@@ -54,7 +54,7 @@ class TitledControl
{
public:
typedef ::boost::function1<void, TitledControl&> ClickHandler;
-
+
/** Create a new descriptor for the given control.
@param pParent
The parent window of the new descriptor.
@@ -69,11 +69,11 @@ public:
@param eType
Type of the title bar. This specifies how the title bar
will be formated. For more information see TitleBar.
-
+
*/
TitledControl (
TreeNode* pParent,
- ::std::auto_ptr<TreeNode> pControl,
+ ::std::auto_ptr<TreeNode> pControl,
const String& rTitle,
const ClickHandler& rClickHandler,
TitleBar::TitleBarType eType);
@@ -146,7 +146,7 @@ private:
const TitledControl& aDescriptor);
void UpdateStates (void);
-
+
DECL_LINK(WindowEventListener, VclSimpleEvent*);
};
diff --git a/sd/source/ui/inc/taskpane/ToolPanelViewShell.hxx b/sd/source/ui/inc/taskpane/ToolPanelViewShell.hxx
index fc0aaa2f2c17..2933f034a22f 100644
--- a/sd/source/ui/inc/taskpane/ToolPanelViewShell.hxx
+++ b/sd/source/ui/inc/taskpane/ToolPanelViewShell.hxx
@@ -2,7 +2,7 @@
/*************************************************************************
*
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
- *
+ *
* Copyright 2008 by Sun Microsystems, Inc.
*
* OpenOffice.org - a multi-platform office productivity suite
@@ -76,7 +76,7 @@ public:
SFX_DECL_INTERFACE(SD_IF_SDTOOLPANELSHELL)
ToolPanelViewShell (
- SfxViewFrame* pFrame,
+ SfxViewFrame* pFrame,
ViewShellBase& rViewShellBase,
::Window* pParentWindow,
FrameView* pFrameView);
@@ -93,8 +93,8 @@ public:
virtual void KeyInput (const KeyEvent& rEvent);
using sd::ViewShell::KeyInput;
- virtual SdPage* GetActualPage (void);
- virtual SdPage* getCurrentPage (void) const;
+ virtual SdPage* GetActualPage (void);
+ virtual SdPage* getCurrentPage (void) const;
void Execute (SfxRequest& rRequest);
void GetState (SfxItemSet& rItemSet);
diff --git a/sd/source/ui/inc/tbx_ww.hrc b/sd/source/ui/inc/tbx_ww.hrc
index 0189eecf2739..efcb657b1357 100644
--- a/sd/source/ui/inc/tbx_ww.hrc
+++ b/sd/source/ui/inc/tbx_ww.hrc
@@ -1,7 +1,7 @@
/*************************************************************************
*
* 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
diff --git a/sd/source/ui/inc/tbx_ww.hxx b/sd/source/ui/inc/tbx_ww.hxx
index 434551e08825..ba170322d55e 100644
--- a/sd/source/ui/inc/tbx_ww.hxx
+++ b/sd/source/ui/inc/tbx_ww.hxx
@@ -2,7 +2,7 @@
/*************************************************************************
*
* 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
@@ -39,11 +39,11 @@
class SdPopupWindowTbx : public SfxPopupWindow
{
private:
- SfxToolBoxManager aTbx;
+ SfxToolBoxManager aTbx;
SdResId aSdResIdWin;
SdResId aSdResIdTbx;
- WindowAlign eTbxAlign;
- Link aSelectLink;
+ WindowAlign eTbxAlign;
+ Link aSelectLink;
DECL_LINK( TbxSelectHdl, ToolBox * );
@@ -56,8 +56,8 @@ public:
virtual void PopupModeEnd();
- void StartSelection() { aTbx.GetToolBox().StartSelection(); }
- void Update();
+ void StartSelection() { aTbx.GetToolBox().StartSelection(); }
+ void Update();
private:
@@ -72,7 +72,7 @@ private:
class SdTbxControl : public SfxToolBoxControl
{
private:
- BOOL IsCheckable( USHORT nSId );
+ BOOL IsCheckable( USHORT nSId );
public:
SFX_DECL_TOOLBOX_CONTROL();
@@ -80,12 +80,12 @@ public:
SdTbxControl(USHORT nSlotId, USHORT nId, ToolBox& rTbx );
~SdTbxControl() {}
- virtual SfxPopupWindowType GetPopupWindowType() const;
- virtual SfxPopupWindow* CreatePopupWindow();
+ virtual SfxPopupWindowType GetPopupWindowType() const;
+ virtual SfxPopupWindow* CreatePopupWindow();
virtual void StateChanged( USHORT nSId, SfxItemState eState,
const SfxPoolItem* pState );
};
-#endif // _SD_TBX_WW_HXX
+#endif // _SD_TBX_WW_HXX
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/sd/source/ui/inc/tmplctrl.hxx b/sd/source/ui/inc/tmplctrl.hxx
index 254247103310..109ab4eb98d7 100644
--- a/sd/source/ui/inc/tmplctrl.hxx
+++ b/sd/source/ui/inc/tmplctrl.hxx
@@ -2,7 +2,7 @@
/*************************************************************************
*
* 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
@@ -37,7 +37,7 @@ public:
SdTemplateControl( USHORT nSlotId, USHORT nId, StatusBar& rStb );
~SdTemplateControl();
- virtual void StateChanged( USHORT nSID, SfxItemState eState, const SfxPoolItem* pState );
+ virtual void StateChanged( USHORT nSID, SfxItemState eState, const SfxPoolItem* pState );
virtual void Paint( const UserDrawEvent& rEvt );
SFX_DECL_STATUSBAR_CONTROL();
diff --git a/sd/source/ui/inc/tools/AsynchronousCall.hxx b/sd/source/ui/inc/tools/AsynchronousCall.hxx
index 3151d7c9540a..55f82a6924f8 100644
--- a/sd/source/ui/inc/tools/AsynchronousCall.hxx
+++ b/sd/source/ui/inc/tools/AsynchronousCall.hxx
@@ -2,7 +2,7 @@
/*************************************************************************
*
* 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
@@ -43,8 +43,8 @@ namespace sd { namespace tools {
objects can be used.
b) When more than one function objects are posted to be executed later
then the pending ones are erased and only the last one will actually be
- executed.
-
+ executed.
+
Use this class like this:
aInstanceOfAsynchronousCall.Post(
::boost::bind(
@@ -59,7 +59,7 @@ public:
one (semantical) type of call.
*/
AsynchronousCall (void);
-
+
~AsynchronousCall (void);
/** Post a function object that is to be executed asynchronously. When
diff --git a/sd/source/ui/inc/tools/AsynchronousTask.hxx b/sd/source/ui/inc/tools/AsynchronousTask.hxx
index f27508cd278a..a377d5e3f048 100644
--- a/sd/source/ui/inc/tools/AsynchronousTask.hxx
+++ b/sd/source/ui/inc/tools/AsynchronousTask.hxx
@@ -2,7 +2,7 @@
/*************************************************************************
*
* 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
@@ -28,7 +28,7 @@
#ifndef SD_ASYNCHRONOUS_TASK_HXX
#define SD_ASYNCHRONOUS_TASK_HXX
-
+
namespace sd { namespace tools {
/** Interface for the asynchronous execution of a task. This interface
diff --git a/sd/source/ui/inc/tools/ConfigurationAccess.hxx b/sd/source/ui/inc/tools/ConfigurationAccess.hxx
index 877a037a80a2..7f595c52cab0 100644
--- a/sd/source/ui/inc/tools/ConfigurationAccess.hxx
+++ b/sd/source/ui/inc/tools/ConfigurationAccess.hxx
@@ -2,7 +2,7 @@
/*************************************************************************
*
* 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
@@ -50,7 +50,7 @@ class ConfigurationAccess
{
public:
enum WriteMode { READ_WRITE, READ_ONLY };
-
+
/** Create a new object to access the configuration entries below the
given root.
@param rsRootName
@@ -106,7 +106,7 @@ public:
const ::rtl::OUString&,
const std::vector<css::uno::Any>&) > Functor;
- /** Execute a functor for all elements of the given container.
+ /** Execute a functor for all elements of the given container.
@param rxContainer
The container is a XNameAccess to a list of the configuration.
This can be a node returned by GetConfigurationNode().
diff --git a/sd/source/ui/inc/tools/IconCache.hxx b/sd/source/ui/inc/tools/IconCache.hxx
index 916ef47ff5d0..198ed208e25b 100644
--- a/sd/source/ui/inc/tools/IconCache.hxx
+++ b/sd/source/ui/inc/tools/IconCache.hxx
@@ -2,7 +2,7 @@
/*************************************************************************
*
* 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
@@ -48,7 +48,7 @@ class IconCache
{
public:
/** The lifetime of the returned reference is limited to that of the sd
- module.
+ module.
*/
static IconCache& Instance (void);
diff --git a/sd/source/ui/inc/tools/IdleDetection.hxx b/sd/source/ui/inc/tools/IdleDetection.hxx
index 357bb61a2000..9b6dc6d7c989 100644
--- a/sd/source/ui/inc/tools/IdleDetection.hxx
+++ b/sd/source/ui/inc/tools/IdleDetection.hxx
@@ -2,7 +2,7 @@
/*************************************************************************
*
* 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
@@ -32,7 +32,7 @@
#include <sal/types.h>
class Window;
-
+
namespace sd { namespace tools {
/** Detect whether the system is idle and some time consuming operation may
diff --git a/sd/source/ui/inc/tools/PropertySet.hxx b/sd/source/ui/inc/tools/PropertySet.hxx
index fa85c4488ed3..282eeb6c0b83 100644
--- a/sd/source/ui/inc/tools/PropertySet.hxx
+++ b/sd/source/ui/inc/tools/PropertySet.hxx
@@ -2,7 +2,7 @@
/*************************************************************************
*
* 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
@@ -50,7 +50,7 @@ namespace {
support constrained properties and thus does not support vetoable
listeners. It does not support the optional property set info.
- In order to use it you have to derive from this class and implement the
+ In order to use it you have to derive from this class and implement the
GetPropertyValue() and SetPropertyValue() methods.
*/
class PropertySet
@@ -68,7 +68,7 @@ public:
virtual css::uno::Reference<css::beans::XPropertySetInfo>
SAL_CALL getPropertySetInfo (void)
throw(css::uno::RuntimeException);
-
+
virtual void SAL_CALL setPropertyValue (
const rtl::OUString& rsPropertyName,
const css::uno::Any& rsPropertyValue)
@@ -77,12 +77,12 @@ public:
css::lang::IllegalArgumentException,
css::lang::WrappedTargetException,
css::uno::RuntimeException);
-
+
virtual css::uno::Any SAL_CALL getPropertyValue (const rtl::OUString& rsPropertyName)
throw(css::beans::UnknownPropertyException,
css::lang::WrappedTargetException,
css::uno::RuntimeException);
-
+
virtual void SAL_CALL addPropertyChangeListener (
const rtl::OUString& rsPropertyName,
const css::uno::Reference<css::beans::XPropertyChangeListener>& rxListener)
diff --git a/sd/source/ui/inc/tools/SdGlobalResourceContainer.hxx b/sd/source/ui/inc/tools/SdGlobalResourceContainer.hxx
index a1715967e0a0..220a4e9c76b5 100644
--- a/sd/source/ui/inc/tools/SdGlobalResourceContainer.hxx
+++ b/sd/source/ui/inc/tools/SdGlobalResourceContainer.hxx
@@ -2,7 +2,7 @@
/*************************************************************************
*
* 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
@@ -74,7 +74,7 @@ public:
/** Add a resource to the container. The ownership of the resource is
transferred to the container. The resource is destroyed when the
container is destroyed, i.e. when the sd module is destroyed.
-
+
When in doubt, use the shared_ptr variant of this method.
*/
void AddResource (::std::auto_ptr<SdGlobalResource> pResource);
diff --git a/sd/source/ui/inc/tools/SlotStateListener.hxx b/sd/source/ui/inc/tools/SlotStateListener.hxx
index 2bad729b6b8c..b2c90910b26f 100644
--- a/sd/source/ui/inc/tools/SlotStateListener.hxx
+++ b/sd/source/ui/inc/tools/SlotStateListener.hxx
@@ -2,7 +2,7 @@
/*************************************************************************
*
* 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
@@ -42,7 +42,7 @@
namespace sd { namespace tools {
-typedef cppu::WeakComponentImplHelper1<
+typedef cppu::WeakComponentImplHelper1<
::com::sun::star::frame::XStatusListener
> SlotStateListenerInterfaceBase;
@@ -96,7 +96,7 @@ public:
@throws DisposedException
*/
void ObserveSlot (const ::rtl::OUString& rSlotName);
-
+
//===== frame::XStatusListener ==========================================
/** Called by slot state change broadcasters. In turn the callback is
@@ -111,7 +111,7 @@ public:
//===== lang::XEventListener ============================================
virtual void SAL_CALL
- disposing(const com::sun::star::lang::EventObject& rEvent)
+ disposing(const com::sun::star::lang::EventObject& rEvent)
throw(com::sun::star::uno::RuntimeException);
protected:
@@ -149,7 +149,7 @@ private:
/** Return an XDispatch object for the given URL.
*/
- ::com::sun::star::uno::Reference<com::sun::star::frame::XDispatch>
+ ::com::sun::star::uno::Reference<com::sun::star::frame::XDispatch>
GetDispatch (
const ::com::sun::star::util::URL& rURL) const;
};
diff --git a/sd/source/ui/inc/tools/TimerBasedTaskExecution.hxx b/sd/source/ui/inc/tools/TimerBasedTaskExecution.hxx
index d37aa44d4550..d2c3bf01eafa 100644
--- a/sd/source/ui/inc/tools/TimerBasedTaskExecution.hxx
+++ b/sd/source/ui/inc/tools/TimerBasedTaskExecution.hxx
@@ -2,7 +2,7 @@
/*************************************************************************
*
* 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
@@ -40,7 +40,7 @@ class AsynchronousTask;
/** Execute an AsynchronousTask timer based, i.e. every
nMillisecondsBetweenSteps milliseconds as much steps are executed as fit
into a nMaxTimePerStep millisecond intervall.
-
+
When a task is executed completely, i.e. HasNextStep() returns <FALSE/>,
the TimerBasedTaskExecution destroys itself. This, of course, works
only if the creating instance does not hold a shared_ptr to that object.
@@ -72,7 +72,7 @@ public:
exceptions.
*/
static void ReleaseTask (const ::boost::weak_ptr<TimerBasedTaskExecution>& rpTask);
-
+
private:
::boost::shared_ptr<AsynchronousTask> mpTask;
Timer maTimer;
diff --git a/sd/source/ui/inc/tpaction.hrc b/sd/source/ui/inc/tpaction.hrc
index e273b9cb573c..70bf2e1bf904 100644
--- a/sd/source/ui/inc/tpaction.hrc
+++ b/sd/source/ui/inc/tpaction.hrc
@@ -1,7 +1,7 @@
/*************************************************************************
*
* 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
diff --git a/sd/source/ui/inc/tpaction.hxx b/sd/source/ui/inc/tpaction.hxx
index 4d8ba7cf67a9..edf24a589f52 100644
--- a/sd/source/ui/inc/tpaction.hxx
+++ b/sd/source/ui/inc/tpaction.hxx
@@ -2,7 +2,7 @@
/*************************************************************************
*
* 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
@@ -57,7 +57,7 @@ class SdDrawDocument;
class SdActionDlg : public SfxSingleTabDialog
{
private:
- const SfxItemSet& rOutAttrs;
+ const SfxItemSet& rOutAttrs;
public:
@@ -74,31 +74,31 @@ public:
class SdTPAction : public SfxTabPage
{
private:
- FixedText aFtAction; // always visible
- ListBox aLbAction;
-
- FixedText aFtTree; // jump destination controls
- SdPageObjsTLB aLbTree;
- SdPageObjsTLB aLbTreeDocument;
- ListBox aLbOLEAction;
+ FixedText aFtAction; // always visible
+ ListBox aLbAction;
+
+ FixedText aFtTree; // jump destination controls
+ SdPageObjsTLB aLbTree;
+ SdPageObjsTLB aLbTreeDocument;
+ ListBox aLbOLEAction;
FixedLine aFlSeparator;
- Edit aEdtSound;
+ Edit aEdtSound;
Edit aEdtBookmark;
Edit aEdtDocument;
Edit aEdtProgram;
Edit aEdtMacro;
PushButton aBtnSearch;
PushButton aBtnSeek;
-
- const SfxItemSet& rOutAttrs;
- const ::sd::View* mpView;
- SdDrawDocument* mpDoc;
- XColorTable* pColTab;
-
- BOOL bTreeUpdated;
- List* pCurrentActions;
- String aLastFile;
+
+ const SfxItemSet& rOutAttrs;
+ const ::sd::View* mpView;
+ SdDrawDocument* mpDoc;
+ XColorTable* pColTab;
+
+ BOOL bTreeUpdated;
+ List* pCurrentActions;
+ String aLastFile;
::std::vector< long > aVerbVector;
//------------------------------------
@@ -108,15 +108,15 @@ private:
DECL_LINK( SelectTreeHdl, void * );
DECL_LINK( CheckFileHdl, void * );
- void UpdateTree();
- virtual void OpenFileDialog();
- ::com::sun::star::presentation::ClickAction GetActualClickAction();
- void SetActualClickAction( ::com::sun::star::presentation::ClickAction eCA );
- void SetActualAnimationEffect( ::com::sun::star::presentation::AnimationEffect eAE );
- void SetEditText( String const & rStr );
- String GetEditText( BOOL bURL = FALSE );
- USHORT GetClickActionSdResId( ::com::sun::star::presentation::ClickAction eCA );
- USHORT GetAnimationEffectSdResId( ::com::sun::star::presentation::AnimationEffect eAE );
+ void UpdateTree();
+ virtual void OpenFileDialog();
+ ::com::sun::star::presentation::ClickAction GetActualClickAction();
+ void SetActualClickAction( ::com::sun::star::presentation::ClickAction eCA );
+ void SetActualAnimationEffect( ::com::sun::star::presentation::AnimationEffect eAE );
+ void SetEditText( String const & rStr );
+ String GetEditText( BOOL bURL = FALSE );
+ USHORT GetClickActionSdResId( ::com::sun::star::presentation::ClickAction eCA );
+ USHORT GetAnimationEffectSdResId( ::com::sun::star::presentation::AnimationEffect eAE );
public:
SdTPAction( Window* pParent, const SfxItemSet& rInAttrs );
@@ -132,12 +132,12 @@ public:
void Construct();
- void SetView( const ::sd::View* pSdView );
+ void SetView( const ::sd::View* pSdView );
using TabPage::ActivatePage;
using TabPage::DeactivatePage;
};
-#endif // _SD_TPACTION_HXX
+#endif // _SD_TPACTION_HXX
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/sd/source/ui/inc/tpoption.hrc b/sd/source/ui/inc/tpoption.hrc
index bcb5169d13f6..dc51afb6bf35 100644
--- a/sd/source/ui/inc/tpoption.hrc
+++ b/sd/source/ui/inc/tpoption.hrc
@@ -1,7 +1,7 @@
/*************************************************************************
*
* 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
diff --git a/sd/source/ui/inc/tpoption.hxx b/sd/source/ui/inc/tpoption.hxx
index ca37ab084829..02955342cff8 100644
--- a/sd/source/ui/inc/tpoption.hxx
+++ b/sd/source/ui/inc/tpoption.hxx
@@ -2,7 +2,7 @@
/*************************************************************************
*
* 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
@@ -50,7 +50,7 @@ public:
SdTpOptionsSnap( Window* pParent, const SfxItemSet& rInAttrs );
~SdTpOptionsSnap();
- static SfxTabPage* Create( Window*, const SfxItemSet& );
+ static SfxTabPage* Create( Window*, const SfxItemSet& );
virtual BOOL FillItemSet( SfxItemSet& );
virtual void Reset( const SfxItemSet & );
@@ -67,16 +67,16 @@ class SdTpOptionsContents : public SfxTabPage
private:
FixedLine aGrpDisplay;
CheckBox aCbxRuler;
- CheckBox aCbxDragStripes;
- CheckBox aCbxHandlesBezier;
- CheckBox aCbxMoveOutline;
+ CheckBox aCbxDragStripes;
+ CheckBox aCbxHandlesBezier;
+ CheckBox aCbxMoveOutline;
public:
SdTpOptionsContents( Window* pParent, const SfxItemSet& rInAttrs );
~SdTpOptionsContents();
- static SfxTabPage* Create( Window*, const SfxItemSet& );
+ static SfxTabPage* Create( Window*, const SfxItemSet& );
virtual BOOL FillItemSet( SfxItemSet& );
virtual void Reset( const SfxItemSet & );
};
@@ -109,7 +109,7 @@ private:
FixedText aTxtMetric;
ListBox aLbMetric;
FixedText aTxtTabstop;
- MetricField aMtrFldTabstop;
+ MetricField aMtrFldTabstop;
CheckBox aCbxStartWithActualPage;
FixedLine aGrpStartWithActualPage;
@@ -126,25 +126,25 @@ private:
FixedText aFtEquivalent;
FixedText aFtPageWidth;
- FixedInfo aFiInfo1;
+ FixedInfo aFiInfo1;
MetricField aMtrFldOriginalWidth;
FixedText aFtPageHeight;
- FixedInfo aFiInfo2;
+ FixedInfo aFiInfo2;
MetricField aMtrFldOriginalHeight;
MetricField aMtrFldInfo1;
- MetricField aMtrFldInfo2;
+ MetricField aMtrFldInfo2;
UINT32 nWidth;
- UINT32 nHeight;
- String aInfo1;
- String aInfo2;
+ UINT32 nHeight;
+ String aInfo1;
+ String aInfo2;
- SfxMapUnit ePoolUnit;
+ SfxMapUnit ePoolUnit;
- String GetScale( INT32 nX, INT32 nY );
- BOOL SetScale( const String& aScale, INT32& rX, INT32& rY );
+ String GetScale( INT32 nX, INT32 nY );
+ BOOL SetScale( const String& aScale, INT32& rX, INT32& rY );
DECL_LINK( ModifyScaleHdl, void * );
DECL_LINK( ModifyOriginalScaleHdl, void * );
@@ -158,13 +158,13 @@ private:
protected:
virtual void ActivatePage( const SfxItemSet& rSet );
- virtual int DeactivatePage( SfxItemSet* pSet );
+ virtual int DeactivatePage( SfxItemSet* pSet );
public:
SdTpOptionsMisc( Window* pParent, const SfxItemSet& rInAttrs );
~SdTpOptionsMisc();
- static SfxTabPage* Create( Window*, const SfxItemSet& );
+ static SfxTabPage* Create( Window*, const SfxItemSet& );
virtual BOOL FillItemSet( SfxItemSet& );
virtual void Reset( const SfxItemSet & );
@@ -179,7 +179,7 @@ public:
<member>SetDrawMode()</member> method more than once.
*/
void SetImpressMode (void);
- virtual void PageCreated (SfxAllItemSet aSet);
+ virtual void PageCreated (SfxAllItemSet aSet);
using TabPage::ActivatePage;
using TabPage::DeactivatePage;
diff --git a/sd/source/ui/inc/unchss.hxx b/sd/source/ui/inc/unchss.hxx
index 481087783b65..6cd3a1331cb6 100644
--- a/sd/source/ui/inc/unchss.hxx
+++ b/sd/source/ui/inc/unchss.hxx
@@ -2,7 +2,7 @@
/*************************************************************************
*
* 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
diff --git a/sd/source/ui/inc/undoback.hxx b/sd/source/ui/inc/undoback.hxx
index 11ca547c79c6..0021a35ecdc4 100644
--- a/sd/source/ui/inc/undoback.hxx
+++ b/sd/source/ui/inc/undoback.hxx
@@ -2,7 +2,7 @@
/*************************************************************************
*
* 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
@@ -45,15 +45,15 @@ private:
SdPage& mrPage;
SfxItemSet* mpItemSet;
-
+
void ImplRestoreBackgroundObj();
public:
-
+
TYPEINFO();
-
- SdBackgroundObjUndoAction(
- SdDrawDocument& rDoc,
+
+ SdBackgroundObjUndoAction(
+ SdDrawDocument& rDoc,
SdPage& rPage,
const SfxItemSet& rItenSet);
virtual ~SdBackgroundObjUndoAction();
diff --git a/sd/source/ui/inc/undoheaderfooter.hxx b/sd/source/ui/inc/undoheaderfooter.hxx
index 90f5d7747f75..02756e2be934 100644
--- a/sd/source/ui/inc/undoheaderfooter.hxx
+++ b/sd/source/ui/inc/undoheaderfooter.hxx
@@ -2,7 +2,7 @@
/*************************************************************************
*
* 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
@@ -42,8 +42,8 @@ class SD_DLLPUBLIC SdHeaderFooterUndoAction : public SdUndoAction
{
SdPage* mpPage;
- const sd::HeaderFooterSettings maOldSettings;
- const sd::HeaderFooterSettings maNewSettings;
+ const sd::HeaderFooterSettings maOldSettings;
+ const sd::HeaderFooterSettings maNewSettings;
public:
TYPEINFO();
@@ -54,6 +54,6 @@ public:
virtual void Redo();
};
-#endif // _SD_UNDOHEADERFOOTER_HXX
+#endif // _SD_UNDOHEADERFOOTER_HXX
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/sd/source/ui/inc/undolayer.hxx b/sd/source/ui/inc/undolayer.hxx
index f076d432ebe3..09f324b6ea72 100644
--- a/sd/source/ui/inc/undolayer.hxx
+++ b/sd/source/ui/inc/undolayer.hxx
@@ -2,7 +2,7 @@
/*************************************************************************
*
* 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
@@ -38,7 +38,7 @@ class SdrLayer;
class SdLayerModifyUndoAction : public SdUndoAction
{
-
+
public:
TYPEINFO();
SdLayerModifyUndoAction( SdDrawDocument* _pDoc, SdrLayer* pLayer,
@@ -64,6 +64,6 @@ private:
bool mbNewIsPrintable;
};
-#endif // _SD_UNDOLAYER_HXX
+#endif // _SD_UNDOLAYER_HXX
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/sd/source/ui/inc/undopage.hxx b/sd/source/ui/inc/undopage.hxx
index 49d1505b1fa1..32bcb7241219 100644
--- a/sd/source/ui/inc/undopage.hxx
+++ b/sd/source/ui/inc/undopage.hxx
@@ -2,7 +2,7 @@
/*************************************************************************
*
* 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
@@ -65,45 +65,45 @@ class SdPageFormatUndoAction : public SdUndoAction
public:
TYPEINFO();
- SdPageFormatUndoAction( SdDrawDocument* pDoc,
- SdPage* pThePage,
- const Size& rOldSz,
- INT32 nOldLft,
- INT32 nOldRgt,
- INT32 nOldUpr,
- INT32 nOldLwr,
+ SdPageFormatUndoAction( SdDrawDocument* pDoc,
+ SdPage* pThePage,
+ const Size& rOldSz,
+ INT32 nOldLft,
+ INT32 nOldRgt,
+ INT32 nOldUpr,
+ INT32 nOldLwr,
BOOL bOldScl,
Orientation eOldOrient,
- USHORT nOPaperBin,
- BOOL bOFullSize,
+ USHORT nOPaperBin,
+ BOOL bOFullSize,
const Size& rNewSz,
- INT32 nNewLft,
- INT32 nNewRgt,
- INT32 nNewUpr,
+ INT32 nNewLft,
+ INT32 nNewRgt,
+ INT32 nNewUpr,
INT32 nNewLwr,
BOOL bNewScl,
Orientation eNewOrient,
- USHORT nNPaperBin,
- BOOL bNFullSize
+ USHORT nNPaperBin,
+ BOOL bNFullSize
) :
SdUndoAction(pDoc),
- mpPage (pThePage),
- maOldSize (rOldSz),
- mnOldLeft (nOldLft),
- mnOldRight (nOldRgt),
- mnOldUpper (nOldUpr),
- mnOldLower (nOldLwr),
+ mpPage (pThePage),
+ maOldSize (rOldSz),
+ mnOldLeft (nOldLft),
+ mnOldRight (nOldRgt),
+ mnOldUpper (nOldUpr),
+ mnOldLower (nOldLwr),
mbOldScale (bOldScl),
meOldOrientation(eOldOrient),
mnOldPaperBin (nOPaperBin),
mbOldFullSize (bOFullSize),
- maNewSize (rNewSz),
- mnNewLeft (nNewLft),
- mnNewRight (nNewRgt),
- mnNewUpper (nNewUpr),
+ maNewSize (rNewSz),
+ mnNewLeft (nNewLft),
+ mnNewRight (nNewRgt),
+ mnNewUpper (nNewUpr),
mnNewLower (nNewLwr),
mbNewScale (bNewScl),
meNewOrientation(eNewOrient),
@@ -121,12 +121,12 @@ public:
class SdPageLRUndoAction : public SdUndoAction
{
- SdPage* mpPage;
+ SdPage* mpPage;
- INT32 mnOldLeft;
- INT32 mnOldRight;
- INT32 mnNewLeft;
- INT32 mnNewRight;
+ INT32 mnOldLeft;
+ INT32 mnOldRight;
+ INT32 mnNewLeft;
+ INT32 mnNewRight;
public:
TYPEINFO();
@@ -134,11 +134,11 @@ public:
INT32 nOldLft, INT32 nOldRgt,
INT32 nNewLft, INT32 nNewRgt ) :
SdUndoAction(pDoc),
- mpPage (pThePage),
- mnOldLeft (nOldLft),
- mnOldRight (nOldRgt),
- mnNewLeft (nNewLft),
- mnNewRight (nNewRgt)
+ mpPage (pThePage),
+ mnOldLeft (nOldLft),
+ mnOldRight (nOldRgt),
+ mnNewLeft (nNewLft),
+ mnNewRight (nNewRgt)
{}
virtual ~SdPageLRUndoAction();
@@ -150,12 +150,12 @@ public:
class SdPageULUndoAction : public SdUndoAction
{
- SdPage* mpPage;
+ SdPage* mpPage;
- INT32 mnOldUpper;
- INT32 mnOldLower;
- INT32 mnNewUpper;
- INT32 mnNewLower;
+ INT32 mnOldUpper;
+ INT32 mnOldLower;
+ INT32 mnNewUpper;
+ INT32 mnNewLower;
public:
TYPEINFO();
@@ -163,11 +163,11 @@ public:
INT32 nOldUpr, INT32 nOldLwr,
INT32 nNewUpr, INT32 nNewLwr ) :
SdUndoAction(pDoc),
- mpPage (pThePage),
- mnOldUpper (nOldUpr),
- mnOldLower (nOldLwr),
- mnNewUpper (nNewUpr),
- mnNewLower (nNewLwr)
+ mpPage (pThePage),
+ mnOldUpper (nOldUpr),
+ mnOldLower (nOldLwr),
+ mnNewUpper (nNewUpr),
+ mnNewLower (nNewLwr)
{}
virtual ~SdPageULUndoAction();
@@ -177,6 +177,6 @@ public:
-#endif // _SD_UNDOPAGE_HXX
+#endif // _SD_UNDOPAGE_HXX
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/sd/source/ui/inc/unmodpg.hxx b/sd/source/ui/inc/unmodpg.hxx
index 9540bf1c00a9..05aa0ce84d08 100644
--- a/sd/source/ui/inc/unmodpg.hxx
+++ b/sd/source/ui/inc/unmodpg.hxx
@@ -2,7 +2,7 @@
/*************************************************************************
*
* 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
@@ -38,7 +38,7 @@ class SdPage;
class ModifyPageUndoAction : public SdUndoAction
{
// #67720#
- SfxUndoManager* mpManager;
+ SfxUndoManager* mpManager;
SdPage* mpPage;
String maOldName;
@@ -55,13 +55,13 @@ class ModifyPageUndoAction : public SdUndoAction
public:
TYPEINFO();
ModifyPageUndoAction(
- SfxUndoManager* pManager, // #67720#
- SdDrawDocument* pTheDoc,
- SdPage* pThePage,
- String aTheNewName,
- AutoLayout eTheNewAutoLayout,
- BOOL bTheNewBckgrndVisible,
- BOOL bTheNewBckgrndObjsVisible);
+ SfxUndoManager* pManager, // #67720#
+ SdDrawDocument* pTheDoc,
+ SdPage* pThePage,
+ String aTheNewName,
+ AutoLayout eTheNewAutoLayout,
+ BOOL bTheNewBckgrndVisible,
+ BOOL bTheNewBckgrndObjsVisible);
virtual ~ModifyPageUndoAction();
virtual void Undo();
diff --git a/sd/source/ui/inc/unmovss.hxx b/sd/source/ui/inc/unmovss.hxx
index 4299a07026db..6b02bf512295 100644
--- a/sd/source/ui/inc/unmovss.hxx
+++ b/sd/source/ui/inc/unmovss.hxx
@@ -2,7 +2,7 @@
/*************************************************************************
*
* 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
@@ -37,9 +37,9 @@ class SdDrawDocument;
class SdMoveStyleSheetsUndoAction : public SdUndoAction
{
- SdStyleSheetVector maStyles;
- std::vector< SdStyleSheetVector > maListOfChildLists;
- bool mbMySheets;
+ SdStyleSheetVector maStyles;
+ std::vector< SdStyleSheetVector > maListOfChildLists;
+ bool mbMySheets;
public:
SdMoveStyleSheetsUndoAction(SdDrawDocument* pTheDoc, SdStyleSheetVector& rTheStyles, bool bInserted);
diff --git a/sd/source/ui/inc/unoaprms.hxx b/sd/source/ui/inc/unoaprms.hxx
index 7640be9ed6ed..3dd8129a5a37 100644
--- a/sd/source/ui/inc/unoaprms.hxx
+++ b/sd/source/ui/inc/unoaprms.hxx
@@ -2,7 +2,7 @@
/*************************************************************************
*
* 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
@@ -43,11 +43,11 @@ class SdrObject;
class SdAnimationPrmsUndoAction : public SdUndoAction
{
- SdrObject* pObject;
- BOOL bOldActive;
- BOOL bNewActive;
+ SdrObject* pObject;
+ BOOL bOldActive;
+ BOOL bNewActive;
BOOL bOldDimPrevious;
- BOOL bNewDimPrevious;
+ BOOL bNewDimPrevious;
BOOL bOldDimHide;
BOOL bNewDimHide;
BOOL bOldSoundOn;
@@ -63,13 +63,13 @@ class SdAnimationPrmsUndoAction : public SdUndoAction
::com::sun::star::presentation::AnimationEffect eOldTextEffect;
::com::sun::star::presentation::AnimationEffect eNewTextEffect;
::com::sun::star::presentation::AnimationSpeed eOldSpeed;
- ::com::sun::star::presentation::AnimationSpeed eNewSpeed;
+ ::com::sun::star::presentation::AnimationSpeed eNewSpeed;
::com::sun::star::presentation::AnimationEffect eOldSecondEffect;
::com::sun::star::presentation::AnimationEffect eNewSecondEffect;
::com::sun::star::presentation::AnimationSpeed eOldSecondSpeed;
::com::sun::star::presentation::AnimationSpeed eNewSecondSpeed;
Color aOldDimColor;
- Color aNewDimColor;
+ Color aNewDimColor;
Color aOldBlueScreen;
Color aNewBlueScreen;
String aOldSoundFile;
@@ -84,8 +84,8 @@ class SdAnimationPrmsUndoAction : public SdUndoAction
BOOL bNewInvisibleInPres;
USHORT nOldVerb;
USHORT nNewVerb;
- ULONG nOldPresOrder;
- ULONG nNewPresOrder;
+ ULONG nOldPresOrder;
+ ULONG nNewPresOrder;
BOOL bInfoCreated;
@@ -93,8 +93,8 @@ public:
TYPEINFO();
SdAnimationPrmsUndoAction(SdDrawDocument* pTheDoc, SdrObject* pObj,
BOOL bCreated):
- SdUndoAction (pTheDoc),
- pObject (pObj),
+ SdUndoAction (pTheDoc),
+ pObject (pObj),
bInfoCreated (bCreated)
{}
@@ -146,6 +146,6 @@ public:
virtual void Redo();
};
-#endif // _SD_UNOAPRMS_HXX
+#endif // _SD_UNOAPRMS_HXX
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/sd/source/ui/inc/unokywds.hxx b/sd/source/ui/inc/unokywds.hxx
index ba508f7f3cb9..36e5c87d608a 100644
--- a/sd/source/ui/inc/unokywds.hxx
+++ b/sd/source/ui/inc/unokywds.hxx
@@ -2,7 +2,7 @@
/*************************************************************************
*
* 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
@@ -97,11 +97,11 @@ SD_CONSTASCII_ACTION( sUNO_SdLayerManager, "SdUnoLayerManager" );
// SdLayer
SD_CONSTASCII_ACTION( sUNO_SdLayer, "SdUnoLayer" );
-SD_CONSTASCII_ACTION( sUNO_LayerName_background, "background" );
+SD_CONSTASCII_ACTION( sUNO_LayerName_background, "background" );
SD_CONSTASCII_ACTION( sUNO_LayerName_background_objects, "backgroundobjects" );
-SD_CONSTASCII_ACTION( sUNO_LayerName_layout, "layout" );
-SD_CONSTASCII_ACTION( sUNO_LayerName_controls, "controls" );
-SD_CONSTASCII_ACTION( sUNO_LayerName_measurelines, "measurelines" );
+SD_CONSTASCII_ACTION( sUNO_LayerName_layout, "layout" );
+SD_CONSTASCII_ACTION( sUNO_LayerName_controls, "controls" );
+SD_CONSTASCII_ACTION( sUNO_LayerName_measurelines, "measurelines" );
// SdXShape
SD_CONSTASCII_ACTION( sUNO_shape_style, "Style" );
@@ -130,88 +130,88 @@ SD_CONSTASCII_ACTION( sUNO_Service_ImageMapCircleObject, UNO_PREFIX "image.Image
SD_CONSTASCII_ACTION( sUNO_Service_ImageMapPolygonObject, UNO_PREFIX "image.ImageMapPolygonObject" );
// properties
-SD_CONSTASCII_ACTION( sUNO_Prop_Background, "Background" );
-SD_CONSTASCII_ACTION( sUNO_Prop_ForbiddenCharacters, "ForbiddenCharacters" );
-SD_CONSTASCII_ACTION( sUNO_Prop_MapUnit, "MapUnit" );
-SD_CONSTASCII_ACTION( sUNO_Prop_VisibleArea, "VisibleArea" );
-SD_CONSTASCII_ACTION( sUNO_Prop_Aspect, "Aspect" );
-SD_CONSTASCII_ACTION( sUNO_Prop_TabStop, "TabStop" );
-SD_CONSTASCII_ACTION( sUNO_Prop_CharLocale, "CharLocale" );
-SD_CONSTASCII_ACTION( sUNO_Prop_AutomContFocus, "AutomaticControlFocus" );
-SD_CONSTASCII_ACTION( sUNO_Prop_ApplyFrmDsgnMode, "ApplyFormDesignMode" );
-SD_CONSTASCII_ACTION( sUNO_Prop_IsBackgroundVisible, "IsBackgroundVisible" );
-SD_CONSTASCII_ACTION( sUNO_Prop_IsBackgroundObjectsVisible, "IsBackgroundObjectsVisible" );
+SD_CONSTASCII_ACTION( sUNO_Prop_Background, "Background" );
+SD_CONSTASCII_ACTION( sUNO_Prop_ForbiddenCharacters, "ForbiddenCharacters" );
+SD_CONSTASCII_ACTION( sUNO_Prop_MapUnit, "MapUnit" );
+SD_CONSTASCII_ACTION( sUNO_Prop_VisibleArea, "VisibleArea" );
+SD_CONSTASCII_ACTION( sUNO_Prop_Aspect, "Aspect" );
+SD_CONSTASCII_ACTION( sUNO_Prop_TabStop, "TabStop" );
+SD_CONSTASCII_ACTION( sUNO_Prop_CharLocale, "CharLocale" );
+SD_CONSTASCII_ACTION( sUNO_Prop_AutomContFocus, "AutomaticControlFocus" );
+SD_CONSTASCII_ACTION( sUNO_Prop_ApplyFrmDsgnMode, "ApplyFormDesignMode" );
+SD_CONSTASCII_ACTION( sUNO_Prop_IsBackgroundVisible, "IsBackgroundVisible" );
+SD_CONSTASCII_ACTION( sUNO_Prop_IsBackgroundObjectsVisible, "IsBackgroundObjectsVisible" );
SD_CONSTASCII_ACTION( sUNO_Prop_UserDefinedAttributes, "UserDefinedAttributes" );
-SD_CONSTASCII_ACTION( sUNO_Prop_BookmarkURL, "BookmarkURL" );
+SD_CONSTASCII_ACTION( sUNO_Prop_BookmarkURL, "BookmarkURL" );
SD_CONSTASCII_ACTION( sUNO_Prop_RuntimeUID, "RuntimeUID" );
SD_CONSTASCII_ACTION( sUNO_Prop_HasValidSignatures, "HasValidSignatures" );
// view settings
-SD_CONSTASCII_ACTION( sUNO_View_ViewId, "ViewId" );
-SD_CONSTASCII_ACTION( sUNO_View_SnapLinesDrawing, "SnapLinesDrawing" );
-SD_CONSTASCII_ACTION( sUNO_View_SnapLinesNotes, "SnapLinesNotes" );
-SD_CONSTASCII_ACTION( sUNO_View_SnapLinesHandout, "SnapLinesHandout" );
-SD_CONSTASCII_ACTION( sUNO_View_RulerIsVisible, "RulerIsVisible" );
-SD_CONSTASCII_ACTION( sUNO_View_PageKind, "PageKind" );
-SD_CONSTASCII_ACTION( sUNO_View_SelectedPage, "SelectedPage" );
-SD_CONSTASCII_ACTION( sUNO_View_IsLayerMode, "IsLayerMode" );
-SD_CONSTASCII_ACTION( sUNO_View_IsQuickEdit, "IsQuickEdit" );
-SD_CONSTASCII_ACTION( sUNO_View_IsBigHandles, "IsBigHandles" );
-SD_CONSTASCII_ACTION( sUNO_View_IsDoubleClickTextEdit, "IsDoubleClickTextEdit" );
-SD_CONSTASCII_ACTION( sUNO_View_IsClickChangeRotation, "IsClickChangeRotation" );
-SD_CONSTASCII_ACTION( sUNO_View_IsDragWithCopy, "IsDragWithCopy" );
-SD_CONSTASCII_ACTION( sUNO_View_SlidesPerRow, "SlidesPerRow" );
-SD_CONSTASCII_ACTION( sUNO_View_DrawMode, "DrawMode" );
-SD_CONSTASCII_ACTION( sUNO_View_PreviewDrawMode, "PreviewDrawMode" );
-SD_CONSTASCII_ACTION( sUNO_View_IsShowPreviewInPageMode, "IsShowPreviewInPageMode" );
-SD_CONSTASCII_ACTION( sUNO_View_IsShowPreviewInMasterPageMode, "IsShowPreviewInMasterPageMode" );
-SD_CONSTASCII_ACTION( sUNO_View_SetShowPreviewInOutlineMode, "SetShowPreviewInOutlineMode" );
-SD_CONSTASCII_ACTION( sUNO_View_EditModeStandard, "EditModeStandard" );
-SD_CONSTASCII_ACTION( sUNO_View_EditModeNotes, "EditModeNotes" );
-SD_CONSTASCII_ACTION( sUNO_View_EditModeHandout, "EditModeHandout" );
-SD_CONSTASCII_ACTION( sUNO_View_VisArea, "VisArea" );
-
-SD_CONSTASCII_ACTION( sUNO_View_GridIsVisible, "GridIsVisible" );
-SD_CONSTASCII_ACTION( sUNO_View_GridIsFront, "GridIsFront" );
-SD_CONSTASCII_ACTION( sUNO_View_IsSnapToGrid, "IsSnapToGrid" );
-SD_CONSTASCII_ACTION( sUNO_View_IsSnapToPageMargins, "IsSnapToPageMargins" );
-SD_CONSTASCII_ACTION( sUNO_View_IsSnapToSnapLines, "IsSnapToSnapLines" );
-SD_CONSTASCII_ACTION( sUNO_View_IsSnapToObjectFrame, "IsSnapToObjectFrame" );
-SD_CONSTASCII_ACTION( sUNO_View_IsSnapToObjectPoints, "IsSnapToObjectPoints" );
-SD_CONSTASCII_ACTION( sUNO_View_IsSnapLinesVisible, "IsSnapLinesVisible" );
-SD_CONSTASCII_ACTION( sUNO_View_IsDragStripes, "IsDragStripes" );
-SD_CONSTASCII_ACTION( sUNO_View_IsPlusHandlesAlwaysVisible, "IsPlusHandlesAlwaysVisible" );
-SD_CONSTASCII_ACTION( sUNO_View_IsFrameDragSingles, "IsFrameDragSingles" );
-SD_CONSTASCII_ACTION( sUNO_View_IsMarkedHitMovesAlways, "IsMarkedHitMovesAlways" );
-SD_CONSTASCII_ACTION( sUNO_View_EliminatePolyPointLimitAngle, "EliminatePolyPointLimitAngle" );
-SD_CONSTASCII_ACTION( sUNO_View_IsEliminatePolyPoints, "IsEliminatePolyPoints" );
-SD_CONSTASCII_ACTION( sUNO_View_IsLineDraft, "IsLineDraft" );
-SD_CONSTASCII_ACTION( sUNO_View_IsFillDraft, "IsFillDraft" );
-SD_CONSTASCII_ACTION( sUNO_View_IsTextDraft, "IsTextDraft" );
-SD_CONSTASCII_ACTION( sUNO_View_IsGrafDraft, "IsGrafDraft" );
-SD_CONSTASCII_ACTION( sUNO_View_ActiveLayer, "ActiveLayer" );
-SD_CONSTASCII_ACTION( sUNO_View_NoAttribs, "NoAttribs" );
-SD_CONSTASCII_ACTION( sUNO_View_NoColors, "NoColors" );
-SD_CONSTASCII_ACTION( sUNO_View_GridCoarseWidth, "GridCoarseWidth" );
-SD_CONSTASCII_ACTION( sUNO_View_GridCoarseHeight, "GridCoarseHeight" );
-SD_CONSTASCII_ACTION( sUNO_View_GridFineWidth, "GridFineWidth" );
-SD_CONSTASCII_ACTION( sUNO_View_GridFineHeight, "GridFineHeight" );
-SD_CONSTASCII_ACTION( sUNO_View_IsAngleSnapEnabled, "IsAngleSnapEnabled" );
-SD_CONSTASCII_ACTION( sUNO_View_SnapAngle, "SnapAngle" );
-SD_CONSTASCII_ACTION( sUNO_View_GridSnapWidthXNumerator, "GridSnapWidthXNumerator" );
-SD_CONSTASCII_ACTION( sUNO_View_GridSnapWidthXDenominator, "GridSnapWidthXDenominator" );
-SD_CONSTASCII_ACTION( sUNO_View_GridSnapWidthYNumerator, "GridSnapWidthYNumerator" );
-SD_CONSTASCII_ACTION( sUNO_View_GridSnapWidthYDenominator, "GridSnapWidthYDenominator" );
-SD_CONSTASCII_ACTION( sUNO_View_VisibleLayers, "VisibleLayers" );
-SD_CONSTASCII_ACTION( sUNO_View_PrintableLayers, "PrintableLayers" );
-SD_CONSTASCII_ACTION( sUNO_View_LockedLayers, "LockedLayers" );
-
-SD_CONSTASCII_ACTION( sUNO_View_VisibleAreaTop, "VisibleAreaTop" );
-SD_CONSTASCII_ACTION( sUNO_View_VisibleAreaLeft, "VisibleAreaLeft" );
-SD_CONSTASCII_ACTION( sUNO_View_VisibleAreaWidth, "VisibleAreaWidth" );
-SD_CONSTASCII_ACTION( sUNO_View_VisibleAreaHeight, "VisibleAreaHeight" );
-
-SD_CONSTASCII_ACTION( sUNO_View_ZoomOnPage, "ZoomOnPage" );
+SD_CONSTASCII_ACTION( sUNO_View_ViewId, "ViewId" );
+SD_CONSTASCII_ACTION( sUNO_View_SnapLinesDrawing, "SnapLinesDrawing" );
+SD_CONSTASCII_ACTION( sUNO_View_SnapLinesNotes, "SnapLinesNotes" );
+SD_CONSTASCII_ACTION( sUNO_View_SnapLinesHandout, "SnapLinesHandout" );
+SD_CONSTASCII_ACTION( sUNO_View_RulerIsVisible, "RulerIsVisible" );
+SD_CONSTASCII_ACTION( sUNO_View_PageKind, "PageKind" );
+SD_CONSTASCII_ACTION( sUNO_View_SelectedPage, "SelectedPage" );
+SD_CONSTASCII_ACTION( sUNO_View_IsLayerMode, "IsLayerMode" );
+SD_CONSTASCII_ACTION( sUNO_View_IsQuickEdit, "IsQuickEdit" );
+SD_CONSTASCII_ACTION( sUNO_View_IsBigHandles, "IsBigHandles" );
+SD_CONSTASCII_ACTION( sUNO_View_IsDoubleClickTextEdit, "IsDoubleClickTextEdit" );
+SD_CONSTASCII_ACTION( sUNO_View_IsClickChangeRotation, "IsClickChangeRotation" );
+SD_CONSTASCII_ACTION( sUNO_View_IsDragWithCopy, "IsDragWithCopy" );
+SD_CONSTASCII_ACTION( sUNO_View_SlidesPerRow, "SlidesPerRow" );
+SD_CONSTASCII_ACTION( sUNO_View_DrawMode, "DrawMode" );
+SD_CONSTASCII_ACTION( sUNO_View_PreviewDrawMode, "PreviewDrawMode" );
+SD_CONSTASCII_ACTION( sUNO_View_IsShowPreviewInPageMode, "IsShowPreviewInPageMode" );
+SD_CONSTASCII_ACTION( sUNO_View_IsShowPreviewInMasterPageMode, "IsShowPreviewInMasterPageMode" );
+SD_CONSTASCII_ACTION( sUNO_View_SetShowPreviewInOutlineMode, "SetShowPreviewInOutlineMode" );
+SD_CONSTASCII_ACTION( sUNO_View_EditModeStandard, "EditModeStandard" );
+SD_CONSTASCII_ACTION( sUNO_View_EditModeNotes, "EditModeNotes" );
+SD_CONSTASCII_ACTION( sUNO_View_EditModeHandout, "EditModeHandout" );
+SD_CONSTASCII_ACTION( sUNO_View_VisArea, "VisArea" );
+
+SD_CONSTASCII_ACTION( sUNO_View_GridIsVisible, "GridIsVisible" );
+SD_CONSTASCII_ACTION( sUNO_View_GridIsFront, "GridIsFront" );
+SD_CONSTASCII_ACTION( sUNO_View_IsSnapToGrid, "IsSnapToGrid" );
+SD_CONSTASCII_ACTION( sUNO_View_IsSnapToPageMargins, "IsSnapToPageMargins" );
+SD_CONSTASCII_ACTION( sUNO_View_IsSnapToSnapLines, "IsSnapToSnapLines" );
+SD_CONSTASCII_ACTION( sUNO_View_IsSnapToObjectFrame, "IsSnapToObjectFrame" );
+SD_CONSTASCII_ACTION( sUNO_View_IsSnapToObjectPoints, "IsSnapToObjectPoints" );
+SD_CONSTASCII_ACTION( sUNO_View_IsSnapLinesVisible, "IsSnapLinesVisible" );
+SD_CONSTASCII_ACTION( sUNO_View_IsDragStripes, "IsDragStripes" );
+SD_CONSTASCII_ACTION( sUNO_View_IsPlusHandlesAlwaysVisible, "IsPlusHandlesAlwaysVisible" );
+SD_CONSTASCII_ACTION( sUNO_View_IsFrameDragSingles, "IsFrameDragSingles" );
+SD_CONSTASCII_ACTION( sUNO_View_IsMarkedHitMovesAlways, "IsMarkedHitMovesAlways" );
+SD_CONSTASCII_ACTION( sUNO_View_EliminatePolyPointLimitAngle, "EliminatePolyPointLimitAngle" );
+SD_CONSTASCII_ACTION( sUNO_View_IsEliminatePolyPoints, "IsEliminatePolyPoints" );
+SD_CONSTASCII_ACTION( sUNO_View_IsLineDraft, "IsLineDraft" );
+SD_CONSTASCII_ACTION( sUNO_View_IsFillDraft, "IsFillDraft" );
+SD_CONSTASCII_ACTION( sUNO_View_IsTextDraft, "IsTextDraft" );
+SD_CONSTASCII_ACTION( sUNO_View_IsGrafDraft, "IsGrafDraft" );
+SD_CONSTASCII_ACTION( sUNO_View_ActiveLayer, "ActiveLayer" );
+SD_CONSTASCII_ACTION( sUNO_View_NoAttribs, "NoAttribs" );
+SD_CONSTASCII_ACTION( sUNO_View_NoColors, "NoColors" );
+SD_CONSTASCII_ACTION( sUNO_View_GridCoarseWidth, "GridCoarseWidth" );
+SD_CONSTASCII_ACTION( sUNO_View_GridCoarseHeight, "GridCoarseHeight" );
+SD_CONSTASCII_ACTION( sUNO_View_GridFineWidth, "GridFineWidth" );
+SD_CONSTASCII_ACTION( sUNO_View_GridFineHeight, "GridFineHeight" );
+SD_CONSTASCII_ACTION( sUNO_View_IsAngleSnapEnabled, "IsAngleSnapEnabled" );
+SD_CONSTASCII_ACTION( sUNO_View_SnapAngle, "SnapAngle" );
+SD_CONSTASCII_ACTION( sUNO_View_GridSnapWidthXNumerator, "GridSnapWidthXNumerator" );
+SD_CONSTASCII_ACTION( sUNO_View_GridSnapWidthXDenominator, "GridSnapWidthXDenominator" );
+SD_CONSTASCII_ACTION( sUNO_View_GridSnapWidthYNumerator, "GridSnapWidthYNumerator" );
+SD_CONSTASCII_ACTION( sUNO_View_GridSnapWidthYDenominator, "GridSnapWidthYDenominator" );
+SD_CONSTASCII_ACTION( sUNO_View_VisibleLayers, "VisibleLayers" );
+SD_CONSTASCII_ACTION( sUNO_View_PrintableLayers, "PrintableLayers" );
+SD_CONSTASCII_ACTION( sUNO_View_LockedLayers, "LockedLayers" );
+
+SD_CONSTASCII_ACTION( sUNO_View_VisibleAreaTop, "VisibleAreaTop" );
+SD_CONSTASCII_ACTION( sUNO_View_VisibleAreaLeft, "VisibleAreaLeft" );
+SD_CONSTASCII_ACTION( sUNO_View_VisibleAreaWidth, "VisibleAreaWidth" );
+SD_CONSTASCII_ACTION( sUNO_View_VisibleAreaHeight, "VisibleAreaHeight" );
+
+SD_CONSTASCII_ACTION( sUNO_View_ZoomOnPage, "ZoomOnPage" );
#endif
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/sd/source/ui/inc/unomodel.hxx b/sd/source/ui/inc/unomodel.hxx
index b86235294fa3..9dd88f565f95 100644
--- a/sd/source/ui/inc/unomodel.hxx
+++ b/sd/source/ui/inc/unomodel.hxx
@@ -2,7 +2,7 @@
/*************************************************************************
*
* 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
@@ -120,11 +120,11 @@ private:
::com::sun::star::uno::Reference< ::com::sun::star::uno::XInterface > mxMarkerTable;
::com::sun::star::uno::Reference< ::com::sun::star::uno::XInterface > mxDrawingPool;
- const SvxItemPropertySet* mpPropSet;
+ const SvxItemPropertySet* mpPropSet;
::com::sun::star::uno::Sequence< ::com::sun::star::uno::Type > maTypeSequence;
- rtl::OUString maBuildId;
+ rtl::OUString maBuildId;
void initializeDocument();
public:
@@ -135,8 +135,8 @@ public:
static rtl::Reference< SdXImpressDocument > GetModel( SdDrawDocument* pDoc );
// intern
- virtual int operator==( const SdXImpressDocument& rModel ) const { return mpDoc == rModel.mpDoc; }
- virtual int operator!=( const SdXImpressDocument& rModel ) const { return mpDoc != rModel.mpDoc; }
+ virtual int operator==( const SdXImpressDocument& rModel ) const { return mpDoc == rModel.mpDoc; }
+ virtual int operator!=( const SdXImpressDocument& rModel ) const { return mpDoc != rModel.mpDoc; }
::sd::DrawDocShell* GetDocShell() const { return mpDocShell; }
SdDrawDocument* GetDoc() const { return mpDoc; }
@@ -147,7 +147,7 @@ public:
::com::sun::star::uno::Reference< ::com::sun::star::i18n::XForbiddenCharacters > getForbiddenCharsTable();
// SfxListener
- virtual void Notify( SfxBroadcaster& rBC, const SfxHint& rHint );
+ virtual void Notify( SfxBroadcaster& rBC, const SfxHint& rHint );
UNO3_GETIMPLEMENTATION_DECL(SdXImpressDocument)
@@ -244,7 +244,7 @@ private:
SdXImpressDocument* mpModel;
public:
- SdDrawPagesAccess( SdXImpressDocument& rMyModel ) throw();
+ SdDrawPagesAccess( SdXImpressDocument& rMyModel ) throw();
virtual ~SdDrawPagesAccess() throw();
// XDrawPages
@@ -284,7 +284,7 @@ public:
class SdMasterPagesAccess : public ::cppu::WeakImplHelper3< ::com::sun::star::drawing::XDrawPages, ::com::sun::star::lang::XServiceInfo, ::com::sun::star::lang::XComponent >
{
private:
- SdXImpressDocument* mpModel;
+ SdXImpressDocument* mpModel;
public:
SdMasterPagesAccess( SdXImpressDocument& rMyModel ) throw();
@@ -321,10 +321,10 @@ class SdDocLinkTargets : public ::cppu::WeakImplHelper3< ::com::sun::star::conta
::com::sun::star::lang::XServiceInfo , ::com::sun::star::lang::XComponent >
{
private:
- SdXImpressDocument* mpModel;
+ SdXImpressDocument* mpModel;
public:
- SdDocLinkTargets( SdXImpressDocument& rMyModel ) throw();
+ SdDocLinkTargets( SdXImpressDocument& rMyModel ) throw();
virtual ~SdDocLinkTargets() throw();
// XNameAccess
diff --git a/sd/source/ui/inc/unoprnms.hxx b/sd/source/ui/inc/unoprnms.hxx
index 79bad24858bc..c3d0ff4318d3 100644
--- a/sd/source/ui/inc/unoprnms.hxx
+++ b/sd/source/ui/inc/unoprnms.hxx
@@ -2,7 +2,7 @@
/*************************************************************************
*
* 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
@@ -28,74 +28,74 @@
#ifndef _SD_UNOPRNMS_HXX
#define _SD_UNOPRNMS_HXX
-#define UNO_NAME_MODEL_LANGUAGE "CharLocale"
-#define UNO_NAME_MODEL_TABSTOP "TabStop"
+#define UNO_NAME_MODEL_LANGUAGE "CharLocale"
+#define UNO_NAME_MODEL_TABSTOP "TabStop"
-#define UNO_NAME_PAGE_BACKGROUND "Background"
-#define UNO_NAME_PAGE_LEFT "BorderLeft"
-#define UNO_NAME_PAGE_RIGHT "BorderRight"
-#define UNO_NAME_PAGE_TOP "BorderTop"
-#define UNO_NAME_PAGE_BOTTOM "BorderBottom"
-#define UNO_NAME_PAGE_CHANGE "Change"
-#define UNO_NAME_PAGE_DURATION "Duration"
-#define UNO_NAME_PAGE_EFFECT "Effect"
-#define UNO_NAME_PAGE_HEIGHT "Height"
-#define UNO_NAME_PAGE_LAYOUT "Layout"
-#define UNO_NAME_PAGE_NUMBER "Number"
-#define UNO_NAME_PAGE_OBJECTS "Objects"
-#define UNO_NAME_PAGE_ORIENTATION "Orientation"
-#define UNO_NAME_PAGE_SPEED "Speed"
-#define UNO_NAME_PAGE_WIDTH "Width"
-#define UNO_NAME_PAGE_PREVIEW "Preview"
-#define UNO_NAME_PAGE_PREVIEWBITMAP "PreviewBitmap"
-#define UNO_NAME_PAGE_VISIBLE "Visible"
+#define UNO_NAME_PAGE_BACKGROUND "Background"
+#define UNO_NAME_PAGE_LEFT "BorderLeft"
+#define UNO_NAME_PAGE_RIGHT "BorderRight"
+#define UNO_NAME_PAGE_TOP "BorderTop"
+#define UNO_NAME_PAGE_BOTTOM "BorderBottom"
+#define UNO_NAME_PAGE_CHANGE "Change"
+#define UNO_NAME_PAGE_DURATION "Duration"
+#define UNO_NAME_PAGE_EFFECT "Effect"
+#define UNO_NAME_PAGE_HEIGHT "Height"
+#define UNO_NAME_PAGE_LAYOUT "Layout"
+#define UNO_NAME_PAGE_NUMBER "Number"
+#define UNO_NAME_PAGE_OBJECTS "Objects"
+#define UNO_NAME_PAGE_ORIENTATION "Orientation"
+#define UNO_NAME_PAGE_SPEED "Speed"
+#define UNO_NAME_PAGE_WIDTH "Width"
+#define UNO_NAME_PAGE_PREVIEW "Preview"
+#define UNO_NAME_PAGE_PREVIEWBITMAP "PreviewBitmap"
+#define UNO_NAME_PAGE_VISIBLE "Visible"
-#define UNO_NAME_OBJ_BOOKMARK "Bookmark"
-#define UNO_NAME_OBJ_DIMCOLOR "DimColor"
-#define UNO_NAME_OBJ_DIMHIDE "DimHide"
-#define UNO_NAME_OBJ_DIMPREV "DimPrevious"
-#define UNO_NAME_OBJ_EFFECT "Effect"
-#define UNO_NAME_OBJ_ISEMPTYPRESOBJ "IsEmptyPresentationObject"
-#define UNO_NAME_OBJ_ISPRESOBJ "IsPresentationObject"
-#define UNO_NAME_OBJ_CLICKACTION "OnClick"
-#define UNO_NAME_OBJ_PLAYFULL "PlayFull"
-#define UNO_NAME_OBJ_PRESORDER "PresentationOrder"
-#define UNO_NAME_OBJ_SOUNDFILE "Sound"
-#define UNO_NAME_OBJ_SOUNDON "SoundOn"
-#define UNO_NAME_OBJ_SPEED "Speed"
-#define UNO_NAME_OBJ_TEXTEFFECT "TextEffect"
-#define UNO_NAME_OBJ_BLUESCREEN "TransparentColor"
-#define UNO_NAME_OBJ_VERB "Verb"
-#define UNO_NAME_OBJ_STYLE "Style"
-#define UNO_NAME_OBJ_MASTERDEPENDENT "IsPlaceholderDependent"
-#define UNO_NAME_OBJ_ANIMATIONPATH "AnimationPath"
+#define UNO_NAME_OBJ_BOOKMARK "Bookmark"
+#define UNO_NAME_OBJ_DIMCOLOR "DimColor"
+#define UNO_NAME_OBJ_DIMHIDE "DimHide"
+#define UNO_NAME_OBJ_DIMPREV "DimPrevious"
+#define UNO_NAME_OBJ_EFFECT "Effect"
+#define UNO_NAME_OBJ_ISEMPTYPRESOBJ "IsEmptyPresentationObject"
+#define UNO_NAME_OBJ_ISPRESOBJ "IsPresentationObject"
+#define UNO_NAME_OBJ_CLICKACTION "OnClick"
+#define UNO_NAME_OBJ_PLAYFULL "PlayFull"
+#define UNO_NAME_OBJ_PRESORDER "PresentationOrder"
+#define UNO_NAME_OBJ_SOUNDFILE "Sound"
+#define UNO_NAME_OBJ_SOUNDON "SoundOn"
+#define UNO_NAME_OBJ_SPEED "Speed"
+#define UNO_NAME_OBJ_TEXTEFFECT "TextEffect"
+#define UNO_NAME_OBJ_BLUESCREEN "TransparentColor"
+#define UNO_NAME_OBJ_VERB "Verb"
+#define UNO_NAME_OBJ_STYLE "Style"
+#define UNO_NAME_OBJ_MASTERDEPENDENT "IsPlaceholderDependent"
+#define UNO_NAME_OBJ_ANIMATIONPATH "AnimationPath"
-#define UNO_NAME_LAYER_LOCKED "IsLocked"
-#define UNO_NAME_LAYER_PRINTABLE "IsPrintable"
-#define UNO_NAME_LAYER_VISIBLE "IsVisible"
-#define UNO_NAME_LAYER_NAME "Name"
+#define UNO_NAME_LAYER_LOCKED "IsLocked"
+#define UNO_NAME_LAYER_PRINTABLE "IsPrintable"
+#define UNO_NAME_LAYER_VISIBLE "IsVisible"
+#define UNO_NAME_LAYER_NAME "Name"
-#define UNO_NAME_SHOW_ALLOWANIM "AllowAnimations"
-#define UNO_NAME_SHOW_CUSTOMSHOW "CustomShow"
-#define UNO_NAME_SHOW_FIRSTPAGE "FirstPage"
-#define UNO_NAME_SHOW_ONTOP "IsAlwaysOnTop"
-#define UNO_NAME_SHOW_AUTOMATIC "IsAutomatic"
-#define UNO_NAME_SHOW_ENDLESS "IsEndless"
-#define UNO_NAME_SHOW_FULLSCREEN "IsFullScreen"
-#define UNO_NAME_SHOW_MOUSEVISIBLE "IsMouseVisible"
-#define UNO_NAME_SHOW_PAGERANGE "PageRange"
-#define UNO_NAME_SHOW_PAUSE "Pause"
-#define UNO_NAME_SHOW_STARTWITHNAV "StartWithNavigator"
-#define UNO_NAME_SHOW_USEPEN "UsePen"
+#define UNO_NAME_SHOW_ALLOWANIM "AllowAnimations"
+#define UNO_NAME_SHOW_CUSTOMSHOW "CustomShow"
+#define UNO_NAME_SHOW_FIRSTPAGE "FirstPage"
+#define UNO_NAME_SHOW_ONTOP "IsAlwaysOnTop"
+#define UNO_NAME_SHOW_AUTOMATIC "IsAutomatic"
+#define UNO_NAME_SHOW_ENDLESS "IsEndless"
+#define UNO_NAME_SHOW_FULLSCREEN "IsFullScreen"
+#define UNO_NAME_SHOW_MOUSEVISIBLE "IsMouseVisible"
+#define UNO_NAME_SHOW_PAGERANGE "PageRange"
+#define UNO_NAME_SHOW_PAUSE "Pause"
+#define UNO_NAME_SHOW_STARTWITHNAV "StartWithNavigator"
+#define UNO_NAME_SHOW_USEPEN "UsePen"
-#define UNO_NAME_SEARCH_BACKWARDS "SearchBackwards"
-#define UNO_NAME_SEARCH_CASE "SearchCaseSensitive"
-#define UNO_NAME_SEARCH_WORDS "SearchWords"
+#define UNO_NAME_SEARCH_BACKWARDS "SearchBackwards"
+#define UNO_NAME_SEARCH_CASE "SearchCaseSensitive"
+#define UNO_NAME_SEARCH_WORDS "SearchWords"
-#define UNO_NAME_LINKDISPLAYNAME "LinkDisplayName"
-#define UNO_NAME_LINKDISPLAYBITMAP "LinkDisplayBitmap"
+#define UNO_NAME_LINKDISPLAYNAME "LinkDisplayName"
+#define UNO_NAME_LINKDISPLAYBITMAP "LinkDisplayBitmap"
-#define UNO_NAME_STYLE_FAMILY "Family"
+#define UNO_NAME_STYLE_FAMILY "Family"
#endif
diff --git a/sd/source/ui/inc/unosrch.hxx b/sd/source/ui/inc/unosrch.hxx
index 842818526b89..4cac45c0c741 100644
--- a/sd/source/ui/inc/unosrch.hxx
+++ b/sd/source/ui/inc/unosrch.hxx
@@ -2,7 +2,7 @@
/*************************************************************************
*
* 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
@@ -93,7 +93,7 @@ protected:
sal_Bool mbReplace;
- ::rtl::OUString maSearchStr;
+ ::rtl::OUString maSearchStr;
::rtl::OUString maReplaceStr;
public:
@@ -117,9 +117,9 @@ public:
// XPropertySet
virtual ::com::sun::star::uno::Reference< ::com::sun::star::beans::XPropertySetInfo > SAL_CALL getPropertySetInfo( ) throw(::com::sun::star::uno::RuntimeException);
virtual void SAL_CALL setPropertyValue( const ::rtl::OUString& aPropertyName, const ::com::sun::star::uno::Any& aValue ) throw(::com::sun::star::beans::UnknownPropertyException, ::com::sun::star::beans::PropertyVetoException, ::com::sun::star::lang::IllegalArgumentException, ::com::sun::star::lang::WrappedTargetException, ::com::sun::star::uno::RuntimeException);
- virtual ::com::sun::star::uno::Any SAL_CALL getPropertyValue( const ::rtl::OUString& PropertyName ) throw(::com::sun::star::beans::UnknownPropertyException, ::com::sun::star::lang::WrappedTargetException, ::com::sun::star::uno::RuntimeException);
+ virtual ::com::sun::star::uno::Any SAL_CALL getPropertyValue( const ::rtl::OUString& PropertyName ) throw(::com::sun::star::beans::UnknownPropertyException, ::com::sun::star::lang::WrappedTargetException, ::com::sun::star::uno::RuntimeException);
virtual void SAL_CALL addPropertyChangeListener( const ::rtl::OUString& aPropertyName, const ::com::sun::star::uno::Reference< ::com::sun::star::beans::XPropertyChangeListener >& xListener ) throw(::com::sun::star::beans::UnknownPropertyException, ::com::sun::star::lang::WrappedTargetException, ::com::sun::star::uno::RuntimeException);
- virtual void SAL_CALL removePropertyChangeListener( const ::rtl::OUString& aPropertyName, const ::com::sun::star::uno::Reference< ::com::sun::star::beans::XPropertyChangeListener >& aListener ) throw(::com::sun::star::beans::UnknownPropertyException, ::com::sun::star::lang::WrappedTargetException, ::com::sun::star::uno::RuntimeException);
+ virtual void SAL_CALL removePropertyChangeListener( const ::rtl::OUString& aPropertyName, const ::com::sun::star::uno::Reference< ::com::sun::star::beans::XPropertyChangeListener >& aListener ) throw(::com::sun::star::beans::UnknownPropertyException, ::com::sun::star::lang::WrappedTargetException, ::com::sun::star::uno::RuntimeException);
virtual void SAL_CALL addVetoableChangeListener( const ::rtl::OUString& PropertyName, const ::com::sun::star::uno::Reference< ::com::sun::star::beans::XVetoableChangeListener >& aListener ) throw(::com::sun::star::beans::UnknownPropertyException, ::com::sun::star::lang::WrappedTargetException, ::com::sun::star::uno::RuntimeException);
virtual void SAL_CALL removeVetoableChangeListener( const ::rtl::OUString& PropertyName, const ::com::sun::star::uno::Reference< ::com::sun::star::beans::XVetoableChangeListener >& aListener ) throw(::com::sun::star::beans::UnknownPropertyException, ::com::sun::star::lang::WrappedTargetException, ::com::sun::star::uno::RuntimeException);
};
diff --git a/sd/source/ui/inc/unprlout.hxx b/sd/source/ui/inc/unprlout.hxx
index 73b8a7d2bf8b..3849af88a67d 100644
--- a/sd/source/ui/inc/unprlout.hxx
+++ b/sd/source/ui/inc/unprlout.hxx
@@ -2,7 +2,7 @@
/*************************************************************************
*
* 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
diff --git a/sd/source/ui/inc/unslsel.hxx b/sd/source/ui/inc/unslsel.hxx
index 084049f86c07..5085bf25ed27 100644
--- a/sd/source/ui/inc/unslsel.hxx
+++ b/sd/source/ui/inc/unslsel.hxx
@@ -2,7 +2,7 @@
/*************************************************************************
*
* 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
@@ -43,11 +43,11 @@ public:
: SdUndoAction(pTheDoc),
pOldOrder(pOld),
pNewOrder(pNew) {}
- virtual ~SlideSelectionUndoAction() {}
+ virtual ~SlideSelectionUndoAction() {}
virtual void Undo();
virtual void Redo();
};
-#endif // _SD_UNSLSEL_HXX
+#endif // _SD_UNSLSEL_HXX
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/sd/source/ui/inc/vectdlg.hrc b/sd/source/ui/inc/vectdlg.hrc
index ca84ae2746db..e87eed2b705f 100644
--- a/sd/source/ui/inc/vectdlg.hrc
+++ b/sd/source/ui/inc/vectdlg.hrc
@@ -1,7 +1,7 @@
/*************************************************************************
*
* 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
@@ -25,29 +25,29 @@
*
************************************************************************/
-#define DLG_VECTORIZE 654
+#define DLG_VECTORIZE 654
-#define BTN_OK 1
-#define BTN_CANCEL 1
-#define BTN_HELP 1
+#define BTN_OK 1
+#define BTN_CANCEL 1
+#define BTN_HELP 1
-#define BTN_PREVIEW 1
+#define BTN_PREVIEW 1
-#define GRP_SETTINGS 1
-#define GRP_PRGS 2
+#define GRP_SETTINGS 1
+#define GRP_PRGS 2
-#define CTL_BMP 1
-#define CTL_WMF 2
-#define WND_PRGS 3
+#define CTL_BMP 1
+#define CTL_WMF 2
+#define WND_PRGS 3
-#define FT_LAYERS 1
-#define FT_REDUCE 3
-#define FT_FILLHOLES 4
-#define FT_ORIGINAL 5
-#define FT_VECTORIZED 6
+#define FT_LAYERS 1
+#define FT_REDUCE 3
+#define FT_FILLHOLES 4
+#define FT_ORIGINAL 5
+#define FT_VECTORIZED 6
-#define NM_LAYERS 1
-#define MT_REDUCE 3
-#define MT_FILLHOLES 4
+#define NM_LAYERS 1
+#define MT_REDUCE 3
+#define MT_FILLHOLES 4
-#define CB_FILLHOLES 1
+#define CB_FILLHOLES 1
diff --git a/sd/source/ui/inc/vectdlg.hxx b/sd/source/ui/inc/vectdlg.hxx
index b3f4b84a10b5..999dfb485981 100644
--- a/sd/source/ui/inc/vectdlg.hxx
+++ b/sd/source/ui/inc/vectdlg.hxx
@@ -2,7 +2,7 @@
/*************************************************************************
*
* 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
@@ -51,43 +51,43 @@ class DrawDocShell;
class SdVectorizeDlg : public ModalDialog
{
- ::sd::DrawDocShell * mpDocSh;
- FixedLine aGrpSettings;
- FixedText aFtLayers;
- NumericField aNmLayers;
- FixedText aFtReduce;
- MetricField aMtReduce;
- FixedText aFtFillHoles;
- MetricField aMtFillHoles;
- CheckBox aCbFillHoles;
-
- FixedText aFtOriginal;
- GraphCtrl aBmpWin;
-
- FixedText aFtVectorized;
- GraphCtrl aMtfWin;
-
- FixedText aGrpPrgs;
- ProgressBar aPrgs;
-
- OKButton aBtnOK;
- CancelButton aBtnCancel;
- HelpButton aBtnHelp;
- PushButton aBtnPreview;
-
- Bitmap aBmp;
- Bitmap aPreviewBmp;
- GDIMetaFile aMtf;
-
- void LoadSettings();
- void SaveSettings() const;
- void InitPreviewBmp();
- void UpdatePreviewMtf();
-
- Rectangle GetRect( const Size& rDispSize, const Size& rBmpSize ) const;
- Bitmap GetPreparedBitmap( Bitmap& rBmp, Fraction& rScale );
- void Calculate( Bitmap& rBmp, GDIMetaFile& rMtf );
- void AddTile( BitmapReadAccess* pRAcc, GDIMetaFile& rMtf,
+ ::sd::DrawDocShell * mpDocSh;
+ FixedLine aGrpSettings;
+ FixedText aFtLayers;
+ NumericField aNmLayers;
+ FixedText aFtReduce;
+ MetricField aMtReduce;
+ FixedText aFtFillHoles;
+ MetricField aMtFillHoles;
+ CheckBox aCbFillHoles;
+
+ FixedText aFtOriginal;
+ GraphCtrl aBmpWin;
+
+ FixedText aFtVectorized;
+ GraphCtrl aMtfWin;
+
+ FixedText aGrpPrgs;
+ ProgressBar aPrgs;
+
+ OKButton aBtnOK;
+ CancelButton aBtnCancel;
+ HelpButton aBtnHelp;
+ PushButton aBtnPreview;
+
+ Bitmap aBmp;
+ Bitmap aPreviewBmp;
+ GDIMetaFile aMtf;
+
+ void LoadSettings();
+ void SaveSettings() const;
+ void InitPreviewBmp();
+ void UpdatePreviewMtf();
+
+ Rectangle GetRect( const Size& rDispSize, const Size& rBmpSize ) const;
+ Bitmap GetPreparedBitmap( Bitmap& rBmp, Fraction& rScale );
+ void Calculate( Bitmap& rBmp, GDIMetaFile& rMtf );
+ void AddTile( BitmapReadAccess* pRAcc, GDIMetaFile& rMtf,
long nPosX, long nPosY, long nWidth, long nHeight );
DECL_LINK( ProgressHdl, void* );
@@ -101,7 +101,7 @@ public:
SdVectorizeDlg( Window* pParent, const Bitmap& rBmp, ::sd::DrawDocShell* pDocShell );
~SdVectorizeDlg();
- const GDIMetaFile& GetGDIMetaFile() const { return aMtf; }
+ const GDIMetaFile& GetGDIMetaFile() const { return aMtf; }
};
#endif
diff --git a/sd/source/ui/inc/view/viewoverlaymanager.hxx b/sd/source/ui/inc/view/viewoverlaymanager.hxx
index 3a2f99134941..acb1581a3b56 100644
--- a/sd/source/ui/inc/view/viewoverlaymanager.hxx
+++ b/sd/source/ui/inc/view/viewoverlaymanager.hxx
@@ -2,7 +2,7 @@
/*************************************************************************
*
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
- *
+ *
* Copyright 2008 by Sun Microsystems, Inc.
*
* OpenOffice.org - a multi-platform office productivity suite
@@ -48,7 +48,7 @@ class ViewOverlayManager : public SfxListener
public:
ViewOverlayManager( ViewShellBase& rViewShellBase );
virtual ~ViewOverlayManager();
-
+
void onZoomChanged();
void UpdateTags();
@@ -64,7 +64,7 @@ private:
ViewShellBase& mrBase;
ULONG mnUpdateTagsEvent;
- ViewTagVector maTagVector;
+ ViewTagVector maTagVector;
};
}
diff --git a/sd/source/ui/inc/zoomlist.hxx b/sd/source/ui/inc/zoomlist.hxx
index 1d8c1f2237ad..69742ece6ac4 100644
--- a/sd/source/ui/inc/zoomlist.hxx
+++ b/sd/source/ui/inc/zoomlist.hxx
@@ -2,7 +2,7 @@
/*************************************************************************
*
* 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
@@ -44,15 +44,15 @@ public:
ZoomList(ViewShell* pViewShell);
virtual ~ZoomList();
- void InsertZoomRect(const Rectangle& rRect);
- Rectangle GetNextZoomRect();
- Rectangle GetPreviousZoomRect();
- BOOL IsNextPossible() const;
- BOOL IsPreviousPossible() const;
+ void InsertZoomRect(const Rectangle& rRect);
+ Rectangle GetNextZoomRect();
+ Rectangle GetPreviousZoomRect();
+ BOOL IsNextPossible() const;
+ BOOL IsPreviousPossible() const;
private:
- ViewShell* mpViewShell;
- ULONG mnCurPos;
+ ViewShell* mpViewShell;
+ ULONG mnCurPos;
};
} // end of namespace sd
diff --git a/sd/source/ui/notes/EditWindow.cxx b/sd/source/ui/notes/EditWindow.cxx
index 0390b244e56d..5a76617bfd10 100644
--- a/sd/source/ui/notes/EditWindow.cxx
+++ b/sd/source/ui/notes/EditWindow.cxx
@@ -2,7 +2,7 @@
/*************************************************************************
*
* 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
@@ -48,7 +48,7 @@
#include <editeng/fontitem.hxx>
#include <editeng/editstat.hxx>
-#define SCROLL_LINE 24
+#define SCROLL_LINE 24
using namespace com::sun::star::accessibility;
using namespace com::sun::star;
@@ -122,11 +122,11 @@ void SmGetLeftSelectionPart(const ESelection aSel,
(aSel.nStartPara < aSel.nEndPara) ||
(aSel.nStartPara == aSel.nEndPara && aSel.nStartPos < aSel.nEndPos)
)
- { nPara = aSel.nStartPara;
+ { nPara = aSel.nStartPara;
nPos = aSel.nStartPos;
}
else
- { nPara = aSel.nEndPara;
+ { nPara = aSel.nEndPara;
nPos = aSel.nEndPos;
}
}
@@ -250,7 +250,7 @@ void EditWindow::DataChanged (const DataChangedEvent&)
//! see also SmDocShell::GetEditEngine() !
//!
- // pEditEngine->SetDefTab( USHORT( GetTextWidth( C2S("XXXX") ) ) );
+ // pEditEngine->SetDefTab( USHORT( GetTextWidth( C2S("XXXX") ) ) );
USHORT aFntInfoId[3] = {
EE_CHAR_FONTINFO, EE_CHAR_FONTINFO_CJK, EE_CHAR_FONTINFO_CTL };
@@ -281,7 +281,7 @@ void EditWindow::DataChanged (const DataChangedEvent&)
// unfortunately this resets the whole edit engine
// thus we need to save at least the text
String aTxt( pEditEngine->GetText( LINEEND_LF ) );
- pEditEngine->Clear(); //#77957 incorrect font size
+ pEditEngine->Clear(); //#77957 incorrect font size
pEditEngine->SetText( aTxt );
}
@@ -333,7 +333,7 @@ void EditWindow::MouseButtonUp(const MouseEvent &rEvt)
Window::MouseButtonUp (rEvt);
// ggf FormulaCursor neu positionieren
- // CursorMoveTimerHdl(&aCursorMoveTimer);
+ // CursorMoveTimerHdl(&aCursorMoveTimer);
}
@@ -354,7 +354,7 @@ void EditWindow::MouseButtonDown(const MouseEvent &rEvt)
void EditWindow::Command(const CommandEvent& rCEvt)
{
- /* if (rCEvt.GetCommand() == COMMAND_CONTEXTMENU)
+ /* if (rCEvt.GetCommand() == COMMAND_CONTEXTMENU)
{
GetParent()->ToTop();
@@ -401,7 +401,7 @@ IMPL_LINK_INLINE_END( EditWindow, MenuSelectHdl, Menu *, EMPTYARG )
void EditWindow::KeyInput(const KeyEvent& )
{
- /* if (rKEvt.GetKeyCode().GetCode() == KEY_ESCAPE)
+ /* if (rKEvt.GetKeyCode().GetCode() == KEY_ESCAPE)
{
BOOL bCallBase = TRUE;
SfxViewShell* pViewShell = SfxViewShell::Current();
diff --git a/sd/source/ui/notes/EditWindow.hxx b/sd/source/ui/notes/EditWindow.hxx
index cd4b827fab6a..238a94104d8e 100644
--- a/sd/source/ui/notes/EditWindow.hxx
+++ b/sd/source/ui/notes/EditWindow.hxx
@@ -2,7 +2,7 @@
/*************************************************************************
*
* 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
@@ -47,7 +47,7 @@ class Timer;
namespace sd { namespace notes {
-class EditWindow
+class EditWindow
: public Window,
public DropTargetHelper
{
@@ -86,11 +86,11 @@ private:
DECL_LINK(EditStatusHdl ,EditStatus *);
DECL_LINK(ScrollHdl, ScrollBar *);
- void CreateEditView();
+ void CreateEditView();
- Rectangle AdjustScrollBars();
- void SetScrollBarRanges();
- void InitScrollBars();
+ Rectangle AdjustScrollBars();
+ void SetScrollBarRanges();
+ void InitScrollBars();
// SmDocShell * GetDoc();
// SmViewShell * GetView();
@@ -99,26 +99,26 @@ private:
EditEngine* CreateEditEngine (void);
// Window
- virtual void SetText(const XubString &rText);
- virtual XubString GetText();
- virtual void GetFocus();
- virtual void LoseFocus();
-
- ESelection GetSelection() const;
- void SetSelection(const ESelection &rSel);
-
- BOOL IsEmpty() const;
- BOOL IsSelected() const;
- BOOL IsAllSelected() const;
- void Cut();
- void Copy();
- void Paste();
- void Delete();
- void SelectAll();
- void MarkError(const Point &rPos);
- void SelNextMark();
- void SelPrevMark();
- BOOL HasMark(const String &rText) const;
+ virtual void SetText(const XubString &rText);
+ virtual XubString GetText();
+ virtual void GetFocus();
+ virtual void LoseFocus();
+
+ ESelection GetSelection() const;
+ void SetSelection(const ESelection &rSel);
+
+ BOOL IsEmpty() const;
+ BOOL IsSelected() const;
+ BOOL IsAllSelected() const;
+ void Cut();
+ void Copy();
+ void Paste();
+ void Delete();
+ void SelectAll();
+ void MarkError(const Point &rPos);
+ void SelNextMark();
+ void SelPrevMark();
+ BOOL HasMark(const String &rText) const;
void ApplyColorConfigValues( const svtools::ColorConfig &rColorCfg );
};
diff --git a/sd/source/ui/notes/NotesChildWindow.cxx b/sd/source/ui/notes/NotesChildWindow.cxx
index abd6a84d88ef..d2ffb4fa1590 100644
--- a/sd/source/ui/notes/NotesChildWindow.cxx
+++ b/sd/source/ui/notes/NotesChildWindow.cxx
@@ -2,7 +2,7 @@
/*************************************************************************
*
* 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
@@ -39,10 +39,10 @@
namespace sd { namespace notes {
NotesChildWindow::NotesChildWindow (
- ::Window* _pParent,
- USHORT nId,
- SfxBindings* pBindings,
- SfxChildWinInfo* pInfo)
+ ::Window* _pParent,
+ USHORT nId,
+ SfxBindings* pBindings,
+ SfxChildWinInfo* pInfo)
: SfxChildWindow (_pParent, nId)
{
pWindow = new NotesDockingWindow (pBindings, this, _pParent);
diff --git a/sd/source/ui/notes/NotesChildWindow.src b/sd/source/ui/notes/NotesChildWindow.src
index f01a258bf812..9e2087937dac 100755
--- a/sd/source/ui/notes/NotesChildWindow.src
+++ b/sd/source/ui/notes/NotesChildWindow.src
@@ -1,7 +1,7 @@
/*************************************************************************
*
* 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
diff --git a/sd/source/ui/notes/NotesDockingWindow.cxx b/sd/source/ui/notes/NotesDockingWindow.cxx
index e83db3c76f62..d4ae7bb9aa87 100644
--- a/sd/source/ui/notes/NotesDockingWindow.cxx
+++ b/sd/source/ui/notes/NotesDockingWindow.cxx
@@ -2,7 +2,7 @@
/*************************************************************************
*
* 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
diff --git a/sd/source/ui/notes/NotesDockingWindow.hxx b/sd/source/ui/notes/NotesDockingWindow.hxx
index 3e41a7bafbb2..f8377ceed304 100644
--- a/sd/source/ui/notes/NotesDockingWindow.hxx
+++ b/sd/source/ui/notes/NotesDockingWindow.hxx
@@ -2,7 +2,7 @@
/*************************************************************************
*
* 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
diff --git a/sd/source/ui/notes/TextLogger.cxx b/sd/source/ui/notes/TextLogger.cxx
index ffcd743accbc..e3f9cf86dee0 100644
--- a/sd/source/ui/notes/TextLogger.cxx
+++ b/sd/source/ui/notes/TextLogger.cxx
@@ -2,7 +2,7 @@
/*************************************************************************
*
* 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
@@ -97,7 +97,7 @@ void TextLogger::ConnectToEditWindow (EditWindow* pEditWindow)
if (pEditWindow != NULL)
pEditWindow->AddEventListener(
LINK(this, TextLogger, WindowEventHandler));
- else
+ else
mpEditWindow->RemoveEventListener(
LINK(this, TextLogger, WindowEventHandler));
@@ -113,7 +113,7 @@ IMPL_LINK(TextLogger, WindowEventHandler, VclWindowEvent*, pEvent)
if (pEvent != NULL)
{
DBG_ASSERT(static_cast<VclWindowEvent*>(pEvent)->GetWindow()
- == mpEditWindow,
+ == mpEditWindow,
"TextLogger: received event from unknown window");
switch (pEvent->GetId())
{
diff --git a/sd/source/ui/presenter/CanvasUpdateRequester.cxx b/sd/source/ui/presenter/CanvasUpdateRequester.cxx
index ae37ff945061..fbc79e6875d7 100644
--- a/sd/source/ui/presenter/CanvasUpdateRequester.cxx
+++ b/sd/source/ui/presenter/CanvasUpdateRequester.cxx
@@ -2,7 +2,7 @@
/*************************************************************************
*
* 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
diff --git a/sd/source/ui/presenter/CanvasUpdateRequester.hxx b/sd/source/ui/presenter/CanvasUpdateRequester.hxx
index e8c8f5d93fbe..3350ace49ebc 100644
--- a/sd/source/ui/presenter/CanvasUpdateRequester.hxx
+++ b/sd/source/ui/presenter/CanvasUpdateRequester.hxx
@@ -2,7 +2,7 @@
/*************************************************************************
*
* 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
@@ -58,18 +58,18 @@ public:
const css::uno::Reference<css::rendering::XSpriteCanvas>& rxCanvas);
void RequestUpdate (const sal_Bool bUpdateAll);
-
+
private:
CanvasUpdateRequester (const css::uno::Reference<css::rendering::XSpriteCanvas>& rxCanvas);
~CanvasUpdateRequester (void);
class Deleter; friend class Deleter;
-
+
typedef ::std::vector<
::std::pair<
- css::uno::Reference<css::rendering::XSpriteCanvas>,
+ css::uno::Reference<css::rendering::XSpriteCanvas>,
::boost::shared_ptr<CanvasUpdateRequester> > > RequesterMap;
static RequesterMap maRequesterMap;
-
+
css::uno::Reference<css::rendering::XSpriteCanvas> mxCanvas;
ULONG mnUserEventId;
sal_Bool mbUpdateFlag;
diff --git a/sd/source/ui/presenter/PresenterCanvas.cxx b/sd/source/ui/presenter/PresenterCanvas.cxx
index b4f57b365ac3..7c117669e7a1 100644
--- a/sd/source/ui/presenter/PresenterCanvas.cxx
+++ b/sd/source/ui/presenter/PresenterCanvas.cxx
@@ -2,7 +2,7 @@
/*************************************************************************
*
* 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
@@ -109,15 +109,15 @@ public:
virtual void SAL_CALL setAlpha (double nAlpha)
throw (lang::IllegalArgumentException,RuntimeException);
-
+
virtual void SAL_CALL move (const geometry::RealPoint2D& rNewPos,
const rendering::ViewState& rViewState,
const rendering::RenderState& rRenderState)
throw (lang::IllegalArgumentException,RuntimeException);
-
+
virtual void SAL_CALL transform (const geometry::AffineMatrix2D& rTransformation)
throw (lang::IllegalArgumentException,RuntimeException);
-
+
virtual void SAL_CALL clip (const Reference<rendering::XPolyPolygon2D>& rClip)
throw (RuntimeException);
@@ -126,13 +126,13 @@ public:
virtual void SAL_CALL show (void)
throw (RuntimeException);
-
+
virtual void SAL_CALL hide (void)
throw (RuntimeException);
-
+
// XCustomSprite
-
+
virtual Reference<rendering::XCanvas> SAL_CALL getContentCanvas (void)
throw (RuntimeException);
@@ -142,7 +142,7 @@ private:
Reference<awt::XWindow> mxBaseWindow;
geometry::RealPoint2D maPosition;
geometry::RealSize2D maSpriteSize;
-
+
void ThrowIfDisposed (void)
throw (css::lang::DisposedException);
};
@@ -188,7 +188,7 @@ PresenterCanvas::PresenterCanvas (
{
if (mxWindow.is())
mxWindow->addWindowListener(this);
-
+
if (mxUpdateCanvas.is())
mpUpdateRequester = CanvasUpdateRequester::Instance(mxUpdateCanvas);
}
@@ -214,7 +214,7 @@ void SAL_CALL PresenterCanvas::disposing (void)
//----- XInitialization -------------------------------------------------------
-
+
void SAL_CALL PresenterCanvas::initialize (
const Sequence<Any>& rArguments)
throw(Exception, RuntimeException)
@@ -626,7 +626,7 @@ Reference<rendering::XAnimatedSprite> SAL_CALL
else
return NULL;
}
-
+
@@ -647,7 +647,7 @@ Reference<rendering::XAnimatedSprite> SAL_CALL
else
return NULL;
}
-
+
@@ -868,11 +868,11 @@ css::rendering::ViewState PresenterCanvas::MergeViewState (
// Prepare the local clip rectangle.
::basegfx::B2DRectangle aWindowRange (GetClipRectangle(aViewState.AffineTransform, rOffset));
-
+
// Adapt the offset of the view state.
aViewState.AffineTransform.m02 += rOffset.X;
aViewState.AffineTransform.m12 += rOffset.Y;
-
+
// Adapt the clip polygon.
if ( ! aViewState.Clip.is())
{
@@ -964,7 +964,7 @@ awt::Point PresenterCanvas::GetOffset (const Reference<awt::XWindow>& rxBaseWind
maClipRectangle.X + maClipRectangle.Width + rOffset.X,
maClipRectangle.Y + maClipRectangle.Height + rOffset.Y);
}
-
+
// The local clip rectangle is used to clip the view state clipping
// polygon.
::basegfx::B2DRectangle aWindowRectangle (
@@ -1119,7 +1119,7 @@ void SAL_CALL PresenterCustomSprite::setAlpha (const double nAlpha)
ThrowIfDisposed();
mxSprite->setAlpha(nAlpha);
}
-
+
@@ -1198,7 +1198,7 @@ void SAL_CALL PresenterCustomSprite::hide (void)
//----- XCustomSprite ---------------------------------------------------------
-
+
Reference<rendering::XCanvas> PresenterCustomSprite::getContentCanvas (void)
throw (RuntimeException)
{
diff --git a/sd/source/ui/presenter/PresenterCanvas.hxx b/sd/source/ui/presenter/PresenterCanvas.hxx
index 3d119fb01758..84267ed670d9 100644
--- a/sd/source/ui/presenter/PresenterCanvas.hxx
+++ b/sd/source/ui/presenter/PresenterCanvas.hxx
@@ -2,7 +2,7 @@
/*************************************************************************
*
* 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
@@ -151,52 +151,52 @@ public:
const css::geometry::RealPoint2D& rLocation,
const css::geometry::RealSize2D& rSize);
-
+
// XInitialization
-
+
virtual void SAL_CALL initialize (
const css::uno::Sequence<css::uno::Any>& rArguments)
throw(css::uno::Exception, css::uno::RuntimeException);
-
+
// XCanvas
virtual void SAL_CALL clear (void)
throw (css::uno::RuntimeException);
-
+
virtual void SAL_CALL drawPoint (
const css::geometry::RealPoint2D& aPoint,
const css::rendering::ViewState& aViewState,
const css::rendering::RenderState& aRenderState)
throw (css::lang::IllegalArgumentException, css::uno::RuntimeException);
-
+
virtual void SAL_CALL drawLine (
const css::geometry::RealPoint2D& aStartPoint,
const css::geometry::RealPoint2D& aEndPoint,
const css::rendering::ViewState& aViewState,
const css::rendering::RenderState& aRenderState)
throw (css::lang::IllegalArgumentException, css::uno::RuntimeException);
-
+
virtual void SAL_CALL drawBezier (
const css::geometry::RealBezierSegment2D& aBezierSegment,
const css::geometry::RealPoint2D& aEndPoint,
const css::rendering::ViewState& aViewState,
const css::rendering::RenderState& aRenderState)
throw (css::lang::IllegalArgumentException, css::uno::RuntimeException);
-
+
virtual css::uno::Reference<css::rendering::XCachedPrimitive> SAL_CALL drawPolyPolygon (
const css::uno::Reference< css::rendering::XPolyPolygon2D >& xPolyPolygon,
const css::rendering::ViewState& aViewState,
const css::rendering::RenderState& aRenderState)
throw (css::lang::IllegalArgumentException, css::uno::RuntimeException);
-
+
virtual css::uno::Reference<css::rendering::XCachedPrimitive> SAL_CALL strokePolyPolygon (
const css::uno::Reference< css::rendering::XPolyPolygon2D >& xPolyPolygon,
const css::rendering::ViewState& aViewState,
const css::rendering::RenderState& aRenderState,
const css::rendering::StrokeAttributes& aStrokeAttributes)
throw (css::lang::IllegalArgumentException, css::uno::RuntimeException);
-
+
virtual css::uno::Reference<css::rendering::XCachedPrimitive> SAL_CALL
strokeTexturedPolyPolygon (
const css::uno::Reference< css::rendering::XPolyPolygon2D >& xPolyPolygon,
@@ -207,7 +207,7 @@ public:
throw (css::lang::IllegalArgumentException,
css::rendering::VolatileContentDestroyedException,
css::uno::RuntimeException);
-
+
virtual css::uno::Reference<css::rendering::XCachedPrimitive> SAL_CALL
strokeTextureMappedPolyPolygon(
const css::uno::Reference<css::rendering::XPolyPolygon2D >& xPolyPolygon,
@@ -219,7 +219,7 @@ public:
throw (css::lang::IllegalArgumentException,
css::rendering::VolatileContentDestroyedException,
css::uno::RuntimeException);
-
+
virtual css::uno::Reference<css::rendering::XPolyPolygon2D> SAL_CALL
queryStrokeShapes(
const css::uno::Reference<css::rendering::XPolyPolygon2D>& xPolyPolygon,
@@ -227,7 +227,7 @@ public:
const css::rendering::RenderState& aRenderState,
const css::rendering::StrokeAttributes& aStrokeAttributes)
throw (css::lang::IllegalArgumentException, css::uno::RuntimeException);
-
+
virtual css::uno::Reference<css::rendering::XCachedPrimitive> SAL_CALL
fillPolyPolygon(
const css::uno::Reference<css::rendering::XPolyPolygon2D>& xPolyPolygon,
@@ -235,7 +235,7 @@ public:
const css::rendering::RenderState& aRenderState)
throw (css::lang::IllegalArgumentException,
css::uno::RuntimeException);
-
+
virtual css::uno::Reference<css::rendering::XCachedPrimitive> SAL_CALL
fillTexturedPolyPolygon(
const css::uno::Reference<css::rendering::XPolyPolygon2D>& xPolyPolygon,
@@ -245,7 +245,7 @@ public:
throw (css::lang::IllegalArgumentException,
css::rendering::VolatileContentDestroyedException,
css::uno::RuntimeException);
-
+
virtual css::uno::Reference<css::rendering::XCachedPrimitive> SAL_CALL
fillTextureMappedPolyPolygon(
const css::uno::Reference< css::rendering::XPolyPolygon2D >& xPolyPolygon,
@@ -256,7 +256,7 @@ public:
throw (css::lang::IllegalArgumentException,
css::rendering::VolatileContentDestroyedException,
css::uno::RuntimeException);
-
+
virtual css::uno::Reference<css::rendering::XCanvasFont> SAL_CALL
createFont(
const css::rendering::FontRequest& aFontRequest,
@@ -264,13 +264,13 @@ public:
const css::geometry::Matrix2D& aFontMatrix)
throw (css::lang::IllegalArgumentException,
css::uno::RuntimeException);
-
+
virtual css::uno::Sequence<css::rendering::FontInfo> SAL_CALL
queryAvailableFonts(
const css::rendering::FontInfo& aFilter,
const css::uno::Sequence< css::beans::PropertyValue >& aFontProperties)
throw (css::lang::IllegalArgumentException, css::uno::RuntimeException);
-
+
virtual css::uno::Reference<css::rendering::XCachedPrimitive> SAL_CALL
drawText(
const css::rendering::StringContext& aText,
@@ -279,14 +279,14 @@ public:
const css::rendering::RenderState& aRenderState,
::sal_Int8 nTextDirection)
throw (css::lang::IllegalArgumentException, css::uno::RuntimeException);
-
+
virtual css::uno::Reference<css::rendering::XCachedPrimitive> SAL_CALL
drawTextLayout(
const css::uno::Reference< css::rendering::XTextLayout >& xLayoutetText,
const css::rendering::ViewState& aViewState,
const css::rendering::RenderState& aRenderState)
throw (css::lang::IllegalArgumentException, css::uno::RuntimeException);
-
+
virtual css::uno::Reference<css::rendering::XCachedPrimitive> SAL_CALL
drawBitmap(
const css::uno::Reference< css::rendering::XBitmap >& xBitmap,
@@ -295,7 +295,7 @@ public:
throw (css::lang::IllegalArgumentException,
css::rendering::VolatileContentDestroyedException,
css::uno::RuntimeException);
-
+
virtual css::uno::Reference<css::rendering::XCachedPrimitive> SAL_CALL
drawBitmapModulated(
const css::uno::Reference< css::rendering::XBitmap>& xBitmap,
@@ -304,7 +304,7 @@ public:
throw (css::lang::IllegalArgumentException,
css::rendering::VolatileContentDestroyedException,
css::uno::RuntimeException);
-
+
virtual css::uno::Reference<css::rendering::XGraphicDevice> SAL_CALL
getDevice (void)
throw (css::uno::RuntimeException);
@@ -324,14 +324,14 @@ public:
css::rendering::VolatileContentDestroyedException,
css::uno::RuntimeException);
-
+
// XSpriteCanvas
css::uno::Reference< css::rendering::XAnimatedSprite > SAL_CALL
createSpriteFromAnimation (
const css::uno::Reference< css::rendering::XAnimation >& animation)
throw (css::lang::IllegalArgumentException, css::uno::RuntimeException);
-
+
css::uno::Reference< css::rendering::XAnimatedSprite > SAL_CALL
createSpriteFromBitmaps (
const css::uno::Sequence<
@@ -340,17 +340,17 @@ public:
throw (css::lang::IllegalArgumentException,
css::rendering::VolatileContentDestroyedException,
css::uno::RuntimeException);
-
+
css::uno::Reference< css::rendering::XCustomSprite > SAL_CALL
createCustomSprite (
const css::geometry::RealSize2D& spriteSize)
throw (css::lang::IllegalArgumentException, css::uno::RuntimeException);
-
+
css::uno::Reference< css::rendering::XSprite > SAL_CALL
createClonedSprite (
const css::uno::Reference< css::rendering::XSprite >& original)
throw (css::lang::IllegalArgumentException, css::uno::RuntimeException);
-
+
::sal_Bool SAL_CALL updateScreen (::sal_Bool bUpdateAll)
throw (css::uno::RuntimeException);
@@ -365,13 +365,13 @@ public:
virtual void SAL_CALL windowResized (const css::awt::WindowEvent& rEvent)
throw (css::uno::RuntimeException);
-
+
virtual void SAL_CALL windowMoved (const css::awt::WindowEvent& rEvent)
throw (css::uno::RuntimeException);
-
+
virtual void SAL_CALL windowShown (const css::lang::EventObject& rEvent)
throw (css::uno::RuntimeException);
-
+
virtual void SAL_CALL windowHidden (const css::lang::EventObject& rEvent)
throw (css::uno::RuntimeException);
@@ -383,10 +383,10 @@ public:
virtual sal_Bool SAL_CALL hasAlpha (void)
throw (css::uno::RuntimeException);
-
+
virtual css::uno::Reference<css::rendering::XBitmapCanvas> SAL_CALL queryBitmapCanvas (void)
throw (css::uno::RuntimeException);
-
+
virtual css::uno::Reference<css::rendering::XBitmap> SAL_CALL getScaledBitmap(
const css::geometry::RealSize2D& rNewSize,
sal_Bool bFast)
diff --git a/sd/source/ui/presenter/PresenterCanvasFactory.cxx b/sd/source/ui/presenter/PresenterCanvasFactory.cxx
index 81b990f57f09..9d0fca423ff4 100644
--- a/sd/source/ui/presenter/PresenterCanvasFactory.cxx
+++ b/sd/source/ui/presenter/PresenterCanvasFactory.cxx
@@ -2,7 +2,7 @@
/*************************************************************************
*
* 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
@@ -206,7 +206,7 @@ Reference<rendering::XCanvas> PresenterCanvasFactory::CreateCanvasForSprite (
{
OSL_ASSERT(rxSharedWindow.is());
(void)rxWindow.is();
-
+
SharedWindowContainer::iterator iDescriptor (
mpSharedWindows->FindDescriptor(rxSharedWindow));
if (iDescriptor != mpSharedWindows->end())
@@ -239,14 +239,14 @@ Reference<rendering::XCanvas> PresenterCanvasFactory::CreateCanvas (
if (pWindow != NULL)
{
Sequence<Any> aArg (5);
-
+
// common: first any is VCL pointer to window (for VCL canvas)
aArg[0] = makeAny(reinterpret_cast<sal_Int64>(pWindow));
aArg[1] = Any();
aArg[2] = makeAny(::com::sun::star::awt::Rectangle());
aArg[3] = makeAny(sal_False);
aArg[4] = makeAny(rxWindow);
-
+
Reference<lang::XMultiServiceFactory> xFactory (::comphelper::getProcessServiceFactory());
return Reference<rendering::XCanvas>(
xFactory->createInstanceWithArguments(
diff --git a/sd/source/ui/presenter/PresenterHelper.cxx b/sd/source/ui/presenter/PresenterHelper.cxx
index 5814b2d16e13..c3a6be7b9e58 100644
--- a/sd/source/ui/presenter/PresenterHelper.cxx
+++ b/sd/source/ui/presenter/PresenterHelper.cxx
@@ -2,7 +2,7 @@
/*************************************************************************
*
* 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
@@ -103,7 +103,7 @@ void SAL_CALL PresenterHelper::initialize (const Sequence<Any>& rArguments)
{
(void)rArguments;
}
-
+
@@ -180,7 +180,7 @@ Reference<rendering::XCanvas> SAL_CALL PresenterHelper::createSharedCanvas (
OUString::createFromAscii("illegal argument"),
Reference<XInterface>(static_cast<XWeak*>(this)));
}
-
+
if (rxWindow == rxSharedWindow)
return rxSharedCanvas;
else
@@ -209,14 +209,14 @@ Reference<rendering::XCanvas> SAL_CALL PresenterHelper::createCanvas (
if (pWindow != NULL)
{
Sequence<Any> aArg (5);
-
+
// common: first any is VCL pointer to window (for VCL canvas)
aArg[0] = makeAny(reinterpret_cast<sal_Int64>(pWindow));
aArg[1] = Any();
aArg[2] = makeAny(::com::sun::star::awt::Rectangle());
aArg[3] = makeAny(sal_False);
aArg[4] = makeAny(rxWindow);
-
+
Reference<lang::XMultiServiceFactory> xFactory (
mxComponentContext->getServiceManager(), UNO_QUERY_THROW);
return Reference<rendering::XCanvas>(
@@ -256,7 +256,7 @@ Reference<rendering::XBitmap> SAL_CALL PresenterHelper::loadBitmap (
{
if ( ! rxCanvas.is())
return NULL;
-
+
::osl::MutexGuard aGuard (::osl::Mutex::getGlobalMutex());
if (mpGraphicFilter.get() == NULL)
diff --git a/sd/source/ui/presenter/PresenterHelper.hxx b/sd/source/ui/presenter/PresenterHelper.hxx
index b3c7a336824a..f9d814c0c858 100644
--- a/sd/source/ui/presenter/PresenterHelper.hxx
+++ b/sd/source/ui/presenter/PresenterHelper.hxx
@@ -2,7 +2,7 @@
/*************************************************************************
*
* 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
@@ -65,7 +65,7 @@ public:
virtual void SAL_CALL initialize (const css::uno::Sequence<css::uno::Any>& rArguments)
throw(css::uno::Exception,css::uno::RuntimeException);
-
+
// XPresenterHelper
@@ -76,7 +76,7 @@ public:
sal_Bool bEnableChildTransparentMode,
sal_Bool bEnableParentClip)
throw (css::uno::RuntimeException);
-
+
virtual css::uno::Reference<css::rendering::XCanvas> SAL_CALL createSharedCanvas (
const css::uno::Reference<css::rendering::XSpriteCanvas>& rxUpdateCanvas,
const css::uno::Reference<css::awt::XWindow>& rxUpdateWindow,
@@ -110,7 +110,7 @@ public:
const css::uno::Reference<css::awt::XWindow>& rxChildWindow,
const css::uno::Reference<css::awt::XWindow>& rxParentWindow)
throw (css::uno::RuntimeException);
-
+
private:
css::uno::Reference<css::uno::XComponentContext> mxComponentContext;
::boost::scoped_ptr<GraphicFilter> mpGraphicFilter;
diff --git a/sd/source/ui/presenter/PresenterPreviewCache.cxx b/sd/source/ui/presenter/PresenterPreviewCache.cxx
index 12f54ff91a2d..10fb3036de3e 100644
--- a/sd/source/ui/presenter/PresenterPreviewCache.cxx
+++ b/sd/source/ui/presenter/PresenterPreviewCache.cxx
@@ -2,7 +2,7 @@
/*************************************************************************
*
* 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
@@ -372,7 +372,7 @@ void PresenterPreviewCache::PresenterCacheContext::NotifyPreviewCreation (
const ::boost::shared_ptr<BitmapEx>& rPreview)
{
(void)rPreview;
-
+
if ( ! mxSlides.is())
return;
const sal_Int32 nCount(mxSlides->getCount());
@@ -427,10 +427,10 @@ const SdrPage* PresenterPreviewCache::PresenterCacheContext::GetPage (CacheKey a
PresenterPreviewCache::PresenterCacheContext::GetEntryList (bool bVisible)
{
::boost::shared_ptr<std::vector<CacheKey> > pKeys (new std::vector<CacheKey>());
-
+
if ( ! mxSlides.is())
return pKeys;
-
+
const sal_Int32 nFirstIndex (bVisible ? mnFirstVisibleSlideIndex : 0);
const sal_Int32 nLastIndex (bVisible ? mnLastVisibleSlideIndex : mxSlides->getCount()-1);
@@ -454,11 +454,11 @@ sal_Int32 PresenterPreviewCache::PresenterCacheContext::GetPriority (CacheKey aK
return 0;
const sal_Int32 nCount (mxSlides->getCount());
-
+
for (sal_Int32 nIndex=mnFirstVisibleSlideIndex; nIndex<=mnLastVisibleSlideIndex; ++nIndex)
if (aKey == GetPage(nIndex))
return -nCount-1+nIndex;
-
+
for (sal_Int32 nIndex=0; nIndex<=nCount; ++nIndex)
if (aKey == GetPage(nIndex))
return nIndex;
diff --git a/sd/source/ui/presenter/PresenterPreviewCache.hxx b/sd/source/ui/presenter/PresenterPreviewCache.hxx
index 1601c8439316..b3de5a34103d 100644
--- a/sd/source/ui/presenter/PresenterPreviewCache.hxx
+++ b/sd/source/ui/presenter/PresenterPreviewCache.hxx
@@ -2,7 +2,7 @@
/*************************************************************************
*
* 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
@@ -67,15 +67,15 @@ public:
*/
virtual void SAL_CALL initialize (const css::uno::Sequence<css::uno::Any>& rArguments)
throw(css::uno::Exception,css::uno::RuntimeException);
-
+
// XSlidePreviewCache
-
+
virtual void SAL_CALL setDocumentSlides (
const css::uno::Reference<css::container::XIndexAccess>& rxSlides,
const css::uno::Reference<css::uno::XInterface>& rxDocument)
throw (css::uno::RuntimeException);
-
+
virtual void SAL_CALL setVisibleRange (
sal_Int32 nFirstVisibleSlideIndex,
sal_Int32 nLastVisibleSlideIndex)
diff --git a/sd/source/ui/presenter/PresenterTextView.cxx b/sd/source/ui/presenter/PresenterTextView.cxx
index cf9550baf1c2..b67e0c784000 100644
--- a/sd/source/ui/presenter/PresenterTextView.cxx
+++ b/sd/source/ui/presenter/PresenterTextView.cxx
@@ -2,7 +2,7 @@
/*************************************************************************
*
* 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
diff --git a/sd/source/ui/presenter/PresenterTextView.hxx b/sd/source/ui/presenter/PresenterTextView.hxx
index e02115ac7c71..561a748e527e 100644
--- a/sd/source/ui/presenter/PresenterTextView.hxx
+++ b/sd/source/ui/presenter/PresenterTextView.hxx
@@ -2,7 +2,7 @@
/*************************************************************************
*
* 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
@@ -61,7 +61,7 @@ public:
virtual ~PresenterTextView (void);
// XInitialization
-
+
virtual void SAL_CALL initialize (const css::uno::Sequence<css::uno::Any>& rArguments)
throw (css::uno::Exception, css::uno::RuntimeException);
diff --git a/sd/source/ui/presenter/SlideRenderer.cxx b/sd/source/ui/presenter/SlideRenderer.cxx
index dbd43cbbab5b..c852ff5f79e7 100644
--- a/sd/source/ui/presenter/SlideRenderer.cxx
+++ b/sd/source/ui/presenter/SlideRenderer.cxx
@@ -2,7 +2,7 @@
/*************************************************************************
*
* 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
@@ -206,7 +206,7 @@ BitmapEx SlideRenderer::CreatePreview (
OUString::createFromAscii("SlideRenderer::createPreview() called with invalid slide"),
static_cast<XWeak*>(this),
0);
-
+
// Determine the size of the current slide and its aspect ratio.
Size aPageSize = pPage->GetSize();
if (aPageSize.Height() <= 0)
@@ -231,14 +231,14 @@ BitmapEx SlideRenderer::CreatePreview (
nFactor = 1;
else if (nFactor > 10)
nFactor = 10;
-
+
// Create the preview. When the super sample factor n is greater than 1
// then a preview is created in size (n*width, n*height) and then scaled
// down to (width, height). This is a poor mans antialiasing for the
// time being. When we have true antialiasing support this workaround
// can be removed.
const Image aPreview = maPreviewRenderer.RenderPage (
- pPage,
+ pPage,
Size(aPreviewSize.Width*nFactor, aPreviewSize.Height*nFactor),
::rtl::OUString());
if (nFactor == 1)
diff --git a/sd/source/ui/presenter/SlideRenderer.hxx b/sd/source/ui/presenter/SlideRenderer.hxx
index ddeb211608f6..e5a715ea1e34 100644
--- a/sd/source/ui/presenter/SlideRenderer.hxx
+++ b/sd/source/ui/presenter/SlideRenderer.hxx
@@ -2,7 +2,7 @@
/*************************************************************************
*
* 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
@@ -64,13 +64,13 @@ public:
// XInitialization
-
+
virtual void SAL_CALL initialize (const css::uno::Sequence<css::uno::Any>& rArguments)
throw (css::uno::Exception, css::uno::RuntimeException);
-
+
// XSlideRenderer
-
+
virtual css::uno::Reference<css::awt::XBitmap> SAL_CALL createPreview (
const ::css::uno::Reference<css::drawing::XDrawPage>& rxSlide,
const css::awt::Size& rMaximumPreviewPixelSize,
@@ -88,7 +88,7 @@ public:
double nSlideAspectRatio,
const css::awt::Size& rMaximumPreviewPixelSize)
throw (css::uno::RuntimeException);
-
+
private:
PreviewRenderer maPreviewRenderer;
diff --git a/sd/source/ui/slideshow/PaneHider.cxx b/sd/source/ui/slideshow/PaneHider.cxx
index 027d1c9a5ad4..73f613e8d9ac 100644
--- a/sd/source/ui/slideshow/PaneHider.cxx
+++ b/sd/source/ui/slideshow/PaneHider.cxx
@@ -2,7 +2,7 @@
/*************************************************************************
*
* 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
diff --git a/sd/source/ui/slideshow/PaneHider.hxx b/sd/source/ui/slideshow/PaneHider.hxx
index afc17054d4ac..2424c03fe9d8 100644
--- a/sd/source/ui/slideshow/PaneHider.hxx
+++ b/sd/source/ui/slideshow/PaneHider.hxx
@@ -2,7 +2,7 @@
/*************************************************************************
*
* 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
diff --git a/sd/source/ui/slideshow/SlideShowRestarter.cxx b/sd/source/ui/slideshow/SlideShowRestarter.cxx
index 70e42801793d..83110d7c5a20 100644
--- a/sd/source/ui/slideshow/SlideShowRestarter.cxx
+++ b/sd/source/ui/slideshow/SlideShowRestarter.cxx
@@ -2,7 +2,7 @@
/*************************************************************************
*
* 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
@@ -129,7 +129,7 @@ IMPL_LINK(SlideShowRestarter, EndPresentation, void*, EMPTYARG)
// console (which is displayed in the FullScreenPane). But the
// timing has to be right and I did not find a better place for
// it.
-
+
// Wait for the full screen pane, which displays the presenter
// console, to disappear. Only when it is gone, call
// InitiatePresenterStart(), in order to begin the asynchronous
@@ -143,7 +143,7 @@ IMPL_LINK(SlideShowRestarter, EndPresentation, void*, EMPTYARG)
{
::sd::framework::ConfigurationController::Lock aLock (
pHelper->GetConfigurationController());
-
+
pHelper->RunOnConfigurationEvent(
FrameworkHelper::msConfigurationUpdateEndEvent,
::boost::bind(&SlideShowRestarter::StartPresentation, shared_from_this()));
diff --git a/sd/source/ui/slideshow/SlideShowRestarter.hxx b/sd/source/ui/slideshow/SlideShowRestarter.hxx
index d23758275a82..1f6fa2cfea19 100644
--- a/sd/source/ui/slideshow/SlideShowRestarter.hxx
+++ b/sd/source/ui/slideshow/SlideShowRestarter.hxx
@@ -2,7 +2,7 @@
/*************************************************************************
*
* 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
diff --git a/sd/source/ui/slideshow/showwin.cxx b/sd/source/ui/slideshow/showwin.cxx
index b6bd6dbabaea..deaa5c4e222e 100644
--- a/sd/source/ui/slideshow/showwin.cxx
+++ b/sd/source/ui/slideshow/showwin.cxx
@@ -2,7 +2,7 @@
/*************************************************************************
*
* 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
@@ -86,7 +86,7 @@ ShowWindow::ShowWindow( const ::rtl::Reference< SlideshowImpl >& xController, ::
maMouseTimer.SetTimeout( HIDE_MOUSE_TIMEOUT );
maShowBackground = Wallpaper( Color( COL_BLACK ) );
-// SetBackground( Wallpaper( Color( COL_BLACK ) ) );
+// SetBackground( Wallpaper( Color( COL_BLACK ) ) );
SetBackground(); // avoids that VCL paints any background!
GetParent()->Show();
AddEventListener( LINK( this, ShowWindow, EventHdl ) );
@@ -291,7 +291,7 @@ void ShowWindow::Paint(const Rectangle& rRect)
{
/*
Region aOldClipRegion( GetClipRegion() );
-
+
Region aClipRegion( rRect );
aClipRegion.Exclude( maPresArea );
SetClipRegion( aClipRegion );
@@ -398,8 +398,8 @@ BOOL ShowWindow::SetEndMode()
{
DeleteWindowFromPaintView();
meShowWindowMode = SHOWWINDOWMODE_END;
-// maShowBackground = GetBackground();
-// SetBackground( Wallpaper( Color( COL_BLACK ) ) );
+// maShowBackground = GetBackground();
+// SetBackground( Wallpaper( Color( COL_BLACK ) ) );
maShowBackground = Wallpaper( Color( COL_BLACK ) );
// hide navigator if it is visible
@@ -434,8 +434,8 @@ BOOL ShowWindow::SetPauseMode( sal_Int32 nPageIndexToRestart, sal_Int32 nTimeout
mnPauseTimeout = nTimeout;
mnRestartPageIndex = nPageIndexToRestart;
meShowWindowMode = SHOWWINDOWMODE_PAUSE;
-// maShowBackground = GetBackground();
-// SetBackground( Wallpaper( Color( COL_BLACK ) ) );
+// maShowBackground = GetBackground();
+// SetBackground( Wallpaper( Color( COL_BLACK ) ) );
maShowBackground = Wallpaper( Color( COL_BLACK ) );
// hide navigator if it is visible
@@ -466,8 +466,8 @@ BOOL ShowWindow::SetBlankMode( sal_Int32 nPageIndexToRestart, const Color& rBlan
DeleteWindowFromPaintView();
mnRestartPageIndex = nPageIndexToRestart;
meShowWindowMode = SHOWWINDOWMODE_BLANK;
-// maShowBackground = GetBackground();
-// SetBackground( Wallpaper( rBlankColor ) );
+// maShowBackground = GetBackground();
+// SetBackground( Wallpaper( rBlankColor ) );
maShowBackground = Wallpaper( rBlankColor );
// hide navigator if it is visible
@@ -498,7 +498,7 @@ void ShowWindow::TerminateShow()
maPauseTimer.Stop();
maMouseTimer.Stop();
Erase();
-// SetBackground( maShowBackground );
+// SetBackground( maShowBackground );
maShowBackground = Wallpaper( Color( COL_BLACK ) );
meShowWindowMode = SHOWWINDOWMODE_NORMAL;
mnPauseTimeout = SLIDE_NO_TIMEOUT;
@@ -536,7 +536,7 @@ void ShowWindow::RestartShow( sal_Int32 nPageIndexToRestart )
maLogo.Clear();
maPauseTimer.Stop();
Erase();
-// SetBackground( maShowBackground );
+// SetBackground( maShowBackground );
maShowBackground = Wallpaper( Color( COL_BLACK ) );
meShowWindowMode = SHOWWINDOWMODE_NORMAL;
mnPauseTimeout = SLIDE_NO_TIMEOUT;
@@ -544,11 +544,11 @@ void ShowWindow::RestartShow( sal_Int32 nPageIndexToRestart )
if( mpViewShell )
{
rtl::Reference< SlideShow > xSlideShow( SlideShow::GetSlideShow( mpViewShell->GetViewShellBase() ) );
-
+
if( xSlideShow.is() )
{
AddWindowToPaintView();
-
+
if( SHOWWINDOWMODE_BLANK == eOldShowWindowMode )
{
xSlideShow->pause(false);
@@ -575,16 +575,16 @@ void ShowWindow::RestartShow( sal_Int32 nPageIndexToRestart )
void ShowWindow::DrawPauseScene( BOOL bTimeoutOnly )
{
- const MapMode& rMap = GetMapMode();
- const Point aOutOrg( PixelToLogic( Point() ) );
- const Size aOutSize( GetOutputSize() );
- const Size aTextSize( LogicToLogic( Size( 0, 14 ), MAP_POINT, rMap ) );
- const Size aOffset( LogicToLogic( Size( 1000, 1000 ), MAP_100TH_MM, rMap ) );
- String aText( SdResId( STR_PRES_PAUSE ) );
- BOOL bDrawn = FALSE;
+ const MapMode& rMap = GetMapMode();
+ const Point aOutOrg( PixelToLogic( Point() ) );
+ const Size aOutSize( GetOutputSize() );
+ const Size aTextSize( LogicToLogic( Size( 0, 14 ), MAP_POINT, rMap ) );
+ const Size aOffset( LogicToLogic( Size( 1000, 1000 ), MAP_100TH_MM, rMap ) );
+ String aText( SdResId( STR_PRES_PAUSE ) );
+ BOOL bDrawn = FALSE;
- Font aFont( GetSettings().GetStyleSettings().GetMenuFont() );
- const Font aOldFont( GetFont() );
+ Font aFont( GetSettings().GetStyleSettings().GetMenuFont() );
+ const Font aOldFont( GetFont() );
aFont.SetSize( aTextSize );
aFont.SetColor( COL_WHITE );
@@ -600,7 +600,7 @@ void ShowWindow::DrawPauseScene( BOOL bTimeoutOnly )
else
aGrfSize = LogicToLogic( maLogo.GetPrefSize(), maLogo.GetPrefMapMode(), rMap );
- const Point aGrfPos( Max( aOutOrg.X() + aOutSize.Width() - aGrfSize.Width() - aOffset.Width(), aOutOrg.X() ),
+ const Point aGrfPos( Max( aOutOrg.X() + aOutSize.Width() - aGrfSize.Width() - aOffset.Width(), aOutOrg.X() ),
Max( aOutOrg.Y() + aOutSize.Height() - aGrfSize.Height() - aOffset.Height(), aOutOrg.Y() ) );
if( maLogo.IsAnimated() )
@@ -611,24 +611,24 @@ void ShowWindow::DrawPauseScene( BOOL bTimeoutOnly )
if( SLIDE_NO_TIMEOUT != mnPauseTimeout )
{
- MapMode aVMap( rMap );
- VirtualDevice aVDev( *this );
+ MapMode aVMap( rMap );
+ VirtualDevice aVDev( *this );
aVMap.SetOrigin( Point() );
aVDev.SetMapMode( aVMap );
aVDev.SetBackground( Wallpaper( Color( COL_BLACK ) ) );
-
+
// set font first, to determine real output height
aVDev.SetFont( aFont );
-
+
const Size aVDevSize( aOutSize.Width(), aVDev.GetTextHeight() );
if( aVDev.SetOutputSize( aVDevSize ) )
{
// Note: if performance gets an issue here, we can use NumberFormatter directly
- SvtSysLocale aSysLocale;
+ SvtSysLocale aSysLocale;
const LocaleDataWrapper& aLocaleData = aSysLocale.GetLocaleData();
-
+
aText.AppendAscii( RTL_CONSTASCII_STRINGPARAM( " ( " ));
aText += aLocaleData.getDuration( Time( 0, 0, mnPauseTimeout ) );
aText.AppendAscii( RTL_CONSTASCII_STRINGPARAM( " )" ));
@@ -650,12 +650,12 @@ void ShowWindow::DrawPauseScene( BOOL bTimeoutOnly )
void ShowWindow::DrawEndScene()
{
- const Font aOldFont( GetFont() );
- Font aFont( GetSettings().GetStyleSettings().GetMenuFont() );
+ const Font aOldFont( GetFont() );
+ Font aFont( GetSettings().GetStyleSettings().GetMenuFont() );
- const Point aOutOrg( PixelToLogic( Point() ) );
- const Size aTextSize( LogicToLogic( Size( 0, 14 ), MAP_POINT, GetMapMode() ) );
- const String aText( SdResId( STR_PRES_SOFTEND ) );
+ const Point aOutOrg( PixelToLogic( Point() ) );
+ const Size aTextSize( LogicToLogic( Size( 0, 14 ), MAP_POINT, GetMapMode() ) );
+ const String aText( SdResId( STR_PRES_SOFTEND ) );
aFont.SetSize( aTextSize );
aFont.SetColor( COL_WHITE );
diff --git a/sd/source/ui/slideshow/showwindow.hxx b/sd/source/ui/slideshow/showwindow.hxx
index ec179764bd04..0c5c27e6d406 100644
--- a/sd/source/ui/slideshow/showwindow.hxx
+++ b/sd/source/ui/slideshow/showwindow.hxx
@@ -2,7 +2,7 @@
/*************************************************************************
*
* 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
@@ -73,63 +73,63 @@ enum ShowWindowMode
class ShowWindow
: public ::sd::Window
{
-// friend class ShowWindowImpl;
+// friend class ShowWindowImpl;
public:
ShowWindow ( const ::rtl::Reference< ::sd::SlideshowImpl >& xController, ::Window* pParent );
virtual ~ShowWindow (void);
- BOOL SetEndMode();
- BOOL SetPauseMode( sal_Int32 nPageIndexToRestart, sal_Int32 nTimeoutSec = SLIDE_NO_TIMEOUT, Graphic* pLogo = NULL );
- BOOL SetBlankMode( sal_Int32 nPageIndexToRestart, const Color& rBlankColor );
+ BOOL SetEndMode();
+ BOOL SetPauseMode( sal_Int32 nPageIndexToRestart, sal_Int32 nTimeoutSec = SLIDE_NO_TIMEOUT, Graphic* pLogo = NULL );
+ BOOL SetBlankMode( sal_Int32 nPageIndexToRestart, const Color& rBlankColor );
- const Color& GetBlankColor() const { return maShowBackground.GetColor(); }
+ const Color& GetBlankColor() const { return maShowBackground.GetColor(); }
- void SetPreviewMode();
- void SetPresentationArea( const Rectangle& rPresArea );
+ void SetPreviewMode();
+ void SetPresentationArea( const Rectangle& rPresArea );
- void SetMouseAutoHide( bool bMouseAutoHide ) { mbMouseAutoHide = bMouseAutoHide; }
+ void SetMouseAutoHide( bool bMouseAutoHide ) { mbMouseAutoHide = bMouseAutoHide; }
ShowWindowMode GetShowWindowMode() const { return meShowWindowMode; }
- void RestartShow( sal_Int32 nPageIndexToRestart );
+ void RestartShow( sal_Int32 nPageIndexToRestart );
- virtual void Move();
- virtual void Resize();
- virtual void GetFocus();
- virtual void LoseFocus();
-// virtual void GrabFocus();
+ virtual void Move();
+ virtual void Resize();
+ virtual void GetFocus();
+ virtual void LoseFocus();
+// virtual void GrabFocus();
- virtual void KeyInput(const KeyEvent& rKEvt);
- virtual void MouseMove(const MouseEvent& rMEvt);
- virtual void MouseButtonUp(const MouseEvent& rMEvt);
- virtual void MouseButtonDown(const MouseEvent& rMEvt);
- virtual void Paint(const Rectangle& rRect);
- virtual long Notify(NotifyEvent& rNEvt);
+ virtual void KeyInput(const KeyEvent& rKEvt);
+ virtual void MouseMove(const MouseEvent& rMEvt);
+ virtual void MouseButtonUp(const MouseEvent& rMEvt);
+ virtual void MouseButtonDown(const MouseEvent& rMEvt);
+ virtual void Paint(const Rectangle& rRect);
+ virtual long Notify(NotifyEvent& rNEvt);
- void TerminateShow();
- void RestartShow();
+ void TerminateShow();
+ void RestartShow();
private:
- void DrawPauseScene( BOOL bTimeoutOnly );
- void DrawEndScene();
- void DrawBlankScene();
+ void DrawPauseScene( BOOL bTimeoutOnly );
+ void DrawEndScene();
+ void DrawBlankScene();
- void DeleteWindowFromPaintView();
- void AddWindowToPaintView();
+ void DeleteWindowFromPaintView();
+ void AddWindowToPaintView();
private:
- Timer maPauseTimer;
- Timer maMouseTimer;
- Wallpaper maShowBackground;
- Graphic maLogo;
- ULONG mnPauseTimeout;
- sal_Int32 mnRestartPageIndex;
+ Timer maPauseTimer;
+ Timer maMouseTimer;
+ Wallpaper maShowBackground;
+ Graphic maLogo;
+ ULONG mnPauseTimeout;
+ sal_Int32 mnRestartPageIndex;
ShowWindowMode meShowWindowMode;
- BOOL mbShowNavigatorAfterSpecialMode;
- Rectangle maPresArea;
- bool mbMouseAutoHide;
- bool mbMouseCursorHidden;
- ULONG mnFirstMouseMove;
+ BOOL mbShowNavigatorAfterSpecialMode;
+ Rectangle maPresArea;
+ bool mbMouseAutoHide;
+ bool mbMouseCursorHidden;
+ ULONG mnFirstMouseMove;
DECL_LINK( PauseTimeoutHdl, Timer* pTimer );
DECL_LINK( MouseTimeoutHdl, Timer* pTimer );
diff --git a/sd/source/ui/slideshow/slideshow.cxx b/sd/source/ui/slideshow/slideshow.cxx
index e9ebe9715fac..10ec1e0e5cb0 100644
--- a/sd/source/ui/slideshow/slideshow.cxx
+++ b/sd/source/ui/slideshow/slideshow.cxx
@@ -2,7 +2,7 @@
/*************************************************************************
*
* 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
@@ -121,21 +121,21 @@ const SfxItemPropertyMapEntry* ImplGetPresentationPropertyMap()
// NOTE: First member must be sorted
static const SfxItemPropertyMapEntry aPresentationPropertyMap_Impl[] =
{
- { MAP_CHAR_LEN("AllowAnimations"), ATTR_PRESENT_ANIMATION_ALLOWED, &::getBooleanCppuType(), 0, 0 },
- { MAP_CHAR_LEN("CustomShow"), ATTR_PRESENT_CUSTOMSHOW, &::getCppuType((const OUString*)0), 0, 0 },
- { MAP_CHAR_LEN("Display"), ATTR_PRESENT_DISPLAY, &::getCppuType((const sal_Int32*)0), 0, 0 },
- { MAP_CHAR_LEN("FirstPage"), ATTR_PRESENT_DIANAME, &::getCppuType((const OUString*)0), 0, 0 },
- { MAP_CHAR_LEN("IsAlwaysOnTop"), ATTR_PRESENT_ALWAYS_ON_TOP, &::getBooleanCppuType(), 0, 0 },
- { MAP_CHAR_LEN("IsAutomatic"), ATTR_PRESENT_MANUEL, &::getBooleanCppuType(), 0, 0 },
- { MAP_CHAR_LEN("IsEndless"), ATTR_PRESENT_ENDLESS, &::getBooleanCppuType(), 0, 0 },
- { MAP_CHAR_LEN("IsFullScreen"), ATTR_PRESENT_FULLSCREEN, &::getBooleanCppuType(), 0, 0 },
- { MAP_CHAR_LEN("IsShowAll"), ATTR_PRESENT_ALL, &::getBooleanCppuType(), 0, 0 },
- { MAP_CHAR_LEN("IsMouseVisible"), ATTR_PRESENT_MOUSE, &::getBooleanCppuType(), 0, 0 },
- { MAP_CHAR_LEN("IsShowLogo"), ATTR_PRESENT_SHOW_PAUSELOGO, &::getBooleanCppuType(), 0, 0 },
- { MAP_CHAR_LEN("IsTransitionOnClick"), ATTR_PRESENT_CHANGE_PAGE, &::getBooleanCppuType(), 0, 0 },
- { MAP_CHAR_LEN("Pause"), ATTR_PRESENT_PAUSE_TIMEOUT, &::getCppuType((const sal_Int32*)0), 0, 0 },
- { MAP_CHAR_LEN("StartWithNavigator"), ATTR_PRESENT_NAVIGATOR, &::getBooleanCppuType(), 0, 0 },
- { MAP_CHAR_LEN("UsePen"), ATTR_PRESENT_PEN, &::getBooleanCppuType(), 0, 0 },
+ { MAP_CHAR_LEN("AllowAnimations"), ATTR_PRESENT_ANIMATION_ALLOWED, &::getBooleanCppuType(), 0, 0 },
+ { MAP_CHAR_LEN("CustomShow"), ATTR_PRESENT_CUSTOMSHOW, &::getCppuType((const OUString*)0), 0, 0 },
+ { MAP_CHAR_LEN("Display"), ATTR_PRESENT_DISPLAY, &::getCppuType((const sal_Int32*)0), 0, 0 },
+ { MAP_CHAR_LEN("FirstPage"), ATTR_PRESENT_DIANAME, &::getCppuType((const OUString*)0), 0, 0 },
+ { MAP_CHAR_LEN("IsAlwaysOnTop"), ATTR_PRESENT_ALWAYS_ON_TOP, &::getBooleanCppuType(), 0, 0 },
+ { MAP_CHAR_LEN("IsAutomatic"), ATTR_PRESENT_MANUEL, &::getBooleanCppuType(), 0, 0 },
+ { MAP_CHAR_LEN("IsEndless"), ATTR_PRESENT_ENDLESS, &::getBooleanCppuType(), 0, 0 },
+ { MAP_CHAR_LEN("IsFullScreen"), ATTR_PRESENT_FULLSCREEN, &::getBooleanCppuType(), 0, 0 },
+ { MAP_CHAR_LEN("IsShowAll"), ATTR_PRESENT_ALL, &::getBooleanCppuType(), 0, 0 },
+ { MAP_CHAR_LEN("IsMouseVisible"), ATTR_PRESENT_MOUSE, &::getBooleanCppuType(), 0, 0 },
+ { MAP_CHAR_LEN("IsShowLogo"), ATTR_PRESENT_SHOW_PAUSELOGO, &::getBooleanCppuType(), 0, 0 },
+ { MAP_CHAR_LEN("IsTransitionOnClick"), ATTR_PRESENT_CHANGE_PAGE, &::getBooleanCppuType(), 0, 0 },
+ { MAP_CHAR_LEN("Pause"), ATTR_PRESENT_PAUSE_TIMEOUT, &::getCppuType((const sal_Int32*)0), 0, 0 },
+ { MAP_CHAR_LEN("StartWithNavigator"), ATTR_PRESENT_NAVIGATOR, &::getBooleanCppuType(), 0, 0 },
+ { MAP_CHAR_LEN("UsePen"), ATTR_PRESENT_PEN, &::getBooleanCppuType(), 0, 0 },
{ 0,0,0,0,0,0}
};
@@ -184,7 +184,7 @@ rtl::Reference< SlideShow > SlideShow::GetSlideShow( SdDrawDocument* pDocument )
if( pDocument )
xRet = rtl::Reference< SlideShow >( dynamic_cast< SlideShow* >( pDocument->getPresentation().get() ) );
-
+
return xRet;
}
@@ -200,7 +200,7 @@ rtl::Reference< SlideShow > SlideShow::GetSlideShow( ViewShellBase& rBase )
::com::sun::star::uno::Reference< ::com::sun::star::presentation::XSlideShowController > SlideShow::GetSlideShowController(ViewShellBase& rBase )
{
rtl::Reference< SlideShow > xSlideShow( GetSlideShow( rBase ) );
-
+
Reference< XSlideShowController > xRet;
if( xSlideShow.is() )
xRet = xSlideShow->getController();
@@ -322,7 +322,7 @@ void SAL_CALL SlideShow::setPropertyValue( const OUString& aPropertyName, const
case ATTR_PRESENT_ALL:
{
sal_Bool bVal = sal_False;
-
+
if( aValue >>= bVal )
{
bIllegalArgument = false;
@@ -344,7 +344,7 @@ void SAL_CALL SlideShow::setPropertyValue( const OUString& aPropertyName, const
if( aValue >>= bVal )
{
bIllegalArgument = false;
-
+
if( bVal == rPresSettings.mbLockedPages )
{
bValuesChanged = true;
@@ -357,7 +357,7 @@ void SAL_CALL SlideShow::setPropertyValue( const OUString& aPropertyName, const
case ATTR_PRESENT_ANIMATION_ALLOWED:
{
sal_Bool bVal = sal_False;
-
+
if( aValue >>= bVal )
{
bIllegalArgument = false;
@@ -686,7 +686,7 @@ void SAL_CALL SlideShow::end() throw(RuntimeException)
// gone wrong.
OSL_ASSERT(!mbIsInStartup);
mbIsInStartup = false;
-
+
rtl::Reference< SlideshowImpl > xController( mxController );
if( xController.is() )
{
@@ -1008,7 +1008,7 @@ void SlideShow::activate( ViewShellBase& rBase )
{
pShell->FinishInitialization( mpFullScreenFrameView );
mpFullScreenFrameView = 0;
-
+
CreateController( pShell.get(), pShell->GetView(), rBase.GetViewWindow() );
if( mxController->startShow(mxCurrentSettings.get()) )
@@ -1185,8 +1185,8 @@ void SlideShow::StartInPlacePresentation()
{
bSuccess = mxController->startShow(mxCurrentSettings.get());
}
-
- if( !bSuccess )
+
+ if( !bSuccess )
end();
}
}
@@ -1216,7 +1216,7 @@ void SlideShow::StartFullscreenPresentation( )
delete mpFullScreenFrameView;
mpFullScreenFrameView = new FrameView(mpDoc, pOriginalFrameView);
-// Reference<XController> xController;
+// Reference<XController> xController;
// The new frame is created hidden. To make it visible and activate the
// new view shell--a prerequisite to process slot calls and initialize
@@ -1246,7 +1246,7 @@ sal_Int32 SlideShow::GetDisplay()
if( pOptions )
nDisplay = pOptions->GetDisplay();
- if (nDisplay <= 0 )
+ if (nDisplay <= 0 )
{
try
{
diff --git a/sd/source/ui/slideshow/slideshow.hrc b/sd/source/ui/slideshow/slideshow.hrc
index 709e2a79146e..4db6d22f9a72 100644
--- a/sd/source/ui/slideshow/slideshow.hrc
+++ b/sd/source/ui/slideshow/slideshow.hrc
@@ -1,7 +1,7 @@
/*************************************************************************
*
* 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
@@ -28,32 +28,32 @@
#ifndef SD_SLIDESHOW_HRC_
#define SD_SLIDESHOW_HRC_
-#define CM_PREV_SLIDE 1
-#define CM_NEXT_SLIDE 2
-#define CM_GOTO 3
-#define CM_SCREEN 4
-#define CM_SCREEN_BLACK 5
-#define CM_SCREEN_WHITE 6
-#define CM_ENDSHOW 7
-#define CM_FIRST_SLIDE 8
-#define CM_LAST_SLIDE 9
-#define CM_SLIDES 10
+#define CM_PREV_SLIDE 1
+#define CM_NEXT_SLIDE 2
+#define CM_GOTO 3
+#define CM_SCREEN 4
+#define CM_SCREEN_BLACK 5
+#define CM_SCREEN_WHITE 6
+#define CM_ENDSHOW 7
+#define CM_FIRST_SLIDE 8
+#define CM_LAST_SLIDE 9
+#define CM_SLIDES 10
//CM for extra presenter UI
-#define CM_ERASE_ALLINK 11
-#define CM_ERASE_INK 12
-#define CM_ERASE_INK_PEN 13
-#define CM_ERASE_INK_PEN_VERY_THIN 14
-#define CM_ERASE_INK_PEN_THIN 15
-#define CM_ERASE_INK_PEN_NORMAL 16
-#define CM_ERASE_INK_PEN_THICK 17
-#define CM_ERASE_INK_PEN_VERY_THICK 18
-#define CM_COLOR_PEN 19
-#define CM_WIDTH_PEN 20
-#define CM_WIDTH_PEN_VERY_THIN 21
-#define CM_WIDTH_PEN_THIN 22
-#define CM_WIDTH_PEN_NORMAL 23
-#define CM_WIDTH_PEN_THICK 24
-#define CM_WIDTH_PEN_VERY_THICK 25
+#define CM_ERASE_ALLINK 11
+#define CM_ERASE_INK 12
+#define CM_ERASE_INK_PEN 13
+#define CM_ERASE_INK_PEN_VERY_THIN 14
+#define CM_ERASE_INK_PEN_THIN 15
+#define CM_ERASE_INK_PEN_NORMAL 16
+#define CM_ERASE_INK_PEN_THICK 17
+#define CM_ERASE_INK_PEN_VERY_THICK 18
+#define CM_COLOR_PEN 19
+#define CM_WIDTH_PEN 20
+#define CM_WIDTH_PEN_VERY_THIN 21
+#define CM_WIDTH_PEN_THIN 22
+#define CM_WIDTH_PEN_NORMAL 23
+#define CM_WIDTH_PEN_THICK 24
+#define CM_WIDTH_PEN_VERY_THICK 25
#define CM_PEN_MODE 26
#define CM_ERASE_MODE 27
#define CM_POINTER_OPTION 28
diff --git a/sd/source/ui/slideshow/slideshow.src b/sd/source/ui/slideshow/slideshow.src
index 02c225fb5ea9..a7c05c2b57df 100644
--- a/sd/source/ui/slideshow/slideshow.src
+++ b/sd/source/ui/slideshow/slideshow.src
@@ -1,7 +1,7 @@
/*************************************************************************
*
* 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
@@ -54,7 +54,7 @@ Menu RID_SLIDESHOW_CONTEXTMENU
{
Identifier = CM_FIRST_SLIDE;
Text [ en-US ] = "~First Slide";
- };
+ };
MenuItem
{
Identifier = CM_LAST_SLIDE;
@@ -161,7 +161,7 @@ Menu RID_SLIDESHOW_CONTEXTMENU
{
Identifier = CM_ERASE_INK_PEN_VERY_THIN;
Text [ en-US ] = "~Very thin";
- };
+ };
MenuItem
{
Identifier = CM_ERASE_INK_PEN_THIN;
@@ -171,7 +171,7 @@ Menu RID_SLIDESHOW_CONTEXTMENU
{
Identifier = CM_ERASE_INK_PEN_NORMAL;
Text [ en-US ] = "~Normal";
- };
+ };
MenuItem
{
Identifier = CM_ERASE_INK_PEN_THICK;
@@ -181,7 +181,7 @@ Menu RID_SLIDESHOW_CONTEXTMENU
{
Identifier = CM_ERASE_INK_PEN_VERY_THICK;
Text [ en-US ] = "~Very Thick";
- };
+ };
};
};
};
@@ -203,7 +203,7 @@ Menu RID_SLIDESHOW_CONTEXTMENU
{
Identifier = CM_SCREEN_BLACK;
Text [ en-US ] = "~Black";
- };
+ };
MenuItem
{
Identifier = CM_SCREEN_WHITE;
diff --git a/sd/source/ui/slideshow/slideshowimpl.cxx b/sd/source/ui/slideshow/slideshowimpl.cxx
index 8818df2bceac..5aae88c3442c 100644
--- a/sd/source/ui/slideshow/slideshowimpl.cxx
+++ b/sd/source/ui/slideshow/slideshowimpl.cxx
@@ -2,7 +2,7 @@
/*************************************************************************
*
* 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
@@ -118,21 +118,21 @@ namespace sd
// werden sollen (muss in Reihenfolge der SIDs geordnet sein)
static USHORT __READONLY_DATA pAllowed[] =
{
- SID_OPENDOC , // 5501 // damit interne Spruenge klappen
- SID_JUMPTOMARK , // 5598
-// SID_SHOWPOPUPS , // 5929
+ SID_OPENDOC , // 5501 // damit interne Spruenge klappen
+ SID_JUMPTOMARK , // 5598
+// SID_SHOWPOPUPS , // 5929
// SID_GALLERY , // 5960
- SID_OPENHYPERLINK , // 6676
+ SID_OPENHYPERLINK , // 6676
// SID_GALLERY_FORMATS , // 10280
- SID_NAVIGATOR , // 10366
-// SID_FM_DESIGN_MODE , // 10629
- SID_PRESENTATION_END , // 27218
- SID_NAVIGATOR_PAGENAME , // 27287
- SID_NAVIGATOR_STATE , // 27288
- SID_NAVIGATOR_INIT , // 27289
- SID_NAVIGATOR_PEN , // 27291
- SID_NAVIGATOR_PAGE , // 27292
- SID_NAVIGATOR_OBJECT // 27293
+ SID_NAVIGATOR , // 10366
+// SID_FM_DESIGN_MODE , // 10629
+ SID_PRESENTATION_END , // 27218
+ SID_NAVIGATOR_PAGENAME , // 27287
+ SID_NAVIGATOR_STATE , // 27288
+ SID_NAVIGATOR_INIT , // 27289
+ SID_NAVIGATOR_PEN , // 27291
+ SID_NAVIGATOR_PAGE , // 27292
+ SID_NAVIGATOR_OBJECT // 27293
};
///////////////////////////////////////////////////////////////////////
@@ -169,7 +169,7 @@ public:
bool nextSlide();
bool previousSlide();
- void displayCurrentSlide( const Reference< XSlideShow >& xShow,
+ void displayCurrentSlide( const Reference< XSlideShow >& xShow,
const Reference< XDrawPagesSupplier>& xDrawPages,
const bool bSkipAllMainSequenceEffects );
@@ -229,12 +229,12 @@ void AnimationSlideController::setPreviewNode( const Reference< XAnimationNode >
}
AnimationSlideController::AnimationSlideController( Reference< XIndexAccess > xSlides, Mode eMode )
-: meMode( eMode )
-, mnStartSlideNumber(-1)
-, mnSlideCount( 0 )
-, mnCurrentSlideIndex(0)
-, mnHiddenSlideNumber( -1 )
-, mxSlides( xSlides )
+: meMode( eMode )
+, mnStartSlideNumber(-1)
+, mnSlideCount( 0 )
+, mnCurrentSlideIndex(0)
+, mnHiddenSlideNumber( -1 )
+, mxSlides( xSlides )
{
if( mxSlides.is() )
mnSlideCount = xSlides->getCount();
@@ -405,7 +405,7 @@ sal_Int32 AnimationSlideController::getNextSlideIndex() const
case FROM:
case CUSTOM:
return mnHiddenSlideNumber == -1 ? mnCurrentSlideIndex + 1 : mnCurrentSlideIndex;
-
+
default:
case PREVIEW:
return -1;
@@ -468,7 +468,7 @@ bool AnimationSlideController::previousSlide()
return jumpToSlideIndex( getPreviousSlideIndex() );
}
-void AnimationSlideController::displayCurrentSlide( const Reference< XSlideShow >& xShow,
+void AnimationSlideController::displayCurrentSlide( const Reference< XSlideShow >& xShow,
const Reference< XDrawPagesSupplier>& xDrawPages,
const bool bSkipAllMainSequenceEffects )
{
@@ -479,7 +479,7 @@ void AnimationSlideController::displayCurrentSlide( const Reference< XSlideShow
Reference< XDrawPage > xSlide;
Reference< XAnimationNode > xAnimNode;
::std::vector<PropertyValue> aProperties;
-
+
const sal_Int32 nNextSlideNumber = getNextSlideNumber();
if( getSlideAPI( nNextSlideNumber, xSlide, xAnimNode ) )
{
@@ -517,7 +517,7 @@ void AnimationSlideController::displayCurrentSlide( const Reference< XSlideShow
Sequence< PropertyValue > aPropertySequence (aProperties.size());
for (int nIndex=0,nCount=aProperties.size();nIndex<nCount; ++nIndex)
aPropertySequence[nIndex] = aProperties[nIndex];
-
+
if( getSlideAPI( nCurrentSlideNumber, xSlide, xAnimNode ) )
xShow->displaySlide( xSlide, xDrawPages, xAnimNode, aPropertySequence );
}
@@ -577,7 +577,7 @@ SlideshowImpl::SlideshowImpl( const Reference< XPresentation2 >& xPresentation,
mpOldActiveWindow = mpViewShell->GetActiveWindow();
maUpdateTimer.SetTimeoutHdl(LINK(this, SlideshowImpl, updateHdl));
-
+
maDeactivateTimer.SetTimeoutHdl(LINK(this, SlideshowImpl, deactivateHdl));
maDeactivateTimer.SetTimeout( 20 );
@@ -683,7 +683,7 @@ void SAL_CALL SlideshowImpl::disposing()
mpViewShell->SetActiveWindow(mpOldActiveWindow);
mpShowWindow->SetViewShell( NULL );
}
-
+
if( mpView )
mpView->InvalidateAllWin();
@@ -731,7 +731,7 @@ void SAL_CALL SlideshowImpl::disposing()
delete mpTimeButton;
mpTimeButton = 0;
}
-
+
if( mpShowWindow )
mpShowWindow->Hide();
@@ -775,13 +775,13 @@ void SAL_CALL SlideshowImpl::disposing()
mbDisposed = true;
}
-bool SlideshowImpl::startPreview(
+bool SlideshowImpl::startPreview(
const Reference< XDrawPage >& xDrawPage,
const Reference< XAnimationNode >& xAnimationNode,
::Window* pParent )
{
bool bRet = false;
-
+
try
{
const Reference<lang::XServiceInfo> xServiceInfo( xDrawPage, UNO_QUERY );
@@ -798,7 +798,7 @@ bool SlideshowImpl::startPreview(
}
}
}
-
+
mxPreviewDrawPage = xDrawPage;
mxPreviewAnimationNode = xAnimationNode;
meAnimationMode = ANIMATIONMODE_PREVIEW;
@@ -901,7 +901,7 @@ bool SlideshowImpl::startPreview(
bool SlideshowImpl::startShow( PresentationSettingsEx* pPresSettings )
{
const rtl::Reference<SlideshowImpl> this_(this);
-
+
DBG_ASSERT( !mxShow.is(), "sd::SlideshowImpl::startShow(), called twice!" );
if( mxShow.is() )
return true;
@@ -910,7 +910,7 @@ bool SlideshowImpl::startShow( PresentationSettingsEx* pPresSettings )
return false;
bool bRet = false;
-
+
try
{
if( pPresSettings )
@@ -921,9 +921,9 @@ bool SlideshowImpl::startShow( PresentationSettingsEx* pPresSettings )
// ---
- String aPresSlide( maPresSettings.maPresPage );
+ String aPresSlide( maPresSettings.maPresPage );
SdPage* pStartPage = mpViewShell ? mpViewShell->GetActualPage() : 0;
- bool bStartWithActualSlide = pStartPage &&
+ bool bStartWithActualSlide = pStartPage &&
( (meAnimationMode != ANIMATIONMODE_SHOW) ||
SD_MOD()->GetSdOptions( mpDoc->GetDocumentType() )->IsStartWithActualPage() );
@@ -1033,9 +1033,9 @@ bool SlideshowImpl::startShow( PresentationSettingsEx* pPresSettings )
Help::DisableContextHelp();
Help::DisableExtHelp();
- // mpTimeButton = new PushButton( mpShowWindow, SdResId( RID_TIME_BUTTON ) );
- // maPencil = Pointer( POINTER_PEN );
- // mpTimeButton->Hide();
+ // mpTimeButton = new PushButton( mpShowWindow, SdResId( RID_TIME_BUTTON ) );
+ // maPencil = Pointer( POINTER_PEN );
+ // mpTimeButton->Hide();
if( maPresSettings.mbFullScreen )
{
@@ -1096,14 +1096,14 @@ bool SlideshowImpl::startShow( PresentationSettingsEx* pPresSettings )
OUString( RTL_CONSTASCII_USTRINGPARAM("AdvanceOnClick") ),
-1, Any( ! (maPresSettings.mbLockedPages != sal_False) ),
beans::PropertyState_DIRECT_VALUE ) );
-
+
aProperties.push_back(
beans::PropertyValue(
OUString( RTL_CONSTASCII_USTRINGPARAM("ImageAnimationsAllowed") ),
-1, Any( maPresSettings.mbAnimationAllowed != sal_False ),
beans::PropertyState_DIRECT_VALUE ) );
- const sal_Bool bZOrderEnabled(
+ const sal_Bool bZOrderEnabled(
SD_MOD()->GetSdOptions( mpDoc->GetDocumentType() )->IsSlideshowRespectZOrder() );
aProperties.push_back(
beans::PropertyValue(
@@ -1111,19 +1111,19 @@ bool SlideshowImpl::startShow( PresentationSettingsEx* pPresSettings )
-1, Any( bZOrderEnabled == sal_False ),
beans::PropertyState_DIRECT_VALUE ) );
-/*
+/*
aProperties.push_back(
beans::PropertyValue(
OUString( RTL_CONSTASCII_USTRINGPARAM("MouseVisible") ),
-1, Any( maPresSettings.mbMouseVisible != sal_False ),
beans::PropertyState_DIRECT_VALUE ) );
-*/
+*/
aProperties.push_back(
beans::PropertyValue(
OUString( RTL_CONSTASCII_USTRINGPARAM("ForceManualAdvance") ),
-1, Any( maPresSettings.mbManual != sal_False ),
beans::PropertyState_DIRECT_VALUE ) );
-
+
if( maPresSettings.mbMouseAsPen )
{
aProperties.push_back(
@@ -1133,7 +1133,7 @@ bool SlideshowImpl::startShow( PresentationSettingsEx* pPresSettings )
-1, Any( static_cast<sal_Int32>(0x00000000L) ),
beans::PropertyState_DIRECT_VALUE ) );
}
-
+
if (mbRehearseTimings) {
aProperties.push_back(
beans::PropertyValue(
@@ -1142,7 +1142,7 @@ bool SlideshowImpl::startShow( PresentationSettingsEx* pPresSettings )
}
bRet = startShowImpl( Sequence<beans::PropertyValue>(
- &aProperties[0], aProperties.size() ) );
+ &aProperties[0], aProperties.size() ) );
}
@@ -1168,10 +1168,10 @@ bool SlideshowImpl::startShowImpl( const Sequence< beans::PropertyValue >& aProp
try
{
mxShow = Reference< XSlideShow >( createSlideShow(), UNO_QUERY_THROW );
- mxView = mxView.createFromQuery( new SlideShowView(
- *mpShowWindow,
- mpDoc,
- meAnimationMode,
+ mxView = mxView.createFromQuery( new SlideShowView(
+ *mpShowWindow,
+ mpDoc,
+ meAnimationMode,
this,
maPresSettings.mbFullScreen) );
@@ -1375,7 +1375,7 @@ void SlideshowImpl::registerShapeEvents( Reference< XShapes >& xShapes ) throw(
Reference< XPropertySet > xSet( xShape, UNO_QUERY );
if( !xSet.is() )
continue;
-
+
Reference< XPropertySetInfo > xSetInfo( xSet->getPropertySetInfo() );
if( !xSetInfo.is() || !xSetInfo->hasPropertyByName( msOnClick ) )
continue;
@@ -1440,7 +1440,7 @@ void SlideshowImpl::displayCurrentSlide (const bool bSkipAllMainSequenceEffects)
if( mpSlideController.get() && mxShow.is() )
{
- Reference< XDrawPagesSupplier > xDrawPages( mpDoc->getUnoModel(),
+ Reference< XDrawPagesSupplier > xDrawPages( mpDoc->getUnoModel(),
UNO_QUERY_THROW );
mpSlideController->displayCurrentSlide( mxShow, xDrawPages, bSkipAllMainSequenceEffects );
registerShapeEvents(mpSlideController->getCurrentSlideNumber());
@@ -1585,11 +1585,11 @@ void SlideshowImpl::click( const Reference< XShape >& xShape, const ::com::sun::
switch( pEvent->meClickAction )
{
- case ClickAction_PREVPAGE: gotoPreviousSlide(); break;
- case ClickAction_NEXTPAGE: gotoNextSlide(); break;
- case ClickAction_FIRSTPAGE: gotoFirstSlide(); break;
- case ClickAction_LASTPAGE: gotoLastSlide(); break;
- case ClickAction_STOPPRESENTATION: endPresentation(); break;
+ case ClickAction_PREVPAGE: gotoPreviousSlide(); break;
+ case ClickAction_NEXTPAGE: gotoNextSlide(); break;
+ case ClickAction_FIRSTPAGE: gotoFirstSlide(); break;
+ case ClickAction_LASTPAGE: gotoLastSlide(); break;
+ case ClickAction_STOPPRESENTATION: endPresentation(); break;
case ClickAction_BOOKMARK:
{
gotoBookmark( pEvent->maStrBookmark );
@@ -1919,7 +1919,7 @@ sal_Int32 SlideshowImpl::updateSlideShow (void)
double fUpdate = 0.0;
if( !xShow->update(fUpdate) )
fUpdate = -1.0;
-
+
if (mxShow.is() && (fUpdate >= 0.0))
{
if (::basegfx::fTools::equalZero(fUpdate))
@@ -1945,7 +1945,7 @@ sal_Int32 SlideshowImpl::updateSlideShow (void)
// too high (only then conversion to milliseconds and long
// integer may lead to zero value.)
OSL_ASSERT(static_cast<ULONG>(fUpdate * 1000.0) > 0);
-
+
Application::EnableNoYieldMode(false);
Application::RemovePostYieldListener(LINK(this, SlideshowImpl, PostYieldListener));
@@ -2210,7 +2210,7 @@ IMPL_LINK( SlideshowImpl, ContextMenuHdl, void*, EMPTYARG )
pMenu->EnableItem( CM_PEN_MODE, (maPresSettings.mbMouseAsPen));
// Adding button to displau if in Erase Mode
pMenu->EnableItem( CM_ERASE_MODE, (maPresSettings.mbMouseAsPen));
-#endif
+#endif
const ShowWindowMode eMode = mpShowWindow->GetShowWindowMode();
pMenu->EnableItem( CM_NEXT_SLIDE, ( mpSlideController->getNextSlideIndex() != -1 ) );
@@ -2281,7 +2281,7 @@ IMPL_LINK( SlideshowImpl, ContextMenuHdl, void*, EMPTYARG )
#ifdef ENABLE_PRESENTER_EXTRA_UI
PopupMenu* pWidthMenu = pMenu->GetPopupMenu( CM_WIDTH_PEN);
-
+
// populate color width list
if( pWidthMenu )
{
@@ -2293,7 +2293,7 @@ IMPL_LINK( SlideshowImpl, ContextMenuHdl, void*, EMPTYARG )
{
sal_Int32 nIterator;
double nWidth;
-
+
nWidth = 4.0;
for( nIterator = 1; nIterator < 6; nIterator++)
{
@@ -2317,18 +2317,18 @@ IMPL_LINK( SlideshowImpl, ContextMenuHdl, void*, EMPTYARG )
default:
break;
}
-
+
pWidthMenu->EnableItem( (USHORT)(CM_WIDTH_PEN + nIterator), TRUE);
if( nWidth == mdUserPaintStrokeWidth)
pWidthMenu->CheckItem( (USHORT)(CM_WIDTH_PEN + nIterator) );
-
+
}
}
}
PopupMenu* pEraseWidthMenu = pMenu->GetPopupMenu( CM_ERASE_INK_PEN);
-
+
// populate eraser width list
if( pEraseWidthMenu )
{
@@ -2340,7 +2340,7 @@ IMPL_LINK( SlideshowImpl, ContextMenuHdl, void*, EMPTYARG )
{
sal_Int32 nEIterator;
double nEWidth;
-
+
nEWidth = 100.0;
for( nEIterator = 1; nEIterator < 6; nEIterator++)
{
@@ -2364,15 +2364,15 @@ IMPL_LINK( SlideshowImpl, ContextMenuHdl, void*, EMPTYARG )
default:
break;
}
-
+
pEraseWidthMenu->EnableItem( (USHORT)(CM_ERASE_INK_PEN + nEIterator), TRUE);
if( nEWidth == mnEraseInkSize)
pEraseWidthMenu->CheckItem( (USHORT)(CM_ERASE_INK_PEN + nEIterator) );
if( mbSwitchPenMode )
- pMenu->CheckItem( (USHORT)(CM_PEN_MODE));
+ pMenu->CheckItem( (USHORT)(CM_PEN_MODE));
if( mbSwitchEraserMode )
- pMenu->CheckItem( (USHORT)(CM_ERASE_MODE));
-
+ pMenu->CheckItem( (USHORT)(CM_ERASE_MODE));
+
}
}
}
@@ -2449,7 +2449,7 @@ IMPL_LINK( SlideshowImpl, ContextMenuSelectHdl, Menu *, pMenu )
::Color aColor( mnUserPaintColor );
SvColorDialog aColorDlg( mpShowWindow);
aColorDlg.SetColor( aColor );
-
+
if (aColorDlg.Execute() )
{
aColor = aColorDlg.GetColor();
@@ -2459,45 +2459,45 @@ IMPL_LINK( SlideshowImpl, ContextMenuSelectHdl, Menu *, pMenu )
mbWasPaused = false;
}
break;
-
+
case CM_WIDTH_PEN_VERY_THIN:
{
setPenWidth(4.0);
mbWasPaused = false;
}
break;
-
+
case CM_WIDTH_PEN_THIN:
{
setPenWidth(100.0);
mbWasPaused = false;
}
break;
-
+
case CM_WIDTH_PEN_NORMAL:
{
setPenWidth(150.0);
mbWasPaused = false;
}
break;
-
+
case CM_WIDTH_PEN_THICK:
{
setPenWidth(200.0);
mbWasPaused = false;
}
break;
-
+
case CM_WIDTH_PEN_VERY_THICK:
{
setPenWidth(400.0);
mbWasPaused = false;
}
- break;
+ break;
case CM_ERASE_ALLINK:
{
setEraseAllInk(true);
- mbWasPaused = false;
+ mbWasPaused = false;
}
break;
case CM_PEN_MODE:
@@ -2518,7 +2518,7 @@ IMPL_LINK( SlideshowImpl, ContextMenuSelectHdl, Menu *, pMenu )
mbWasPaused = false;
}
break;
-
+
case CM_ERASE_INK_PEN_THIN:
{
setEraseInk(200);
@@ -2532,7 +2532,7 @@ IMPL_LINK( SlideshowImpl, ContextMenuSelectHdl, Menu *, pMenu )
mbWasPaused = false;
}
break;
-
+
case CM_ERASE_INK_PEN_THICK:
{
setEraseInk(400);
@@ -2544,7 +2544,7 @@ IMPL_LINK( SlideshowImpl, ContextMenuSelectHdl, Menu *, pMenu )
setEraseInk(500);
mbWasPaused = false;
}
- break;
+ break;
}
#endif
@@ -2575,7 +2575,7 @@ IMPL_LINK( SlideshowImpl, ContextMenuSelectHdl, Menu *, pMenu )
break;
}
}
-
+
return 0;
}
@@ -2587,11 +2587,11 @@ Reference< XSlideShow > SlideshowImpl::createSlideShow() const
try
{
- Reference< lang::XMultiServiceFactory > xFactory(
+ Reference< lang::XMultiServiceFactory > xFactory(
::comphelper::getProcessServiceFactory(),
UNO_QUERY_THROW );
- Reference< XInterface > xInt( xFactory->createInstance(
+ Reference< XInterface > xInt( xFactory->createInstance(
OUString(RTL_CONSTASCII_USTRINGPARAM("com.sun.star.presentation.SlideShow")) ) );
xShow.set( xInt, UNO_QUERY_THROW );
@@ -2618,7 +2618,7 @@ void SlideshowImpl::createSlideList( bool bAll, bool bStartWithActualSlide, cons
if( nSlideCount )
{
- SdCustomShow* pCustomShow;
+ SdCustomShow* pCustomShow;
if( !bStartWithActualSlide && mpDoc->GetCustomShowList() && maPresSettings.mbCustomShow )
pCustomShow = (SdCustomShow*) mpDoc->GetCustomShowList()->GetCurObject();
@@ -2626,7 +2626,7 @@ void SlideshowImpl::createSlideList( bool bAll, bool bStartWithActualSlide, cons
pCustomShow = NULL;
// create animation slide controller
- AnimationSlideController::Mode eMode =
+ AnimationSlideController::Mode eMode =
( pCustomShow && pCustomShow->Count() ) ? AnimationSlideController::CUSTOM :
(bAll ? AnimationSlideController::ALL : AnimationSlideController::FROM);
@@ -2810,7 +2810,7 @@ void SlideshowImpl::resize( const Size& rSize )
// to the (preview) window; the ToTop() seems not to be necessary at
// least for the preview).
// if( !aOldSize.Width() && !aOldSize.Height() )
-// mpShowWindow->ToTop();
+// mpShowWindow->ToTop();
}
if( mxView.is() ) try
@@ -2854,7 +2854,7 @@ void SlideshowImpl::setActiveXToolbarsVisible( sal_Bool bVisible )
>>= xLayoutManager )
&& xLayoutManager.is() )
{
- xLayoutManager->setVisible( bVisible );
+ xLayoutManager->setVisible( bVisible );
}
}
catch( uno::Exception& )
@@ -2953,7 +2953,7 @@ sal_Bool SAL_CALL SlideshowImpl::isActive() throw (RuntimeException)
void SlideshowImpl::receiveRequest(SfxRequest& rReq)
{
- const SfxItemSet* pArgs = rReq.GetArgs();
+ const SfxItemSet* pArgs = rReq.GetArgs();
switch ( rReq.GetSlot() )
{
@@ -2963,14 +2963,14 @@ void SlideshowImpl::receiveRequest(SfxRequest& rReq)
case SID_NAVIGATOR_PAGE:
{
- PageJump eJump = (PageJump)((SfxAllEnumItem&) pArgs->Get(SID_NAVIGATOR_PAGE)).GetValue();
+ PageJump eJump = (PageJump)((SfxAllEnumItem&) pArgs->Get(SID_NAVIGATOR_PAGE)).GetValue();
switch( eJump )
{
- case PAGE_FIRST: gotoFirstSlide(); break;
- case PAGE_LAST: gotoLastSlide(); break;
- case PAGE_NEXT: gotoNextSlide(); break;
- case PAGE_PREVIOUS: gotoPreviousSlide(); break;
- case PAGE_NONE: break;
+ case PAGE_FIRST: gotoFirstSlide(); break;
+ case PAGE_LAST: gotoLastSlide(); break;
+ case PAGE_NEXT: gotoNextSlide(); break;
+ case PAGE_PREVIOUS: gotoPreviousSlide(); break;
+ case PAGE_NONE: break;
}
}
break;
@@ -2981,7 +2981,7 @@ void SlideshowImpl::receiveRequest(SfxRequest& rReq)
// is the bookmark a Slide?
BOOL bIsMasterPage;
- USHORT nPgNum = mpDoc->GetPageByName( aTarget, bIsMasterPage );
+ USHORT nPgNum = mpDoc->GetPageByName( aTarget, bIsMasterPage );
SdrObject* pObj = NULL;
if( nPgNum == SDRPAGE_NOTFOUND )
@@ -3017,7 +3017,7 @@ void SlideshowImpl::setAutoSaveState( bool bOn)
util::URL aURL;
aURL.Complete = OUString::createFromAscii("vnd.sun.star.autorecovery:/setAutoSaveState");
xParser->parseStrict(aURL);
-
+
Sequence< beans::PropertyValue > aArgs(1);
aArgs[0].Name = OUString::createFromAscii("AutoSaveState");
aArgs[0].Value <<= bOn ? sal_True : sal_False;
@@ -3088,7 +3088,7 @@ Reference< XDrawPage > SAL_CALL SlideshowImpl::getSlideByIndex(::sal_Int32 Index
{
if( (mpSlideController.get() == 0 ) || (Index < 0) || (Index >= mpSlideController->getSlideIndexCount() ) )
throw IndexOutOfBoundsException();
-
+
return mpSlideController->getSlideByNumber( mpSlideController->getSlideNumber( Index ) );
}
@@ -3169,11 +3169,11 @@ void SAL_CALL SlideshowImpl::setUsePen( sal_Bool bMouseAsPen ) throw (RuntimeExc
Any aValueWidth;
if( maPresSettings.mbMouseAsPen )
aValueWidth <<= mdUserPaintStrokeWidth;
-
+
beans::PropertyValue aPenPropWidth;
aPenPropWidth.Name = OUString( RTL_CONSTASCII_USTRINGPARAM( "UserPaintStrokeWidth" ));
aPenPropWidth.Value = aValueWidth;
-
+
mxShow->setProperty( aPenPropWidth );
// for Pen Mode
@@ -3182,7 +3182,7 @@ void SAL_CALL SlideshowImpl::setUsePen( sal_Bool bMouseAsPen ) throw (RuntimeExc
aValueSwitchPenMode <<= mbSwitchPenMode;
beans::PropertyValue aPenPropSwitchPenMode;
aPenPropSwitchPenMode.Name = OUString( RTL_CONSTASCII_USTRINGPARAM( "SwitchPenMode" ));
- aPenPropSwitchPenMode.Value = aValueSwitchPenMode;
+ aPenPropSwitchPenMode.Value = aValueSwitchPenMode;
mxShow->setProperty( aPenPropSwitchPenMode );
//for EraseAllInk :
@@ -3231,7 +3231,7 @@ void SAL_CALL SlideshowImpl::setUseEraser( sal_Bool bMouseAsPen ) throw (Runtime
aValueSwitchEraserMode <<= mbSwitchEraserMode;
beans::PropertyValue aPenPropSwitchEraserMode;
aPenPropSwitchEraserMode.Name = OUString( RTL_CONSTASCII_USTRINGPARAM( "SwitchEraserMode" ));
- aPenPropSwitchEraserMode.Value = aValueSwitchEraserMode;
+ aPenPropSwitchEraserMode.Value = aValueSwitchEraserMode;
mxShow->setProperty( aPenPropSwitchEraserMode );
}
catch( Exception& e )
@@ -3267,7 +3267,7 @@ void SAL_CALL SlideshowImpl::setPenWidth( double dStrokeWidth ) throw (RuntimeEx
}
#endif
// --------------------------------------------------------------------
-
+
sal_Int32 SAL_CALL SlideshowImpl::getPenColor() throw (RuntimeException)
{
SolarMutexGuard aSolarGuard;
@@ -3295,7 +3295,7 @@ void SAL_CALL SlideshowImpl::setPenMode( bool bSwitchPenMode ) throw (RuntimeExc
{
SolarMutexGuard aSolarGuard;
mbSwitchPenMode = bSwitchPenMode;
-
+
if(mbSwitchPenMode == true){
mbSwitchEraserMode = false;
}else{
@@ -3303,13 +3303,13 @@ void SAL_CALL SlideshowImpl::setPenMode( bool bSwitchPenMode ) throw (RuntimeExc
}
if( maPresSettings.mbMouseAsPen )
setUsePen( sal_True ); // Switch to Pen Mode
-
+
}
void SAL_CALL SlideshowImpl::setEraserMode(bool bSwitchEraserMode ) throw (RuntimeException)
{
SolarMutexGuard aSolarGuard;
- mbSwitchEraserMode = bSwitchEraserMode;
+ mbSwitchEraserMode = bSwitchEraserMode;
if(mbSwitchEraserMode = true){
mbSwitchPenMode = false;
}else{
@@ -3318,7 +3318,7 @@ void SAL_CALL SlideshowImpl::setEraserMode(bool bSwitchEraserMode ) throw (Runti
if( maPresSettings.mbMouseAsPen )
setUseEraser( sal_True ); // Switch to EraseMode
-
+
}
@@ -3334,14 +3334,14 @@ void SAL_CALL SlideshowImpl::setEraseAllInk( bool bEraseAllInk ) throw (RuntimeE
setUsePen( sal_True ); // update erase all ink bool
}
-
+
void SAL_CALL SlideshowImpl::setEraseInk( sal_Int32 nEraseInkSize ) throw (RuntimeException)
{
SolarMutexGuard aSolarGuard;
mnEraseInkSize=nEraseInkSize;
mbSwitchPenMode = false;
mbSwitchEraserMode = true;
- if( maPresSettings.mbMouseAsPen )
+ if( maPresSettings.mbMouseAsPen )
setUseEraser( sal_True ); // update erase ink size
}
#endif
@@ -3696,7 +3696,7 @@ Reference< XSlideShow > SAL_CALL SlideshowImpl::getSlideShow() throw (RuntimeExc
}
// --------------------------------------------------------------------
-
+
PresentationSettingsEx::PresentationSettingsEx( const PresentationSettingsEx& r )
: PresentationSettings( r )
diff --git a/sd/source/ui/slideshow/slideshowimpl.hxx b/sd/source/ui/slideshow/slideshowimpl.hxx
index 786f09bdf849..d60d747b05d2 100644
--- a/sd/source/ui/slideshow/slideshowimpl.hxx
+++ b/sd/source/ui/slideshow/slideshowimpl.hxx
@@ -2,7 +2,7 @@
/*************************************************************************
*
* 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
@@ -358,54 +358,54 @@ private:
SfxItemSet* mpNewAttr;
::Window* mpParentWindow;
- ShowWindow* mpShowWindow;
- PushButton* mpTimeButton;
+ ShowWindow* mpShowWindow;
+ PushButton* mpTimeButton;
boost::shared_ptr< AnimationSlideController > mpSlideController;
- long mnRestoreSlide;
- Point maSlideOrigin;
- Point maPopupMousePos;
- Size maSlideSize;
- Size maPresSize;
+ long mnRestoreSlide;
+ Point maSlideOrigin;
+ Point maPopupMousePos;
+ Size maSlideSize;
+ Size maPresSize;
AnimationMode meAnimationMode;
- String maCharBuffer;
- Pointer maOldPointer;
- Pointer maPencil;
+ String maCharBuffer;
+ Pointer maOldPointer;
+ Pointer maPencil;
std::vector< ::sd::Window* > maDrawModeWindows;
- ::sd::Window* mpOldActiveWindow;
- Link maStarBASICGlobalErrorHdl;
- unsigned long mnChildMask;
- bool mbGridVisible;
+ ::sd::Window* mpOldActiveWindow;
+ Link maStarBASICGlobalErrorHdl;
+ unsigned long mnChildMask;
+ bool mbGridVisible;
bool mbBordVisible;
bool mbSlideBorderVisible;
bool mbSetOnlineSpelling;
- bool mbDisposed;
- bool mbMouseIsDrawing;
- bool mbAutoSaveWasOn;
- bool mbRehearseTimings;
- bool mbDesignMode;
- bool mbIsPaused;
- bool mbWasPaused; // used to cache pause state during context menu
- bool mbInputFreeze;
- sal_Bool mbActive;
+ bool mbDisposed;
+ bool mbMouseIsDrawing;
+ bool mbAutoSaveWasOn;
+ bool mbRehearseTimings;
+ bool mbDesignMode;
+ bool mbIsPaused;
+ bool mbWasPaused; // used to cache pause state during context menu
+ bool mbInputFreeze;
+ sal_Bool mbActive;
PresentationSettings maPresSettings;
- sal_Int32 mnUserPaintColor;
+ sal_Int32 mnUserPaintColor;
#ifdef ENABLE_PRESENTER_EXTRA_UI
- bool mbSwitchPenMode;
- bool mbSwitchEraserMode;
- double mdUserPaintStrokeWidth;
- bool mbEraseAllInk;
-// bool mbEraseInk;
- sal_Int32 mnEraseInkSize;
+ bool mbSwitchPenMode;
+ bool mbSwitchEraserMode;
+ double mdUserPaintStrokeWidth;
+ bool mbEraseAllInk;
+// bool mbEraseInk;
+ sal_Int32 mnEraseInkSize;
#endif
/// used in updateHdl to prevent recursive calls
- sal_Int32 mnEntryCounter;
+ sal_Int32 mnEntryCounter;
- sal_Int32 mnLastSlideNumber;
- WrappedShapeEventImplMap maShapeEventMap;
+ sal_Int32 mnLastSlideNumber;
+ WrappedShapeEventImplMap maShapeEventMap;
::rtl::OUString msOnClick;
::rtl::OUString msBookmark;
@@ -418,8 +418,8 @@ private:
::std::auto_ptr<PaneHider> mpPaneHider;
- ULONG mnEndShowEvent;
- ULONG mnContextMenuEvent;
+ ULONG mnEndShowEvent;
+ ULONG mnContextMenuEvent;
sal_Int32 mnUpdateEvent;
css::uno::Reference< css::presentation::XPresentation2 > mxPresentation;
diff --git a/sd/source/ui/slideshow/slideshowviewimpl.cxx b/sd/source/ui/slideshow/slideshowviewimpl.cxx
index 0d0673d84414..fa293b2a7a98 100644
--- a/sd/source/ui/slideshow/slideshowviewimpl.cxx
+++ b/sd/source/ui/slideshow/slideshowviewimpl.cxx
@@ -2,7 +2,7 @@
/*************************************************************************
*
* 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
@@ -63,11 +63,11 @@ namespace sd
{
///////////////////////////////////////////////////////////////////////
-// SlideShowViewListeners
+// SlideShowViewListeners
///////////////////////////////////////////////////////////////////////
SlideShowViewListeners::SlideShowViewListeners( ::osl::Mutex& rMutex )
-: mrMutex( rMutex )
+: mrMutex( rMutex )
{
}
@@ -127,23 +127,23 @@ void SlideShowViewListeners::disposing( const lang::EventObject& _rEventSource )
}
///////////////////////////////////////////////////////////////////////
-// SlideShowViewPaintListeners
+// SlideShowViewPaintListeners
///////////////////////////////////////////////////////////////////////
SlideShowViewPaintListeners::SlideShowViewPaintListeners( ::osl::Mutex& rMutex )
-: SlideShowViewPaintListeners_Base( rMutex )
+: SlideShowViewPaintListeners_Base( rMutex )
{
}
bool SlideShowViewPaintListeners::implTypedNotify( const Reference< awt::XPaintListener >& rListener,
- const awt::PaintEvent& rEvent ) throw( uno::Exception )
+ const awt::PaintEvent& rEvent ) throw( uno::Exception )
{
rListener->windowPaint( rEvent );
return true; // continue calling listeners
}
///////////////////////////////////////////////////////////////////////
-// SlideShowViewMouseListeners
+// SlideShowViewMouseListeners
///////////////////////////////////////////////////////////////////////
SlideShowViewMouseListeners::SlideShowViewMouseListeners( ::osl::Mutex& rMutex ) :
@@ -151,8 +151,8 @@ SlideShowViewMouseListeners::SlideShowViewMouseListeners( ::osl::Mutex& rMutex )
{
}
-bool SlideShowViewMouseListeners::implTypedNotify( const Reference< awt::XMouseListener >& rListener,
- const WrappedMouseEvent& rEvent ) throw( uno::Exception )
+bool SlideShowViewMouseListeners::implTypedNotify( const Reference< awt::XMouseListener >& rListener,
+ const WrappedMouseEvent& rEvent ) throw( uno::Exception )
{
switch( rEvent.meType )
{
@@ -177,7 +177,7 @@ bool SlideShowViewMouseListeners::implTypedNotify( const Reference< awt::XMouseL
}
///////////////////////////////////////////////////////////////////////
-// SlideShowViewMouseMotionListeners
+// SlideShowViewMouseMotionListeners
///////////////////////////////////////////////////////////////////////
SlideShowViewMouseMotionListeners::SlideShowViewMouseMotionListeners( ::osl::Mutex& rMutex ) :
@@ -185,15 +185,15 @@ SlideShowViewMouseMotionListeners::SlideShowViewMouseMotionListeners( ::osl::Mut
{
}
-bool SlideShowViewMouseMotionListeners::implTypedNotify( const Reference< awt::XMouseMotionListener >& rListener,
- const WrappedMouseMotionEvent& rEvent ) throw( uno::Exception )
+bool SlideShowViewMouseMotionListeners::implTypedNotify( const Reference< awt::XMouseMotionListener >& rListener,
+ const WrappedMouseMotionEvent& rEvent ) throw( uno::Exception )
{
switch( rEvent.meType )
{
case WrappedMouseMotionEvent::DRAGGED:
rListener->mouseDragged( rEvent.maEvent );
break;
-
+
case WrappedMouseMotionEvent::MOVED:
rListener->mouseMoved( rEvent.maEvent );
break;
@@ -206,12 +206,12 @@ bool SlideShowViewMouseMotionListeners::implTypedNotify( const Reference< awt::X
// SlideShowView
///////////////////////////////////////////////////////////////////////
-SlideShowView::SlideShowView( ShowWindow& rOutputWindow,
- SdDrawDocument* pDoc,
- AnimationMode eAnimationMode,
+SlideShowView::SlideShowView( ShowWindow& rOutputWindow,
+ SdDrawDocument* pDoc,
+ AnimationMode eAnimationMode,
SlideshowImpl* pSlideShow,
bool bFullScreen )
-: SlideShowView_Base( m_aMutex ),
+: SlideShowView_Base( m_aMutex ),
mpCanvas( ::cppcanvas::VCLFactory::getInstance().createSpriteCanvas( rOutputWindow ) ),
mxWindow( VCLUnoHelper::GetInterface( &rOutputWindow ), uno::UNO_QUERY_THROW ),
mxWindowPeer( mxWindow, uno::UNO_QUERY_THROW ),
@@ -331,7 +331,7 @@ void SAL_CALL SlideShowView::clear() throw (::com::sun::star::uno::RuntimeExcept
::basegfx::B2DRectangle(0.0,0.0,
aWindowSize.Width(),
aWindowSize.Height() ) ) );
- ::cppcanvas::PolyPolygonSharedPtr pPolyPoly(
+ ::cppcanvas::PolyPolygonSharedPtr pPolyPoly(
::cppcanvas::BaseGfxFactory::getInstance().createPolyPolygon( mpCanvas, aPoly ) );
if( pPolyPoly.get() )
@@ -352,11 +352,11 @@ geometry::AffineMatrix2D SAL_CALL SlideShowView::getTransformation( ) throw (Ru
{
return geometry::AffineMatrix2D (1,0,0,0,1,0);
}
-
+
// Reduce available width by one, as the slides might actually
// render one pixel wider and higher as aPageSize below specifies
// (when shapes of page size have visible border lines)
- const Size aWindowSize( rTmpSize.Width()-1,
+ const Size aWindowSize( rTmpSize.Width()-1,
rTmpSize.Height()-1 );
Size aOutputSize( aWindowSize );
@@ -683,7 +683,7 @@ void SlideShowView::init()
{
Reference< beans::XPropertySet > xCanvasProps( getCanvas(),
uno::UNO_QUERY_THROW );
- xCanvasProps->setPropertyValue(
+ xCanvasProps->setPropertyValue(
::rtl::OUString(RTL_CONSTASCII_USTRINGPARAM("UnsafeScrolling")),
uno::makeAny( true ) );
}
diff --git a/sd/source/ui/slideshow/slideshowviewimpl.hxx b/sd/source/ui/slideshow/slideshowviewimpl.hxx
index 8028d9928149..ab0d51cf21e1 100644
--- a/sd/source/ui/slideshow/slideshowviewimpl.hxx
+++ b/sd/source/ui/slideshow/slideshowviewimpl.hxx
@@ -2,7 +2,7 @@
/*************************************************************************
*
* 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
@@ -92,8 +92,8 @@ struct WrappedMouseEvent : public ::com::sun::star::lang::EventObject
EXITED
};
- EventType meType;
- ::com::sun::star::awt::MouseEvent maEvent;
+ EventType meType;
+ ::com::sun::star::awt::MouseEvent maEvent;
};
struct WrappedMouseMotionEvent : public ::com::sun::star::lang::EventObject
@@ -104,8 +104,8 @@ struct WrappedMouseMotionEvent : public ::com::sun::star::lang::EventObject
MOVED
};
- EventType meType;
- ::com::sun::star::awt::MouseEvent maEvent;
+ EventType meType;
+ ::com::sun::star::awt::MouseEvent maEvent;
};
///////////////////////////////////////////////////////////////////////
@@ -128,14 +128,14 @@ protected:
::osl::Mutex& mrMutex;
};
-typedef ::std::auto_ptr< SlideShowViewListeners > SlideShowViewListenersPtr;
+typedef ::std::auto_ptr< SlideShowViewListeners > SlideShowViewListenersPtr;
///////////////////////////////////////////////////////////////////////
// SlideShowViewPaintListeners
///////////////////////////////////////////////////////////////////////
typedef ::comphelper::OListenerContainerBase< ::com::sun::star::awt::XPaintListener,
- ::com::sun::star::awt::PaintEvent > SlideShowViewPaintListeners_Base;
+ ::com::sun::star::awt::PaintEvent > SlideShowViewPaintListeners_Base;
class SlideShowViewPaintListeners : public SlideShowViewPaintListeners_Base
{
@@ -145,7 +145,7 @@ public:
protected:
virtual bool implTypedNotify( const ::com::sun::star::uno::Reference< ::com::sun::star::awt::XPaintListener >& rListener, const ::com::sun::star::awt::PaintEvent& rEvent ) throw( ::com::sun::star::uno::Exception );
};
-typedef ::std::auto_ptr< SlideShowViewPaintListeners > SlideShowViewPaintListenersPtr;
+typedef ::std::auto_ptr< SlideShowViewPaintListeners > SlideShowViewPaintListenersPtr;
///////////////////////////////////////////////////////////////////////
// SlideShowViewMouseListeners
@@ -159,11 +159,11 @@ public:
SlideShowViewMouseListeners( ::osl::Mutex& rMutex );
protected:
- virtual bool implTypedNotify( const ::com::sun::star::uno::Reference< ::com::sun::star::awt::XMouseListener >& rListener,
- const WrappedMouseEvent& rEvent ) throw( ::com::sun::star::uno::Exception );
+ virtual bool implTypedNotify( const ::com::sun::star::uno::Reference< ::com::sun::star::awt::XMouseListener >& rListener,
+ const WrappedMouseEvent& rEvent ) throw( ::com::sun::star::uno::Exception );
};
-typedef ::std::auto_ptr< SlideShowViewMouseListeners > SlideShowViewMouseListenersPtr;
+typedef ::std::auto_ptr< SlideShowViewMouseListeners > SlideShowViewMouseListenersPtr;
///////////////////////////////////////////////////////////////////////
@@ -179,10 +179,10 @@ public:
SlideShowViewMouseMotionListeners( ::osl::Mutex& rMutex );
protected:
- virtual bool implTypedNotify( const ::com::sun::star::uno::Reference< ::com::sun::star::awt::XMouseMotionListener >& rListener,
- const WrappedMouseMotionEvent& rEvent ) throw( ::com::sun::star::uno::Exception );
+ virtual bool implTypedNotify( const ::com::sun::star::uno::Reference< ::com::sun::star::awt::XMouseMotionListener >& rListener,
+ const WrappedMouseMotionEvent& rEvent ) throw( ::com::sun::star::uno::Exception );
};
-typedef ::std::auto_ptr< SlideShowViewMouseMotionListeners > SlideShowViewMouseMotionListenersPtr;
+typedef ::std::auto_ptr< SlideShowViewMouseMotionListeners > SlideShowViewMouseMotionListenersPtr;
///////////////////////////////////////////////////////////////////////
@@ -258,23 +258,23 @@ private:
void updateimpl( ::osl::ClearableMutexGuard& rGuard, SlideshowImpl* pSlideShow );
- ::cppcanvas::SpriteCanvasSharedPtr mpCanvas;
- ::com::sun::star::uno::Reference< ::com::sun::star::awt::XWindow > mxWindow;
- ::com::sun::star::uno::Reference< ::com::sun::star::awt::XWindowPeer > mxWindowPeer;
- ::com::sun::star::uno::Reference< ::com::sun::star::awt::XPointer > mxPointer;
- SlideshowImpl* mpSlideShow;
- ShowWindow& mrOutputWindow;
- SlideShowViewListenersPtr mpViewListeners;
- SlideShowViewPaintListenersPtr mpPaintListeners;
- SlideShowViewMouseListenersPtr mpMouseListeners;
- SlideShowViewMouseMotionListenersPtr mpMouseMotionListeners;
- SdDrawDocument* mpDoc;
- bool mbIsMouseMotionListener;
- Rectangle maPresentationArea;
- AnimationMode meAnimationMode;
- bool mbFirstPaint;
+ ::cppcanvas::SpriteCanvasSharedPtr mpCanvas;
+ ::com::sun::star::uno::Reference< ::com::sun::star::awt::XWindow > mxWindow;
+ ::com::sun::star::uno::Reference< ::com::sun::star::awt::XWindowPeer > mxWindowPeer;
+ ::com::sun::star::uno::Reference< ::com::sun::star::awt::XPointer > mxPointer;
+ SlideshowImpl* mpSlideShow;
+ ShowWindow& mrOutputWindow;
+ SlideShowViewListenersPtr mpViewListeners;
+ SlideShowViewPaintListenersPtr mpPaintListeners;
+ SlideShowViewMouseListenersPtr mpMouseListeners;
+ SlideShowViewMouseMotionListenersPtr mpMouseMotionListeners;
+ SdDrawDocument* mpDoc;
+ bool mbIsMouseMotionListener;
+ Rectangle maPresentationArea;
+ AnimationMode meAnimationMode;
+ bool mbFirstPaint;
bool mbFullScreen;
- bool mbMousePressedEaten;
+ bool mbMousePressedEaten;
};
diff --git a/sd/source/ui/slidesorter/cache/SlsBitmapCache.cxx b/sd/source/ui/slidesorter/cache/SlsBitmapCache.cxx
index 9791ce43f8b4..fdf1aaf101d3 100644
--- a/sd/source/ui/slidesorter/cache/SlsBitmapCache.cxx
+++ b/sd/source/ui/slidesorter/cache/SlsBitmapCache.cxx
@@ -2,7 +2,7 @@
/*************************************************************************
*
* 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
@@ -94,8 +94,8 @@ class CacheEntry;
class CacheHash {
public:
- size_t operator()(const BitmapCache::CacheKey& p) const
- { return (size_t)p; }
+ size_t operator()(const BitmapCache::CacheKey& p) const
+ { return (size_t)p; }
};
class BitmapCache::CacheBitmapContainer
@@ -296,7 +296,7 @@ void BitmapCache::InvalidateCache (void)
void BitmapCache::SetBitmap (
- const CacheKey& rKey,
+ const CacheKey& rKey,
const ::boost::shared_ptr<BitmapEx>& rpPreview,
bool bIsPrecious)
{
@@ -318,7 +318,7 @@ void BitmapCache::SetBitmap (
CacheEntry (rpPreview, mnCurrentAccessTime++, bIsPrecious))
).first;
}
-
+
if (iEntry != mpBitmapContainer->end())
UpdateCacheSize(iEntry->second, ADD);
}
@@ -428,7 +428,7 @@ void BitmapCache::Recycle (const BitmapCache& rCache)
if ( ! bIncludeNoPreview && ! iEntry->second.HasPreview())
continue;
-
+
aSortedContainer.push_back(SortableBitmapContainer::value_type(
iEntry->first,iEntry->second));
}
@@ -477,7 +477,7 @@ void BitmapCache::UpdateCacheSize (const CacheEntry& rEntry, CacheOperation eOpe
if ( ! rEntry.IsPrecious() && mnNormalCacheSize>mnMaximalNormalCacheSize)
{
mbIsFull = true;
-#ifdef VERBOSE
+#ifdef VERBOSE
OSL_TRACE("cache size is %d > %d", mnNormalCacheSize,mnMaximalNormalCacheSize);
#endif
mpCacheCompactor->RequestCompaction();
@@ -489,7 +489,7 @@ void BitmapCache::UpdateCacheSize (const CacheEntry& rEntry, CacheOperation eOpe
if (mnNormalCacheSize < mnMaximalNormalCacheSize)
mbIsFull = false;
break;
-
+
default:
OSL_ASSERT(false);
break;
@@ -515,10 +515,10 @@ BitmapCache::CacheEntry::CacheEntry(
BitmapCache::CacheEntry::CacheEntry(
- const ::boost::shared_ptr<BitmapEx>& rpPreview,
+ const ::boost::shared_ptr<BitmapEx>& rpPreview,
sal_Int32 nLastAccessTime,
bool bIsPrecious)
- : mpPreview(rpPreview),
+ : mpPreview(rpPreview),
mbIsUpToDate(true),
mnLastAccessTime(nLastAccessTime),
mbIsPrecious(bIsPrecious)
@@ -577,7 +577,7 @@ void BitmapCache::CacheEntry::Compress (const ::boost::shared_ptr<BitmapCompress
nNewSize,
nRatio);
#endif
-
+
mpCompressor = rpCompressor;
}
diff --git a/sd/source/ui/slidesorter/cache/SlsBitmapCache.hxx b/sd/source/ui/slidesorter/cache/SlsBitmapCache.hxx
index 00783cea7209..bedf563c7b91 100644
--- a/sd/source/ui/slidesorter/cache/SlsBitmapCache.hxx
+++ b/sd/source/ui/slidesorter/cache/SlsBitmapCache.hxx
@@ -2,7 +2,7 @@
/*************************************************************************
*
* 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
@@ -117,7 +117,7 @@ public:
*/
void SetBitmap (
const CacheKey& rKey,
- const ::boost::shared_ptr<BitmapEx>& rpPreview,
+ const ::boost::shared_ptr<BitmapEx>& rpPreview,
bool bIsPrecious);
/** Mark the specified preview bitmap as precious, i.e. that it must not
@@ -130,7 +130,7 @@ public:
bitmaps.
*/
void ReCalculateTotalCacheSize (void);
-
+
/** Use the previews in the given cache to initialize missing previews.
*/
void Recycle (const BitmapCache& rCache);
@@ -196,7 +196,7 @@ private:
size to the allowed value.
*/
bool mbIsFull;
-
+
/** Update mnNormalCacheSize or mnPreciousCacheSize according to the
precious flag of the specified preview bitmap and the specified
operation.
diff --git a/sd/source/ui/slidesorter/cache/SlsBitmapCompressor.cxx b/sd/source/ui/slidesorter/cache/SlsBitmapCompressor.cxx
index 06effadf2bcf..1ee3d50b1512 100644
--- a/sd/source/ui/slidesorter/cache/SlsBitmapCompressor.cxx
+++ b/sd/source/ui/slidesorter/cache/SlsBitmapCompressor.cxx
@@ -2,7 +2,7 @@
/*************************************************************************
*
* 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
@@ -133,7 +133,7 @@ public:
Size maOriginalSize;
virtual ~ResolutionReducedReplacement();
-
+
virtual sal_Int32 GetMemorySize (void) const;
};
@@ -172,7 +172,7 @@ sal_Int32 ResolutionReduction::ResolutionReducedReplacement::GetMemorySize (void
const BitmapReplacement& rBitmapData) const
{
::boost::shared_ptr<BitmapEx> pResult;
-
+
const ResolutionReducedReplacement* pData (
dynamic_cast<const ResolutionReducedReplacement*>(&rBitmapData));
@@ -182,7 +182,7 @@ sal_Int32 ResolutionReduction::ResolutionReducedReplacement::GetMemorySize (void
if (pData->maOriginalSize.Width() > mnWidth)
pResult->Scale(pData->maOriginalSize);
}
-
+
return pResult;
}
diff --git a/sd/source/ui/slidesorter/cache/SlsBitmapCompressor.hxx b/sd/source/ui/slidesorter/cache/SlsBitmapCompressor.hxx
index cbfeff086260..af1b0a223d82 100644
--- a/sd/source/ui/slidesorter/cache/SlsBitmapCompressor.hxx
+++ b/sd/source/ui/slidesorter/cache/SlsBitmapCompressor.hxx
@@ -2,7 +2,7 @@
/*************************************************************************
*
* 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
diff --git a/sd/source/ui/slidesorter/cache/SlsBitmapFactory.cxx b/sd/source/ui/slidesorter/cache/SlsBitmapFactory.cxx
index cd656a7b589f..912a4ea102fc 100644
--- a/sd/source/ui/slidesorter/cache/SlsBitmapFactory.cxx
+++ b/sd/source/ui/slidesorter/cache/SlsBitmapFactory.cxx
@@ -2,7 +2,7 @@
/*************************************************************************
*
* 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
diff --git a/sd/source/ui/slidesorter/cache/SlsBitmapFactory.hxx b/sd/source/ui/slidesorter/cache/SlsBitmapFactory.hxx
index ff39fdc2675d..5073774155e2 100644
--- a/sd/source/ui/slidesorter/cache/SlsBitmapFactory.hxx
+++ b/sd/source/ui/slidesorter/cache/SlsBitmapFactory.hxx
@@ -2,7 +2,7 @@
/*************************************************************************
*
* 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
diff --git a/sd/source/ui/slidesorter/cache/SlsCacheCompactor.cxx b/sd/source/ui/slidesorter/cache/SlsCacheCompactor.cxx
index 4e48d5ac2510..2eb3d5495aa7 100644
--- a/sd/source/ui/slidesorter/cache/SlsCacheCompactor.cxx
+++ b/sd/source/ui/slidesorter/cache/SlsCacheCompactor.cxx
@@ -2,7 +2,7 @@
/*************************************************************************
*
* 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
@@ -109,7 +109,7 @@ namespace sd { namespace slidesorter { namespace cache {
static const ::rtl::OUString sErase (RTL_CONSTASCII_USTRINGPARAM("Erase"));
static const ::rtl::OUString sResolution (RTL_CONSTASCII_USTRINGPARAM("ResolutionReduction"));
static const ::rtl::OUString sPNGCompression (RTL_CONSTASCII_USTRINGPARAM("PNGCompression"));
-
+
::boost::shared_ptr<BitmapCompressor> pCompressor;
::rtl::OUString sCompressionPolicy(sPNGCompression);
Any aCompressionPolicy (CacheConfiguration::Instance()->GetValue(
@@ -124,7 +124,7 @@ namespace sd { namespace slidesorter { namespace cache {
pCompressor.reset(new ResolutionReduction());
else
pCompressor.reset(new PngCompression());
-
+
::std::auto_ptr<CacheCompactor> pCompactor (NULL);
::rtl::OUString sCompactionPolicy(sCompress);
Any aCompactionPolicy (CacheConfiguration::Instance()->GetValue(
@@ -169,14 +169,14 @@ CacheCompactor::CacheCompactor(
IMPL_LINK(CacheCompactor, CompactionCallback, Timer*, EMPTYARG)
{
mbIsCompactionRunning = true;
-
+
try
{
Run();
}
catch(::com::sun::star::uno::RuntimeException e) { }
catch(::com::sun::star::uno::Exception e) { }
-
+
mbIsCompactionRunning = false;
return 1;
}
diff --git a/sd/source/ui/slidesorter/cache/SlsCacheCompactor.hxx b/sd/source/ui/slidesorter/cache/SlsCacheCompactor.hxx
index 90a2932ad501..cd8067056005 100644
--- a/sd/source/ui/slidesorter/cache/SlsCacheCompactor.hxx
+++ b/sd/source/ui/slidesorter/cache/SlsCacheCompactor.hxx
@@ -2,7 +2,7 @@
/*************************************************************************
*
* 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
@@ -39,7 +39,7 @@ class BitmapCache;
class BitmapCompressor;
/** This is an interface class whose implementations are created via the
- Create() factory method.
+ Create() factory method.
*/
class CacheCompactor
{
@@ -70,7 +70,7 @@ public:
cache. This calls via a timer the Run() method.
*/
virtual void RequestCompaction (void);
-
+
protected:
BitmapCache& mrCache;
sal_Int32 mnMaximalCacheSize;
@@ -83,7 +83,7 @@ protected:
by the off-screen preview bitmaps.
*/
virtual void Run (void) = 0;
-
+
private:
/** This timer is used to collect calles to RequestCompaction() and
eventually call Run().
diff --git a/sd/source/ui/slidesorter/cache/SlsCacheConfiguration.cxx b/sd/source/ui/slidesorter/cache/SlsCacheConfiguration.cxx
index 092c69fcd08f..f1159b2811e3 100644
--- a/sd/source/ui/slidesorter/cache/SlsCacheConfiguration.cxx
+++ b/sd/source/ui/slidesorter/cache/SlsCacheConfiguration.cxx
@@ -2,7 +2,7 @@
/*************************************************************************
*
* 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
@@ -146,7 +146,7 @@ CacheConfiguration::CacheConfiguration (void)
Any CacheConfiguration::GetValue (const ::rtl::OUString& rName)
{
Any aResult;
-
+
if (mxCacheNode != NULL)
{
try
diff --git a/sd/source/ui/slidesorter/cache/SlsCacheConfiguration.hxx b/sd/source/ui/slidesorter/cache/SlsCacheConfiguration.hxx
index 00a7ad71bdca..27d788867378 100644
--- a/sd/source/ui/slidesorter/cache/SlsCacheConfiguration.hxx
+++ b/sd/source/ui/slidesorter/cache/SlsCacheConfiguration.hxx
@@ -2,7 +2,7 @@
/*************************************************************************
*
* 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
@@ -54,7 +54,7 @@ public:
does not exist then an empty Any is returned.
*/
::com::sun::star::uno::Any GetValue (const ::rtl::OUString& rName);
-
+
private:
static ::boost::shared_ptr<CacheConfiguration> mpInstance;
/** When a caller holds a reference after we have released ours we use
diff --git a/sd/source/ui/slidesorter/cache/SlsGenericPageCache.cxx b/sd/source/ui/slidesorter/cache/SlsGenericPageCache.cxx
index 48480d11bd80..ede73b79025b 100644
--- a/sd/source/ui/slidesorter/cache/SlsGenericPageCache.cxx
+++ b/sd/source/ui/slidesorter/cache/SlsGenericPageCache.cxx
@@ -2,7 +2,7 @@
/*************************************************************************
*
* 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
@@ -207,7 +207,7 @@ void GenericPageCache::ReleasePreviewBitmap (CacheKey aKey)
// Suspend the queue processing temporarily to avoid the reinsertion
// of the request that is to be deleted.
mpQueueProcessor->Stop();
-
+
maRequestQueue.RemoveRequest(aKey);
mpQueueProcessor->RemoveRequest(aKey);
diff --git a/sd/source/ui/slidesorter/cache/SlsGenericPageCache.hxx b/sd/source/ui/slidesorter/cache/SlsGenericPageCache.hxx
index 734b39a3a5a4..17074a0db6b0 100644
--- a/sd/source/ui/slidesorter/cache/SlsGenericPageCache.hxx
+++ b/sd/source/ui/slidesorter/cache/SlsGenericPageCache.hxx
@@ -2,7 +2,7 @@
/*************************************************************************
*
* 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
@@ -52,7 +52,7 @@ public:
GenericPageCache (
const Size& rPreviewSize,
const SharedCacheContext& rpCacheContext);
-
+
~GenericPageCache (void);
/** Change the size of the preview bitmaps. This may be caused by a
@@ -108,7 +108,7 @@ public:
/** Call this method when all preview bitmaps have to be generated anew.
This is the case when the size of the page objects on the screen has
- changed or when the model has changed.
+ changed or when the model has changed.
*/
void InvalidateCache (bool bUpdateCache);
@@ -130,7 +130,7 @@ private:
::boost::scoped_ptr<QueueProcessor> mpQueueProcessor;
SharedCacheContext mpCacheContext;
-
+
/** The current size of preview bitmaps.
*/
Size maPreviewSize;
diff --git a/sd/source/ui/slidesorter/cache/SlsPageCache.cxx b/sd/source/ui/slidesorter/cache/SlsPageCache.cxx
index 06bd132975e7..9558267ab7d0 100644
--- a/sd/source/ui/slidesorter/cache/SlsPageCache.cxx
+++ b/sd/source/ui/slidesorter/cache/SlsPageCache.cxx
@@ -2,7 +2,7 @@
/*************************************************************************
*
* 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
diff --git a/sd/source/ui/slidesorter/cache/SlsPageCacheManager.cxx b/sd/source/ui/slidesorter/cache/SlsPageCacheManager.cxx
index c62b4ea31a60..2fdf0bc7b117 100644
--- a/sd/source/ui/slidesorter/cache/SlsPageCacheManager.cxx
+++ b/sd/source/ui/slidesorter/cache/SlsPageCacheManager.cxx
@@ -2,7 +2,7 @@
/*************************************************************************
*
* 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
@@ -48,7 +48,7 @@ class CacheDescriptor
public:
::sd::slidesorter::cache::PageCacheManager::DocumentKey mpDocument;
Size maPreviewSize;
-
+
CacheDescriptor(
::sd::slidesorter::cache::PageCacheManager::DocumentKey pDocument,
const Size& rPreviewSize)
@@ -120,7 +120,7 @@ public:
return (rElement1.first.Width()*rElement1.first.Height()
> rElement2.first.Width()*rElement2.first.Height());
}
-
+
private:
Size maPreferredSize;
};
@@ -182,7 +182,7 @@ public:
::boost::shared_ptr<PageCacheManager> PageCacheManager::Instance (void)
{
::boost::shared_ptr<PageCacheManager> pInstance;
-
+
::osl::MutexGuard aGuard (::osl::Mutex::getGlobalMutex());
pInstance = mpInstance.lock();
@@ -193,7 +193,7 @@ public:
PageCacheManager::Deleter());
mpInstance = pInstance;
}
-
+
return pInstance;
}
@@ -241,7 +241,7 @@ PageCacheManager::~PageCacheManager (void)
// contain previews that are not up-to-date. Recycle previews from
// other caches to fill in the holes.
Recycle(pResult, pDocument,rPreviewSize);
-
+
// Put the new (or old) cache into the container.
if (pResult.get() != NULL)
mpPageCaches->insert(PageCacheContainer::value_type(aKey, pResult));
@@ -296,13 +296,13 @@ void PageCacheManager::ReleaseCache (const ::boost::shared_ptr<Cache>& rpCache)
mpPageCaches->begin(),
mpPageCaches->end(),
PageCacheContainer::CompareWithCache(rpCache)));
-
+
if (iCache != mpPageCaches->end())
{
OSL_ASSERT(iCache->second == rpCache);
PutRecentlyUsedCache(iCache->first.mpDocument,iCache->first.maPreviewSize,rpCache);
-
+
mpPageCaches->erase(iCache);
}
}
@@ -316,7 +316,7 @@ void PageCacheManager::ReleaseCache (const ::boost::shared_ptr<Cache>& rpCache)
const Size& rNewPreviewSize)
{
(void)rOldPreviewSize;
-
+
::boost::shared_ptr<Cache> pResult;
if (rpCache.get() != NULL)
@@ -400,7 +400,7 @@ void PageCacheManager::InvalidateAllCaches (void)
const Size& rPreviewSize)
{
::boost::shared_ptr<Cache> pCache;
-
+
// Look for the cache in the list of recently used caches.
RecentlyUsedPageCaches::iterator iQueue (mpRecentlyUsedPageCaches->find(pDocument));
if (iQueue != mpRecentlyUsedPageCaches->end())
diff --git a/sd/source/ui/slidesorter/cache/SlsQueueProcessor.cxx b/sd/source/ui/slidesorter/cache/SlsQueueProcessor.cxx
index f3115b1b46b5..925da9d14ce0 100644
--- a/sd/source/ui/slidesorter/cache/SlsQueueProcessor.cxx
+++ b/sd/source/ui/slidesorter/cache/SlsQueueProcessor.cxx
@@ -2,7 +2,7 @@
/*************************************************************************
*
* 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
@@ -60,7 +60,7 @@ QueueProcessor::QueueProcessor (
::rtl::OUString(RTL_CONSTASCII_USTRINGPARAM("TimeBetweenHighPriorityRequests")));
if (aTimeBetweenReqeusts.has<sal_Int32>())
aTimeBetweenReqeusts >>= mnTimeBetweenHighPriorityRequests;
-
+
aTimeBetweenReqeusts = CacheConfiguration::Instance()->GetValue(
::rtl::OUString(RTL_CONSTASCII_USTRINGPARAM("TimeBetweenLowPriorityRequests")));
if (aTimeBetweenReqeusts.has<sal_Int32>())
diff --git a/sd/source/ui/slidesorter/cache/SlsQueueProcessor.hxx b/sd/source/ui/slidesorter/cache/SlsQueueProcessor.hxx
index d79f2267346c..ba25b8b3a14b 100644
--- a/sd/source/ui/slidesorter/cache/SlsQueueProcessor.hxx
+++ b/sd/source/ui/slidesorter/cache/SlsQueueProcessor.hxx
@@ -2,7 +2,7 @@
/*************************************************************************
*
* 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
@@ -39,7 +39,7 @@
#include "SlsBitmapCache.hxx"
#include "sdpage.hxx"
#include "Window.hxx"
-
+
#include <svx/svdpagv.hxx>
#include <vcl/svapp.hxx>
#include <vcl/timer.hxx>
@@ -64,12 +64,12 @@ class RequestQueue;
timer is started that eventually calls ProcessRequest(). This is
repeated until the queue is empty or Stop() is called.
*/
-class QueueProcessor
+class QueueProcessor
{
public:
typedef ::boost::function<bool()> IdleDetectionCallback;
QueueProcessor (
- RequestQueue& rQueue,
+ RequestQueue& rQueue,
const ::boost::shared_ptr<BitmapCache>& rpCache,
const Size& rPreviewSize,
const SharedCacheContext& rpCacheContext);
diff --git a/sd/source/ui/slidesorter/cache/SlsQueueProcessorThread.hxx b/sd/source/ui/slidesorter/cache/SlsQueueProcessorThread.hxx
index 349d2813c0cb..b42a34102128 100644
--- a/sd/source/ui/slidesorter/cache/SlsQueueProcessorThread.hxx
+++ b/sd/source/ui/slidesorter/cache/SlsQueueProcessorThread.hxx
@@ -2,7 +2,7 @@
/*************************************************************************
*
* 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
@@ -41,17 +41,17 @@ class SlideSorterView;
namespace sd { namespace slidesorter { namespace cache {
-template <class Queue,
- class RequestData,
- class BitmapCache,
+template <class Queue,
+ class RequestData,
+ class BitmapCache,
class BitmapFactory>
-class QueueProcessorThread
+class QueueProcessorThread
: public ::osl::Thread
{
public:
QueueProcessorThread (
- view::SlideSorterView& rView,
- Queue& rQueue,
+ view::SlideSorterView& rView,
+ Queue& rQueue,
BitmapCache& rCache);
~QueueProcessorThread (void);
@@ -81,19 +81,19 @@ public:
void SAL_CALL Terminate (void);
protected:
- /** This virutal method is called (among others?) from the
+ /** This virutal method is called (among others?) from the
inherited create method and acts as the main function of this
thread.
*/
virtual void SAL_CALL run (void);
- /** Called after the thread is terminated via the terminate
+ /** Called after the thread is terminated via the terminate
method. Used to kill the thread by calling delete on this.
- */
+ */
virtual void SAL_CALL onTerminated (void);
private:
- /** Flag that indicates wether the onTerminated method has been already
+ /** Flag that indicates wether the onTerminated method has been already
called. If so then a subsequent call to detach deletes the thread.
*/
volatile bool mbIsTerminated;
@@ -169,7 +169,7 @@ void SAL_CALL QueueProcessorThread<Queue, Request, Cache, Factory>::run (void)
TimeValue aTimeToWait;
aTimeToWait.Seconds = 0;
aTimeToWait.Nanosec = 50*1000*1000;
- OSL_TRACE("QueueProcessorThread::run(): input pending: waiting %d nanoseconds",
+ OSL_TRACE("QueueProcessorThread::run(): input pending: waiting %d nanoseconds",
aTimeToWait.Nanosec);
wait (aTimeToWait);
}
@@ -194,7 +194,7 @@ void QueueProcessorThread<Queue, Request, Cache, Factory>
Request* pRequest = NULL;
int nPriorityClass;
bool bRequestIsValid = false;
-
+
do
{
OSL_TRACE ("QueueProcessorThread::ProcessQueueEntry(): testing for mbIsTerminated %p", this);
@@ -215,7 +215,7 @@ void QueueProcessorThread<Queue, Request, Cache, Factory>
break;
OSL_TRACE ("QueueProcessorThread::ProcessQueueEntry(): have mutexes %p", this);
-
+
// Get the requeuest with the highest priority from the queue.
nPriorityClass = mrQueue.GetFrontPriorityClass();
pRequest = &mrQueue.GetFront();
@@ -224,7 +224,7 @@ void QueueProcessorThread<Queue, Request, Cache, Factory>
OSL_TRACE ("QueueProcessorThread::ProcessQueueEntry():using request %p for creating bitmap", pRequest);
- OSL_TRACE ("QueueProcessorThread::ProcessQueueEntry():processing request for page %d with priority class ",
+ OSL_TRACE ("QueueProcessorThread::ProcessQueueEntry():processing request for page %d with priority class ",
pRequest->GetPage()->GetPageNum(), nPriorityClass);
try
{
@@ -253,9 +253,9 @@ void QueueProcessorThread<Queue, Request, Cache, Factory>
-template <class Queue,
- class RequestData,
- class BitmapCache,
+template <class Queue,
+ class RequestData,
+ class BitmapCache,
class BitmapFactory>
void QueueProcessorThread<
Queue, RequestData, BitmapCache, BitmapFactory
@@ -268,9 +268,9 @@ void QueueProcessorThread<
-template <class Queue,
- class RequestData,
- class BitmapCache,
+template <class Queue,
+ class RequestData,
+ class BitmapCache,
class BitmapFactory>
void QueueProcessorThread<
Queue, RequestData, BitmapCache, BitmapFactory
@@ -283,9 +283,9 @@ void QueueProcessorThread<
-template <class Queue,
- class RequestData,
- class BitmapCache,
+template <class Queue,
+ class RequestData,
+ class BitmapCache,
class BitmapFactory>
void QueueProcessorThread<
Queue, RequestData, BitmapCache, BitmapFactory
@@ -299,9 +299,9 @@ void QueueProcessorThread<
-template <class Queue,
- class RequestData,
- class BitmapCache,
+template <class Queue,
+ class RequestData,
+ class BitmapCache,
class BitmapFactory>
void QueueProcessorThread<
Queue, RequestData, BitmapCache, BitmapFactory
@@ -323,9 +323,9 @@ void QueueProcessorThread<
/** This callback method is called when the run() method terminates.
*/
-template <class Queue,
- class RequestData,
- class BitmapCache,
+template <class Queue,
+ class RequestData,
+ class BitmapCache,
class BitmapFactory>
void SAL_CALL QueueProcessorThread<
Queue, RequestData, BitmapCache, BitmapFactory
diff --git a/sd/source/ui/slidesorter/cache/SlsRequestFactory.cxx b/sd/source/ui/slidesorter/cache/SlsRequestFactory.cxx
index 28794967281e..75963ea38cb9 100644
--- a/sd/source/ui/slidesorter/cache/SlsRequestFactory.cxx
+++ b/sd/source/ui/slidesorter/cache/SlsRequestFactory.cxx
@@ -2,7 +2,7 @@
/*************************************************************************
*
* 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
diff --git a/sd/source/ui/slidesorter/cache/SlsRequestFactory.hxx b/sd/source/ui/slidesorter/cache/SlsRequestFactory.hxx
index 94ca566a66da..f908598de2ee 100644
--- a/sd/source/ui/slidesorter/cache/SlsRequestFactory.hxx
+++ b/sd/source/ui/slidesorter/cache/SlsRequestFactory.hxx
@@ -2,7 +2,7 @@
/*************************************************************************
*
* 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
diff --git a/sd/source/ui/slidesorter/cache/SlsRequestPriorityClass.hxx b/sd/source/ui/slidesorter/cache/SlsRequestPriorityClass.hxx
index f710ab1a8c62..077940a82cfb 100644
--- a/sd/source/ui/slidesorter/cache/SlsRequestPriorityClass.hxx
+++ b/sd/source/ui/slidesorter/cache/SlsRequestPriorityClass.hxx
@@ -2,7 +2,7 @@
/*************************************************************************
*
* 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
@@ -39,14 +39,14 @@ namespace sd { namespace slidesorter { namespace cache {
enum RequestPriorityClass
{
MIN__CLASS = 0,
-
+
// The slide is visible. A preview does not yet exist.
VISIBLE_NO_PREVIEW = MIN__CLASS,
// The slide is visible. A preview exists but is not up-to-date anymore.
VISIBLE_OUTDATED_PREVIEW,
// The slide is not visible.
NOT_VISIBLE,
-
+
MAX__CLASS = NOT_VISIBLE
};
diff --git a/sd/source/ui/slidesorter/cache/SlsRequestQueue.cxx b/sd/source/ui/slidesorter/cache/SlsRequestQueue.cxx
index e92b1c90bc67..3004dddf7a85 100644
--- a/sd/source/ui/slidesorter/cache/SlsRequestQueue.cxx
+++ b/sd/source/ui/slidesorter/cache/SlsRequestQueue.cxx
@@ -2,7 +2,7 @@
/*************************************************************************
*
* 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
@@ -214,7 +214,7 @@ CacheKey RequestQueue::GetFront (void)
::rtl::OUString(RTL_CONSTASCII_USTRINGPARAM(
"RequestQueue::GetFront(): queue is empty")),
NULL);
-
+
return mpRequestQueue->begin()->maKey;
}
diff --git a/sd/source/ui/slidesorter/cache/SlsRequestQueue.hxx b/sd/source/ui/slidesorter/cache/SlsRequestQueue.hxx
index e59f7e3ab3bd..5b9c0cdb27fb 100644
--- a/sd/source/ui/slidesorter/cache/SlsRequestQueue.hxx
+++ b/sd/source/ui/slidesorter/cache/SlsRequestQueue.hxx
@@ -2,7 +2,7 @@
/*************************************************************************
*
* 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
@@ -63,7 +63,7 @@ public:
with lowest priority.
*/
void AddRequest (
- CacheKey aKey,
+ CacheKey aKey,
RequestPriorityClass eRequestClass,
bool bInsertWithHighestPriority = false);
diff --git a/sd/source/ui/slidesorter/controller/SlideSorterController.cxx b/sd/source/ui/slidesorter/controller/SlideSorterController.cxx
index baccbfd51a1e..4dc825808c06 100644
--- a/sd/source/ui/slidesorter/controller/SlideSorterController.cxx
+++ b/sd/source/ui/slidesorter/controller/SlideSorterController.cxx
@@ -2,7 +2,7 @@
/*************************************************************************
*
* 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
@@ -162,7 +162,7 @@ SlideSorterController::SlideSorterController (SlideSorter& rSlideSorter)
void SlideSorterController::Init (void)
{
mrView.HandleModelChange();
-
+
mpCurrentSlideManager.reset(new CurrentSlideManager(mrSlideSorter));
mpPageSelector.reset(new PageSelector(mrSlideSorter));
mpFocusManager.reset(new FocusManager(mrSlideSorter));
@@ -353,7 +353,7 @@ bool SlideSorterController::Command (
bool bEventHasBeenHandled = false;
ViewShell* pViewShell = mrSlideSorter.GetViewShell();
-
+
switch (rEvent.GetCommand())
{
case COMMAND_CONTEXTMENU:
@@ -495,7 +495,7 @@ void SlideSorterController::PreModelChange (void)
if (mbPostModelChangePending)
return;
mbPreModelChangeDone = true;
-
+
if (mrSlideSorter.GetViewShell() != NULL)
mrSlideSorter.GetViewShell()->Broadcast(
ViewShellHint(ViewShellHint::HINT_COMPLEX_MODEL_CHANGE_START));
@@ -598,7 +598,7 @@ IMPL_LINK(SlideSorterController, WindowEventHandler, VclWindowEvent*, pEvent)
if (pActiveWindow != NULL)
pActiveWindow->SetDrawMode(nDrawMode);
mrView.HandleDrawModeChange();
-
+
// When the system font has changed a layout has to be done.
mrView.Resize();
FontProvider::Instance().Invalidate();
@@ -628,7 +628,7 @@ void SlideSorterController::GetCtrlState (SfxItemSet& rSet)
{
pSlideViewFrame->GetSlotState (SID_RELOAD, NULL, &rSet);
}
- else // MI sagt: kein MDIFrame --> disablen
+ else // MI sagt: kein MDIFrame --> disablen
{
rSet.DisableItem(SID_RELOAD);
}
@@ -948,7 +948,7 @@ void SlideSorterController::SetDocumentSlides (const Reference<container::XIndex
{
ModelChangeLock aLock (*this);
PreModelChange();
-
+
mrModel.SetDocumentSlides(rxSlides);
mrView.Layout();
}
diff --git a/sd/source/ui/slidesorter/controller/SlsAnimator.cxx b/sd/source/ui/slidesorter/controller/SlsAnimator.cxx
index 92853fddb7e6..67a06164c3b7 100644
--- a/sd/source/ui/slidesorter/controller/SlsAnimator.cxx
+++ b/sd/source/ui/slidesorter/controller/SlsAnimator.cxx
@@ -2,7 +2,7 @@
/*************************************************************************
*
* 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
@@ -128,7 +128,7 @@ bool Animator::ServeAnimations (void)
void Animator::CleanUpAnimationList (void)
{
AnimationList aActiveAnimations;
-
+
AnimationList::const_iterator iAnimation;
for (iAnimation=maAnimations.begin(); iAnimation!=maAnimations.end(); ++iAnimation)
{
@@ -174,7 +174,7 @@ Animator::Animation::Animation (
maAnimation(mnValue);
mnValue = mnDelta;
-
+
}
diff --git a/sd/source/ui/slidesorter/controller/SlsClipboard.cxx b/sd/source/ui/slidesorter/controller/SlsClipboard.cxx
index 662ba4293c95..a15d10f67ecd 100644
--- a/sd/source/ui/slidesorter/controller/SlsClipboard.cxx
+++ b/sd/source/ui/slidesorter/controller/SlsClipboard.cxx
@@ -2,7 +2,7 @@
/*************************************************************************
*
* 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
@@ -228,7 +228,7 @@ sal_Int32 Clipboard::GetInsertionPosition (::Window* pWindow)
// b) When the focus indicator is visible, then before or after the
// focused page, depending on user input to a dialog.
// c) When there is a selection but no focus, then after the
- // selection.
+ // selection.
// d) After the last page when there is no selection and no focus.
view::InsertionIndicatorOverlay& rInsertionIndicatorOverlay (
@@ -269,18 +269,18 @@ sal_Int32 Clipboard::PasteTransferable (sal_Int32 nInsertPosition)
{
const List& rBookmarkList = pClipTransferable->GetPageBookmarks();
const SolarMutexGuard aGuard;
-
+
nInsertPageCount = (USHORT) rBookmarkList.Count();
mrSlideSorter.GetModel().GetDocument()->InsertBookmarkAsPage(
const_cast<List*>(&rBookmarkList),
- NULL,
- FALSE,
- FALSE,
- nInsertIndex,
- FALSE,
- pClipTransferable->GetPageDocShell(),
- TRUE,
- bMergeMasterPages,
+ NULL,
+ FALSE,
+ FALSE,
+ nInsertIndex,
+ FALSE,
+ pClipTransferable->GetPageDocShell(),
+ TRUE,
+ bMergeMasterPages,
FALSE);
}
else
@@ -289,23 +289,23 @@ sal_Int32 Clipboard::PasteTransferable (sal_Int32 nInsertPosition)
DrawDocShell* pDataDocSh = (DrawDocShell*)pShell;
SdDrawDocument* pDataDoc = pDataDocSh->GetDoc();
- if (pDataDoc!=NULL
+ if (pDataDoc!=NULL
&& pDataDoc->GetSdPageCount(PK_STANDARD))
{
const SolarMutexGuard aGuard;
-
+
bMergeMasterPages = (pDataDoc != mrSlideSorter.GetModel().GetDocument());
nInsertPageCount = pDataDoc->GetSdPageCount( PK_STANDARD );
mrSlideSorter.GetModel().GetDocument()->InsertBookmarkAsPage(
- NULL,
- NULL,
- FALSE,
- FALSE,
+ NULL,
+ NULL,
+ FALSE,
+ FALSE,
nInsertIndex,
- FALSE,
- pDataDocSh,
- TRUE,
- bMergeMasterPages,
+ FALSE,
+ pDataDocSh,
+ TRUE,
+ bMergeMasterPages,
FALSE);
}
}
@@ -343,7 +343,7 @@ void Clipboard::SelectPageRange (sal_Int32 nFirstIndex, sal_Int32 nPageCount)
void Clipboard::CreateSlideTransferable (
- ::Window* pWindow,
+ ::Window* pWindow,
bool bDrag)
{
List aBookmarkList;
@@ -395,7 +395,7 @@ void Clipboard::CreateSlideTransferable (
if (pViewShell != NULL)
pActionWindow = pViewShell->GetActiveWindow();
}
-
+
pTransferable->SetStartPos (pActionWindow->PixelToLogic(
pActionWindow->GetPointerPosPixel()));
pTransferable->SetObjectDescriptor (aObjDesc);
@@ -455,8 +455,8 @@ void Clipboard::DragFinished (sal_Int8 nDropAction)
// in the same document.)
rSelector.DeselectAllPages();
PageList::iterator aDraggedPage;
- for (aDraggedPage=maPagesToRemove.begin();
- aDraggedPage!=maPagesToRemove.end();
+ for (aDraggedPage=maPagesToRemove.begin();
+ aDraggedPage!=maPagesToRemove.end();
aDraggedPage++)
{
rSelector.SelectPage (*aDraggedPage);
@@ -487,10 +487,10 @@ void Clipboard::SelectPages (void)
sal_Int8 Clipboard::AcceptDrop (
- const AcceptDropEvent& rEvent,
- DropTargetHelper& rTargetHelper,
- ::sd::Window* pTargetWindow,
- USHORT nPage,
+ const AcceptDropEvent& rEvent,
+ DropTargetHelper& rTargetHelper,
+ ::sd::Window* pTargetWindow,
+ USHORT nPage,
USHORT nLayer)
{
sal_Int8 nResult = DND_ACTION_NONE;
@@ -515,7 +515,7 @@ sal_Int8 Clipboard::AcceptDrop (
{
nResult = DND_ACTION_COPY;
}
-
+
// Show the insertion marker and the substitution for a drop.
Point aPosition = pTargetWindow->PixelToLogic (rEvent.maPosPixel);
view::ViewOverlay& rOverlay (mrSlideSorter.GetView().GetOverlay());
@@ -549,10 +549,10 @@ sal_Int8 Clipboard::AcceptDrop (
sal_Int8 Clipboard::ExecuteDrop (
- const ExecuteDropEvent& rEvent,
+ const ExecuteDropEvent& rEvent,
DropTargetHelper& rTargetHelper,
- ::sd::Window* pTargetWindow,
- USHORT nPage,
+ ::sd::Window* pTargetWindow,
+ USHORT nPage,
USHORT nLayer)
{
sal_Int8 nResult = DND_ACTION_NONE;
@@ -564,14 +564,14 @@ sal_Int8 Clipboard::ExecuteDrop (
const SdTransferable* pDragTransferable = SD_MOD()->pTransferDrag;
const Point aEventModelPosition (
pTargetWindow->PixelToLogic (rEvent.maPosPixel));
- long int nXOffset = labs (pDragTransferable->GetStartPos().X()
+ long int nXOffset = labs (pDragTransferable->GetStartPos().X()
- aEventModelPosition.X());
- long int nYOffset = labs (pDragTransferable->GetStartPos().Y()
+ long int nYOffset = labs (pDragTransferable->GetStartPos().Y()
- aEventModelPosition.Y());
- const bool bContinue =
- ( pDragTransferable->GetView() != &mrSlideSorter.GetView() )
+ const bool bContinue =
+ ( pDragTransferable->GetView() != &mrSlideSorter.GetView() )
|| ( nXOffset >= 2 && nYOffset >= 2 );
-
+
// Get insertion position and then turn off the insertion indicator.
view::ViewOverlay& rOverlay (mrSlideSorter.GetView().GetOverlay());
rOverlay.GetInsertionIndicatorOverlay().SetPosition(
@@ -580,7 +580,7 @@ sal_Int8 Clipboard::ExecuteDrop (
OSL_TRACE ("Clipboard::AcceptDrop() called for index %d",
nIndex);
rOverlay.GetInsertionIndicatorOverlay().setVisible(false);
-
+
if (bContinue)
{
SlideSorterController::ModelChangeLock aModelChangeLock (mrController);
@@ -650,7 +650,7 @@ USHORT Clipboard::DetermineInsertPosition (const SdTransferable& )
// This is now converted that to an SdModel index that also starts with 1.
if (nInsertionIndex >= 0)
nInsertPosition = (USHORT)nInsertionIndex * 2 + 1;
-
+
return nInsertPosition;
}
@@ -758,7 +758,7 @@ sal_Int8 Clipboard::ExecuteOrAcceptShapeDrop (
nPage,
nLayer);
break;
-
+
case DC_EXECUTE:
nResult = pDrawViewShell->ExecuteDrop(
*reinterpret_cast<const ExecuteDropEvent*>(pDropEvent),
diff --git a/sd/source/ui/slidesorter/controller/SlsCommand.hxx b/sd/source/ui/slidesorter/controller/SlsCommand.hxx
index 7198e0a2b211..d6dee9911742 100644
--- a/sd/source/ui/slidesorter/controller/SlsCommand.hxx
+++ b/sd/source/ui/slidesorter/controller/SlsCommand.hxx
@@ -2,7 +2,7 @@
/*************************************************************************
*
* 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
diff --git a/sd/source/ui/slidesorter/controller/SlsCurrentSlideManager.cxx b/sd/source/ui/slidesorter/controller/SlsCurrentSlideManager.cxx
index 0f9cb1b1becb..546d25906a72 100644
--- a/sd/source/ui/slidesorter/controller/SlsCurrentSlideManager.cxx
+++ b/sd/source/ui/slidesorter/controller/SlsCurrentSlideManager.cxx
@@ -2,7 +2,7 @@
/*************************************************************************
*
* 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
diff --git a/sd/source/ui/slidesorter/controller/SlsFocusManager.cxx b/sd/source/ui/slidesorter/controller/SlsFocusManager.cxx
index 83f34270c1b3..4e6af1de67ed 100644
--- a/sd/source/ui/slidesorter/controller/SlsFocusManager.cxx
+++ b/sd/source/ui/slidesorter/controller/SlsFocusManager.cxx
@@ -2,7 +2,7 @@
/*************************************************************************
*
* 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
@@ -85,7 +85,7 @@ void FocusManager::MoveFocus (FocusMoveDirection eDirection)
SetFocusToToolBox();
}
break;
-
+
case FMD_RIGHT:
mnPageIndex += 1;
if (mnPageIndex >= mrSlideSorter.GetModel().GetPageCount())
@@ -108,7 +108,7 @@ void FocusManager::MoveFocus (FocusMoveDirection eDirection)
if (nCandidateColumn > nColumn)
mnPageIndex = nCandidate - (nCandidateColumn-nColumn);
else if (nCandidateColumn < nColumn)
- mnPageIndex = nCandidate
+ mnPageIndex = nCandidate
- nColumnCount
+ (nColumn - nCandidateColumn);
else
@@ -330,9 +330,9 @@ void FocusManager::NotifyFocusChangeListeners (void) const
{
// Create a copy of the listener list to be safe when that is modified.
::std::vector<Link> aListeners (maFocusChangeListeners);
-
+
// Tell the slection change listeners that the selection has changed.
- ::std::vector<Link>::iterator iListener (aListeners.begin());
+ ::std::vector<Link>::iterator iListener (aListeners.begin());
::std::vector<Link>::iterator iEnd (aListeners.end());
for (; iListener!=iEnd; ++iListener)
{
diff --git a/sd/source/ui/slidesorter/controller/SlsHideSlideFunction.cxx b/sd/source/ui/slidesorter/controller/SlsHideSlideFunction.cxx
index 46917e48c1c2..8f776432738f 100644
--- a/sd/source/ui/slidesorter/controller/SlsHideSlideFunction.cxx
+++ b/sd/source/ui/slidesorter/controller/SlsHideSlideFunction.cxx
@@ -2,7 +2,7 @@
/*************************************************************************
*
* 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
@@ -85,7 +85,7 @@ void HideSlideFunction::DoExecute (SfxRequest& rRequest)
model::PageEnumeration aSelectedPages (
model::PageEnumerationProvider::CreateSelectedPagesEnumeration(mrSlideSorter.GetModel()));
-
+
ExclusionState eState (UNDEFINED);
switch (rRequest.GetSlot())
@@ -144,14 +144,14 @@ HideSlideFunction::ExclusionState HideSlideFunction::GetExclusionState (
break;
case EXCLUDED:
- // The pages before where all not part of the show,
+ // The pages before where all not part of the show,
// this one is.
if ( ! bState)
eState = MIXED;
break;
case INCLUDED:
- // The pages before where all part of the show,
+ // The pages before where all part of the show,
// this one is not.
if (bState)
eState = MIXED;
diff --git a/sd/source/ui/slidesorter/controller/SlsHideSlideFunction.hxx b/sd/source/ui/slidesorter/controller/SlsHideSlideFunction.hxx
index 6bdf37e4c249..9fb32c2c088f 100644
--- a/sd/source/ui/slidesorter/controller/SlsHideSlideFunction.hxx
+++ b/sd/source/ui/slidesorter/controller/SlsHideSlideFunction.hxx
@@ -2,7 +2,7 @@
/*************************************************************************
*
* 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
@@ -40,14 +40,14 @@ namespace sd { namespace slidesorter { namespace controller {
hidden. When all selected pages have the same state this state is
toggled for all of them
*/
-class HideSlideFunction
+class HideSlideFunction
: public SlideFunction
{
public:
TYPEINFO();
virtual ~HideSlideFunction (void);
-
+
static FunctionReference Create( SlideSorter& rSlideSorter, SfxRequest& rRequest );
virtual void DoExecute( SfxRequest& rReq );
@@ -59,7 +59,7 @@ public:
excluded from the slide show.
*/
static ExclusionState GetExclusionState (model::PageEnumeration& rPageSet);
-
+
protected:
HideSlideFunction (
SlideSorter& rSlideSorter,
diff --git a/sd/source/ui/slidesorter/controller/SlsListener.cxx b/sd/source/ui/slidesorter/controller/SlsListener.cxx
index 176dd8a9fc8a..c3b470143303 100644
--- a/sd/source/ui/slidesorter/controller/SlsListener.cxx
+++ b/sd/source/ui/slidesorter/controller/SlsListener.cxx
@@ -2,7 +2,7 @@
/*************************************************************************
*
* 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
@@ -130,7 +130,7 @@ Listener::Listener (
{
StartListening (*pMainViewShell);
}
-
+
Link aLink (LINK(this, Listener, EventMultiplexerCallback));
mpBase->GetEventMultiplexer()->AddEventListener(
aLink,
@@ -213,13 +213,13 @@ void Listener::ReleaseListeners (void)
void Listener::ConnectToController (void)
{
ViewShell* pShell = mrSlideSorter.GetViewShell();
-
+
// Register at the controller of the main view shell (if we are that not
// ourself).
if (pShell==NULL || ! pShell->IsMainViewShell())
{
Reference<frame::XController> xController (mrSlideSorter.GetXController());
-
+
// Listen to changes of certain properties.
Reference<beans::XPropertySet> xSet (xController, UNO_QUERY);
if (xSet.is())
@@ -270,10 +270,10 @@ void Listener::DisconnectFromController (void)
if (xSet.is())
{
xSet->removePropertyChangeListener (
- String::CreateFromAscii("CurrentPage"),
+ String::CreateFromAscii("CurrentPage"),
this);
xSet->removePropertyChangeListener (
- String::CreateFromAscii("IsMasterPageMode"),
+ String::CreateFromAscii("IsMasterPageMode"),
this);
}
@@ -372,11 +372,11 @@ IMPL_LINK(Listener, EventMultiplexerCallback, ::sd::tools::EventMultiplexerEvent
}
break;
-
+
case tools::EventMultiplexerEvent::EID_MAIN_VIEW_ADDED:
mbIsMainViewChangePending = true;
break;
-
+
case tools::EventMultiplexerEvent::EID_CONFIGURATION_UPDATED:
if (mbIsMainViewChangePending && mpBase != NULL)
{
@@ -398,7 +398,7 @@ IMPL_LINK(Listener, EventMultiplexerCallback, ::sd::tools::EventMultiplexerEvent
}
break;
-
+
case tools::EventMultiplexerEvent::EID_CONTROLLER_DETACHED:
DisconnectFromController();
break;
@@ -421,7 +421,7 @@ void SAL_CALL Listener::disposing (
{
if ((mbListeningToDocument || mbListeningToUNODocument)
&& mrSlideSorter.GetModel().GetDocument()!=NULL
- && rEventObject.Source
+ && rEventObject.Source
== mrSlideSorter.GetModel().GetDocument()->getUnoModel())
{
mbListeningToDocument = false;
diff --git a/sd/source/ui/slidesorter/controller/SlsListener.hxx b/sd/source/ui/slidesorter/controller/SlsListener.hxx
index 23faf53128b5..3a9f511d05b6 100644
--- a/sd/source/ui/slidesorter/controller/SlsListener.hxx
+++ b/sd/source/ui/slidesorter/controller/SlsListener.hxx
@@ -2,7 +2,7 @@
/*************************************************************************
*
* 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
@@ -58,7 +58,7 @@ class SlideSorter;
namespace sd { namespace slidesorter { namespace controller {
-typedef cppu::WeakComponentImplHelper4<
+typedef cppu::WeakComponentImplHelper4<
::com::sun::star::document::XEventListener,
::com::sun::star::beans::XPropertyChangeListener,
::com::sun::star::accessibility::XAccessibleEventListener,
@@ -105,7 +105,7 @@ public:
const SfxHint& rHint);
//===== lang::XEventListener ============================================
- virtual void SAL_CALL
+ virtual void SAL_CALL
disposing (const ::com::sun::star::lang::EventObject& rEventObject)
throw (::com::sun::star::uno::RuntimeException);
@@ -117,7 +117,7 @@ public:
throw (::com::sun::star::uno::RuntimeException);
//===== beans::XPropertySetListener =====================================
- virtual void SAL_CALL
+ virtual void SAL_CALL
propertyChange (
const com::sun::star::beans::PropertyChangeEvent& rEvent)
throw (::com::sun::star::uno::RuntimeException);
@@ -125,7 +125,7 @@ public:
//===== accessibility::XAccessibleEventListener ==========================
virtual void SAL_CALL
notifyEvent (
- const ::com::sun::star::accessibility::AccessibleEventObject&
+ const ::com::sun::star::accessibility::AccessibleEventObject&
rEvent)
throw (::com::sun::star::uno::RuntimeException);
@@ -134,7 +134,7 @@ public:
frame it is listening to. This usually happens when the view shell
in the center pane is replaced by another view shell.
*/
- virtual void SAL_CALL
+ virtual void SAL_CALL
frameAction (const ::com::sun::star::frame::FrameActionEvent& rEvent)
throw (::com::sun::star::uno::RuntimeException);
diff --git a/sd/source/ui/slidesorter/controller/SlsPageObjectFactory.cxx b/sd/source/ui/slidesorter/controller/SlsPageObjectFactory.cxx
index 726371d6ea7d..7e49d884bedf 100644
--- a/sd/source/ui/slidesorter/controller/SlsPageObjectFactory.cxx
+++ b/sd/source/ui/slidesorter/controller/SlsPageObjectFactory.cxx
@@ -2,7 +2,7 @@
/*************************************************************************
*
* 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
@@ -72,26 +72,26 @@ view::PageObject* PageObjectFactory::CreatePageObject (
-::sdr::contact::ViewContact*
+::sdr::contact::ViewContact*
PageObjectFactory::CreateViewContact (
view::PageObject* pPageObject,
const model::SharedPageDescriptor& rpDescriptor) const
{
return new view::PageObjectViewContact (
- *pPageObject,
+ *pPageObject,
rpDescriptor);
}
-::sdr::contact::ViewObjectContact*
+::sdr::contact::ViewObjectContact*
PageObjectFactory::CreateViewObjectContact (
::sdr::contact::ObjectContact& rObjectContact,
::sdr::contact::ViewContact& rViewContact) const
{
return new view::PageObjectViewObjectContact (
- rObjectContact,
+ rObjectContact,
rViewContact,
mpPageCache,
mpProperties);
diff --git a/sd/source/ui/slidesorter/controller/SlsPageSelector.cxx b/sd/source/ui/slidesorter/controller/SlsPageSelector.cxx
index 30b1db5998fa..52c5b3d54de7 100644
--- a/sd/source/ui/slidesorter/controller/SlsPageSelector.cxx
+++ b/sd/source/ui/slidesorter/controller/SlsPageSelector.cxx
@@ -2,7 +2,7 @@
/*************************************************************************
*
* 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
@@ -85,7 +85,7 @@ void PageSelector::DeselectAllPages (void)
int nPageCount = mrModel.GetPageCount();
for (int nPageIndex=0; nPageIndex<nPageCount; nPageIndex++)
DeselectPage (nPageIndex);
- DBG_ASSERT (mnSelectedPageCount==0,
+ DBG_ASSERT (mnSelectedPageCount==0,
"PageSelector::DeselectAllPages: the selected pages counter is not 0");
mnSelectedPageCount = 0;
mpMostRecentlySelectedPage.reset();
diff --git a/sd/source/ui/slidesorter/controller/SlsProperties.cxx b/sd/source/ui/slidesorter/controller/SlsProperties.cxx
index 02168ca4eb2d..1dedfe74b8d9 100644
--- a/sd/source/ui/slidesorter/controller/SlsProperties.cxx
+++ b/sd/source/ui/slidesorter/controller/SlsProperties.cxx
@@ -2,7 +2,7 @@
/*************************************************************************
*
* 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
diff --git a/sd/source/ui/slidesorter/controller/SlsScrollBarManager.cxx b/sd/source/ui/slidesorter/controller/SlsScrollBarManager.cxx
index 0785f786366f..70dad4a5c8ee 100644
--- a/sd/source/ui/slidesorter/controller/SlsScrollBarManager.cxx
+++ b/sd/source/ui/slidesorter/controller/SlsScrollBarManager.cxx
@@ -2,7 +2,7 @@
/*************************************************************************
*
* 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
@@ -95,13 +95,13 @@ void ScrollBarManager::Connect (void)
mpVerticalScrollBar->SetScrollHdl (
LINK(
this,
- ScrollBarManager,
+ ScrollBarManager,
VerticalScrollBarHandler));
if (mpHorizontalScrollBar != NULL)
mpHorizontalScrollBar->SetScrollHdl (
LINK(
this,
- ScrollBarManager,
+ ScrollBarManager,
HorizontalScrollBarHandler));
}
@@ -121,14 +121,14 @@ void ScrollBarManager::Disconnect (void)
/** Placing the scroll bars is an iterative process. The visibility of one
scroll bar affects the remaining size and thus may lead to the other
- scroll bar becoming visible.
+ scroll bar becoming visible.
First we determine the visibility of the horizontal scroll bar. After
that we do the same for the vertical scroll bar. To have an initial
value for the required size we call the layouter before that. When one
of the two scroll bars is made visible then the size of the browser
window changes and a second call to the layouter becomes necessary.
- That call is made anyway after this method returns.
+ That call is made anyway after this method returns.
*/
Rectangle ScrollBarManager::PlaceScrollBars (const Rectangle& rAvailableArea)
{
@@ -155,11 +155,11 @@ void ScrollBarManager::PlaceHorizontalScrollBar (const Rectangle& aAvailableArea
// Place the scroll bar.
Size aScrollBarSize (mpHorizontalScrollBar->GetSizePixel());
mpHorizontalScrollBar->SetPosSizePixel (
- Point(aAvailableArea.Left(),
+ Point(aAvailableArea.Left(),
aAvailableArea.Bottom()-aScrollBarSize.Height()+1),
- Size (aAvailableArea.GetWidth() - GetVerticalScrollBarWidth(),
+ Size (aAvailableArea.GetWidth() - GetVerticalScrollBarWidth(),
aScrollBarSize.Height()));
-
+
// Restore the relative position.
mpHorizontalScrollBar->SetThumbPos(
(long)(0.5 + mnHorizontalPosition * mpHorizontalScrollBar->GetRange().Len()));
@@ -168,13 +168,13 @@ void ScrollBarManager::PlaceHorizontalScrollBar (const Rectangle& aAvailableArea
-
+
void ScrollBarManager::PlaceVerticalScrollBar (const Rectangle& aArea)
{
if (mpVerticalScrollBar != NULL
&& mpVerticalScrollBar->IsVisible())
{
- view::Layouter::DoublePoint aLayouterPosition
+ view::Layouter::DoublePoint aLayouterPosition
= mrSlideSorter.GetView().GetLayouter().ConvertModelToLayouterCoordinates (
Point (0, mpVerticalScrollBar->GetThumbPos()));
@@ -239,10 +239,10 @@ void ScrollBarManager::UpdateScrollBars (bool bResetThumbPosition, bool bUseScro
mnHorizontalPosition = 0;
}
else
- mnHorizontalPosition =
+ mnHorizontalPosition =
double(mpHorizontalScrollBar->GetThumbPos())
/ double(mpHorizontalScrollBar->GetRange().Len());
-
+
mpHorizontalScrollBar->SetVisibleSize (aWindowModelSize.Width());
const long nWidth (mpContentWindow->PixelToLogic(
@@ -268,10 +268,10 @@ void ScrollBarManager::UpdateScrollBars (bool bResetThumbPosition, bool bUseScro
mnVerticalPosition = 0;
}
else
- mnVerticalPosition =
+ mnVerticalPosition =
double(mpVerticalScrollBar->GetThumbPos())
/ double(mpVerticalScrollBar->GetRange().Len());
-
+
mpVerticalScrollBar->SetVisibleSize (aWindowModelSize.Height());
const long nHeight (mpContentWindow->PixelToLogic(
@@ -313,7 +313,7 @@ IMPL_LINK(ScrollBarManager, VerticalScrollBarHandler, ScrollBar*, pScrollBar)
/ double(pScrollBar->GetRange().Len());
mrSlideSorter.GetView().InvalidatePageObjectVisibilities();
mrSlideSorter.GetView().GetWindow()->SetVisibleXY (
- -1,
+ -1,
nRelativePosition);
}
return TRUE;
@@ -324,7 +324,7 @@ IMPL_LINK(ScrollBarManager, VerticalScrollBarHandler, ScrollBar*, pScrollBar)
IMPL_LINK(ScrollBarManager, HorizontalScrollBarHandler, ScrollBar*, pScrollBar)
{
- if (pScrollBar!=NULL
+ if (pScrollBar!=NULL
&& pScrollBar==mpHorizontalScrollBar.get()
&& pScrollBar->IsVisible()
&& mrSlideSorter.GetView().GetWindow()!=NULL)
@@ -542,15 +542,15 @@ void ScrollBarManager::CalcAutoScrollOffset (const Point& rMouseWindowPosition)
if (rMouseWindowPosition.X() < maScrollBorder.Width()
&& aWindowArea.Left() > aViewPixelArea.Left())
{
- nDx = -1 + (int)(mnHorizontalScrollFactor
+ nDx = -1 + (int)(mnHorizontalScrollFactor
* (rMouseWindowPosition.X() - maScrollBorder.Width()));
}
if (rMouseWindowPosition.X() >= (aWindowSize.Width() - maScrollBorder.Width())
&& aWindowArea.Right() < aViewPixelArea.Right())
{
- nDx = 1 + (int)(mnHorizontalScrollFactor
- * (rMouseWindowPosition.X() - aWindowSize.Width()
+ nDx = 1 + (int)(mnHorizontalScrollFactor
+ * (rMouseWindowPosition.X() - aWindowSize.Width()
+ maScrollBorder.Width()));
}
}
@@ -561,15 +561,15 @@ void ScrollBarManager::CalcAutoScrollOffset (const Point& rMouseWindowPosition)
if (rMouseWindowPosition.Y() < maScrollBorder.Height()
&& aWindowArea.Top() > aViewPixelArea.Top())
{
- nDy = -1 + (int)(mnVerticalScrollFactor
+ nDy = -1 + (int)(mnVerticalScrollFactor
* (rMouseWindowPosition.Y() - maScrollBorder.Height()));
}
if (rMouseWindowPosition.Y() >= (aWindowSize.Height() - maScrollBorder.Height())
&& aWindowArea.Bottom() < aViewPixelArea.Bottom())
{
- nDy = 1 + (int)(mnVerticalScrollFactor
- * (rMouseWindowPosition.Y() - aWindowSize.Height()
+ nDy = 1 + (int)(mnVerticalScrollFactor
+ * (rMouseWindowPosition.Y() - aWindowSize.Height()
+ maScrollBorder.Height()));
}
}
@@ -609,7 +609,7 @@ bool ScrollBarManager::RepeatAutoScroll (void)
if (mrSlideSorter.GetViewShell() != NULL)
{
mrSlideSorter.GetViewShell()->ScrollLines(
- maAutoScrollOffset.Width(),
+ maAutoScrollOffset.Width(),
maAutoScrollOffset.Height());
return true;
}
diff --git a/sd/source/ui/slidesorter/controller/SlsSelectionCommand.cxx b/sd/source/ui/slidesorter/controller/SlsSelectionCommand.cxx
index 905c3c3a7557..a6228a75df21 100644
--- a/sd/source/ui/slidesorter/controller/SlsSelectionCommand.cxx
+++ b/sd/source/ui/slidesorter/controller/SlsSelectionCommand.cxx
@@ -2,7 +2,7 @@
/*************************************************************************
*
* 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
@@ -68,10 +68,10 @@ void SelectionCommand::operator() (void)
OSL_ASSERT(mpCurrentSlideManager.get()!=NULL);
mrPageSelector.DeselectAllPages();
-
+
if (mnCurrentPageIndex >= 0)
mpCurrentSlideManager->SwitchCurrentSlide(mnCurrentPageIndex);
-
+
PageList::iterator iPage = maPagesToSelect.begin();
PageList::iterator iEnd = maPagesToSelect.end();
for (; iPage!=iEnd; ++iPage)
diff --git a/sd/source/ui/slidesorter/controller/SlsSelectionCommand.hxx b/sd/source/ui/slidesorter/controller/SlsSelectionCommand.hxx
index 8ca7f727ffa1..e42138a4f813 100644
--- a/sd/source/ui/slidesorter/controller/SlsSelectionCommand.hxx
+++ b/sd/source/ui/slidesorter/controller/SlsSelectionCommand.hxx
@@ -2,7 +2,7 @@
/*************************************************************************
*
* 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
diff --git a/sd/source/ui/slidesorter/controller/SlsSelectionFunction.cxx b/sd/source/ui/slidesorter/controller/SlsSelectionFunction.cxx
index c55e3dcc38b0..1a4f14be656c 100644
--- a/sd/source/ui/slidesorter/controller/SlsSelectionFunction.cxx
+++ b/sd/source/ui/slidesorter/controller/SlsSelectionFunction.cxx
@@ -2,7 +2,7 @@
/*************************************************************************
*
* 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
@@ -147,7 +147,7 @@ public:
sal_uInt32 mnEventCode;
EventDescriptor (
- sal_uInt32 nEventType,
+ sal_uInt32 nEventType,
const MouseEvent& rEvent,
SlideSorter& rSlideSorter);
EventDescriptor (
@@ -170,7 +170,7 @@ SelectionFunction::SelectionFunction (
mbProcessingMouseButtonDown(false),
mpSubstitutionHandler(new SubstitutionHandler(mrSlideSorter))
{
- //af aDelayToScrollTimer.SetTimeout(50);
+ //af aDelayToScrollTimer.SetTimeout(50);
aDragTimer.SetTimeoutHdl( LINK( this, SelectionFunction, DragSlideHdl ) );
}
@@ -231,7 +231,7 @@ BOOL SelectionFunction::MouseMove (const MouseEvent& rEvent)
else
aDragTimer.Stop();
}
-
+
Rectangle aRectangle (Point(0,0),mpWindow->GetOutputSizePixel());
if ( ! aRectangle.IsInside(aMousePosition)
&& rOverlay.GetSubstitutionOverlay().isVisible())
@@ -239,7 +239,7 @@ BOOL SelectionFunction::MouseMove (const MouseEvent& rEvent)
// Mouse left the window with pressed left button. Make it a drag.
StartDrag();
}
- else
+ else
{
// Call ProcessMouseEvent() only when one of the buttons is
// pressed. This prevents calling the method on every motion.
@@ -265,7 +265,7 @@ BOOL SelectionFunction::MouseButtonUp (const MouseEvent& rEvent)
if (aDragTimer.IsActive())
aDragTimer.Stop();
-
+
ProcessMouseEvent(BUTTON_UP, rEvent);
mbProcessingMouseButtonDown = false;
@@ -373,7 +373,7 @@ BOOL SelectionFunction::KeyInput (const KeyEvent& rEvent)
if (mrController.GetProperties()->IsUIReadOnly())
break;
- int nSelectedPagesCount = 0;
+ int nSelectedPagesCount = 0;
// Count the selected pages and look if there any objects on any
// of the selected pages so that we can warn the user and
@@ -398,7 +398,7 @@ BOOL SelectionFunction::KeyInput (const KeyEvent& rEvent)
if (rEvent.GetKeyCode().IsShift())
ProcessKeyEvent(rEvent);
break;
-
+
default:
break;
}
@@ -579,7 +579,7 @@ void SelectionFunction::ProcessRectangleSelection (bool bToggleSelection)
PageSelector& rSelector (mrController.GetPageSelector());
rOverlay.GetSelectionRectangleOverlay().setVisible(false);
-
+
// Select all pages whose page object lies completly inside the drag
// rectangle.
const Rectangle& rSelectionRectangle (
@@ -592,7 +592,7 @@ void SelectionFunction::ProcessRectangleSelection (bool bToggleSelection)
model::SharedPageDescriptor pDescriptor (aPages.GetNextElement());
Rectangle aPageBox (mrSlideSorter.GetView().GetPageBoundingBox(
pDescriptor,
- view::SlideSorterView::CS_MODEL,
+ view::SlideSorterView::CS_MODEL,
view::SlideSorterView::BBT_SHAPE));
if (rSelectionRectangle.IsOver(aPageBox))
{
@@ -773,7 +773,7 @@ void SelectionFunction::ProcessKeyEvent (const KeyEvent& rEvent)
// 1. Compute some frequently used values relating to the event.
::std::auto_ptr<EventDescriptor> pEventDescriptor (
new EventDescriptor(rEvent, mrSlideSorter));
-
+
// 2. Encode the event.
pEventDescriptor->mnEventCode = EncodeKeyEvent(*pEventDescriptor, rEvent);
@@ -904,7 +904,7 @@ bool SelectionFunction::EventProcessing (const EventDescriptor& rDescriptor)
case BUTTON_UP | LEFT_BUTTON | SINGLE_CLICK | OVER_UNSELECTED_PAGE | CONTROL_MODIFIER:
SelectHitPage(pHitDescriptor);
PrepareMouseMotion(mpWindow->PixelToLogic(rDescriptor.maMousePosition));
-
+
break;
// Range selection with the shift modifier.
@@ -1090,7 +1090,7 @@ void SelectionFunction::SwitchView (const model::SharedPageDescriptor& rpDescrip
//===== EventDescriptor =======================================================
SelectionFunction::EventDescriptor::EventDescriptor (
- sal_uInt32 nEventType,
+ sal_uInt32 nEventType,
const MouseEvent& rEvent,
SlideSorter& rSlideSorter)
: maMousePosition(),
diff --git a/sd/source/ui/slidesorter/controller/SlsSelectionManager.cxx b/sd/source/ui/slidesorter/controller/SlsSelectionManager.cxx
index e42bc19bb3cf..77e39f48156b 100644
--- a/sd/source/ui/slidesorter/controller/SlsSelectionManager.cxx
+++ b/sd/source/ui/slidesorter/controller/SlsSelectionManager.cxx
@@ -2,7 +2,7 @@
/*************************************************************************
*
* 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
diff --git a/sd/source/ui/slidesorter/controller/SlsSlideFunction.cxx b/sd/source/ui/slidesorter/controller/SlsSlideFunction.cxx
index fdcb02f35946..800586e3a1ef 100644
--- a/sd/source/ui/slidesorter/controller/SlsSlideFunction.cxx
+++ b/sd/source/ui/slidesorter/controller/SlsSlideFunction.cxx
@@ -2,7 +2,7 @@
/*************************************************************************
*
* 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
@@ -47,7 +47,7 @@ SlideFunction::SlideFunction (
SfxRequest& rRequest)
: FuPoor (
rSlideSorter.GetViewShell(),
- rSlideSorter.GetView().GetWindow(),
+ rSlideSorter.GetView().GetWindow(),
&rSlideSorter.GetView(),
rSlideSorter.GetModel().GetDocument(),
rRequest)
diff --git a/sd/source/ui/slidesorter/controller/SlsSlotManager.cxx b/sd/source/ui/slidesorter/controller/SlsSlotManager.cxx
index fd90023c6b92..6fb08e4e24f7 100644
--- a/sd/source/ui/slidesorter/controller/SlsSlotManager.cxx
+++ b/sd/source/ui/slidesorter/controller/SlsSlotManager.cxx
@@ -2,7 +2,7 @@
/*************************************************************************
*
* 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
@@ -293,7 +293,7 @@ void SlotManager::FuPermanent (SfxRequest& rRequest)
}
//! das ist nur bis das ENUM-Slots sind
- // Invalidate( SID_OBJECT_SELECT );
+ // Invalidate( SID_OBJECT_SELECT );
}
void SlotManager::FuSupport (SfxRequest& rRequest)
@@ -615,7 +615,7 @@ void SlotManager::GetMenuState ( SfxItemSet& rSet)
break;
}
}
-
+
PageKind ePageKind = mrSlideSorter.GetModel().GetPageType();
if( (eEditMode == EM_MASTERPAGE) && (ePageKind != PK_HANDOUT ) )
{
@@ -760,10 +760,10 @@ void SlotManager::GetStatusBarState (SfxItemSet& rSet)
if( SFX_ITEM_AVAILABLE == rSet.GetItemState( SID_STATUS_PAGE ) ||
SFX_ITEM_AVAILABLE == rSet.GetItemState( SID_STATUS_LAYOUT ) )
*/
- SdPage* pPage = NULL;
+ SdPage* pPage = NULL;
SdPage* pFirstPage = NULL;
- USHORT nFirstPage;
- USHORT nSelectedPages = (USHORT)mrSlideSorter.GetController().GetPageSelector().GetSelectedPageCount();
+ USHORT nFirstPage;
+ USHORT nSelectedPages = (USHORT)mrSlideSorter.GetController().GetPageSelector().GetSelectedPageCount();
String aPageStr;
String aLayoutStr;
@@ -1025,7 +1025,7 @@ void SlotManager::InsertSlide (SfxRequest& rRequest)
= mrSlideSorter.GetController().GetSelectionManager()->GetInsertionPosition() - 1;
rSelector.SelectPage(nInsertionIndex);
}
-
+
// Select the last page when there is at least one page.
else if (rSelector.GetPageCount() > 0)
{
diff --git a/sd/source/ui/slidesorter/controller/SlsTransferable.cxx b/sd/source/ui/slidesorter/controller/SlsTransferable.cxx
index d39033ab67a5..a2da21e383d8 100644
--- a/sd/source/ui/slidesorter/controller/SlsTransferable.cxx
+++ b/sd/source/ui/slidesorter/controller/SlsTransferable.cxx
@@ -2,7 +2,7 @@
/*************************************************************************
*
* 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
@@ -37,8 +37,8 @@
namespace sd { namespace slidesorter { namespace controller {
Transferable::Transferable (
- SdDrawDocument* pSrcDoc,
- ::sd::View* pWorkView,
+ SdDrawDocument* pSrcDoc,
+ ::sd::View* pWorkView,
BOOL bInitOnGetData,
SlideSorterViewShell* pViewShell)
: SdTransferable (pSrcDoc, pWorkView, bInitOnGetData),
diff --git a/sd/source/ui/slidesorter/controller/SlsTransferable.hxx b/sd/source/ui/slidesorter/controller/SlsTransferable.hxx
index 84b522b5a3b7..1cf448511b9e 100644
--- a/sd/source/ui/slidesorter/controller/SlsTransferable.hxx
+++ b/sd/source/ui/slidesorter/controller/SlsTransferable.hxx
@@ -2,7 +2,7 @@
/*************************************************************************
*
* 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
@@ -32,10 +32,10 @@
#include "sdxfer.hxx"
class SdDrawDocument;
-namespace sd
+namespace sd
{
class pWorkView;
- namespace slidesorter
+ namespace slidesorter
{
class SlideSorterViewShell;
}
@@ -49,10 +49,10 @@ namespace sd { namespace slidesorter { namespace controller {
class Transferable
: public SdTransferable
{
-public:
+public:
Transferable (
- SdDrawDocument* pSrcDoc,
- ::sd::View* pWorkView,
+ SdDrawDocument* pSrcDoc,
+ ::sd::View* pWorkView,
BOOL bInitOnGetData,
SlideSorterViewShell* pViewShell);
diff --git a/sd/source/ui/slidesorter/inc/cache/SlsCacheContext.hxx b/sd/source/ui/slidesorter/inc/cache/SlsCacheContext.hxx
index de5fec6dadd8..fe70b2461658 100644
--- a/sd/source/ui/slidesorter/inc/cache/SlsCacheContext.hxx
+++ b/sd/source/ui/slidesorter/inc/cache/SlsCacheContext.hxx
@@ -2,7 +2,7 @@
/*************************************************************************
*
* 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
diff --git a/sd/source/ui/slidesorter/inc/cache/SlsPageCache.hxx b/sd/source/ui/slidesorter/inc/cache/SlsPageCache.hxx
index 0eadb8beec1c..95d9bf1be815 100644
--- a/sd/source/ui/slidesorter/inc/cache/SlsPageCache.hxx
+++ b/sd/source/ui/slidesorter/inc/cache/SlsPageCache.hxx
@@ -2,7 +2,7 @@
/*************************************************************************
*
* 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
diff --git a/sd/source/ui/slidesorter/inc/cache/SlsPageCacheManager.hxx b/sd/source/ui/slidesorter/inc/cache/SlsPageCacheManager.hxx
index a3150ff65df5..2416c99295b0 100644
--- a/sd/source/ui/slidesorter/inc/cache/SlsPageCacheManager.hxx
+++ b/sd/source/ui/slidesorter/inc/cache/SlsPageCacheManager.hxx
@@ -2,7 +2,7 @@
/*************************************************************************
*
* 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
@@ -92,7 +92,7 @@ public:
/** This is an information to the cache manager that the size of preview
bitmaps in the specified cache has changed.
-
+
*/
::boost::shared_ptr<Cache> ChangeSize (
const ::boost::shared_ptr<Cache>& rpCache,
@@ -135,7 +135,7 @@ private:
slide sorter.
*/
const sal_uInt32 mnMaximalRecentlyCacheCount;
-
+
PageCacheManager (void);
~PageCacheManager (void);
diff --git a/sd/source/ui/slidesorter/inc/controller/SlideSorterController.hxx b/sd/source/ui/slidesorter/inc/controller/SlideSorterController.hxx
index be2f09b58f73..4c7c8ac8edf5 100644
--- a/sd/source/ui/slidesorter/inc/controller/SlideSorterController.hxx
+++ b/sd/source/ui/slidesorter/inc/controller/SlideSorterController.hxx
@@ -2,7 +2,7 @@
/*************************************************************************
*
* 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
@@ -79,7 +79,7 @@ public:
*/
SlideSorterController (SlideSorter& rSlideSorter);
- /** Late initialization. Call this method once a new new object has been
+ /** Late initialization. Call this method once a new new object has been
created.
*/
virtual void Init (void);
@@ -139,7 +139,7 @@ public:
void FuPermanent (SfxRequest& rRequest);
void FuSupport (SfxRequest& rRequest);
bool Command (
- const CommandEvent& rEvent,
+ const CommandEvent& rEvent,
::sd::Window* pWindow);
void GetCtrlState (SfxItemSet &rSet);
diff --git a/sd/source/ui/slidesorter/inc/controller/SlsAnimator.hxx b/sd/source/ui/slidesorter/inc/controller/SlsAnimator.hxx
index 3fa16dee7f65..75660b90f174 100644
--- a/sd/source/ui/slidesorter/inc/controller/SlsAnimator.hxx
+++ b/sd/source/ui/slidesorter/inc/controller/SlsAnimator.hxx
@@ -2,7 +2,7 @@
/*************************************************************************
*
* 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
diff --git a/sd/source/ui/slidesorter/inc/controller/SlsClipboard.hxx b/sd/source/ui/slidesorter/inc/controller/SlsClipboard.hxx
index a475b7a7166b..20d0e788f31e 100644
--- a/sd/source/ui/slidesorter/inc/controller/SlsClipboard.hxx
+++ b/sd/source/ui/slidesorter/inc/controller/SlsClipboard.hxx
@@ -2,7 +2,7 @@
/*************************************************************************
*
* 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
@@ -85,16 +85,16 @@ public:
sal_Int8 AcceptDrop (
const AcceptDropEvent& rEvt,
- DropTargetHelper& rTargetHelper,
- ::sd::Window* pTargetWindow = NULL,
- USHORT nPage = SDRPAGE_NOTFOUND,
+ DropTargetHelper& rTargetHelper,
+ ::sd::Window* pTargetWindow = NULL,
+ USHORT nPage = SDRPAGE_NOTFOUND,
USHORT nLayer = SDRPAGE_NOTFOUND );
sal_Int8 ExecuteDrop (
- const ExecuteDropEvent& rEvt,
+ const ExecuteDropEvent& rEvt,
DropTargetHelper& rTargetHelper,
- ::sd::Window* pTargetWindow = NULL,
- USHORT nPage = SDRPAGE_NOTFOUND,
+ ::sd::Window* pTargetWindow = NULL,
+ USHORT nPage = SDRPAGE_NOTFOUND,
USHORT nLayer = SDRPAGE_NOTFOUND);
protected:
@@ -129,7 +129,7 @@ private:
bool mbUpdateSelectionPending;
void CreateSlideTransferable (
- ::Window* pWindow,
+ ::Window* pWindow,
bool bDrag);
/** Select the pages stored in the maPagesToSelect member. The list in
diff --git a/sd/source/ui/slidesorter/inc/controller/SlsCurrentSlideManager.hxx b/sd/source/ui/slidesorter/inc/controller/SlsCurrentSlideManager.hxx
index 6bc502be4768..769cb2372cca 100644
--- a/sd/source/ui/slidesorter/inc/controller/SlsCurrentSlideManager.hxx
+++ b/sd/source/ui/slidesorter/inc/controller/SlsCurrentSlideManager.hxx
@@ -2,7 +2,7 @@
/*************************************************************************
*
* 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
@@ -75,7 +75,7 @@ public:
/** Release all references to model data.
*/
void PrepareModelChange (void);
-
+
/** Modify inner state in reaction to a change of the SlideSorterModel.
*/
void HandleModelChange (void);
diff --git a/sd/source/ui/slidesorter/inc/controller/SlsFocusManager.hxx b/sd/source/ui/slidesorter/inc/controller/SlsFocusManager.hxx
index 9a3df93f5f96..f647f914e318 100644
--- a/sd/source/ui/slidesorter/inc/controller/SlsFocusManager.hxx
+++ b/sd/source/ui/slidesorter/inc/controller/SlsFocusManager.hxx
@@ -2,7 +2,7 @@
/*************************************************************************
*
* 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
@@ -48,7 +48,7 @@ namespace sd { namespace slidesorter { namespace controller {
focused state of the focus page can be toggled with the ToggleFocus()
method.
*/
-class FocusManager
+class FocusManager
{
public:
/** Create a new focus manager that operates on the pages of the model
@@ -174,7 +174,7 @@ public:
typically the tool bar with the close button.
*/
void SetFocusToToolBox (void);
-
+
/** Create an instance of this class to temporarily hide the focus
indicator. It is restored to its former visibility state when the
FocusHider is destroyed.
@@ -203,7 +203,7 @@ private:
bool mbPageIsFocused;
::std::vector<Link> maFocusChangeListeners;
-
+
/** Reset the focus state of the given descriptor and request a repaint
so that the focus indicator is hidden.
@param pDescriptor
diff --git a/sd/source/ui/slidesorter/inc/controller/SlsPageObjectFactory.hxx b/sd/source/ui/slidesorter/inc/controller/SlsPageObjectFactory.hxx
index db39444aea1f..fef75520ca22 100644
--- a/sd/source/ui/slidesorter/inc/controller/SlsPageObjectFactory.hxx
+++ b/sd/source/ui/slidesorter/inc/controller/SlsPageObjectFactory.hxx
@@ -2,7 +2,7 @@
/*************************************************************************
*
* 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
@@ -56,7 +56,7 @@ class Properties;
/** This class is a factory for the creation of objects that represent page
objects (shapes). This includes the contact objects of the drawing
layer.
-
+
<p>The factory methods are called by the model::PageDescriptor and the
standard implementations of the contact objects.</p>
diff --git a/sd/source/ui/slidesorter/inc/controller/SlsPageSelector.hxx b/sd/source/ui/slidesorter/inc/controller/SlsPageSelector.hxx
index 58c44698c7ec..11594a03a493 100644
--- a/sd/source/ui/slidesorter/inc/controller/SlsPageSelector.hxx
+++ b/sd/source/ui/slidesorter/inc/controller/SlsPageSelector.hxx
@@ -2,7 +2,7 @@
/*************************************************************************
*
* 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
@@ -86,7 +86,7 @@ public:
method is a subsitute for
SlideSorterModel::GetPageDescriptor(i)->IsSelected() is included
here to make this class more self contained.
- */
+ */
bool IsPageSelected (int nPageIndex);
/** Deselect the descriptor that is associated with the given page.
@@ -123,7 +123,7 @@ public:
works only when the page has not been de-selected in the mean time.
This method helps the view when it scrolls the selection into the
visible area.
- @return
+ @return
When the selection is empty or when the most recently selected
page has been deselected already (but other pages are still
selected) then NULL is returned, even when a selection did exist
@@ -173,7 +173,7 @@ private:
/// Anchor for a range selection.
model::SharedPageDescriptor mpSelectionAnchor;
model::SharedPageDescriptor mpCurrentPage;
-
+
void CountSelectedPages (void);
};
diff --git a/sd/source/ui/slidesorter/inc/controller/SlsProperties.hxx b/sd/source/ui/slidesorter/inc/controller/SlsProperties.hxx
index 7a6eeac00eba..905f5aeccc72 100644
--- a/sd/source/ui/slidesorter/inc/controller/SlsProperties.hxx
+++ b/sd/source/ui/slidesorter/inc/controller/SlsProperties.hxx
@@ -2,7 +2,7 @@
/*************************************************************************
*
* 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
diff --git a/sd/source/ui/slidesorter/inc/controller/SlsScrollBarManager.hxx b/sd/source/ui/slidesorter/inc/controller/SlsScrollBarManager.hxx
index 1f9e0552f1fb..d3c25c81025e 100644
--- a/sd/source/ui/slidesorter/inc/controller/SlsScrollBarManager.hxx
+++ b/sd/source/ui/slidesorter/inc/controller/SlsScrollBarManager.hxx
@@ -2,7 +2,7 @@
/*************************************************************************
*
* 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
@@ -53,7 +53,7 @@ namespace sd { namespace slidesorter { namespace controller {
/** Manage the horizontal and vertical scroll bars. Listen for events, set
their sizes, place them in the window, determine their visibilities.
-
+
<p>Handle auto scrolling, i.e. the scrolling of the window when the
mouse comes near the window border while dragging a selection.</p>
@@ -93,7 +93,7 @@ public:
into a cache for later reuse.
*/
void Disconnect (void);
-
+
/** Set up the scroll bar, i.e. thumb size and position. Call this
method when the content of the browser window changed, i.e. pages
were inserted or deleted, the layout or the zoom factor has
@@ -170,7 +170,7 @@ private:
objects of this class. It is given to the constructor.
*/
::boost::shared_ptr<ScrollBar> mpHorizontalScrollBar;
-
+
/** The vertical scroll bar. Note that is used but not owned by
objects of this class. It is given to the constructor.
*/
diff --git a/sd/source/ui/slidesorter/inc/controller/SlsSelectionFunction.hxx b/sd/source/ui/slidesorter/inc/controller/SlsSelectionFunction.hxx
index f0ff0e1dea52..f69f6e1fefa2 100644
--- a/sd/source/ui/slidesorter/inc/controller/SlsSelectionFunction.hxx
+++ b/sd/source/ui/slidesorter/inc/controller/SlsSelectionFunction.hxx
@@ -2,7 +2,7 @@
/*************************************************************************
*
* 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
@@ -48,24 +48,24 @@ namespace sd { namespace slidesorter { namespace controller {
class SlideSorterController;
-class SelectionFunction
+class SelectionFunction
: public SlideFunction
{
public:
TYPEINFO();
static FunctionReference Create( SlideSorter& rSlideSorter, SfxRequest& rRequest );
-
+
// Mouse- & Key-Events
virtual BOOL KeyInput(const KeyEvent& rKEvt);
virtual BOOL MouseMove(const MouseEvent& rMEvt);
virtual BOOL MouseButtonUp(const MouseEvent& rMEvt);
virtual BOOL MouseButtonDown(const MouseEvent& rMEvt);
virtual void Paint(const Rectangle&, ::sd::Window* );
-
- virtual void Activate(); // Function aktivieren
- virtual void Deactivate(); // Function deaktivieren
-
+
+ virtual void Activate(); // Function aktivieren
+ virtual void Deactivate(); // Function deaktivieren
+
virtual void ScrollStart();
virtual void ScrollEnd();
@@ -82,7 +82,7 @@ public:
This is used when a function gets a KEY_ESCAPE but can also
be called directly.
- @returns
+ @returns
true if a active function was aborted
*/
virtual bool cancel();
@@ -110,7 +110,7 @@ private:
/// Box of the insert marker in model coordinates.
Rectangle maInsertionMarkerBox;
-
+
/** We use this flag to filter out the cases where MouseMotion() is called
with a pressed mouse button but without a prior MouseButtonDown()
call. This is an indication that the mouse button was pressed over
diff --git a/sd/source/ui/slidesorter/inc/controller/SlsSelectionManager.hxx b/sd/source/ui/slidesorter/inc/controller/SlsSelectionManager.hxx
index 344adf3e8775..70cfc409214b 100644
--- a/sd/source/ui/slidesorter/inc/controller/SlsSelectionManager.hxx
+++ b/sd/source/ui/slidesorter/inc/controller/SlsSelectionManager.hxx
@@ -2,7 +2,7 @@
/*************************************************************************
*
* 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
@@ -58,7 +58,7 @@ public:
/** Create a new SelectionManger for the given slide sorter.
*/
SelectionManager (SlideSorter& rSlideSorter);
-
+
~SelectionManager (void);
/** Delete the currently selected slides. When this method returns the
@@ -80,7 +80,7 @@ public:
moved to the visible area of the slide sorter view.
*/
bool IsMakeSelectionVisiblePending (void) const;
-
+
enum SelectionHint { SH_FIRST, SH_LAST, SH_RECENT };
/** Try to make all currently selected page objects visible, i.e. set
diff --git a/sd/source/ui/slidesorter/inc/controller/SlsSlideFunction.hxx b/sd/source/ui/slidesorter/inc/controller/SlsSlideFunction.hxx
index ca7ee78c957d..3a1b46675673 100644
--- a/sd/source/ui/slidesorter/inc/controller/SlsSlideFunction.hxx
+++ b/sd/source/ui/slidesorter/inc/controller/SlsSlideFunction.hxx
@@ -2,7 +2,7 @@
/*************************************************************************
*
* 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
diff --git a/sd/source/ui/slidesorter/inc/controller/SlsSlotManager.hxx b/sd/source/ui/slidesorter/inc/controller/SlsSlotManager.hxx
index 083267da5c07..d56fc1b44388 100644
--- a/sd/source/ui/slidesorter/inc/controller/SlsSlotManager.hxx
+++ b/sd/source/ui/slidesorter/inc/controller/SlsSlotManager.hxx
@@ -2,7 +2,7 @@
/*************************************************************************
*
* 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
@@ -49,7 +49,7 @@ class Command;
/** This manager takes over the work of handling slot calls from the
controller of the slide sorter.
*/
-class SlotManager
+class SlotManager
{
public:
/** Create a new slot manager that handles slot calls for the controller
diff --git a/sd/source/ui/slidesorter/inc/model/SlideSorterModel.hxx b/sd/source/ui/slidesorter/inc/model/SlideSorterModel.hxx
index cef44ec61ac3..9cb743ffc174 100644
--- a/sd/source/ui/slidesorter/inc/model/SlideSorterModel.hxx
+++ b/sd/source/ui/slidesorter/inc/model/SlideSorterModel.hxx
@@ -2,7 +2,7 @@
/*************************************************************************
*
* 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
@@ -126,7 +126,7 @@ public:
*/
sal_Int32 GetIndex (
const ::com::sun::star::uno::Reference<com::sun::star::drawing::XDrawPage>& rxSlide) const;
-
+
/** Call this method after the document has changed its structure. This
will get the model in sync with the SdDrawDocument. This method
tries not to throw away to much information already gathered. This
diff --git a/sd/source/ui/slidesorter/inc/model/SlsEnumeration.hxx b/sd/source/ui/slidesorter/inc/model/SlsEnumeration.hxx
index fe4b1cc12506..ff3e45018957 100644
--- a/sd/source/ui/slidesorter/inc/model/SlsEnumeration.hxx
+++ b/sd/source/ui/slidesorter/inc/model/SlsEnumeration.hxx
@@ -2,7 +2,7 @@
/*************************************************************************
*
* 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
@@ -47,7 +47,7 @@ public:
virtual T GetNextElement (void) = 0;
virtual void Rewind (void) = 0;
virtual ::std::auto_ptr<Enumeration<T> > Clone (void) = 0;
-};
+};
} } } // end of namespace ::sd::slidesorter::model
diff --git a/sd/source/ui/slidesorter/inc/model/SlsPageDescriptor.hxx b/sd/source/ui/slidesorter/inc/model/SlsPageDescriptor.hxx
index d184777fa605..892b3b8171d3 100644
--- a/sd/source/ui/slidesorter/inc/model/SlsPageDescriptor.hxx
+++ b/sd/source/ui/slidesorter/inc/model/SlsPageDescriptor.hxx
@@ -2,7 +2,7 @@
/*************************************************************************
*
* 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
@@ -59,9 +59,9 @@ class SlideRenderer;
namespace css = ::com::sun::star;
-/** Each PageDescriptor object represents the preview of one draw page,
+/** Each PageDescriptor object represents the preview of one draw page,
slide, or master page of a Draw or Impress document as they are displayed
- in the slide sorter. This class gives access to some associated
+ in the slide sorter. This class gives access to some associated
information like prerendered preview or position on the screen.
<p>Bounding boxes of page objects come in four varieties:
@@ -79,7 +79,7 @@ public:
@param pPage
The page pointer can in some situations not be detected from
rxPage, e.g. after undo of page deletion. Therefore supply it
- seperately.
+ seperately.
@param nIndex
This index is displayed in the view as page number. It is not
necessaryily the page index (not even when you add or subtract 1
@@ -109,8 +109,8 @@ public:
/** Return <TRUE/> when the page object is fully or parially visible. */
bool IsVisible (void) const;
- /** Set the visible state that is returned by the IsVisible() method.
- This method is typically called by the view who renders the object
+ /** Set the visible state that is returned by the IsVisible() method.
+ This method is typically called by the view who renders the object
onto the screen.
*/
void SetVisible (bool bVisible);
@@ -184,9 +184,9 @@ private:
/// The factory that is used to create PageObject objects.
const controller::PageObjectFactory* mpPageObjectFactory;
-
+
/** The page object will be destroyed by the page into which it has
- been inserted.
+ been inserted.
*/
view::PageObject* mpPageObject;
diff --git a/sd/source/ui/slidesorter/inc/model/SlsPageEnumeration.hxx b/sd/source/ui/slidesorter/inc/model/SlsPageEnumeration.hxx
index 36a49f720589..abbd121c1d16 100644
--- a/sd/source/ui/slidesorter/inc/model/SlsPageEnumeration.hxx
+++ b/sd/source/ui/slidesorter/inc/model/SlsPageEnumeration.hxx
@@ -2,7 +2,7 @@
/*************************************************************************
*
* 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
@@ -120,7 +120,7 @@ private:
PageEnumeration (::std::auto_ptr<Enumeration<SharedPageDescriptor> > pImpl);
// Default constructor not implemented.
- PageEnumeration (void);
+ PageEnumeration (void);
};
} } } // end of namespace ::sd::slidesorter::model
diff --git a/sd/source/ui/slidesorter/inc/model/SlsPageEnumerationProvider.hxx b/sd/source/ui/slidesorter/inc/model/SlsPageEnumerationProvider.hxx
index 6f9923308374..f587586e5b60 100644
--- a/sd/source/ui/slidesorter/inc/model/SlsPageEnumerationProvider.hxx
+++ b/sd/source/ui/slidesorter/inc/model/SlsPageEnumerationProvider.hxx
@@ -2,7 +2,7 @@
/*************************************************************************
*
* 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
@@ -49,12 +49,12 @@ public:
selected slides of the given model.
*/
static PageEnumeration CreateSelectedPagesEnumeration (const SlideSorterModel& rModel);
-
+
/** The returned enumeration of slides iterates over the slides
(partially) inside the visible area.
*/
static PageEnumeration CreateVisiblePagesEnumeration (const SlideSorterModel& rModel);
-};
+};
} } } // end of namespace ::sd::slidesorter::model
diff --git a/sd/source/ui/slidesorter/inc/model/SlsSharedPageDescriptor.hxx b/sd/source/ui/slidesorter/inc/model/SlsSharedPageDescriptor.hxx
index 93bcf89215e6..746681530e9c 100644
--- a/sd/source/ui/slidesorter/inc/model/SlsSharedPageDescriptor.hxx
+++ b/sd/source/ui/slidesorter/inc/model/SlsSharedPageDescriptor.hxx
@@ -2,7 +2,7 @@
/*************************************************************************
*
* 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
diff --git a/sd/source/ui/slidesorter/inc/view/SlideSorterView.hxx b/sd/source/ui/slidesorter/inc/view/SlideSorterView.hxx
index b4cdfecbcd2e..d9ccff6451f4 100644
--- a/sd/source/ui/slidesorter/inc/view/SlideSorterView.hxx
+++ b/sd/source/ui/slidesorter/inc/view/SlideSorterView.hxx
@@ -2,7 +2,7 @@
/*************************************************************************
*
* 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
@@ -77,7 +77,7 @@ public:
@param rViewShell
This reference is simply passed to the base class and not used
by this class.
-
+
*/
SlideSorterView (SlideSorter& rSlideSorter);
@@ -187,7 +187,7 @@ public:
view::ViewOverlay& GetOverlay (void);
/** Set the bounding box of the insertion marker in model coordinates.
-
+
It will be painted as a dark rectangle that fills the given box.
*/
void SetInsertionMarker (const Rectangle& rBBox);
@@ -197,7 +197,7 @@ public:
void SetInsertionMarkerVisibility (bool bVisible);
/** Set the size and position of the selection rectangle.
-
+
It will be painted as a dashed rectangle.
*/
void SetSelectionRectangle (const Rectangle& rBox);
diff --git a/sd/source/ui/slidesorter/inc/view/SlsFontProvider.hxx b/sd/source/ui/slidesorter/inc/view/SlsFontProvider.hxx
index 82487471edb0..bef3a05c5706 100644
--- a/sd/source/ui/slidesorter/inc/view/SlsFontProvider.hxx
+++ b/sd/source/ui/slidesorter/inc/view/SlsFontProvider.hxx
@@ -2,7 +2,7 @@
/*************************************************************************
*
* 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
diff --git a/sd/source/ui/slidesorter/inc/view/SlsLayouter.hxx b/sd/source/ui/slidesorter/inc/view/SlsLayouter.hxx
index 22a614d65fe6..e5ed8f553799 100644
--- a/sd/source/ui/slidesorter/inc/view/SlsLayouter.hxx
+++ b/sd/source/ui/slidesorter/inc/view/SlsLayouter.hxx
@@ -2,7 +2,7 @@
/*************************************************************************
*
* 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
@@ -41,7 +41,7 @@ class Size;
namespace sd { namespace slidesorter { namespace view {
-/** Calculate the size and position of page objects displayed by a slide
+/** Calculate the size and position of page objects displayed by a slide
sorter. The layouter takes into account various input values:
1.) Size of the window in which the slide sorter is displayed.
2.) Desired and minimal and maximal widths of page objects.
@@ -55,7 +55,7 @@ namespace sd { namespace slidesorter { namespace view {
2.) The number of columns.
3.) The size of the enclosing page.
- <p>Sizes and lengths are all in pixel except where explicitly stated
+ <p>Sizes and lengths are all in pixel except where explicitly stated
otherwise.</p>
<p>The GetIndex... methods may return indices that are larger than or
@@ -115,7 +115,7 @@ public:
@param nMaximalColumnCount
The default value is 5.
*/
- void SetColumnCount (sal_Int32 nMinimalColumnCount,
+ void SetColumnCount (sal_Int32 nMinimalColumnCount,
sal_Int32 nMaximalColumnCount);
/** Central method of this class. It takes the input values and
@@ -134,12 +134,12 @@ public:
used to obtain valid values (<TRUE/>).
*/
bool RearrangeHorizontal (
- const Size& rWindowSize,
+ const Size& rWindowSize,
const Size& rPageObjectSize,
OutputDevice* pDevice,
const sal_uInt32 nPageCount);
bool RearrangeVertical (
- const Size& rWindowSize,
+ const Size& rWindowSize,
const Size& rPageObjectSize,
OutputDevice* pDevice);
@@ -187,7 +187,7 @@ public:
the right of the page object.
*/
Rectangle GetInsertionMarkerBox (
- sal_Int32 nIndex,
+ sal_Int32 nIndex,
bool bVertical,
bool bLeftOrTop) const;
@@ -268,12 +268,12 @@ public:
const DoublePoint&rLayouterPoint) const;
typedef ::std::vector<Rectangle> BackgroundRectangleList;
-
+
private:
- class ScreenAndModelValue {public:
+ class ScreenAndModelValue {public:
sal_Int32 mnScreen,mnModel;
explicit ScreenAndModelValue (sal_Int32 nScreen, sal_Int32 nModel = 0)
- : mnScreen(nScreen),mnModel(nModel) {}
+ : mnScreen(nScreen),mnModel(nModel) {}
};
ScreenAndModelValue mnRequestedLeftBorder;
ScreenAndModelValue mnRequestedRightBorder;
@@ -322,7 +322,7 @@ private:
row above or below respectively.
*/
sal_Int32 GetRowAtPosition (
- sal_Int32 nYPosition,
+ sal_Int32 nYPosition,
bool bIncludeBordersAndGaps,
GapMembership eGapMembership = GM_NONE) const;
@@ -342,13 +342,13 @@ private:
gap area with the column to the left or right respectively.
*/
sal_Int32 GetColumnAtPosition (
- sal_Int32 nXPosition,
+ sal_Int32 nXPosition,
bool bIncludeBordersAndGaps,
GapMembership eGapMembership = GM_NONE) const;
/** This method is typically called from GetRowAtPosition() and
GetColumnAtPosition() to handle a position that lies inside the gap
- between two adjacent rows or columns.
+ between two adjacent rows or columns.
@param nDistanceIntoGap
Vertical distance from the bottom of the upper row down into the
gap or or horizontal distance from the right edge right into the
diff --git a/sd/source/ui/slidesorter/inc/view/SlsPageObject.hxx b/sd/source/ui/slidesorter/inc/view/SlsPageObject.hxx
index 27207ed9570b..e58e48ca701c 100644
--- a/sd/source/ui/slidesorter/inc/view/SlsPageObject.hxx
+++ b/sd/source/ui/slidesorter/inc/view/SlsPageObject.hxx
@@ -2,7 +2,7 @@
/*************************************************************************
*
* 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
@@ -44,7 +44,7 @@ class PageObject
{
public:
PageObject (
- const Rectangle& rRect,
+ const Rectangle& rRect,
SdrPage* pPage,
const model::SharedPageDescriptor& rpDescriptor);
diff --git a/sd/source/ui/slidesorter/inc/view/SlsPageObjectViewContact.hxx b/sd/source/ui/slidesorter/inc/view/SlsPageObjectViewContact.hxx
index 815a9382b682..59033cd101c7 100644
--- a/sd/source/ui/slidesorter/inc/view/SlsPageObjectViewContact.hxx
+++ b/sd/source/ui/slidesorter/inc/view/SlsPageObjectViewContact.hxx
@@ -2,7 +2,7 @@
/*************************************************************************
*
* 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
@@ -53,16 +53,16 @@ class PageObjectViewContact
{
public:
PageObjectViewContact (
- SdrPageObj& rPageObj,
+ SdrPageObj& rPageObj,
const model::SharedPageDescriptor& rpDescriptor);
~PageObjectViewContact (void);
/** Create a ViewObjectContact object that buffers its output in a
- bitmap.
+ bitmap.
@return
Ownership of the new object passes to the caller.
*/
- virtual ::sdr::contact::ViewObjectContact&
+ virtual ::sdr::contact::ViewObjectContact&
CreateObjectSpecificViewObjectContact(
::sdr::contact::ObjectContact& rObjectContact);
diff --git a/sd/source/ui/slidesorter/inc/view/SlsPageObjectViewObjectContact.hxx b/sd/source/ui/slidesorter/inc/view/SlsPageObjectViewObjectContact.hxx
index 4040d31aa694..df3d69f14cc0 100644
--- a/sd/source/ui/slidesorter/inc/view/SlsPageObjectViewObjectContact.hxx
+++ b/sd/source/ui/slidesorter/inc/view/SlsPageObjectViewObjectContact.hxx
@@ -2,7 +2,7 @@
/*************************************************************************
*
* 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
@@ -78,7 +78,7 @@ public:
preview is created every time when requested.
*/
PageObjectViewObjectContact (
- ::sdr::contact::ObjectContact& rObjectContact,
+ ::sdr::contact::ObjectContact& rObjectContact,
::sdr::contact::ViewContact& rViewContact,
const ::boost::shared_ptr<cache::PageCache>& rpCache,
const ::boost::shared_ptr<controller::Properties>& rpProperties);
@@ -158,7 +158,7 @@ public:
enum CoordinateSystem { ModelCoordinateSystem, PixelCoordinateSystem };
/** Return the bounding box of the page object or one of its graphical
- parts.
+ parts.
@param rDevice
This device is used to translate between model and window
coordinates.
diff --git a/sd/source/ui/slidesorter/inc/view/SlsViewOverlay.hxx b/sd/source/ui/slidesorter/inc/view/SlsViewOverlay.hxx
index f4a0fbba4693..bebaf347726b 100644
--- a/sd/source/ui/slidesorter/inc/view/SlsViewOverlay.hxx
+++ b/sd/source/ui/slidesorter/inc/view/SlsViewOverlay.hxx
@@ -2,7 +2,7 @@
/*************************************************************************
*
* 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
@@ -193,7 +193,7 @@ protected:
private:
sal_Int32 mnInsertionIndex;
Rectangle maBoundingBox;
-
+
void SetPositionAndSize (const Rectangle& rBoundingBox);
};
@@ -242,7 +242,7 @@ private:
The view overlay itself simply gives access to the more specialized
classes that handle individual indicators.
-
+
*/
class ViewOverlay
{
diff --git a/sd/source/ui/slidesorter/model/SlideSorterModel.cxx b/sd/source/ui/slidesorter/model/SlideSorterModel.cxx
index d0fdf848f06f..27cb286cbd8f 100644
--- a/sd/source/ui/slidesorter/model/SlideSorterModel.cxx
+++ b/sd/source/ui/slidesorter/model/SlideSorterModel.cxx
@@ -2,7 +2,7 @@
/*************************************************************************
*
* 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
@@ -186,7 +186,7 @@ SharedPageDescriptor SlideSorterModel::GetPageDescriptor (
sal_Int32 SlideSorterModel::GetIndex (const Reference<drawing::XDrawPage>& rxSlide) const
{
::osl::MutexGuard aGuard (maMutex);
-
+
// First try to guess the right index.
Reference<beans::XPropertySet> xSet (rxSlide, UNO_QUERY);
if (xSet.is())
@@ -216,7 +216,7 @@ sal_Int32 SlideSorterModel::GetIndex (const Reference<drawing::XDrawPage>& rxSli
for (sal_Int32 nIndex=0; nIndex<nCount; ++nIndex)
{
SharedPageDescriptor pDescriptor (maPageDescriptors[nIndex]);
-
+
// Make sure that the descriptor exists. Without it the given slide
// can not be found.
if (pDescriptor.get() == NULL)
@@ -224,7 +224,7 @@ sal_Int32 SlideSorterModel::GetIndex (const Reference<drawing::XDrawPage>& rxSli
// Call GetPageDescriptor() to create the missing descriptor.
pDescriptor = GetPageDescriptor(nIndex,true);
}
-
+
if (pDescriptor->GetXDrawPage() == rxSlide)
return nIndex;
}
@@ -307,7 +307,7 @@ void SlideSorterModel::SetPageObjectFactory(
-const controller::PageObjectFactory&
+const controller::PageObjectFactory&
SlideSorterModel::GetPageObjectFactory (void) const
{
::osl::MutexGuard aGuard (maMutex);
diff --git a/sd/source/ui/slidesorter/model/SlsPageDescriptor.cxx b/sd/source/ui/slidesorter/model/SlsPageDescriptor.cxx
index 9a3ddc3ac8a0..a1a166c4f112 100644
--- a/sd/source/ui/slidesorter/model/SlsPageDescriptor.cxx
+++ b/sd/source/ui/slidesorter/model/SlsPageDescriptor.cxx
@@ -2,7 +2,7 @@
/*************************************************************************
*
* 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
@@ -204,7 +204,7 @@ void PageDescriptor::RemoveFocus (void)
-view::PageObjectViewObjectContact*
+view::PageObjectViewObjectContact*
PageDescriptor::GetViewObjectContact (void) const
{
return mpViewObjectContact;
diff --git a/sd/source/ui/slidesorter/model/SlsPageEnumeration.cxx b/sd/source/ui/slidesorter/model/SlsPageEnumeration.cxx
index 3eac80cbd5b0..797175cb85a1 100644
--- a/sd/source/ui/slidesorter/model/SlsPageEnumeration.cxx
+++ b/sd/source/ui/slidesorter/model/SlsPageEnumeration.cxx
@@ -2,7 +2,7 @@
/*************************************************************************
*
* 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
@@ -72,7 +72,7 @@ private:
inline void AdvanceToNextValidElement (void);
// Default constructor not implemented.
- PageEnumerationImpl (void);
+ PageEnumerationImpl (void);
// Assignment operator not implemented.
PageEnumerationImpl& operator= (const PageEnumerationImpl&);
};
@@ -92,10 +92,10 @@ PageEnumeration PageEnumeration::Create (
return PageEnumeration(::std::auto_ptr<Enumeration<SharedPageDescriptor> >(
new PageEnumerationImpl(rModel, rPredicate)));
}
-
-
-
-
+
+
+
+
PageEnumeration::PageEnumeration (
::std::auto_ptr<Enumeration<SharedPageDescriptor> > pImpl)
: mpImpl(pImpl)
@@ -199,7 +199,7 @@ PageEnumerationImpl::PageEnumerationImpl (
PageEnumerationImpl::PageEnumerationImpl (
- const SlideSorterModel& rModel,
+ const SlideSorterModel& rModel,
const PageEnumeration::PagePredicate& rPredicate,
int nIndex)
: mrModel(rModel),
diff --git a/sd/source/ui/slidesorter/model/SlsPageEnumerationProvider.cxx b/sd/source/ui/slidesorter/model/SlsPageEnumerationProvider.cxx
index 8d6ccdd0530a..15b44b1754ba 100644
--- a/sd/source/ui/slidesorter/model/SlsPageEnumerationProvider.cxx
+++ b/sd/source/ui/slidesorter/model/SlsPageEnumerationProvider.cxx
@@ -2,7 +2,7 @@
/*************************************************************************
*
* 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
@@ -57,7 +57,7 @@ class SelectedPagesPredicate
public:
bool operator() (const SharedPageDescriptor& rpDescriptor)
{
- return rpDescriptor->IsSelected();
+ return rpDescriptor->IsSelected();
}
};
diff --git a/sd/source/ui/slidesorter/shell/SlideSorter.cxx b/sd/source/ui/slidesorter/shell/SlideSorter.cxx
index 47f3f56bc1c9..7fa314ae34fb 100644
--- a/sd/source/ui/slidesorter/shell/SlideSorter.cxx
+++ b/sd/source/ui/slidesorter/shell/SlideSorter.cxx
@@ -2,7 +2,7 @@
/*************************************************************************
*
* 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
@@ -352,18 +352,18 @@ void SlideSorter::SetupListeners (void)
pParentWindow->AddEventListener(
LINK(
mpSlideSorterController.get(),
- controller::SlideSorterController,
+ controller::SlideSorterController,
WindowEventHandler));
pWindow->AddEventListener(
LINK(
mpSlideSorterController.get(),
- controller::SlideSorterController,
+ controller::SlideSorterController,
WindowEventHandler));
}
Application::AddEventListener(
LINK(
mpSlideSorterController.get(),
- controller::SlideSorterController,
+ controller::SlideSorterController,
WindowEventHandler));
mpSlideSorterController->GetScrollBarManager().Connect();
@@ -382,19 +382,19 @@ void SlideSorter::ReleaseListeners (void)
pWindow->RemoveEventListener(
LINK(mpSlideSorterController.get(),
- controller::SlideSorterController,
+ controller::SlideSorterController,
WindowEventHandler));
::Window* pParentWindow = pWindow->GetParent();
if (pParentWindow != NULL)
pParentWindow->RemoveEventListener(
LINK(mpSlideSorterController.get(),
- controller::SlideSorterController,
+ controller::SlideSorterController,
WindowEventHandler));
}
Application::RemoveEventListener(
LINK(mpSlideSorterController.get(),
- controller::SlideSorterController,
+ controller::SlideSorterController,
WindowEventHandler));
}
@@ -409,7 +409,7 @@ void SlideSorter::CreateModelViewController (void)
mpSlideSorterView.reset(CreateView());
DBG_ASSERT (mpSlideSorterView.get()!=NULL,
- "Can not create view for slide browser");
+ "Can not create view for slide browser");
mpSlideSorterController.reset(CreateController());
DBG_ASSERT (mpSlideSorterController.get()!=NULL,
@@ -511,7 +511,7 @@ bool SlideSorter::RelocateToWindow (::Window* pParentWindow)
if (mpViewShell != NULL)
mpViewShell->ViewShell::RelocateToParentWindow(pParentWindow);
-
+
SetupControls(mpViewShell->GetParentWindow());
SetupListeners();
diff --git a/sd/source/ui/slidesorter/shell/SlideSorterChildWindow.cxx b/sd/source/ui/slidesorter/shell/SlideSorterChildWindow.cxx
index 79b14e6f4ccd..28334244ca5a 100644
--- a/sd/source/ui/slidesorter/shell/SlideSorterChildWindow.cxx
+++ b/sd/source/ui/slidesorter/shell/SlideSorterChildWindow.cxx
@@ -2,7 +2,7 @@
/*************************************************************************
*
* 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
@@ -41,18 +41,18 @@ namespace sd { namespace slidesorter {
SlideSorterChildWindow::SlideSorterChildWindow (
::Window* pParentWindow,
- USHORT nId,
- SfxBindings* pBindings,
- SfxChildWinInfo* pInfo)
+ USHORT nId,
+ SfxBindings* pBindings,
+ SfxChildWinInfo* pInfo)
: SfxChildWindow (pParentWindow, nId)
{
pWindow = new SlideSorter (
- pBindings,
- this,
+ pBindings,
+ this,
pParentWindow);
eChildAlignment = SFX_ALIGN_LEFT;
static_cast<SfxDockingWindow*>(pWindow)->Initialize (pInfo);
- // SetHideNotDelete (TRUE);
+ // SetHideNotDelete (TRUE);
}
diff --git a/sd/source/ui/slidesorter/shell/SlideSorterChildWindow.src b/sd/source/ui/slidesorter/shell/SlideSorterChildWindow.src
index 829b18d63a97..490e9dde1c2b 100644
--- a/sd/source/ui/slidesorter/shell/SlideSorterChildWindow.src
+++ b/sd/source/ui/slidesorter/shell/SlideSorterChildWindow.src
@@ -1,7 +1,7 @@
/*************************************************************************
*
* 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
diff --git a/sd/source/ui/slidesorter/shell/SlideSorterService.cxx b/sd/source/ui/slidesorter/shell/SlideSorterService.cxx
index e24da73862e1..16c60e9f213f 100644
--- a/sd/source/ui/slidesorter/shell/SlideSorterService.cxx
+++ b/sd/source/ui/slidesorter/shell/SlideSorterService.cxx
@@ -2,7 +2,7 @@
/*************************************************************************
*
* 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
@@ -141,7 +141,7 @@ void SAL_CALL SlideSorterService::initialize (const Sequence<Any>& rArguments)
try
{
mxViewId = Reference<XResourceId>(rArguments[0], UNO_QUERY_THROW);
-
+
// Get the XController.
Reference<frame::XController> xController (rArguments[1], UNO_QUERY_THROW);
@@ -295,7 +295,7 @@ Reference<container::XIndexAccess> SAL_CALL SlideSorterService::getDocumentSlide
{
return mpSlideSorter->GetModel().GetDocumentSlides();
}
-
+
@@ -307,7 +307,7 @@ void SAL_CALL SlideSorterService::setDocumentSlides (
if (mpSlideSorter.get() != NULL && mpSlideSorter->IsValid())
mpSlideSorter->GetController().SetDocumentSlides(rxSlides);
}
-
+
@@ -421,7 +421,7 @@ sal_Bool SAL_CALL SlideSorterService::getIsSuspendPreviewUpdatesDuringFullScreen
return mpSlideSorter->GetController().GetProperties()
->IsSuspendPreviewUpdatesDuringFullScreenPresentation();
}
-
+
@@ -434,7 +434,7 @@ void SAL_CALL SlideSorterService::setIsSuspendPreviewUpdatesDuringFullScreenPres
mpSlideSorter->GetController().GetProperties()
->SetSuspendPreviewUpdatesDuringFullScreenPresentation(bValue);
}
-
+
@@ -447,7 +447,7 @@ sal_Bool SAL_CALL SlideSorterService::getIsOrientationVertical (void)
else
return mpSlideSorter->GetView().GetOrientation() == SlideSorterView::VERTICAL;
}
-
+
@@ -473,7 +473,7 @@ sal_Bool SAL_CALL SlideSorterService::getIsSmoothScrolling (void)
else
return mpSlideSorter->GetController().GetProperties()->IsSmoothSelectionScrolling();
}
-
+
diff --git a/sd/source/ui/slidesorter/shell/SlideSorterService.hxx b/sd/source/ui/slidesorter/shell/SlideSorterService.hxx
index 12f6d629266c..cbbee0e1c94a 100644
--- a/sd/source/ui/slidesorter/shell/SlideSorterService.hxx
+++ b/sd/source/ui/slidesorter/shell/SlideSorterService.hxx
@@ -2,7 +2,7 @@
/*************************************************************************
*
* 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
@@ -72,7 +72,7 @@ public:
// XInitialization
-
+
virtual void SAL_CALL initialize (const css::uno::Sequence<css::uno::Any>& rArguments)
throw (css::uno::Exception, css::uno::RuntimeException);
@@ -87,7 +87,7 @@ public:
// XWindowListener
-
+
virtual void SAL_CALL windowResized (const css::awt::WindowEvent& rEvent)
throw (css::uno::RuntimeException);
@@ -117,48 +117,48 @@ public:
// Attributes
-
+
virtual css::uno::Reference<css::container::XIndexAccess> SAL_CALL getDocumentSlides (void)
throw (css::uno::RuntimeException);
-
+
virtual void SAL_CALL setDocumentSlides (
const css::uno::Reference<css::container::XIndexAccess >& rxSlides)
throw (css::uno::RuntimeException);
-
+
virtual sal_Bool SAL_CALL getIsHighlightCurrentSlide (void)
throw (css::uno::RuntimeException);
-
+
virtual void SAL_CALL setIsHighlightCurrentSlide (::sal_Bool bIsHighlightCurrentSlide)
throw (css::uno::RuntimeException);
-
+
virtual sal_Bool SAL_CALL getIsShowSelection (void)
throw (css::uno::RuntimeException);
-
+
virtual void SAL_CALL setIsShowSelection (sal_Bool bIsShowSelection)
throw (css::uno::RuntimeException);
-
+
virtual sal_Bool SAL_CALL getIsCenterSelection (void)
throw (css::uno::RuntimeException);
-
+
virtual void SAL_CALL setIsCenterSelection (sal_Bool bIsCenterSelection)
throw (css::uno::RuntimeException);
-
+
virtual sal_Bool SAL_CALL getIsSuspendPreviewUpdatesDuringFullScreenPresentation (void)
throw (css::uno::RuntimeException);
-
+
virtual void SAL_CALL setIsSuspendPreviewUpdatesDuringFullScreenPresentation (
sal_Bool bIsSuspendPreviewUpdatesDuringFullScreenPresentation)
throw (css::uno::RuntimeException);
-
+
virtual sal_Bool SAL_CALL getIsOrientationVertical (void)
throw (css::uno::RuntimeException);
-
+
virtual void SAL_CALL setIsOrientationVertical (sal_Bool bIsOrientationVertical)
throw (css::uno::RuntimeException);
virtual sal_Bool SAL_CALL getIsSmoothScrolling (void)
throw (css::uno::RuntimeException);
-
+
virtual void SAL_CALL setIsSmoothScrolling (sal_Bool bIsOrientationVertical)
throw (css::uno::RuntimeException);
@@ -203,7 +203,7 @@ private:
css::uno::Reference<css::drawing::framework::XResourceId> mxViewId;
css::uno::Reference<css::awt::XWindow> mxParentWindow;
::boost::scoped_ptr<cppu::IPropertyArrayHelper> mpPropertyArrayHelper;
-
+
void Resize (void);
/** This method throws a DisposedException when the object has already been
diff --git a/sd/source/ui/slidesorter/shell/SlideSorterViewShell.cxx b/sd/source/ui/slidesorter/shell/SlideSorterViewShell.cxx
index 61efa5ebd1a3..afdc634c54d2 100644
--- a/sd/source/ui/slidesorter/shell/SlideSorterViewShell.cxx
+++ b/sd/source/ui/slidesorter/shell/SlideSorterViewShell.cxx
@@ -2,7 +2,7 @@
/*************************************************************************
*
* 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
@@ -71,7 +71,7 @@
#include <cppuhelper/bootstrap.hxx>
#include <comphelper/processfactory.hxx>
-using namespace ::sd::slidesorter;
+using namespace ::sd::slidesorter;
#define SlideSorterViewShell
#include "sdslots.hxx"
@@ -95,7 +95,7 @@ TYPEINIT1(SlideSorterViewShell, ViewShell);
::boost::shared_ptr<SlideSorterViewShell> SlideSorterViewShell::Create (
- SfxViewFrame* pFrame,
+ SfxViewFrame* pFrame,
ViewShellBase& rViewShellBase,
::Window* pParentWindow,
FrameView* pFrameViewArgument)
@@ -120,7 +120,7 @@ TYPEINIT1(SlideSorterViewShell, ViewShell);
SlideSorterViewShell::SlideSorterViewShell (
- SfxViewFrame* pFrame,
+ SfxViewFrame* pFrame,
ViewShellBase& rViewShellBase,
::Window* pParentWindow,
FrameView* pFrameViewArgument)
@@ -216,7 +216,7 @@ void SlideSorterViewShell::Init (bool bIsMainViewShell)
SlideSorterViewShell* SlideSorterViewShell::GetSlideSorter (ViewShellBase& rBase)
{
SlideSorterViewShell* pViewShell = NULL;
-
+
// Test the center, left, and then the right pane for showing a slide sorter.
::rtl::OUString aPaneURLs[] = {
FrameworkHelper::msCenterPaneURL,
@@ -257,7 +257,7 @@ Reference<drawing::XDrawSubController> SlideSorterViewShell::CreateSubController
*mpSlideSorter,
*GetView()));
}
-
+
return xSubController;
}
@@ -363,10 +363,10 @@ SdPage* SlideSorterViewShell::getCurrentPage(void) const
-SdPage* SlideSorterViewShell::GetActualPage (void)
+SdPage* SlideSorterViewShell::GetActualPage (void)
{
SdPage* pCurrentPage = NULL;
-
+
// 1. Try to get the current page from the view shell in the center pane
// (if we are that not ourself).
if ( ! IsMainViewShell())
@@ -375,7 +375,7 @@ SdPage* SlideSorterViewShell::GetActualPage (void)
if (pMainViewShell.get() != NULL)
pCurrentPage = pMainViewShell->GetActualPage();
}
-
+
if (pCurrentPage == NULL)
{
model::SharedPageDescriptor pDescriptor (
@@ -383,7 +383,7 @@ SdPage* SlideSorterViewShell::GetActualPage (void)
if (pDescriptor.get() != NULL)
pCurrentPage = pDescriptor->GetPage();
}
-
+
return pCurrentPage;
}
@@ -514,7 +514,7 @@ void SlideSorterViewShell::PrePaint()
void SlideSorterViewShell::Paint (
- const Rectangle& rBBox,
+ const Rectangle& rBBox,
::sd::Window* pWindow)
{
SetActiveWindow (pWindow);
@@ -547,7 +547,7 @@ SvBorder SlideSorterViewShell::GetBorder (bool )
void SlideSorterViewShell::Command (
- const CommandEvent& rEvent,
+ const CommandEvent& rEvent,
::sd::Window* pWindow)
{
OSL_ASSERT(mpSlideSorter.get()!=NULL);
@@ -577,7 +577,7 @@ void SlideSorterViewShell::ReadFrameViewData (FrameView* pFrameView)
else
rView.GetLayouter().SetColumnCount(nSlidesPerRow,nSlidesPerRow);
mpSlideSorter->GetController().Rearrange(true);
-
+
// DrawMode for 'main' window
if (GetActiveWindow()->GetDrawMode() != pFrameView->GetDrawMode() )
GetActiveWindow()->SetDrawMode( pFrameView->GetDrawMode() );
@@ -688,7 +688,7 @@ void SlideSorterViewShell::StartDrag (
{
OSL_ASSERT(mpSlideSorter.get()!=NULL);
mpSlideSorter->GetController().GetClipboard().StartDrag (
- rDragPt,
+ rDragPt,
pWindow);
}
@@ -707,14 +707,14 @@ void SlideSorterViewShell::DragFinished (
sal_Int8 SlideSorterViewShell::AcceptDrop (
const AcceptDropEvent& rEvt,
- DropTargetHelper& rTargetHelper,
- ::sd::Window* pTargetWindow,
- USHORT nPage,
+ DropTargetHelper& rTargetHelper,
+ ::sd::Window* pTargetWindow,
+ USHORT nPage,
USHORT nLayer)
{
OSL_ASSERT(mpSlideSorter.get()!=NULL);
return mpSlideSorter->GetController().GetClipboard().AcceptDrop (
- rEvt,
+ rEvt,
rTargetHelper,
pTargetWindow,
nPage,
@@ -725,15 +725,15 @@ sal_Int8 SlideSorterViewShell::AcceptDrop (
sal_Int8 SlideSorterViewShell::ExecuteDrop (
- const ExecuteDropEvent& rEvt,
+ const ExecuteDropEvent& rEvt,
DropTargetHelper& rTargetHelper,
- ::sd::Window* pTargetWindow,
- USHORT nPage,
+ ::sd::Window* pTargetWindow,
+ USHORT nPage,
USHORT nLayer)
{
OSL_ASSERT(mpSlideSorter.get()!=NULL);
return mpSlideSorter->GetController().GetClipboard().ExecuteDrop (
- rEvt,
+ rEvt,
rTargetHelper,
pTargetWindow,
nPage,
diff --git a/sd/source/ui/slidesorter/view/SlideSorterView.cxx b/sd/source/ui/slidesorter/view/SlideSorterView.cxx
index 50ac6db334c7..134b59e6192a 100644
--- a/sd/source/ui/slidesorter/view/SlideSorterView.cxx
+++ b/sd/source/ui/slidesorter/view/SlideSorterView.cxx
@@ -2,7 +2,7 @@
/*************************************************************************
*
* 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
@@ -85,8 +85,8 @@ TYPEINIT1(SlideSorterView, ::sd::View);
SlideSorterView::SlideSorterView (SlideSorter& rSlideSorter)
: ::sd::View (
- rSlideSorter.GetModel().GetDocument(),
- NULL,
+ rSlideSorter.GetModel().GetDocument(),
+ NULL,
rSlideSorter.GetViewShell()),
mrSlideSorter(rSlideSorter),
mrModel(rSlideSorter.GetModel()),
@@ -140,7 +140,7 @@ SlideSorterView::~SlideSorterView (void)
}
mpPreviewCache.reset();
- // hide the page to avoid problems in the view when deleting
+ // hide the page to avoid problems in the view when deleting
// visualized objects
HideSdrPage();
@@ -154,7 +154,7 @@ SlideSorterView::~SlideSorterView (void)
sal_Int32 SlideSorterView::GetPageIndexAtPoint (const Point& rPosition) const
{
sal_Int32 nIndex (-1);
-
+
::sd::Window* pWindow = GetWindow();
if (pWindow != NULL)
{
@@ -204,8 +204,8 @@ void SlideSorterView::LocalModelHasChanged(void)
// Initialize everything that depends on a page view, now that we have
// one.
- // SetApplicationDocumentColor(
- // Application::GetSettings().GetStyleSettings().GetWindowColor());
+ // SetApplicationDocumentColor(
+ // Application::GetSettings().GetStyleSettings().GetWindowColor());
UpdatePageBorders();
}
@@ -284,7 +284,7 @@ void SlideSorterView::HandleDrawModeChange (void)
new controller::PageObjectFactory(
GetPreviewCache(),
mrSlideSorter.GetController().GetProperties())));
-
+
RequestRepaint();
}
@@ -354,13 +354,13 @@ void SlideSorterView::Layout ()
SdrPageObj* pPageObject = pDescriptor->GetPageObject();
Rectangle aPageObjectBox (mpLayouter->GetPageObjectBox (nIndex));
pPageObject->SetSnapRect(aPageObjectBox);
-
+
nIndex += 1;
}
// Set the page so that it encloses all page objects.
mpPage->SetSize (aViewBox.GetSize());
}
-
+
InvalidatePageObjectVisibilities ();
}
@@ -388,14 +388,14 @@ void SlideSorterView::DeterminePageObjectVisibilities (void)
Point(0,0),
pWindow->GetSizePixel());
aViewArea = pWindow->PixelToLogic (aViewArea);
- int nFirstIndex =
+ int nFirstIndex =
mpLayouter->GetIndexOfFirstVisiblePageObject (aViewArea);
- int nLastIndex =
+ int nLastIndex =
mpLayouter->GetIndexOfLastVisiblePageObject (aViewArea);
// For page objects that just dropped off the visible area we
// decrease the priority of pending requests for preview bitmaps.
-
+
int nMinIndex = ::std::min (mnFirstVisiblePageIndex, nFirstIndex);
int nMaxIndex = ::std::max (mnLastVisiblePageIndex, nLastIndex);
if (mnFirstVisiblePageIndex!=nFirstIndex || mnLastVisiblePageIndex!=nLastIndex)
@@ -433,7 +433,7 @@ void SlideSorterView::DeterminePageObjectVisibilities (void)
// Tell the listeners that the visibility of some objects has changed.
::std::vector<Link> aChangeListeners (maVisibilityChangeListeners);
- for (::std::vector<Link>::const_iterator
+ for (::std::vector<Link>::const_iterator
iListener=aChangeListeners.begin(),
iEnd=aChangeListeners.end();
iListener!=iEnd;
@@ -442,7 +442,7 @@ void SlideSorterView::DeterminePageObjectVisibilities (void)
iListener->Call(NULL);
}
}
- }
+ }
}
@@ -457,7 +457,7 @@ void SlideSorterView::UpdatePreciousFlags (void)
model::SharedPageDescriptor pDescriptor;
::boost::shared_ptr<cache::PageCache> pCache = GetPreviewCache();
sal_Int32 nPageCount (mrModel.GetPageCount());
-
+
for (int nIndex=0; nIndex<=nPageCount; ++nIndex)
{
pDescriptor = mrModel.GetPageDescriptor(nIndex);
@@ -599,7 +599,7 @@ void SlideSorterView::CompleteRedraw(OutputDevice* pDevice, const Region& rPaint
void SlideSorterView::InvalidateOneWin (::Window& rWindow)
{
- // if ( IsInvalidateAllowed() )
+ // if ( IsInvalidateAllowed() )
View::InvalidateOneWin (rWindow);
}
@@ -607,10 +607,10 @@ void SlideSorterView::InvalidateOneWin (::Window& rWindow)
void SlideSorterView::InvalidateOneWin (
- ::Window& rWindow,
+ ::Window& rWindow,
const Rectangle& rPaintArea)
{
- // if( IsInvalidateAllowed() )
+ // if( IsInvalidateAllowed() )
View::InvalidateOneWin (rWindow, rPaintArea);
}
@@ -642,7 +642,7 @@ void SlideSorterView::AdaptBoundingBox (
{
// The relevant offsets are given in pixel values. Therefore
// transform the box first into screen coordinates.
- rModelPageObjectBoundingBox
+ rModelPageObjectBoundingBox
= pWindow->LogicToPixel (rModelPageObjectBoundingBox);
aCurrentCoordinateSystem = CS_SCREEN;
}
@@ -657,10 +657,10 @@ void SlideSorterView::AdaptBoundingBox (
if (eCoordinateSystem != aCurrentCoordinateSystem)
{
if (eCoordinateSystem == CS_MODEL)
- rModelPageObjectBoundingBox
+ rModelPageObjectBoundingBox
= pWindow->PixelToLogic (rModelPageObjectBoundingBox);
else
- rModelPageObjectBoundingBox
+ rModelPageObjectBoundingBox
= pWindow->LogicToPixel (rModelPageObjectBoundingBox);
}
}
@@ -721,7 +721,7 @@ void SlideSorterView::Notify (SfxBroadcaster& rBroadcaster, const SfxHint& rHint
void SlideSorterView::UpdatePageBorders (void)
-{
+{
maPagePixelBorder = SvBorder();
::sd::Window* pWindow = GetWindow();
if (mrModel.GetPageCount()>0 && pWindow!=NULL)
@@ -746,7 +746,7 @@ void SlideSorterView::UpdatePageBorders (void)
maModelBorder.Top() += aBorderSize.Height();
maModelBorder.Bottom() += aBorderSize.Height();
}
-
+
// Set the border at all page descriptors so that the contact
// objects have access to them.
model::PageEnumeration aPageEnumeration (
diff --git a/sd/source/ui/slidesorter/view/SlsFontProvider.cxx b/sd/source/ui/slidesorter/view/SlsFontProvider.cxx
index de4a42483a37..faaad4c3baed 100644
--- a/sd/source/ui/slidesorter/view/SlsFontProvider.cxx
+++ b/sd/source/ui/slidesorter/view/SlsFontProvider.cxx
@@ -2,7 +2,7 @@
/*************************************************************************
*
* 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
@@ -114,11 +114,11 @@ FontProvider::SharedFontPointer FontProvider::GetFont (const OutputDevice& rDevi
maFont.reset(new Font (Application::GetSettings().GetStyleSettings().GetAppFont()));
maFont->SetTransparent(TRUE);
maFont->SetWeight(WEIGHT_NORMAL);
-
+
// Transform the point size to pixel size.
MapMode aFontMapMode (MAP_POINT);
Size aFontSize (rDevice.LogicToPixel(maFont->GetSize(), aFontMapMode));
-
+
// Transform the font size to the logical coordinates of the device.
maFont->SetSize (rDevice.PixelToLogic(aFontSize));
@@ -126,7 +126,7 @@ FontProvider::SharedFontPointer FontProvider::GetFont (const OutputDevice& rDevi
// devices or modified zoom scales on future calls.
maMapMode = rDevice.GetMapMode();
}
-
+
return maFont;
}
diff --git a/sd/source/ui/slidesorter/view/SlsLayouter.cxx b/sd/source/ui/slidesorter/view/SlsLayouter.cxx
index 698693b1be0d..d967a191df2b 100644
--- a/sd/source/ui/slidesorter/view/SlsLayouter.cxx
+++ b/sd/source/ui/slidesorter/view/SlsLayouter.cxx
@@ -2,7 +2,7 @@
/*************************************************************************
*
* 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
@@ -73,9 +73,9 @@ Layouter::~Layouter (void)
void Layouter::SetBorders (
- sal_Int32 nLeftBorder,
+ sal_Int32 nLeftBorder,
sal_Int32 nRightBorder,
- sal_Int32 nTopBorder,
+ sal_Int32 nTopBorder,
sal_Int32 nBottomBorder)
{
if (nLeftBorder >= 0)
@@ -92,9 +92,9 @@ void Layouter::SetBorders (
void Layouter::SetPageBorders (
- sal_Int32 nLeftBorder,
+ sal_Int32 nLeftBorder,
sal_Int32 nRightBorder,
- sal_Int32 nTopBorder,
+ sal_Int32 nTopBorder,
sal_Int32 nBottomBorder)
{
if (nLeftBorder >= 0)
@@ -111,7 +111,7 @@ void Layouter::SetPageBorders (
void Layouter::SetColumnCount (
- sal_Int32 nMinimalColumnCount,
+ sal_Int32 nMinimalColumnCount,
sal_Int32 nMaximalColumnCount)
{
if (nMinimalColumnCount <= nMaximalColumnCount)
@@ -171,11 +171,11 @@ bool Layouter::RearrangeHorizontal (
sal_uInt32 nTargetHeight = 0;
sal_uInt32 nRowCount = 1;
if (mnColumnCount > 0)
- nTargetHeight = (rWindowSize.Height()
+ nTargetHeight = (rWindowSize.Height()
- mnTopBorder.mnScreen
- mnBottomBorder.mnScreen
- - nRowCount * (mnTopPageBorder.mnScreen
- + mnBottomPageBorder.mnScreen)
+ - nRowCount * (mnTopPageBorder.mnScreen
+ + mnBottomPageBorder.mnScreen)
- (nRowCount-1) * mnTotalVerticalGap.mnScreen
)
/ nRowCount;
@@ -197,7 +197,7 @@ bool Layouter::RearrangeHorizontal (
pDevice->SetMapMode (aMapMode);
// Calculate the resulting scale factor and the page object size in
- // pixels.
+ // pixels.
maPageObjectModelSize = rPageObjectSize;
int nPagePixelHeight (pDevice->LogicToPixel(maPageObjectModelSize).Height());
@@ -232,7 +232,7 @@ bool Layouter::RearrangeVertical (
+ mnTopPageBorder.mnScreen + mnBottomPageBorder.mnScreen;
// Calculate the column count.
- mnColumnCount = (rWindowSize.Width()
+ mnColumnCount = (rWindowSize.Width()
- mnRequestedLeftBorder.mnScreen - mnRequestedRightBorder.mnScreen)
/ (mnPreferredWidth + mnTotalHorizontalGap.mnScreen);
if (mnColumnCount < mnMinimalColumnCount)
@@ -267,11 +267,11 @@ bool Layouter::RearrangeVertical (
// Calculate the width of each page object.
sal_Int32 nTargetWidth = 0;
if (mnColumnCount > 0)
- nTargetWidth = (rWindowSize.Width()
+ nTargetWidth = (rWindowSize.Width()
- mnLeftBorder.mnScreen
- mnRightBorder.mnScreen
- - mnColumnCount * (mnRightPageBorder.mnScreen
- + mnLeftPageBorder.mnScreen)
+ - mnColumnCount * (mnRightPageBorder.mnScreen
+ + mnLeftPageBorder.mnScreen)
- (mnColumnCount-1) * mnTotalHorizontalGap.mnScreen
)
/ mnColumnCount;
@@ -289,7 +289,7 @@ bool Layouter::RearrangeVertical (
pDevice->SetMapMode (aMapMode);
// Calculate the resulting scale factor and the page object size in
- // pixels.
+ // pixels.
maPageObjectModelSize = rPageObjectSize;
int nPagePixelWidth (pDevice->LogicToPixel (maPageObjectModelSize).Width());
@@ -354,7 +354,7 @@ void Layouter::SetZoom (Fraction nZoomFactor, OutputDevice* pDevice)
mnRightPageBorder.mnModel = aBottomRightPageBorder.Width();
mnBottomPageBorder.mnModel = aBottomRightPageBorder.Height();
- mnInsertionMarkerThickness.mnModel = pDevice->PixelToLogic (
+ mnInsertionMarkerThickness.mnModel = pDevice->PixelToLogic (
Size(mnInsertionMarkerThickness.mnScreen,0)).Width();
}
@@ -382,7 +382,7 @@ Rectangle Layouter::GetPageObjectBox (sal_Int32 nIndex) const
int nColumn = nIndex % mnColumnCount;
int nRow = nIndex / mnColumnCount;
return Rectangle (
- Point (mnLeftBorder.mnModel
+ Point (mnLeftBorder.mnModel
+ nColumn * maPageObjectModelSize.Width()
+ mnLeftPageBorder.mnModel
+ (nColumn>0 ? nColumn : 0) * mnTotalHorizontalGap.mnModel,
@@ -403,20 +403,20 @@ Rectangle Layouter::GetPageBox (sal_Int32 nObjectCount) const
if (mnColumnCount > 0)
{
sal_Int32 nRowCount = (nObjectCount+mnColumnCount-1) / mnColumnCount;
- nHorizontalSize =
+ nHorizontalSize =
mnLeftBorder.mnModel
+ mnRightBorder.mnModel
+ mnColumnCount * maPageObjectModelSize.Width()
+ mnLeftPageBorder.mnModel + mnRightPageBorder.mnModel;
if (mnColumnCount > 1)
- nHorizontalSize
+ nHorizontalSize
+= (mnColumnCount-1) * mnTotalHorizontalGap.mnModel;
- nVerticalSize =
+ nVerticalSize =
mnTopBorder.mnModel
+ mnBottomBorder.mnModel
+ nRowCount * maPageObjectModelSize.Height()
+ mnTopPageBorder.mnModel + mnBottomPageBorder.mnModel;
- if (nRowCount > 1)
+ if (nRowCount > 1)
nVerticalSize += (nRowCount-1) * mnTotalVerticalGap.mnModel;
}
@@ -430,7 +430,7 @@ Rectangle Layouter::GetPageBox (sal_Int32 nObjectCount) const
Rectangle Layouter::GetInsertionMarkerBox (
- sal_Int32 nIndex,
+ sal_Int32 nIndex,
bool bVertical,
bool bLeftOrTop) const
{
@@ -443,14 +443,14 @@ Rectangle Layouter::GetInsertionMarkerBox (
if (bLeftOrTop)
{
// Left.
- aBox.Left() -= mnLeftPageBorder.mnModel
+ aBox.Left() -= mnLeftPageBorder.mnModel
+ mnHorizontalGap.mnModel
- nHorizontalInsertionMarkerOffset;
}
else
{
// Right.
- aBox.Left() = aBox.Right()
+ aBox.Left() = aBox.Right()
+ mnRightPageBorder.mnModel
+ nHorizontalInsertionMarkerOffset;
}
@@ -470,8 +470,8 @@ Rectangle Layouter::GetInsertionMarkerBox (
else
{
// Below.
- aBox.Top() = aBox.Bottom()
- + mnBottomPageBorder.mnModel
+ aBox.Top() = aBox.Bottom()
+ + mnBottomPageBorder.mnModel
+ nVerticalInsertionMarkerOffset;
}
aBox.Bottom() = aBox.Top() + mnInsertionMarkerThickness.mnModel;
@@ -496,7 +496,7 @@ sal_Int32 Layouter::GetIndexOfFirstVisiblePageObject (
sal_Int32 Layouter::GetIndexOfLastVisiblePageObject (
const Rectangle& aVisibleArea) const
{
- sal_Int32 nRow = GetRowAtPosition (aVisibleArea.Bottom(),
+ sal_Int32 nRow = GetRowAtPosition (aVisibleArea.Bottom(),
true, GM_BOTH);
return (nRow+1) * mnColumnCount - 1;
}
@@ -508,13 +508,13 @@ sal_Int32 Layouter::GetIndexAtPoint (
const Point& rPosition,
bool bIncludePageBorders) const
{
- sal_Int32 nRow = GetRowAtPosition (rPosition.Y(),
+ sal_Int32 nRow = GetRowAtPosition (rPosition.Y(),
bIncludePageBorders,
bIncludePageBorders ? GM_PAGE_BORDER : GM_NONE);
- sal_Int32 nColumn = GetColumnAtPosition (rPosition.X(),
+ sal_Int32 nColumn = GetColumnAtPosition (rPosition.X(),
bIncludePageBorders,
bIncludePageBorders ? GM_PAGE_BORDER : GM_NONE);
-
+
if (nRow >= 0 && nColumn >= 0)
return nRow * mnColumnCount + nColumn;
else
@@ -532,7 +532,7 @@ sal_Int32 Layouter::GetIndexAtPoint (
will yield valid return values. The horizontal positions between the
center of page objects in column i and the center of page objects in
column i+1 will return column i+1 as insertion index.
-
+
When there is only one column and bAllowVerticalPosition is true than
take the vertical areas between rows into account as well.
*/
@@ -542,34 +542,34 @@ sal_Int32 Layouter::GetInsertionIndex (
{
sal_Int32 nIndex = -1;
- sal_Int32 nRow = GetRowAtPosition (rPosition.Y(), true,
+ sal_Int32 nRow = GetRowAtPosition (rPosition.Y(), true,
(mnColumnCount==1 && bAllowVerticalPosition) ? GM_BOTH : GM_BOTH);
sal_Int32 nColumn = GetColumnAtPosition (rPosition.X(), true, GM_BOTH);
if (nRow >= 0 && nColumn >= 0)
nIndex = nRow * mnColumnCount + nColumn;
-
+
return nIndex;
}
-Layouter::DoublePoint
+Layouter::DoublePoint
Layouter::ConvertModelToLayouterCoordinates (
const Point& rModelPoint) const
{
sal_Int32 nColumn = GetColumnAtPosition (rModelPoint.X(), true, GM_BOTH);
- sal_Int32 nColumnWidth
+ sal_Int32 nColumnWidth
= maPageObjectModelSize.Width() + mnTotalHorizontalGap.mnModel;
- sal_Int32 nDistanceIntoColumn =
+ sal_Int32 nDistanceIntoColumn =
rModelPoint.X() - mnLeftBorder.mnModel - mnLeftPageBorder.mnModel
- nColumn * nColumnWidth;
sal_Int32 nRow = GetRowAtPosition (rModelPoint.Y(), true, GM_BOTH);
- sal_Int32 nRowHeight
+ sal_Int32 nRowHeight
= maPageObjectModelSize.Height() + mnTotalVerticalGap.mnModel;
- sal_Int32 nDistanceIntoRow =
+ sal_Int32 nDistanceIntoRow =
rModelPoint.Y() - mnTopBorder.mnModel - mnTopPageBorder.mnModel
- nRow * nRowHeight;
@@ -586,18 +586,18 @@ Point Layouter::ConvertLayouterToModelCoordinates (
{
sal_Int32 nColumn = (sal_Int32) ::rtl::math::round(rLayouterPoint.first,
0,rtl_math_RoundingMode_Floor);
- sal_Int32 nColumnWidth
+ sal_Int32 nColumnWidth
= maPageObjectModelSize.Width() + mnTotalHorizontalGap.mnModel;
- sal_Int32 nDistanceIntoColumn
+ sal_Int32 nDistanceIntoColumn
= (sal_Int32)((rLayouterPoint.first - nColumn) * nColumnWidth);
sal_Int32 nRow = (sal_Int32) ::rtl::math::round(rLayouterPoint.second,
0,rtl_math_RoundingMode_Floor);
- sal_Int32 nRowHeight
+ sal_Int32 nRowHeight
= maPageObjectModelSize.Height() + mnTotalVerticalGap.mnModel;
- sal_Int32 nDistanceIntoRow
+ sal_Int32 nDistanceIntoRow
= (sal_Int32)((rLayouterPoint.second - nRow) * nRowHeight);
-
+
return Point (
mnLeftBorder.mnModel + mnLeftPageBorder.mnModel
+ nColumn * nColumnWidth + nDistanceIntoColumn,
@@ -609,13 +609,13 @@ Point Layouter::ConvertLayouterToModelCoordinates (
sal_Int32 Layouter::GetRowAtPosition (
- sal_Int32 nYPosition,
+ sal_Int32 nYPosition,
bool bIncludeBordersAndGaps,
GapMembership eGapMembership) const
{
sal_Int32 nRow = -1;
- const sal_Int32 nY = nYPosition
+ const sal_Int32 nY = nYPosition
- mnTopBorder.mnModel - mnTopPageBorder.mnModel;
if (nY >= 0)
{
@@ -652,13 +652,13 @@ sal_Int32 Layouter::GetRowAtPosition (
sal_Int32 Layouter::GetColumnAtPosition (
- sal_Int32 nXPosition,
+ sal_Int32 nXPosition,
bool bIncludeBordersAndGaps,
GapMembership eGapMembership) const
{
sal_Int32 nColumn = -1;
- sal_Int32 nX = nXPosition
+ sal_Int32 nX = nXPosition
- mnLeftBorder.mnModel - mnLeftPageBorder.mnModel;
if (nX >= 0)
{
@@ -720,11 +720,11 @@ sal_Int32 Layouter::ResolvePositionInGap (
nIndex ++;
break;
}
-
+
case GM_PREVIOUS:
// Row or column already at correct value.
break;
-
+
case GM_NEXT:
// The complete gap belongs to the next row or column.
nIndex ++;
@@ -745,7 +745,7 @@ sal_Int32 Layouter::ResolvePositionInGap (
}
}
break;
-
+
default:
nIndex = -1;
}
diff --git a/sd/source/ui/slidesorter/view/SlsPageObject.cxx b/sd/source/ui/slidesorter/view/SlsPageObject.cxx
index 3e9b0aa94b35..a9508e4065e1 100644
--- a/sd/source/ui/slidesorter/view/SlsPageObject.cxx
+++ b/sd/source/ui/slidesorter/view/SlsPageObject.cxx
@@ -2,7 +2,7 @@
/*************************************************************************
*
* 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
diff --git a/sd/source/ui/slidesorter/view/SlsPageObjectViewContact.cxx b/sd/source/ui/slidesorter/view/SlsPageObjectViewContact.cxx
index af9d85cf1b82..a5a74c939e52 100644
--- a/sd/source/ui/slidesorter/view/SlsPageObjectViewContact.cxx
+++ b/sd/source/ui/slidesorter/view/SlsPageObjectViewContact.cxx
@@ -2,7 +2,7 @@
/*************************************************************************
*
* 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
@@ -61,15 +61,15 @@ PageObjectViewContact::~PageObjectViewContact (void)
-ViewObjectContact&
+ViewObjectContact&
PageObjectViewContact::CreateObjectSpecificViewObjectContact(
ObjectContact& rObjectContact)
{
OSL_ASSERT(mpDescriptor.get()!=NULL);
-
- ViewObjectContact* pResult
+
+ ViewObjectContact* pResult
= mpDescriptor->GetPageObjectFactory().CreateViewObjectContact (
- rObjectContact,
+ rObjectContact,
*this);
DBG_ASSERT (pResult!=NULL,
"PageObjectViewContact::CreateObjectSpecificViewObjectContact() was not able to create object.");
diff --git a/sd/source/ui/slidesorter/view/SlsPageObjectViewObjectContact.cxx b/sd/source/ui/slidesorter/view/SlsPageObjectViewObjectContact.cxx
index 8cde7b0dfdbd..903d60674ece 100644
--- a/sd/source/ui/slidesorter/view/SlsPageObjectViewObjectContact.cxx
+++ b/sd/source/ui/slidesorter/view/SlsPageObjectViewObjectContact.cxx
@@ -2,7 +2,7 @@
/*************************************************************************
*
* 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
@@ -83,7 +83,7 @@ const sal_Int32 PageObjectViewObjectContact::mnMouseOverEffectOffset = 3;
const sal_Int32 PageObjectViewObjectContact::mnMouseOverEffectThickness = 1;
PageObjectViewObjectContact::PageObjectViewObjectContact (
- ObjectContact& rObjectContact,
+ ObjectContact& rObjectContact,
ViewContact& rViewContact,
const ::boost::shared_ptr<cache::PageCache>& rpCache,
const ::boost::shared_ptr<controller::Properties>& rpProperties)
@@ -201,7 +201,7 @@ Rectangle PageObjectViewObjectContact::GetBoundingBox (
case NameBoundingBox:
break;
-
+
case FadeEffectIndicatorBoundingBox:
Size aModelOffset = rDevice.PixelToLogic(Size (0, mnFadeEffectIndicatorOffset));
// Flush left just outside the selection rectangle.
@@ -259,7 +259,7 @@ class SdPageObjectBasePrimitive : public drawinglayer::primitive2d::BufferedDeco
{
private:
// the inner range of the SdPageObject visualisation
- basegfx::B2DRange maRange;
+ basegfx::B2DRange maRange;
public:
// constructor and destructor
@@ -274,7 +274,7 @@ public:
};
SdPageObjectBasePrimitive::SdPageObjectBasePrimitive(const basegfx::B2DRange& rRange)
-: drawinglayer::primitive2d::BufferedDecompositionPrimitive2D(),
+: drawinglayer::primitive2d::BufferedDecompositionPrimitive2D(),
maRange(rRange)
{
}
@@ -301,7 +301,7 @@ class SdPageObjectPageBitmapPrimitive : public SdPageObjectBasePrimitive
{
private:
// the bitmap containing the PagePreview
- BitmapEx maBitmapEx;
+ BitmapEx maBitmapEx;
protected:
// method which is to be used to implement the local decomposition of a 2D primitive.
@@ -330,7 +330,7 @@ Primitive2DSequence SdPageObjectPageBitmapPrimitive::create2DDecomposition(const
// to avoid scaling, use the Bitmap pixel size as primitive size
basegfx::B2DHomMatrix aBitmapTransform;
const Size aBitmapSize(getBitmapEx().GetSizePixel());
- const basegfx::B2DVector aBitmapSizeLogic(rViewInformation.getInverseObjectToViewTransformation() *
+ const basegfx::B2DVector aBitmapSizeLogic(rViewInformation.getInverseObjectToViewTransformation() *
basegfx::B2DVector(aBitmapSize.getWidth() - 1, aBitmapSize.getHeight() - 1));
// short form for scale and translate transformation
@@ -348,7 +348,7 @@ Primitive2DSequence SdPageObjectPageBitmapPrimitive::create2DDecomposition(const
SdPageObjectPageBitmapPrimitive::SdPageObjectPageBitmapPrimitive(
const basegfx::B2DRange& rRange,
const BitmapEx& rBitmapEx)
-: SdPageObjectBasePrimitive(rRange),
+: SdPageObjectBasePrimitive(rRange),
maBitmapEx(rBitmapEx)
{
}
@@ -452,7 +452,7 @@ Primitive2DSequence SdPageObjectSelectPrimitive::create2DDecomposition(const dra
}
SdPageObjectSelectPrimitive::SdPageObjectSelectPrimitive(const basegfx::B2DRange& rRange)
-: SdPageObjectBasePrimitive(rRange)
+: SdPageObjectBasePrimitive(rRange)
{
}
@@ -494,14 +494,14 @@ Primitive2DSequence SdPageObjectBorderPrimitive::create2DDecomposition(const dra
static bool bTestWithBrightColors(false);
const svtools::ColorConfig aColorConfig;
const basegfx::BColor aBorderColor(bTestWithBrightColors ? basegfx::BColor(1,0,0) : Color(aColorConfig.GetColorValue(svtools::FONTCOLOR).nColor).getBColor());
-
+
const Primitive2DReference xReference(
new drawinglayer::primitive2d::PolygonHairlinePrimitive2D(basegfx::tools::createPolygonFromRect(aAdaptedInnerRange), aBorderColor));
return Primitive2DSequence(&xReference, 1);
}
SdPageObjectBorderPrimitive::SdPageObjectBorderPrimitive(const basegfx::B2DRange& rRange)
-: SdPageObjectBasePrimitive(rRange)
+: SdPageObjectBasePrimitive(rRange)
{
}
@@ -575,7 +575,7 @@ Primitive2DSequence SdPageObjectFocusPrimitive::create2DDecomposition(const draw
const drawinglayer::attribute::LineAttribute aLineAttribute(aLineColor.getBColor());
const drawinglayer::attribute::StrokeAttribute aStrokeAttribute(
aDotDashArray, 2.0 * nFocusIndicatorWidth * aDiscretePixel.getX());
-
+
xRetval[1] = Primitive2DReference(
new drawinglayer::primitive2d::PolygonStrokePrimitive2D(aIndicatorPolygon, aLineAttribute, aStrokeAttribute));
@@ -584,7 +584,7 @@ Primitive2DSequence SdPageObjectFocusPrimitive::create2DDecomposition(const draw
}
SdPageObjectFocusPrimitive::SdPageObjectFocusPrimitive(const basegfx::B2DRange& rRange, const bool bContrast)
- : SdPageObjectBasePrimitive(rRange),
+ : SdPageObjectBasePrimitive(rRange),
mbContrastToSelected(bContrast)
{
}
@@ -612,14 +612,14 @@ private:
/// the indicator bitmaps. Static since it is usable outside this primitive
/// for size comparisons
- static BitmapEx* mpFadeEffectIconBitmap;
- static BitmapEx* mpCommentsIconBitmap;
+ static BitmapEx* mpFadeEffectIconBitmap;
+ static BitmapEx* mpCommentsIconBitmap;
/// page name, number and needed infos
- String maPageName;
- sal_uInt32 mnPageNumber;
- Font maPageNameFont;
- Size maPageNumberAreaModelSize;
+ String maPageName;
+ sal_uInt32 mnPageNumber;
+ Font maPageNameFont;
+ Size maPageNumberAreaModelSize;
// bitfield
bool mbShowFadeEffectIcon : 1;
@@ -713,7 +713,7 @@ Primitive2DSequence SdPageObjectFadeNameNumberPrimitive::create2DDecomposition(c
basegfx::B2DVector aTextSizeAttribute;
const drawinglayer::attribute::FontAttribute aFontAttribute(
drawinglayer::primitive2d::getFontAttributeFromVclFont(
- aTextSizeAttribute,
+ aTextSizeAttribute,
getPageNameFont(),
false,
false));
@@ -727,12 +727,12 @@ Primitive2DSequence SdPageObjectFadeNameNumberPrimitive::create2DDecomposition(c
if(getShowFadeEffectIcon())
{
// prepare fFadeEffect Sizes
- const basegfx::B2DVector aFadeEffectBitmapSizeLogic(rViewInformation.getInverseObjectToViewTransformation() *
+ const basegfx::B2DVector aFadeEffectBitmapSizeLogic(rViewInformation.getInverseObjectToViewTransformation() *
basegfx::B2DVector(
- getFadeEffectIconBitmap().GetSizePixel().getWidth() - 1,
+ getFadeEffectIconBitmap().GetSizePixel().getWidth() - 1,
getFadeEffectIconBitmap().GetSizePixel().getHeight() - 1));
- // Paint_FadeEffectIndicator replacement.
+ // Paint_FadeEffectIndicator replacement.
// create transformation. To avoid bitmap scaling, use bitmap size as size
basegfx::B2DHomMatrix aBitmapTransform;
@@ -749,9 +749,9 @@ Primitive2DSequence SdPageObjectFadeNameNumberPrimitive::create2DDecomposition(c
if(nTextLength)
{
// prepare fFadeEffect Sizes since it consumes from text size
- const basegfx::B2DVector aFadeEffectBitmapSizeLogic(rViewInformation.getInverseObjectToViewTransformation() *
+ const basegfx::B2DVector aFadeEffectBitmapSizeLogic(rViewInformation.getInverseObjectToViewTransformation() *
basegfx::B2DVector(
- getFadeEffectIconBitmap().GetSizePixel().getWidth() - 1,
+ getFadeEffectIconBitmap().GetSizePixel().getWidth() - 1,
getFadeEffectIconBitmap().GetSizePixel().getHeight() - 1));
// Paint_PageName replacement. Get text size
@@ -763,11 +763,11 @@ Primitive2DSequence SdPageObjectFadeNameNumberPrimitive::create2DDecomposition(c
// calculate text start position
double fStartX(
- aAdaptedInnerRange.getMaxX()
+ aAdaptedInnerRange.getMaxX()
- fTextWidth
+ (aDiscretePixel.getX() * 3.0));
const double fStartY(
- aAdaptedInnerRange.getMaxY()
+ aAdaptedInnerRange.getMaxY()
+ fTextHeight
+ fFadeEffectTextGap);
const bool bNeedClipping(fStartX < aAdaptedInnerRange.getMinX() + fFadeEffectWidth);
@@ -813,13 +813,13 @@ Primitive2DSequence SdPageObjectFadeNameNumberPrimitive::create2DDecomposition(c
// create Text primitive and add to target
xRetval[nInsert++] = Primitive2DReference(
new drawinglayer::primitive2d::TextSimplePortionPrimitive2D(
- aTextMatrix,
- aPageName,
- 0,
- aPageName.Len(),
- aDXArray,
- aFontAttribute,
- aLocale,
+ aTextMatrix,
+ aPageName,
+ 0,
+ aPageName.Len(),
+ aDXArray,
+ aFontAttribute,
+ aLocale,
aFontColor));
}
@@ -827,7 +827,7 @@ Primitive2DSequence SdPageObjectFadeNameNumberPrimitive::create2DDecomposition(c
// Paint_PageNumber replacement. Get the range where it shall be centered and prepare the string
const double fLeft(aAdaptedInnerRange.getMinX() - (mnPageNumberOffset * aDiscretePixel.getX()) - getPageNumberAreaModelSize().Width());
const double fTop(aAdaptedInnerRange.getMinY());
- const basegfx::B2DRange aNumberRange(fLeft, fTop,
+ const basegfx::B2DRange aNumberRange(fLeft, fTop,
fLeft + getPageNumberAreaModelSize().Width(), fTop + getPageNumberAreaModelSize().Height());
const String aPageNumber(String::CreateFromInt32(getPageNumber()));
const xub_StrLen nNumberLen(aPageNumber.Len());
@@ -854,13 +854,13 @@ Primitive2DSequence SdPageObjectFadeNameNumberPrimitive::create2DDecomposition(c
// create Text primitive
xRetval[nInsert++] = Primitive2DReference(
new drawinglayer::primitive2d::TextSimplePortionPrimitive2D(
- aTextMatrix,
- aPageNumber,
- 0,
- nNumberLen,
- aDXArray,
- aFontAttribute,
- aLocale,
+ aTextMatrix,
+ aPageNumber,
+ 0,
+ nNumberLen,
+ aDXArray,
+ aFontAttribute,
+ aLocale,
aFontColor));
if(getExcluded())
@@ -892,7 +892,7 @@ SdPageObjectFadeNameNumberPrimitive::SdPageObjectFadeNameNumberPrimitive(
bool bShowFadeEffectIcon,
bool bShowCommentsIcon,
bool bExcluded)
-: SdPageObjectBasePrimitive(rRange),
+: SdPageObjectBasePrimitive(rRange),
maPageName(rPageName),
mnPageNumber(nPageNumber),
maPageNameFont(rPageNameFont),
@@ -939,8 +939,8 @@ Primitive2DSequence PageObjectViewObjectContact::createPrimitive2DSequence(const
// get primitive vector from parent class. Do remember the contents for later use; this
// is done to create the page content renderer (see PagePrimitiveExtractor in svx) at the
- // original object and to setup the draw hierarchy there so that changes to VCs of displayed
- // objects will lead to InvalidatePartOfView-calls which will be forwarded from the helper-OC
+ // original object and to setup the draw hierarchy there so that changes to VCs of displayed
+ // objects will lead to InvalidatePartOfView-calls which will be forwarded from the helper-OC
// to this VOC in calling a ActionChanged().
//
// This already produces the displayable page content as a primitive sequence, complete with
@@ -966,7 +966,7 @@ Primitive2DSequence PageObjectViewObjectContact::createPrimitive2DSequence(const
// (just hand over the local member to the cache)
//
// For the moment i will use (1) and disable primitive creation for SdrPageObj contents here
-
+
// const_cast< PageObjectViewObjectContact* >(this)->mxCurrentPageContents = ViewObjectContactOfPageObj::createPrimitive2DSequence(rDisplayInfo);
// assert when this call is issued indirectly from the destructor of
@@ -985,14 +985,14 @@ Primitive2DSequence PageObjectViewObjectContact::createPrimitive2DSequence(const
&& !mbInDestructor)
{
// get inner and outer logic rectangles. Use model data directly for creation. Do NOT use getBoundRect()/
- // getSnapRect() functionality; these will use the sequence of primitives in the long run itself. SdrPageObj
+ // getSnapRect() functionality; these will use the sequence of primitives in the long run itself. SdrPageObj
// is a SdrObject, so use SdrObject::aOutRect as model data. Access using GetLastBoundRect() to not execute anything
PageObjectViewContact& rPaObVOC(static_cast< PageObjectViewContact& >(GetViewContact()));
const Rectangle aInnerLogic(rPaObVOC.GetPageObject().GetLastBoundRect());
-
+
// get BitmapEx from cache. Do exactly the same as Paint_Preview() to avoid a repaint loop
// caused by slightly different pixel sizes of what the cache sees as pixel size and what is
- // calculated here in discrete coordinates. This includes to not use LogicToPiyel on the Rectangle,
+ // calculated here in discrete coordinates. This includes to not use LogicToPiyel on the Rectangle,
// but to do the same as the GetBoundingBox() implementation
const Rectangle aInnerPixel(Rectangle(pDevice->LogicToPixel(aInnerLogic.TopLeft()), pDevice->LogicToPixel(aInnerLogic.GetSize())));
BitmapEx aBitmapEx(const_cast< PageObjectViewObjectContact* >(this)->GetPreview(rDisplayInfo, aInnerPixel));
@@ -1012,13 +1012,13 @@ Primitive2DSequence PageObjectViewObjectContact::createPrimitive2DSequence(const
if(GetPage())
{
const SdPage* pPage = static_cast<const SdPage*>(GetPage());
-
+
// decide if fade effect indicator will be painted
if(pPage->getTransitionType() > 0)
{
bShowFadeEffectIcon = true;
}
-
+
bShowCommentsIcon = !pPage->getAnnotations().empty();
// prepare PageName, PageNumber, font and AreaModelSize
@@ -1043,11 +1043,11 @@ Primitive2DSequence PageObjectViewObjectContact::createPrimitive2DSequence(const
const bool bCreateSelected(GetPageDescriptor()->IsSelected());
const sal_uInt32 nCount(
- (bCreateBitmap ? 1 : 0) + // bitmap itself
- 1 + // border around bitmap (always)
+ (bCreateBitmap ? 1 : 0) + // bitmap itself
+ 1 + // border around bitmap (always)
1 + // FadeEffect, PageName and PageNumber visualisation (always)
- (bCreateFocused ? 1 : 0) + // create focused
- (bCreateSelected ? 1 : 0) // create selected
+ (bCreateFocused ? 1 : 0) + // create focused
+ (bCreateSelected ? 1 : 0) // create selected
);
sal_uInt32 nInsert(0);
Primitive2DSequence xRetval(nCount);
@@ -1136,7 +1136,7 @@ BitmapEx PageObjectViewObjectContact::GetPreview (
// assert when this call is issued indirectly from the destructor of
// this instance. This is not allowed and needs to be looked at
OSL_ENSURE(!mbInDestructor, "Higher call inside PageObjectViewObjectContact in destructor (!)");
-
+
if (!mbInDestructor)
{
if (mpCache != NULL)
@@ -1335,7 +1335,7 @@ SvBorder PageObjectViewObjectContact::CalculatePageModelBorder (
aBottomRightBorders.Width(),
aBottomRightBorders.Height());
-
+
// 2. Add the device dependent values.
// Calculate the area of the page number.
diff --git a/sd/source/ui/slidesorter/view/SlsViewCacheContext.cxx b/sd/source/ui/slidesorter/view/SlsViewCacheContext.cxx
index be9a7c2c23b7..77c89b846102 100644
--- a/sd/source/ui/slidesorter/view/SlsViewCacheContext.cxx
+++ b/sd/source/ui/slidesorter/view/SlsViewCacheContext.cxx
@@ -2,7 +2,7 @@
/*************************************************************************
*
* 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
diff --git a/sd/source/ui/slidesorter/view/SlsViewCacheContext.hxx b/sd/source/ui/slidesorter/view/SlsViewCacheContext.hxx
index 25911b9ae80f..2c2c476f7f56 100644
--- a/sd/source/ui/slidesorter/view/SlsViewCacheContext.hxx
+++ b/sd/source/ui/slidesorter/view/SlsViewCacheContext.hxx
@@ -2,7 +2,7 @@
/*************************************************************************
*
* 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
@@ -57,7 +57,7 @@ public:
virtual ::boost::shared_ptr<std::vector<cache::CacheKey> > GetEntryList (bool bVisible);
virtual sal_Int32 GetPriority (cache::CacheKey aKey);
virtual ::com::sun::star::uno::Reference<com::sun::star::uno::XInterface> GetModel (void);
-
+
private:
model::SlideSorterModel& mrModel;
SlideSorterView& mrView;
diff --git a/sd/source/ui/slidesorter/view/SlsViewOverlay.cxx b/sd/source/ui/slidesorter/view/SlsViewOverlay.cxx
index 2e22e85803f6..029e65197854 100644
--- a/sd/source/ui/slidesorter/view/SlsViewOverlay.cxx
+++ b/sd/source/ui/slidesorter/view/SlsViewOverlay.cxx
@@ -2,7 +2,7 @@
/*************************************************************************
*
* 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
@@ -135,7 +135,7 @@ SlideSorter& ViewOverlay::GetSlideSorter (void) const
OverlayManager* ViewOverlay::GetOverlayManager (void) const
{
OverlayManager* pOverlayManager = NULL;
-
+
SlideSorterView& rView (mrSlideSorter.GetView());
SdrPageView* pPageView = rView.GetSdrPageView();
if (pPageView != NULL && pPageView->PageWindowCount()>0)
@@ -222,7 +222,7 @@ void SubstitutionOverlay::Create (
EnsureRegistration();
maPosition = rPosition;
-
+
maShapes.clear();
while (rSelection.HasMoreElements())
{
@@ -259,7 +259,7 @@ void SubstitutionOverlay::Move (const Point& rOffset)
maShapes.transform(aTranslation);
maPosition += rOffset;
-
+
objectChange();
}
@@ -432,10 +432,10 @@ void InsertionIndicatorOverlay::SetPosition (const Point& rPoint)
{
static const bool bAllowHorizontalInsertMarker = true;
Layouter& rLayouter (mrViewOverlay.GetSlideSorter().GetView().GetLayouter());
- USHORT nPageCount
+ USHORT nPageCount
= (USHORT)mrViewOverlay.GetSlideSorter().GetModel().GetPageCount();
- sal_Int32 nInsertionIndex = rLayouter.GetInsertionIndex (rPoint,
+ sal_Int32 nInsertionIndex = rLayouter.GetInsertionIndex (rPoint,
bAllowHorizontalInsertMarker);
if (nInsertionIndex >= nPageCount)
nInsertionIndex = nPageCount-1;
@@ -452,13 +452,13 @@ void InsertionIndicatorOverlay::SetPosition (const Point& rPoint)
// column.
// 2. The vertical (standard) insert marker may be painted left to
// the insert page or right of the previous one. When both pages
- // are in the same row this makes no difference. Otherwise the
+ // are in the same row this makes no difference. Otherwise the
// posiotions are at the left and right ends of two rows.
Point aPageCenter (rLayouter.GetPageObjectBox (
nInsertionIndex).Center());
- if (bAllowHorizontalInsertMarker
+ if (bAllowHorizontalInsertMarker
&& rLayouter.GetColumnCount() == 1)
{
bVertical = false;
@@ -481,7 +481,7 @@ void InsertionIndicatorOverlay::SetPosition (const Point& rPoint)
Rectangle aBox;
if (mnInsertionIndex >= 0)
aBox = rLayouter.GetInsertionMarkerBox (
- nDrawIndex,
+ nDrawIndex,
bVertical,
bLeftOrTop);
SetPositionAndSize (aBox);
@@ -556,7 +556,7 @@ void MouseOverIndicatorOverlay::SetSlideUnderMouse (
{
}
}
-
+
if (pDescriptor != rpDescriptor)
{
// Switch to the new (possibly empty) descriptor.
diff --git a/sd/source/ui/table/TableDesignPane.cxx b/sd/source/ui/table/TableDesignPane.cxx
index 9c637222864b..3b17737fa48e 100644
--- a/sd/source/ui/table/TableDesignPane.cxx
+++ b/sd/source/ui/table/TableDesignPane.cxx
@@ -2,7 +2,7 @@
/*************************************************************************
*
* 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
@@ -143,7 +143,7 @@ TableDesignPane::TableDesignPane( ::Window* pParent, ViewShellBase& rBase, bool
try
{
mxView = Reference< XDrawView >::query(mrBase.GetController());
- addListener();
+ addListener();
Reference< XController > xController( mrBase.GetController(), UNO_QUERY_THROW );
Reference< XStyleFamiliesSupplier > xFamiliesSupp( xController->getModel(), UNO_QUERY_THROW );
@@ -241,7 +241,7 @@ void TableDesignPane::ApplyStyle()
{
SfxRequest aReq( SID_TABLE_STYLE, SFX_CALLMODE_SYNCHRON, SFX_APP()->GetPool() );
aReq.AppendItem( SfxStringItem( SID_TABLE_STYLE, sStyleName ) );
-
+
rtl::Reference< sdr::SelectionController > xController( pView->getSelectionController() );
if( xController.is() )
xController->Execute( aReq );
@@ -286,14 +286,14 @@ void TableDesignPane::ApplyOptions()
{
static sal_uInt16 gParamIds[CB_BANDED_COLUMNS-CB_HEADER_ROW+1] =
{
- ID_VAL_USEFIRSTROWSTYLE, ID_VAL_USELASTROWSTYLE, ID_VAL_USEBANDINGROWSTYLE,
+ ID_VAL_USEFIRSTROWSTYLE, ID_VAL_USELASTROWSTYLE, ID_VAL_USEBANDINGROWSTYLE,
ID_VAL_USEFIRSTCOLUMNSTYLE, ID_VAL_USELASTCOLUMNSTYLE, ID_VAL_USEBANDINGCOLUMNSTYLE
};
if( mxSelectedTable.is() )
{
SfxRequest aReq( SID_TABLE_STYLE_SETTINGS, SFX_CALLMODE_SYNCHRON, SFX_APP()->GetPool() );
-
+
for( sal_uInt16 i = 0; i < (CB_BANDED_COLUMNS-CB_HEADER_ROW+1); ++i )
{
aReq.AppendItem( SfxBoolItem( gParamIds[i], static_cast< CheckBox* >( mxControls[CB_HEADER_ROW+i].get() )->IsChecked() ) );
@@ -344,7 +344,7 @@ void TableDesignPane::onSelectionChanged()
}
Reference< XShapeDescriptor > xDesc( aSel, UNO_QUERY );
- if( xDesc.is() &&
+ if( xDesc.is() &&
( xDesc->getShapeType().equalsAsciiL( RTL_CONSTASCII_STRINGPARAM( "com.sun.star.drawing.TableShape" ) ) ||
xDesc->getShapeType().equalsAsciiL( RTL_CONSTASCII_STRINGPARAM( "com.sun.star.presentation.TableShape" ) ) ) )
{
@@ -407,7 +407,7 @@ void TableDesignPane::updateLayout()
Size aItemSize = pValueSet->CalcItemSizePixel(aImage.GetSizePixel());
pValueSet->SetItemWidth( aItemSize.Width() );
pValueSet->SetItemHeight( aItemSize.Height() );
-
+
aItemSize.Width() += 10;
aItemSize.Height() += 10;
int nColumnCount = (aValueSetSize.Width() - pValueSet->GetScrollWidth()) / aItemSize.Width();
@@ -424,7 +424,7 @@ void TableDesignPane::updateLayout()
pValueSet->SetColCount ((USHORT)nColumnCount);
pValueSet->SetLineCount ((USHORT)nRowCount);
-
+
if( !mbModal )
{
WinBits nStyle = pValueSet->GetStyle() & ~(WB_VSCROLL);
@@ -700,7 +700,7 @@ static void FillCellInfoMatrix( const CellInfoVector& rStyle, const TableStyleSe
}
}
}
-
+
if( !xCellInfo.get() )
{
if( rSettings.mbUseColumnBanding )
@@ -737,7 +737,7 @@ const Bitmap CreateDesignPreview( const Reference< XIndexAccess >& xTableStyle,
CellInfoMatrix aMatrix;
FillCellInfoMatrix( aCellInfoVector, rSettings, aMatrix );
-// bbbbbbbbbbbb w = 12 pixel
+// bbbbbbbbbbbb w = 12 pixel
// bccccccccccb h = 7 pixel
// bccccccccccb b = border color
// bcttttttttcb c = cell color
diff --git a/sd/source/ui/table/TableDesignPane.hrc b/sd/source/ui/table/TableDesignPane.hrc
index 64160db61eb1..31d95fe908e5 100644
--- a/sd/source/ui/table/TableDesignPane.hrc
+++ b/sd/source/ui/table/TableDesignPane.hrc
@@ -1,7 +1,7 @@
/*************************************************************************
*
* 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
@@ -28,16 +28,16 @@
#ifndef _SD_TABLEDESIGNPANE_HRC
#define _SD_TABLEDESIGNPANE_HRC
-#define FL_STYLE_OPTIONS 0
-#define CB_HEADER_ROW 1
-#define CB_TOTAL_ROW 2
-#define CB_BANDED_ROWS 3
-#define CB_FIRST_COLUMN 4
-#define CB_LAST_COLUMN 5
-#define CB_BANDED_COLUMNS 6
+#define FL_STYLE_OPTIONS 0
+#define CB_HEADER_ROW 1
+#define CB_TOTAL_ROW 2
+#define CB_BANDED_ROWS 3
+#define CB_FIRST_COLUMN 4
+#define CB_LAST_COLUMN 5
+#define CB_BANDED_COLUMNS 6
-#define FL_TABLE_STYLES 7
-#define CT_TABLE_STYLES 8
+#define FL_TABLE_STYLES 7
+#define CT_TABLE_STYLES 8
#define DESIGNPANE_CONTROL_COUNT 9
diff --git a/sd/source/ui/table/TableDesignPane.hxx b/sd/source/ui/table/TableDesignPane.hxx
index a2c71284c75a..efd868a58714 100644
--- a/sd/source/ui/table/TableDesignPane.hxx
+++ b/sd/source/ui/table/TableDesignPane.hxx
@@ -2,7 +2,7 @@
/*************************************************************************
*
* 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
@@ -115,11 +115,11 @@ private:
ViewShellBase& mrBase;
boost::scoped_ptr< TableDesignPane > mpDesignPane;
- boost::scoped_ptr< FixedLine > mxFlSep1;
- boost::scoped_ptr< FixedLine > mxFlSep2;
- boost::scoped_ptr< HelpButton > mxHelpButton;
- boost::scoped_ptr< OKButton > mxOkButton;
- boost::scoped_ptr< CancelButton > mxCancelButton;
+ boost::scoped_ptr< FixedLine > mxFlSep1;
+ boost::scoped_ptr< FixedLine > mxFlSep2;
+ boost::scoped_ptr< HelpButton > mxHelpButton;
+ boost::scoped_ptr< OKButton > mxOkButton;
+ boost::scoped_ptr< CancelButton > mxCancelButton;
};
}
diff --git a/sd/source/ui/table/TableDesignPane.src b/sd/source/ui/table/TableDesignPane.src
index 9ce9470ffa2b..4ab8d78876d6 100644
--- a/sd/source/ui/table/TableDesignPane.src
+++ b/sd/source/ui/table/TableDesignPane.src
@@ -1,7 +1,7 @@
/*************************************************************************
*
* 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
@@ -36,37 +36,37 @@ Control DLG_TABLEDESIGNPANE
Size = MAP_APPFONT( 264, 160 );
Text [ en-US ] = "Table Design";
-
+
FixedLine FL_STYLE_OPTIONS+1
{
Pos = MAP_APPFONT ( 143, 3 ) ;
Size = MAP_APPFONT ( 120, 10 ) ;
- OutputSize = TRUE;
+ OutputSize = TRUE;
Text [ en-US ] = "Show";
};
-
+
CheckBox CB_HEADER_ROW+1
{
Pos = MAP_APPFONT ( 146, 16 ) ;
Size = MAP_APPFONT ( 120 , 10 ) ;
TabStop = TRUE ;
- Text [ en-US ] = "Header Row" ;
+ Text [ en-US ] = "Header Row" ;
};
-
+
CheckBox CB_TOTAL_ROW+1
{
Pos = MAP_APPFONT ( 146, 29 ) ;
Size = MAP_APPFONT ( 120 , 10 ) ;
TabStop = TRUE ;
- Text [ en-US ] = "Total Row" ;
+ Text [ en-US ] = "Total Row" ;
};
-
+
CheckBox CB_BANDED_ROWS+1
{
Pos = MAP_APPFONT ( 146, 42 ) ;
Size = MAP_APPFONT ( 120 , 10 ) ;
TabStop = TRUE ;
- Text [ en-US ] = "Banded Rows" ;
+ Text [ en-US ] = "Banded Rows" ;
};
CheckBox CB_FIRST_COLUMN+1
@@ -74,7 +74,7 @@ Control DLG_TABLEDESIGNPANE
Pos = MAP_APPFONT ( 146, 55 ) ;
Size = MAP_APPFONT ( 120 , 10 ) ;
TabStop = TRUE ;
- Text [ en-US ] = "First Column" ;
+ Text [ en-US ] = "First Column" ;
};
CheckBox CB_LAST_COLUMN+1
@@ -82,7 +82,7 @@ Control DLG_TABLEDESIGNPANE
Pos = MAP_APPFONT ( 146, 68 ) ;
Size = MAP_APPFONT ( 120 , 10 ) ;
TabStop = TRUE ;
- Text [ en-US ] = "Last Column" ;
+ Text [ en-US ] = "Last Column" ;
};
CheckBox CB_BANDED_COLUMNS+1
@@ -90,7 +90,7 @@ Control DLG_TABLEDESIGNPANE
Pos = MAP_APPFONT ( 146, 82 ) ;
Size = MAP_APPFONT ( 120 , 10 ) ;
TabStop = TRUE ;
- Text [ en-US ] = "Banded Columns" ;
+ Text [ en-US ] = "Banded Columns" ;
};
FixedLine FL_TABLE_STYLES+1
@@ -100,13 +100,13 @@ Control DLG_TABLEDESIGNPANE
OutputSize = TRUE;
Text [ en-US ] = "Styles";
};
-
+
Control CT_TABLE_STYLES+1
{
Pos = MAP_APPFONT ( 6, 14 ) ;
Size = MAP_APPFONT( 120, 143 );
Border = TRUE ;
- TabStop = TRUE ;
+ TabStop = TRUE ;
};
};
@@ -137,7 +137,7 @@ ModalDialog DLG_TABLEDESIGNPANE
Pos = MAP_APPFONT ( 6 , 176 ) ;
Size = MAP_APPFONT ( 50 , 14 ) ;
TabStop = TRUE ;
- };
+ };
OKButton BTN_OK
{
Pos = MAP_APPFONT ( 158 , 176 ) ;
diff --git a/sd/source/ui/table/tablefunction.cxx b/sd/source/ui/table/tablefunction.cxx
index d6d6ab1a45a7..a48e87032431 100644
--- a/sd/source/ui/table/tablefunction.cxx
+++ b/sd/source/ui/table/tablefunction.cxx
@@ -2,7 +2,7 @@
/*************************************************************************
*
* 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
@@ -234,7 +234,7 @@ void DrawViewShell::GetTableMenuState( SfxItemSet &rSet )
if( bIsUIActive ||
( aActiveLayer.Len() != 0 && pPV && ( pPV->IsLayerLocked(aActiveLayer) ||
- !pPV->IsLayerVisible(aActiveLayer) ) ) ||
+ !pPV->IsLayerVisible(aActiveLayer) ) ) ||
SD_MOD()->GetWaterCan() )
{
rSet.DisableItem( SID_INSERT_TABLE );
diff --git a/sd/source/ui/table/tableobjectbar.cxx b/sd/source/ui/table/tableobjectbar.cxx
index c039e0b2998b..a8d095d8d309 100644
--- a/sd/source/ui/table/tableobjectbar.cxx
+++ b/sd/source/ui/table/tableobjectbar.cxx
@@ -2,7 +2,7 @@
/*************************************************************************
*
* 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
@@ -96,9 +96,9 @@ SFX_IMPL_INTERFACE( TableObjectBar, SfxShell, SdResId( STR_TABLEOBJECTBARSHELL )
// -----------------------------------------------------------------------------
TableObjectBar::TableObjectBar( ViewShell* pSdViewShell, ::sd::View* pSdView )
-: SfxShell( pSdViewShell->GetViewShell() )
-, mpView( pSdView )
-, mpViewSh( pSdViewShell )
+: SfxShell( pSdViewShell->GetViewShell() )
+, mpView( pSdView )
+, mpViewSh( pSdViewShell )
{
DrawDocShell* pDocShell = mpViewSh->GetDocSh();
if( pDocShell )
@@ -178,7 +178,7 @@ void TableObjectBar::Execute( SfxRequest& rReq )
rReq.AppendItem( SfxInt16Item( (USHORT)nSlotId, (sal_uInt16)pDlg->getInsertCount() ) );
rReq.AppendItem( SfxBoolItem( SID_TABLE_PARAM_INSERT_AFTER, !pDlg->isInsertBefore() ) );
-
+
rReq.SetSlot( (USHORT)nSlotId );
}
}
diff --git a/sd/source/ui/table/tableobjectbar.hxx b/sd/source/ui/table/tableobjectbar.hxx
index 82e774156398..f3f0800c6e24 100644
--- a/sd/source/ui/table/tableobjectbar.hxx
+++ b/sd/source/ui/table/tableobjectbar.hxx
@@ -2,7 +2,7 @@
/*************************************************************************
*
* 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
@@ -51,9 +51,9 @@ public:
TableObjectBar( ::sd::ViewShell* pSdViewShell, ::sd::View* pSdView);
virtual ~TableObjectBar (void);
- void GetState( SfxItemSet& rSet );
- void GetAttrState( SfxItemSet& rSet );
- void Execute( SfxRequest& rReq );
+ void GetState( SfxItemSet& rSet );
+ void GetAttrState( SfxItemSet& rSet );
+ void Execute( SfxRequest& rReq );
protected:
::sd::View* mpView;
diff --git a/sd/source/ui/toolpanel/ConstrainedIterator.cxx b/sd/source/ui/toolpanel/ConstrainedIterator.cxx
index a4772aa8d41f..009085df7e34 100644
--- a/sd/source/ui/toolpanel/ConstrainedIterator.cxx
+++ b/sd/source/ui/toolpanel/ConstrainedIterator.cxx
@@ -2,7 +2,7 @@
/*************************************************************************
*
* 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
@@ -40,7 +40,7 @@ namespace sd { namespace toolpanel {
template <class Container>
-ConstrainedIterator<Container>::value_type&
+ConstrainedIterator<Container>::value_type&
ConstrainedIterator<Container>::operator* (void)
{
return *maIterator;
@@ -50,7 +50,7 @@ ConstrainedIterator<Container>::value_type&
template <class Container>
-const ConstrainedIterator<Container>::value_type&
+const ConstrainedIterator<Container>::value_type&
ConstrainedIterator<Container>::operator* (void)
const
{
@@ -61,7 +61,7 @@ const ConstrainedIterator<Container>::value_type&
template <class Container>
-ConstrainedIterator<Container>::value_type&
+ConstrainedIterator<Container>::value_type&
ConstrainedIterator<Container>::operator-> (void)
{
return *maIterator;
@@ -71,7 +71,7 @@ ConstrainedIterator<Container>::value_type&
template <class Container>
-const ConstrainedIterator<Container>::value_type&
+const ConstrainedIterator<Container>::value_type&
ConstrainedIterator<Container>::operator-> (void)
const
{
diff --git a/sd/source/ui/toolpanel/ConstrainedIterator.hxx b/sd/source/ui/toolpanel/ConstrainedIterator.hxx
index ad2a17ef5e53..a9ca9da65a14 100644
--- a/sd/source/ui/toolpanel/ConstrainedIterator.hxx
+++ b/sd/source/ui/toolpanel/ConstrainedIterator.hxx
@@ -2,7 +2,7 @@
/*************************************************************************
*
* 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
@@ -39,7 +39,7 @@ class Constraint
{
public:
virtual bool operator() (
- const Container& rContainer,
+ const Container& rContainer,
const Container::iterator& rIterator) const = 0;
};
@@ -62,10 +62,10 @@ public:
ConstrainedIterator (void);
ConstrainedIterator (
- const Container& rContainer,
+ const Container& rContainer,
const Container::iterator& rIterator);
ConstrainedIterator (
- const Container& rContainer,
+ const Container& rContainer,
const Container::iterator& rIterator,
const Constraint<Container>& pConstraint);
ConstrainedIterator (
diff --git a/sd/source/ui/toolpanel/ControlContainer.cxx b/sd/source/ui/toolpanel/ControlContainer.cxx
index d792f0c346ca..9c2b3a618d43 100644
--- a/sd/source/ui/toolpanel/ControlContainer.cxx
+++ b/sd/source/ui/toolpanel/ControlContainer.cxx
@@ -2,7 +2,7 @@
/*************************************************************************
*
* 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
@@ -103,7 +103,7 @@ void ControlContainer::SetExpansionState (
ExpansionState aState)
{
::osl::MutexGuard aGuard (maMutex);
-
+
bool bResizeNecessary (false);
if (mbMultiSelection)
@@ -253,7 +253,7 @@ sal_uInt32 ControlContainer::GetVisibleControlCount (void) const
if (maControlList[nIndex]->GetWindow()->IsVisible())
nCount += 1;
}
-
+
return nCount;
}
@@ -317,7 +317,7 @@ sal_uInt32 ControlContainer::GetPreviousIndex (
// The candidate does not meet our constraints so do one more loop.
}
-
+
return nCandidate;
}
@@ -369,7 +369,7 @@ sal_uInt32 ControlContainer::GetNextIndex (
// The candidate does not meet our constraints so do one more loop.
}
-
+
return nCandidate;
}
diff --git a/sd/source/ui/toolpanel/ControlContainerDescriptor.hxx b/sd/source/ui/toolpanel/ControlContainerDescriptor.hxx
index adf7dbcb1f9e..b4d3f512235d 100644
--- a/sd/source/ui/toolpanel/ControlContainerDescriptor.hxx
+++ b/sd/source/ui/toolpanel/ControlContainerDescriptor.hxx
@@ -2,7 +2,7 @@
/*************************************************************************
*
* 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
@@ -65,12 +65,12 @@ public:
@param eType
Type of the title bar. This specifies how the title bar
will be formated. For more information see TitleBar.
-
+
*/
ControlContainerDescriptor (
ControlContainer& rContainer,
::Window* pParent,
- ::std::auto_ptr<ILayoutableWindow> pControl,
+ ::std::auto_ptr<ILayoutableWindow> pControl,
const String& rTitle,
TitleBar::TitleBarType eType);
diff --git a/sd/source/ui/toolpanel/ControlList.hxx b/sd/source/ui/toolpanel/ControlList.hxx
index 80c969c6e6c2..90a73692e024 100644
--- a/sd/source/ui/toolpanel/ControlList.hxx
+++ b/sd/source/ui/toolpanel/ControlList.hxx
@@ -2,7 +2,7 @@
/*************************************************************************
*
* 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
diff --git a/sd/source/ui/toolpanel/LayoutMenu.cxx b/sd/source/ui/toolpanel/LayoutMenu.cxx
index 770b6945c0a8..0ebea3f15bc6 100644
--- a/sd/source/ui/toolpanel/LayoutMenu.cxx
+++ b/sd/source/ui/toolpanel/LayoutMenu.cxx
@@ -2,7 +2,7 @@
/*************************************************************************
*
* 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
@@ -112,7 +112,7 @@ private:
};
-SFX_IMPL_INTERFACE(LayoutMenu, SfxShell,
+SFX_IMPL_INTERFACE(LayoutMenu, SfxShell,
SdResId(STR_TASKPANELAYOUTMENU))
{
SFX_POPUPMENU_REGISTRATION(SdResId(RID_TASKPANE_LAYOUTMENU_POPUP));
@@ -157,15 +157,15 @@ static snewfoil_value_info standard[] =
{
{BMP_LAYOUT_EMPTY, BMP_LAYOUT_EMPTY_H, STR_AUTOLAYOUT_NONE, WritingMode_LR_TB, AUTOLAYOUT_NONE},
{BMP_LAYOUT_HEAD03, BMP_LAYOUT_HEAD03_H, STR_AUTOLAYOUT_TITLE, WritingMode_LR_TB, AUTOLAYOUT_TITLE},
- {BMP_LAYOUT_HEAD02, BMP_LAYOUT_HEAD02_H, STR_AUTOLAYOUT_CONTENT, WritingMode_LR_TB, AUTOLAYOUT_ENUM},
+ {BMP_LAYOUT_HEAD02, BMP_LAYOUT_HEAD02_H, STR_AUTOLAYOUT_CONTENT, WritingMode_LR_TB, AUTOLAYOUT_ENUM},
{BMP_LAYOUT_HEAD02A, BMP_LAYOUT_HEAD02A_H, STR_AUTOLAYOUT_2CONTENT, WritingMode_LR_TB, AUTOLAYOUT_2TEXT},
- {BMP_LAYOUT_HEAD01, BMP_LAYOUT_HEAD01_H, STR_AUTOLAYOUT_ONLY_TITLE, WritingMode_LR_TB, AUTOLAYOUT_ONLY_TITLE},
+ {BMP_LAYOUT_HEAD01, BMP_LAYOUT_HEAD01_H, STR_AUTOLAYOUT_ONLY_TITLE, WritingMode_LR_TB, AUTOLAYOUT_ONLY_TITLE},
{BMP_LAYOUT_TEXTONLY, BMP_LAYOUT_TEXTONLY_H, STR_AUTOLAYOUT_ONLY_TEXT, WritingMode_LR_TB, AUTOLAYOUT_ONLY_TEXT},
{BMP_LAYOUT_HEAD03B, BMP_LAYOUT_HEAD03B_H, STR_AUTOLAYOUT_2CONTENT_CONTENT, WritingMode_LR_TB, AUTOLAYOUT_2OBJTEXT},
{BMP_LAYOUT_HEAD03C, BMP_LAYOUT_HEAD03C_H, STR_AUTOLAYOUT_CONTENT_2CONTENT, WritingMode_LR_TB, AUTOLAYOUT_TEXT2OBJ},
- {BMP_LAYOUT_HEAD03A, BMP_LAYOUT_HEAD03A_H, STR_AUTOLAYOUT_2CONTENT_OVER_CONTENT,WritingMode_LR_TB, AUTOLAYOUT_2OBJOVERTEXT},
+ {BMP_LAYOUT_HEAD03A, BMP_LAYOUT_HEAD03A_H, STR_AUTOLAYOUT_2CONTENT_OVER_CONTENT,WritingMode_LR_TB, AUTOLAYOUT_2OBJOVERTEXT},
{BMP_LAYOUT_HEAD02B, BMP_LAYOUT_HEAD02B_H, STR_AUTOLAYOUT_CONTENT_OVER_CONTENT, WritingMode_LR_TB, AUTOLAYOUT_OBJOVERTEXT},
- {BMP_LAYOUT_HEAD04, BMP_LAYOUT_HEAD04_H, STR_AUTOLAYOUT_4CONTENT, WritingMode_LR_TB, AUTOLAYOUT_4OBJ},
+ {BMP_LAYOUT_HEAD04, BMP_LAYOUT_HEAD04_H, STR_AUTOLAYOUT_4CONTENT, WritingMode_LR_TB, AUTOLAYOUT_4OBJ},
{BMP_LAYOUT_HEAD06, BMP_LAYOUT_HEAD06_H, STR_AUTOLAYOUT_6CONTENT, WritingMode_LR_TB, AUTOLAYOUT_6CLIPART},
// vertical
@@ -224,7 +224,7 @@ void LayoutMenu::implConstruct( DrawDocShell& rDocumentShell )
SetSmartHelpId(SmartId(HID_SD_TASK_PANE_PREVIEW_LAYOUTS));
SetAccessibleName(SdResId(STR_TASKPANEL_LAYOUT_MENU_TITLE));
-
+
Link aStateChangeLink (LINK(this,LayoutMenu,StateChangeHandler));
mxListener = new ::sd::tools::SlotStateListener(
aStateChangeLink,
@@ -242,7 +242,7 @@ LayoutMenu::~LayoutMenu (void)
// Tell the shell factory that this object is no longer available.
if (GetShellManager() != NULL)
GetShellManager()->RemoveSubShell(this);
-
+
Reference<lang::XComponent> xComponent (mxListener, UNO_QUERY);
if (xComponent.is())
xComponent->dispose();
@@ -267,7 +267,7 @@ LayoutMenu::~LayoutMenu (void)
AutoLayout LayoutMenu::GetSelectedAutoLayout (void)
{
AutoLayout aResult = AUTOLAYOUT_NONE;
-
+
if ( ! IsNoSelection() && GetSelectItemId()!=0)
{
AutoLayout* pLayout = static_cast<AutoLayout*>(GetItemData(GetSelectItemId()));
@@ -288,7 +288,7 @@ Size LayoutMenu::GetPreferredSize (void)
{
Size aItemSize = CalcItemSizePixel (Size());
Size aPreferredWindowSize = CalcWindowSizePixel (
- aItemSize,
+ aItemSize,
(USHORT)mnPreferredColumnCount,
(USHORT)CalculateRowCount (aItemSize,mnPreferredColumnCount));
return aPreferredWindowSize;
@@ -389,7 +389,7 @@ void LayoutMenu::UpdateEnabledState (const MasterMode eMode)
// expanded.
bIsEnabled = true;
break;
-
+
case ViewShell::ST_DRAW:
case ViewShell::ST_IMPRESS:
{
@@ -482,7 +482,7 @@ void LayoutMenu::Resize (void)
nColumnCount = 4;
int nRowCount = CalculateRowCount (aItemSize, nColumnCount);
-
+
SetColCount ((USHORT)nColumnCount);
SetLineCount ((USHORT)nRowCount);
}
@@ -505,7 +505,7 @@ void LayoutMenu::MouseButtonDown (const MouseEvent& rEvent)
if (nIndex > 0)
SelectItem(nIndex);
}
-
+
ValueSet::MouseButtonDown (rEvent);
}
@@ -698,7 +698,7 @@ void LayoutMenu::AssignLayoutToSelectedSlides (AutoLayout aLayout)
pPageSelection.reset(new ::sd::slidesorter::SlideSorterViewShell::PageSelection());
pPageSelection->push_back(pMainViewShell->GetActualPage());
}
-
+
if (pPageSelection->empty())
break;
@@ -743,7 +743,7 @@ SfxRequest LayoutMenu::CreateRequest (
break;
SetOfByte aVisibleLayers (pPage->TRG_GetMasterPageVisibleLayers());
-
+
aRequest.AppendItem(
SfxStringItem (ID_VAL_PAGENAME, String()));//pPage->GetName()));
aRequest.AppendItem(SfxUInt32Item (ID_VAL_WHATLAYOUT, aLayout));
@@ -768,7 +768,7 @@ void LayoutMenu::Fill (void)
SvtLanguageOptions aLanguageOptions;
sal_Bool bVertical = aLanguageOptions.IsVerticalTextEnabled();
SdDrawDocument* pDocument = mrBase.GetDocument();
- sal_Bool bRightToLeft = (pDocument!=NULL
+ sal_Bool bRightToLeft = (pDocument!=NULL
&& pDocument->GetDefaultWritingMode() == WritingMode_RL_TB);
// Get URL of the view in the center pane.
@@ -786,7 +786,7 @@ void LayoutMenu::Fill (void)
}
catch (RuntimeException&)
{}
-
+
snewfoil_value_info* pInfo = NULL;
if (sCenterPaneViewName.equals(framework::FrameworkHelper::msNotesViewURL))
{
@@ -812,10 +812,10 @@ void LayoutMenu::Fill (void)
{
if ((WritingMode_TB_RL != pInfo->meWritingMode) || bVertical)
{
- BitmapEx aBmp (SdResId (bHighContrast
- ? pInfo->mnHCBmpResId
+ BitmapEx aBmp (SdResId (bHighContrast
+ ? pInfo->mnHCBmpResId
: pInfo->mnBmpResId));
-
+
if (bRightToLeft && (WritingMode_TB_RL != pInfo->meWritingMode))
aBmp.Mirror (BMP_MIRROR_HORZ);
@@ -926,7 +926,7 @@ void LayoutMenu::UpdateSelection (void)
ViewShell* pViewShell = mrBase.GetMainViewShell().get();
if (pViewShell == NULL)
break;
-
+
SdPage* pCurrentPage = pViewShell->getCurrentPage();
if (pCurrentPage == NULL)
break;
diff --git a/sd/source/ui/toolpanel/LayoutMenu.hxx b/sd/source/ui/toolpanel/LayoutMenu.hxx
index f393916a453a..f5507505ca9e 100644
--- a/sd/source/ui/toolpanel/LayoutMenu.hxx
+++ b/sd/source/ui/toolpanel/LayoutMenu.hxx
@@ -2,7 +2,7 @@
/*************************************************************************
*
* 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
@@ -66,7 +66,7 @@ class LayoutMenu
: public ValueSet,
public TreeNode,
public SfxShell,
- public DragSourceHelper,
+ public DragSourceHelper,
public DropTargetHelper
{
public:
diff --git a/sd/source/ui/toolpanel/MethodGuard.hxx b/sd/source/ui/toolpanel/MethodGuard.hxx
index 4da6f81d600f..b14deeccce86 100644
--- a/sd/source/ui/toolpanel/MethodGuard.hxx
+++ b/sd/source/ui/toolpanel/MethodGuard.hxx
@@ -1,7 +1,7 @@
/* -*- 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
diff --git a/sd/source/ui/toolpanel/ScrollPanel.cxx b/sd/source/ui/toolpanel/ScrollPanel.cxx
index 0b1c748b7470..8c0a45d99ba4 100644
--- a/sd/source/ui/toolpanel/ScrollPanel.cxx
+++ b/sd/source/ui/toolpanel/ScrollPanel.cxx
@@ -2,7 +2,7 @@
/*************************************************************************
*
* 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
@@ -136,7 +136,7 @@ ScrollPanel::~ScrollPanel (void)
TitledControl* ScrollPanel::AddControl (
- ::std::auto_ptr<TreeNode> pControl,
+ ::std::auto_ptr<TreeNode> pControl,
const String& rTitle,
ULONG nHelpId)
{
@@ -144,14 +144,14 @@ TitledControl* ScrollPanel::AddControl (
// managed by the content object.
TitledControl* pTitledControl = new TitledControl(
this,
- pControl,
+ pControl,
rTitle,
TitledControlStandardClickHandler(GetControlContainer(), ControlContainer::ES_TOGGLE),
TitleBar::TBT_SUB_CONTROL_HEADLINE);
pTitledControl->GetTitleBar()->SetHelpId(nHelpId);
AddControl(::std::auto_ptr<TreeNode>(pTitledControl));
-
+
return pTitledControl;
}
@@ -170,7 +170,7 @@ void ScrollPanel::AddControl (::std::auto_ptr<TreeNode> pControl)
const Link aWindowListener(LINK(this,ScrollPanel,WindowEventListener));
OSL_ASSERT(pControl->GetWindow()!=NULL);
pControl->GetWindow()->AddEventListener(aWindowListener);
-
+
TitledControl* pTitledControl = dynamic_cast<TitledControl*>(pControl.get());
if (pTitledControl != NULL)
{
@@ -193,8 +193,8 @@ void ScrollPanel::AddControl (::std::auto_ptr<TreeNode> pControl)
rFocusManager.RegisterLink(pFirst,pControl->GetWindow(), KEY_UP);
rFocusManager.RegisterLink(pControl->GetWindow(),pFirst, KEY_DOWN);
}
-
-
+
+
// Add a down link only for the first control so that when entering
// the sub tool panel the focus is set to the first control.
if (nControlCount == 0)
@@ -231,7 +231,7 @@ void ScrollPanel::Paint (const Rectangle& rRect)
Size aSize (maScrollWindow.GetOutputSizePixel());
// Paint left and right vertical border.
Rectangle aVerticalArea (
- Point(0,0),
+ Point(0,0),
Size(mnHorizontalBorder,aSize.Height()));
maScrollWindow.DrawRect (aVerticalArea);
aVerticalArea.Right() += mnHorizontalBorder + mnChildrenWidth - 1;
@@ -253,7 +253,7 @@ void ScrollPanel::Paint (const Rectangle& rRect)
break;
maScrollWindow.DrawRect (aStripeArea);
}
-
+
maScrollWindow.SetLineColor (aOriginalLineColor);
maScrollWindow.SetFillColor (aOriginalFillColor);
}
@@ -398,7 +398,7 @@ void ScrollPanel::Rearrange (void)
mnChildrenWidth += aRequiredSize.Width();
else
mnChildrenWidth += aAvailableSize.Width();
-
+
sal_Int32 nChildrenHeight (LayoutChildren());
maVerticalScrollBar.SetRangeMax (
nChildrenHeight + mnVerticalBorder);
@@ -414,7 +414,7 @@ Size ScrollPanel::GetRequiredSize (void)
{
// First determine the width of the children. This is the maximum of
// the current window width and the individual minimum widths of the
- // children.
+ // children.
int nChildrenWidth (GetSizePixel().Width());
unsigned int nCount = mpControlContainer->GetControlCount();
unsigned int nIndex;
@@ -429,7 +429,7 @@ Size ScrollPanel::GetRequiredSize (void)
// Determine the accumulated width of all children when scaled to the
// minimum width.
nChildrenWidth -= 2*mnHorizontalBorder;
- Size aTotalSize (nChildrenWidth,
+ Size aTotalSize (nChildrenWidth,
2*mnVerticalBorder + (nCount-1) * mnVerticalGap);
for (nIndex=0; nIndex<nCount; nIndex++)
{
@@ -529,7 +529,7 @@ Size ScrollPanel::SetupScrollBars (const Size& rRequiredSize)
if (GetMinimumWidth() + aScrollBarSize.Width() > aWindowSize.Width())
bShowHorizontal = true;
}
-
+
// Setup the scroll bars.
aRemainingSize.Width()
= SetupVerticalScrollBar (bShowVertical, rRequiredSize.Height());
@@ -586,7 +586,7 @@ sal_Int32 ScrollPanel::SetupVerticalScrollBar (bool bShow, sal_Int32 nRange)
long nMinPos = maVerticalScrollBar.GetRangeMin();
if (maVerticalScrollBar.GetThumbPos() < nMinPos)
maVerticalScrollBar.SetThumbPos(nMinPos);
- long nMaxPos = maVerticalScrollBar.GetRangeMax()
+ long nMaxPos = maVerticalScrollBar.GetRangeMax()
- maVerticalScrollBar.GetVisibleSize();
if (maVerticalScrollBar.GetThumbPos() >= nMaxPos)
maVerticalScrollBar.SetThumbPos(nMaxPos);
@@ -639,7 +639,7 @@ sal_Int32 ScrollPanel::SetupHorizontalScrollBar (bool bShow, sal_Int32 nRange)
long nMinPos = maHorizontalScrollBar.GetRangeMin();
if (maHorizontalScrollBar.GetThumbPos() < nMinPos)
maHorizontalScrollBar.SetThumbPos(nMinPos);
- long nMaxPos = maHorizontalScrollBar.GetRangeMax()
+ long nMaxPos = maHorizontalScrollBar.GetRangeMax()
- maHorizontalScrollBar.GetVisibleSize();
if (maHorizontalScrollBar.GetThumbPos() >= nMaxPos)
maHorizontalScrollBar.SetThumbPos(nMaxPos);
@@ -732,7 +732,7 @@ void ScrollPanel::MakeRectangleVisible (
aRectangle.Move(
-maScrollOffset.X() + aRelativeBox.Left(),
-maScrollOffset.Y() + aRelativeBox.Top());
-
+
const int nVisibleHeight (maVerticalScrollBar.GetVisibleSize());
const int nVisibleTop (maVerticalScrollBar.GetThumbPos());
if (aRectangle.Bottom() >= nVisibleTop+nVisibleHeight)
@@ -765,12 +765,12 @@ IMPL_LINK(ScrollPanel,WindowEventListener,VclSimpleEvent*,pEvent)
Rectangle aBox (pControl->GetItemRect(pControl->GetSelectItemId()));
aBox.Top()-=4;
aBox.Bottom()+=4;
-
+
MakeRectangleVisible(aBox, pControl);
}
}
break;
-
+
case VCLEVENT_WINDOW_MOUSEBUTTONDOWN:
{
// Make the item under the mouse visible. We need this case
@@ -791,13 +791,13 @@ IMPL_LINK(ScrollPanel,WindowEventListener,VclSimpleEvent*,pEvent)
Rectangle aBox (pControl->GetItemRect(pControl->GetItemId(aPosition)));
aBox.Top()-=4;
aBox.Bottom()+=4;
-
+
MakeRectangleVisible(aBox, pControl);
}
}
}
break;
-
+
case VCLEVENT_WINDOW_GETFOCUS:
{
@@ -815,7 +815,7 @@ IMPL_LINK(ScrollPanel,WindowEventListener,VclSimpleEvent*,pEvent)
}
}
break;
-
+
case VCLEVENT_WINDOW_SHOW:
case VCLEVENT_WINDOW_HIDE:
case VCLEVENT_WINDOW_ACTIVATE:
diff --git a/sd/source/ui/toolpanel/SlideSorterCacheDisplay.cxx b/sd/source/ui/toolpanel/SlideSorterCacheDisplay.cxx
index 821fa89ff0c4..a0a9641e7f9d 100644
--- a/sd/source/ui/toolpanel/SlideSorterCacheDisplay.cxx
+++ b/sd/source/ui/toolpanel/SlideSorterCacheDisplay.cxx
@@ -2,7 +2,7 @@
/*************************************************************************
*
* 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
@@ -59,7 +59,7 @@ public:
virtual void Paint (const Rectangle& rBoundingBox)
{ mpDisplay->Paint(rBoundingBox); ::Window::Paint(rBoundingBox); }
virtual void Resize (void) { mpDisplay->Resize(); ::Window::Resize(); }
-
+
private:
::sd::toolpanel::SlideSorterCacheDisplay* mpDisplay;
};
@@ -178,7 +178,7 @@ void SlideSorterCacheDisplay::Resize (void)
++nC;
}
double nAspect2 = double(nC) / double(nR);
-
+
mnRowCount = nR;
mnColumnCount = nC;
mnHorizontalGap = 2;
@@ -207,10 +207,10 @@ SlideSorterCacheDisplay* SlideSorterCacheDisplay::Instance (const SdDrawDocument
{
pDisplay = new SlideSorterCacheDisplay(pDocument);
}
-
+
return pDisplay;
}
-
+
diff --git a/sd/source/ui/toolpanel/SubToolPanel.cxx b/sd/source/ui/toolpanel/SubToolPanel.cxx
index 473ecd4a820b..f76510452717 100644
--- a/sd/source/ui/toolpanel/SubToolPanel.cxx
+++ b/sd/source/ui/toolpanel/SubToolPanel.cxx
@@ -2,7 +2,7 @@
/*************************************************************************
*
* 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
@@ -134,7 +134,7 @@ void SubToolPanel::Paint (const Rectangle& rRect)
Size aSize (GetOutputSizePixel());
// Paint left and right vertical border.
Rectangle aVerticalArea (
- Point(0,0),
+ Point(0,0),
Size(mnHorizontalBorder,aSize.Height()));
DrawRect (aVerticalArea);
aVerticalArea.Right() += mnHorizontalBorder + mnChildrenWidth - 1;
@@ -156,7 +156,7 @@ void SubToolPanel::Paint (const Rectangle& rRect)
break;
DrawRect (aStripeArea);
}
-
+
SetLineColor (aOriginalLineColor);
SetFillColor (aOriginalFillColor);
}
@@ -263,7 +263,7 @@ void SubToolPanel::Rearrange (void)
aRequiredSize.Width() = aAvailableSize.Width();
mnChildrenWidth = -2*mnHorizontalBorder;
mnChildrenWidth += aAvailableSize.Width();
-
+
LayoutChildren();
mbIsRearrangePending = false;
@@ -277,7 +277,7 @@ Size SubToolPanel::GetRequiredSize (void)
{
// First determine the width of the children. This is the maximum of
// the current window width and the individual minimum widths of the
- // children.
+ // children.
int nChildrenWidth (GetSizePixel().Width());
unsigned int nCount = mpControlContainer->GetControlCount();
unsigned int nIndex;
@@ -292,7 +292,7 @@ Size SubToolPanel::GetRequiredSize (void)
// Determine the accumulated width of all children when scaled to the
// minimum width.
nChildrenWidth -= 2*mnHorizontalBorder;
- Size aTotalSize (nChildrenWidth,
+ Size aTotalSize (nChildrenWidth,
2*mnVerticalBorder + (nCount-1) * mnVerticalGap);
for (nIndex=0; nIndex<nCount; nIndex++)
{
diff --git a/sd/source/ui/toolpanel/TaskPaneControlFactory.cxx b/sd/source/ui/toolpanel/TaskPaneControlFactory.cxx
index 0c2893ab5bba..ead4074d1d0c 100644
--- a/sd/source/ui/toolpanel/TaskPaneControlFactory.cxx
+++ b/sd/source/ui/toolpanel/TaskPaneControlFactory.cxx
@@ -2,7 +2,7 @@
/*************************************************************************
*
* 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
diff --git a/sd/source/ui/toolpanel/TaskPaneFocusManager.cxx b/sd/source/ui/toolpanel/TaskPaneFocusManager.cxx
index 6099e46c4c5e..cd543a4d8c5b 100644
--- a/sd/source/ui/toolpanel/TaskPaneFocusManager.cxx
+++ b/sd/source/ui/toolpanel/TaskPaneFocusManager.cxx
@@ -2,7 +2,7 @@
/*************************************************************************
*
* 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
@@ -42,7 +42,7 @@ namespace {
class WindowHash
{
public:
- size_t operator()(const ::Window* argument) const
+ size_t operator()(const ::Window* argument) const
{ return reinterpret_cast<unsigned long>(argument); }
};
@@ -177,7 +177,7 @@ void FocusManager::RemoveLinks (
Clear();
return;
}
-
+
::std::pair<LinkMap::iterator,LinkMap::iterator> aCandidates;
LinkMap::iterator iCandidate;
bool bLoop (mpLinks->size() > 0);
@@ -227,7 +227,7 @@ void FocusManager::RemoveLinks (::Window* pWindow)
// Make sure that we are not called back for the window.
pWindow->RemoveEventListener (LINK (this, FocusManager, WindowEventListener));
-
+
// Remove the links from the given window.
::std::pair<LinkMap::iterator,LinkMap::iterator> aCandidates(mpLinks->equal_range(pWindow));
mpLinks->erase(aCandidates.first, aCandidates.second);
@@ -258,7 +258,7 @@ void FocusManager::RemoveLinks (::Window* pWindow)
void FocusManager::RemoveUnusedEventListener (::Window* pWindow)
{
OSL_ASSERT(pWindow!=NULL);
-
+
if (pWindow == NULL)
return;
diff --git a/sd/source/ui/toolpanel/TaskPaneFocusManager.hxx b/sd/source/ui/toolpanel/TaskPaneFocusManager.hxx
index fbb87f8d66fe..14721986ac17 100644
--- a/sd/source/ui/toolpanel/TaskPaneFocusManager.hxx
+++ b/sd/source/ui/toolpanel/TaskPaneFocusManager.hxx
@@ -2,7 +2,7 @@
/*************************************************************************
*
* 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
@@ -107,7 +107,7 @@ private:
static FocusManager* spInstance;
class LinkMap;
::std::auto_ptr<LinkMap> mpLinks;
-
+
FocusManager (void);
~FocusManager (void);
@@ -115,7 +115,7 @@ private:
listeners.
*/
void Clear (void);
-
+
/** Remove all links from or to the given window.
*/
void RemoveLinks (::Window* pWindow);
diff --git a/sd/source/ui/toolpanel/TaskPaneShellManager.cxx b/sd/source/ui/toolpanel/TaskPaneShellManager.cxx
index f101f34e8864..51bba27e5a24 100644
--- a/sd/source/ui/toolpanel/TaskPaneShellManager.cxx
+++ b/sd/source/ui/toolpanel/TaskPaneShellManager.cxx
@@ -2,7 +2,7 @@
/*************************************************************************
*
* 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
diff --git a/sd/source/ui/toolpanel/TaskPaneShellManager.hxx b/sd/source/ui/toolpanel/TaskPaneShellManager.hxx
index f07ff157a0f2..f70a90c0ebcc 100644
--- a/sd/source/ui/toolpanel/TaskPaneShellManager.hxx
+++ b/sd/source/ui/toolpanel/TaskPaneShellManager.hxx
@@ -2,7 +2,7 @@
/*************************************************************************
*
* 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
@@ -73,7 +73,7 @@ public:
ShellId nId,
::Window* pParentWindow,
FrameView* pFrameView = NULL);
-
+
virtual void ReleaseShell (SfxShell* pShell);
/** Add a sub shell to the set of sub shells managed by the
@@ -87,7 +87,7 @@ public:
NULL when this shell is requested.
*/
void RemoveSubShell (const SfxShell* pShell);
- /** removes the shell given by its ID from the set of sub shells managed by the
+ /** removes the shell given by its ID from the set of sub shells managed by the
TaskPaneShellManager. Subsequent calls to CreateShell() will return
NULL when this shell is requested.
*/
diff --git a/sd/source/ui/toolpanel/TaskPaneTreeNode.cxx b/sd/source/ui/toolpanel/TaskPaneTreeNode.cxx
index ad2bdaf709bc..e175de08f5bb 100644
--- a/sd/source/ui/toolpanel/TaskPaneTreeNode.cxx
+++ b/sd/source/ui/toolpanel/TaskPaneTreeNode.cxx
@@ -2,7 +2,7 @@
/*************************************************************************
*
* 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
@@ -251,7 +251,7 @@ TaskPaneShellManager* TreeNode::GetShellManager (void)
void TreeNode::AddStateChangeListener (const Link& rListener)
{
if (::std::find (
- maStateChangeListeners.begin(),
+ maStateChangeListeners.begin(),
maStateChangeListeners.end(),
rListener) == maStateChangeListeners.end())
{
diff --git a/sd/source/ui/toolpanel/TestMenu.cxx b/sd/source/ui/toolpanel/TestMenu.cxx
index 5ed76e024086..515b21117a28 100644
--- a/sd/source/ui/toolpanel/TestMenu.cxx
+++ b/sd/source/ui/toolpanel/TestMenu.cxx
@@ -2,7 +2,7 @@
/*************************************************************************
*
* 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
@@ -60,15 +60,15 @@ ColorMenu::ColorMenu (::Window* i_pParent)
maSet (this),
mnPreferredColumnCount(2)
{
- WinBits aStyle =
- WB_ITEMBORDER
- | WB_DOUBLEBORDER
- | WB_NAMEFIELD
+ WinBits aStyle =
+ WB_ITEMBORDER
+ | WB_DOUBLEBORDER
+ | WB_NAMEFIELD
| WB_FLATVALUESET
| WB_TABSTOP
| WB_VSCROLL;
- maSet.SetStyle (maSet.GetStyle() | aStyle);
+ maSet.SetStyle (maSet.GetStyle() | aStyle);
maSet.SetExtraSpacing(2);
Fill ();
@@ -118,7 +118,7 @@ sal_Int32 ColorMenu::GetPreferredWidth (sal_Int32 nHeight)
int nRowCount = nHeight / aItemSize.Height();
if (nRowCount <= 0)
nRowCount = 1;
- int nColumnCount = (maSet.GetItemCount() + nRowCount-1)
+ int nColumnCount = (maSet.GetItemCount() + nRowCount-1)
/ nRowCount;
nPreferredWidth = nColumnCount * aItemSize.Width();
}
@@ -144,7 +144,7 @@ sal_Int32 ColorMenu::GetPreferredHeight (sal_Int32 nWidth)
nColumnCount = 1;
else if (nColumnCount > 4)
nColumnCount = 4;
- int nRowCount = (maSet.GetItemCount() + nColumnCount-1)
+ int nRowCount = (maSet.GetItemCount() + nColumnCount-1)
/ nColumnCount;
nPreferredHeight = nRowCount * aItemSize.Height();
}
@@ -195,7 +195,7 @@ void ColorMenu::Resize (void)
nColumnCount = 4;
USHORT nRowCount = (USHORT)CalculateRowCount (aItemSize, nColumnCount);
-
+
maSet.SetColCount ((USHORT)nColumnCount);
maSet.SetLineCount (nRowCount);
}
diff --git a/sd/source/ui/toolpanel/TestMenu.hxx b/sd/source/ui/toolpanel/TestMenu.hxx
index 9b27948fdd3d..7eb4882e4211 100644
--- a/sd/source/ui/toolpanel/TestMenu.hxx
+++ b/sd/source/ui/toolpanel/TestMenu.hxx
@@ -2,7 +2,7 @@
/*************************************************************************
*
* 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
diff --git a/sd/source/ui/toolpanel/TestPanel.cxx b/sd/source/ui/toolpanel/TestPanel.cxx
index b33ba1c89d73..7e543cc4ff76 100644
--- a/sd/source/ui/toolpanel/TestPanel.cxx
+++ b/sd/source/ui/toolpanel/TestPanel.cxx
@@ -2,7 +2,7 @@
/*************************************************************************
*
* 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
@@ -59,8 +59,8 @@ class Wrapper
{
public:
Wrapper (
- TreeNode* pParent,
- Size aPreferredSize,
+ TreeNode* pParent,
+ Size aPreferredSize,
::Window* pWrappedControl,
bool bIsResizable)
: TreeNode (pParent),
@@ -70,7 +70,7 @@ public:
{
mpWrappedControl->Show();
}
- virtual ~Wrapper (void)
+ virtual ~Wrapper (void)
{
delete mpWrappedControl;
}
diff --git a/sd/source/ui/toolpanel/TestPanel.hxx b/sd/source/ui/toolpanel/TestPanel.hxx
index 7f69f12761fc..d923e4257c5d 100644
--- a/sd/source/ui/toolpanel/TestPanel.hxx
+++ b/sd/source/ui/toolpanel/TestPanel.hxx
@@ -2,7 +2,7 @@
/*************************************************************************
*
* 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
diff --git a/sd/source/ui/toolpanel/TitleBar.cxx b/sd/source/ui/toolpanel/TitleBar.cxx
index fd690a364aba..83f39e6f3089 100644
--- a/sd/source/ui/toolpanel/TitleBar.cxx
+++ b/sd/source/ui/toolpanel/TitleBar.cxx
@@ -2,7 +2,7 @@
/*************************************************************************
*
* 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
@@ -59,7 +59,7 @@
namespace sd { namespace toolpanel {
const int TitleBar::snIndentationWidth = 16;
-
+
TitleBar::TitleBar ( ::Window* pParent, const String& rsTitle, TitleBarType eType, bool bIsExpandable)
: ::Window (pParent, WB_TABSTOP)
, TreeNode(this)
@@ -287,7 +287,7 @@ void TitleBar::PaintSubPanelHeadLineBar (void)
Rectangle aTextBox (CalculateTextBoundingBox (nWidth, true));
Rectangle aTitleBarBox (CalculateTitleBarBox(aTextBox, nWidth));
- int nVerticalOffset = -aTitleBarBox.Top();
+ int nVerticalOffset = -aTitleBarBox.Top();
aTitleBarBox.Top() += nVerticalOffset;
aTitleBarBox.Bottom() += nVerticalOffset;
aTextBox.Top() += nVerticalOffset;
@@ -353,7 +353,7 @@ Rectangle TitleBar::PaintExpansionIndicator (const Rectangle& rTextBox)
if (meType == TBT_SUB_CONTROL_HEADLINE)
aPosition.X() += 3;
mpDevice->DrawImage (aPosition, aImage);
-
+
aExpansionIndicatorArea = Rectangle (
aPosition, aImage.GetSizePixel());
}
@@ -377,9 +377,9 @@ USHORT TitleBar::GetTextStyle (void)
{
if(IsEnabled())
{
- return TEXT_DRAW_LEFT
+ return TEXT_DRAW_LEFT
| TEXT_DRAW_TOP
- | TEXT_DRAW_MULTILINE
+ | TEXT_DRAW_MULTILINE
| TEXT_DRAW_WORDBREAK;
}
else
@@ -452,7 +452,7 @@ Rectangle TitleBar::CalculateTextBoundingBox (
Rectangle aTextBox (
Point(0,0),
- Size (nAvailableWidth,
+ Size (nAvailableWidth,
GetSettings().GetStyleSettings().GetTitleHeight()));
aTextBox.Top() += (aTextBox.GetHeight() - GetTextHeight()) / 2;
if (HasExpansionIndicator())
@@ -531,7 +531,7 @@ void TitleBar::DataChanged (const DataChangedEvent& rEvent)
mpDevice.reset(new VirtualDevice (*this));
// fall through.
-
+
case DATACHANGED_FONTS:
case DATACHANGED_FONTSUBSTITUTION:
{
@@ -542,7 +542,7 @@ void TitleBar::DataChanged (const DataChangedEvent& rEvent)
if (IsControlFont())
aFont.Merge(GetControlFont());
SetZoomedPointFont(aFont);
-
+
// Color.
Color aColor;
if (IsControlForeground())
diff --git a/sd/source/ui/toolpanel/TitledControl.cxx b/sd/source/ui/toolpanel/TitledControl.cxx
index 3f424357fedd..d06812e8526a 100644
--- a/sd/source/ui/toolpanel/TitledControl.cxx
+++ b/sd/source/ui/toolpanel/TitledControl.cxx
@@ -2,7 +2,7 @@
/*************************************************************************
*
* 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
@@ -39,12 +39,12 @@
#include <vcl/svapp.hxx>
-namespace sd { namespace toolpanel {
+namespace sd { namespace toolpanel {
TitledControl::TitledControl (
TreeNode* pParent,
- ::std::auto_ptr<TreeNode> pControl,
+ ::std::auto_ptr<TreeNode> pControl,
const String& rTitle,
const ClickHandler& rClickHandler,
TitleBar::TitleBarType eType)
@@ -138,7 +138,7 @@ sal_Int32 TitledControl::GetPreferredHeight (sal_Int32 nWidth)
bool TitledControl::IsResizable (void)
{
- return IsExpanded()
+ return IsExpanded()
&& GetControl()->IsResizable();
}
@@ -157,7 +157,7 @@ void TitledControl::Resize (void)
{
Size aWindowSize (GetOutputSizePixel());
- int nTitleBarHeight
+ int nTitleBarHeight
= GetTitleBar()->GetPreferredHeight(aWindowSize.Width());
GetTitleBar()->GetWindow()->SetPosSizePixel (
Point (0,0),
@@ -165,7 +165,7 @@ void TitledControl::Resize (void)
TreeNode* pControl = GetControl();
- if (pControl != NULL
+ if (pControl != NULL
&& pControl->GetWindow() != NULL
&& pControl->GetWindow()->IsVisible())
{
@@ -258,7 +258,7 @@ bool TitledControl::Expand (bool bExpanded)
if (bExpansionStateChanged)
UpdateStates();
}
-
+
return bExpansionStateChanged;
}
@@ -288,7 +288,7 @@ bool TitledControl::IsExpanded (void) const
return false;
}
-void TitledControl::SetEnabledState(bool bFlag)
+void TitledControl::SetEnabledState(bool bFlag)
{
if (!bFlag)
{
@@ -297,13 +297,13 @@ void TitledControl::SetEnabledState(bool bFlag)
ControlContainer::ES_COLLAPSE);
Disable();
}
- else
+ else
{
-/*
+/*
GetParentNode()->GetControlContainer().SetExpansionState (
this,
ControlContainer::ES_EXPAND);
-*/
+*/
Enable();
}
@@ -352,7 +352,7 @@ void TitledControl::UpdateStates (void)
-IMPL_LINK(TitledControl, WindowEventListener,
+IMPL_LINK(TitledControl, WindowEventListener,
VclSimpleEvent*, pEvent)
{
if (pEvent!=NULL && pEvent->ISA(VclWindowEvent))
diff --git a/sd/source/ui/toolpanel/ToolPanel.cxx b/sd/source/ui/toolpanel/ToolPanel.cxx
index 48866034be47..29db47c6f957 100644
--- a/sd/source/ui/toolpanel/ToolPanel.cxx
+++ b/sd/source/ui/toolpanel/ToolPanel.cxx
@@ -1,7 +1,7 @@
/* -*- 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
@@ -89,7 +89,7 @@ namespace sd { namespace toolpanel
ToolPanelGuard aGuard( *this );
return Reference< XWindow >( m_pControl->GetWindow()->GetComponentInterface(), UNO_QUERY_THROW );
}
-
+
//------------------------------------------------------------------------------------------------------------------
Reference< XAccessible > SAL_CALL ToolPanel::createAccessible( const Reference< XAccessible >& i_rParentAccessible ) throw (RuntimeException)
{
diff --git a/sd/source/ui/toolpanel/ToolPanel.hxx b/sd/source/ui/toolpanel/ToolPanel.hxx
index a0f6c1d7e102..311944c71b00 100644
--- a/sd/source/ui/toolpanel/ToolPanel.hxx
+++ b/sd/source/ui/toolpanel/ToolPanel.hxx
@@ -1,7 +1,7 @@
/* -*- 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
diff --git a/sd/source/ui/toolpanel/ToolPanelDescriptor.hxx b/sd/source/ui/toolpanel/ToolPanelDescriptor.hxx
index 55f9843bf53b..98943d6c5784 100644
--- a/sd/source/ui/toolpanel/ToolPanelDescriptor.hxx
+++ b/sd/source/ui/toolpanel/ToolPanelDescriptor.hxx
@@ -2,7 +2,7 @@
/*************************************************************************
*
* 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
@@ -47,7 +47,7 @@ public:
/** Create a new descriptor for the given control.
@param pControl
*/
- ToolPanelDescriptor (::std::auto_ptr< ::Window> pControl,
+ ToolPanelDescriptor (::std::auto_ptr< ::Window> pControl,
const String& rTitle);
~ToolPanelDescriptor (void);
@@ -72,7 +72,7 @@ public:
int GetTotalHeight (void) const;
int GetWindowHeight (void) const;
-
+
private:
::std::auto_ptr< ::Window> mpControl;
String msTitle;
diff --git a/sd/source/ui/toolpanel/ToolPanelFactory.cxx b/sd/source/ui/toolpanel/ToolPanelFactory.cxx
index 42c68083057c..86adba9431b5 100644
--- a/sd/source/ui/toolpanel/ToolPanelFactory.cxx
+++ b/sd/source/ui/toolpanel/ToolPanelFactory.cxx
@@ -1,7 +1,7 @@
/* -*- 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
diff --git a/sd/source/ui/toolpanel/ToolPanelUIElement.cxx b/sd/source/ui/toolpanel/ToolPanelUIElement.cxx
index eb5b937f0bbc..f4f3501b6dd4 100644
--- a/sd/source/ui/toolpanel/ToolPanelUIElement.cxx
+++ b/sd/source/ui/toolpanel/ToolPanelUIElement.cxx
@@ -1,7 +1,7 @@
/* -*- 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
@@ -94,21 +94,21 @@ namespace sd { namespace toolpanel
UIElementMethodGuard aGuard( *this );
return m_xFrame;
}
-
+
//------------------------------------------------------------------------------------------------------------------
::rtl::OUString SAL_CALL ToolPanelUIElement::getResourceURL() throw (RuntimeException)
{
UIElementMethodGuard aGuard( *this );
return m_sResourceURL;
}
-
+
//------------------------------------------------------------------------------------------------------------------
::sal_Int16 SAL_CALL ToolPanelUIElement::getType() throw (RuntimeException)
{
UIElementMethodGuard aGuard( *this );
return UIElementType::TOOLPANEL;
}
-
+
//------------------------------------------------------------------------------------------------------------------
Reference< XInterface > SAL_CALL ToolPanelUIElement::getRealInterface( ) throw (RuntimeException)
{
diff --git a/sd/source/ui/toolpanel/ToolPanelUIElement.hxx b/sd/source/ui/toolpanel/ToolPanelUIElement.hxx
index 3a8af8c4f622..685a3f961a5f 100644
--- a/sd/source/ui/toolpanel/ToolPanelUIElement.hxx
+++ b/sd/source/ui/toolpanel/ToolPanelUIElement.hxx
@@ -1,7 +1,7 @@
/* -*- 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
diff --git a/sd/source/ui/toolpanel/ToolPanelViewShell.cxx b/sd/source/ui/toolpanel/ToolPanelViewShell.cxx
index ddbb71b5637b..5b6c17f47bff 100644
--- a/sd/source/ui/toolpanel/ToolPanelViewShell.cxx
+++ b/sd/source/ui/toolpanel/ToolPanelViewShell.cxx
@@ -1,7 +1,7 @@
/* -*- 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
@@ -240,7 +240,7 @@ public:
If the panel is not active currently, nothing happens.
*/
void DeactivatePanelByResource( const ::rtl::OUString& i_rPanelResourceURL );
-
+
/** provides access to the the VCL window of the panel deck
*/
::sfx2::ModuleTaskPane& GetTaskPane() { return *m_pTaskPane; }
@@ -596,13 +596,13 @@ void ToolPanelViewShell::KeyInput( const KeyEvent& i_rKeyEvent )
}
// ---------------------------------------------------------------------------------------------------------------------
-SdPage* ToolPanelViewShell::GetActualPage()
+SdPage* ToolPanelViewShell::GetActualPage()
{
return NULL;
}
// ---------------------------------------------------------------------------------------------------------------------
-SdPage* ToolPanelViewShell::getCurrentPage() const
+SdPage* ToolPanelViewShell::getCurrentPage() const
{
return NULL;
}
diff --git a/sd/source/ui/toolpanel/controls/AllMasterPagesSelector.cxx b/sd/source/ui/toolpanel/controls/AllMasterPagesSelector.cxx
index 3ac8c9866880..99a13e145eed 100644
--- a/sd/source/ui/toolpanel/controls/AllMasterPagesSelector.cxx
+++ b/sd/source/ui/toolpanel/controls/AllMasterPagesSelector.cxx
@@ -2,7 +2,7 @@
/*************************************************************************
*
* 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
@@ -134,7 +134,7 @@ void AllMasterPagesSelector::NotifyContainerChangeEvent (
AddItem(rEvent.maChildToken);
MasterPagesSelector::Fill();
break;
-
+
case MasterPageContainerChangeEvent::INDEX_CHANGED:
case MasterPageContainerChangeEvent::INDEXES_CHANGED:
mpSortedMasterPages->clear();
diff --git a/sd/source/ui/toolpanel/controls/AllMasterPagesSelector.hxx b/sd/source/ui/toolpanel/controls/AllMasterPagesSelector.hxx
index 4f1df32fc695..7e6c8460268b 100644
--- a/sd/source/ui/toolpanel/controls/AllMasterPagesSelector.hxx
+++ b/sd/source/ui/toolpanel/controls/AllMasterPagesSelector.hxx
@@ -2,7 +2,7 @@
/*************************************************************************
*
* 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
@@ -44,7 +44,7 @@ class AllMasterPagesSelector
{
public:
AllMasterPagesSelector (
- TreeNode* pParent,
+ TreeNode* pParent,
SdDrawDocument& rDocument,
ViewShellBase& rBase,
DrawViewShell& rViewShell,
diff --git a/sd/source/ui/toolpanel/controls/AnimationSchemesPanel.cxx b/sd/source/ui/toolpanel/controls/AnimationSchemesPanel.cxx
index 80d047cba829..1bd04f200c98 100644
--- a/sd/source/ui/toolpanel/controls/AnimationSchemesPanel.cxx
+++ b/sd/source/ui/toolpanel/controls/AnimationSchemesPanel.cxx
@@ -2,7 +2,7 @@
/*************************************************************************
*
* 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
@@ -28,7 +28,7 @@
/*************************************************************************
*
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
- *
+ *
* Copyright 2008 by Sun Microsystems, Inc.
*
* OpenOffice.org - a multi-platform office productivity suite
diff --git a/sd/source/ui/toolpanel/controls/AnimationSchemesPanel.hxx b/sd/source/ui/toolpanel/controls/AnimationSchemesPanel.hxx
index 30ab4e191634..e257f26b73f0 100644
--- a/sd/source/ui/toolpanel/controls/AnimationSchemesPanel.hxx
+++ b/sd/source/ui/toolpanel/controls/AnimationSchemesPanel.hxx
@@ -2,7 +2,7 @@
/*************************************************************************
*
* 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
@@ -28,7 +28,7 @@
/*************************************************************************
*
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
- *
+ *
* Copyright 2008 by Sun Microsystems, Inc.
*
* OpenOffice.org - a multi-platform office productivity suite
diff --git a/sd/source/ui/toolpanel/controls/CurrentMasterPagesSelector.cxx b/sd/source/ui/toolpanel/controls/CurrentMasterPagesSelector.cxx
index 322649b9a408..1d2bf8b4be9f 100644
--- a/sd/source/ui/toolpanel/controls/CurrentMasterPagesSelector.cxx
+++ b/sd/source/ui/toolpanel/controls/CurrentMasterPagesSelector.cxx
@@ -2,7 +2,7 @@
/*************************************************************************
*
* 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
@@ -93,7 +93,7 @@ CurrentMasterPagesSelector::~CurrentMasterPagesSelector (void)
{
OSL_ASSERT(mrDocument.GetDocSh() != NULL);
}
-
+
Link aLink (LINK(this,CurrentMasterPagesSelector,EventMultiplexerListener));
mrBase.GetEventMultiplexer()->RemoveEventListener(aLink);
}
@@ -237,7 +237,7 @@ void CurrentMasterPagesSelector::Execute (SfxRequest& rRequest)
}
}
break;
-
+
default:
MasterPagesSelector::Execute(rRequest);
break;
@@ -306,7 +306,7 @@ IMPL_LINK(CurrentMasterPagesSelector,EventMultiplexerListener,
break;
}
}
-
+
return 0;
}
diff --git a/sd/source/ui/toolpanel/controls/CurrentMasterPagesSelector.hxx b/sd/source/ui/toolpanel/controls/CurrentMasterPagesSelector.hxx
index 1490bda2cab0..393e8b0e7168 100644
--- a/sd/source/ui/toolpanel/controls/CurrentMasterPagesSelector.hxx
+++ b/sd/source/ui/toolpanel/controls/CurrentMasterPagesSelector.hxx
@@ -2,7 +2,7 @@
/*************************************************************************
*
* 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
@@ -46,7 +46,7 @@ class CurrentMasterPagesSelector
{
public:
CurrentMasterPagesSelector (
- TreeNode* pParent,
+ TreeNode* pParent,
SdDrawDocument& rDocument,
ViewShellBase& rBase,
const ::boost::shared_ptr<MasterPageContainer>& rpContainer);
@@ -70,7 +70,7 @@ protected:
virtual ResId GetContextMenuResId (void) const;
virtual void Execute (SfxRequest& rRequest);
virtual void GetState (SfxItemSet& rItemSet);
-
+
private:
::com::sun::star::uno::Reference< ::com::sun::star::lang::XComponent>
mxListener;
diff --git a/sd/source/ui/toolpanel/controls/CustomAnimationPanel.cxx b/sd/source/ui/toolpanel/controls/CustomAnimationPanel.cxx
index 67972234eefe..470dd63eac99 100644
--- a/sd/source/ui/toolpanel/controls/CustomAnimationPanel.cxx
+++ b/sd/source/ui/toolpanel/controls/CustomAnimationPanel.cxx
@@ -2,7 +2,7 @@
/*************************************************************************
*
* 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
@@ -38,11 +38,11 @@
#include "sdresid.hxx"
namespace sd
-{
-
+{
+
class ViewShellBase;
extern ::Window * createCustomAnimationPanel( ::Window* pParent, ViewShellBase& rBase );
-
+
namespace toolpanel { namespace controls {
diff --git a/sd/source/ui/toolpanel/controls/CustomAnimationPanel.hxx b/sd/source/ui/toolpanel/controls/CustomAnimationPanel.hxx
index 41195d308a60..d9ee13dab18e 100644
--- a/sd/source/ui/toolpanel/controls/CustomAnimationPanel.hxx
+++ b/sd/source/ui/toolpanel/controls/CustomAnimationPanel.hxx
@@ -2,7 +2,7 @@
/*************************************************************************
*
* 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
@@ -48,7 +48,7 @@ class CustomAnimationPanel
{
public:
CustomAnimationPanel (
- Window& i_rParentWindow,
+ Window& i_rParentWindow,
ToolPanelViewShell& i_rPanelViewShell);
virtual ~CustomAnimationPanel (void);
diff --git a/sd/source/ui/toolpanel/controls/DocumentHelper.cxx b/sd/source/ui/toolpanel/controls/DocumentHelper.cxx
index c8f3cde1253f..c315dacf9a9c 100644
--- a/sd/source/ui/toolpanel/controls/DocumentHelper.cxx
+++ b/sd/source/ui/toolpanel/controls/DocumentHelper.cxx
@@ -2,7 +2,7 @@
/*************************************************************************
*
* 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
@@ -118,7 +118,7 @@ SdPage* DocumentHelper::CopyMasterPageToLocalDocument (
}
if (bPageExists)
break;
-
+
// Create a new slide (and its notes page.)
uno::Reference<drawing::XDrawPagesSupplier> xSlideSupplier (
rTargetDocument.getUnoModel(), uno::UNO_QUERY);
@@ -143,7 +143,7 @@ SdPage* DocumentHelper::CopyMasterPageToLocalDocument (
pNewMasterPage = AddMasterPage(rTargetDocument, pMasterPage);
if (pNewMasterPage==NULL)
break;
- SdPage* pNewNotesMasterPage
+ SdPage* pNewNotesMasterPage
= AddMasterPage(rTargetDocument, pNotesMasterPage);
if (pNewNotesMasterPage==NULL)
break;
@@ -240,7 +240,7 @@ SdPage* DocumentHelper::AddMasterPage (
// Copy the precious flag.
pClonedMasterPage->SetPrecious(pMasterPage->IsPrecious());
-
+
// Now that the styles are available we can insert the cloned
// master page.
rTargetDocument.InsertMasterPage (pClonedMasterPage);
@@ -284,8 +284,8 @@ void DocumentHelper::ProvideStyles (
static_cast<SdStyleSheetPool*>(rTargetDocument.GetStyleSheetPool());
SdStyleSheetVector aCreatedStyles;
pTargetStyleSheetPool->CopyLayoutSheets (
- sLayoutName,
- *pSourceStyleSheetPool,
+ sLayoutName,
+ *pSourceStyleSheetPool,
aCreatedStyles);
// Add an undo action for the copied style sheets.
@@ -296,8 +296,8 @@ void DocumentHelper::ProvideStyles (
{
SdMoveStyleSheetsUndoAction* pMovStyles =
new SdMoveStyleSheetsUndoAction (
- &rTargetDocument,
- aCreatedStyles,
+ &rTargetDocument,
+ aCreatedStyles,
TRUE);
pUndoManager->AddUndoAction (pMovStyles);
}
@@ -380,7 +380,7 @@ SdPage* DocumentHelper::AddMasterPage (
// Copy the precious flag.
pClonedMasterPage->SetPrecious(pMasterPage->IsPrecious());
-
+
// Copy the necessary styles.
SdDrawDocument* pSourceDocument
= static_cast<SdDrawDocument*>(pMasterPage->GetModel());
@@ -436,7 +436,7 @@ void DocumentHelper::AssignMasterPageToPage (
SdDrawDocument* pDocument = dynamic_cast<SdDrawDocument*>(pPage->GetModel());
if (pDocument == NULL)
return;
-
+
if ( ! pPage->IsMasterPage())
{
// 1. Remove the background object (so that that, if it exists, does
@@ -447,7 +447,7 @@ void DocumentHelper::AssignMasterPageToPage (
*pDocument, *pPage, pPage->getSdrPageProperties().GetItemSet()),
TRUE);
pPage->getSdrPageProperties().PutItem(XFillStyleItem(XFILL_NONE));
-
+
pDocument->SetMasterPage (
(pPage->GetPageNum()-1)/2,
rsBaseLayoutName,
@@ -529,7 +529,7 @@ SdPage* DocumentHelper::ProvideMasterPage (
for (USHORT nIndex=0,nCount=rTargetDocument.GetMasterPageCount(); nIndex<nCount; ++nIndex)
{
SdPage* pCandidate = static_cast<SdPage*>(rTargetDocument.GetMasterPage(nIndex));
- if (pCandidate!=NULL
+ if (pCandidate!=NULL
&& sMasterPageLayoutName==pCandidate->GetLayoutName())
{
// The requested master page does already exist in the
@@ -537,7 +537,7 @@ SdPage* DocumentHelper::ProvideMasterPage (
return pCandidate;
}
}
-
+
// The given master page does not already belong to the target
// document so we have to create copies and insert them into the
// targer document.
@@ -565,7 +565,7 @@ SdPage* DocumentHelper::ProvideMasterPage (
// Clone the notes master.
if (pNotesMasterPage->GetModel() != &rTargetDocument)
{
- SdPage* pClonedNotesMasterPage
+ SdPage* pClonedNotesMasterPage
= AddMasterPage (rTargetDocument, pNotesMasterPage, nInsertionIndex+1);
if( rTargetDocument.IsUndoEnabled() )
rTargetDocument.AddUndo(
diff --git a/sd/source/ui/toolpanel/controls/DocumentHelper.hxx b/sd/source/ui/toolpanel/controls/DocumentHelper.hxx
index c699819885f1..4624612c1cb3 100644
--- a/sd/source/ui/toolpanel/controls/DocumentHelper.hxx
+++ b/sd/source/ui/toolpanel/controls/DocumentHelper.hxx
@@ -2,7 +2,7 @@
/*************************************************************************
*
* 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
@@ -90,7 +90,7 @@ private:
SdDrawDocument& rTargetDocument,
SdPage* pMasterPage,
const ::boost::shared_ptr<std::vector<SdPage*> >& rpPageList);
-
+
/** Assign the given master page to the given page.
@param pMasterPage
In contrast to AssignMasterPageToPageList() this page is assumed
diff --git a/sd/source/ui/toolpanel/controls/MasterPageContainer.cxx b/sd/source/ui/toolpanel/controls/MasterPageContainer.cxx
index 6362fb5d90b2..b46dc325ebbe 100644
--- a/sd/source/ui/toolpanel/controls/MasterPageContainer.cxx
+++ b/sd/source/ui/toolpanel/controls/MasterPageContainer.cxx
@@ -2,7 +2,7 @@
/*************************************************************************
*
* 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
@@ -152,7 +152,7 @@ private:
determine the correct size ratio.
*/
bool mbFirstPageObjectSeen;
-
+
// The widths for the previews contain two pixels for the border that is
// painted arround the preview.
static const int SMALL_PREVIEW_WIDTH = 72 + 2;
@@ -210,7 +210,7 @@ static const MasterPageContainer::Token NIL_TOKEN (-1);
MasterPageContainer::Implementation::Instance (void)
{
::boost::shared_ptr<MasterPageContainer::Implementation> pInstance;
-
+
if (Implementation::mpInstance.expired())
{
::osl::GetGlobalMutex aMutexFunctor;
@@ -703,7 +703,7 @@ void MasterPageContainer::Implementation::UpdatePreviewSizePixel (void)
// The default aspect ratio is 4:3
int nWidth (4);
int nHeight (3);
-
+
// Search for the first entry with an existing master page.
MasterPageContainerType::const_iterator iDescriptor;
MasterPageContainerType::const_iterator iContainerEnd(maContainer.end());
@@ -791,7 +791,7 @@ MasterPageContainer::Token MasterPageContainer::Implementation::PutMasterPage (
{
if (mbContainerCleaningPending)
CleanContainer();
-
+
aResult = maContainer.size();
rpDescriptor->SetToken(aResult);
@@ -808,10 +808,10 @@ MasterPageContainer::Token MasterPageContainer::Implementation::PutMasterPage (
default:
break;
}
-
+
maContainer.push_back(rpDescriptor);
aEntry = maContainer.end()-1;
-
+
FireContainerChange(MasterPageContainerChangeEvent::CHILD_ADDED,aResult);
}
}
@@ -826,7 +826,7 @@ MasterPageContainer::Token MasterPageContainer::Implementation::PutMasterPage (
// One or more aspects of the descriptor have changed. Send
// appropriate events to the listeners.
UpdateDescriptor(*aEntry,false,false, true);
-
+
std::vector<MasterPageContainerChangeEvent::EventType>::const_iterator iEventType;
for (iEventType=pEventTypes->begin(); iEventType!=pEventTypes->end(); ++iEventType)
{
@@ -903,7 +903,7 @@ Image MasterPageContainer::Implementation::GetPreviewForToken (
PreviewState ePreviewState (GetPreviewState(aToken));
SharedMasterPageDescriptor pDescriptor = GetDescriptor(aToken);
-
+
// When the preview is missing but inexpensively creatable then do that
// now.
if (pDescriptor.get()!=NULL)
@@ -942,7 +942,7 @@ Image MasterPageContainer::Implementation::GetPreviewForToken (
break;
}
}
-
+
return aPreview;
}
@@ -1003,7 +1003,7 @@ Reference<frame::XModel> MasterPageContainer::Implementation::GetModel (void)
RTL_CONSTASCII_USTRINGPARAM("com.sun.star.frame.Desktop"));
uno::Reference<frame::XComponentLoader> xDesktop (
::comphelper::getProcessServiceFactory()->createInstance(
- sDesktopServiceName),
+ sDesktopServiceName),
uno::UNO_QUERY);
// Create a new model.
@@ -1069,7 +1069,7 @@ Image MasterPageContainer::Implementation::GetPreviewSubstitution (
const ::osl::MutexGuard aGuard (maMutex);
Image aPreview;
-
+
switch (nId)
{
case STR_TASKPANEL_PREPARING_PREVIEW_SUBSTITUTION:
diff --git a/sd/source/ui/toolpanel/controls/MasterPageContainer.hxx b/sd/source/ui/toolpanel/controls/MasterPageContainer.hxx
index 6a10764dbe20..6a7d5ecafb34 100644
--- a/sd/source/ui/toolpanel/controls/MasterPageContainer.hxx
+++ b/sd/source/ui/toolpanel/controls/MasterPageContainer.hxx
@@ -2,7 +2,7 @@
/*************************************************************************
*
* 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
@@ -60,12 +60,12 @@ class MasterPageDescriptor;
master pages. Each MasterPageContainer, however, has its own
PreviewSize value and thus can independantly switch between large and
small previews.
-
+
The container maintains its own document to store master page objects.
-
+
For each master page container stores its URL, preview bitmap, page
name, and, if available, the page object.
-
+
Entries are accessed via a Token, which is mostly a numerical index but
whose values do not neccessarily have to be consecutive.
*/
@@ -110,7 +110,7 @@ public:
bool RequestPreview (Token aToken);
/** Each entry of the container is either the first page of a template
- document or is a master page of an Impress document.
+ document or is a master page of an Impress document.
*/
enum Origin {
MASTERPAGE, // Master page of a document.
@@ -137,8 +137,8 @@ public:
/** Determine whether the container has a member for the given token.
*/
bool HasToken (Token aToken) const;
-
- /** Return a token for an index in the range
+
+ /** Return a token for an index in the range
0 <= index < GetTokenCount().
*/
Token GetTokenForIndex (int nIndex);
@@ -154,7 +154,7 @@ public:
Origin GetOriginForToken (Token aToken);
sal_Int32 GetTemplateIndexForToken (Token aToken);
::boost::shared_ptr<MasterPageDescriptor> GetDescriptorForToken (Token aToken);
-
+
void InvalidatePreview (Token aToken);
/** Return a preview for the specified token. When the preview is not
diff --git a/sd/source/ui/toolpanel/controls/MasterPageContainerFiller.cxx b/sd/source/ui/toolpanel/controls/MasterPageContainerFiller.cxx
index 79b3185d256c..164c39e4196e 100644
--- a/sd/source/ui/toolpanel/controls/MasterPageContainerFiller.cxx
+++ b/sd/source/ui/toolpanel/controls/MasterPageContainerFiller.cxx
@@ -2,7 +2,7 @@
/*************************************************************************
*
* 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
@@ -87,11 +87,11 @@ void MasterPageContainerFiller::RunNextStep (void)
case SCAN_TEMPLATE:
meState = ScanTemplate();
break;
-
+
case ADD_TEMPLATE:
meState = AddTemplate();
break;
-
+
case DONE:
case ERROR:
default:
@@ -125,7 +125,7 @@ bool MasterPageContainerFiller::HasNextStep (void)
case DONE:
case ERROR:
return false;
-
+
default:
return true;
}
diff --git a/sd/source/ui/toolpanel/controls/MasterPageContainerFiller.hxx b/sd/source/ui/toolpanel/controls/MasterPageContainerFiller.hxx
index 661a26bd68b8..f83db4b59077 100644
--- a/sd/source/ui/toolpanel/controls/MasterPageContainerFiller.hxx
+++ b/sd/source/ui/toolpanel/controls/MasterPageContainerFiller.hxx
@@ -2,7 +2,7 @@
/*************************************************************************
*
* 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
@@ -58,10 +58,10 @@ public:
*/
virtual void FillingDone (void) = 0;
};
-
+
MasterPageContainerFiller (ContainerAdapter& rContainerAdapter);
virtual ~MasterPageContainerFiller (void);
-
+
/** Run the next step of the task. After HasNextStep() returns false
this method should ignore further calls.
*/
@@ -86,7 +86,7 @@ private:
::std::auto_ptr<TemplateScanner> mpScannerTask;
const TemplateEntry* mpLastAddedEntry;
int mnIndex;
-
+
State ScanTemplate (void);
State AddTemplate (void);
};
diff --git a/sd/source/ui/toolpanel/controls/MasterPageContainerProviders.cxx b/sd/source/ui/toolpanel/controls/MasterPageContainerProviders.cxx
index 94c4e9bcc1d4..f5e8658e0896 100644
--- a/sd/source/ui/toolpanel/controls/MasterPageContainerProviders.cxx
+++ b/sd/source/ui/toolpanel/controls/MasterPageContainerProviders.cxx
@@ -2,7 +2,7 @@
/*************************************************************************
*
* 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
@@ -66,7 +66,7 @@ Image PagePreviewProvider::operator () (
::sd::PreviewRenderer& rRenderer)
{
Image aPreview;
-
+
if (pPage != NULL)
{
// Use the given renderer to create a preview of the given page
@@ -117,9 +117,9 @@ Image TemplatePreviewProvider::operator() (
{
// Unused parameters.
(void)nWidth;
- (void)pPage;
+ (void)pPage;
(void)rRenderer;
-
+
// Load the thumbnail from a template document.
uno::Reference<io::XInputStream> xIStream;
@@ -130,11 +130,11 @@ Image TemplatePreviewProvider::operator() (
try
{
uno::Reference<lang::XSingleServiceFactory> xStorageFactory(
- xServiceManager->createInstance(
+ xServiceManager->createInstance(
::rtl::OUString::createFromAscii(
"com.sun.star.embed.StorageFactory")),
uno::UNO_QUERY);
-
+
if (xStorageFactory.is())
{
uno::Sequence<uno::Any> aArgs (2);
@@ -268,9 +268,9 @@ SdPage* TemplatePageObjectProvider::operator() (SdDrawDocument* pContainerDocume
{
// Unused parameters.
(void)pContainerDocument;
-
+
SdPage* pPage = NULL;
-
+
mxDocumentShell = NULL;
::sd::DrawDocShell* pDocumentShell = NULL;
try
@@ -401,7 +401,7 @@ ExistingPageProvider::ExistingPageProvider (SdPage* pPage)
SdPage* ExistingPageProvider::operator() (SdDrawDocument* pDocument)
{
(void)pDocument; // Unused parameter.
-
+
return mpPage;
}
diff --git a/sd/source/ui/toolpanel/controls/MasterPageContainerProviders.hxx b/sd/source/ui/toolpanel/controls/MasterPageContainerProviders.hxx
index 573448bbf1ca..e07879693d9e 100644
--- a/sd/source/ui/toolpanel/controls/MasterPageContainerProviders.hxx
+++ b/sd/source/ui/toolpanel/controls/MasterPageContainerProviders.hxx
@@ -2,7 +2,7 @@
/*************************************************************************
*
* 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
diff --git a/sd/source/ui/toolpanel/controls/MasterPageContainerQueue.cxx b/sd/source/ui/toolpanel/controls/MasterPageContainerQueue.cxx
index 9fceb3270687..275f3b11d61a 100644
--- a/sd/source/ui/toolpanel/controls/MasterPageContainerQueue.cxx
+++ b/sd/source/ui/toolpanel/controls/MasterPageContainerQueue.cxx
@@ -2,7 +2,7 @@
/*************************************************************************
*
* 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
@@ -146,7 +146,7 @@ bool MasterPageContainerQueue::RequestPreview (const SharedMasterPageDescriptor&
&& rpDescriptor->maLargePreview.GetSizePixel().Width() == 0)
{
sal_Int32 nPriority (CalculatePriority(rpDescriptor));
-
+
// Add a new or replace an existing request.
RequestQueue::iterator iRequest (::std::find_if(
mpRequestQueue->begin(),
@@ -197,7 +197,7 @@ sal_Int32 MasterPageContainerQueue::CalculatePriority (
// Add a term that introduces an order based on the appearance in the
// AllMasterPagesSelector.
nPriority -= rpDescriptor->maToken / 3;
-
+
// Process requests for the CurrentMasterPagesSelector first.
if (rpDescriptor->meOrigin == MasterPageContainer::MASTERPAGE)
nPriority += snMasterPagePriorityBoost;
@@ -245,7 +245,7 @@ IMPL_LINK(MasterPageContainerQueue, DelayedPreviewCreation, Timer*, pTimer)
}
mpRequestQueue->erase(mpRequestQueue->begin());
-
+
if (aRequest.mpDescriptor.get() != NULL)
{
mnRequestsServedCount += 1;
@@ -258,7 +258,7 @@ IMPL_LINK(MasterPageContainerQueue, DelayedPreviewCreation, Timer*, pTimer)
}
}
while (false);
-
+
if (mpRequestQueue->size() > 0 && ! bWaitForMoreRequests)
{
int nTimeout (snDelayedCreationTimeout);
diff --git a/sd/source/ui/toolpanel/controls/MasterPageContainerQueue.hxx b/sd/source/ui/toolpanel/controls/MasterPageContainerQueue.hxx
index 2cab5d31edc5..e4251e48df79 100644
--- a/sd/source/ui/toolpanel/controls/MasterPageContainerQueue.hxx
+++ b/sd/source/ui/toolpanel/controls/MasterPageContainerQueue.hxx
@@ -2,7 +2,7 @@
/*************************************************************************
*
* 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
@@ -82,7 +82,7 @@ public:
templates are inserted into the MasterPageContainer.
*/
void ProcessAllRequests (void);
-
+
private:
::boost::weak_ptr<ContainerAdapter> mpWeakContainer;
class PreviewCreationRequest;
@@ -94,7 +94,7 @@ private:
// There are a couple of values that define various aspects of the
// heuristic that defines the order and timing in which requests for
// preview creation are processed.
-
+
/** The time to wait (in milliseconds) between the creation of previews.
*/
static const sal_Int32 snDelayedCreationTimeout;
@@ -102,7 +102,7 @@ private:
/** The time to wait when the system is not idle.
*/
static const sal_Int32 snDelayedCreationTimeoutWhenNotIdle;
-
+
/** Requests for previews of master pages in a document have their
priority increased by this value.
*/
@@ -120,7 +120,7 @@ private:
present.
*/
static sal_uInt32 snWaitForMoreRequestsCount;
-
+
MasterPageContainerQueue (const ::boost::weak_ptr<ContainerAdapter>& rpContainer);
void LateInit (void);
@@ -128,7 +128,7 @@ private:
are processed.
*/
sal_Int32 CalculatePriority (const SharedMasterPageDescriptor& rDescriptor) const;
-
+
DECL_LINK(DelayedPreviewCreation, Timer *);
};
diff --git a/sd/source/ui/toolpanel/controls/MasterPageDescriptor.cxx b/sd/source/ui/toolpanel/controls/MasterPageDescriptor.cxx
index c9b87b425a9d..9ee7a55a6dc7 100644
--- a/sd/source/ui/toolpanel/controls/MasterPageDescriptor.cxx
+++ b/sd/source/ui/toolpanel/controls/MasterPageDescriptor.cxx
@@ -2,7 +2,7 @@
/*************************************************************************
*
* 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
@@ -66,7 +66,7 @@ MasterPageDescriptor::MasterPageDescriptor (
mnUseCount(0)
{
}
-
+
@@ -132,31 +132,31 @@ Image MasterPageDescriptor::GetPreview (MasterPageContainer::PreviewSize eSize)
meOrigin = rDescriptor.meOrigin;
bIndexChanged = true;
}
-
+
if (msURL.getLength()==0 && rDescriptor.msURL.getLength()!=0)
{
msURL = rDescriptor.msURL;
bDataChanged = true;
}
-
+
if (msPageName.getLength()==0 && rDescriptor.msPageName.getLength()!=0)
{
msPageName = rDescriptor.msPageName;
bDataChanged = true;
}
-
+
if (msStyleName.getLength()==0 && rDescriptor.msStyleName.getLength()!=0)
{
msStyleName = rDescriptor.msStyleName;
bDataChanged = true;
}
-
+
if (mpPageObjectProvider.get()==NULL && rDescriptor.mpPageObjectProvider.get()!=NULL)
{
mpPageObjectProvider = rDescriptor.mpPageObjectProvider;
bDataChanged = true;
}
-
+
if (mpPreviewProvider.get()==NULL && rDescriptor.mpPreviewProvider.get()!=NULL)
{
mpPreviewProvider = rDescriptor.mpPreviewProvider;
@@ -181,7 +181,7 @@ Image MasterPageDescriptor::GetPreview (MasterPageContainer::PreviewSize eSize)
if (bPreviewChanged)
pResult->push_back(MasterPageContainerChangeEvent::PREVIEW_CHANGED);
}
-
+
return pResult;
}
@@ -193,14 +193,14 @@ bool MasterPageDescriptor::UpdatePageObject (
SdDrawDocument* pDocument)
{
bool bModified (false);
-
+
// Update the page object when that is not yet known.
if (mpMasterPage == NULL
&& mpPageObjectProvider.get()!=NULL
&& (nCostThreshold<0 || mpPageObjectProvider->GetCostIndex()<=nCostThreshold))
{
// Note that pDocument may be NULL.
-
+
SdPage* pPage = (*mpPageObjectProvider)(pDocument);
if (meOrigin == MasterPageContainer::MASTERPAGE)
{
@@ -250,7 +250,7 @@ bool MasterPageDescriptor::UpdatePreview (
::sd::PreviewRenderer& rRenderer)
{
bool bModified (false);
-
+
// Update the preview when that is not yet known.
if (maLargePreview.GetSizePixel().Width()==0
&& mpPreviewProvider.get()!=NULL
@@ -310,7 +310,7 @@ MasterPageDescriptor::URLClassification MasterPageDescriptor::GetURLClassificati
meURLClassification = URLCLASS_USER;
}
}
-
+
return meURLClassification;
}
@@ -362,7 +362,7 @@ bool MasterPageDescriptor::StyleNameComparator::operator() (
//===== PageObjectComparator ==================================================
-MasterPageDescriptor::PageObjectComparator::PageObjectComparator (const SdPage* pPageObject)
+MasterPageDescriptor::PageObjectComparator::PageObjectComparator (const SdPage* pPageObject)
: mpMasterPage(pPageObject)
{
}
diff --git a/sd/source/ui/toolpanel/controls/MasterPageDescriptor.hxx b/sd/source/ui/toolpanel/controls/MasterPageDescriptor.hxx
index 0bbd4cc3773b..f89cc9612be4 100644
--- a/sd/source/ui/toolpanel/controls/MasterPageDescriptor.hxx
+++ b/sd/source/ui/toolpanel/controls/MasterPageDescriptor.hxx
@@ -2,7 +2,7 @@
/*************************************************************************
*
* 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
@@ -71,7 +71,7 @@ public:
::std::auto_ptr<std::vector<MasterPageContainerChangeEvent::EventType> >
Update (
const MasterPageDescriptor& rDescriptor);
-
+
/** This convenience method returns either a small or a large preview,
depending on the given size specifier.
Note that the previews are not created when they are not present.
@@ -82,18 +82,18 @@ public:
/** Use the PreviewProvider to get access to a preview of the master
page.
-
+
Note that this is only done, when either bForce is <TRUE/> or
the PreviewProvider::GetCostIndex() returns 0.
-
+
The small preview is created by scaling the large one, not by
calling PreviewProvider::operator() a second time.
-
+
It is the responsibility of the caller to call UpdatePageObject()
before calling this method when the PreviewProvider can only work
when the master page object is present, i.e. its NeedsPageObject()
method returns <TRUE/>.
-
+
@param nCostThreshold
When this is zero or positive then the preview is created only
when the preview provider has a cost equal to or smaller than
@@ -116,7 +116,7 @@ public:
::sd::PreviewRenderer& rRenderer);
/** Use the PageObjectProvider to get access to the master page object.
-
+
Note that this is only done, when either bForce is <TRUE/> or the
PreviewProvider::GetCostIndex() returns 0.
@@ -146,7 +146,7 @@ public:
};
URLClassification GetURLClassification (void);
-
+
/** The Token under which the MasterPageContainer gives access to the
object.
*/
@@ -155,16 +155,16 @@ public:
/** A rough specification of the origin of the master page.
*/
MasterPageContainer::Origin meOrigin;
-
+
/** The URL is not empty for master pages loaded from a template
document.
*/
::rtl::OUString msURL;
-
+
/** Taken from the title of the template file.
*/
::rtl::OUString msPageName;
-
+
/** Taken from the master page object.
*/
::rtl::OUString msStyleName;
@@ -174,17 +174,17 @@ public:
/** The actual master page.
*/
SdPage* mpMasterPage;
-
+
/** A slide that uses the master page.
*/
SdPage* mpSlide;
-
+
/** A small (the default size) preview of the master page. May be
empty. When this smaller preview is not empty then the larger one
is not empty, too.
*/
Image maSmallPreview;
-
+
/** A large preview of the master page. May be empty. When this larger
preview is not empty then the smaller one is not empty, too.
*/
@@ -199,7 +199,7 @@ public:
the lifetime of a MasterPageDescriptor object.
*/
::boost::shared_ptr<PageObjectProvider> mpPageObjectProvider;
-
+
/** This index represents the order in which templates are provided via
the TemplateScanner. It defines the order in which the entries in
the AllMasterPagesSelector are displayed. The default value is -1.
diff --git a/sd/source/ui/toolpanel/controls/MasterPageObserver.cxx b/sd/source/ui/toolpanel/controls/MasterPageObserver.cxx
index 2d11b9e6f7a5..b7e51a8b81eb 100644
--- a/sd/source/ui/toolpanel/controls/MasterPageObserver.cxx
+++ b/sd/source/ui/toolpanel/controls/MasterPageObserver.cxx
@@ -2,7 +2,7 @@
/*************************************************************************
*
* 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
@@ -62,7 +62,7 @@ public:
document.
*/
void UnregisterDocument (SdDrawDocument& rDocument);
-
+
/** Add a listener that is informed of master pages that are newly
assigned to slides or become unassigned.
@param rEventListener
@@ -90,7 +90,7 @@ private:
::std::vector<Link> maListeners;
struct DrawDocHash {
- size_t operator()(SdDrawDocument* argument) const
+ size_t operator()(SdDrawDocument* argument) const
{ return reinterpret_cast<unsigned long>(argument); }
};
typedef ::std::hash_map<SdDrawDocument*,
@@ -133,7 +133,7 @@ MasterPageObserver& MasterPageObserver::Instance (void)
{
OSL_DOUBLE_CHECKED_LOCKING_MEMORY_BARRIER();
}
-
+
DBG_ASSERT(Implementation::mpInstance!=NULL,
"MasterPageObserver::Instance(): instance is NULL");
return *Implementation::mpInstance;
@@ -157,7 +157,7 @@ void MasterPageObserver::UnregisterDocument (SdDrawDocument& rDocument)
-
+
void MasterPageObserver::AddEventListener (const Link& rEventListener)
{
@@ -223,7 +223,7 @@ void MasterPageObserver::Implementation::UnregisterDocument (
-
+
void MasterPageObserver::Implementation::AddEventListener (
const Link& rEventListener)
{
@@ -233,7 +233,7 @@ void MasterPageObserver::Implementation::AddEventListener (
rEventListener) == maListeners.end())
{
maListeners.push_back (rEventListener);
-
+
// Tell the new listener about all the master pages that are
// currently in use.
typedef ::std::vector<String> StringList;
@@ -275,7 +275,7 @@ void MasterPageObserver::Implementation::RemoveEventListener (
-MasterPageObserver::MasterPageNameSet
+MasterPageObserver::MasterPageNameSet
MasterPageObserver::Implementation::GetMasterPageNames (
SdDrawDocument& rDocument)
{
@@ -355,8 +355,8 @@ void MasterPageObserver::Implementation::AnalyzeUsedMasterPages (
::std::set<String>::iterator J;
int i=0;
- for (J=aOldMasterPagesDescriptor->second.begin();
- J!=aOldMasterPagesDescriptor->second.end();
+ for (J=aOldMasterPagesDescriptor->second.begin();
+ J!=aOldMasterPagesDescriptor->second.end();
++J)
OSL_TRACE("old used master page %d is %s",
i++,
@@ -377,8 +377,8 @@ void MasterPageObserver::Implementation::AnalyzeUsedMasterPages (
RTL_TEXTENCODING_UTF8).getStr());
MasterPageObserverEvent aEvent (
- MasterPageObserverEvent::ET_MASTER_PAGE_ADDED,
- rDocument,
+ MasterPageObserverEvent::ET_MASTER_PAGE_ADDED,
+ rDocument,
*I);
SendEvent (aEvent);
}
@@ -398,7 +398,7 @@ void MasterPageObserver::Implementation::AnalyzeUsedMasterPages (
MasterPageObserverEvent aEvent (
MasterPageObserverEvent::ET_MASTER_PAGE_REMOVED,
- rDocument,
+ rDocument,
*I);
SendEvent (aEvent);
}
diff --git a/sd/source/ui/toolpanel/controls/MasterPagesPanel.cxx b/sd/source/ui/toolpanel/controls/MasterPagesPanel.cxx
index ed28b54f6f5b..b5eae0e840c5 100644
--- a/sd/source/ui/toolpanel/controls/MasterPagesPanel.cxx
+++ b/sd/source/ui/toolpanel/controls/MasterPagesPanel.cxx
@@ -2,7 +2,7 @@
/*************************************************************************
*
* 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
@@ -64,12 +64,12 @@ void MasterPagesPanel::impl_construct( ViewShellBase& rBase )
TitledControl* pTitledControl;
::boost::shared_ptr<MasterPageContainer> pContainer (new MasterPageContainer());
-
+
// Create a panel with the master pages that are in use by the currently
// edited document.
DrawViewShell* pDrawViewShell = dynamic_cast<DrawViewShell*>(rBase.GetMainViewShell().get());
pSelector.reset(new controls::CurrentMasterPagesSelector (
- this,
+ this,
*pDocument,
rBase,
pContainer));
@@ -83,10 +83,10 @@ void MasterPagesPanel::impl_construct( ViewShellBase& rBase )
::std::auto_ptr<TreeNode>(pSelector.release()),
SdResId(STR_TASKPANEL_CURRENT_MASTER_PAGES_TITLE),
HID_SD_CURRENT_MASTERS);
-
+
// Create a panel with the most recently used master pages.
pSelector.reset(new controls::RecentMasterPagesSelector (
- this,
+ this,
*pDocument,
rBase,
pContainer));
@@ -103,7 +103,7 @@ void MasterPagesPanel::impl_construct( ViewShellBase& rBase )
// Create a panel with all available master pages.
pSelector.reset(new controls::AllMasterPagesSelector (
- this,
+ this,
*pDocument,
rBase,
*pDrawViewShell,
diff --git a/sd/source/ui/toolpanel/controls/MasterPagesPanel.hxx b/sd/source/ui/toolpanel/controls/MasterPagesPanel.hxx
index c756b383b4ee..8c886d00750c 100644
--- a/sd/source/ui/toolpanel/controls/MasterPagesPanel.hxx
+++ b/sd/source/ui/toolpanel/controls/MasterPagesPanel.hxx
@@ -2,7 +2,7 @@
/*************************************************************************
*
* 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
@@ -52,7 +52,7 @@ class MasterPagesPanel
{
public:
MasterPagesPanel (
- ::Window& i_rParentWindow,
+ ::Window& i_rParentWindow,
ToolPanelViewShell& i_rPanelViewShell);
virtual ~MasterPagesPanel (void);
diff --git a/sd/source/ui/toolpanel/controls/MasterPagesSelector.cxx b/sd/source/ui/toolpanel/controls/MasterPagesSelector.cxx
index d178ffb06760..10db80a6778f 100644
--- a/sd/source/ui/toolpanel/controls/MasterPagesSelector.cxx
+++ b/sd/source/ui/toolpanel/controls/MasterPagesSelector.cxx
@@ -2,7 +2,7 @@
/*************************************************************************
*
* 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
@@ -84,7 +84,7 @@ using namespace ::com::sun::star::text;
namespace sd { namespace toolpanel { namespace controls {
-SFX_IMPL_INTERFACE(MasterPagesSelector, SfxShell,
+SFX_IMPL_INTERFACE(MasterPagesSelector, SfxShell,
SdResId(STR_MASTERPAGESSELECTOR))
{
SFX_POPUPMENU_REGISTRATION( SdResId(RID_TASKPANE_MASTERPAGESSELECTOR_POPUP) );
@@ -189,7 +189,7 @@ Size MasterPagesSelector::GetPreferredSize (void)
void MasterPagesSelector::UpdateLocks (const ItemList& rItemList)
{
ItemList aNewLockList;
-
+
// In here we first lock the master pages in the given list and then
// release the locks acquired in a previous call to this method. When
// this were done the other way round the lock count of some master
@@ -219,7 +219,7 @@ void MasterPagesSelector::UpdateLocks (const ItemList& rItemList)
void MasterPagesSelector::Fill (void)
{
::std::auto_ptr<ItemList> pItemList (new ItemList());
-
+
Fill(*pItemList);
UpdateLocks(*pItemList);
@@ -305,7 +305,7 @@ IMPL_LINK(MasterPagesSelector, ContextMenuCallback, CommandEvent*, pEvent)
mpPageSet.get(),
&aPosition);
}
-
+
return 0;
}
@@ -540,7 +540,7 @@ void MasterPagesSelector::Execute (SfxRequest& rRequest)
break;
case SID_TP_USE_FOR_NEW_PRESENTATIONS:
- DBG_ASSERT (false,
+ DBG_ASSERT (false,
"Using slides as default for new presentations"
" is not yet implemented");
break;
@@ -647,7 +647,7 @@ void MasterPagesSelector::SetItem (
mpPageSet->RemoveItem(nIndex);
}
}
-
+
}
@@ -711,7 +711,7 @@ void MasterPagesSelector::InvalidatePreview (const SdPage* pPage)
void MasterPagesSelector::UpdateAllPreviews (void)
{
const ::osl::MutexGuard aGuard (maMutex);
-
+
for (USHORT nIndex=1; nIndex<=mpPageSet->GetItemCount(); nIndex++)
{
UserData* pData = GetUserData(nIndex);
@@ -817,13 +817,13 @@ void MasterPagesSelector::UpdateItemList (::std::auto_ptr<ItemList> pNewItemList
SetItem(nIndex,*iNewItem);
}
}
-
+
// Append new items.
for ( ; iNewItem!=iNewEnd; ++iNewItem,++nIndex)
{
SetItem(nIndex,*iNewItem);
}
-
+
// Remove trailing items.
for ( ; iCurrentItem!=iCurrentEnd; ++iCurrentItem,++nIndex)
{
@@ -831,7 +831,7 @@ void MasterPagesSelector::UpdateItemList (::std::auto_ptr<ItemList> pNewItemList
}
maCurrentItemList.swap(*pNewItemList);
-
+
mpPageSet->Rearrange();
if (GetParentNode() != NULL)
GetParentNode()->RequestResize();
diff --git a/sd/source/ui/toolpanel/controls/MasterPagesSelector.hxx b/sd/source/ui/toolpanel/controls/MasterPagesSelector.hxx
index 3e3eb9b9fe99..89410a24ce0c 100644
--- a/sd/source/ui/toolpanel/controls/MasterPagesSelector.hxx
+++ b/sd/source/ui/toolpanel/controls/MasterPagesSelector.hxx
@@ -2,7 +2,7 @@
/*************************************************************************
*
* 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
@@ -46,7 +46,7 @@ class SdDrawDocument;
class SdPage;
class SfxModule;
-namespace sd {
+namespace sd {
class DrawViewShell;
class TemplateEntry;
class TemplateDir;
@@ -150,7 +150,7 @@ protected:
sal_uInt16 mnDefaultClickAction;
/** Pages with pointers in this queue have their previews updated
eventually. Filled by InvalidatePreview() and operated upon by
- UpdatePreviews().
+ UpdatePreviews().
*/
::std::queue<USHORT> maPreviewUpdateQueue;
@@ -219,7 +219,7 @@ private:
DECL_LINK(RightClickHandler, MouseEvent*);
DECL_LINK(ContextMenuCallback, CommandEvent*);
DECL_LINK(ContainerChangeListener, MasterPageContainerChangeEvent*);
-
+
void SetItem (
USHORT nIndex,
MasterPageContainer::Token aToken);
diff --git a/sd/source/ui/toolpanel/controls/PreviewValueSet.cxx b/sd/source/ui/toolpanel/controls/PreviewValueSet.cxx
index b1c6350ecf4a..74a83784ac44 100644
--- a/sd/source/ui/toolpanel/controls/PreviewValueSet.cxx
+++ b/sd/source/ui/toolpanel/controls/PreviewValueSet.cxx
@@ -2,7 +2,7 @@
/*************************************************************************
*
* 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
@@ -45,13 +45,13 @@ PreviewValueSet::PreviewValueSet (TreeNode* pParent)
mnMaxColumnCount(-1)
{
SetStyle (
- GetStyle()
+ GetStyle()
& ~(WB_ITEMBORDER)// | WB_MENUSTYLEVALUESET)
// | WB_FLATVALUESET);
);
SetColCount(2);
- // SetLineCount(1);
+ // SetLineCount(1);
SetExtraSpacing (2);
}
@@ -130,7 +130,7 @@ void PreviewValueSet::Command (const CommandEvent& rEvent)
maContextMenuCallback.Call(&aNonConstEventCopy);
}
break;
-
+
default:
ValueSet::Command(rEvent);
break;
@@ -217,7 +217,7 @@ sal_Int32 PreviewValueSet::GetPreferredWidth (sal_Int32 nHeight)
{
int nColumnCount = (GetItemCount()+nRowCount-1) / nRowCount;
if (nColumnCount > 0)
- nPreferredWidth = (maPreviewSize.Width() + 2*mnBorderWidth)
+ nPreferredWidth = (maPreviewSize.Width() + 2*mnBorderWidth)
* nColumnCount;
}
@@ -231,7 +231,7 @@ sal_Int32 PreviewValueSet::GetPreferredHeight (sal_Int32 nWidth)
{
int nRowCount (CalculateRowCount(CalculateColumnCount(nWidth)));
int nItemHeight (maPreviewSize.Height());
-
+
return nRowCount * (nItemHeight + 2*mnBorderHeight);
}
diff --git a/sd/source/ui/toolpanel/controls/PreviewValueSet.hxx b/sd/source/ui/toolpanel/controls/PreviewValueSet.hxx
index 2c693f20866f..ab9d789d8d75 100644
--- a/sd/source/ui/toolpanel/controls/PreviewValueSet.hxx
+++ b/sd/source/ui/toolpanel/controls/PreviewValueSet.hxx
@@ -2,7 +2,7 @@
/*************************************************************************
*
* 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
@@ -51,7 +51,7 @@ public:
void SetRightMouseClickHandler (const Link& rLink);
virtual void Paint (const Rectangle& rRect);
virtual void Resize (void);
-
+
/** When a request for the display of a context menu is made to this
method then that request is forwarded via the ContextMenuCallback.
This way the owning class can handle the context menu without having
@@ -87,7 +87,7 @@ private:
const int mnBorderWidth;
const int mnBorderHeight;
const int mnMaxColumnCount;
-
+
USHORT CalculateColumnCount (int nWidth) const;
USHORT CalculateRowCount (USHORT nColumnCount) const;
};
diff --git a/sd/source/ui/toolpanel/controls/RecentMasterPagesSelector.cxx b/sd/source/ui/toolpanel/controls/RecentMasterPagesSelector.cxx
index 83bc417def0b..01fae398aff1 100644
--- a/sd/source/ui/toolpanel/controls/RecentMasterPagesSelector.cxx
+++ b/sd/source/ui/toolpanel/controls/RecentMasterPagesSelector.cxx
@@ -2,7 +2,7 @@
/*************************************************************************
*
* 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
@@ -114,7 +114,7 @@ void RecentMasterPagesSelector::Fill (ItemList& rItemList)
if (aToken != MasterPageContainer::NIL_TOKEN)
{
String sStyleName (mpContainer->GetStyleNameForToken(aToken));
- if (sStyleName.Len()==0
+ if (sStyleName.Len()==0
|| aCurrentNames.find(sStyleName) == aCurrentNames.end())
{
rItemList.push_back(aToken);
@@ -131,7 +131,7 @@ void RecentMasterPagesSelector::AssignMasterPageToPageList (
const ::boost::shared_ptr<std::vector<SdPage*> >& rpPageList)
{
USHORT nSelectedItemId = mpPageSet->GetSelectItemId();
-
+
MasterPagesSelector::AssignMasterPageToPageList(pMasterPage, rpPageList);
// Restore the selection.
diff --git a/sd/source/ui/toolpanel/controls/RecentMasterPagesSelector.hxx b/sd/source/ui/toolpanel/controls/RecentMasterPagesSelector.hxx
index 051da6ad7f71..108aa24b2ea5 100644
--- a/sd/source/ui/toolpanel/controls/RecentMasterPagesSelector.hxx
+++ b/sd/source/ui/toolpanel/controls/RecentMasterPagesSelector.hxx
@@ -2,7 +2,7 @@
/*************************************************************************
*
* 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
@@ -41,7 +41,7 @@ class RecentMasterPagesSelector
{
public:
RecentMasterPagesSelector (
- TreeNode* pParent,
+ TreeNode* pParent,
SdDrawDocument& rDocument,
ViewShellBase& rBase,
const ::boost::shared_ptr<MasterPageContainer>& rpContainer);
diff --git a/sd/source/ui/toolpanel/controls/RecentlyUsedMasterPages.cxx b/sd/source/ui/toolpanel/controls/RecentlyUsedMasterPages.cxx
index 7a685ca76cd7..1dd5109c1eb0 100644
--- a/sd/source/ui/toolpanel/controls/RecentlyUsedMasterPages.cxx
+++ b/sd/source/ui/toolpanel/controls/RecentlyUsedMasterPages.cxx
@@ -2,7 +2,7 @@
/*************************************************************************
*
* 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
@@ -141,7 +141,7 @@ RecentlyUsedMasterPages& RecentlyUsedMasterPages::Instance (void)
else {
OSL_DOUBLE_CHECKED_LOCKING_MEMORY_BARRIER();
}
-
+
return *mpInstance;
}
@@ -163,7 +163,7 @@ RecentlyUsedMasterPages::~RecentlyUsedMasterPages (void)
{
Link aLink (LINK(this,RecentlyUsedMasterPages,MasterPageContainerChangeListener));
mpContainer->RemoveChangeListener(aLink);
-
+
MasterPageObserver::Instance().RemoveEventListener(
LINK(this,RecentlyUsedMasterPages,MasterPageChangeListener));
}
@@ -175,7 +175,7 @@ void RecentlyUsedMasterPages::LateInit (void)
{
Link aLink (LINK(this,RecentlyUsedMasterPages,MasterPageContainerChangeListener));
mpContainer->AddChangeListener(aLink);
-
+
LoadPersistentValues ();
MasterPageObserver::Instance().AddEventListener(
LINK(this,RecentlyUsedMasterPages,MasterPageChangeListener));
diff --git a/sd/source/ui/toolpanel/controls/RecentlyUsedMasterPages.hxx b/sd/source/ui/toolpanel/controls/RecentlyUsedMasterPages.hxx
index 592cfd0cf914..1e153625992e 100644
--- a/sd/source/ui/toolpanel/controls/RecentlyUsedMasterPages.hxx
+++ b/sd/source/ui/toolpanel/controls/RecentlyUsedMasterPages.hxx
@@ -2,7 +2,7 @@
/*************************************************************************
*
* 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
@@ -61,7 +61,7 @@ public:
void AddEventListener (const Link& rEventListener);
void RemoveEventListener (const Link& rEventListener);
-
+
int GetMasterPageCount (void) const;
MasterPageContainer::Token GetTokenForIndex (sal_uInt32 nIndex) const;
@@ -77,7 +77,7 @@ private:
::std::auto_ptr<MasterPageList> mpMasterPages;
unsigned long int mnMaxListSize;
::boost::shared_ptr<MasterPageContainer> mpContainer;
-
+
RecentlyUsedMasterPages (void);
virtual ~RecentlyUsedMasterPages (void);
diff --git a/sd/source/ui/toolpanel/controls/SlideTransitionPanel.cxx b/sd/source/ui/toolpanel/controls/SlideTransitionPanel.cxx
index ac51ec1dc163..d0d5ef0cdb71 100644
--- a/sd/source/ui/toolpanel/controls/SlideTransitionPanel.cxx
+++ b/sd/source/ui/toolpanel/controls/SlideTransitionPanel.cxx
@@ -2,7 +2,7 @@
/*************************************************************************
*
* 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
diff --git a/sd/source/ui/toolpanel/controls/SlideTransitionPanel.hxx b/sd/source/ui/toolpanel/controls/SlideTransitionPanel.hxx
index b4e2005225ad..48e29ebbd011 100644
--- a/sd/source/ui/toolpanel/controls/SlideTransitionPanel.hxx
+++ b/sd/source/ui/toolpanel/controls/SlideTransitionPanel.hxx
@@ -2,7 +2,7 @@
/*************************************************************************
*
* 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
diff --git a/sd/source/ui/toolpanel/controls/TableDesignPanel.cxx b/sd/source/ui/toolpanel/controls/TableDesignPanel.cxx
index ac5c97ecf3e8..61b35ae9b97c 100644
--- a/sd/source/ui/toolpanel/controls/TableDesignPanel.cxx
+++ b/sd/source/ui/toolpanel/controls/TableDesignPanel.cxx
@@ -2,7 +2,7 @@
/*************************************************************************
*
* 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
@@ -38,11 +38,11 @@
#include "sdresid.hxx"
namespace sd
-{
-
+{
+
class ViewShellBase;
extern ::Window * createTableDesignPanel( ::Window* pParent, ViewShellBase& rBase );
-
+
namespace toolpanel { namespace controls {
diff --git a/sd/source/ui/toolpanel/controls/TableDesignPanel.hxx b/sd/source/ui/toolpanel/controls/TableDesignPanel.hxx
index 551d6b9b7a08..6ed358bd4b8b 100644
--- a/sd/source/ui/toolpanel/controls/TableDesignPanel.hxx
+++ b/sd/source/ui/toolpanel/controls/TableDesignPanel.hxx
@@ -2,7 +2,7 @@
/*************************************************************************
*
* 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
@@ -48,7 +48,7 @@ class TableDesignPanel
{
public:
TableDesignPanel (
- ::Window& i_rParentWindow,
+ ::Window& i_rParentWindow,
ToolPanelViewShell& i_rPanelViewShell);
virtual ~TableDesignPanel (void);
diff --git a/sd/source/ui/tools/AsynchronousCall.cxx b/sd/source/ui/tools/AsynchronousCall.cxx
index 7b81dd3d8b5f..d8de5e866b3f 100644
--- a/sd/source/ui/tools/AsynchronousCall.cxx
+++ b/sd/source/ui/tools/AsynchronousCall.cxx
@@ -2,7 +2,7 @@
/*************************************************************************
*
* 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
diff --git a/sd/source/ui/tools/ConfigurationAccess.cxx b/sd/source/ui/tools/ConfigurationAccess.cxx
index 6ee18c463d16..0574b9838c5f 100644
--- a/sd/source/ui/tools/ConfigurationAccess.cxx
+++ b/sd/source/ui/tools/ConfigurationAccess.cxx
@@ -2,7 +2,7 @@
/*************************************************************************
*
* 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
@@ -90,17 +90,17 @@ void ConfigurationAccess::Initialize (
Sequence<Any> aCreationArguments(3);
aCreationArguments[0] = makeAny(beans::PropertyValue(
OUString(RTL_CONSTASCII_USTRINGPARAM("nodepath")),
- 0,
- makeAny(rsRootName),
+ 0,
+ makeAny(rsRootName),
beans::PropertyState_DIRECT_VALUE));
aCreationArguments[1] = makeAny(beans::PropertyValue(
OUString(RTL_CONSTASCII_USTRINGPARAM("depth")),
- 0,
+ 0,
makeAny((sal_Int32)-1),
beans::PropertyState_DIRECT_VALUE));
aCreationArguments[2] = makeAny(beans::PropertyValue(
OUString(RTL_CONSTASCII_USTRINGPARAM("lazywrite")),
- 0,
+ 0,
makeAny(true),
beans::PropertyState_DIRECT_VALUE));
OUString sAccessService;
@@ -110,7 +110,7 @@ void ConfigurationAccess::Initialize (
else
sAccessService = OUString(RTL_CONSTASCII_USTRINGPARAM(
"com.sun.star.configuration.ConfigurationUpdateAccess"));
-
+
mxRoot = rxProvider->createInstanceWithArguments(
sAccessService,
aCreationArguments);
@@ -155,7 +155,7 @@ Any ConfigurationAccess::GetConfigurationNode (
::rtl::OUStringToOString(sPathToNode, RTL_TEXTENCODING_UTF8).getStr(),
::rtl::OUStringToOString(rException.Message, RTL_TEXTENCODING_UTF8).getStr());
}
-
+
return Any();
}
diff --git a/sd/source/ui/tools/EventMultiplexer.cxx b/sd/source/ui/tools/EventMultiplexer.cxx
index 91c277a50b1d..fa74361640bf 100644
--- a/sd/source/ui/tools/EventMultiplexer.cxx
+++ b/sd/source/ui/tools/EventMultiplexer.cxx
@@ -2,7 +2,7 @@
/*************************************************************************
*
* 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
@@ -64,7 +64,7 @@ static const sal_Int32 ConfigurationUpdateEvent = 2;
namespace sd { namespace tools {
-typedef cppu::WeakComponentImplHelper4<
+typedef cppu::WeakComponentImplHelper4<
::com::sun::star::beans::XPropertyChangeListener,
::com::sun::star::frame::XFrameActionListener,
::com::sun::star::view::XSelectionChangeListener,
@@ -81,11 +81,11 @@ public:
~Implementation (void);
void AddEventListener (
- Link& rCallback,
+ Link& rCallback,
EventMultiplexerEvent::EventId aEventTypes);
void RemoveEventListener (
- Link& rCallback,
+ Link& rCallback,
EventMultiplexerEvent::EventId aEventTypes);
void CallListeners (EventMultiplexerEvent& rEvent);
@@ -93,19 +93,19 @@ public:
ViewShellBase& GetViewShellBase() const { return mrBase; }
//===== lang::XEventListener ==============================================
- virtual void SAL_CALL
+ virtual void SAL_CALL
disposing (const ::com::sun::star::lang::EventObject& rEventObject)
throw (::com::sun::star::uno::RuntimeException);
//===== beans::XPropertySetListener =======================================
- virtual void SAL_CALL
+ virtual void SAL_CALL
propertyChange (
const com::sun::star::beans::PropertyChangeEvent& rEvent)
throw (::com::sun::star::uno::RuntimeException);
//===== view::XSelectionChangeListener ====================================
- virtual void SAL_CALL
+ virtual void SAL_CALL
selectionChanged (
const com::sun::star::lang::EventObject& rEvent)
throw (::com::sun::star::uno::RuntimeException);
@@ -115,12 +115,12 @@ public:
frame it is listening to. This usually happens when the view shell
in the center pane is replaced by another view shell.
*/
- virtual void SAL_CALL
+ virtual void SAL_CALL
frameAction (const ::com::sun::star::frame::FrameActionEvent& rEvent)
throw (::com::sun::star::uno::RuntimeException);
//===== drawing::framework::XConfigurationChangeListener ==================
- virtual void SAL_CALL
+ virtual void SAL_CALL
notifyConfigurationChange (
const ::com::sun::star::drawing::framework::ConfigurationChangeEvent& rEvent)
throw (::com::sun::star::uno::RuntimeException);
@@ -218,7 +218,7 @@ EventMultiplexer::~EventMultiplexer (void)
void EventMultiplexer::AddEventListener (
- Link& rCallback,
+ Link& rCallback,
EventMultiplexerEvent::EventId aEventTypes)
{
mpImpl->AddEventListener (rCallback, aEventTypes);
@@ -242,7 +242,7 @@ void EventMultiplexer::MultiplexEvent(
void* pUserData )
{
EventMultiplexerEvent aEvent (mpImpl->GetViewShellBase(), eEventId, pUserData);
- mpImpl->CallListeners(aEvent);
+ mpImpl->CallListeners(aEvent);
}
@@ -367,7 +367,7 @@ void EventMultiplexer::Implementation::ReleaseListeners (void)
void EventMultiplexer::Implementation::AddEventListener (
- Link& rCallback,
+ Link& rCallback,
EventMultiplexerEvent::EventId aEventTypes)
{
ListenerList::iterator iListener (maListeners.begin());
@@ -437,7 +437,7 @@ void EventMultiplexer::Implementation::ConnectToController (void)
mbListeningToController = true;
}
- // Listen to changes of certain properties.
+ // Listen to changes of certain properties.
Reference<beans::XPropertySet> xSet (xController, UNO_QUERY);
if (xSet.is())
{
@@ -449,7 +449,7 @@ void EventMultiplexer::Implementation::ConnectToController (void)
{
OSL_TRACE("EventMultiplexer::ConnectToController: CurrentPage unknown");
}
-
+
try
{
xSet->addPropertyChangeListener(msEditModePropertyName, this);
@@ -459,7 +459,7 @@ void EventMultiplexer::Implementation::ConnectToController (void)
OSL_TRACE("EventMultiplexer::ConnectToController: IsMasterPageMode unknown");
}
}
-
+
// Listen for selection change events.
Reference<view::XSelectionSupplier> xSelection (xController, UNO_QUERY);
if (xSelection.is())
@@ -506,7 +506,7 @@ void EventMultiplexer::Implementation::DisconnectFromController (void)
OSL_TRACE ("DisconnectFromController: IsMasterPageMode unknown");
}
}
-
+
// Remove selection change listener.
Reference<view::XSelectionSupplier> xSelection (xController, UNO_QUERY);
if (xSelection.is())
@@ -601,7 +601,7 @@ void SAL_CALL EventMultiplexer::Implementation::frameAction (
ConnectToController();
CallListeners (EventMultiplexerEvent::EID_CONTROLLER_ATTACHED);
break;
-
+
case frame::FrameAction_COMPONENT_ATTACHED:
ConnectToController();
CallListeners (EventMultiplexerEvent::EID_CONTROLLER_ATTACHED);
@@ -663,7 +663,7 @@ void SAL_CALL EventMultiplexer::Implementation::notifyConfigurationChange (
}
}
break;
-
+
case ResourceDeactivationEvent:
if (rEvent.ResourceId->getResourceURL().match(FrameworkHelper::msViewURLPrefix))
{
@@ -696,7 +696,7 @@ void SAL_CALL EventMultiplexer::Implementation::notifyConfigurationChange (
CallListeners (EventMultiplexerEvent::EID_CONFIGURATION_UPDATED);
break;
}
-
+
}
diff --git a/sd/source/ui/tools/IconCache.cxx b/sd/source/ui/tools/IconCache.cxx
index eaa5a536e70e..0b0633510c8b 100644
--- a/sd/source/ui/tools/IconCache.cxx
+++ b/sd/source/ui/tools/IconCache.cxx
@@ -2,7 +2,7 @@
/*************************************************************************
*
* 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
@@ -81,7 +81,7 @@ Image IconCache::Implementation::GetIcon (USHORT nResourceId)
//===== IconCache =============================================================
-//static
+//static
IconCache& IconCache::Instance (void)
{
if (Implementation::mpInstance == NULL)
@@ -102,7 +102,7 @@ IconCache& IconCache::Instance (void)
OSL_DOUBLE_CHECKED_LOCKING_MEMORY_BARRIER();
}
- DBG_ASSERT(Implementation::mpInstance!=NULL,
+ DBG_ASSERT(Implementation::mpInstance!=NULL,
"IconCache::Instance(): instance is NULL");
return *Implementation::mpInstance;
}
diff --git a/sd/source/ui/tools/IdleDetection.cxx b/sd/source/ui/tools/IdleDetection.cxx
index e68ff356e7b0..f9cee99f9301 100644
--- a/sd/source/ui/tools/IdleDetection.cxx
+++ b/sd/source/ui/tools/IdleDetection.cxx
@@ -2,7 +2,7 @@
/*************************************************************************
*
* 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
@@ -71,7 +71,7 @@ sal_Int32 IdleDetection::CheckInputPending (void)
sal_Int32 IdleDetection::CheckSlideShowRunning (void)
{
sal_Int32 eResult (IDET_IDLE);
-
+
bool bIsSlideShowShowing = false;
// Iterate over all view frames.
diff --git a/sd/source/ui/tools/PreviewRenderer.cxx b/sd/source/ui/tools/PreviewRenderer.cxx
index fe895f519f64..305b426a21de 100644
--- a/sd/source/ui/tools/PreviewRenderer.cxx
+++ b/sd/source/ui/tools/PreviewRenderer.cxx
@@ -2,7 +2,7 @@
/*************************************************************************
*
* 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
@@ -83,7 +83,7 @@ PreviewRenderer::~PreviewRenderer (void)
Image PreviewRenderer::RenderPage (
- const SdPage* pPage,
+ const SdPage* pPage,
const sal_Int32 nWidth,
const String& rSubstitutionText,
const bool bObeyHighContrastMode)
@@ -106,7 +106,7 @@ Image PreviewRenderer::RenderPage (
Image PreviewRenderer::RenderPage (
- const SdPage* pPage,
+ const SdPage* pPage,
Size aPixelSize,
const String& rSubstitutionText,
const bool bObeyHighContrastMode)
@@ -122,7 +122,7 @@ Image PreviewRenderer::RenderPage (
PaintPage (pPage);
PaintSubstitutionText (rSubstitutionText);
PaintFrame();
-
+
Size aSize (mpPreviewDevice->GetOutputSizePixel());
aPreview = mpPreviewDevice->GetBitmap (
mpPreviewDevice->PixelToLogic(Point(0,0)),
@@ -157,8 +157,8 @@ Image PreviewRenderer::RenderSubstitution (
// Adjust contrast mode.
bool bUseContrast = Application::GetSettings().GetStyleSettings().
GetHighContrastMode();
- mpPreviewDevice->SetDrawMode (bUseContrast
- ? ViewShell::OUTPUT_DRAWMODE_CONTRAST
+ mpPreviewDevice->SetDrawMode (bUseContrast
+ ? ViewShell::OUTPUT_DRAWMODE_CONTRAST
: ViewShell::OUTPUT_DRAWMODE_COLOR);
// Set a map mode makes a typical substitution text completely
@@ -172,7 +172,7 @@ Image PreviewRenderer::RenderSubstitution (
aMapMode.SetOrigin(mpPreviewDevice->PixelToLogic(
Point(nFrameWidth,nFrameWidth),aMapMode));
mpPreviewDevice->SetMapMode (aMapMode);
-
+
// Clear the background.
Rectangle aPaintRectangle (
Point(0,0),
@@ -187,7 +187,7 @@ Image PreviewRenderer::RenderSubstitution (
// Paint substitution text and a frame around it.
PaintSubstitutionText (rSubstitutionText);
PaintFrame();
-
+
Size aSize (mpPreviewDevice->GetOutputSizePixel());
aPreview = mpPreviewDevice->GetBitmap (
mpPreviewDevice->PixelToLogic(Point(0,0)),
@@ -221,7 +221,7 @@ bool PreviewRenderer::Initialize (
SetupOutputSize(*pPage, rPixelSize);
- SdDrawDocument* pDocument
+ SdDrawDocument* pDocument
= static_cast<SdDrawDocument*>(pPage->GetModel());
DrawDocShell* pDocShell = pDocument->GetDocSh();
@@ -233,8 +233,8 @@ bool PreviewRenderer::Initialize (
// Adjust contrast mode.
bool bUseContrast (bObeyHighContrastMode
&& Application::GetSettings().GetStyleSettings().GetHighContrastMode());
- mpPreviewDevice->SetDrawMode (bUseContrast
- ? ViewShell::OUTPUT_DRAWMODE_CONTRAST
+ mpPreviewDevice->SetDrawMode (bUseContrast
+ ? ViewShell::OUTPUT_DRAWMODE_CONTRAST
: ViewShell::OUTPUT_DRAWMODE_COLOR);
mpPreviewDevice->SetSettings(Application::GetSettings());
@@ -297,7 +297,7 @@ void PreviewRenderer::PaintPage (const SdPage* pPage)
pOutliner->SetControlWord(
(nOriginalControlWord & ~EE_CNTRL_ONLINESPELLING));
}
-
+
try
{
mpView->CompleteRedraw (mpPreviewDevice.get(), aRegion);
@@ -328,13 +328,13 @@ void PreviewRenderer::PaintSubstitutionText (const String& rSubstitutionText)
// Paint the substitution text.
Rectangle aTextBox (
- Point(0,0),
+ Point(0,0),
mpPreviewDevice->PixelToLogic(
mpPreviewDevice->GetOutputSizePixel()));
- USHORT nTextStyle =
+ USHORT nTextStyle =
TEXT_DRAW_CENTER
| TEXT_DRAW_VCENTER
- | TEXT_DRAW_MULTILINE
+ | TEXT_DRAW_MULTILINE
| TEXT_DRAW_WORDBREAK;
mpPreviewDevice->DrawText (aTextBox, rSubstitutionText, nTextStyle);
@@ -366,7 +366,7 @@ void PreviewRenderer::PaintFrame (void)
void PreviewRenderer::SetupOutputSize (
- const SdPage& rPage,
+ const SdPage& rPage,
const Size& rFramePixelSize)
{
// First set the map mode to some arbitrary scale that is numerically
@@ -382,7 +382,7 @@ void PreviewRenderer::SetupOutputSize (
const Size aPageModelSize (rPage.GetSize());
const Size aOutputSize = mpPreviewDevice->LogicToPixel(rPage.GetSize(), aMapMode);
const sal_Int32 nFrameWidth (mbHasFrame ? snFrameWidth : 0);
- const double nFinalScale (nInitialScale * (rFramePixelSize.Width()-2*nFrameWidth)
+ const double nFinalScale (nInitialScale * (rFramePixelSize.Width()-2*nFrameWidth)
/ aOutputSize.Width());
aMapMode.SetScaleX (nFinalScale);
aMapMode.SetScaleY (nFinalScale);
@@ -435,8 +435,8 @@ Image PreviewRenderer::ScaleBitmap (
// Adjust contrast mode.
bool bUseContrast = Application::GetSettings().GetStyleSettings().
GetHighContrastMode();
- mpPreviewDevice->SetDrawMode (bUseContrast
- ? ViewShell::OUTPUT_DRAWMODE_CONTRAST
+ mpPreviewDevice->SetDrawMode (bUseContrast
+ ? ViewShell::OUTPUT_DRAWMODE_CONTRAST
: ViewShell::OUTPUT_DRAWMODE_COLOR);
// Set output size.
@@ -444,7 +444,7 @@ Image PreviewRenderer::ScaleBitmap (
if (aSize.Width() <= 0)
break;
Size aFrameSize (
- nWidth,
+ nWidth,
(long)((nWidth*1.0 * aSize.Height()) / aSize.Width() + 0.5));
Size aPreviewSize (aFrameSize.Width()-2,aFrameSize.Height()-2);
MapMode aMapMode (mpPreviewDevice->GetMapMode());
@@ -464,7 +464,7 @@ Image PreviewRenderer::ScaleBitmap (
BitmapEx aScaledBitmap (rBitmapEx.GetBitmap());
aScaledBitmap.Scale (aPreviewSize, BMP_SCALE_INTERPOLATE);
mpPreviewDevice->DrawBitmap (
- Point(1,1),
+ Point(1,1),
aPreviewSize,
aScaledBitmap.GetBitmap());
diff --git a/sd/source/ui/tools/PropertySet.cxx b/sd/source/ui/tools/PropertySet.cxx
index aaf1e196b3b8..4621de8fe863 100644
--- a/sd/source/ui/tools/PropertySet.cxx
+++ b/sd/source/ui/tools/PropertySet.cxx
@@ -2,7 +2,7 @@
/*************************************************************************
*
* 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
@@ -213,7 +213,7 @@ void PropertySet::CallListeners (
if (iListener->second.is())
iListener->second->propertyChange(rEvent);
}
-}
+}
diff --git a/sd/source/ui/tools/SdGlobalResourceContainer.cxx b/sd/source/ui/tools/SdGlobalResourceContainer.cxx
index e7e38d453f93..b74b2f019d88 100644
--- a/sd/source/ui/tools/SdGlobalResourceContainer.cxx
+++ b/sd/source/ui/tools/SdGlobalResourceContainer.cxx
@@ -2,7 +2,7 @@
/*************************************************************************
*
* 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
@@ -67,16 +67,16 @@ private:
-// static
+// static
SdGlobalResourceContainer& SdGlobalResourceContainer::Instance (void)
{
- DBG_ASSERT(Implementation::mpInstance!=NULL,
+ DBG_ASSERT(Implementation::mpInstance!=NULL,
"SdGlobalResourceContainer::Instance(): instance has been deleted");
// Maybe we should throw an exception when the instance has been deleted.
return *Implementation::mpInstance;
}
-SdGlobalResourceContainer*
+SdGlobalResourceContainer*
SdGlobalResourceContainer::Implementation::mpInstance = NULL;
@@ -88,7 +88,7 @@ void SdGlobalResourceContainer::AddResource (
::std::auto_ptr<SdGlobalResource> pResource)
{
::osl::MutexGuard aGuard (mpImpl->maMutex);
-
+
Implementation::ResourceList::iterator iResource;
iResource = ::std::find (
mpImpl->maResources.begin(),
@@ -115,7 +115,7 @@ void SdGlobalResourceContainer::AddResource (
::boost::shared_ptr<SdGlobalResource> pResource)
{
::osl::MutexGuard aGuard (mpImpl->maMutex);
-
+
Implementation::SharedResourceList::iterator iResource;
iResource = ::std::find (
mpImpl->maSharedResources.begin(),
@@ -162,10 +162,10 @@ SdGlobalResourceContainer::SdGlobalResourceContainer (void)
-SdGlobalResourceContainer::~SdGlobalResourceContainer (void)
+SdGlobalResourceContainer::~SdGlobalResourceContainer (void)
{
::osl::MutexGuard aGuard (mpImpl->maMutex);
-
+
// Release the resources in reversed order of their addition to the
// container. This is because a resource A added before resource B
// may have been created due to a request of B. Thus B depends on A and
diff --git a/sd/source/ui/tools/SlotStateListener.cxx b/sd/source/ui/tools/SlotStateListener.cxx
index 21485bfb8484..8d803e3ec3bf 100644
--- a/sd/source/ui/tools/SlotStateListener.cxx
+++ b/sd/source/ui/tools/SlotStateListener.cxx
@@ -2,7 +2,7 @@
/*************************************************************************
*
* 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
@@ -147,7 +147,7 @@ util::URL SlotStateListener::MakeURL (const OUString& rSlotName) const
-uno::Reference<frame::XDispatch>
+uno::Reference<frame::XDispatch>
SlotStateListener::GetDispatch (const util::URL& rURL) const
{
uno::Reference<frame::XDispatch> xDispatch;
diff --git a/sd/source/ui/tools/TimerBasedTaskExecution.cxx b/sd/source/ui/tools/TimerBasedTaskExecution.cxx
index 6822b917cb7d..a2ad2e696ffc 100644
--- a/sd/source/ui/tools/TimerBasedTaskExecution.cxx
+++ b/sd/source/ui/tools/TimerBasedTaskExecution.cxx
@@ -2,7 +2,7 @@
/*************************************************************************
*
* 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
@@ -172,7 +172,7 @@ IMPL_LINK(TimerBasedTaskExecution,TimerCallback, Timer*,EMPTYARG)
else
mpSelf.reset();
}
-
+
return 0;
}
diff --git a/sd/source/ui/unoidl/DrawController.cxx b/sd/source/ui/unoidl/DrawController.cxx
index 5e9d15f867bd..db4b85f10f0f 100644
--- a/sd/source/ui/unoidl/DrawController.cxx
+++ b/sd/source/ui/unoidl/DrawController.cxx
@@ -2,7 +2,7 @@
/*************************************************************************
*
* 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
@@ -79,7 +79,7 @@ DrawController::DrawController (ViewShellBase& rBase) throw()
: DrawControllerInterfaceBase(&rBase),
BroadcastHelperOwner(SfxBaseController::m_aMutex),
OPropertySetHelper( static_cast<OBroadcastHelperVar<
- OMultiTypeInterfaceContainerHelper,
+ OMultiTypeInterfaceContainerHelper,
OMultiTypeInterfaceContainerHelper::keyType>& >(
BroadcastHelperOwner::maBroadcastHelper)),
mpBase(&rBase),
@@ -113,7 +113,7 @@ void DrawController::SetSubController (
mxSubController = rxSubController;
mpPropertyArrayHelper.reset();
maLastVisArea = Rectangle();
-
+
// Inform listeners about the changed state.
FireSelectionChangeListener();
}
@@ -124,7 +124,7 @@ void DrawController::SetSubController (
// XInterface
IMPLEMENT_FORWARD_XINTERFACE2(
- DrawController,
+ DrawController,
DrawControllerInterfaceBase,
OPropertySetHelper);
@@ -172,8 +172,8 @@ void SAL_CALL DrawController::dispose (void)
pViewShell->DeactivateCurrentFunction();
DrawDocShell* pDocShell = pViewShell->GetDocSh();
if ( pDocShell != NULL )
- pDocShell->SetDocShellFunction(0);
- }
+ pDocShell->SetDocShellFunction(0);
+ }
pViewShell.reset();
// When the controller has not been detached from its view
@@ -188,7 +188,7 @@ void SAL_CALL DrawController::dispose (void)
OPropertySetHelper::disposing();
DisposeFrameworkControllers();
-
+
SfxBaseController::dispose();
}
}
@@ -209,7 +209,7 @@ void SAL_CALL DrawController::addEventListener(
void SAL_CALL DrawController::removeEventListener (
- const Reference<lang::XEventListener >& aListener)
+ const Reference<lang::XEventListener >& aListener)
throw (RuntimeException)
{
if(!rBHelper.bDisposed && !rBHelper.bInDispose && !mbDisposing)
@@ -298,7 +298,7 @@ Any SAL_CALL DrawController::getSelection()
{
ThrowIfDisposed();
SolarMutexGuard aGuard;
-
+
if (mxSubController.is())
return mxSubController->getSelection();
else
@@ -322,7 +322,7 @@ void SAL_CALL DrawController::addSelectionChangeListener(
void SAL_CALL DrawController::removeSelectionChangeListener(
- const Reference< view::XSelectionChangeListener >& xListener )
+ const Reference< view::XSelectionChangeListener >& xListener )
throw(RuntimeException)
{
if (rBHelper.bDisposed)
@@ -402,7 +402,7 @@ Reference< drawing::XDrawPage > SAL_CALL DrawController::getCurrentPage (void)
SolarMutexGuard aGuard;
Reference<drawing::XDrawPage> xPage;
- // Get current page from sub controller.
+ // Get current page from sub controller.
if (mxSubController.is())
xPage = mxSubController->getCurrentPage();
@@ -422,17 +422,17 @@ void DrawController::FireVisAreaChanged (const Rectangle& rVisArea) throw()
if( maLastVisArea != rVisArea )
{
Any aNewValue;
- aNewValue <<= awt::Rectangle(
- rVisArea.Left(),
- rVisArea.Top(),
- rVisArea.GetWidth(),
+ aNewValue <<= awt::Rectangle(
+ rVisArea.Left(),
+ rVisArea.Top(),
+ rVisArea.GetWidth(),
rVisArea.GetHeight() );
Any aOldValue;
- aOldValue <<= awt::Rectangle(
- maLastVisArea.Left(),
- maLastVisArea.Top(),
- maLastVisArea.GetWidth(),
+ aOldValue <<= awt::Rectangle(
+ maLastVisArea.Left(),
+ maLastVisArea.Top(),
+ maLastVisArea.GetWidth(),
maLastVisArea.GetHeight() );
FirePropertyChange (PROPERTY_WORKAREA, aNewValue, aOldValue);
@@ -459,7 +459,7 @@ void DrawController::FireSelectionChangeListener() throw()
{
try
{
- view::XSelectionChangeListener * pL =
+ view::XSelectionChangeListener * pL =
static_cast<view::XSelectionChangeListener*>(aIt.next());
if (pL != NULL)
pL->selectionChanged( aEvent );
@@ -633,7 +633,7 @@ sal_Int64 SAL_CALL DrawController::getSomething (const Sequence<sal_Int8>& rId)
throw (RuntimeException)
{
sal_Int64 nResult = 0;
-
+
if (rId.getLength() == 16
&& rtl_compareMemory(getUnoTunnelId().getConstArray(), rId.getConstArray(), 16) == 0)
{
@@ -652,13 +652,13 @@ void DrawController::FillPropertyTable (
::std::vector<beans::Property>& rProperties)
{
rProperties.push_back(
- beans::Property(
+ beans::Property(
OUString( RTL_CONSTASCII_USTRINGPARAM("VisibleArea") ),
PROPERTY_WORKAREA,
::getCppuType((const ::com::sun::star::awt::Rectangle*)0),
beans::PropertyAttribute::BOUND | beans::PropertyAttribute::READONLY));
rProperties.push_back(
- beans::Property(
+ beans::Property(
OUString( RTL_CONSTASCII_USTRINGPARAM("SubController") ),
PROPERTY_SUB_CONTROLLER,
::getCppuType((const Reference<drawing::XDrawSubController>*)0),
@@ -722,7 +722,7 @@ IPropertyArrayHelper & DrawController::getInfoHelper()
aPropertySequence[i] = aProperties[i];
mpPropertyArrayHelper.reset(new OPropertyArrayHelper(aPropertySequence, sal_False));
}
-
+
return *mpPropertyArrayHelper.get();
}
@@ -795,9 +795,9 @@ uno::Reference< awt::XControl > SAL_CALL DrawController::getControl( const uno::
sal_Bool DrawController::convertFastPropertyValue (
- Any & rConvertedValue,
- Any & rOldValue,
- sal_Int32 nHandle,
+ Any & rConvertedValue,
+ Any & rOldValue,
+ sal_Int32 nHandle,
const Any& rValue)
throw ( com::sun::star::lang::IllegalArgumentException)
{
@@ -829,7 +829,7 @@ sal_Bool DrawController::convertFastPropertyValue (
void DrawController::setFastPropertyValue_NoBroadcast (
- sal_Int32 nHandle,
+ sal_Int32 nHandle,
const Any& rValue)
throw ( com::sun::star::uno::Exception)
{
@@ -844,7 +844,7 @@ void DrawController::setFastPropertyValue_NoBroadcast (
void DrawController::getFastPropertyValue (
- Any & rRet,
+ Any & rRet,
sal_Int32 nHandle ) const
{
SolarMutexGuard aGuard;
@@ -852,10 +852,10 @@ void DrawController::getFastPropertyValue (
switch( nHandle )
{
case PROPERTY_WORKAREA:
- rRet <<= awt::Rectangle(
- maLastVisArea.Left(),
- maLastVisArea.Top(),
- maLastVisArea.GetWidth(),
+ rRet <<= awt::Rectangle(
+ maLastVisArea.Left(),
+ maLastVisArea.Top(),
+ maLastVisArea.GetWidth(),
maLastVisArea.GetHeight());
break;
diff --git a/sd/source/ui/unoidl/SdUnoDrawView.cxx b/sd/source/ui/unoidl/SdUnoDrawView.cxx
index d711b5a497aa..c9552c406efb 100644
--- a/sd/source/ui/unoidl/SdUnoDrawView.cxx
+++ b/sd/source/ui/unoidl/SdUnoDrawView.cxx
@@ -2,7 +2,7 @@
/*************************************************************************
*
* 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
@@ -68,7 +68,7 @@ SdUnoDrawView::SdUnoDrawView(
DrawController& rController,
DrawViewShell& rViewShell,
View& rView) throw()
- : DrawSubControllerInterfaceBase(m_aMutex),
+ : DrawSubControllerInterfaceBase(m_aMutex),
mrController(rController),
mrDrawViewShell(rViewShell),
mrView(rView)
@@ -141,7 +141,7 @@ Reference<drawing::XLayer> SdUnoDrawView::getActiveLayer (void) throw ()
SdDrawDocument* pSdModel = pModel->GetDoc();
if (pSdModel == NULL)
break;
-
+
// From the model get the current SdrLayer object via the layer admin.
SdrLayerAdmin& rLayerAdmin = pSdModel->GetLayerAdmin ();
SdrLayer* pLayer = rLayerAdmin.GetLayer (mrView.GetActiveLayer(), TRUE);
@@ -213,7 +213,7 @@ sal_Bool SAL_CALL SdUnoDrawView::select( const Any& aSelection )
{
bOk = false;
}
- }
+ }
else
{
Reference< drawing::XShapes > xShapes;
@@ -307,18 +307,18 @@ Any SAL_CALL SdUnoDrawView::getSelection()
SdrMark *pMark = rMarkList.GetMark(nNum);
if(pMark==NULL)
continue;
-
+
SdrObject *pObj = pMark->GetMarkedSdrObj();
if(pObj==NULL || pObj->GetPage() == NULL)
continue;
Reference< drawing::XDrawPage > xPage( pObj->GetPage()->getUnoPage(), UNO_QUERY);
-
+
if(!xPage.is())
continue;
SvxDrawPage* pDrawPage = SvxDrawPage::getImplementation( xPage );
-
+
if(pDrawPage==NULL)
continue;
@@ -343,7 +343,7 @@ void SAL_CALL SdUnoDrawView::addSelectionChangeListener (
{
(void)rxListener;
}
-
+
@@ -358,7 +358,7 @@ void SAL_CALL SdUnoDrawView::removeSelectionChangeListener (
void SdUnoDrawView::setFastPropertyValue (
- sal_Int32 nHandle,
+ sal_Int32 nHandle,
const Any& rValue)
throw(css::beans::UnknownPropertyException,
css::beans::PropertyVetoException,
@@ -507,7 +507,7 @@ Reference< drawing::XDrawPage > SAL_CALL SdUnoDrawView::getCurrentPage()
SdrPageView *pPV = mrView.GetSdrPageView();
SdrPage* pPage = pPV ? pPV->GetPage() : NULL;
-
+
if(pPage)
xPage = Reference< drawing::XDrawPage >::query( pPage->getUnoPage() );
@@ -574,12 +574,12 @@ void SdUnoDrawView::SetZoomType ( sal_Int16 nType )
case com::sun::star::view::DocumentZoomType::OPTIMAL:
eZoomType = SVX_ZOOM_OPTIMAL;
break;
-
+
case com::sun::star::view::DocumentZoomType::PAGE_WIDTH:
case com::sun::star::view::DocumentZoomType::PAGE_WIDTH_EXACT:
eZoomType = SVX_ZOOM_PAGEWIDTH;
break;
-
+
case com::sun::star::view::DocumentZoomType::ENTIRE_PAGE:
eZoomType = SVX_ZOOM_WHOLEPAGE;
break;
@@ -612,7 +612,7 @@ Any SdUnoDrawView::getDrawViewMode() const
Any aRet;
switch( mrDrawViewShell.GetPageKind() )
{
- case PK_NOTES: aRet <<= DrawViewMode_NOTES; break;
+ case PK_NOTES: aRet <<= DrawViewMode_NOTES; break;
case PK_HANDOUT: aRet <<= DrawViewMode_HANDOUT; break;
case PK_STANDARD: aRet <<= DrawViewMode_DRAW; break;
}
diff --git a/sd/source/ui/unoidl/SdUnoOutlineView.cxx b/sd/source/ui/unoidl/SdUnoOutlineView.cxx
index 28ee0e1cd5ca..100f79ab2cf7 100644
--- a/sd/source/ui/unoidl/SdUnoOutlineView.cxx
+++ b/sd/source/ui/unoidl/SdUnoOutlineView.cxx
@@ -2,7 +2,7 @@
/*************************************************************************
*
* 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
@@ -56,7 +56,7 @@ SdUnoOutlineView::SdUnoOutlineView(
DrawController& rController,
OutlineViewShell& rViewShell,
View& rView) throw()
- : DrawSubControllerInterfaceBase(m_aMutex),
+ : DrawSubControllerInterfaceBase(m_aMutex),
mrController(rController),
mrOutlineViewShell(rViewShell),
mrView(rView)
@@ -106,7 +106,7 @@ void SAL_CALL SdUnoOutlineView::addSelectionChangeListener (
{
(void)rxListener;
}
-
+
@@ -154,9 +154,9 @@ Reference< drawing::XDrawPage > SAL_CALL SdUnoOutlineView::getCurrentPage (void)
/*
// Return sal_True, value change
sal_Bool SdUnoOutlineView::convertFastPropertyValue (
- Any & rConvertedValue,
- Any & rOldValue,
- sal_Int32 nHandle,
+ Any & rConvertedValue,
+ Any & rOldValue,
+ sal_Int32 nHandle,
const Any& rValue)
throw ( com::sun::star::lang::IllegalArgumentException)
{
@@ -188,7 +188,7 @@ sal_Bool SdUnoOutlineView::convertFastPropertyValue (
void SdUnoOutlineView::setFastPropertyValue (
- sal_Int32 nHandle,
+ sal_Int32 nHandle,
const Any& rValue)
throw(css::beans::UnknownPropertyException,
css::beans::PropertyVetoException,
@@ -205,7 +205,7 @@ void SdUnoOutlineView::setFastPropertyValue (
setCurrentPage( xPage );
}
break;
-
+
default:
throw beans::UnknownPropertyException();
}
@@ -229,7 +229,7 @@ Any SAL_CALL SdUnoOutlineView::getFastPropertyValue (
css::uno::RuntimeException)
{
Any aValue;
-
+
switch( nHandle )
{
case DrawController::PROPERTY_CURRENTPAGE:
diff --git a/sd/source/ui/unoidl/SdUnoSlideView.cxx b/sd/source/ui/unoidl/SdUnoSlideView.cxx
index f55db2e12f90..73d51a23679b 100644
--- a/sd/source/ui/unoidl/SdUnoSlideView.cxx
+++ b/sd/source/ui/unoidl/SdUnoSlideView.cxx
@@ -2,7 +2,7 @@
/*************************************************************************
*
* 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
@@ -145,7 +145,7 @@ void SAL_CALL SdUnoSlideView::addSelectionChangeListener (
{
(void)rxListener;
}
-
+
@@ -175,7 +175,7 @@ void SAL_CALL SdUnoSlideView::setCurrentPage (
throw(::com::sun::star::uno::RuntimeException)
{
return Reference<drawing::XDrawPage>();
-}
+}
@@ -183,7 +183,7 @@ void SAL_CALL SdUnoSlideView::setCurrentPage (
//----- XFastPropertySet ------------------------------------------------------
void SdUnoSlideView::setFastPropertyValue (
- sal_Int32 nHandle,
+ sal_Int32 nHandle,
const Any& rValue)
throw(css::beans::UnknownPropertyException,
css::beans::PropertyVetoException,
@@ -193,7 +193,7 @@ void SdUnoSlideView::setFastPropertyValue (
{
(void)nHandle;
(void)rValue;
-
+
throw beans::UnknownPropertyException();
}
diff --git a/sd/source/ui/unoidl/UnoDocumentSettings.cxx b/sd/source/ui/unoidl/UnoDocumentSettings.cxx
index ef466220fe88..909b94d2f502 100644
--- a/sd/source/ui/unoidl/UnoDocumentSettings.cxx
+++ b/sd/source/ui/unoidl/UnoDocumentSettings.cxx
@@ -2,7 +2,7 @@
/*************************************************************************
*
* 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
@@ -123,8 +123,8 @@ namespace sd
virtual void _getPropertyValues( const comphelper::PropertyMapEntry** ppEntries, ::com::sun::star::uno::Any* pValue ) throw(::com::sun::star::beans::UnknownPropertyException, ::com::sun::star::lang::WrappedTargetException );
private:
- Reference< XModel > mxModel;
- SdXImpressDocument* mpModel;
+ Reference< XModel > mxModel;
+ SdXImpressDocument* mpModel;
};
Reference< XInterface > SAL_CALL DocumentSettings_createInstance( SdXImpressDocument* pModel )
@@ -155,60 +155,60 @@ enum SdDocumentSettingsPropertyHandles
{
static PropertyMapEntry aImpressSettingsInfoMap[] =
{
- { MAP_LEN("IsPrintDrawing"), HANDLE_PRINTDRAWING, &::getBooleanCppuType(), 0, MID_PRINTER },
- { MAP_LEN("IsPrintNotes"), HANDLE_PRINTNOTES, &::getBooleanCppuType(), 0, MID_PRINTER },
- { MAP_LEN("IsPrintHandout"), HANDLE_PRINTHANDOUT, &::getBooleanCppuType(), 0, MID_PRINTER },
- { MAP_LEN("IsPrintOutline"), HANDLE_PRINTOUTLINE, &::getBooleanCppuType(), 0, MID_PRINTER },
- { MAP_LEN("SlidesPerHandout"), HANDLE_SLIDESPERHANDOUT, &::getCppuType((const sal_Int16*)0), 0, MID_PRINTER },
- { MAP_LEN("HandoutsHorizontal"), HANDLE_HANDOUTHORIZONTAL, &::getBooleanCppuType(), 0, MID_PRINTER },
+ { MAP_LEN("IsPrintDrawing"), HANDLE_PRINTDRAWING, &::getBooleanCppuType(), 0, MID_PRINTER },
+ { MAP_LEN("IsPrintNotes"), HANDLE_PRINTNOTES, &::getBooleanCppuType(), 0, MID_PRINTER },
+ { MAP_LEN("IsPrintHandout"), HANDLE_PRINTHANDOUT, &::getBooleanCppuType(), 0, MID_PRINTER },
+ { MAP_LEN("IsPrintOutline"), HANDLE_PRINTOUTLINE, &::getBooleanCppuType(), 0, MID_PRINTER },
+ { MAP_LEN("SlidesPerHandout"), HANDLE_SLIDESPERHANDOUT, &::getCppuType((const sal_Int16*)0), 0, MID_PRINTER },
+ { MAP_LEN("HandoutsHorizontal"), HANDLE_HANDOUTHORIZONTAL, &::getBooleanCppuType(), 0, MID_PRINTER },
{ NULL, 0, 0, NULL, 0, 0 }
};
static PropertyMapEntry aDrawSettingsInfoMap[] =
{
- { MAP_LEN("MeasureUnit"), HANDLE_MEASUREUNIT, &::getCppuType((const sal_Int16*)0), 0, 0 },
- { MAP_LEN("ScaleNumerator"), HANDLE_SCALE_NUM, &::getCppuType((const sal_Int32*)0), 0, 0 },
- { MAP_LEN("ScaleDenominator"), HANDLE_SCALE_DOM, &::getCppuType((const sal_Int32*)0), 0, 0 },
+ { MAP_LEN("MeasureUnit"), HANDLE_MEASUREUNIT, &::getCppuType((const sal_Int16*)0), 0, 0 },
+ { MAP_LEN("ScaleNumerator"), HANDLE_SCALE_NUM, &::getCppuType((const sal_Int32*)0), 0, 0 },
+ { MAP_LEN("ScaleDenominator"), HANDLE_SCALE_DOM, &::getCppuType((const sal_Int32*)0), 0, 0 },
{ NULL, 0, 0, NULL, 0, 0 }
};
static PropertyMapEntry aCommonSettingsInfoMap[] =
{
- { MAP_LEN("DefaultTabStop"), HANDLE_TABSTOP, &::getCppuType((const sal_Int32*)0), 0, 0 },
- { MAP_LEN("PrinterName"), HANDLE_PRINTERNAME, &::getCppuType((const OUString*)0), 0, 0 },
- { MAP_LEN("PrinterSetup"), HANDLE_PRINTERJOB, &::getCppuType((const uno::Sequence < sal_Int8 > *)0), 0, MID_PRINTER },
+ { MAP_LEN("DefaultTabStop"), HANDLE_TABSTOP, &::getCppuType((const sal_Int32*)0), 0, 0 },
+ { MAP_LEN("PrinterName"), HANDLE_PRINTERNAME, &::getCppuType((const OUString*)0), 0, 0 },
+ { MAP_LEN("PrinterSetup"), HANDLE_PRINTERJOB, &::getCppuType((const uno::Sequence < sal_Int8 > *)0), 0, MID_PRINTER },
#ifndef SVX_LIGHT
- { MAP_LEN("IsPrintPageName"), HANDLE_PRINTPAGENAME, &::getBooleanCppuType(), 0, MID_PRINTER },
- { MAP_LEN("IsPrintDate"), HANDLE_PRINTDATE, &::getBooleanCppuType(), 0, MID_PRINTER },
- { MAP_LEN("IsPrintTime"), HANDLE_PRINTTIME, &::getBooleanCppuType(), 0, MID_PRINTER },
- { MAP_LEN("IsPrintHiddenPages"), HANDLE_PRINTHIDENPAGES, &::getBooleanCppuType(), 0, MID_PRINTER },
- { MAP_LEN("IsPrintFitPage"), HANDLE_PRINTFITPAGE, &::getBooleanCppuType(), 0, MID_PRINTER },
- { MAP_LEN("IsPrintTilePage"), HANDLE_PRINTTILEPAGE, &::getBooleanCppuType(), 0, MID_PRINTER },
- { MAP_LEN("IsPrintBooklet"), HANDLE_PRINTBOOKLET, &::getBooleanCppuType(), 0, MID_PRINTER },
- { MAP_LEN("IsPrintBookletFront"), HANDLE_PRINTBOOKLETFRONT, &::getBooleanCppuType(), 0, MID_PRINTER },
- { MAP_LEN("IsPrintBookletBack"), HANDLE_PRINTBOOKLETBACK, &::getBooleanCppuType(), 0, MID_PRINTER },
- { MAP_LEN("PrintQuality"), HANDLE_PRINTQUALITY, &::getCppuType((const sal_Int32*)0), 0, MID_PRINTER },
+ { MAP_LEN("IsPrintPageName"), HANDLE_PRINTPAGENAME, &::getBooleanCppuType(), 0, MID_PRINTER },
+ { MAP_LEN("IsPrintDate"), HANDLE_PRINTDATE, &::getBooleanCppuType(), 0, MID_PRINTER },
+ { MAP_LEN("IsPrintTime"), HANDLE_PRINTTIME, &::getBooleanCppuType(), 0, MID_PRINTER },
+ { MAP_LEN("IsPrintHiddenPages"), HANDLE_PRINTHIDENPAGES, &::getBooleanCppuType(), 0, MID_PRINTER },
+ { MAP_LEN("IsPrintFitPage"), HANDLE_PRINTFITPAGE, &::getBooleanCppuType(), 0, MID_PRINTER },
+ { MAP_LEN("IsPrintTilePage"), HANDLE_PRINTTILEPAGE, &::getBooleanCppuType(), 0, MID_PRINTER },
+ { MAP_LEN("IsPrintBooklet"), HANDLE_PRINTBOOKLET, &::getBooleanCppuType(), 0, MID_PRINTER },
+ { MAP_LEN("IsPrintBookletFront"), HANDLE_PRINTBOOKLETFRONT, &::getBooleanCppuType(), 0, MID_PRINTER },
+ { MAP_LEN("IsPrintBookletBack"), HANDLE_PRINTBOOKLETBACK, &::getBooleanCppuType(), 0, MID_PRINTER },
+ { MAP_LEN("PrintQuality"), HANDLE_PRINTQUALITY, &::getCppuType((const sal_Int32*)0), 0, MID_PRINTER },
#endif
- { MAP_LEN("ColorTableURL"), HANDLE_COLORTABLEURL, &::getCppuType((const OUString*)0), 0, 0 },
- { MAP_LEN("DashTableURL"), HANDLE_DASHTABLEURL, &::getCppuType((const OUString*)0), 0, 0 },
- { MAP_LEN("LineEndTableURL"), HANDLE_LINEENDTABLEURL, &::getCppuType((const OUString*)0), 0, 0 },
- { MAP_LEN("HatchTableURL"), HANDLE_HATCHTABLEURL, &::getCppuType((const OUString*)0), 0, 0 },
- { MAP_LEN("GradientTableURL"), HANDLE_GRADIENTTABLEURL, &::getCppuType((const OUString*)0), 0, 0 },
- { MAP_LEN("BitmapTableURL"), HANDLE_BITMAPTABLEURL, &::getCppuType((const OUString*)0), 0, 0 },
-
- { MAP_LEN("ForbiddenCharacters"), HANDLE_FORBIDDENCHARS, &::getCppuType((const Reference< XForbiddenCharacters >*)0), 0, 0 },
- { MAP_LEN("ApplyUserData"), HANDLE_APPLYUSERDATA, &::getBooleanCppuType(), 0, 0 },
-
- { MAP_LEN("PageNumberFormat"), HANDLE_PAGENUMFMT, &::getCppuType((const sal_Int32*)0), 0, 0 },
- { MAP_LEN("ParagraphSummation"), HANDLE_PARAGRAPHSUMMATION, &::getBooleanCppuType(), 0, 0 },
- { MAP_LEN("CharacterCompressionType"),HANDLE_CHARCOMPRESS, &::getCppuType((sal_Int16*)0), 0, 0 },
- { MAP_LEN("IsKernAsianPunctuation"),HANDLE_ASIANPUNCT, &::getBooleanCppuType(), 0, 0 },
- { MAP_LEN("UpdateFromTemplate"), HANDLE_UPDATEFROMTEMPLATE, &::getBooleanCppuType(), 0, 0 },
+ { MAP_LEN("ColorTableURL"), HANDLE_COLORTABLEURL, &::getCppuType((const OUString*)0), 0, 0 },
+ { MAP_LEN("DashTableURL"), HANDLE_DASHTABLEURL, &::getCppuType((const OUString*)0), 0, 0 },
+ { MAP_LEN("LineEndTableURL"), HANDLE_LINEENDTABLEURL, &::getCppuType((const OUString*)0), 0, 0 },
+ { MAP_LEN("HatchTableURL"), HANDLE_HATCHTABLEURL, &::getCppuType((const OUString*)0), 0, 0 },
+ { MAP_LEN("GradientTableURL"), HANDLE_GRADIENTTABLEURL, &::getCppuType((const OUString*)0), 0, 0 },
+ { MAP_LEN("BitmapTableURL"), HANDLE_BITMAPTABLEURL, &::getCppuType((const OUString*)0), 0, 0 },
+
+ { MAP_LEN("ForbiddenCharacters"), HANDLE_FORBIDDENCHARS, &::getCppuType((const Reference< XForbiddenCharacters >*)0), 0, 0 },
+ { MAP_LEN("ApplyUserData"), HANDLE_APPLYUSERDATA, &::getBooleanCppuType(), 0, 0 },
+
+ { MAP_LEN("PageNumberFormat"), HANDLE_PAGENUMFMT, &::getCppuType((const sal_Int32*)0), 0, 0 },
+ { MAP_LEN("ParagraphSummation"), HANDLE_PARAGRAPHSUMMATION, &::getBooleanCppuType(), 0, 0 },
+ { MAP_LEN("CharacterCompressionType"),HANDLE_CHARCOMPRESS, &::getCppuType((sal_Int16*)0), 0, 0 },
+ { MAP_LEN("IsKernAsianPunctuation"),HANDLE_ASIANPUNCT, &::getBooleanCppuType(), 0, 0 },
+ { MAP_LEN("UpdateFromTemplate"), HANDLE_UPDATEFROMTEMPLATE, &::getBooleanCppuType(), 0, 0 },
{ MAP_LEN("PrinterIndependentLayout"),HANDLE_PRINTER_INDEPENDENT_LAYOUT,&::getCppuType((const sal_Int16*)0), 0, 0 },
// --> PB 2004-08-23 #i33095#
- { MAP_LEN("LoadReadonly"), HANDLE_LOAD_READONLY, &::getBooleanCppuType(), 0, 0 },
- { MAP_LEN("SaveVersionOnClose"), HANDLE_SAVE_VERSION, &::getBooleanCppuType(), 0, 0 },
+ { MAP_LEN("LoadReadonly"), HANDLE_LOAD_READONLY, &::getBooleanCppuType(), 0, 0 },
+ { MAP_LEN("SaveVersionOnClose"), HANDLE_SAVE_VERSION, &::getBooleanCppuType(), 0, 0 },
// <--
{ NULL, 0, 0, NULL, 0, 0 }
};
@@ -223,7 +223,7 @@ enum SdDocumentSettingsPropertyHandles
using namespace ::sd;
DocumentSettings::DocumentSettings( SdXImpressDocument* pModel )
-: PropertySetHelper( createSettingsInfoImpl( !pModel->IsImpressDocument() ) ),
+: PropertySetHelper( createSettingsInfoImpl( !pModel->IsImpressDocument() ) ),
mxModel( pModel ),
mpModel( pModel )
{
@@ -698,9 +698,9 @@ void DocumentSettings::_setPropertyValues( const PropertyMapEntry** ppEntries, c
else
{
pItemSet = new SfxItemSet(pDoc->GetPool(),
- SID_PRINTER_NOTFOUND_WARN, SID_PRINTER_NOTFOUND_WARN,
- SID_PRINTER_CHANGESTODOC, SID_PRINTER_CHANGESTODOC,
- ATTR_OPTIONS_PRINT, ATTR_OPTIONS_PRINT,
+ SID_PRINTER_NOTFOUND_WARN, SID_PRINTER_NOTFOUND_WARN,
+ SID_PRINTER_CHANGESTODOC, SID_PRINTER_CHANGESTODOC,
+ ATTR_OPTIONS_PRINT, ATTR_OPTIONS_PRINT,
0 );
}
@@ -867,7 +867,7 @@ void DocumentSettings::_setPropertyValues( const PropertyMapEntry** ppEntries, c
if( bOptionsChanged )
{
- if( !pPrinter )
+ if( !pPrinter )
pPrinter = pDocSh->GetPrinter( TRUE );
SfxItemSet aNewOptions( pPrinter->GetOptions() );
aNewOptions.Put( aOptionsPrintItem );
diff --git a/sd/source/ui/unoidl/UnoDocumentSettings.hxx b/sd/source/ui/unoidl/UnoDocumentSettings.hxx
index 103e7a72072b..3bdd24ee25fc 100644
--- a/sd/source/ui/unoidl/UnoDocumentSettings.hxx
+++ b/sd/source/ui/unoidl/UnoDocumentSettings.hxx
@@ -2,7 +2,7 @@
/*************************************************************************
*
* 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
diff --git a/sd/source/ui/unoidl/detreg.cxx b/sd/source/ui/unoidl/detreg.cxx
index 05f8862b1162..2ba14dc0ab17 100644
--- a/sd/source/ui/unoidl/detreg.cxx
+++ b/sd/source/ui/unoidl/detreg.cxx
@@ -2,7 +2,7 @@
/*************************************************************************
*
* 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
@@ -50,8 +50,8 @@ SAL_DLLPUBLIC_EXPORT void SAL_CALL component_getImplementationEnvironment(
}
SAL_DLLPUBLIC_EXPORT sal_Bool SAL_CALL component_writeInfo(
- void* ,
- void* pRegistryKey )
+ void* ,
+ void* pRegistryKey )
{
Reference< ::registry::XRegistryKey >
xKey( reinterpret_cast< ::registry::XRegistryKey* >( pRegistryKey ) ) ;
@@ -81,9 +81,9 @@ SAL_DLLPUBLIC_EXPORT void* SAL_CALL component_getFactory(
// Set default return value for this operation - if it failed.
void* pReturn = NULL ;
- if (
- ( pImplementationName != NULL ) &&
- ( pServiceManager != NULL )
+ if (
+ ( pImplementationName != NULL ) &&
+ ( pServiceManager != NULL )
)
{
// Define variables which are used in following macros.
diff --git a/sd/source/ui/unoidl/facreg.cxx b/sd/source/ui/unoidl/facreg.cxx
index 9df6e1bf6858..b9e43b136041 100644
--- a/sd/source/ui/unoidl/facreg.cxx
+++ b/sd/source/ui/unoidl/facreg.cxx
@@ -2,7 +2,7 @@
/*************************************************************************
*
* 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
@@ -457,7 +457,7 @@ SAL_DLLPUBLIC_EXPORT void * SAL_CALL component_getFactory(
SdPresentationDocument_createInstance,
SdPresentationDocument_getSupportedServiceNames());
break;
-
+
case SdUnoModuleFactoryId:
xFactory = ::cppu::createSingleFactory(
xMSF,
@@ -494,7 +494,7 @@ SAL_DLLPUBLIC_EXPORT void * SAL_CALL component_getFactory(
sd::framework::ModuleController_getImplementationName(),
sd::framework::ModuleController_getSupportedServiceNames());
break;
-
+
case BasicPaneFactoryFactoryId:
xComponentFactory = ::cppu::createSingleComponentFactory(
sd::framework::BasicPaneFactory_createInstance,
@@ -508,7 +508,7 @@ SAL_DLLPUBLIC_EXPORT void * SAL_CALL component_getFactory(
sd::framework::BasicToolBarFactory_getImplementationName(),
sd::framework::BasicToolBarFactory_getSupportedServiceNames());
break;
-
+
case BasicViewFactoryFactoryId:
xComponentFactory = ::cppu::createSingleComponentFactory(
sd::framework::BasicViewFactory_createInstance,
diff --git a/sd/source/ui/unoidl/randomnode.cxx b/sd/source/ui/unoidl/randomnode.cxx
index 39ea3a31158f..7bed368412b2 100644
--- a/sd/source/ui/unoidl/randomnode.cxx
+++ b/sd/source/ui/unoidl/randomnode.cxx
@@ -2,7 +2,7 @@
/*************************************************************************
*
* 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
@@ -194,18 +194,18 @@ OUString RandomNode__getImplementationName() throw( RuntimeException )
Sequence< OUString > SAL_CALL RandomNode_getSupportedServiceNames() throw( RuntimeException )
{
-// static const OUString aSN1( OUString::createFromAscii( pSN1 ) );
+// static const OUString aSN1( OUString::createFromAscii( pSN1 ) );
static const OUString aSN2( OUString::createFromAscii( pSN2 ) );
Sequence< OUString > aSeq( &aSN2, 1 );
-// aSeq[0] = aSN1;
-/// aSeq[1] = aSN2;
+// aSeq[0] = aSN1;
+/// aSeq[1] = aSN2;
return aSeq;
}
// --------------------------------------------------------------------
RandomAnimationNode::RandomAnimationNode( const RandomAnimationNode& rNode )
-: RandomAnimationNodeBase(),
+: RandomAnimationNodeBase(),
mnPresetClass( rNode.mnPresetClass ),
maBegin( rNode.maBegin ),
maDuration( rNode.maDuration ),
@@ -254,7 +254,7 @@ void RandomAnimationNode::init( sal_Int16 nPresetClass )
// XInitialization
void SAL_CALL RandomAnimationNode::initialize( const Sequence< Any >& aArguments ) throw (Exception, RuntimeException)
{
- if( aArguments.getLength() != 1 )
+ if( aArguments.getLength() != 1 )
throw IllegalArgumentException();
if( aArguments[0].getValueType() == ::getCppuType((const sal_Int16*)0) )
@@ -614,7 +614,7 @@ Reference< XEnumeration > SAL_CALL RandomAnimationNode::createEnumeration()
// no presets? give empty node!
Reference< XMultiServiceFactory > xServiceFactory( comphelper::getProcessServiceFactory() );
Reference< XEnumerationAccess > aEmptyEnumAccess(
- xServiceFactory->createInstance(
+ xServiceFactory->createInstance(
OUString( RTL_CONSTASCII_USTRINGPARAM( "com.sun.star.animations.ParallelTimeContainer" ))),
UNO_QUERY );
@@ -674,7 +674,7 @@ Reference< XAnimationNode > SAL_CALL RandomAnimationNode::appendChild( const Ref
Any aTarget( xAnimate->getTarget() );
if( aTarget.hasValue() )
maTarget = aTarget;
- }
+ }
if( !maTarget.hasValue() && !mxFirstNode.is() )
mxFirstNode = xAnimate;
diff --git a/sd/source/ui/unoidl/sddetect.cxx b/sd/source/ui/unoidl/sddetect.cxx
index 9d9fda79de96..e0cdcc35abc3 100644
--- a/sd/source/ui/unoidl/sddetect.cxx
+++ b/sd/source/ui/unoidl/sddetect.cxx
@@ -2,7 +2,7 @@
/*************************************************************************
*
* 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
diff --git a/sd/source/ui/unoidl/sddetect.hxx b/sd/source/ui/unoidl/sddetect.hxx
index 814cb491157d..a3d94a39ae4b 100644
--- a/sd/source/ui/unoidl/sddetect.hxx
+++ b/sd/source/ui/unoidl/sddetect.hxx
@@ -2,7 +2,7 @@
/*************************************************************************
*
* 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
diff --git a/sd/source/ui/unoidl/unocpres.cxx b/sd/source/ui/unoidl/unocpres.cxx
index e60c36c10cbb..4c18277f332c 100644
--- a/sd/source/ui/unoidl/unocpres.cxx
+++ b/sd/source/ui/unoidl/unocpres.cxx
@@ -2,7 +2,7 @@
/*************************************************************************
*
* 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
@@ -53,14 +53,14 @@ uno::Reference< uno::XInterface > createUnoCustomShow( SdCustomShow* pShow )
}
SdXCustomPresentation::SdXCustomPresentation() throw()
-: mpSdCustomShow(NULL), mpModel(NULL),
+: mpSdCustomShow(NULL), mpModel(NULL),
aDisposeListeners( aDisposeContainerMutex ),
bDisposing( sal_False )
{
}
SdXCustomPresentation::SdXCustomPresentation( SdCustomShow* pShow, SdXImpressDocument* pMyModel) throw()
-: mpSdCustomShow(pShow), mpModel(pMyModel),
+: mpSdCustomShow(pShow), mpModel(pMyModel),
aDisposeListeners( aDisposeContainerMutex ),
bDisposing( sal_False )
{
@@ -138,7 +138,7 @@ void SAL_CALL SdXCustomPresentation::removeByIndex( sal_Int32 Index )
if(mpSdCustomShow)
{
- uno::Reference< drawing::XDrawPage > xPage;
+ uno::Reference< drawing::XDrawPage > xPage;
getByIndex( Index ) >>= xPage;
if( xPage.is() )
@@ -249,7 +249,7 @@ void SAL_CALL SdXCustomPresentation::dispose() throw(uno::RuntimeException)
SolarMutexGuard aGuard;
if( bDisposing )
- return; // catched a recursion
+ return; // catched a recursion
bDisposing = sal_True;
@@ -280,8 +280,8 @@ void SAL_CALL SdXCustomPresentation::removeEventListener( const uno::Reference<
}
/*===========================================================================*
- * class SdXCustomPresentationAccess : public XCustomPresentationAccess, *
- * public UsrObject *
+ * class SdXCustomPresentationAccess : public XCustomPresentationAccess, *
+ * public UsrObject *
*===========================================================================*/
SdXCustomPresentationAccess::SdXCustomPresentationAccess(SdXImpressDocument& rMyModel) throw()
diff --git a/sd/source/ui/unoidl/unocpres.hxx b/sd/source/ui/unoidl/unocpres.hxx
index 8c3b5a68924d..d6dea0182c25 100644
--- a/sd/source/ui/unoidl/unocpres.hxx
+++ b/sd/source/ui/unoidl/unocpres.hxx
@@ -2,7 +2,7 @@
/*************************************************************************
*
* 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
@@ -46,15 +46,15 @@ class SdView;
class SdDrawViewShell;
class SdCustomShow;
-class SdXCustomPresentation : public ::cppu::WeakImplHelper5< ::com::sun::star::container::XIndexContainer,
+class SdXCustomPresentation : public ::cppu::WeakImplHelper5< ::com::sun::star::container::XIndexContainer,
::com::sun::star::container::XNamed,
::com::sun::star::lang::XUnoTunnel,
::com::sun::star::lang::XComponent,
::com::sun::star::lang::XServiceInfo >
{
private:
- SdCustomShow* mpSdCustomShow;
- SdXImpressDocument* mpModel;
+ SdCustomShow* mpSdCustomShow;
+ SdXImpressDocument* mpModel;
// for xComponent
::osl::Mutex aDisposeContainerMutex;
@@ -116,7 +116,7 @@ public:
class List;
-class SdXCustomPresentationAccess : public ::cppu::WeakImplHelper3< ::com::sun::star::container::XNameContainer,
+class SdXCustomPresentationAccess : public ::cppu::WeakImplHelper3< ::com::sun::star::container::XNameContainer,
::com::sun::star::lang::XSingleServiceFactory,
::com::sun::star::lang::XServiceInfo >
{
diff --git a/sd/source/ui/unoidl/unodoc.cxx b/sd/source/ui/unoidl/unodoc.cxx
index dd2102ffb2cf..14a3e725c7e4 100644
--- a/sd/source/ui/unoidl/unodoc.cxx
+++ b/sd/source/ui/unoidl/unodoc.cxx
@@ -2,7 +2,7 @@
/*************************************************************************
*
* 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
@@ -67,7 +67,7 @@ uno::Reference< uno::XInterface > SAL_CALL SdDrawingDocument_createInstance(
SdDLL::Init();
- SfxObjectShell* pShell =
+ SfxObjectShell* pShell =
new ::sd::GraphicDocShell(
_nCreationFlags, FALSE, DOCUMENT_TYPE_DRAW );
return uno::Reference< uno::XInterface >( pShell->GetModel() );
diff --git a/sd/source/ui/unoidl/unohelp.hxx b/sd/source/ui/unoidl/unohelp.hxx
index 597409503fed..7d5fd896f32b 100644
--- a/sd/source/ui/unoidl/unohelp.hxx
+++ b/sd/source/ui/unoidl/unohelp.hxx
@@ -2,7 +2,7 @@
/*************************************************************************
*
* 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
diff --git a/sd/source/ui/unoidl/unokywds.cxx b/sd/source/ui/unoidl/unokywds.cxx
index 9426623c2efb..85ddeb032d4a 100644
--- a/sd/source/ui/unoidl/unokywds.cxx
+++ b/sd/source/ui/unoidl/unokywds.cxx
@@ -2,7 +2,7 @@
/*************************************************************************
*
* 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
diff --git a/sd/source/ui/unoidl/unolayer.cxx b/sd/source/ui/unoidl/unolayer.cxx
index 71feca60efe8..44415e6a7e29 100644
--- a/sd/source/ui/unoidl/unolayer.cxx
+++ b/sd/source/ui/unoidl/unolayer.cxx
@@ -2,7 +2,7 @@
/*************************************************************************
*
* 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
@@ -71,23 +71,23 @@ using namespace ::com::sun::star;
// class SdLayer
//=============================================================================
-#define WID_LAYER_LOCKED 1
-#define WID_LAYER_PRINTABLE 2
-#define WID_LAYER_VISIBLE 3
-#define WID_LAYER_NAME 4
-#define WID_LAYER_TITLE 5
-#define WID_LAYER_DESC 6
+#define WID_LAYER_LOCKED 1
+#define WID_LAYER_PRINTABLE 2
+#define WID_LAYER_VISIBLE 3
+#define WID_LAYER_NAME 4
+#define WID_LAYER_TITLE 5
+#define WID_LAYER_DESC 6
const SvxItemPropertySet* ImplGetSdLayerPropertySet()
{
static const SfxItemPropertyMapEntry aSdLayerPropertyMap_Impl[] =
{
- { MAP_CHAR_LEN(UNO_NAME_LAYER_LOCKED), WID_LAYER_LOCKED, &::getBooleanCppuType(), 0, 0 },
- { MAP_CHAR_LEN(UNO_NAME_LAYER_PRINTABLE), WID_LAYER_PRINTABLE,&::getBooleanCppuType(), 0, 0 },
- { MAP_CHAR_LEN(UNO_NAME_LAYER_VISIBLE), WID_LAYER_VISIBLE, &::getBooleanCppuType(), 0, 0 },
- { MAP_CHAR_LEN(UNO_NAME_LAYER_NAME), WID_LAYER_NAME, &::getCppuType((const OUString*)0), 0, 0 },
- { MAP_CHAR_LEN("Title"), WID_LAYER_TITLE, &::getCppuType((const OUString*)0), 0, 0 },
- { MAP_CHAR_LEN("Description"), WID_LAYER_DESC, &::getCppuType((const OUString*)0), 0, 0 },
+ { MAP_CHAR_LEN(UNO_NAME_LAYER_LOCKED), WID_LAYER_LOCKED, &::getBooleanCppuType(), 0, 0 },
+ { MAP_CHAR_LEN(UNO_NAME_LAYER_PRINTABLE), WID_LAYER_PRINTABLE,&::getBooleanCppuType(), 0, 0 },
+ { MAP_CHAR_LEN(UNO_NAME_LAYER_VISIBLE), WID_LAYER_VISIBLE, &::getBooleanCppuType(), 0, 0 },
+ { MAP_CHAR_LEN(UNO_NAME_LAYER_NAME), WID_LAYER_NAME, &::getCppuType((const OUString*)0), 0, 0 },
+ { MAP_CHAR_LEN("Title"), WID_LAYER_TITLE, &::getCppuType((const OUString*)0), 0, 0 },
+ { MAP_CHAR_LEN("Description"), WID_LAYER_DESC, &::getCppuType((const OUString*)0), 0, 0 },
{ 0,0,0,0,0,0}
};
static SvxItemPropertySet aSDLayerPropertySet_Impl( aSdLayerPropertyMap_Impl, SdrObject::GetGlobalDrawObjectItemPool() );
@@ -125,23 +125,23 @@ String SdLayer::convertToInternalName( const OUString& rName )
OUString SdLayer::convertToExternalName( const String& rName )
{
const String aCompare( rName );
- if( rName == String( SdResId( STR_LAYER_BCKGRND ) ) )
+ if( rName == String( SdResId( STR_LAYER_BCKGRND ) ) )
{
return OUString( RTL_CONSTASCII_USTRINGPARAM(sUNO_LayerName_background) );
}
- else if( rName == String( SdResId( STR_LAYER_BCKGRNDOBJ ) ) )
+ else if( rName == String( SdResId( STR_LAYER_BCKGRNDOBJ ) ) )
{
return OUString( RTL_CONSTASCII_USTRINGPARAM(sUNO_LayerName_background_objects) );
}
- else if( rName == String( SdResId( STR_LAYER_LAYOUT ) ) )
+ else if( rName == String( SdResId( STR_LAYER_LAYOUT ) ) )
{
return OUString( RTL_CONSTASCII_USTRINGPARAM(sUNO_LayerName_layout) );
}
- else if( rName == String( SdResId( STR_LAYER_CONTROLS ) ) )
+ else if( rName == String( SdResId( STR_LAYER_CONTROLS ) ) )
{
return OUString( RTL_CONSTASCII_USTRINGPARAM(sUNO_LayerName_controls) );
}
- else if( rName == String( SdResId( STR_LAYER_MEASURELINES ) ) )
+ else if( rName == String( SdResId( STR_LAYER_MEASURELINES ) ) )
{
return OUString( RTL_CONSTASCII_USTRINGPARAM(sUNO_LayerName_measurelines) );
}
@@ -238,7 +238,7 @@ void SAL_CALL SdLayer::setPropertyValue( const OUString& aPropertyName, const un
OUString aName;
if(!(aValue >>= aName))
throw lang::IllegalArgumentException();
-
+
pLayer->SetName(SdLayer::convertToInternalName( aName ) );
pLayerManager->UpdateLayerView();
break;
@@ -249,7 +249,7 @@ void SAL_CALL SdLayer::setPropertyValue( const OUString& aPropertyName, const un
OUString sTitle;
if(!(aValue >>= sTitle))
throw lang::IllegalArgumentException();
-
+
pLayer->SetTitle(sTitle);
break;
}
@@ -259,7 +259,7 @@ void SAL_CALL SdLayer::setPropertyValue( const OUString& aPropertyName, const un
OUString sDescription;
if(!(aValue >>= sDescription))
throw lang::IllegalArgumentException();
-
+
pLayer->SetDescription(sDescription);
break;
}
@@ -269,8 +269,8 @@ void SAL_CALL SdLayer::setPropertyValue( const OUString& aPropertyName, const un
}
#ifndef SVX_LIGHT
- if( pLayerManager->GetDocShell() )
- pLayerManager->GetDocShell()->SetModified();
+ if( pLayerManager->GetDocShell() )
+ pLayerManager->GetDocShell()->SetModified();
#endif
}
@@ -337,9 +337,9 @@ sal_Bool SdLayer::get( LayerAttribute what ) throw()
String aLayerName = pLayer->GetName();
switch(what)
{
- case VISIBLE: return pSdrPageView->IsLayerVisible(aLayerName);
- case PRINTABLE: return pSdrPageView->IsLayerPrintable(aLayerName);
- case LOCKED: return pSdrPageView->IsLayerLocked(aLayerName);
+ case VISIBLE: return pSdrPageView->IsLayerVisible(aLayerName);
+ case PRINTABLE: return pSdrPageView->IsLayerPrintable(aLayerName);
+ case LOCKED: return pSdrPageView->IsLayerLocked(aLayerName);
}
}
@@ -351,9 +351,9 @@ sal_Bool SdLayer::get( LayerAttribute what ) throw()
if(pFrameView)
switch(what)
{
- case VISIBLE: return pFrameView->GetVisibleLayers().IsSet(pLayer->GetID());
- case PRINTABLE: return pFrameView->GetPrintableLayers().IsSet(pLayer->GetID());
- case LOCKED: return pFrameView->GetLockedLayers().IsSet(pLayer->GetID());
+ case VISIBLE: return pFrameView->GetVisibleLayers().IsSet(pLayer->GetID());
+ case PRINTABLE: return pFrameView->GetPrintableLayers().IsSet(pLayer->GetID());
+ case LOCKED: return pFrameView->GetLockedLayers().IsSet(pLayer->GetID());
}
}
#endif
@@ -376,11 +376,11 @@ void SdLayer::set( LayerAttribute what, sal_Bool flag ) throw()
String aLayerName(pLayer->GetName());
switch(what)
{
- case VISIBLE: pSdrPageView->SetLayerVisible(aLayerName,flag);
+ case VISIBLE: pSdrPageView->SetLayerVisible(aLayerName,flag);
break;
- case PRINTABLE: pSdrPageView->SetLayerPrintable(aLayerName,flag);
+ case PRINTABLE: pSdrPageView->SetLayerPrintable(aLayerName,flag);
break;
- case LOCKED: pSdrPageView->SetLayerLocked(aLayerName,flag);
+ case LOCKED: pSdrPageView->SetLayerLocked(aLayerName,flag);
break;
}
}
@@ -396,11 +396,11 @@ void SdLayer::set( LayerAttribute what, sal_Bool flag ) throw()
SetOfByte aNewLayers;
switch(what)
{
- case VISIBLE: aNewLayers = pFrameView->GetVisibleLayers();
+ case VISIBLE: aNewLayers = pFrameView->GetVisibleLayers();
break;
- case PRINTABLE: aNewLayers = pFrameView->GetPrintableLayers();
+ case PRINTABLE: aNewLayers = pFrameView->GetPrintableLayers();
break;
- case LOCKED: aNewLayers = pFrameView->GetLockedLayers();
+ case LOCKED: aNewLayers = pFrameView->GetLockedLayers();
break;
}
@@ -408,11 +408,11 @@ void SdLayer::set( LayerAttribute what, sal_Bool flag ) throw()
switch(what)
{
- case VISIBLE: pFrameView->SetVisibleLayers(aNewLayers);
+ case VISIBLE: pFrameView->SetVisibleLayers(aNewLayers);
break;
- case PRINTABLE: pFrameView->SetPrintableLayers(aNewLayers);
+ case PRINTABLE: pFrameView->SetPrintableLayers(aNewLayers);
break;
- case LOCKED: pFrameView->SetLockedLayers(aNewLayers);
+ case LOCKED: pFrameView->SetLockedLayers(aNewLayers);
break;
}
return;
@@ -428,7 +428,7 @@ void SdLayer::set( LayerAttribute what, sal_Bool flag ) throw()
//===== ::com::sun::star::container::XChild =================================
-uno::Reference<uno::XInterface> SAL_CALL SdLayer::getParent (void)
+uno::Reference<uno::XInterface> SAL_CALL SdLayer::getParent (void)
throw (::com::sun::star::uno::RuntimeException)
{
SolarMutexGuard aGuard;
@@ -440,8 +440,8 @@ uno::Reference<uno::XInterface> SAL_CALL SdLayer::getParent (void)
}
-void SAL_CALL SdLayer::setParent (const uno::Reference<uno::XInterface >& )
- throw (::com::sun::star::lang::NoSupportException,
+void SAL_CALL SdLayer::setParent (const uno::Reference<uno::XInterface >& )
+ throw (::com::sun::star::lang::NoSupportException,
::com::sun::star::uno::RuntimeException)
{
throw lang::NoSupportException ();
@@ -718,7 +718,7 @@ uno::Sequence< OUString > SAL_CALL SdLayerManager::getElementNames()
sal_Bool SAL_CALL SdLayerManager::hasByName( const OUString& aName ) throw(uno::RuntimeException)
{
SolarMutexGuard aGuard;
-
+
if( mpModel == 0 )
throw lang::DisposedException();
diff --git a/sd/source/ui/unoidl/unolayer.hxx b/sd/source/ui/unoidl/unolayer.hxx
index 91e99ee8738f..d7f73d02ef0f 100644
--- a/sd/source/ui/unoidl/unolayer.hxx
+++ b/sd/source/ui/unoidl/unolayer.hxx
@@ -2,7 +2,7 @@
/*************************************************************************
*
* 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
@@ -77,14 +77,14 @@ public:
// ::com::sun::star::beans::XPropertySet
virtual ::com::sun::star::uno::Reference< ::com::sun::star::beans::XPropertySetInfo > SAL_CALL getPropertySetInfo( ) throw(::com::sun::star::uno::RuntimeException);
virtual void SAL_CALL setPropertyValue( const ::rtl::OUString& aPropertyName, const ::com::sun::star::uno::Any& aValue ) throw(::com::sun::star::beans::UnknownPropertyException, ::com::sun::star::beans::PropertyVetoException, ::com::sun::star::lang::IllegalArgumentException, ::com::sun::star::lang::WrappedTargetException, ::com::sun::star::uno::RuntimeException);
- virtual ::com::sun::star::uno::Any SAL_CALL getPropertyValue( const ::rtl::OUString& PropertyName ) throw(::com::sun::star::beans::UnknownPropertyException, ::com::sun::star::lang::WrappedTargetException, ::com::sun::star::uno::RuntimeException);
+ virtual ::com::sun::star::uno::Any SAL_CALL getPropertyValue( const ::rtl::OUString& PropertyName ) throw(::com::sun::star::beans::UnknownPropertyException, ::com::sun::star::lang::WrappedTargetException, ::com::sun::star::uno::RuntimeException);
virtual void SAL_CALL addPropertyChangeListener( const ::rtl::OUString& aPropertyName, const ::com::sun::star::uno::Reference< ::com::sun::star::beans::XPropertyChangeListener >& xListener ) throw(::com::sun::star::beans::UnknownPropertyException, ::com::sun::star::lang::WrappedTargetException, ::com::sun::star::uno::RuntimeException);
- virtual void SAL_CALL removePropertyChangeListener( const ::rtl::OUString& aPropertyName, const ::com::sun::star::uno::Reference< ::com::sun::star::beans::XPropertyChangeListener >& aListener ) throw(::com::sun::star::beans::UnknownPropertyException, ::com::sun::star::lang::WrappedTargetException, ::com::sun::star::uno::RuntimeException);
+ virtual void SAL_CALL removePropertyChangeListener( const ::rtl::OUString& aPropertyName, const ::com::sun::star::uno::Reference< ::com::sun::star::beans::XPropertyChangeListener >& aListener ) throw(::com::sun::star::beans::UnknownPropertyException, ::com::sun::star::lang::WrappedTargetException, ::com::sun::star::uno::RuntimeException);
virtual void SAL_CALL addVetoableChangeListener( const ::rtl::OUString& PropertyName, const ::com::sun::star::uno::Reference< ::com::sun::star::beans::XVetoableChangeListener >& aListener ) throw(::com::sun::star::beans::UnknownPropertyException, ::com::sun::star::lang::WrappedTargetException, ::com::sun::star::uno::RuntimeException);
virtual void SAL_CALL removeVetoableChangeListener( const ::rtl::OUString& PropertyName, const ::com::sun::star::uno::Reference< ::com::sun::star::beans::XVetoableChangeListener >& aListener ) throw(::com::sun::star::beans::UnknownPropertyException, ::com::sun::star::lang::WrappedTargetException, ::com::sun::star::uno::RuntimeException);
// ::com::sun::star::container::XChild
-
+
/** Returns the layer manager that manages this layer.
*/
virtual ::com::sun::star::uno::Reference< ::com::sun::star::uno::XInterface > SAL_CALL getParent( ) throw (::com::sun::star::uno::RuntimeException);
@@ -100,11 +100,11 @@ public:
virtual void SAL_CALL setParent( const ::com::sun::star::uno::Reference< ::com::sun::star::uno::XInterface >& Parent ) throw (::com::sun::star::lang::NoSupportException, ::com::sun::star::uno::RuntimeException);
private:
- SdLayerManager* pLayerManager;
+ SdLayerManager* pLayerManager;
::com::sun::star::uno::Reference< ::com::sun::star::drawing::XLayerManager > mxLayerManager;
- SdrLayer* pLayer;
- const SvxItemPropertySet* pPropSet;
+ SdrLayer* pLayer;
+ const SvxItemPropertySet* pPropSet;
sal_Bool get( LayerAttribute what ) throw();
void set( LayerAttribute what, sal_Bool flag ) throw();
@@ -126,7 +126,7 @@ class SdLayerManager : public ::cppu::WeakImplHelper5< ::com::sun::star::drawing
{
friend class SdLayer;
-public:
+public:
SdLayerManager( SdXImpressDocument& rMyModel ) throw();
virtual ~SdLayerManager() throw();
@@ -178,10 +178,10 @@ public:
private:
SdXImpressDocument* mpModel;
- SvUnoWeakContainer* mpLayers;
+ SvUnoWeakContainer* mpLayers;
::sd::View* GetView() const throw();
- ::sd::DrawDocShell* GetDocShell() const throw() { return mpModel->mpDocShell; }
+ ::sd::DrawDocShell* GetDocShell() const throw() { return mpModel->mpDocShell; }
void UpdateLayerView( sal_Bool modify = sal_True ) const throw();
};
diff --git a/sd/source/ui/unoidl/unomodel.cxx b/sd/source/ui/unoidl/unomodel.cxx
index e0a5bc560790..d19585ca690b 100644
--- a/sd/source/ui/unoidl/unomodel.cxx
+++ b/sd/source/ui/unoidl/unomodel.cxx
@@ -2,7 +2,7 @@
/*************************************************************************
*
* 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
@@ -137,7 +137,7 @@ protected:
virtual void onChange();
private:
- SdrModel* mpModel;
+ SdrModel* mpModel;
};
SdUnoForbiddenCharsTable::SdUnoForbiddenCharsTable( SdrModel* pModel )
@@ -181,7 +181,7 @@ const sal_Int32 WID_MODEL_VISAREA = 3;
const sal_Int32 WID_MODEL_MAPUNIT = 4;
const sal_Int32 WID_MODEL_FORBCHARS= 5;
const sal_Int32 WID_MODEL_CONTFOCUS = 6;
-const sal_Int32 WID_MODEL_DSGNMODE = 7;
+const sal_Int32 WID_MODEL_DSGNMODE = 7;
const sal_Int32 WID_MODEL_BASICLIBS = 8;
const sal_Int32 WID_MODEL_RUNTIMEUID = 9;
const sal_Int32 WID_MODEL_BUILDID = 10;
@@ -193,15 +193,15 @@ const SvxItemPropertySet* ImplGetDrawModelPropertySet()
// Achtung: Der erste Parameter MUSS sortiert vorliegen !!!
const static SfxItemPropertyMapEntry aDrawModelPropertyMap_Impl[] =
{
- { MAP_CHAR_LEN("BuildId"), WID_MODEL_BUILDID, &::getCppuType(static_cast< const rtl::OUString * >(0)), 0, 0},
- { MAP_CHAR_LEN(sUNO_Prop_CharLocale), WID_MODEL_LANGUAGE, &::getCppuType((const lang::Locale*)0), 0, 0},
- { MAP_CHAR_LEN(sUNO_Prop_TabStop), WID_MODEL_TABSTOP, &::getCppuType((const sal_Int32*)0), 0, 0},
- { MAP_CHAR_LEN(sUNO_Prop_VisibleArea), WID_MODEL_VISAREA, &::getCppuType((const awt::Rectangle*)0), 0, 0},
- { MAP_CHAR_LEN(sUNO_Prop_MapUnit), WID_MODEL_MAPUNIT, &::getCppuType((const sal_Int16*)0), beans::PropertyAttribute::READONLY, 0},
- { MAP_CHAR_LEN(sUNO_Prop_ForbiddenCharacters), WID_MODEL_FORBCHARS,&::getCppuType((const uno::Reference< i18n::XForbiddenCharacters > *)0), beans::PropertyAttribute::READONLY, 0 },
- { MAP_CHAR_LEN(sUNO_Prop_AutomContFocus ), WID_MODEL_CONTFOCUS, &::getBooleanCppuType(), 0, 0},
- { MAP_CHAR_LEN(sUNO_Prop_ApplyFrmDsgnMode), WID_MODEL_DSGNMODE, &::getBooleanCppuType(), 0, 0},
- { MAP_CHAR_LEN("BasicLibraries"), WID_MODEL_BASICLIBS,&::getCppuType((const uno::Reference< script::XLibraryContainer > *)0), beans::PropertyAttribute::READONLY, 0 },
+ { MAP_CHAR_LEN("BuildId"), WID_MODEL_BUILDID, &::getCppuType(static_cast< const rtl::OUString * >(0)), 0, 0},
+ { MAP_CHAR_LEN(sUNO_Prop_CharLocale), WID_MODEL_LANGUAGE, &::getCppuType((const lang::Locale*)0), 0, 0},
+ { MAP_CHAR_LEN(sUNO_Prop_TabStop), WID_MODEL_TABSTOP, &::getCppuType((const sal_Int32*)0), 0, 0},
+ { MAP_CHAR_LEN(sUNO_Prop_VisibleArea), WID_MODEL_VISAREA, &::getCppuType((const awt::Rectangle*)0), 0, 0},
+ { MAP_CHAR_LEN(sUNO_Prop_MapUnit), WID_MODEL_MAPUNIT, &::getCppuType((const sal_Int16*)0), beans::PropertyAttribute::READONLY, 0},
+ { MAP_CHAR_LEN(sUNO_Prop_ForbiddenCharacters), WID_MODEL_FORBCHARS,&::getCppuType((const uno::Reference< i18n::XForbiddenCharacters > *)0), beans::PropertyAttribute::READONLY, 0 },
+ { MAP_CHAR_LEN(sUNO_Prop_AutomContFocus ), WID_MODEL_CONTFOCUS, &::getBooleanCppuType(), 0, 0},
+ { MAP_CHAR_LEN(sUNO_Prop_ApplyFrmDsgnMode), WID_MODEL_DSGNMODE, &::getBooleanCppuType(), 0, 0},
+ { MAP_CHAR_LEN("BasicLibraries"), WID_MODEL_BASICLIBS,&::getCppuType((const uno::Reference< script::XLibraryContainer > *)0), beans::PropertyAttribute::READONLY, 0 },
{ MAP_CHAR_LEN("DialogLibraries"), WID_MODEL_DIALOGLIBS, &::getCppuType((const uno::Reference< script::XLibraryContainer > *)0), beans::PropertyAttribute::READONLY, 0 },
{ MAP_CHAR_LEN(sUNO_Prop_RuntimeUID), WID_MODEL_RUNTIMEUID, &::getCppuType(static_cast< const rtl::OUString * >(0)), beans::PropertyAttribute::READONLY, 0 },
{ MAP_CHAR_LEN(sUNO_Prop_HasValidSignatures), WID_MODEL_HASVALIDSIGNATURES, &::getCppuType(static_cast< const sal_Bool * >(0)), beans::PropertyAttribute::READONLY, 0 },
@@ -213,7 +213,7 @@ const SvxItemPropertySet* ImplGetDrawModelPropertySet()
// this ctor is used from the DocShell
SdXImpressDocument::SdXImpressDocument (::sd::DrawDocShell* pShell, bool bClipBoard ) throw()
-: SfxBaseModel( pShell ),
+: SfxBaseModel( pShell ),
mpDocShell( pShell ),
mpDoc( pShell ? pShell->GetDoc() : NULL ),
mbDisposed(false),
@@ -232,7 +232,7 @@ SdXImpressDocument::SdXImpressDocument (::sd::DrawDocShell* pShell, bool bClipBo
}
SdXImpressDocument::SdXImpressDocument( SdDrawDocument* pDoc, bool bClipBoard ) throw()
-: SfxBaseModel( NULL ),
+: SfxBaseModel( NULL ),
mpDocShell( NULL ),
mpDoc( pDoc ),
mbDisposed(false),
@@ -399,7 +399,7 @@ uno::Sequence< uno::Type > SAL_CALL SdXImpressDocument::getTypes( ) throw(uno::
const sal_Int32 nBaseTypes = aBaseTypes.getLength();
const uno::Type* pBaseTypes = aBaseTypes.getConstArray();
- const sal_Int32 nOwnTypes = mbImpressDoc ? 14 : 11; // !DANGER! Keep this updated!
+ const sal_Int32 nOwnTypes = mbImpressDoc ? 14 : 11; // !DANGER! Keep this updated!
maTypeSequence.realloc( nBaseTypes + nOwnTypes );
uno::Type* pTypes = maTypeSequence.getArray();
@@ -614,7 +614,7 @@ void SdXImpressDocument::SetModified( sal_Bool bModified /* = sal_True */ ) thro
}
// XModel
-void SAL_CALL SdXImpressDocument ::lockControllers( )
+void SAL_CALL SdXImpressDocument ::lockControllers( )
throw(uno::RuntimeException)
{
::SolarMutexGuard aGuard;
@@ -1533,9 +1533,9 @@ uno::Sequence< beans::PropertyValue > SAL_CALL SdXImpressDocument::getRenderer(
class ImplRenderPaintProc : public ::sdr::contact::ViewObjectContactRedirector
{
- const SdrLayerAdmin& rLayerAdmin;
- SdrPageView* pSdrPageView;
- vcl::PDFExtOutDevData* pPDFExtOutDevData;
+ const SdrLayerAdmin& rLayerAdmin;
+ SdrPageView* pSdrPageView;
+ vcl::PDFExtOutDevData* pPDFExtOutDevData;
vcl::PDFWriter::StructElement ImplBegStructureTag( SdrObject& rObject );
@@ -1549,15 +1549,15 @@ public:
// all default implementations just call the same methods at the original. To do something
// different, overload the method and at least do what the method does.
virtual drawinglayer::primitive2d::Primitive2DSequence createRedirectedPrimitive2DSequence(
- const sdr::contact::ViewObjectContact& rOriginal,
+ const sdr::contact::ViewObjectContact& rOriginal,
const sdr::contact::DisplayInfo& rDisplayInfo);
};
ImplRenderPaintProc::ImplRenderPaintProc( const SdrLayerAdmin& rLA, SdrPageView* pView, vcl::PDFExtOutDevData* pData )
-: ViewObjectContactRedirector(),
- rLayerAdmin ( rLA ),
- pSdrPageView ( pView ),
- pPDFExtOutDevData ( pData )
+: ViewObjectContactRedirector(),
+ rLayerAdmin ( rLA ),
+ pSdrPageView ( pView ),
+ pPDFExtOutDevData ( pData )
{
}
@@ -1608,7 +1608,7 @@ void ImplPDFExportComments( uno::Reference< drawing::XDrawPage > xPage, vcl::PDF
geometry::RealPoint2D aRealPoint2D( xAnnotation->getPosition() );
uno::Reference< text::XText > xText( xAnnotation->getTextRange() );
-// rtl::OUString sInitials( getInitials( sAuthor ) );
+// rtl::OUString sInitials( getInitials( sAuthor ) );
util::DateTime aDateTime( xAnnotation->getDateTime() );
Date aDate( aDateTime.Day, aDateTime.Month, aDateTime.Year );
@@ -1655,13 +1655,13 @@ void ImplPDFExportShapeInteraction( uno::Reference< drawing::XShape > xShape, Sd
uno::Reference< beans::XPropertySet > xShapePropSet( xShape, uno::UNO_QUERY );
if( xShapePropSet.is() )
{
- Size aPageSize( rDoc.GetSdPage( 0, PK_STANDARD )->GetSize() );
+ Size aPageSize( rDoc.GetSdPage( 0, PK_STANDARD )->GetSize() );
Point aPoint( 0, 0 );
- Rectangle aPageRect( aPoint, aPageSize );
+ Rectangle aPageRect( aPoint, aPageSize );
- awt::Point aShapePos( xShape->getPosition() );
- awt::Size aShapeSize( xShape->getSize() );
- Rectangle aLinkRect( Point( aShapePos.X, aShapePos.Y ), Size( aShapeSize.Width, aShapeSize.Height ) );
+ awt::Point aShapePos( xShape->getPosition() );
+ awt::Size aShapeSize( xShape->getSize() );
+ Rectangle aLinkRect( Point( aShapePos.X, aShapePos.Y ), Size( aShapeSize.Width, aShapeSize.Height ) );
presentation::ClickAction eCa;
uno::Any aAny( xShapePropSet->getPropertyValue( sOnClick ) );
@@ -1758,7 +1758,7 @@ void ImplPDFExportShapeInteraction( uno::Reference< drawing::XShape > xShape, Sd
vcl::PDFWriter::StructElement ImplRenderPaintProc::ImplBegStructureTag( SdrObject& rObject )
{
vcl::PDFWriter::StructElement eElement(vcl::PDFWriter::NonStructElement);
-
+
if ( pPDFExtOutDevData && pPDFExtOutDevData->GetIsExportTaggedPDF() )
{
sal_uInt32 nInventor = rObject.GetObjInventor();
@@ -1782,7 +1782,7 @@ vcl::PDFWriter::StructElement ImplRenderPaintProc::ImplBegStructureTag( SdrObjec
}
drawinglayer::primitive2d::Primitive2DSequence ImplRenderPaintProc::createRedirectedPrimitive2DSequence(
- const sdr::contact::ViewObjectContact& rOriginal,
+ const sdr::contact::ViewObjectContact& rOriginal,
const sdr::contact::DisplayInfo& rDisplayInfo)
{
SdrObject* pObject = rOriginal.GetViewContact().TryToGetSdrObject();
@@ -1865,9 +1865,9 @@ void SAL_CALL SdXImpressDocument::render( sal_Int32 nRenderer, const uno::Any& r
if( mpDocShell && mpDoc )
{
uno::Reference< awt::XDevice > xRenderDevice;
- const sal_Int32 nPageNumber = nRenderer + 1;
- PageKind ePageKind = PK_STANDARD;
- sal_Bool bExportNotesPages = sal_False;
+ const sal_Int32 nPageNumber = nRenderer + 1;
+ PageKind ePageKind = PK_STANDARD;
+ sal_Bool bExportNotesPages = sal_False;
for( sal_Int32 nProperty = 0, nPropertyCount = rxOptions.getLength(); nProperty < nPropertyCount; ++nProperty )
{
@@ -1891,9 +1891,9 @@ void SAL_CALL SdXImpressDocument::render( sal_Int32 nRenderer, const uno::Any& r
vcl::PDFExtOutDevData* pPDFExtOutDevData = PTR_CAST( vcl::PDFExtOutDevData, pOut->GetExtOutDevData() );
::sd::ClientView* pView = new ::sd::ClientView( mpDocShell, pOut, NULL );
- Rectangle aVisArea = Rectangle( Point(), mpDoc->GetSdPage( (USHORT)nPageNumber - 1, ePageKind )->GetSize() );
- Region aRegion( aVisArea );
- Point aOrigin;
+ Rectangle aVisArea = Rectangle( Point(), mpDoc->GetSdPage( (USHORT)nPageNumber - 1, ePageKind )->GetSize() );
+ Region aRegion( aVisArea );
+ Point aOrigin;
::sd::ViewShell* pOldViewSh = mpDocShell->GetViewShell();
::sd::View* pOldSdView = pOldViewSh ? pOldViewSh->GetView() : NULL;
@@ -1930,7 +1930,7 @@ void SAL_CALL SdXImpressDocument::render( sal_Int32 nRenderer, const uno::Any& r
}
}
- ImplRenderPaintProc aImplRenderPaintProc( mpDoc->GetLayerAdmin(),
+ ImplRenderPaintProc aImplRenderPaintProc( mpDoc->GetLayerAdmin(),
pPV, pPDFExtOutDevData );
// background color for outliner :o
@@ -1954,7 +1954,7 @@ void SAL_CALL SdXImpressDocument::render( sal_Int32 nRenderer, const uno::Any& r
bScreenDisplay = false;
}
- // #i75566# Name change GetBackgroundColor -> GetPageBackgroundColor and
+ // #i75566# Name change GetBackgroundColor -> GetPageBackgroundColor and
// hint value if screen display. Only then the AutoColor mechanisms shall be applied
rOutl.SetBackgroundColor( pPage->GetPageBackgroundColor( pPV, bScreenDisplay ) );
}
@@ -1976,7 +1976,7 @@ void SAL_CALL SdXImpressDocument::render( sal_Int32 nRenderer, const uno::Any& r
// exporting object interactions to pdf
// if necessary, the master page interactions will be exported first
- sal_Bool bIsBackgroundObjectsVisible = sal_False; // SJ: #i39428# IsBackgroundObjectsVisible not available for Draw
+ sal_Bool bIsBackgroundObjectsVisible = sal_False; // SJ: #i39428# IsBackgroundObjectsVisible not available for Draw
const rtl::OUString sIsBackgroundObjectsVisible( RTL_CONSTASCII_USTRINGPARAM( "IsBackgroundObjectsVisible" ) );
if ( mbImpressDoc && ( xPagePropSet->getPropertyValue( sIsBackgroundObjectsVisible ) >>= bIsBackgroundObjectsVisible ) && bIsBackgroundObjectsVisible )
{
@@ -2011,7 +2011,7 @@ void SAL_CALL SdXImpressDocument::render( sal_Int32 nRenderer, const uno::Any& r
}
// exporting transition effects to pdf
- if ( mbImpressDoc && pPDFExtOutDevData->GetIsExportTransitionEffects() ) // SJ: #i39428# TransitionEffects not available for Draw
+ if ( mbImpressDoc && pPDFExtOutDevData->GetIsExportTransitionEffects() ) // SJ: #i39428# TransitionEffects not available for Draw
{
const rtl::OUString sEffect( RTL_CONSTASCII_USTRINGPARAM( "Effect" ) );
const rtl::OUString sSpeed ( RTL_CONSTASCII_USTRINGPARAM( "Speed" ) );
@@ -2097,9 +2097,9 @@ void SAL_CALL SdXImpressDocument::render( sal_Int32 nRenderer, const uno::Any& r
}
}
- Size aPageSize( mpDoc->GetSdPage( 0, PK_STANDARD )->GetSize() );
+ Size aPageSize( mpDoc->GetSdPage( 0, PK_STANDARD )->GetSize() );
Point aPoint( 0, 0 );
- Rectangle aPageRect( aPoint, aPageSize );
+ Rectangle aPageRect( aPoint, aPageSize );
// resolving links found in this page by the method ImpEditEngine::Paint
std::vector< vcl::PDFExtOutDevBookmarkEntry >& rBookmarks = pPDFExtOutDevData->GetBookmarks();
@@ -2132,10 +2132,10 @@ void SAL_CALL SdXImpressDocument::render( sal_Int32 nRenderer, const uno::Any& r
// Destination Export
const sal_Int32 nDestId =
pPDFExtOutDevData->CreateDest( aPageRect , nPageNumber - 1 );
-
+
// Create a new outline item:
pPDFExtOutDevData->CreateOutlineItem( -1 , aPageName, nDestId );
- }
+ }
}
//<--- i56629, i40318
}
@@ -2154,7 +2154,7 @@ void SAL_CALL SdXImpressDocument::render( sal_Int32 nRenderer, const uno::Any& r
{
SdrPageView* pPV = NULL;
- ImplRenderPaintProc aImplRenderPaintProc( mpDoc->GetLayerAdmin(),
+ ImplRenderPaintProc aImplRenderPaintProc( mpDoc->GetLayerAdmin(),
pOldSdView ? pOldSdView->GetSdrPageView() : NULL, pPDFExtOutDevData );
for( sal_uInt32 i = 0, nCount = xShapes->getCount(); i < nCount; i++ )
@@ -2331,7 +2331,7 @@ void SAL_CALL SdXImpressDocument::dispose() throw (::com::sun::star::uno::Runtim
//=============================================================================
SdDrawPagesAccess::SdDrawPagesAccess( SdXImpressDocument& rMyModel ) throw()
-: mpModel( &rMyModel)
+: mpModel( &rMyModel)
{
}
@@ -2491,7 +2491,7 @@ uno::Reference< drawing::XDrawPage > SAL_CALL SdDrawPagesAccess::insertNewByInde
/******************************************************************************
* Entfernt die angegebenne SdDrawPage aus dem Model und aus der internen *
* Liste. Dies funktioniert nur, wenn mindestens eine *normale* Seite im Model *
-* nach dem entfernen dieser Seite vorhanden ist. *
+* nach dem entfernen dieser Seite vorhanden ist. *
******************************************************************************/
void SAL_CALL SdDrawPagesAccess::remove( const uno::Reference< drawing::XDrawPage >& xPage )
throw(uno::RuntimeException)
@@ -2587,7 +2587,7 @@ void SAL_CALL SdDrawPagesAccess::removeEventListener( const uno::Reference< lang
//=============================================================================
SdMasterPagesAccess::SdMasterPagesAccess( SdXImpressDocument& rMyModel ) throw()
-: mpModel(&rMyModel)
+: mpModel(&rMyModel)
{
}
@@ -2733,7 +2733,7 @@ uno::Reference< drawing::XDrawPage > SAL_CALL SdMasterPagesAccess::insertNewByIn
pMPage->SetLayoutName( aLayoutName );
mpDoc->InsertMasterPage(pMPage, (USHORT)nInsertPos);
- {
+ {
// ensure default MasterPage fill
pMPage->EnsureMasterPageDefaultBackground();
}
@@ -2750,7 +2750,7 @@ uno::Reference< drawing::XDrawPage > SAL_CALL SdMasterPagesAccess::insertNewByIn
pRefNotesPage->GetLwrBorder() );
pMNotesPage->SetLayoutName( aLayoutName );
mpDoc->InsertMasterPage(pMNotesPage, (USHORT)nInsertPos + 1);
-// pMNotesPage->InsertMasterPage( pMPage->GetPageNum() );
+// pMNotesPage->InsertMasterPage( pMPage->GetPageNum() );
pMNotesPage->SetAutoLayout(AUTOLAYOUT_NOTES, sal_True, sal_True);
mpModel->SetModified();
}
diff --git a/sd/source/ui/unoidl/unomodule.cxx b/sd/source/ui/unoidl/unomodule.cxx
index 7f4807c6ce3a..d340fc47b226 100644
--- a/sd/source/ui/unoidl/unomodule.cxx
+++ b/sd/source/ui/unoidl/unomodule.cxx
@@ -2,7 +2,7 @@
/*************************************************************************
*
* 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
diff --git a/sd/source/ui/unoidl/unomodule.hxx b/sd/source/ui/unoidl/unomodule.hxx
index 860501f07382..5af44440d481 100644
--- a/sd/source/ui/unoidl/unomodule.hxx
+++ b/sd/source/ui/unoidl/unomodule.hxx
@@ -2,7 +2,7 @@
/*************************************************************************
*
* 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
@@ -57,16 +57,16 @@ namespace com
}
}
-#define REFERENCE ::com::sun::star::uno::Reference
-#define SEQUENCE ::com::sun::star::uno::Sequence
-#define RUNTIMEEXCEPTION ::com::sun::star::uno::RuntimeException
-#define REFERENCE ::com::sun::star::uno::Reference
-#define SEQUENCE ::com::sun::star::uno::Sequence
+#define REFERENCE ::com::sun::star::uno::Reference
+#define SEQUENCE ::com::sun::star::uno::Sequence
+#define RUNTIMEEXCEPTION ::com::sun::star::uno::RuntimeException
+#define REFERENCE ::com::sun::star::uno::Reference
+#define SEQUENCE ::com::sun::star::uno::Sequence
#define XDISPATCH ::com::sun::star::frame::XDispatch
#define XNOTIFYINGDISPATCH ::com::sun::star::frame::XNotifyingDispatch
-#define OUSTRING ::rtl::OUString
-#define UNOURL ::com::sun::star::util::URL
-#define DISPATCHDESCRIPTOR ::com::sun::star::frame::DispatchDescriptor
+#define OUSTRING ::rtl::OUString
+#define UNOURL ::com::sun::star::util::URL
+#define DISPATCHDESCRIPTOR ::com::sun::star::frame::DispatchDescriptor
class SdUnoModule : public ::cppu::WeakImplHelper3< ::com::sun::star::frame::XDispatchProvider, ::com::sun::star::frame::XNotifyingDispatch, ::com::sun::star::lang::XServiceInfo >
{
@@ -87,9 +87,9 @@ public:
// XDispatchProvider
virtual SEQUENCE< REFERENCE< XDISPATCH > > SAL_CALL queryDispatches( const SEQUENCE< DISPATCHDESCRIPTOR >& seqDescriptor ) throw( RUNTIMEEXCEPTION ) ;
- virtual REFERENCE< XDISPATCH > SAL_CALL queryDispatch( const UNOURL & aURL ,
- const OUSTRING & sTargetFrameName,
- sal_Int32 eSearchFlags ) throw( RUNTIMEEXCEPTION ) ;
+ virtual REFERENCE< XDISPATCH > SAL_CALL queryDispatch( const UNOURL & aURL ,
+ const OUSTRING & sTargetFrameName,
+ sal_Int32 eSearchFlags ) throw( RUNTIMEEXCEPTION ) ;
// XServiceInfo
virtual ::rtl::OUString SAL_CALL getImplementationName( ) throw(::com::sun::star::uno::RuntimeException);
virtual sal_Bool SAL_CALL supportsService( const ::rtl::OUString& ServiceName ) throw(::com::sun::star::uno::RuntimeException);
diff --git a/sd/source/ui/unoidl/unoobj.cxx b/sd/source/ui/unoidl/unoobj.cxx
index 93974410a197..e6663298228c 100644
--- a/sd/source/ui/unoidl/unoobj.cxx
+++ b/sd/source/ui/unoidl/unoobj.cxx
@@ -2,7 +2,7 @@
/*************************************************************************
*
* 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
@@ -117,66 +117,66 @@ static SdTypesCache gImplTypesCache;
///////////////////////////////////////////////////////////////////////
-#define WID_EFFECT 1
-#define WID_SPEED 2
-#define WID_TEXTEFFECT 3
-#define WID_BOOKMARK 4
-#define WID_CLICKACTION 5
-#define WID_PLAYFULL 6
-#define WID_SOUNDFILE 7
-#define WID_SOUNDON 8
-#define WID_BLUESCREEN 9
-#define WID_VERB 10
-#define WID_DIMCOLOR 11
-#define WID_DIMHIDE 12
-#define WID_DIMPREV 13
-#define WID_PRESORDER 14
-#define WID_STYLE 15
-#define WID_ANIMPATH 16
-#define WID_IMAGEMAP 17
-#define WID_ISANIMATION 18
-
-#define WID_ISEMPTYPRESOBJ 20
-#define WID_ISPRESOBJ 21
-#define WID_MASTERDEPEND 22
-
-#define WID_NAVORDER 23
+#define WID_EFFECT 1
+#define WID_SPEED 2
+#define WID_TEXTEFFECT 3
+#define WID_BOOKMARK 4
+#define WID_CLICKACTION 5
+#define WID_PLAYFULL 6
+#define WID_SOUNDFILE 7
+#define WID_SOUNDON 8
+#define WID_BLUESCREEN 9
+#define WID_VERB 10
+#define WID_DIMCOLOR 11
+#define WID_DIMHIDE 12
+#define WID_DIMPREV 13
+#define WID_PRESORDER 14
+#define WID_STYLE 15
+#define WID_ANIMPATH 16
+#define WID_IMAGEMAP 17
+#define WID_ISANIMATION 18
+
+#define WID_ISEMPTYPRESOBJ 20
+#define WID_ISPRESOBJ 21
+#define WID_MASTERDEPEND 22
+
+#define WID_NAVORDER 23
#define WID_THAT_NEED_ANIMINFO 19
#define IMPRESS_MAP_ENTRIES \
- { MAP_CHAR_LEN(UNO_NAME_OBJ_ANIMATIONPATH), WID_ANIMPATH, &ITYPE(drawing::XShape), 0, 0},\
- { MAP_CHAR_LEN(UNO_NAME_OBJ_BOOKMARK), WID_BOOKMARK, &::getCppuType((const OUString*)0), 0, 0},\
- { MAP_CHAR_LEN(UNO_NAME_OBJ_DIMCOLOR), WID_DIMCOLOR, &::getCppuType((const sal_Int32*)0), 0, 0},\
- { MAP_CHAR_LEN(UNO_NAME_OBJ_DIMHIDE), WID_DIMHIDE, &::getBooleanCppuType(), 0, 0},\
- { MAP_CHAR_LEN(UNO_NAME_OBJ_DIMPREV), WID_DIMPREV, &::getBooleanCppuType(), 0, 0},\
- { MAP_CHAR_LEN(UNO_NAME_OBJ_EFFECT), WID_EFFECT, &::getCppuType((const presentation::AnimationEffect*)0), 0, 0},\
- { MAP_CHAR_LEN(UNO_NAME_OBJ_ISEMPTYPRESOBJ),WID_ISEMPTYPRESOBJ, &::getBooleanCppuType(), 0, 0},\
- { MAP_CHAR_LEN(UNO_NAME_OBJ_ISPRESOBJ), WID_ISPRESOBJ, &::getBooleanCppuType(), ::com::sun::star::beans::PropertyAttribute::READONLY, 0},\
- { MAP_CHAR_LEN(UNO_NAME_OBJ_MASTERDEPENDENT),WID_MASTERDEPEND, &::getBooleanCppuType(), 0, 0},\
- { MAP_CHAR_LEN(UNO_NAME_OBJ_CLICKACTION), WID_CLICKACTION, &::getCppuType((const presentation::ClickAction*)0), 0, 0},\
- { MAP_CHAR_LEN(UNO_NAME_OBJ_PLAYFULL), WID_PLAYFULL, &::getBooleanCppuType(), 0, 0},\
- { MAP_CHAR_LEN(UNO_NAME_OBJ_PRESORDER), WID_PRESORDER, &::getCppuType((const sal_Int32*)0), 0, 0},\
- { MAP_CHAR_LEN(UNO_NAME_OBJ_STYLE), WID_STYLE, &ITYPE( style::XStyle), ::com::sun::star::beans::PropertyAttribute::MAYBEVOID, 0},\
- { MAP_CHAR_LEN(UNO_NAME_OBJ_SOUNDFILE), WID_SOUNDFILE, &::getCppuType((const OUString*)0), 0, 0},\
- { MAP_CHAR_LEN(UNO_NAME_OBJ_SOUNDON), WID_SOUNDON, &::getBooleanCppuType(), 0, 0},\
- { MAP_CHAR_LEN(UNO_NAME_OBJ_SPEED), WID_SPEED, &::getCppuType((const presentation::AnimationSpeed*)0), 0, 0},\
- { MAP_CHAR_LEN(UNO_NAME_OBJ_TEXTEFFECT), WID_TEXTEFFECT, &::getCppuType((const presentation::AnimationEffect*)0), 0, 0},\
- { MAP_CHAR_LEN(UNO_NAME_OBJ_BLUESCREEN), WID_BLUESCREEN, &::getCppuType((const sal_Int32*)0), 0, 0},\
- { MAP_CHAR_LEN(UNO_NAME_OBJ_VERB), WID_VERB, &::getCppuType((const sal_Int32*)0), 0, 0},\
- { MAP_CHAR_LEN("IsAnimation"), WID_ISANIMATION, &::getBooleanCppuType(), 0, 0},\
- { MAP_CHAR_LEN("NavigationOrder"), WID_NAVORDER, &::getCppuType((const sal_Int32*)0), 0, 0},\
+ { MAP_CHAR_LEN(UNO_NAME_OBJ_ANIMATIONPATH), WID_ANIMPATH, &ITYPE(drawing::XShape), 0, 0},\
+ { MAP_CHAR_LEN(UNO_NAME_OBJ_BOOKMARK), WID_BOOKMARK, &::getCppuType((const OUString*)0), 0, 0},\
+ { MAP_CHAR_LEN(UNO_NAME_OBJ_DIMCOLOR), WID_DIMCOLOR, &::getCppuType((const sal_Int32*)0), 0, 0},\
+ { MAP_CHAR_LEN(UNO_NAME_OBJ_DIMHIDE), WID_DIMHIDE, &::getBooleanCppuType(), 0, 0},\
+ { MAP_CHAR_LEN(UNO_NAME_OBJ_DIMPREV), WID_DIMPREV, &::getBooleanCppuType(), 0, 0},\
+ { MAP_CHAR_LEN(UNO_NAME_OBJ_EFFECT), WID_EFFECT, &::getCppuType((const presentation::AnimationEffect*)0), 0, 0},\
+ { MAP_CHAR_LEN(UNO_NAME_OBJ_ISEMPTYPRESOBJ),WID_ISEMPTYPRESOBJ, &::getBooleanCppuType(), 0, 0},\
+ { MAP_CHAR_LEN(UNO_NAME_OBJ_ISPRESOBJ), WID_ISPRESOBJ, &::getBooleanCppuType(), ::com::sun::star::beans::PropertyAttribute::READONLY, 0},\
+ { MAP_CHAR_LEN(UNO_NAME_OBJ_MASTERDEPENDENT),WID_MASTERDEPEND, &::getBooleanCppuType(), 0, 0},\
+ { MAP_CHAR_LEN(UNO_NAME_OBJ_CLICKACTION), WID_CLICKACTION, &::getCppuType((const presentation::ClickAction*)0), 0, 0},\
+ { MAP_CHAR_LEN(UNO_NAME_OBJ_PLAYFULL), WID_PLAYFULL, &::getBooleanCppuType(), 0, 0},\
+ { MAP_CHAR_LEN(UNO_NAME_OBJ_PRESORDER), WID_PRESORDER, &::getCppuType((const sal_Int32*)0), 0, 0},\
+ { MAP_CHAR_LEN(UNO_NAME_OBJ_STYLE), WID_STYLE, &ITYPE( style::XStyle), ::com::sun::star::beans::PropertyAttribute::MAYBEVOID, 0},\
+ { MAP_CHAR_LEN(UNO_NAME_OBJ_SOUNDFILE), WID_SOUNDFILE, &::getCppuType((const OUString*)0), 0, 0},\
+ { MAP_CHAR_LEN(UNO_NAME_OBJ_SOUNDON), WID_SOUNDON, &::getBooleanCppuType(), 0, 0},\
+ { MAP_CHAR_LEN(UNO_NAME_OBJ_SPEED), WID_SPEED, &::getCppuType((const presentation::AnimationSpeed*)0), 0, 0},\
+ { MAP_CHAR_LEN(UNO_NAME_OBJ_TEXTEFFECT), WID_TEXTEFFECT, &::getCppuType((const presentation::AnimationEffect*)0), 0, 0},\
+ { MAP_CHAR_LEN(UNO_NAME_OBJ_BLUESCREEN), WID_BLUESCREEN, &::getCppuType((const sal_Int32*)0), 0, 0},\
+ { MAP_CHAR_LEN(UNO_NAME_OBJ_VERB), WID_VERB, &::getCppuType((const sal_Int32*)0), 0, 0},\
+ { MAP_CHAR_LEN("IsAnimation"), WID_ISANIMATION, &::getBooleanCppuType(), 0, 0},\
+ { MAP_CHAR_LEN("NavigationOrder"), WID_NAVORDER, &::getCppuType((const sal_Int32*)0), 0, 0},\
{ 0,0,0,0,0,0}
const SfxItemPropertyMapEntry* lcl_GetImpress_SdXShapePropertyGraphicMap_Impl()
{
-
+
static const SfxItemPropertyMapEntry aImpress_SdXShapePropertyGraphicMap_Impl[] =
{
- { MAP_CHAR_LEN("ImageMap"), WID_IMAGEMAP, &::getCppuType((const uno::Reference< container::XIndexContainer >*)0), 0, 0 },
+ { MAP_CHAR_LEN("ImageMap"), WID_IMAGEMAP, &::getCppuType((const uno::Reference< container::XIndexContainer >*)0), 0, 0 },
IMPRESS_MAP_ENTRIES
};
return aImpress_SdXShapePropertyGraphicMap_Impl;
@@ -184,7 +184,7 @@ static SdTypesCache gImplTypesCache;
const SfxItemPropertyMapEntry* lcl_GetImpress_SdXShapePropertySimpleMap_Impl()
{
-
+
static const SfxItemPropertyMapEntry aImpress_SdXShapePropertySimpleMap_Impl[] =
{
IMPRESS_MAP_ENTRIES
@@ -193,10 +193,10 @@ static SdTypesCache gImplTypesCache;
}
#define DRAW_MAP_ENTRIES\
- { MAP_CHAR_LEN(UNO_NAME_OBJ_BOOKMARK), WID_BOOKMARK, &::getCppuType((const OUString*)0), 0, 0},\
- { MAP_CHAR_LEN(UNO_NAME_OBJ_CLICKACTION), WID_CLICKACTION, &::getCppuType((const presentation::ClickAction*)0),0, 0},\
- { MAP_CHAR_LEN(UNO_NAME_OBJ_STYLE), WID_STYLE, &ITYPE(style::XStyle), ::com::sun::star::beans::PropertyAttribute::MAYBEVOID, 0},\
- { MAP_CHAR_LEN("NavigationOrder"), WID_NAVORDER, &::getCppuType((const sal_Int32*)0), 0, 0},\
+ { MAP_CHAR_LEN(UNO_NAME_OBJ_BOOKMARK), WID_BOOKMARK, &::getCppuType((const OUString*)0), 0, 0},\
+ { MAP_CHAR_LEN(UNO_NAME_OBJ_CLICKACTION), WID_CLICKACTION, &::getCppuType((const presentation::ClickAction*)0),0, 0},\
+ { MAP_CHAR_LEN(UNO_NAME_OBJ_STYLE), WID_STYLE, &ITYPE(style::XStyle), ::com::sun::star::beans::PropertyAttribute::MAYBEVOID, 0},\
+ { MAP_CHAR_LEN("NavigationOrder"), WID_NAVORDER, &::getCppuType((const sal_Int32*)0), 0, 0},\
{ 0,0,0,0,0,0}
const SfxItemPropertyMapEntry* lcl_GetDraw_SdXShapePropertySimpleMap_Impl()
@@ -211,7 +211,7 @@ static SdTypesCache gImplTypesCache;
{
static const SfxItemPropertyMapEntry aDraw_SdXShapePropertyGraphicMap_Impl[] =
{
- { MAP_CHAR_LEN("ImageMap"), WID_IMAGEMAP, &::getCppuType((const uno::Reference< container::XIndexContainer >*)0), 0, 0 },
+ { MAP_CHAR_LEN("ImageMap"), WID_IMAGEMAP, &::getCppuType((const uno::Reference< container::XIndexContainer >*)0), 0, 0 },
DRAW_MAP_ENTRIES
};
return aDraw_SdXShapePropertyGraphicMap_Impl;
@@ -234,7 +234,7 @@ static SdTypesCache gImplTypesCache;
pRet = lcl_GetDraw_SdXShapePropertySimpleMap_Impl();
}
return pRet;
-
+
}
const SvxItemPropertySet* lcl_ImplGetShapePropertySet( sal_Bool bImpress, sal_Bool bGraphicObj )
{
@@ -249,7 +249,7 @@ static SdTypesCache gImplTypesCache;
else
{
static SvxItemPropertySet aImpress_SdXShapePropertySet_Impl(lcl_GetImpress_SdXShapePropertySimpleMap_Impl(), SdrObject::GetGlobalDrawObjectItemPool());
- pRet = &aImpress_SdXShapePropertySet_Impl;
+ pRet = &aImpress_SdXShapePropertySet_Impl;
}
}
else
@@ -257,7 +257,7 @@ static SdTypesCache gImplTypesCache;
if( bGraphicObj )
{
static SvxItemPropertySet aDraw_SdXShapePropertyGraphicSet_Impl(lcl_GetDraw_SdXShapePropertyGraphicMap_Impl(), SdrObject::GetGlobalDrawObjectItemPool());
- pRet = &aDraw_SdXShapePropertyGraphicSet_Impl;
+ pRet = &aDraw_SdXShapePropertyGraphicSet_Impl;
}
else
{
@@ -275,7 +275,7 @@ static SdTypesCache gImplTypesCache;
};
return aEmpty_SdXShapePropertyMap_Impl;
}
-
+
static const SvxItemPropertySet* lcl_GetEmpty_SdXShapePropertySet_Impl()
{
static SvxItemPropertySet aEmptyPropSet( lcl_GetEmpty_SdXShapePropertyMap_Impl(), SdrObject::GetGlobalDrawObjectItemPool() );
@@ -300,28 +300,28 @@ const SvEventDescription* ImplGetSupportedMacroItems()
\************************************************************************/
struct SortStruct
{
- SdrObject* pObj;
- sal_uInt32 nOrder;
+ SdrObject* pObj;
+ sal_uInt32 nOrder;
};
-typedef SortStruct SORT;
-typedef SORT* PSORT;
+typedef SortStruct SORT;
+typedef SORT* PSORT;
extern "C" int __LOADONCALLAPI SortFunc( const void* p1, const void* p2 );
SdXShape::SdXShape( SvxShape* pShape, SdXImpressDocument* pModel) throw()
-: mpShape( pShape ),
+: mpShape( pShape ),
mpPropSet( pModel?
lcl_ImplGetShapePropertySet(pModel->IsImpressDocument(), pShape->getShapeKind() == OBJ_GRAF )
- : lcl_GetEmpty_SdXShapePropertySet_Impl() ),
+ : lcl_GetEmpty_SdXShapePropertySet_Impl() ),
mpMap( pModel?
lcl_ImplGetShapePropertyMap(pModel->IsImpressDocument(), pShape->getShapeKind() == OBJ_GRAF )
- : lcl_GetEmpty_SdXShapePropertyMap_Impl() ),
+ : lcl_GetEmpty_SdXShapePropertyMap_Impl() ),
mpModel(pModel),
mpImplementationId( NULL )
-
+
{
-
+
pShape->setMaster( this );
}
@@ -467,7 +467,7 @@ uno::Any SAL_CALL SdXShape::getPropertyDefault( const OUString& aPropertyName )
sal_uIntPtr nObjId = (sal_uIntPtr)mpShape->getPropertyMapEntries();
SfxExtItemPropertySetInfo* pInfo = NULL;
- SdExtPropertySetInfoCache* pCache = (mpModel && mpModel->IsImpressDocument()) ?
+ SdExtPropertySetInfoCache* pCache = (mpModel && mpModel->IsImpressDocument()) ?
&gImplImpressPropertySetInfoCache : &gImplDrawPropertySetInfoCache;
SdExtPropertySetInfoCache::iterator aIter( pCache->find( nObjId ) );
@@ -519,7 +519,7 @@ void SAL_CALL SdXShape::setPropertyValue( const ::rtl::OUString& aPropertyName,
case WID_EFFECT:
{
- AnimationEffect eEffect;
+ AnimationEffect eEffect;
if(!(aValue >>= eEffect))
throw lang::IllegalArgumentException();
@@ -528,7 +528,7 @@ void SAL_CALL SdXShape::setPropertyValue( const ::rtl::OUString& aPropertyName,
}
case WID_TEXTEFFECT:
{
- AnimationEffect eEffect;
+ AnimationEffect eEffect;
if(!(aValue >>= eEffect))
throw lang::IllegalArgumentException();
@@ -544,7 +544,7 @@ void SAL_CALL SdXShape::setPropertyValue( const ::rtl::OUString& aPropertyName,
EffectMigration::SetAnimationSpeed( mpShape, eSpeed );
break;
}
-/* TODO?? case WID_ISANIMATION:
+/* TODO?? case WID_ISANIMATION:
{
sal_Bool bIsAnimation;
@@ -614,7 +614,7 @@ void SAL_CALL SdXShape::setPropertyValue( const ::rtl::OUString& aPropertyName,
{
sal_Int32 nColor = 0;
- if( !(aValue >>= nColor) )
+ if( !(aValue >>= nColor) )
throw lang::IllegalArgumentException();
EffectMigration::SetDimColor( mpShape, nColor );
@@ -959,7 +959,7 @@ sal_Bool SdXShape::IsEmptyPresObj() const throw()
else
{
return sal_True;
- }
+ }
}
return sal_False;
@@ -1118,23 +1118,23 @@ uno::Any SdXShape::GetStyleSheet() const throw( beans::UnknownPropertyException
class SdUnoEventsAccess : public cppu::WeakImplHelper2< com::sun::star::container::XNameReplace, com::sun::star::lang::XServiceInfo >
{
private:
- const OUString maStrOnClick;
- const OUString maStrServiceName;
- const OUString maStrEventType;
- const OUString maStrPresentation;
- const OUString maStrLibrary;
- const OUString maStrMacroName;
- const OUString maStrClickAction;
- const OUString maStrBookmark;
- const OUString maStrEffect;
- const OUString maStrPlayFull;
- const OUString maStrVerb;
- const OUString maStrSoundURL;
- const OUString maStrSpeed;
- const OUString maStrStarBasic;
- const OUString maStrScript;
-
- SdXShape* mpShape;
+ const OUString maStrOnClick;
+ const OUString maStrServiceName;
+ const OUString maStrEventType;
+ const OUString maStrPresentation;
+ const OUString maStrLibrary;
+ const OUString maStrMacroName;
+ const OUString maStrClickAction;
+ const OUString maStrBookmark;
+ const OUString maStrEffect;
+ const OUString maStrPlayFull;
+ const OUString maStrVerb;
+ const OUString maStrSoundURL;
+ const OUString maStrSpeed;
+ const OUString maStrStarBasic;
+ const OUString maStrScript;
+
+ SdXShape* mpShape;
uno::Reference< document::XEventsSupplier > mxShape;
public:
@@ -1142,7 +1142,7 @@ public:
// XNameReplace
virtual void SAL_CALL replaceByName( const ::rtl::OUString& aName, const ::com::sun::star::uno::Any& aElement ) throw(::com::sun::star::lang::IllegalArgumentException, ::com::sun::star::container::NoSuchElementException, ::com::sun::star::lang::WrappedTargetException, ::com::sun::star::uno::RuntimeException);
-
+
// XNameAccess
virtual ::com::sun::star::uno::Any SAL_CALL getByName( const ::rtl::OUString& aName ) throw(::com::sun::star::container::NoSuchElementException, ::com::sun::star::lang::WrappedTargetException, ::com::sun::star::uno::RuntimeException);
virtual ::com::sun::star::uno::Sequence< ::rtl::OUString > SAL_CALL getElementNames( ) throw(::com::sun::star::uno::RuntimeException);
@@ -1184,16 +1184,16 @@ SdUnoEventsAccess::SdUnoEventsAccess( SdXShape* pShape ) throw()
{
}
-#define FOUND_CLICKACTION 0x0001
-#define FOUND_BOOKMARK 0x0002
-#define FOUND_EFFECT 0x0004
-#define FOUND_PLAYFULL 0x0008
-#define FOUND_VERB 0x0010
-#define FOUND_SOUNDURL 0x0020
-#define FOUND_SPEED 0x0040
-#define FOUND_EVENTTYPE 0x0080
-#define FOUND_MACRO 0x0100
-#define FOUND_LIBRARY 0x0200
+#define FOUND_CLICKACTION 0x0001
+#define FOUND_BOOKMARK 0x0002
+#define FOUND_EFFECT 0x0004
+#define FOUND_PLAYFULL 0x0008
+#define FOUND_VERB 0x0010
+#define FOUND_SOUNDURL 0x0020
+#define FOUND_SPEED 0x0040
+#define FOUND_EVENTTYPE 0x0080
+#define FOUND_MACRO 0x0100
+#define FOUND_LIBRARY 0x0200
static void clearEventsInAnimationInfo( SdAnimationInfo* pInfo )
{
@@ -1468,7 +1468,7 @@ void SAL_CALL SdUnoEventsAccess::replaceByName( const OUString& aName, const uno
{
sBuffer.append( aStrLibrary );
}
-
+
pInfo->SetBookmark( sBuffer.makeStringAndClear() );
}
bOk = sal_True;
@@ -1657,7 +1657,7 @@ uno::Any SAL_CALL SdUnoEventsAccess::getByName( const OUString& aName )
pProperties->Value = aAny;
pProperties->State = beans::PropertyState_DIRECT_VALUE;
pProperties++;
-
+
// NOTE: no break here!!!
case presentation::ClickAction_SOUND:
diff --git a/sd/source/ui/unoidl/unoobj.hxx b/sd/source/ui/unoidl/unoobj.hxx
index f18577c4549f..c32da8d1a455 100644
--- a/sd/source/ui/unoidl/unoobj.hxx
+++ b/sd/source/ui/unoidl/unoobj.hxx
@@ -2,7 +2,7 @@
/*************************************************************************
*
* 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
@@ -53,7 +53,7 @@ class SdXShape : public SvxShapeMaster,
private:
SvxShape* mpShape;
- const SvxItemPropertySet* mpPropSet;
+ const SvxItemPropertySet* mpPropSet;
const SfxItemPropertyMapEntry* mpMap;
SdXImpressDocument* mpModel;
@@ -97,7 +97,7 @@ public:
//XPropertySet
virtual ::com::sun::star::uno::Reference< ::com::sun::star::beans::XPropertySetInfo > SAL_CALL getPropertySetInfo( ) throw(::com::sun::star::uno::RuntimeException);
virtual void SAL_CALL setPropertyValue( const ::rtl::OUString& aPropertyName, const ::com::sun::star::uno::Any& aValue ) throw(::com::sun::star::beans::UnknownPropertyException, ::com::sun::star::beans::PropertyVetoException, ::com::sun::star::lang::IllegalArgumentException, ::com::sun::star::lang::WrappedTargetException, ::com::sun::star::uno::RuntimeException);
- virtual ::com::sun::star::uno::Any SAL_CALL getPropertyValue( const ::rtl::OUString& PropertyName ) throw(::com::sun::star::beans::UnknownPropertyException, ::com::sun::star::lang::WrappedTargetException, ::com::sun::star::uno::RuntimeException);
+ virtual ::com::sun::star::uno::Any SAL_CALL getPropertyValue( const ::rtl::OUString& PropertyName ) throw(::com::sun::star::beans::UnknownPropertyException, ::com::sun::star::lang::WrappedTargetException, ::com::sun::star::uno::RuntimeException);
//XPropertyState
virtual ::com::sun::star::beans::PropertyState SAL_CALL getPropertyState( const ::rtl::OUString& PropertyName ) throw(::com::sun::star::beans::UnknownPropertyException, ::com::sun::star::uno::RuntimeException);
diff --git a/sd/source/ui/unoidl/unopage.cxx b/sd/source/ui/unoidl/unopage.cxx
index 7a2f577b153b..e0232bbc7264 100644
--- a/sd/source/ui/unoidl/unopage.cxx
+++ b/sd/source/ui/unoidl/unopage.cxx
@@ -2,7 +2,7 @@
/*************************************************************************
*
* 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
@@ -112,7 +112,7 @@ enum WID_PAGE
WID_PAGE_BACK, WID_PAGE_PREVIEW, WID_PAGE_PREVIEWBITMAP, WID_PAGE_VISIBLE, WID_PAGE_SOUNDFILE, WID_PAGE_BACKFULL,
WID_PAGE_BACKVIS, WID_PAGE_BACKOBJVIS, WID_PAGE_USERATTRIBS, WID_PAGE_BOOKMARK, WID_PAGE_ISDARK,
WID_PAGE_HEADERVISIBLE, WID_PAGE_HEADERTEXT, WID_PAGE_FOOTERVISIBLE, WID_PAGE_FOOTERTEXT,
- WID_PAGE_PAGENUMBERVISIBLE, WID_PAGE_DATETIMEVISIBLE, WID_PAGE_DATETIMEFIXED,
+ WID_PAGE_PAGENUMBERVISIBLE, WID_PAGE_DATETIMEVISIBLE, WID_PAGE_DATETIMEFIXED,
WID_PAGE_DATETIMETEXT, WID_PAGE_DATETIMEFORMAT, WID_TRANSITION_TYPE, WID_TRANSITION_SUBTYPE,
WID_TRANSITION_DIRECTION, WID_TRANSITION_FADE_COLOR, WID_TRANSITION_DURATION, WID_LOOP_SOUND,
WID_NAVORDER
@@ -133,137 +133,137 @@ const SvxItemPropertySet* ImplGetDrawPagePropertySet( sal_Bool bImpress, PageKin
{
static const SfxItemPropertyMapEntry aDrawPagePropertyMap_Impl[] =
{
- { MAP_CHAR_LEN(UNO_NAME_PAGE_BACKGROUND), WID_PAGE_BACK, &ITYPE( beans::XPropertySet ), beans::PropertyAttribute::MAYBEVOID,0},
- { MAP_CHAR_LEN(UNO_NAME_PAGE_BOTTOM), WID_PAGE_BOTTOM, &::getCppuType((const sal_Int32*)0), 0, 0},
- { MAP_CHAR_LEN(UNO_NAME_PAGE_LEFT), WID_PAGE_LEFT, &::getCppuType((const sal_Int32*)0), 0, 0},
- { MAP_CHAR_LEN(UNO_NAME_PAGE_RIGHT), WID_PAGE_RIGHT, &::getCppuType((const sal_Int32*)0), 0, 0},
- { MAP_CHAR_LEN(UNO_NAME_PAGE_TOP), WID_PAGE_TOP, &::getCppuType((const sal_Int32*)0), 0, 0},
- { MAP_CHAR_LEN(UNO_NAME_PAGE_CHANGE), WID_PAGE_CHANGE, &::getCppuType((const sal_Int32*)0), 0, 0},
- { MAP_CHAR_LEN(UNO_NAME_PAGE_DURATION), WID_PAGE_DURATION, &::getCppuType((const sal_Int32*)0), 0, 0},
- { MAP_CHAR_LEN(UNO_NAME_PAGE_EFFECT), WID_PAGE_EFFECT, &::getCppuType((const presentation::FadeEffect*)0), 0, 0},
- { MAP_CHAR_LEN(UNO_NAME_PAGE_HEIGHT), WID_PAGE_HEIGHT, &::getCppuType((const sal_Int32*)0), 0, 0},
- { MAP_CHAR_LEN(UNO_NAME_PAGE_LAYOUT), WID_PAGE_LAYOUT, &::getCppuType((const sal_Int16*)0), 0, 0},
- { MAP_CHAR_LEN(UNO_NAME_LINKDISPLAYBITMAP), WID_PAGE_LDBITMAP, &ITYPE( awt::XBitmap), beans::PropertyAttribute::READONLY, 0},
- { MAP_CHAR_LEN(UNO_NAME_LINKDISPLAYNAME), WID_PAGE_LDNAME, &::getCppuType((const OUString*)0), beans::PropertyAttribute::READONLY, 0},
- { MAP_CHAR_LEN(UNO_NAME_PAGE_NUMBER), WID_PAGE_NUMBER, &::getCppuType((const sal_Int16*)0), beans::PropertyAttribute::READONLY, 0},
- { MAP_CHAR_LEN(UNO_NAME_PAGE_ORIENTATION), WID_PAGE_ORIENT, &::getCppuType((const view::PaperOrientation*)0),0, 0},
- { MAP_CHAR_LEN(UNO_NAME_PAGE_SPEED), WID_PAGE_SPEED, &::getCppuType((const presentation::AnimationSpeed*)0), 0, 0},
- { MAP_CHAR_LEN(UNO_NAME_PAGE_WIDTH), WID_PAGE_WIDTH, &::getCppuType((const sal_Int32*)0), 0, 0},
- { MAP_CHAR_LEN(UNO_NAME_PAGE_PREVIEW), WID_PAGE_PREVIEW, SEQTYPE(::getCppuType((::com::sun::star::uno::Sequence<sal_Int8>*)0)), ::com::sun::star::beans::PropertyAttribute::READONLY, 0},
- { MAP_CHAR_LEN(UNO_NAME_PAGE_PREVIEWBITMAP), WID_PAGE_PREVIEWBITMAP, SEQTYPE(::getCppuType((::com::sun::star::uno::Sequence<sal_Int8>*)0)), ::com::sun::star::beans::PropertyAttribute::READONLY, 0},
- { MAP_CHAR_LEN(UNO_NAME_PAGE_VISIBLE), WID_PAGE_VISIBLE, &::getBooleanCppuType(), 0, 0},
- { MAP_CHAR_LEN(UNO_NAME_OBJ_SOUNDFILE), WID_PAGE_SOUNDFILE, &::getCppuType((const Any*)0), 0, 0},
- { MAP_CHAR_LEN(sUNO_Prop_IsBackgroundVisible), WID_PAGE_BACKVIS, &::getBooleanCppuType(), 0, 0},
- { MAP_CHAR_LEN(sUNO_Prop_IsBackgroundObjectsVisible), WID_PAGE_BACKOBJVIS, &::getBooleanCppuType(), 0, 0},
- { MAP_CHAR_LEN(sUNO_Prop_UserDefinedAttributes),WID_PAGE_USERATTRIBS, &::getCppuType((const Reference< ::com::sun::star::container::XNameContainer >*)0) , 0, 0},
- { MAP_CHAR_LEN(sUNO_Prop_BookmarkURL), WID_PAGE_BOOKMARK, &::getCppuType((const OUString*)0), 0, 0},
- { MAP_CHAR_LEN("IsBackgroundDark" ), WID_PAGE_ISDARK, &::getBooleanCppuType(), beans::PropertyAttribute::READONLY, 0},
- { MAP_CHAR_LEN("IsFooterVisible"), WID_PAGE_FOOTERVISIBLE, &::getBooleanCppuType(), 0, 0},
- { MAP_CHAR_LEN("FooterText"), WID_PAGE_FOOTERTEXT, &::getCppuType((const OUString*)0), 0, 0},
- { MAP_CHAR_LEN("IsPageNumberVisible"), WID_PAGE_PAGENUMBERVISIBLE, &::getBooleanCppuType(), 0, 0},
- { MAP_CHAR_LEN("IsDateTimeVisible"), WID_PAGE_DATETIMEVISIBLE, &::getBooleanCppuType(), 0, 0},
- { MAP_CHAR_LEN("IsDateTimeFixed"), WID_PAGE_DATETIMEFIXED, &::getBooleanCppuType(), 0, 0},
- { MAP_CHAR_LEN("DateTimeText"), WID_PAGE_DATETIMETEXT, &::getCppuType((const OUString*)0), 0, 0},
- { MAP_CHAR_LEN("DateTimeFormat"), WID_PAGE_DATETIMEFORMAT, &::getCppuType((const sal_Int32*)0), 0, 0},
- { MAP_CHAR_LEN("TransitionType"), WID_TRANSITION_TYPE, &::getCppuType((const sal_Int16*)0), 0, 0},
- { MAP_CHAR_LEN("TransitionSubtype"), WID_TRANSITION_SUBTYPE, &::getCppuType((const sal_Int16*)0), 0, 0},
- { MAP_CHAR_LEN("TransitionDirection"), WID_TRANSITION_DIRECTION, &::getCppuType((const sal_Bool*)0), 0, 0},
- { MAP_CHAR_LEN("TransitionFadeColor"), WID_TRANSITION_FADE_COLOR, &::getCppuType((const sal_Int32*)0), 0, 0},
- { MAP_CHAR_LEN("TransitionDuration"), WID_TRANSITION_DURATION, &::getCppuType((const double*)0), 0, 0},
- { MAP_CHAR_LEN("LoopSound"), WID_LOOP_SOUND, &::getBooleanCppuType(), 0, 0},
- { MAP_CHAR_LEN("NavigationOrder"), WID_NAVORDER, &::com::sun::star::container::XIndexAccess::static_type(),0, 0},
+ { MAP_CHAR_LEN(UNO_NAME_PAGE_BACKGROUND), WID_PAGE_BACK, &ITYPE( beans::XPropertySet ), beans::PropertyAttribute::MAYBEVOID,0},
+ { MAP_CHAR_LEN(UNO_NAME_PAGE_BOTTOM), WID_PAGE_BOTTOM, &::getCppuType((const sal_Int32*)0), 0, 0},
+ { MAP_CHAR_LEN(UNO_NAME_PAGE_LEFT), WID_PAGE_LEFT, &::getCppuType((const sal_Int32*)0), 0, 0},
+ { MAP_CHAR_LEN(UNO_NAME_PAGE_RIGHT), WID_PAGE_RIGHT, &::getCppuType((const sal_Int32*)0), 0, 0},
+ { MAP_CHAR_LEN(UNO_NAME_PAGE_TOP), WID_PAGE_TOP, &::getCppuType((const sal_Int32*)0), 0, 0},
+ { MAP_CHAR_LEN(UNO_NAME_PAGE_CHANGE), WID_PAGE_CHANGE, &::getCppuType((const sal_Int32*)0), 0, 0},
+ { MAP_CHAR_LEN(UNO_NAME_PAGE_DURATION), WID_PAGE_DURATION, &::getCppuType((const sal_Int32*)0), 0, 0},
+ { MAP_CHAR_LEN(UNO_NAME_PAGE_EFFECT), WID_PAGE_EFFECT, &::getCppuType((const presentation::FadeEffect*)0), 0, 0},
+ { MAP_CHAR_LEN(UNO_NAME_PAGE_HEIGHT), WID_PAGE_HEIGHT, &::getCppuType((const sal_Int32*)0), 0, 0},
+ { MAP_CHAR_LEN(UNO_NAME_PAGE_LAYOUT), WID_PAGE_LAYOUT, &::getCppuType((const sal_Int16*)0), 0, 0},
+ { MAP_CHAR_LEN(UNO_NAME_LINKDISPLAYBITMAP), WID_PAGE_LDBITMAP, &ITYPE( awt::XBitmap), beans::PropertyAttribute::READONLY, 0},
+ { MAP_CHAR_LEN(UNO_NAME_LINKDISPLAYNAME), WID_PAGE_LDNAME, &::getCppuType((const OUString*)0), beans::PropertyAttribute::READONLY, 0},
+ { MAP_CHAR_LEN(UNO_NAME_PAGE_NUMBER), WID_PAGE_NUMBER, &::getCppuType((const sal_Int16*)0), beans::PropertyAttribute::READONLY, 0},
+ { MAP_CHAR_LEN(UNO_NAME_PAGE_ORIENTATION), WID_PAGE_ORIENT, &::getCppuType((const view::PaperOrientation*)0),0, 0},
+ { MAP_CHAR_LEN(UNO_NAME_PAGE_SPEED), WID_PAGE_SPEED, &::getCppuType((const presentation::AnimationSpeed*)0), 0, 0},
+ { MAP_CHAR_LEN(UNO_NAME_PAGE_WIDTH), WID_PAGE_WIDTH, &::getCppuType((const sal_Int32*)0), 0, 0},
+ { MAP_CHAR_LEN(UNO_NAME_PAGE_PREVIEW), WID_PAGE_PREVIEW, SEQTYPE(::getCppuType((::com::sun::star::uno::Sequence<sal_Int8>*)0)), ::com::sun::star::beans::PropertyAttribute::READONLY, 0},
+ { MAP_CHAR_LEN(UNO_NAME_PAGE_PREVIEWBITMAP), WID_PAGE_PREVIEWBITMAP, SEQTYPE(::getCppuType((::com::sun::star::uno::Sequence<sal_Int8>*)0)), ::com::sun::star::beans::PropertyAttribute::READONLY, 0},
+ { MAP_CHAR_LEN(UNO_NAME_PAGE_VISIBLE), WID_PAGE_VISIBLE, &::getBooleanCppuType(), 0, 0},
+ { MAP_CHAR_LEN(UNO_NAME_OBJ_SOUNDFILE), WID_PAGE_SOUNDFILE, &::getCppuType((const Any*)0), 0, 0},
+ { MAP_CHAR_LEN(sUNO_Prop_IsBackgroundVisible), WID_PAGE_BACKVIS, &::getBooleanCppuType(), 0, 0},
+ { MAP_CHAR_LEN(sUNO_Prop_IsBackgroundObjectsVisible), WID_PAGE_BACKOBJVIS, &::getBooleanCppuType(), 0, 0},
+ { MAP_CHAR_LEN(sUNO_Prop_UserDefinedAttributes),WID_PAGE_USERATTRIBS, &::getCppuType((const Reference< ::com::sun::star::container::XNameContainer >*)0) , 0, 0},
+ { MAP_CHAR_LEN(sUNO_Prop_BookmarkURL), WID_PAGE_BOOKMARK, &::getCppuType((const OUString*)0), 0, 0},
+ { MAP_CHAR_LEN("IsBackgroundDark" ), WID_PAGE_ISDARK, &::getBooleanCppuType(), beans::PropertyAttribute::READONLY, 0},
+ { MAP_CHAR_LEN("IsFooterVisible"), WID_PAGE_FOOTERVISIBLE, &::getBooleanCppuType(), 0, 0},
+ { MAP_CHAR_LEN("FooterText"), WID_PAGE_FOOTERTEXT, &::getCppuType((const OUString*)0), 0, 0},
+ { MAP_CHAR_LEN("IsPageNumberVisible"), WID_PAGE_PAGENUMBERVISIBLE, &::getBooleanCppuType(), 0, 0},
+ { MAP_CHAR_LEN("IsDateTimeVisible"), WID_PAGE_DATETIMEVISIBLE, &::getBooleanCppuType(), 0, 0},
+ { MAP_CHAR_LEN("IsDateTimeFixed"), WID_PAGE_DATETIMEFIXED, &::getBooleanCppuType(), 0, 0},
+ { MAP_CHAR_LEN("DateTimeText"), WID_PAGE_DATETIMETEXT, &::getCppuType((const OUString*)0), 0, 0},
+ { MAP_CHAR_LEN("DateTimeFormat"), WID_PAGE_DATETIMEFORMAT, &::getCppuType((const sal_Int32*)0), 0, 0},
+ { MAP_CHAR_LEN("TransitionType"), WID_TRANSITION_TYPE, &::getCppuType((const sal_Int16*)0), 0, 0},
+ { MAP_CHAR_LEN("TransitionSubtype"), WID_TRANSITION_SUBTYPE, &::getCppuType((const sal_Int16*)0), 0, 0},
+ { MAP_CHAR_LEN("TransitionDirection"), WID_TRANSITION_DIRECTION, &::getCppuType((const sal_Bool*)0), 0, 0},
+ { MAP_CHAR_LEN("TransitionFadeColor"), WID_TRANSITION_FADE_COLOR, &::getCppuType((const sal_Int32*)0), 0, 0},
+ { MAP_CHAR_LEN("TransitionDuration"), WID_TRANSITION_DURATION, &::getCppuType((const double*)0), 0, 0},
+ { MAP_CHAR_LEN("LoopSound"), WID_LOOP_SOUND, &::getBooleanCppuType(), 0, 0},
+ { MAP_CHAR_LEN("NavigationOrder"), WID_NAVORDER, &::com::sun::star::container::XIndexAccess::static_type(),0, 0},
{0,0,0,0,0,0}
};
-#define DRAW_PAGE_NOTES_PROPERTIES \
- { MAP_CHAR_LEN(UNO_NAME_PAGE_BOTTOM), WID_PAGE_BOTTOM, &::getCppuType((const sal_Int32*)0), 0, 0}, \
- { MAP_CHAR_LEN(UNO_NAME_PAGE_LEFT), WID_PAGE_LEFT, &::getCppuType((const sal_Int32*)0), 0, 0}, \
- { MAP_CHAR_LEN(UNO_NAME_PAGE_RIGHT), WID_PAGE_RIGHT, &::getCppuType((const sal_Int32*)0), 0, 0}, \
- { MAP_CHAR_LEN(UNO_NAME_PAGE_TOP), WID_PAGE_TOP, &::getCppuType((const sal_Int32*)0), 0, 0}, \
- { MAP_CHAR_LEN(UNO_NAME_PAGE_HEIGHT), WID_PAGE_HEIGHT, &::getCppuType((const sal_Int32*)0), 0, 0}, \
- { MAP_CHAR_LEN(UNO_NAME_PAGE_LAYOUT), WID_PAGE_LAYOUT, &::getCppuType((const sal_Int16*)0), 0, 0}, \
- { MAP_CHAR_LEN(UNO_NAME_LINKDISPLAYBITMAP), WID_PAGE_LDBITMAP, &ITYPE( awt::XBitmap), beans::PropertyAttribute::READONLY, 0}, \
- { MAP_CHAR_LEN(UNO_NAME_LINKDISPLAYNAME), WID_PAGE_LDNAME, &::getCppuType((const OUString*)0), beans::PropertyAttribute::READONLY, 0}, \
- { MAP_CHAR_LEN(UNO_NAME_PAGE_NUMBER), WID_PAGE_NUMBER, &::getCppuType((const sal_Int16*)0), beans::PropertyAttribute::READONLY, 0}, \
- { MAP_CHAR_LEN(UNO_NAME_PAGE_ORIENTATION), WID_PAGE_ORIENT, &::getCppuType((const view::PaperOrientation*)0),0, 0}, \
- { MAP_CHAR_LEN(UNO_NAME_PAGE_WIDTH), WID_PAGE_WIDTH, &::getCppuType((const sal_Int32*)0), 0, 0}, \
- { MAP_CHAR_LEN(sUNO_Prop_UserDefinedAttributes),WID_PAGE_USERATTRIBS, &::getCppuType((const ::com::sun::star::uno::Reference< ::com::sun::star::container::XNameContainer >*)0) , 0, 0},\
- { MAP_CHAR_LEN("IsHeaderVisible"), WID_PAGE_HEADERVISIBLE, &::getBooleanCppuType(), 0, 0}, \
- { MAP_CHAR_LEN("HeaderText"), WID_PAGE_HEADERTEXT, &::getCppuType((const OUString*)0), 0, 0}, \
- { MAP_CHAR_LEN("IsBackgroundDark" ), WID_PAGE_ISDARK, &::getBooleanCppuType(), beans::PropertyAttribute::READONLY, 0}, \
- { MAP_CHAR_LEN("IsFooterVisible"), WID_PAGE_FOOTERVISIBLE, &::getBooleanCppuType(), 0, 0}, \
- { MAP_CHAR_LEN("FooterText"), WID_PAGE_FOOTERTEXT, &::getCppuType((const OUString*)0), 0, 0}, \
- { MAP_CHAR_LEN("IsPageNumberVisible"), WID_PAGE_PAGENUMBERVISIBLE, &::getBooleanCppuType(), 0, 0}, \
- { MAP_CHAR_LEN("IsDateTimeVisible"), WID_PAGE_DATETIMEVISIBLE, &::getBooleanCppuType(), 0, 0}, \
- { MAP_CHAR_LEN("IsDateTimeFixed"), WID_PAGE_DATETIMEFIXED, &::getBooleanCppuType(), 0, 0}, \
- { MAP_CHAR_LEN("DateTimeText"), WID_PAGE_DATETIMETEXT, &::getCppuType((const OUString*)0), 0, 0}, \
- { MAP_CHAR_LEN("DateTimeFormat"), WID_PAGE_DATETIMEFORMAT, &::getCppuType((const sal_Int32*)0), 0, 0}, \
- { MAP_CHAR_LEN("NavigationOrder"), WID_NAVORDER, &::com::sun::star::container::XIndexAccess::static_type(),0, 0}, \
+#define DRAW_PAGE_NOTES_PROPERTIES \
+ { MAP_CHAR_LEN(UNO_NAME_PAGE_BOTTOM), WID_PAGE_BOTTOM, &::getCppuType((const sal_Int32*)0), 0, 0}, \
+ { MAP_CHAR_LEN(UNO_NAME_PAGE_LEFT), WID_PAGE_LEFT, &::getCppuType((const sal_Int32*)0), 0, 0}, \
+ { MAP_CHAR_LEN(UNO_NAME_PAGE_RIGHT), WID_PAGE_RIGHT, &::getCppuType((const sal_Int32*)0), 0, 0}, \
+ { MAP_CHAR_LEN(UNO_NAME_PAGE_TOP), WID_PAGE_TOP, &::getCppuType((const sal_Int32*)0), 0, 0}, \
+ { MAP_CHAR_LEN(UNO_NAME_PAGE_HEIGHT), WID_PAGE_HEIGHT, &::getCppuType((const sal_Int32*)0), 0, 0}, \
+ { MAP_CHAR_LEN(UNO_NAME_PAGE_LAYOUT), WID_PAGE_LAYOUT, &::getCppuType((const sal_Int16*)0), 0, 0}, \
+ { MAP_CHAR_LEN(UNO_NAME_LINKDISPLAYBITMAP), WID_PAGE_LDBITMAP, &ITYPE( awt::XBitmap), beans::PropertyAttribute::READONLY, 0}, \
+ { MAP_CHAR_LEN(UNO_NAME_LINKDISPLAYNAME), WID_PAGE_LDNAME, &::getCppuType((const OUString*)0), beans::PropertyAttribute::READONLY, 0}, \
+ { MAP_CHAR_LEN(UNO_NAME_PAGE_NUMBER), WID_PAGE_NUMBER, &::getCppuType((const sal_Int16*)0), beans::PropertyAttribute::READONLY, 0}, \
+ { MAP_CHAR_LEN(UNO_NAME_PAGE_ORIENTATION), WID_PAGE_ORIENT, &::getCppuType((const view::PaperOrientation*)0),0, 0}, \
+ { MAP_CHAR_LEN(UNO_NAME_PAGE_WIDTH), WID_PAGE_WIDTH, &::getCppuType((const sal_Int32*)0), 0, 0}, \
+ { MAP_CHAR_LEN(sUNO_Prop_UserDefinedAttributes),WID_PAGE_USERATTRIBS, &::getCppuType((const ::com::sun::star::uno::Reference< ::com::sun::star::container::XNameContainer >*)0) , 0, 0},\
+ { MAP_CHAR_LEN("IsHeaderVisible"), WID_PAGE_HEADERVISIBLE, &::getBooleanCppuType(), 0, 0}, \
+ { MAP_CHAR_LEN("HeaderText"), WID_PAGE_HEADERTEXT, &::getCppuType((const OUString*)0), 0, 0}, \
+ { MAP_CHAR_LEN("IsBackgroundDark" ), WID_PAGE_ISDARK, &::getBooleanCppuType(), beans::PropertyAttribute::READONLY, 0}, \
+ { MAP_CHAR_LEN("IsFooterVisible"), WID_PAGE_FOOTERVISIBLE, &::getBooleanCppuType(), 0, 0}, \
+ { MAP_CHAR_LEN("FooterText"), WID_PAGE_FOOTERTEXT, &::getCppuType((const OUString*)0), 0, 0}, \
+ { MAP_CHAR_LEN("IsPageNumberVisible"), WID_PAGE_PAGENUMBERVISIBLE, &::getBooleanCppuType(), 0, 0}, \
+ { MAP_CHAR_LEN("IsDateTimeVisible"), WID_PAGE_DATETIMEVISIBLE, &::getBooleanCppuType(), 0, 0}, \
+ { MAP_CHAR_LEN("IsDateTimeFixed"), WID_PAGE_DATETIMEFIXED, &::getBooleanCppuType(), 0, 0}, \
+ { MAP_CHAR_LEN("DateTimeText"), WID_PAGE_DATETIMETEXT, &::getCppuType((const OUString*)0), 0, 0}, \
+ { MAP_CHAR_LEN("DateTimeFormat"), WID_PAGE_DATETIMEFORMAT, &::getCppuType((const sal_Int32*)0), 0, 0}, \
+ { MAP_CHAR_LEN("NavigationOrder"), WID_NAVORDER, &::com::sun::star::container::XIndexAccess::static_type(),0, 0}, \
{0,0,0,0,0,0}
static const SfxItemPropertyMapEntry aDrawPageNotesHandoutPropertyMap_Impl[] =
{
// this must be the first two entries so they can be excluded for PK_STANDARD
- { MAP_CHAR_LEN(UNO_NAME_PAGE_BACKGROUND), WID_PAGE_BACK, &ITYPE( beans::XPropertySet ), beans::PropertyAttribute::MAYBEVOID,0},
+ { MAP_CHAR_LEN(UNO_NAME_PAGE_BACKGROUND), WID_PAGE_BACK, &ITYPE( beans::XPropertySet ), beans::PropertyAttribute::MAYBEVOID,0},
DRAW_PAGE_NOTES_PROPERTIES
};
static const SfxItemPropertyMapEntry aDrawPageNotesHandoutPropertyNoBackMap_Impl[] =
{
DRAW_PAGE_NOTES_PROPERTIES
};
-
+
#define GRAPHIC_PAGE_PROPERTIES \
- { MAP_CHAR_LEN(UNO_NAME_PAGE_BOTTOM), WID_PAGE_BOTTOM, &::getCppuType((const sal_Int32*)0), 0, 0}, \
- { MAP_CHAR_LEN(UNO_NAME_PAGE_LEFT), WID_PAGE_LEFT, &::getCppuType((const sal_Int32*)0), 0, 0}, \
- { MAP_CHAR_LEN(UNO_NAME_PAGE_RIGHT), WID_PAGE_RIGHT, &::getCppuType((const sal_Int32*)0), 0, 0}, \
- { MAP_CHAR_LEN(UNO_NAME_PAGE_TOP), WID_PAGE_TOP, &::getCppuType((const sal_Int32*)0), 0, 0}, \
- { MAP_CHAR_LEN(UNO_NAME_PAGE_HEIGHT), WID_PAGE_HEIGHT, &::getCppuType((const sal_Int32*)0), 0, 0}, \
- { MAP_CHAR_LEN(UNO_NAME_LINKDISPLAYBITMAP), WID_PAGE_LDBITMAP, &ITYPE(awt::XBitmap), beans::PropertyAttribute::READONLY, 0}, \
- { MAP_CHAR_LEN(UNO_NAME_LINKDISPLAYNAME), WID_PAGE_LDNAME, &::getCppuType((const OUString*)0), beans::PropertyAttribute::READONLY, 0}, \
- { MAP_CHAR_LEN(UNO_NAME_PAGE_NUMBER), WID_PAGE_NUMBER, &::getCppuType((const sal_Int16*)0), beans::PropertyAttribute::READONLY, 0}, \
- { MAP_CHAR_LEN(UNO_NAME_PAGE_ORIENTATION), WID_PAGE_ORIENT, &::getCppuType((const view::PaperOrientation*)0),0, 0}, \
- { MAP_CHAR_LEN(UNO_NAME_PAGE_WIDTH), WID_PAGE_WIDTH, &::getCppuType((const sal_Int32*)0), 0, 0}, \
- { MAP_CHAR_LEN(UNO_NAME_PAGE_PREVIEW), WID_PAGE_PREVIEW, SEQTYPE(::getCppuType((::com::sun::star::uno::Sequence<sal_Int8>*)0)), ::com::sun::star::beans::PropertyAttribute::READONLY, 0}, \
- { MAP_CHAR_LEN(UNO_NAME_PAGE_PREVIEWBITMAP), WID_PAGE_PREVIEWBITMAP, SEQTYPE(::getCppuType((::com::sun::star::uno::Sequence<sal_Int8>*)0)), ::com::sun::star::beans::PropertyAttribute::READONLY, 0},\
- { MAP_CHAR_LEN(sUNO_Prop_UserDefinedAttributes),WID_PAGE_USERATTRIBS, &::getCppuType((const Reference< ::com::sun::star::container::XNameContainer >*)0) , 0, 0}, \
- { MAP_CHAR_LEN(sUNO_Prop_BookmarkURL), WID_PAGE_BOOKMARK, &::getCppuType((const OUString*)0), 0, 0}, \
- { MAP_CHAR_LEN("IsBackgroundDark" ), WID_PAGE_ISDARK, &::getBooleanCppuType(), beans::PropertyAttribute::READONLY, 0}, \
- { MAP_CHAR_LEN("NavigationOrder"), WID_NAVORDER, &::com::sun::star::container::XIndexAccess::static_type(),0, 0}, \
- {0,0,0,0,0,0}
+ { MAP_CHAR_LEN(UNO_NAME_PAGE_BOTTOM), WID_PAGE_BOTTOM, &::getCppuType((const sal_Int32*)0), 0, 0}, \
+ { MAP_CHAR_LEN(UNO_NAME_PAGE_LEFT), WID_PAGE_LEFT, &::getCppuType((const sal_Int32*)0), 0, 0}, \
+ { MAP_CHAR_LEN(UNO_NAME_PAGE_RIGHT), WID_PAGE_RIGHT, &::getCppuType((const sal_Int32*)0), 0, 0}, \
+ { MAP_CHAR_LEN(UNO_NAME_PAGE_TOP), WID_PAGE_TOP, &::getCppuType((const sal_Int32*)0), 0, 0}, \
+ { MAP_CHAR_LEN(UNO_NAME_PAGE_HEIGHT), WID_PAGE_HEIGHT, &::getCppuType((const sal_Int32*)0), 0, 0}, \
+ { MAP_CHAR_LEN(UNO_NAME_LINKDISPLAYBITMAP), WID_PAGE_LDBITMAP, &ITYPE(awt::XBitmap), beans::PropertyAttribute::READONLY, 0}, \
+ { MAP_CHAR_LEN(UNO_NAME_LINKDISPLAYNAME), WID_PAGE_LDNAME, &::getCppuType((const OUString*)0), beans::PropertyAttribute::READONLY, 0}, \
+ { MAP_CHAR_LEN(UNO_NAME_PAGE_NUMBER), WID_PAGE_NUMBER, &::getCppuType((const sal_Int16*)0), beans::PropertyAttribute::READONLY, 0}, \
+ { MAP_CHAR_LEN(UNO_NAME_PAGE_ORIENTATION), WID_PAGE_ORIENT, &::getCppuType((const view::PaperOrientation*)0),0, 0}, \
+ { MAP_CHAR_LEN(UNO_NAME_PAGE_WIDTH), WID_PAGE_WIDTH, &::getCppuType((const sal_Int32*)0), 0, 0}, \
+ { MAP_CHAR_LEN(UNO_NAME_PAGE_PREVIEW), WID_PAGE_PREVIEW, SEQTYPE(::getCppuType((::com::sun::star::uno::Sequence<sal_Int8>*)0)), ::com::sun::star::beans::PropertyAttribute::READONLY, 0}, \
+ { MAP_CHAR_LEN(UNO_NAME_PAGE_PREVIEWBITMAP), WID_PAGE_PREVIEWBITMAP, SEQTYPE(::getCppuType((::com::sun::star::uno::Sequence<sal_Int8>*)0)), ::com::sun::star::beans::PropertyAttribute::READONLY, 0},\
+ { MAP_CHAR_LEN(sUNO_Prop_UserDefinedAttributes),WID_PAGE_USERATTRIBS, &::getCppuType((const Reference< ::com::sun::star::container::XNameContainer >*)0) , 0, 0}, \
+ { MAP_CHAR_LEN(sUNO_Prop_BookmarkURL), WID_PAGE_BOOKMARK, &::getCppuType((const OUString*)0), 0, 0}, \
+ { MAP_CHAR_LEN("IsBackgroundDark" ), WID_PAGE_ISDARK, &::getBooleanCppuType(), beans::PropertyAttribute::READONLY, 0}, \
+ { MAP_CHAR_LEN("NavigationOrder"), WID_NAVORDER, &::com::sun::star::container::XIndexAccess::static_type(),0, 0}, \
+ {0,0,0,0,0,0}
static const SfxItemPropertyMapEntry aGraphicPagePropertyMap_Impl[] =
{
- { MAP_CHAR_LEN(UNO_NAME_PAGE_BACKGROUND), WID_PAGE_BACK, &ITYPE( beans::XPropertySet), beans::PropertyAttribute::MAYBEVOID,0},
+ { MAP_CHAR_LEN(UNO_NAME_PAGE_BACKGROUND), WID_PAGE_BACK, &ITYPE( beans::XPropertySet), beans::PropertyAttribute::MAYBEVOID,0},
GRAPHIC_PAGE_PROPERTIES
};
- static const SfxItemPropertyMapEntry aGraphicPagePropertyNoBackMap_Impl[] =
+ static const SfxItemPropertyMapEntry aGraphicPagePropertyNoBackMap_Impl[] =
{
GRAPHIC_PAGE_PROPERTIES
};
//
bool bWithoutBackground = ePageKind != PK_STANDARD && ePageKind != PK_HANDOUT;
- const SvxItemPropertySet* pRet = 0;
+ const SvxItemPropertySet* pRet = 0;
if( bImpress )
{
if( ePageKind == PK_STANDARD )
{
//PK_STANDARD always has a background property
static SvxItemPropertySet aDrawPagePropertySet_Impl( aDrawPagePropertyMap_Impl, SdrObject::GetGlobalDrawObjectItemPool() );
- pRet = &aDrawPagePropertySet_Impl;
+ pRet = &aDrawPagePropertySet_Impl;
}
else
{
if(bWithoutBackground)
{
static SvxItemPropertySet aDrawPageNotesHandoutPropertyNoBackSet_Impl( aDrawPageNotesHandoutPropertyNoBackMap_Impl, SdrObject::GetGlobalDrawObjectItemPool() );
- pRet = &aDrawPageNotesHandoutPropertyNoBackSet_Impl;
- }
+ pRet = &aDrawPageNotesHandoutPropertyNoBackSet_Impl;
+ }
else
{
static SvxItemPropertySet aDrawPageNotesHandoutPropertySet_Impl( aDrawPageNotesHandoutPropertyMap_Impl, SdrObject::GetGlobalDrawObjectItemPool() );
- pRet = &aDrawPageNotesHandoutPropertySet_Impl;
- }
+ pRet = &aDrawPageNotesHandoutPropertySet_Impl;
+ }
}
}
else
@@ -271,13 +271,13 @@ const SvxItemPropertySet* ImplGetDrawPagePropertySet( sal_Bool bImpress, PageKin
if(bWithoutBackground)
{
static SvxItemPropertySet aGraphicPagePropertyNoBackSet_Impl( aGraphicPagePropertyNoBackMap_Impl, SdrObject::GetGlobalDrawObjectItemPool() );
- pRet = &aGraphicPagePropertyNoBackSet_Impl;
- }
+ pRet = &aGraphicPagePropertyNoBackSet_Impl;
+ }
else
{
static SvxItemPropertySet aGraphicPagePropertySet_Impl( aGraphicPagePropertyMap_Impl, SdrObject::GetGlobalDrawObjectItemPool() );
- pRet = &aGraphicPagePropertySet_Impl;
- }
+ pRet = &aGraphicPagePropertySet_Impl;
+ }
}
return pRet;
}
@@ -287,45 +287,45 @@ const SvxItemPropertySet* ImplGetMasterPagePropertySet( PageKind ePageKind )
{
static const SfxItemPropertyMapEntry aMasterPagePropertyMap_Impl[] =
{
- { MAP_CHAR_LEN(UNO_NAME_PAGE_BACKGROUND), WID_PAGE_BACK, &ITYPE(beans::XPropertySet), 0, 0},
- { MAP_CHAR_LEN(UNO_NAME_PAGE_BOTTOM), WID_PAGE_BOTTOM, &::getCppuType((const sal_Int32*)0), 0, 0},
- { MAP_CHAR_LEN(UNO_NAME_PAGE_LEFT), WID_PAGE_LEFT, &::getCppuType((const sal_Int32*)0), 0, 0},
- { MAP_CHAR_LEN(UNO_NAME_PAGE_RIGHT), WID_PAGE_RIGHT, &::getCppuType((const sal_Int32*)0), 0, 0},
- { MAP_CHAR_LEN(UNO_NAME_PAGE_TOP), WID_PAGE_TOP, &::getCppuType((const sal_Int32*)0), 0, 0},
- { MAP_CHAR_LEN(UNO_NAME_PAGE_HEIGHT), WID_PAGE_HEIGHT, &::getCppuType((const sal_Int32*)0), 0, 0},
- { MAP_CHAR_LEN(UNO_NAME_LINKDISPLAYBITMAP), WID_PAGE_LDBITMAP, &ITYPE(awt::XBitmap), beans::PropertyAttribute::READONLY, 0},
- { MAP_CHAR_LEN(UNO_NAME_LINKDISPLAYNAME), WID_PAGE_LDNAME, &::getCppuType((const OUString*)0), beans::PropertyAttribute::READONLY, 0},
- { MAP_CHAR_LEN(UNO_NAME_PAGE_NUMBER), WID_PAGE_NUMBER, &::getCppuType((const sal_Int16*)0), beans::PropertyAttribute::READONLY, 0},
- { MAP_CHAR_LEN(UNO_NAME_PAGE_ORIENTATION), WID_PAGE_ORIENT, &::getCppuType((const view::PaperOrientation*)0),0, 0},
- { MAP_CHAR_LEN(UNO_NAME_PAGE_WIDTH), WID_PAGE_WIDTH, &::getCppuType((const sal_Int32*)0), 0, 0},
- { MAP_CHAR_LEN("BackgroundFullSize"), WID_PAGE_BACKFULL, &::getBooleanCppuType(), 0, 0},
- { MAP_CHAR_LEN(sUNO_Prop_UserDefinedAttributes),WID_PAGE_USERATTRIBS, &::getCppuType((const Reference< ::com::sun::star::container::XNameContainer >*)0) , 0, 0},
- { MAP_CHAR_LEN("IsBackgroundDark" ), WID_PAGE_ISDARK, &::getBooleanCppuType(), beans::PropertyAttribute::READONLY, 0},
+ { MAP_CHAR_LEN(UNO_NAME_PAGE_BACKGROUND), WID_PAGE_BACK, &ITYPE(beans::XPropertySet), 0, 0},
+ { MAP_CHAR_LEN(UNO_NAME_PAGE_BOTTOM), WID_PAGE_BOTTOM, &::getCppuType((const sal_Int32*)0), 0, 0},
+ { MAP_CHAR_LEN(UNO_NAME_PAGE_LEFT), WID_PAGE_LEFT, &::getCppuType((const sal_Int32*)0), 0, 0},
+ { MAP_CHAR_LEN(UNO_NAME_PAGE_RIGHT), WID_PAGE_RIGHT, &::getCppuType((const sal_Int32*)0), 0, 0},
+ { MAP_CHAR_LEN(UNO_NAME_PAGE_TOP), WID_PAGE_TOP, &::getCppuType((const sal_Int32*)0), 0, 0},
+ { MAP_CHAR_LEN(UNO_NAME_PAGE_HEIGHT), WID_PAGE_HEIGHT, &::getCppuType((const sal_Int32*)0), 0, 0},
+ { MAP_CHAR_LEN(UNO_NAME_LINKDISPLAYBITMAP), WID_PAGE_LDBITMAP, &ITYPE(awt::XBitmap), beans::PropertyAttribute::READONLY, 0},
+ { MAP_CHAR_LEN(UNO_NAME_LINKDISPLAYNAME), WID_PAGE_LDNAME, &::getCppuType((const OUString*)0), beans::PropertyAttribute::READONLY, 0},
+ { MAP_CHAR_LEN(UNO_NAME_PAGE_NUMBER), WID_PAGE_NUMBER, &::getCppuType((const sal_Int16*)0), beans::PropertyAttribute::READONLY, 0},
+ { MAP_CHAR_LEN(UNO_NAME_PAGE_ORIENTATION), WID_PAGE_ORIENT, &::getCppuType((const view::PaperOrientation*)0),0, 0},
+ { MAP_CHAR_LEN(UNO_NAME_PAGE_WIDTH), WID_PAGE_WIDTH, &::getCppuType((const sal_Int32*)0), 0, 0},
+ { MAP_CHAR_LEN("BackgroundFullSize"), WID_PAGE_BACKFULL, &::getBooleanCppuType(), 0, 0},
+ { MAP_CHAR_LEN(sUNO_Prop_UserDefinedAttributes),WID_PAGE_USERATTRIBS, &::getCppuType((const Reference< ::com::sun::star::container::XNameContainer >*)0) , 0, 0},
+ { MAP_CHAR_LEN("IsBackgroundDark" ), WID_PAGE_ISDARK, &::getBooleanCppuType(), beans::PropertyAttribute::READONLY, 0},
{0,0,0,0,0,0}
};
static const SfxItemPropertyMapEntry aHandoutMasterPagePropertyMap_Impl[] =
{
- { MAP_CHAR_LEN(UNO_NAME_PAGE_BOTTOM), WID_PAGE_BOTTOM, &::getCppuType((const sal_Int32*)0), 0, 0},
- { MAP_CHAR_LEN(UNO_NAME_PAGE_LEFT), WID_PAGE_LEFT, &::getCppuType((const sal_Int32*)0), 0, 0},
- { MAP_CHAR_LEN(UNO_NAME_PAGE_RIGHT), WID_PAGE_RIGHT, &::getCppuType((const sal_Int32*)0), 0, 0},
- { MAP_CHAR_LEN(UNO_NAME_PAGE_TOP), WID_PAGE_TOP, &::getCppuType((const sal_Int32*)0), 0, 0},
- { MAP_CHAR_LEN(UNO_NAME_PAGE_HEIGHT), WID_PAGE_HEIGHT, &::getCppuType((const sal_Int32*)0), 0, 0},
- { MAP_CHAR_LEN(UNO_NAME_PAGE_ORIENTATION), WID_PAGE_ORIENT, &::getCppuType((const view::PaperOrientation*)0),0, 0},
- { MAP_CHAR_LEN(UNO_NAME_PAGE_NUMBER), WID_PAGE_NUMBER, &::getCppuType((const sal_Int16*)0), beans::PropertyAttribute::READONLY, 0},
- { MAP_CHAR_LEN(UNO_NAME_PAGE_WIDTH), WID_PAGE_WIDTH, &::getCppuType((const sal_Int32*)0), 0, 0},
- { MAP_CHAR_LEN(UNO_NAME_PAGE_LAYOUT), WID_PAGE_LAYOUT, &::getCppuType((const sal_Int16*)0), 0, 0},
- { MAP_CHAR_LEN(sUNO_Prop_UserDefinedAttributes),WID_PAGE_USERATTRIBS, &::getCppuType((const Reference< ::com::sun::star::container::XNameContainer >*)0) , 0, 0},
- { MAP_CHAR_LEN("IsBackgroundDark" ), WID_PAGE_ISDARK, &::getBooleanCppuType(), beans::PropertyAttribute::READONLY, 0},
- { MAP_CHAR_LEN("IsHeaderVisible"), WID_PAGE_HEADERVISIBLE, &::getBooleanCppuType(), 0, 0},
- { MAP_CHAR_LEN("HeaderText"), WID_PAGE_HEADERTEXT, &::getCppuType((const OUString*)0), 0, 0},
- { MAP_CHAR_LEN("IsFooterVisible"), WID_PAGE_FOOTERVISIBLE, &::getBooleanCppuType(), 0, 0},
- { MAP_CHAR_LEN("FooterText"), WID_PAGE_FOOTERTEXT, &::getCppuType((const OUString*)0), 0, 0},
- { MAP_CHAR_LEN("IsPageNumberVisible"), WID_PAGE_PAGENUMBERVISIBLE, &::getBooleanCppuType(), 0, 0},
- { MAP_CHAR_LEN("IsDateTimeVisible"), WID_PAGE_DATETIMEVISIBLE, &::getBooleanCppuType(), 0, 0},
- { MAP_CHAR_LEN("IsDateTimeFixed"), WID_PAGE_DATETIMEFIXED, &::getBooleanCppuType(), 0, 0},
- { MAP_CHAR_LEN("DateTimeText"), WID_PAGE_DATETIMETEXT, &::getCppuType((const OUString*)0), 0, 0},
- { MAP_CHAR_LEN("DateTimeFormat"), WID_PAGE_DATETIMEFORMAT, &::getCppuType((const sal_Int32*)0), 0, 0},
+ { MAP_CHAR_LEN(UNO_NAME_PAGE_BOTTOM), WID_PAGE_BOTTOM, &::getCppuType((const sal_Int32*)0), 0, 0},
+ { MAP_CHAR_LEN(UNO_NAME_PAGE_LEFT), WID_PAGE_LEFT, &::getCppuType((const sal_Int32*)0), 0, 0},
+ { MAP_CHAR_LEN(UNO_NAME_PAGE_RIGHT), WID_PAGE_RIGHT, &::getCppuType((const sal_Int32*)0), 0, 0},
+ { MAP_CHAR_LEN(UNO_NAME_PAGE_TOP), WID_PAGE_TOP, &::getCppuType((const sal_Int32*)0), 0, 0},
+ { MAP_CHAR_LEN(UNO_NAME_PAGE_HEIGHT), WID_PAGE_HEIGHT, &::getCppuType((const sal_Int32*)0), 0, 0},
+ { MAP_CHAR_LEN(UNO_NAME_PAGE_ORIENTATION), WID_PAGE_ORIENT, &::getCppuType((const view::PaperOrientation*)0),0, 0},
+ { MAP_CHAR_LEN(UNO_NAME_PAGE_NUMBER), WID_PAGE_NUMBER, &::getCppuType((const sal_Int16*)0), beans::PropertyAttribute::READONLY, 0},
+ { MAP_CHAR_LEN(UNO_NAME_PAGE_WIDTH), WID_PAGE_WIDTH, &::getCppuType((const sal_Int32*)0), 0, 0},
+ { MAP_CHAR_LEN(UNO_NAME_PAGE_LAYOUT), WID_PAGE_LAYOUT, &::getCppuType((const sal_Int16*)0), 0, 0},
+ { MAP_CHAR_LEN(sUNO_Prop_UserDefinedAttributes),WID_PAGE_USERATTRIBS, &::getCppuType((const Reference< ::com::sun::star::container::XNameContainer >*)0) , 0, 0},
+ { MAP_CHAR_LEN("IsBackgroundDark" ), WID_PAGE_ISDARK, &::getBooleanCppuType(), beans::PropertyAttribute::READONLY, 0},
+ { MAP_CHAR_LEN("IsHeaderVisible"), WID_PAGE_HEADERVISIBLE, &::getBooleanCppuType(), 0, 0},
+ { MAP_CHAR_LEN("HeaderText"), WID_PAGE_HEADERTEXT, &::getCppuType((const OUString*)0), 0, 0},
+ { MAP_CHAR_LEN("IsFooterVisible"), WID_PAGE_FOOTERVISIBLE, &::getBooleanCppuType(), 0, 0},
+ { MAP_CHAR_LEN("FooterText"), WID_PAGE_FOOTERTEXT, &::getCppuType((const OUString*)0), 0, 0},
+ { MAP_CHAR_LEN("IsPageNumberVisible"), WID_PAGE_PAGENUMBERVISIBLE, &::getBooleanCppuType(), 0, 0},
+ { MAP_CHAR_LEN("IsDateTimeVisible"), WID_PAGE_DATETIMEVISIBLE, &::getBooleanCppuType(), 0, 0},
+ { MAP_CHAR_LEN("IsDateTimeFixed"), WID_PAGE_DATETIMEFIXED, &::getBooleanCppuType(), 0, 0},
+ { MAP_CHAR_LEN("DateTimeText"), WID_PAGE_DATETIMETEXT, &::getCppuType((const OUString*)0), 0, 0},
+ { MAP_CHAR_LEN("DateTimeFormat"), WID_PAGE_DATETIMEFORMAT, &::getCppuType((const sal_Int32*)0), 0, 0},
{0,0,0,0,0,0}
};
@@ -333,12 +333,12 @@ const SvxItemPropertySet* ImplGetMasterPagePropertySet( PageKind ePageKind )
if( ePageKind == PK_HANDOUT )
{
static SvxItemPropertySet aHandoutMasterPagePropertySet_Impl( aHandoutMasterPagePropertyMap_Impl, SdrObject::GetGlobalDrawObjectItemPool() );
- pRet = &aHandoutMasterPagePropertySet_Impl;
+ pRet = &aHandoutMasterPagePropertySet_Impl;
}
else
{
static SvxItemPropertySet aMasterPagePropertySet_Impl( aMasterPagePropertyMap_Impl, SdrObject::GetGlobalDrawObjectItemPool() );
- pRet = &aMasterPagePropertySet_Impl;
+ pRet = &aMasterPagePropertySet_Impl;
}
return pRet;
}
@@ -376,12 +376,12 @@ sal_Int64 SAL_CALL SdGenericDrawPage::getSomething( const ::com::sun::star::uno:
* *
***********************************************************************/
SdGenericDrawPage::SdGenericDrawPage( SdXImpressDocument* _pModel, SdPage* pInPage, const SvxItemPropertySet* _pSet ) throw()
-: SvxFmDrawPage( (SdrPage*) pInPage ),
+: SvxFmDrawPage( (SdrPage*) pInPage ),
SdUnoSearchReplaceShape(this),
- mpModel ( _pModel ),
+ mpModel ( _pModel ),
mpSdrModel(0),
mnTempPageNumber(0),
- mpPropSet ( _pSet ),
+ mpPropSet ( _pSet ),
mbIsImpressDocument(false)
{
mpSdrModel = SvxFmDrawPage::mpModel;
@@ -718,7 +718,7 @@ void SAL_CALL SdGenericDrawPage::setPropertyValue( const OUString& aPropertyName
}
case WID_PAGE_VISIBLE :
{
- sal_Bool bVisible = sal_False;
+ sal_Bool bVisible = sal_False;
if( ! ( aValue >>= bVisible ) )
throw lang::IllegalArgumentException();
GetPage()->SetExcluded( bVisible == FALSE );
@@ -742,7 +742,7 @@ void SAL_CALL SdGenericDrawPage::setPropertyValue( const OUString& aPropertyName
break;
}
}
-
+
throw lang::IllegalArgumentException();
}
@@ -757,7 +757,7 @@ void SAL_CALL SdGenericDrawPage::setPropertyValue( const OUString& aPropertyName
}
case WID_PAGE_BACKFULL:
{
- sal_Bool bFullSize = sal_False;
+ sal_Bool bFullSize = sal_False;
if( ! ( aValue >>= bFullSize ) )
throw lang::IllegalArgumentException();
GetPage()->SetBackgroundFullSize( bFullSize );
@@ -1105,8 +1105,8 @@ Any SAL_CALL SdGenericDrawPage::getPropertyValue( const OUString& PropertyName )
pDocShell->GetPreviewMetaFile();
if ( pMetaFile )
{
- Point aPoint;
- Size aSize( GetPage()->GetSize() );
+ Point aPoint;
+ Size aSize( GetPage()->GetSize() );
pMetaFile->AddAction( (MetaAction*) new MetaFillColorAction( COL_WHITE, TRUE ), 0 );
pMetaFile->AddAction( (MetaAction*) new MetaRectAction( Rectangle( aPoint, aSize ) ), 1 );
pMetaFile->SetPrefMapMode( MAP_100TH_MM );
@@ -2074,7 +2074,7 @@ Any SAL_CALL SdDrawPage::queryInterface( const uno::Type & rType )
if( mbIsImpressDocument )
{
const PageKind ePageKind = GetPage() ? GetPage()->GetPageKind() : PK_STANDARD;
-
+
if( ePageKind != PK_HANDOUT && rType == ITYPE( presentation::XPresentationPage ) )
{
return makeAny( Reference< presentation::XPresentationPage >( this ) );
@@ -2347,7 +2347,7 @@ void SAL_CALL SdDrawPage::setName( const OUString& rName )
::sd::ViewShell* pViewSh = pDocSh ? pDocSh->GetViewShell() : NULL;
if( pViewSh && pViewSh->ISA(::sd::DrawViewShell))
{
- ::sd::DrawViewShell* pDrawViewSh = static_cast<
+ ::sd::DrawViewShell* pDrawViewSh = static_cast<
::sd::DrawViewShell*>(pViewSh);
EditMode eMode = pDrawViewSh->GetEditMode();
@@ -2384,8 +2384,8 @@ Reference< drawing::XDrawPage > SAL_CALL SdDrawPage::getMasterPage( )
if(GetPage())
{
- Reference< drawing::XDrawPages > xPages( GetModel()->getMasterPages() );
- Reference< drawing::XDrawPage > xPage;
+ Reference< drawing::XDrawPages > xPages( GetModel()->getMasterPages() );
+ Reference< drawing::XDrawPage > xPage;
if(SvxFmDrawPage::mpPage->TRG_HasMasterPage())
{
@@ -2558,7 +2558,7 @@ void SdDrawPage::setBackground( const Any& rValue )
pBackground->fillItemSet( (SdDrawDocument*)GetPage()->GetModel(), aSet );
}
-//-/ pObj->NbcSetAttributes( aSet, sal_False );
+//-/ pObj->NbcSetAttributes( aSet, sal_False );
if( aSet.Count() == 0 )
{
// no background fill, represent by setting XFILL_NONE
@@ -2581,7 +2581,7 @@ Reference< XAnnotation > SAL_CALL SdGenericDrawPage::createAndInsertAnnotation()
{
if( !GetPage() )
throw DisposedException();
-
+
Reference< XAnnotation > xRet;
GetPage()->createAnnotation(xRet);
return xRet;
@@ -2610,7 +2610,7 @@ void SdDrawPage::getBackground( Any& rValue ) throw()
{
// there is a fill set, export to rValue
Reference< beans::XPropertySet > xSet(new SdUnoPageBackground(
- GetModel()->GetDoc(),
+ GetModel()->GetDoc(),
&GetPage()->getSdrPageProperties().GetItemSet()));
rValue <<= xSet;
}
@@ -2782,7 +2782,7 @@ Sequence< uno::Type > SAL_CALL SdMasterPage::getTypes() throw(uno::RuntimeExcept
aTypes.push_back(ITYPE(document::XLinkTargetSupplier));
aTypes.push_back(ITYPE( drawing::XShapeCombiner ));
aTypes.push_back(ITYPE( drawing::XShapeBinder ));
- aTypes.push_back(ITYPE( office::XAnnotationAccess ));
+ aTypes.push_back(ITYPE( office::XAnnotationAccess ));
aTypes.push_back(ITYPE( beans::XMultiPropertySet ));
if( bPresPage )
aTypes.push_back(ITYPE(presentation::XPresentationPage));
@@ -2914,13 +2914,13 @@ void SdMasterPage::setBackground( const Any& rValue )
Reference< beans::XPropertyState > xSetStates( xInputSet, UNO_QUERY );
PropertyEntryVector_t aBackgroundProperties = ImplGetPageBackgroundPropertySet()->getPropertyMap()->getPropertyEntries();
- PropertyEntryVector_t::const_iterator aIt = aBackgroundProperties.begin();
+ PropertyEntryVector_t::const_iterator aIt = aBackgroundProperties.begin();
while( aIt != aBackgroundProperties.end() )
{
if( xSetInfo->hasPropertyByName( aIt->sName ) )
{
if( !xSetStates.is() || xSetStates->getPropertyState( aIt->sName ) == beans::PropertyState_DIRECT_VALUE )
- xStyleSet->setPropertyValue( aIt->sName, xInputSet->getPropertyValue( aIt->sName ) );
+ xStyleSet->setPropertyValue( aIt->sName, xInputSet->getPropertyValue( aIt->sName ) );
else
xSetStates->setPropertyToDefault( aIt->sName );
}
@@ -3073,7 +3073,7 @@ void SAL_CALL SdMasterPage::setName( const OUString& aName )
::sd::ViewShell* pViewSh = pDocSh ? pDocSh->GetViewShell() : NULL;
if( pViewSh && pViewSh->ISA(::sd::DrawViewShell ) )
{
- ::sd::DrawViewShell* pDrawViewSh =
+ ::sd::DrawViewShell* pDrawViewSh =
static_cast< ::sd::DrawViewShell*>(pViewSh);
EditMode eMode = pDrawViewSh->GetEditMode();
diff --git a/sd/source/ui/unoidl/unopage.hxx b/sd/source/ui/unoidl/unopage.hxx
index ef2654e7965c..23b2a9ff8e0e 100644
--- a/sd/source/ui/unoidl/unopage.hxx
+++ b/sd/source/ui/unoidl/unopage.hxx
@@ -2,7 +2,7 @@
/*************************************************************************
*
* 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
@@ -62,7 +62,7 @@ struct SfxItemPropertySimpleEntry;
class SdGenericDrawPage : public SvxFmDrawPage,
public SdUnoSearchReplaceShape,
public ::com::sun::star::drawing::XShapeCombiner,
- public ::com::sun::star::drawing::XShapeBinder,
+ public ::com::sun::star::drawing::XShapeBinder,
public ::com::sun::star::container::XNamed,
public ::com::sun::star::beans::XPropertySet,
public ::com::sun::star::beans::XMultiPropertySet,
@@ -78,7 +78,7 @@ private:
protected:
friend class SdXImpressDocument;
- const SvxItemPropertySet* mpPropSet;
+ const SvxItemPropertySet* mpPropSet;
virtual void setBackground( const ::com::sun::star::uno::Any& rValue ) throw(::com::sun::star::lang::IllegalArgumentException);
virtual void getBackground( ::com::sun::star::uno::Any& rValue ) throw();
@@ -94,7 +94,7 @@ protected:
void SetWidth( sal_Int32 nWidth );
void SetHeight( sal_Int32 nHeight );
- bool mbIsImpressDocument;
+ bool mbIsImpressDocument;
virtual void disposing() throw();
diff --git a/sd/source/ui/unoidl/unopback.cxx b/sd/source/ui/unoidl/unopback.cxx
index 190a83a995b1..be98f8e16330 100644
--- a/sd/source/ui/unoidl/unopback.cxx
+++ b/sd/source/ui/unoidl/unopback.cxx
@@ -2,7 +2,7 @@
/*************************************************************************
*
* 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
@@ -59,17 +59,17 @@ const SvxItemPropertySet* ImplGetPageBackgroundPropertySet()
{0,0,0,0,0,0}
};
- static SvxItemPropertySet aPageBackgroundPropertySet_Impl( aPageBackgroundPropertyMap_Impl, SdrObject::GetGlobalDrawObjectItemPool() );
+ static SvxItemPropertySet aPageBackgroundPropertySet_Impl( aPageBackgroundPropertyMap_Impl, SdrObject::GetGlobalDrawObjectItemPool() );
return &aPageBackgroundPropertySet_Impl;
}
UNO3_GETIMPLEMENTATION_IMPL( SdUnoPageBackground );
-SdUnoPageBackground::SdUnoPageBackground(
- SdDrawDocument* pDoc /* = NULL */,
+SdUnoPageBackground::SdUnoPageBackground(
+ SdDrawDocument* pDoc /* = NULL */,
const SfxItemSet* pSet /* = NULL */) throw()
-: mpPropSet(ImplGetPageBackgroundPropertySet()),
- mpSet(NULL),
+: mpPropSet(ImplGetPageBackgroundPropertySet()),
+ mpSet(NULL),
mpDoc(pDoc)
{
if( pDoc )
@@ -119,7 +119,7 @@ void SdUnoPageBackground::fillItemSet( SdDrawDocument* pDoc, SfxItemSet& rSet )
mpDoc = pDoc;
mpSet = new SfxItemSet( *rSet.GetPool(), XATTR_FILL_FIRST, XATTR_FILL_LAST );
-
+
if( mpPropSet->AreThereOwnUsrAnys() )
{
uno::Any* pAny;
@@ -251,7 +251,7 @@ void SAL_CALL SdUnoPageBackground::setPropertyValue( const OUString& aPropertyNa
}
SfxItemPool& rPool = *mpSet->GetPool();
- SfxItemSet aSet( rPool, pEntry->nWID, pEntry->nWID);
+ SfxItemSet aSet( rPool, pEntry->nWID, pEntry->nWID);
aSet.Put( *mpSet );
if( !aSet.Count() )
@@ -314,14 +314,14 @@ uno::Any SAL_CALL SdUnoPageBackground::getPropertyValue( const OUString& Propert
else
{
SfxItemPool& rPool = *mpSet->GetPool();
- SfxItemSet aSet( rPool, pEntry->nWID, pEntry->nWID);
+ SfxItemSet aSet( rPool, pEntry->nWID, pEntry->nWID);
aSet.Put( *mpSet );
if( !aSet.Count() )
aSet.Put( rPool.GetDefaultItem( pEntry->nWID ) );
// Hole Wert aus ItemSet
- aAny = SvxItemPropertySet_getPropertyValue( *mpPropSet, pEntry, aSet );
+ aAny = SvxItemPropertySet_getPropertyValue( *mpPropSet, pEntry, aSet );
}
}
else
@@ -372,8 +372,8 @@ beans::PropertyState SAL_CALL SdUnoPageBackground::getPropertyState( const OUStr
case SFX_ITEM_DEFAULT:
return beans::PropertyState_DEFAULT_VALUE;
default:
-// case SFX_ITEM_DONTCARE:
-// case SFX_ITEM_DISABLED:
+// case SFX_ITEM_DONTCARE:
+// case SFX_ITEM_DISABLED:
return beans::PropertyState_AMBIGUOUS_VALUE;
}
}
@@ -446,10 +446,10 @@ uno::Any SAL_CALL SdUnoPageBackground::getPropertyDefault( const OUString& aProp
else
{
SfxItemPool& rPool = *mpSet->GetPool();
- SfxItemSet aSet( rPool, pEntry->nWID, pEntry->nWID);
+ SfxItemSet aSet( rPool, pEntry->nWID, pEntry->nWID);
aSet.Put( rPool.GetDefaultItem( pEntry->nWID ) );
-
- aAny = SvxItemPropertySet_getPropertyValue( *mpPropSet, pEntry, aSet );
+
+ aAny = SvxItemPropertySet_getPropertyValue( *mpPropSet, pEntry, aSet );
}
}
return aAny;
diff --git a/sd/source/ui/unoidl/unopback.hxx b/sd/source/ui/unoidl/unopback.hxx
index fc2bef7af94f..569af0a37e2e 100644
--- a/sd/source/ui/unoidl/unopback.hxx
+++ b/sd/source/ui/unoidl/unopback.hxx
@@ -2,7 +2,7 @@
/*************************************************************************
*
* 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
@@ -44,7 +44,7 @@ const SvxItemPropertySet* ImplGetPageBackgroundPropertySet();
class SdDrawDocument;
class SfxItemSet;
-class SdUnoPageBackground : public ::cppu::WeakImplHelper4<
+class SdUnoPageBackground : public ::cppu::WeakImplHelper4<
::com::sun::star::beans::XPropertySet,
::com::sun::star::lang::XServiceInfo,
::com::sun::star::beans::XPropertyState,
@@ -53,8 +53,8 @@ class SdUnoPageBackground : public ::cppu::WeakImplHelper4<
{
protected:
const SvxItemPropertySet* mpPropSet;
- SfxItemSet* mpSet;
- SdrModel* mpDoc;
+ SfxItemSet* mpSet;
+ SdrModel* mpDoc;
const SfxItemPropertySimpleEntry* getPropertyMapEntry( const ::rtl::OUString& rPropertyName ) const throw();
public:
diff --git a/sd/source/ui/unoidl/unopool.cxx b/sd/source/ui/unoidl/unopool.cxx
index 0d53ab9bd3c1..616a4e2c03b3 100644
--- a/sd/source/ui/unoidl/unopool.cxx
+++ b/sd/source/ui/unoidl/unopool.cxx
@@ -2,7 +2,7 @@
/*************************************************************************
*
* 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
@@ -42,18 +42,18 @@ using namespace ::comphelper;
LanguageType SdUnoGetLanguage( const lang::Locale& rLocale )
{
- // empty language -> LANGUAGE_SYSTEM
+ // empty language -> LANGUAGE_SYSTEM
if ( rLocale.Language.getLength() == 0 )
return LANGUAGE_SYSTEM;
LanguageType eRet = MsLangId::convertLocaleToLanguage( rLocale );
if ( eRet == LANGUAGE_NONE )
- eRet = LANGUAGE_SYSTEM; //! or throw an exception?
+ eRet = LANGUAGE_SYSTEM; //! or throw an exception?
return eRet;
}
-class SdUnoDrawPool : public SvxUnoDrawPool
+class SdUnoDrawPool : public SvxUnoDrawPool
{
public:
SdUnoDrawPool( SdDrawDocument* pModel ) throw();
@@ -87,7 +87,7 @@ void SdUnoDrawPool::putAny( SfxItemPool* pPool, const comphelper::PropertyMapEnt
lang::Locale aLocale;
if( rValue >>= aLocale )
mpDrawModel->SetLanguage(
- SdUnoGetLanguage( aLocale ),
+ SdUnoGetLanguage( aLocale ),
(const USHORT)pEntry->mnHandle );
}
}
diff --git a/sd/source/ui/unoidl/unosrch.cxx b/sd/source/ui/unoidl/unosrch.cxx
index db0114ce5163..3eb2055446b9 100644
--- a/sd/source/ui/unoidl/unosrch.cxx
+++ b/sd/source/ui/unoidl/unosrch.cxx
@@ -2,7 +2,7 @@
/*************************************************************************
*
* 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
@@ -47,17 +47,17 @@
using namespace ::rtl;
using namespace ::com::sun::star;
-#define WID_SEARCH_BACKWARDS 0
-#define WID_SEARCH_CASE 1
-#define WID_SEARCH_WORDS 2
+#define WID_SEARCH_BACKWARDS 0
+#define WID_SEARCH_CASE 1
+#define WID_SEARCH_WORDS 2
const SfxItemPropertyMapEntry* ImplGetSearchPropertyMap()
{
static const SfxItemPropertyMapEntry aSearchPropertyMap_Impl[] =
{
- { MAP_CHAR_LEN(UNO_NAME_SEARCH_BACKWARDS), WID_SEARCH_BACKWARDS, &::getBooleanCppuType(), 0, 0 },
- { MAP_CHAR_LEN(UNO_NAME_SEARCH_CASE), WID_SEARCH_CASE, &::getBooleanCppuType(), 0, 0 },
- { MAP_CHAR_LEN(UNO_NAME_SEARCH_WORDS), WID_SEARCH_WORDS, &::getBooleanCppuType(), 0, 0 },
+ { MAP_CHAR_LEN(UNO_NAME_SEARCH_BACKWARDS), WID_SEARCH_BACKWARDS, &::getBooleanCppuType(), 0, 0 },
+ { MAP_CHAR_LEN(UNO_NAME_SEARCH_CASE), WID_SEARCH_CASE, &::getBooleanCppuType(), 0, 0 },
+ { MAP_CHAR_LEN(UNO_NAME_SEARCH_WORDS), WID_SEARCH_WORDS, &::getBooleanCppuType(), 0, 0 },
{ 0,0,0,0,0,0}
};
@@ -68,7 +68,7 @@ class SearchContext_impl
{
uno::Reference< drawing::XShapes > mxShapes;
sal_Int32 mnIndex;
- SearchContext_impl* mpParent;
+ SearchContext_impl* mpParent;
public:
SearchContext_impl( uno::Reference< drawing::XShapes > xShapes, SearchContext_impl* pParent = NULL )
@@ -91,7 +91,7 @@ public:
}
return xShape;
}
-
+
SearchContext_impl* getParent() const { return mpParent; }
};
@@ -123,7 +123,7 @@ sal_Int32 SAL_CALL SdUnoSearchReplaceShape::replaceAll( const uno::Reference< ut
if( pDescr == NULL )
return 0;
- sal_Int32 nFound = 0;
+ sal_Int32 nFound = 0;
uno::Reference< drawing::XShapes > xShapes;
uno::Reference< drawing::XShape > xShape;
@@ -627,7 +627,7 @@ uno::Reference< text::XTextRange > SdUnoSearchReplaceShape::Search( uno::Refere
xFound = (text::XText*)pRange;
pRange->SetSelection(aSelection);
-// pDescr->SetStartPos( nEndPos );
+// pDescr->SetStartPos( nEndPos );
}
}
else
diff --git a/sd/source/ui/unoidl/unowcntr.cxx b/sd/source/ui/unoidl/unowcntr.cxx
index ac1538c837e5..22aec517cb53 100644
--- a/sd/source/ui/unoidl/unowcntr.cxx
+++ b/sd/source/ui/unoidl/unowcntr.cxx
@@ -2,7 +2,7 @@
/*************************************************************************
*
* 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
@@ -78,7 +78,7 @@ void SvUnoWeakContainer::insert( uno::WeakReference< uno::XInterface > xRef ) th
mpList->Insert( new uno::WeakReference< uno::XInterface >( xRef ) );
}
-/** searches the container for a ref that returns true on the given
+/** searches the container for a ref that returns true on the given
search function
*/
sal_Bool SvUnoWeakContainer::findRef( uno::WeakReference< uno::XInterface >& rRef, void* pSearchData, weakref_searchfunc pSearchFunc )
diff --git a/sd/source/ui/unoidl/unowcntr.hxx b/sd/source/ui/unoidl/unowcntr.hxx
index e7b23267d51c..f0b5a74f0473 100644
--- a/sd/source/ui/unoidl/unowcntr.hxx
+++ b/sd/source/ui/unoidl/unowcntr.hxx
@@ -2,7 +2,7 @@
/*************************************************************************
*
* 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
@@ -38,19 +38,19 @@ class WeakRefList;
class SvUnoWeakContainer
{
private:
- WeakRefList* mpList;
+ WeakRefList* mpList;
public:
SvUnoWeakContainer() throw();
~SvUnoWeakContainer() throw();
/** inserts the given ref into this container */
- void insert( ::com::sun::star::uno::WeakReference< ::com::sun::star::uno::XInterface > xRef ) throw();
+ void insert( ::com::sun::star::uno::WeakReference< ::com::sun::star::uno::XInterface > xRef ) throw();
- /** searches the container for a ref that returns true on the given
+ /** searches the container for a ref that returns true on the given
search function
*/
- sal_Bool findRef( ::com::sun::star::uno::WeakReference< ::com::sun::star::uno::XInterface >& rRef, void* pSearchData, weakref_searchfunc pSearchFunc );
+ sal_Bool findRef( ::com::sun::star::uno::WeakReference< ::com::sun::star::uno::XInterface >& rRef, void* pSearchData, weakref_searchfunc pSearchFunc );
void dispose();
};
diff --git a/sd/source/ui/view/DocumentRenderer.cxx b/sd/source/ui/view/DocumentRenderer.cxx
index 1165b5bb3c2e..5b6923c902a0 100644
--- a/sd/source/ui/view/DocumentRenderer.cxx
+++ b/sd/source/ui/view/DocumentRenderer.cxx
@@ -2,7 +2,7 @@
/*************************************************************************
*
* 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
@@ -92,7 +92,7 @@ namespace {
maSlidesPerPage(rSlidesPerPage)
{
}
-
+
bool IsWarningOrientation (void) const
{
return GetBoolValue(NULL, true);
@@ -138,7 +138,7 @@ namespace {
{
return GetBoolValue("PageContentType", sal_Int32(0));
}
-
+
bool IsHandout (void) const
{
return GetBoolValue("PageContentType", sal_Int32(1));
@@ -282,7 +282,7 @@ namespace {
{
return mbIsShapeSelection;
}
-
+
/** Call with a 0 based page index.
*/
bool IsSelected (const sal_Int32 nIndex) const
@@ -296,7 +296,7 @@ namespace {
else
return false;
}
-
+
private:
const bool mbAreAllPagesSelected;
const bool mbIsShapeSelection;
@@ -326,7 +326,7 @@ namespace {
maSelection(rsPrinterSelection, pView ? pView->getCurrentPage() : NULL),
mbPrintMarkedOnly(maSelection.IsMarkedOnly())
{}
-
+
const Printer* mpPrinter;
ULONG mnDrawMode;
::rtl::OUString msTimeDate;
@@ -417,7 +417,7 @@ namespace {
maProperties.size());
}
}
-
+
::std::vector<sal_Int32> GetSlidesPerPage (void) const
{
return maSlidesPerPage;
@@ -434,7 +434,7 @@ namespace {
SvtModuleOptions aOpt;
String aAppGroupname( String( SdResId( _STR_IMPRESS_PRINT_UI_GROUP_NAME ) ) );
aAppGroupname.SearchAndReplace( String( RTL_CONSTASCII_USTRINGPARAM( "%s" ) ),
- aOpt.GetModuleName( mbImpress ? SvtModuleOptions::E_SIMPRESS : SvtModuleOptions::E_SDRAW ) );
+ aOpt.GetModuleName( mbImpress ? SvtModuleOptions::E_SIMPRESS : SvtModuleOptions::E_SDRAW ) );
AddDialogControl( vcl::PrinterOptionsHelper::getGroupControlOpt(
aAppGroupname,
rtl::OUString()
@@ -449,7 +449,7 @@ namespace {
rtl::OUString(),
aPrintOpt )
);
-
+
AddDialogControl( vcl::PrinterOptionsHelper::getChoiceControlOpt(
String( SdResId( _STR_IMPRESS_PRINT_UI_CONTENT ) ),
CreateChoice(_STR_IMPRESS_PRINT_UI_CONTENT_HELP),
@@ -459,9 +459,9 @@ namespace {
OUString( RTL_CONSTASCII_USTRINGPARAM( "List" ) )
)
);
-
+
vcl::PrinterOptionsHelper::UIControlOptions
- aContentOpt( OUString( RTL_CONSTASCII_USTRINGPARAM( "PageContentType" ) ), 1 );
+ aContentOpt( OUString( RTL_CONSTASCII_USTRINGPARAM( "PageContentType" ) ), 1 );
AddDialogControl( vcl::PrinterOptionsHelper::getChoiceControlOpt(
String( SdResId( _STR_IMPRESS_PRINT_UI_SLIDESPERPAGE ) ),
CreateChoice(_STR_IMPRESS_PRINT_UI_SLIDESPERPAGE_CHOICES_HELP),
@@ -472,9 +472,9 @@ namespace {
aContentOpt
)
);
-
+
vcl::PrinterOptionsHelper::UIControlOptions
- aSlidesPerPageOpt( OUString( RTL_CONSTASCII_USTRINGPARAM( "SlidesPerPage" ) ), -1, sal_True );
+ aSlidesPerPageOpt( OUString( RTL_CONSTASCII_USTRINGPARAM( "SlidesPerPage" ) ), -1, sal_True );
AddDialogControl( vcl::PrinterOptionsHelper::getChoiceControlOpt(
String( SdResId( _STR_IMPRESS_PRINT_UI_ORDER ) ),
CreateChoice(_STR_IMPRESS_PRINT_UI_ORDER_CHOICES_HELP),
@@ -491,7 +491,7 @@ namespace {
if( mbImpress )
- {
+ {
AddDialogControl( vcl::PrinterOptionsHelper::getBoolControlOpt(
String( SdResId(_STR_IMPRESS_PRINT_UI_IS_PRINT_NAME) ),
String( SdResId(_STR_IMPRESS_PRINT_UI_IS_PRINT_NAME_HELP) ),
@@ -549,7 +549,7 @@ namespace {
{
// FIXME: additional dependency on PrintProspect = false
vcl::PrinterOptionsHelper::UIControlOptions
- aPageOptionsOpt( OUString( RTL_CONSTASCII_USTRINGPARAM( "PageContentType" ) ), 0 );
+ aPageOptionsOpt( OUString( RTL_CONSTASCII_USTRINGPARAM( "PageContentType" ) ), 0 );
AddDialogControl( vcl::PrinterOptionsHelper::getChoiceControlOpt(
rtl::OUString(),
CreateChoice(_STR_IMPRESS_PRINT_UI_PAGE_OPTIONS_CHOICES_HELP),
@@ -564,7 +564,7 @@ namespace {
else
{
vcl::PrinterOptionsHelper::UIControlOptions
- aPageOptionsOpt( OUString( RTL_CONSTASCII_USTRINGPARAM( "PrintProspect" ) ), sal_False );
+ aPageOptionsOpt( OUString( RTL_CONSTASCII_USTRINGPARAM( "PrintProspect" ) ), sal_False );
AddDialogControl( vcl::PrinterOptionsHelper::getChoiceControlOpt(
rtl::OUString(),
CreateChoice(_STR_IMPRESS_PRINT_UI_PAGE_OPTIONS_CHOICES_HELP),
@@ -578,7 +578,7 @@ namespace {
}
vcl::PrinterOptionsHelper::UIControlOptions aBrochureOpt;
- aBrochureOpt.maGroupHint = OUString( RTL_CONSTASCII_USTRINGPARAM( "LayoutPage" ) );
+ aBrochureOpt.maGroupHint = OUString( RTL_CONSTASCII_USTRINGPARAM( "LayoutPage" ) );
AddDialogControl( vcl::PrinterOptionsHelper::getSubgroupControlOpt(
String( SdResId(_STR_IMPRESS_PRINT_UI_PAGE_SIDES) ), rtl::OUString(),
aBrochureOpt ) );
@@ -594,8 +594,8 @@ namespace {
);
vcl::PrinterOptionsHelper::UIControlOptions
- aIncludeOpt( OUString( RTL_CONSTASCII_USTRINGPARAM( "PrintProspect" ) ), -1, sal_False );
- aIncludeOpt.maGroupHint = OUString( RTL_CONSTASCII_USTRINGPARAM( "LayoutPage" ) );
+ aIncludeOpt( OUString( RTL_CONSTASCII_USTRINGPARAM( "PrintProspect" ) ), -1, sal_False );
+ aIncludeOpt.maGroupHint = OUString( RTL_CONSTASCII_USTRINGPARAM( "LayoutPage" ) );
AddDialogControl( vcl::PrinterOptionsHelper::getChoiceControlOpt(
String( SdResId(_STR_IMPRESS_PRINT_UI_BROCHURE_INCLUDE) ),
CreateChoice(_STR_IMPRESS_PRINT_UI_BROCHURE_INCLUDE_LIST_HELP),
@@ -622,12 +622,12 @@ namespace {
vcl::PrinterOptionsHelper::UIControlOptions aPrintRangeOpt;
aPrintRangeOpt.mbInternalOnly = sal_True;
aPrintRangeOpt.maGroupHint = rtl::OUString( RTL_CONSTASCII_USTRINGPARAM( "PrintRange" ) );
- AddDialogControl( vcl::PrinterOptionsHelper::getSubgroupControlOpt(
+ AddDialogControl( vcl::PrinterOptionsHelper::getSubgroupControlOpt(
String( SdResId( _STR_IMPRESS_PRINT_UI_PAGE_RANGE ) ),
rtl::OUString(),
aPrintRangeOpt )
);
-
+
// create a choice for the content to create
rtl::OUString aPrintRangeName( RTL_CONSTASCII_USTRINGPARAM( "PrintContent" ) );
AddDialogControl( vcl::PrinterOptionsHelper::getChoiceControlOpt( rtl::OUString(),
@@ -645,7 +645,7 @@ namespace {
rtl::OUString( RTL_CONSTASCII_USTRINGPARAM( "PageRange" ) ),
rtl::OUString(),
aPageRangeOpt )
- );
+ );
FreeResource();
}
@@ -720,7 +720,7 @@ namespace {
}
virtual ~PrinterPage (void) {}
-
+
virtual void Print (
Printer& rPrinter,
SdDrawDocument& rDocument,
@@ -733,7 +733,7 @@ namespace {
ULONG GetDrawMode (void) const { return mnDrawMode; }
Orientation GetOrientation (void) const { return meOrientation; }
USHORT GetPaperTray (void) const { return mnPaperTray; }
-
+
protected:
const PageKind mePageKind;
const MapMode maMap;
@@ -797,7 +797,7 @@ namespace {
msPageString,
maPageStringOffset);
}
-
+
private:
const USHORT mnPageIndex;
};
@@ -847,7 +847,7 @@ namespace {
const Size aPageSize (pPageToPrint->GetSize());
const Size aPrintSize (rPrinter.GetOutputSize());
-
+
const sal_Int32 nPageWidth (aPageSize.Width() + mnGap
- pPageToPrint->GetLftBorder() - pPageToPrint->GetRgtBorder());
const sal_Int32 nPageHeight (aPageSize.Height() + mnGap
@@ -882,7 +882,7 @@ namespace {
msPageString,
maPageStringOffset);
}
-
+
private:
const USHORT mnPageIndex;
const sal_Int32 mnGap;
@@ -915,7 +915,7 @@ namespace {
}
virtual ~BookletPrinterPage (void) {}
-
+
virtual void Print (
Printer& rPrinter,
SdDrawDocument& rDocument,
@@ -957,7 +957,7 @@ namespace {
rPrintableLayers);
}
}
-
+
private:
const USHORT mnFirstPageIndex;
const USHORT mnSecondPageIndex;
@@ -988,7 +988,7 @@ namespace {
maPageIndices(rPageIndices)
{
}
-
+
virtual void Print (
Printer& rPrinter,
SdDrawDocument& rDocument,
@@ -1030,7 +1030,7 @@ namespace {
SdrPageObj* pPageObj = (*aPageObjIter++);
pPageObj->SetReferencedPage(rDocument.GetSdPage(*iPageIndex, PK_STANDARD));
}
-
+
// if there are more page objects than pages left, set the rest to invisible
int nHangoverCount = 0;
while (aPageObjIter != aHandoutPageObjects.end())
@@ -1104,7 +1104,7 @@ namespace {
}
}
-
+
private:
const USHORT mnHandoutPageIndex;
const ::std::vector<USHORT> maPageIndices;
@@ -1162,7 +1162,7 @@ namespace {
const USHORT nSavedOutlMode (pOutliner->GetMode());
const BOOL bSavedUpdateMode (pOutliner->GetUpdateMode());
const Size aSavedPaperSize (pOutliner->GetPaperSize());
-
+
pOutliner->Init(OUTLINERMODE_OUTLINEVIEW);
pOutliner->SetPaperSize(aOutRect.GetSize());
pOutliner->SetUpdateMode(TRUE);
@@ -1187,7 +1187,7 @@ namespace {
::boost::scoped_ptr<OutlinerParaObject> mpParaObject;
};
}
-
+
//===== DocumentRenderer::Implementation ======================================
@@ -1213,8 +1213,8 @@ public:
}
-
-
+
+
virtual ~Implementation (void)
{
EndListening(mrBase);
@@ -1222,7 +1222,7 @@ public:
-
+
virtual void Notify (SfxBroadcaster& rBroadcaster, const SfxHint& rHint)
{
const SfxSimpleHint* pSimpleHint = dynamic_cast<const SfxSimpleHint*>(&rHint);
@@ -1235,7 +1235,7 @@ public:
}
-
+
/** Process the sequence of properties given to one of the XRenderable
methods.
*/
@@ -1244,7 +1244,7 @@ public:
OSL_ASSERT(!mbIsDisposed);
if (mbIsDisposed)
return;
-
+
bool bIsValueChanged = processProperties( rOptions );
// The RenderDevice property is handled specially: its value is
@@ -1268,7 +1268,7 @@ public:
}
-
+
/** Return the number of pages that are to be printed.
*/
sal_Int32 GetPrintPageCount (void)
@@ -1289,7 +1289,7 @@ public:
const css::uno::Sequence<css::beans::PropertyValue>& rOptions)
{
(void)rOptions;
-
+
css::uno::Sequence<css::beans::PropertyValue> aProperties (3);
aProperties[0].Name = A2S("ExtraPrintUIOptions");
@@ -1297,7 +1297,7 @@ public:
aProperties[1].Name = A2S("PageSize");
aProperties[1].Value <<= maPrintSize;
-
+
// FIXME: is this always true ?
aProperties[2].Name = A2S("PageIncludesNonprintableArea");
aProperties[2].Value = makeAny( sal_True );
@@ -1306,7 +1306,7 @@ public:
}
-
+
/** Print one of the prepared pages.
*/
@@ -1317,28 +1317,28 @@ public:
return;
Printer& rPrinter (*mpPrinter);
-
+
::boost::shared_ptr<ViewShell> pViewShell (mrBase.GetMainViewShell());
if ( ! pViewShell)
return;
-
+
SdDrawDocument* pDocument = pViewShell->GetDoc();
OSL_ASSERT(pDocument!=NULL);
-
+
::boost::shared_ptr<DrawViewShell> pDrawViewShell(
::boost::dynamic_pointer_cast<DrawViewShell>(mrBase.GetMainViewShell()));
if ( ! mpPrintView)
- mpPrintView.reset(new DrawView(mrBase.GetDocShell(), &rPrinter, pDrawViewShell.get()));
+ mpPrintView.reset(new DrawView(mrBase.GetDocShell(), &rPrinter, NULL));
if (nIndex<0 || sal::static_int_cast<sal_uInt32>(nIndex)>=maPrinterPages.size())
return;
-
+
const ::boost::shared_ptr<PrinterPage> pPage (maPrinterPages[nIndex]);
OSL_ASSERT(pPage);
if ( ! pPage)
return;
-
+
const Orientation eSavedOrientation (rPrinter.GetOrientation());
const ULONG nSavedDrawMode (rPrinter.GetDrawMode());
const MapMode aSavedMapMode (rPrinter.GetMapMode());
@@ -1389,7 +1389,7 @@ public:
-
+
private:
ViewShellBase& mrBase;
bool mbIsDisposed;
@@ -1439,12 +1439,12 @@ private:
{
maPrintSize = awt::Size(aPaperSize.Width(), aPaperSize.Height());
}
-
+
return true;
}
-
+
/** Top most method for preparing printer pages. In this and the other
Prepare... methods the various special cases are detected and
handled.
@@ -1469,7 +1469,7 @@ private:
aMap.SetMapUnit(MAP_100TH_MM);
aInfo.maMap = aMap;
mpPrinter->SetMapMode(aMap);
-
+
::Outliner& rOutliner = mrBase.GetDocument()->GetDrawOutliner();
const ULONG nSavedControlWord (rOutliner.GetControlWord());
ULONG nCntrl = nSavedControlWord;
@@ -1487,7 +1487,7 @@ private:
aInfo.msTimeDate += GetSdrGlobalData().GetLocaleData()->getDate( Date() );
aInfo.msTimeDate += ::rtl::OUString((sal_Unicode)' ');
}
-
+
if (mpOptions->IsTime())
aInfo.msTimeDate += GetSdrGlobalData().GetLocaleData()->getTime( Time(), FALSE, FALSE );
aInfo.maPrintSize = aInfo.mpPrinter->GetOutputSize();
@@ -1502,13 +1502,13 @@ private:
| DRAWMODE_BLACKTEXT | DRAWMODE_GRAYBITMAP
| DRAWMODE_GRAYGRADIENT;
break;
-
+
case 2:
aInfo.mnDrawMode = DRAWMODE_BLACKLINE | DRAWMODE_BLACKTEXT
| DRAWMODE_WHITEFILL | DRAWMODE_GRAYBITMAP
| DRAWMODE_WHITEGRADIENT;
break;
-
+
default:
aInfo.mnDrawMode = DRAWMODE_DEFAULT;
}
@@ -1567,7 +1567,7 @@ private:
SdDrawDocument& rModel = *mrBase.GetDocument();
// first, prepare handout page (not handout master)
-
+
SdPage* pHandout = rModel.GetSdPage(0, PK_HANDOUT);
if( !pHandout )
return;
@@ -1575,7 +1575,7 @@ private:
// delete all previous shapes from handout page
while( pHandout->GetObjCount() )
{
- SdrObject* pObj = pHandout->NbcRemoveObject(0);
+ SdrObject* pObj = pHandout->NbcRemoveObject(0);
if( pObj )
SdrObject::Free( pObj );
}
@@ -1589,11 +1589,11 @@ private:
while( iter != aAreas.end() )
{
pHandout->NbcInsertObject( new SdrPageObj((*iter++)) );
-
+
if( bDrawLines && (iter != aAreas.end()) )
{
Rectangle aRect( (*iter++) );
-
+
basegfx::B2DPolygon aPoly;
aPoly.insert(0, basegfx::B2DPoint( aRect.Left(), aRect.Top() ) );
aPoly.insert(1, basegfx::B2DPoint( aRect.Right(), aRect.Top() ) );
@@ -1675,8 +1675,8 @@ private:
}
-
-
+
+
/** Prepare the outline of the document for printing. There is no fixed
number of slides whose outline data is put onto one printer page.
If the current printer page has enough room for the outline of the
@@ -1691,7 +1691,7 @@ private:
aMap.SetScaleX(Fraction(1,2));
aMap.SetScaleY(Fraction(1,2));
mpPrinter->SetMapMode(aMap);
-
+
Rectangle aOutRect(aPageOfs, rInfo.mpPrinter->GetOutputSize());
if( aOutRect.GetWidth() > aOutRect.GetHeight() )
{
@@ -1731,7 +1731,7 @@ private:
++nIndex;
if (pPage == NULL)
continue;
-
+
SdrTextObj* pTextObj = NULL;
sal_uInt32 nObj (0);
@@ -1784,7 +1784,7 @@ private:
{
pOutliner->AddText(*(pTextObj->GetOutlinerParaObject()));
}
-
+
if (bSubTitle )
{
const sal_Int32 nParaCount2 (pOutliner->GetParagraphCount());
@@ -1826,7 +1826,7 @@ private:
rInfo.meOrientation,
rInfo.mpPrinter->GetPaperBin())));
}
-
+
pOutliner->SetRefMapMode(aSavedMapMode);
pOutliner->SetUpdateMode(bSavedUpdateMode);
pOutliner->SetPaperSize(aSavedPaperSize);
@@ -1834,7 +1834,7 @@ private:
}
-
+
/** Prepare handout pages for slides that are to be printed.
*/
@@ -1843,7 +1843,7 @@ private:
SdDrawDocument* pDocument = mrBase.GetDocument();
OSL_ASSERT(pDocument != NULL);
SdPage& rHandoutPage (*pDocument->GetSdPage(0, PK_HANDOUT));
-
+
const bool bScalePage (mpOptions->IsPageSize());
USHORT nPaperBin;
@@ -1851,7 +1851,7 @@ private:
nPaperBin = rHandoutPage.GetPaperBin();
else
nPaperBin = rInfo.mpPrinter->GetPaperBin();
-
+
// Change orientation?
SdPage& rMaster (dynamic_cast<SdPage&>(rHandoutPage.TRG_GetMasterPage()));
rInfo.meOrientation = rMaster.GetOrientation();
@@ -1882,10 +1882,10 @@ private:
const Size aPageSize (rHandoutPage.GetSize());
const Size aPrintSize (rInfo.mpPrinter->GetOutputSize());
- const double fHorz = (double) aPrintSize.Width() / aPageSize.Width();
+ const double fHorz = (double) aPrintSize.Width() / aPageSize.Width();
const double fVert = (double) aPrintSize.Height() / aPageSize.Height();
- Fraction aFract;
+ Fraction aFract;
if ( fHorz < fVert )
aFract = Fraction(aPrintSize.Width(), aPageSize.Width());
else
@@ -1962,7 +1962,7 @@ private:
PrintInfo& rInfo)
{
OSL_ASSERT(rInfo.mpPrinter != NULL);
-
+
// Fill in page kind specific data.
SdDrawDocument* pDocument = mrBase.GetMainViewShell()->GetDoc();
if (pDocument->GetSdPageCount(ePageKind) == 0)
@@ -1972,7 +1972,7 @@ private:
if ( ! SetupPaperOrientation(ePageKind, rInfo))
return;
-
+
MapMode aMap (rInfo.maMap);
// aMap.SetOrigin(Point() - rInfo.mpPrinter->GetPageOffset());
rInfo.maMap = aMap;
@@ -2006,14 +2006,14 @@ private:
SdPage* pPage = GetFilteredPage(nIndex, ePageKind, rInfo);
if (pPage == NULL)
continue;
-
+
MapMode aMap (rInfo.maMap);
// Kann sich die Seitengroesse geaendert haben?
const Size aPageSize = pPage->GetSize();
if (mpOptions->IsPageSize())
{
- const double fHorz ((double) rInfo.maPrintSize.Width() / aPageSize.Width());
+ const double fHorz ((double) rInfo.maPrintSize.Width() / aPageSize.Width());
const double fVert ((double) rInfo.maPrintSize.Height() / aPageSize.Height());
Fraction aFract;
@@ -2069,7 +2069,7 @@ private:
}
-
+
/** Put two slides on one printer page.
*/
@@ -2220,7 +2220,7 @@ private:
rInfo.mnDrawMode,
rInfo.meOrientation,
nPaperBin)));
- }
+ }
@@ -2241,7 +2241,7 @@ private:
nPaperBin = rPage.GetPaperBin();
else
nPaperBin = rInfo.mpPrinter->GetPaperBin();
-
+
// For pages larger then the printable area there
// are three options:
// 1. Scale down to the page to the printable area.
@@ -2255,7 +2255,7 @@ private:
if (bScalePage || bCutPage)
{
// Handle 1 and 2.
-
+
// if CutPage is set then do not move it, otherwise move the
// scaled page to printable area
maPrinterPages.push_back(
@@ -2322,7 +2322,7 @@ DocumentRenderer::DocumentRenderer (ViewShellBase& rBase)
mpImpl(new Implementation(rBase))
{
}
-
+
@@ -2344,7 +2344,7 @@ sal_Int32 SAL_CALL DocumentRenderer::getRendererCount (
mpImpl->ProcessProperties(rOptions);
return mpImpl->GetPrintPageCount();
}
-
+
@@ -2359,7 +2359,7 @@ Sequence<beans::PropertyValue> SAL_CALL DocumentRenderer::getRenderer (
mpImpl->ProcessProperties(rOptions);
return mpImpl->GetProperties(rOptions);
}
-
+
diff --git a/sd/source/ui/view/DocumentRenderer.hrc b/sd/source/ui/view/DocumentRenderer.hrc
index 3dd57429dd13..25377f1a1217 100644
--- a/sd/source/ui/view/DocumentRenderer.hrc
+++ b/sd/source/ui/view/DocumentRenderer.hrc
@@ -1,7 +1,7 @@
/*************************************************************************
*
* 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
diff --git a/sd/source/ui/view/DocumentRenderer.src b/sd/source/ui/view/DocumentRenderer.src
index abd82ea0d397..7ab0643c7fa0 100755
--- a/sd/source/ui/view/DocumentRenderer.src
+++ b/sd/source/ui/view/DocumentRenderer.src
@@ -1,7 +1,7 @@
/*************************************************************************
*
* 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
@@ -62,7 +62,7 @@ Resource _STR_IMPRESS_PRINT_UI_OPTIONS
< "Handouts" ; > ;
< "Notes" ; > ;
< "Outline" ; > ;
- };
+ };
};
String _STR_IMPRESS_PRINT_UI_SLIDESPERPAGE
{
@@ -79,7 +79,7 @@ Resource _STR_IMPRESS_PRINT_UI_OPTIONS
< "4" ; > ;
< "6" ; > ;
< "9" ; > ;
- };
+ };
};
StringArray _STR_IMPRESS_PRINT_UI_SLIDESPERPAGE_CHOICES_HELP
{
@@ -99,7 +99,7 @@ Resource _STR_IMPRESS_PRINT_UI_OPTIONS
{
< "Left to right, then down" ; > ;
< "Top to bottom, then right" ; > ;
- };
+ };
};
StringArray _STR_IMPRESS_PRINT_UI_ORDER_CHOICES_HELP
{
@@ -108,7 +108,7 @@ Resource _STR_IMPRESS_PRINT_UI_OPTIONS
< "Specify how to arrange slides on the printed page." ; > ;
< "Arrange slides horizontally" ; > ;
< "Arrange slides vertically" ; > ;
- };
+ };
};
String _STR_IMPRESS_PRINT_UI_INCLUDE_CONTENT
{
@@ -162,7 +162,7 @@ Resource _STR_IMPRESS_PRINT_UI_OPTIONS
< "Original colors" ; > ;
< "Grayscale" ; > ;
< "Black & white" ; > ;
- };
+ };
};
StringArray _STR_IMPRESS_PRINT_UI_QUALITY_CHOICES_HELP
{
@@ -172,7 +172,7 @@ Resource _STR_IMPRESS_PRINT_UI_OPTIONS
< "Specifies that you want to print in original colors." ; > ;
< "Specifies that you want to print colors as grayscale." ; > ;
< "Specifies that you want to print in black and white." ; > ;
- };
+ };
};
String _STR_IMPRESS_PRINT_UI_PAGE_OPTIONS
@@ -187,7 +187,7 @@ Resource _STR_IMPRESS_PRINT_UI_OPTIONS
< "Fit to printable page" ; > ;
< "Distribute on multiple sheets of paper" ; > ;
< "Tile sheet of paper with repeated slides" ; > ;
- };
+ };
};
StringArray _STR_IMPRESS_PRINT_UI_PAGE_OPTIONS_CHOICES_DRAW
{
@@ -197,7 +197,7 @@ Resource _STR_IMPRESS_PRINT_UI_OPTIONS
< "Fit to printable page" ; > ;
< "Distribute on multiple sheets of paper" ; > ;
< "Tile sheet of paper with repeated pages" ; > ;
- };
+ };
};
StringArray _STR_IMPRESS_PRINT_UI_PAGE_OPTIONS_CHOICES_HELP
{
@@ -207,7 +207,7 @@ Resource _STR_IMPRESS_PRINT_UI_OPTIONS
< "Specifies that you do not want to further scale pages when printing." ; > ;
< "Specifies whether to scale down objects that are beyond the margins of the current printer so they fit on the paper in the printer." ; > ;
< "Specifies that pages are to be printed in tiled format. If the pages or slides are smaller than the paper, several pages or slides will be printed on one page of paper." ; > ;
- };
+ };
};
String _STR_IMPRESS_PRINT_UI_BROCHURE
{
@@ -236,7 +236,7 @@ Resource _STR_IMPRESS_PRINT_UI_OPTIONS
< "All pages" ; > ;
< "Front sides / right pages" ; > ;
< "Back sides / left pages" ; > ;
- };
+ };
};
StringArray _STR_IMPRESS_PRINT_UI_BROCHURE_INCLUDE_LIST_HELP
{
@@ -245,7 +245,7 @@ Resource _STR_IMPRESS_PRINT_UI_OPTIONS
< "Print all pages of a brochure." ; > ;
< "Print only front pages of a brochure." ; > ;
< "Print only back pages of a brochure." ; > ;
- };
+ };
};
String _STR_IMPRESS_PRINT_UI_PAPER_TRAY_GROUP
diff --git a/sd/source/ui/view/FormShellManager.cxx b/sd/source/ui/view/FormShellManager.cxx
index f5890b14fffd..2bd3d954165a 100644
--- a/sd/source/ui/view/FormShellManager.cxx
+++ b/sd/source/ui/view/FormShellManager.cxx
@@ -2,7 +2,7 @@
/*************************************************************************
*
* 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
@@ -97,7 +97,7 @@ FormShellManager::~FormShellManager (void)
ViewShell* pShell = mrBase.GetMainViewShell().get();
if (pShell != NULL)
mrBase.GetViewShellManager()->RemoveSubShellFactory(pShell,mpSubShellFactory);
- }
+ }
}
@@ -114,7 +114,7 @@ void FormShellManager::SetFormShell (FmFormShell* pFormShell)
EndListening(*mpFormShell);
mpFormShell->SetView(NULL);
}
-
+
mpFormShell = pFormShell;
// Connect to the new form shell.
diff --git a/sd/source/ui/view/GraphicObjectBar.cxx b/sd/source/ui/view/GraphicObjectBar.cxx
index c4f0dbb8d380..30e37d35c270 100644
--- a/sd/source/ui/view/GraphicObjectBar.cxx
+++ b/sd/source/ui/view/GraphicObjectBar.cxx
@@ -2,7 +2,7 @@
/*************************************************************************
*
* 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
@@ -85,7 +85,7 @@ GraphicObjectBar::GraphicObjectBar (
ViewShell* pSdViewShell,
::sd::View* pSdView )
: SfxShell (pSdViewShell->GetViewShell()),
- mpView ( pSdView ),
+ mpView ( pSdView ),
mpViewSh ( pSdViewShell ),
nMappedSlotFilter ( SID_GRFFILTER_INVERT )
{
@@ -128,8 +128,8 @@ void GraphicObjectBar::Execute( SfxRequest& rReq )
void GraphicObjectBar::GetFilterState( SfxItemSet& rSet )
{
- const SdrMarkList& rMarkList = mpView->GetMarkedObjectList();
- BOOL bEnable = FALSE;
+ const SdrMarkList& rMarkList = mpView->GetMarkedObjectList();
+ BOOL bEnable = FALSE;
if( rMarkList.GetMarkCount() == 1 )
{
@@ -157,15 +157,15 @@ void GraphicObjectBar::ExecuteFilter( SfxRequest& rReq )
{
GraphicObject aFilterObj( ( (SdrGrafObj*) pObj )->GetGraphicObject() );
- if( SVX_GRAPHICFILTER_ERRCODE_NONE ==
+ if( SVX_GRAPHICFILTER_ERRCODE_NONE ==
SvxGraphicFilter::ExecuteGrfFilterSlot( rReq, aFilterObj ) )
{
SdrPageView* pPageView = mpView->GetSdrPageView();
if( pPageView )
{
- SdrGrafObj* pFilteredObj = (SdrGrafObj*) pObj->Clone();
- String aStr( mpView->GetDescriptionOfMarkedObjects() );
+ SdrGrafObj* pFilteredObj = (SdrGrafObj*) pObj->Clone();
+ String aStr( mpView->GetDescriptionOfMarkedObjects() );
aStr.Append( sal_Unicode(' ') );
aStr.Append( String( SdResId( STR_UNDO_GRAFFILTER ) ) );
diff --git a/sd/source/ui/view/GraphicViewShellBase.cxx b/sd/source/ui/view/GraphicViewShellBase.cxx
index f16fff607cbe..3c09a5d47bc8 100644
--- a/sd/source/ui/view/GraphicViewShellBase.cxx
+++ b/sd/source/ui/view/GraphicViewShellBase.cxx
@@ -2,7 +2,7 @@
/*************************************************************************
*
* 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
@@ -79,7 +79,7 @@ void GraphicViewShellBase::InitFactory()
GraphicViewShellBase::GraphicViewShellBase (
- SfxViewFrame* _pFrame,
+ SfxViewFrame* _pFrame,
SfxViewShell* pOldShell)
: ViewShellBase (_pFrame, pOldShell)
{
diff --git a/sd/source/ui/view/ImpressViewShellBase.cxx b/sd/source/ui/view/ImpressViewShellBase.cxx
index 9e97d198d3db..840b6dcc3c53 100644
--- a/sd/source/ui/view/ImpressViewShellBase.cxx
+++ b/sd/source/ui/view/ImpressViewShellBase.cxx
@@ -2,7 +2,7 @@
/*************************************************************************
*
* 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
@@ -79,7 +79,7 @@ void ImpressViewShellBase::InitFactory()
ImpressViewShellBase::ImpressViewShellBase (
- SfxViewFrame* _pFrame,
+ SfxViewFrame* _pFrame,
SfxViewShell* pOldShell)
: ViewShellBase (_pFrame, pOldShell)
{
diff --git a/sd/source/ui/view/MediaObjectBar.cxx b/sd/source/ui/view/MediaObjectBar.cxx
index d2d9bf767fa2..0c34eee8d050 100644
--- a/sd/source/ui/view/MediaObjectBar.cxx
+++ b/sd/source/ui/view/MediaObjectBar.cxx
@@ -2,7 +2,7 @@
/*************************************************************************
*
* 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
@@ -98,15 +98,15 @@ MediaObjectBar::~MediaObjectBar()
void MediaObjectBar::GetState( SfxItemSet& rSet )
{
- SfxWhichIter aIter( rSet );
- USHORT nWhich = aIter.FirstWhich();
+ SfxWhichIter aIter( rSet );
+ USHORT nWhich = aIter.FirstWhich();
while( nWhich )
{
- if( SID_AVMEDIA_TOOLBOX == nWhich )
+ if( SID_AVMEDIA_TOOLBOX == nWhich )
{
SdrMarkList* pMarkList = new SdrMarkList( mpView->GetMarkedObjectList() );
- bool bDisable = true;
+ bool bDisable = true;
if( 1 == pMarkList->GetMarkCount() )
{
@@ -115,7 +115,7 @@ void MediaObjectBar::GetState( SfxItemSet& rSet )
if( pObj && pObj->ISA( SdrMediaObj ) )
{
::avmedia::MediaItem aItem( SID_AVMEDIA_TOOLBOX );
-
+
static_cast< sdr::contact::ViewContactOfSdrMediaObj& >( pObj->GetViewContact() ).updateMediaItem( aItem );
rSet.Put( aItem );
bDisable = false;
@@ -124,7 +124,7 @@ void MediaObjectBar::GetState( SfxItemSet& rSet )
if( bDisable )
rSet.DisableItem( SID_AVMEDIA_TOOLBOX );
-
+
delete pMarkList;
}
@@ -136,14 +136,14 @@ void MediaObjectBar::GetState( SfxItemSet& rSet )
void MediaObjectBar::Execute( SfxRequest& rReq )
{
- if( SID_AVMEDIA_TOOLBOX == rReq.GetSlot() )
+ if( SID_AVMEDIA_TOOLBOX == rReq.GetSlot() )
{
- const SfxItemSet* pArgs = rReq.GetArgs();
- const SfxPoolItem* pItem;
-
+ const SfxItemSet* pArgs = rReq.GetArgs();
+ const SfxPoolItem* pItem;
+
if( !pArgs || ( SFX_ITEM_SET != pArgs->GetItemState( SID_AVMEDIA_TOOLBOX, FALSE, &pItem ) ) )
pItem = NULL;
-
+
if( pItem )
{
SdrMarkList* pMarkList = new SdrMarkList( mpView->GetMarkedObjectList() );
@@ -154,7 +154,7 @@ void MediaObjectBar::Execute( SfxRequest& rReq )
if( pObj && pObj->ISA( SdrMediaObj ) )
{
- static_cast< sdr::contact::ViewContactOfSdrMediaObj& >( pObj->GetViewContact() ).executeMediaItem(
+ static_cast< sdr::contact::ViewContactOfSdrMediaObj& >( pObj->GetViewContact() ).executeMediaItem(
static_cast< const ::avmedia::MediaItem& >( *pItem ) );
}
}
diff --git a/sd/source/ui/view/OutlineViewShellBase.cxx b/sd/source/ui/view/OutlineViewShellBase.cxx
index 682344195299..57fb37ea7343 100644
--- a/sd/source/ui/view/OutlineViewShellBase.cxx
+++ b/sd/source/ui/view/OutlineViewShellBase.cxx
@@ -2,7 +2,7 @@
/*************************************************************************
*
* 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
@@ -59,7 +59,7 @@ SfxViewShell* __EXPORT OutlineViewShellBase::CreateInstance (
return pBase;
}
void OutlineViewShellBase::RegisterFactory( USHORT nPrio )
-{
+{
pFactory = new SfxViewFactory(
&CreateInstance,&InitFactory,nPrio,"Outline");
InitFactory();
@@ -73,7 +73,7 @@ void OutlineViewShellBase::InitFactory()
OutlineViewShellBase::OutlineViewShellBase (
- SfxViewFrame* _pFrame,
+ SfxViewFrame* _pFrame,
SfxViewShell* pOldShell)
: ImpressViewShellBase (_pFrame, pOldShell)
{
diff --git a/sd/source/ui/view/Outliner.cxx b/sd/source/ui/view/Outliner.cxx
index e741f644665c..7637f437de2c 100644
--- a/sd/source/ui/view/Outliner.cxx
+++ b/sd/source/ui/view/Outliner.cxx
@@ -2,7 +2,7 @@
/*************************************************************************
*
* 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
@@ -1574,7 +1574,7 @@ void Outliner::PrepareConversion (void)
mpDrawDocument->GetDocSh()->SetWaitCursor( FALSE );
// Start seach at the right end of the current object's text
// depending on the search direction.
-// mpOutlineView->SetSelection (GetSearchStartPosition ());
+// mpOutlineView->SetSelection (GetSearchStartPosition ());
}
else
{
diff --git a/sd/source/ui/view/OutlinerIterator.cxx b/sd/source/ui/view/OutlinerIterator.cxx
index 3dd879bf3e04..bdcfabdb752c 100644
--- a/sd/source/ui/view/OutlinerIterator.cxx
+++ b/sd/source/ui/view/OutlinerIterator.cxx
@@ -2,7 +2,7 @@
/*************************************************************************
*
* 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
@@ -217,18 +217,18 @@ Iterator OutlinerContainer::CreateSelectionIterator (
const ::std::vector<SdrObjectWeakRef>& rObjectList,
SdDrawDocument* pDocument,
const ::boost::shared_ptr<ViewShell>& rpViewShell,
- bool bDirectionIsForward,
+ bool bDirectionIsForward,
IteratorLocation aLocation)
{
OSL_ASSERT(rpViewShell.get());
-
+
sal_Int32 nObjectIndex;
if (bDirectionIsForward)
switch (aLocation)
{
case CURRENT:
- case BEGIN:
+ case BEGIN:
default:
nObjectIndex = 0;
break;
@@ -240,7 +240,7 @@ Iterator OutlinerContainer::CreateSelectionIterator (
switch (aLocation)
{
case CURRENT:
- case BEGIN:
+ case BEGIN:
default:
nObjectIndex = rObjectList.size()-1;
break;
@@ -254,13 +254,13 @@ Iterator OutlinerContainer::CreateSelectionIterator (
}
Iterator OutlinerContainer::CreateDocumentIterator (
- SdDrawDocument* pDocument,
+ SdDrawDocument* pDocument,
const ::boost::shared_ptr<ViewShell>& rpViewShell,
- bool bDirectionIsForward,
+ bool bDirectionIsForward,
IteratorLocation aLocation)
{
OSL_ASSERT(rpViewShell.get());
-
+
PageKind ePageKind;
EditMode eEditMode;
@@ -279,7 +279,7 @@ Iterator OutlinerContainer::CreateDocumentIterator (
eEditMode = EM_MASTERPAGE;
}
break;
-
+
case END:
if (bDirectionIsForward)
{
@@ -309,7 +309,7 @@ Iterator OutlinerContainer::CreateDocumentIterator (
break;
}
- sal_Int32 nPageIndex = GetPageIndex (pDocument, rpViewShell,
+ sal_Int32 nPageIndex = GetPageIndex (pDocument, rpViewShell,
ePageKind, eEditMode, bDirectionIsForward, aLocation);
return Iterator (
@@ -320,13 +320,13 @@ Iterator OutlinerContainer::CreateDocumentIterator (
sal_Int32 OutlinerContainer::GetPageIndex (
SdDrawDocument* pDocument,
const ::boost::shared_ptr<ViewShell>& rpViewShell,
- PageKind ePageKind,
+ PageKind ePageKind,
EditMode eEditMode,
bool bDirectionIsForward,
IteratorLocation aLocation)
{
OSL_ASSERT(rpViewShell);
-
+
sal_Int32 nPageIndex;
sal_Int32 nPageCount;
@@ -360,7 +360,7 @@ sal_Int32 OutlinerContainer::GetPageIndex (
}
break;
- case BEGIN:
+ case BEGIN:
default:
if (bDirectionIsForward)
nPageIndex = 0;
@@ -387,10 +387,10 @@ sal_Int32 OutlinerContainer::GetPageIndex (
IteratorImplBase::IteratorImplBase(SdDrawDocument* pDocument,
const ::boost::weak_ptr<ViewShell>& rpViewShellWeak,
bool bDirectionIsForward)
-: maPosition()
-, mpDocument (pDocument)
-, mpViewShellWeak (rpViewShellWeak)
-, mbDirectionIsForward (bDirectionIsForward)
+: maPosition()
+, mpDocument (pDocument)
+, mpViewShellWeak (rpViewShellWeak)
+, mbDirectionIsForward (bDirectionIsForward)
{
::boost::shared_ptr<DrawViewShell> pDrawViewShell;
if ( ! mpViewShellWeak.expired())
@@ -494,7 +494,7 @@ IteratorImplBase* SelectionIteratorImpl::Clone (IteratorImplBase* pObject) const
void SelectionIteratorImpl::GotoNextText (void)
{
- SdrTextObj* pTextObj = dynamic_cast< SdrTextObj* >( mrObjectList.at(mnObjectIndex).get() );
+ SdrTextObj* pTextObj = dynamic_cast< SdrTextObj* >( mrObjectList.at(mnObjectIndex).get() );
if (mbDirectionIsForward)
{
if( pTextObj )
@@ -504,7 +504,7 @@ void SelectionIteratorImpl::GotoNextText (void)
{
maPosition.mnText = 0;
++mnObjectIndex;
- }
+ }
}
else
{
@@ -520,7 +520,7 @@ void SelectionIteratorImpl::GotoNextText (void)
{
maPosition.mnText = -1;
--mnObjectIndex;
- }
+ }
}
else
{
@@ -530,7 +530,7 @@ void SelectionIteratorImpl::GotoNextText (void)
if( (maPosition.mnText == -1) && (mnObjectIndex >= 0) )
{
- pTextObj = dynamic_cast< SdrTextObj* >( mrObjectList.at(mnObjectIndex).get() );
+ pTextObj = dynamic_cast< SdrTextObj* >( mrObjectList.at(mnObjectIndex).get() );
if( pTextObj )
maPosition.mnText = pTextObj->getTextCount() - 1;
}
@@ -561,9 +561,9 @@ bool SelectionIteratorImpl::IsEqual (
{
if (aType == SELECTION)
{
- const SelectionIteratorImpl* pSelectionIterator =
+ const SelectionIteratorImpl* pSelectionIterator =
static_cast<const SelectionIteratorImpl*>(&rIterator);
- return mpDocument == pSelectionIterator->mpDocument
+ return mpDocument == pSelectionIterator->mpDocument
&& mnObjectIndex == pSelectionIterator->mnObjectIndex;
}
else
@@ -593,7 +593,7 @@ ViewIteratorImpl::ViewIteratorImpl (
ViewIteratorImpl::ViewIteratorImpl (
sal_Int32 nPageIndex,
- SdDrawDocument* pDocument,
+ SdDrawDocument* pDocument,
const ::boost::weak_ptr<ViewShell>& rpViewShellWeak,
bool bDirectionIsForward,
PageKind ePageKind,
@@ -618,7 +618,7 @@ ViewIteratorImpl::~ViewIteratorImpl (void)
IteratorImplBase* ViewIteratorImpl::Clone (IteratorImplBase* pObject) const
{
-
+
ViewIteratorImpl* pIterator = static_cast<ViewIteratorImpl*>(pObject);
if (pIterator == NULL)
pIterator = new ViewIteratorImpl (
@@ -645,7 +645,7 @@ IteratorImplBase* ViewIteratorImpl::Clone (IteratorImplBase* pObject) const
void ViewIteratorImpl::GotoNextText(void)
{
- SdrTextObj* pTextObj = dynamic_cast< SdrTextObj* >( maPosition.mxObject.get() );
+ SdrTextObj* pTextObj = dynamic_cast< SdrTextObj* >( maPosition.mxObject.get() );
if( pTextObj )
{
if (mbDirectionIsForward)
@@ -685,7 +685,7 @@ void ViewIteratorImpl::GotoNextText(void)
maPosition.mnText = 0;
if( !mbDirectionIsForward && maPosition.mxObject.is() )
{
- pTextObj = dynamic_cast< SdrTextObj* >( maPosition.mxObject.get() );
+ pTextObj = dynamic_cast< SdrTextObj* >( maPosition.mxObject.get() );
if( pTextObj )
maPosition.mnText = pTextObj->getTextCount() - 1;
}
@@ -717,11 +717,11 @@ void ViewIteratorImpl::SetPage (sal_Int32 nPageIndex)
{
if (maPosition.meEditMode == EM_PAGE)
mpPage = mpDocument->GetSdPage (
- (USHORT)nPageIndex,
+ (USHORT)nPageIndex,
maPosition.mePageKind);
else
mpPage = mpDocument->GetMasterSdPage (
- (USHORT)nPageIndex,
+ (USHORT)nPageIndex,
maPosition.mePageKind);
}
else
@@ -743,7 +743,7 @@ void ViewIteratorImpl::SetPage (sal_Int32 nPageIndex)
maPosition.mnText = 0;
if( !mbDirectionIsForward && maPosition.mxObject.is() )
{
- SdrTextObj* pTextObj = dynamic_cast< SdrTextObj* >( maPosition.mxObject.get() );
+ SdrTextObj* pTextObj = dynamic_cast< SdrTextObj* >( maPosition.mxObject.get() );
if( pTextObj )
maPosition.mnText = pTextObj->getTextCount() - 1;
}
@@ -825,14 +825,14 @@ void DocumentIteratorImpl::GotoNextText (void)
if (mbDirectionIsForward)
{
if (maPosition.mnPageIndex >= mnPageCount)
- {
+ {
// Switch to master page.
if (maPosition.meEditMode == EM_PAGE)
{
maPosition.meEditMode = EM_MASTERPAGE;
SetPage (0);
}
-
+
// Switch to next view mode.
else
{
@@ -861,7 +861,7 @@ void DocumentIteratorImpl::GotoNextText (void)
maPosition.meEditMode = EM_PAGE;
bSetToOnePastLastPage = true;
}
-
+
// Switch to previous view mode.
else
{
@@ -888,7 +888,7 @@ void DocumentIteratorImpl::GotoNextText (void)
nPageCount = mpDocument->GetSdPageCount (maPosition.mePageKind);
else
nPageCount = mpDocument->GetMasterSdPageCount(maPosition.mePageKind);
-
+
// Now that we know the number of pages we can set the current page index.
if (bSetToOnePastLastPage)
SetPage (nPageCount);
diff --git a/sd/source/ui/view/PresentationViewShellBase.cxx b/sd/source/ui/view/PresentationViewShellBase.cxx
index f565bfccd4df..d289ea175ce2 100644
--- a/sd/source/ui/view/PresentationViewShellBase.cxx
+++ b/sd/source/ui/view/PresentationViewShellBase.cxx
@@ -2,7 +2,7 @@
/*************************************************************************
*
* 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
@@ -63,13 +63,13 @@ SfxViewFactory* PresentationViewShellBase::pFactory;
SfxViewShell* __EXPORT PresentationViewShellBase::CreateInstance (
SfxViewFrame *_pFrame, SfxViewShell *pOldView)
{
- PresentationViewShellBase* pBase =
+ PresentationViewShellBase* pBase =
new PresentationViewShellBase(_pFrame, pOldView);
pBase->LateInit(framework::FrameworkHelper::msPresentationViewURL);
return pBase;
}
void PresentationViewShellBase::RegisterFactory( USHORT nPrio )
-{
+{
pFactory = new SfxViewFactory(
&CreateInstance,&InitFactory,nPrio,"FullScreenPresentation");
InitFactory();
@@ -83,7 +83,7 @@ void PresentationViewShellBase::InitFactory()
PresentationViewShellBase::PresentationViewShellBase (
- SfxViewFrame* _pFrame,
+ SfxViewFrame* _pFrame,
SfxViewShell* pOldShell)
: ViewShellBase (_pFrame, pOldShell)
{
diff --git a/sd/source/ui/view/SlideSorterViewShellBase.cxx b/sd/source/ui/view/SlideSorterViewShellBase.cxx
index 8ae5956caa5c..e499542a77fb 100644
--- a/sd/source/ui/view/SlideSorterViewShellBase.cxx
+++ b/sd/source/ui/view/SlideSorterViewShellBase.cxx
@@ -2,7 +2,7 @@
/*************************************************************************
*
* 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
@@ -63,7 +63,7 @@ SfxViewShell* __EXPORT SlideSorterViewShellBase::CreateInstance (
void SlideSorterViewShellBase::RegisterFactory( USHORT nPrio )
-{
+{
pFactory = new SfxViewFactory(
&CreateInstance,&InitFactory,nPrio,"SlideSorter");
InitFactory();
@@ -84,7 +84,7 @@ void SlideSorterViewShellBase::InitFactory()
SlideSorterViewShellBase::SlideSorterViewShellBase (
- SfxViewFrame* _pFrame,
+ SfxViewFrame* _pFrame,
SfxViewShell* pOldShell)
: ImpressViewShellBase (_pFrame, pOldShell)
{
diff --git a/sd/source/ui/view/ToolBarManager.cxx b/sd/source/ui/view/ToolBarManager.cxx
index 55a9f171ca51..58a731863398 100644
--- a/sd/source/ui/view/ToolBarManager.cxx
+++ b/sd/source/ui/view/ToolBarManager.cxx
@@ -2,7 +2,7 @@
/*************************************************************************
*
* 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
@@ -319,7 +319,7 @@ public:
void LockViewShellManager (void);
void LockUpdate (void);
void UnlockUpdate (void);
-
+
ToolBarRules& GetToolBarRules (void);
private:
diff --git a/sd/source/ui/view/UpdateLockManager.cxx b/sd/source/ui/view/UpdateLockManager.cxx
index c51e6cc86e24..7c51b4daaef2 100644
--- a/sd/source/ui/view/UpdateLockManager.cxx
+++ b/sd/source/ui/view/UpdateLockManager.cxx
@@ -2,7 +2,7 @@
/*************************************************************************
*
* 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
@@ -65,7 +65,7 @@ class UpdateLockManager::Implementation
public:
Implementation (ViewShellBase& rBase);
virtual ~Implementation (void);
-
+
void Lock (void);
void Unlock (void);
bool IsLocked (void) const;
@@ -100,13 +100,13 @@ private:
release when unlocking).
*/
virtual void SAL_CALL layoutEvent (
- const lang::EventObject& xSource,
+ const lang::EventObject& xSource,
sal_Int16 eLayoutEvent,
const Any& rInfo)
throw (uno::RuntimeException);
//===== lang::XEventListener ============================================
- virtual void SAL_CALL
+ virtual void SAL_CALL
disposing (const lang::EventObject& rEventObject)
throw (::com::sun::star::uno::RuntimeException);
@@ -290,7 +290,7 @@ void UpdateLockManager::Implementation::Unlock (void)
}
catch (RuntimeException)
{ }
-
+
// Force a rearrangement of the UI elements of the views.
mrBase.Rearrange();
}
@@ -317,7 +317,7 @@ void UpdateLockManager::Implementation::ForceUnlock (void)
void SAL_CALL UpdateLockManager::Implementation::layoutEvent (
- const lang::EventObject&,
+ const lang::EventObject&,
sal_Int16 eLayoutEvent,
const Any& rInfo)
throw (uno::RuntimeException)
diff --git a/sd/source/ui/view/ViewClipboard.cxx b/sd/source/ui/view/ViewClipboard.cxx
index e7e3e7c53a5a..87ad96dd2f8d 100644
--- a/sd/source/ui/view/ViewClipboard.cxx
+++ b/sd/source/ui/view/ViewClipboard.cxx
@@ -2,7 +2,7 @@
/*************************************************************************
*
* 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
@@ -88,7 +88,7 @@ SdPage* ViewClipboard::GetFirstMasterPage (const SdTransferable& rTransferable)
const List* pBookmarks = &rTransferable.GetPageBookmarks();
if (pBookmarks == NULL)
break;
-
+
DrawDocShell* pDocShell = rTransferable.GetPageDocShell();
if (pDocShell == NULL)
break;
@@ -105,7 +105,7 @@ SdPage* ViewClipboard::GetFirstMasterPage (const SdTransferable& rTransferable)
{
String sName (*(String*) pBookmarks->GetObject(nIndex));
BOOL bIsMasterPage;
-
+
// SdPage* GetMasterSdPage(USHORT nPgNum, PageKind ePgKind);
// USHORT GetMasterSdPageCount(PageKind ePgKind) const;
@@ -251,23 +251,23 @@ USHORT ViewClipboard::InsertSlides (
if( bWait )
pWin->LeaveWait();
-
+
pDoc->InsertBookmarkAsPage(
- const_cast<List*>(pBookmarkList),
- NULL,
- FALSE,
- FALSE,
+ const_cast<List*>(pBookmarkList),
+ NULL,
+ FALSE,
+ FALSE,
nInsertPosition,
(&rTransferable == SD_MOD()->pTransferDrag),
- pDataDocSh,
- TRUE,
- bMergeMasterPages,
+ pDataDocSh,
+ TRUE,
+ bMergeMasterPages,
FALSE);
if( bWait )
pWin->EnterWait();
}
-
+
return nInsertPgCnt;
}
diff --git a/sd/source/ui/view/ViewShellBase.cxx b/sd/source/ui/view/ViewShellBase.cxx
index 9fdcdff78a0b..5a0e9d2dba5e 100644
--- a/sd/source/ui/view/ViewShellBase.cxx
+++ b/sd/source/ui/view/ViewShellBase.cxx
@@ -2,7 +2,7 @@
/*************************************************************************
*
* 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
@@ -777,14 +777,14 @@ void ViewShellBase::Execute (SfxRequest& rRequest)
framework::FrameworkHelper::msLeftDrawPaneURL,
framework::FrameworkHelper::msSlideSorterURL);
break;
-
+
case SID_LEFT_PANE_IMPRESS:
mpImpl->SetPaneVisibility(
rRequest,
framework::FrameworkHelper::msLeftImpressPaneURL,
framework::FrameworkHelper::msSlideSorterURL);
break;
-
+
case SID_TASKPANE:
mpImpl->SetPaneVisibility(
rRequest,
@@ -1035,7 +1035,7 @@ void ViewShellBase::UpdateBorder ( bool bForce /* = false */ )
bool bOuterResize ( ! GetDocShell()->IsInPlaceActive());
SvBorder aBorder (GetBorder(bOuterResize));
aBorder += pMainViewShell->GetBorder(bOuterResize);
-
+
if (bForce || (aBorder != aCurrentBorder))
{
SetBorderPixel (aBorder);
@@ -1165,7 +1165,7 @@ const Rectangle& ViewShellBase::getClientRectangle (void) const
{
OSL_ASSERT(mpImpl.get()!=NULL);
OSL_ASSERT(mpImpl->mpUpdateLockManager.get()!=NULL);
-
+
return mpImpl->mpUpdateLockManager;
}
@@ -1176,7 +1176,7 @@ const Rectangle& ViewShellBase::getClientRectangle (void) const
{
OSL_ASSERT(mpImpl.get()!=NULL);
OSL_ASSERT(mpImpl->mpToolBarManager.get()!=NULL);
-
+
return mpImpl->mpToolBarManager;
}
@@ -1363,7 +1363,7 @@ void ViewShellBase::Implementation::ResizePixel (
// Forward the call to both the base class and the main stacked sub
// shell only when main sub shell exists.
ViewShell* pMainViewShell = mrBase.GetMainViewShell().get();
-
+
// Set the ViewTabBar temporarily to full size so that, when asked
// later, it can return its true height.
mrBase.SetWindow (mpViewWindow.get());
@@ -1386,7 +1386,7 @@ void ViewShellBase::Implementation::ResizePixel (
mpViewTabBar->GetTabControl()->SetPosSizePixel(
rOrigin, Size(rSize.Width(),aBaseBorder.Top()));
}
-
+
// The view window gets the remaining space.
Point aViewWindowPosition (
rOrigin.X()+aBaseBorder.Left(),
@@ -1395,7 +1395,7 @@ void ViewShellBase::Implementation::ResizePixel (
rSize.Width() - aBaseBorder.Left() - aBaseBorder.Right(),
rSize.Height() - aBaseBorder.Top() - aBaseBorder.Bottom());
mpViewWindow->SetPosSizePixel(aViewWindowPosition, aViewWindowSize);
-
+
maClientArea = Rectangle(Point(0,0), aViewWindowSize);
}
@@ -1417,7 +1417,7 @@ void ViewShellBase::Implementation::SetPaneVisibility (
xContext, rsPaneURL));
Reference<XResourceId> xViewId (ResourceId::createWithAnchorURL(
xContext, rsViewURL, rsPaneURL));
-
+
// Determine the new visibility state.
const SfxItemSet* pArguments = rRequest.GetArgs();
BOOL bShowChildWindow;
@@ -1435,10 +1435,10 @@ void ViewShellBase::Implementation::SetPaneVisibility (
xConfigurationController->getRequestedConfiguration());
if ( ! xConfiguration.is())
throw RuntimeException();
-
+
bShowChildWindow = ! xConfiguration->hasResource(xPaneId);
}
-
+
// Set the desired visibility state at the current configuration
// and update it accordingly.
Reference<XConfigurationController> xConfigurationController (
@@ -1499,7 +1499,7 @@ void ViewShellBase::Implementation::GetSlotState (SfxItemSet& rSet)
xResourceId = ResourceId::create(
xContext, FrameworkHelper::msLeftImpressPaneURL);
break;
-
+
case SID_LEFT_PANE_DRAW:
xResourceId = ResourceId::create(
xContext, FrameworkHelper::msLeftDrawPaneURL);
@@ -1509,7 +1509,7 @@ void ViewShellBase::Implementation::GetSlotState (SfxItemSet& rSet)
xResourceId = ResourceId::create(
xContext, FrameworkHelper::msRightPaneURL);
break;
-
+
case SID_NORMAL_MULTI_PANE_GUI:
xResourceId = ResourceId::createWithAnchorURL(
xContext,
@@ -1581,13 +1581,13 @@ void ViewShellBase::Implementation::GetSlotState (SfxItemSet& rSet)
bState &= !bMasterPageMode;
break;
}
-
+
case SID_HANDOUTMODE:
// There is only the master page mode for the handout
// view so ignore the master page flag.
break;
}
-
+
// And finally set the state.
rSet.Put(SfxBoolItem(nItemId, bState));
diff --git a/sd/source/ui/view/ViewShellHint.cxx b/sd/source/ui/view/ViewShellHint.cxx
index efe7b6f2de74..6b3dd959228c 100644
--- a/sd/source/ui/view/ViewShellHint.cxx
+++ b/sd/source/ui/view/ViewShellHint.cxx
@@ -2,7 +2,7 @@
/*************************************************************************
*
* 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
diff --git a/sd/source/ui/view/ViewShellImplementation.cxx b/sd/source/ui/view/ViewShellImplementation.cxx
index 56eee9cd32f8..661a86371eed 100644
--- a/sd/source/ui/view/ViewShellImplementation.cxx
+++ b/sd/source/ui/view/ViewShellImplementation.cxx
@@ -2,7 +2,7 @@
/*************************************************************************
*
* 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
@@ -186,10 +186,10 @@ void ViewShell::Implementation::ProcessModifyPageSlot (
if (aLayout >= AUTOLAYOUT__START
&& aLayout < AUTOLAYOUT__END)
{
- aNewName = pNewName->GetValue ();
+ aNewName = pNewName->GetValue ();
aNewAutoLayout = (AutoLayout) pNewAutoLayout->GetValue ();
- bBVisible = pBVisible->GetValue ();
- bBObjsVisible = pBObjsVisible->GetValue ();
+ bBVisible = pBVisible->GetValue ();
+ bBObjsVisible = pBObjsVisible->GetValue ();
}
else
{
@@ -292,7 +292,7 @@ void ViewShell::Implementation::AssignLayout ( SfxRequest& rRequest, PageKind eP
{
pPage = pDocument->GetSdPage(static_cast<USHORT>(pWhatPage->GetValue()), ePageKind);
}
-
+
if( pPage == 0 )
pPage = mrViewShell.getCurrentPage();
@@ -302,7 +302,7 @@ void ViewShell::Implementation::AssignLayout ( SfxRequest& rRequest, PageKind eP
if( pWhatLayout )
eLayout = static_cast< AutoLayout >( pWhatLayout->GetValue() );
-
+
// Transform the given request into the four argument form that is
// understood by ProcessModifyPageSlot().
SdrLayerAdmin& rLayerAdmin (mrViewShell.GetViewShellBase().GetDocument()->GetLayerAdmin());
@@ -310,7 +310,7 @@ void ViewShell::Implementation::AssignLayout ( SfxRequest& rRequest, PageKind eP
BYTE aBackgroundObject (rLayerAdmin.GetLayerID(String(SdResId(STR_LAYER_BCKGRNDOBJ)), FALSE));
SetOfByte aVisibleLayers;
-
+
if( pPage->GetPageKind() == PK_HANDOUT )
aVisibleLayers.SetAll();
else
@@ -341,7 +341,7 @@ sal_uInt16 ViewShell::Implementation::GetViewId (void)
case ViewShell::ST_DRAW:
return DRAW_FACTORY_ID;
-
+
case ViewShell::ST_OUTLINE:
return OUTLINE_FACTORY_ID;
diff --git a/sd/source/ui/view/ViewShellManager.cxx b/sd/source/ui/view/ViewShellManager.cxx
index fa7c63077280..397a825a26c9 100644
--- a/sd/source/ui/view/ViewShellManager.cxx
+++ b/sd/source/ui/view/ViewShellManager.cxx
@@ -2,7 +2,7 @@
/*************************************************************************
*
* 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
@@ -120,10 +120,10 @@ public:
~Implementation (void);
void AddShellFactory (
- const SfxShell* pViewShell,
+ const SfxShell* pViewShell,
const SharedShellFactory& rpFactory);
void RemoveShellFactory (
- const SfxShell* pViewShell,
+ const SfxShell* pViewShell,
const SharedShellFactory& rpFactory);
void ActivateViewShell (
ViewShell* pViewShell);
@@ -190,12 +190,12 @@ private:
typedef ::std::list<ShellDescriptor> SubShellSubList;
typedef ::std::hash_map<const SfxShell*,SubShellSubList,ShellHash> SubShellList;
SubShellList maActiveSubShells;
-
+
/** In this member we remember what shells we have pushed on the shell
stack.
*/
typedef ::std::vector<SfxShell*> ShellStack;
-
+
int mnUpdateLockCount;
/** When this flag is set then the main view shell is always kept at the
@@ -219,7 +219,7 @@ private:
void GatherActiveShells (ShellStack& rShellList);
void UpdateShellStack (void);
-
+
void CreateShells (void);
/** This method rebuilds the stack of shells that are stacked upon the
@@ -272,7 +272,7 @@ ViewShellManager::~ViewShellManager (void)
void ViewShellManager::AddSubShellFactory (
- ViewShell* pViewShell,
+ ViewShell* pViewShell,
const SharedShellFactory& rpFactory)
{
if (mbValid)
@@ -283,7 +283,7 @@ void ViewShellManager::AddSubShellFactory (
void ViewShellManager::RemoveSubShellFactory (
- ViewShell* pViewShell,
+ ViewShell* pViewShell,
const SharedShellFactory& rpFactory)
{
if (mbValid)
@@ -775,7 +775,7 @@ void ViewShellManager::Implementation::MoveToTop (const SfxShell& rShell)
bMove = false;
}
else if (iShell == ++maActiveViewShells.begin()
- && ! iShell->IsMainViewShell()
+ && ! iShell->IsMainViewShell()
&& mbKeepMainViewShellOnTop)
{
// The shell is a the second-to-top position, not the main view
@@ -791,7 +791,7 @@ void ViewShellManager::Implementation::MoveToTop (const SfxShell& rShell)
// that.
bMove = false;
}
-
+
// When the shell is not at the right position it is removed from the
// internal list of shells and inserted at the correct position.
if (bMove)
@@ -799,7 +799,7 @@ void ViewShellManager::Implementation::MoveToTop (const SfxShell& rShell)
UpdateLock aLock (*this);
ShellDescriptor aDescriptor(*iShell);
-
+
TakeShellsFromStack(&rShell);
maActiveViewShells.erase(iShell);
@@ -913,12 +913,12 @@ void ViewShellManager::Implementation::UpdateShellStack (void)
// 1. Create the missing shells.
CreateShells();
-
+
// 2. Create the internal target stack.
ShellStack aTargetStack;
CreateTargetStack(aTargetStack);
-
+
// 3. Get SFX shell stack.
ShellStack aSfxShellStack;
USHORT nIndex (0);
@@ -936,7 +936,7 @@ void ViewShellManager::Implementation::UpdateShellStack (void)
DumpShellStack(aTargetStack);
#endif
-
+
// 4. Find the lowest shell in which the two stacks differ.
ShellStack::const_iterator iSfxShell (aSfxShellStack.begin());
ShellStack::iterator iTargetShell (aTargetStack.begin());
@@ -948,7 +948,7 @@ void ViewShellManager::Implementation::UpdateShellStack (void)
++iTargetShell;
}
-
+
// 5. Remove all shells above and including the differing shell from the
// SFX stack starting with the shell on top of the stack.
while (iSfxShell != aSfxShellStack.end())
@@ -961,7 +961,7 @@ void ViewShellManager::Implementation::UpdateShellStack (void)
mrBase.RemoveSubShell(pShell);
}
-
+
// 6. Push shells from the given stack onto the SFX stack.
mbShellStackIsUpToDate = false;
while (iTargetShell != aTargetStack.end())
@@ -1030,7 +1030,7 @@ void ViewShellManager::Implementation::TakeShellsFromStack (const SfxShell* pShe
else if (pShellOnStack == pShell)
break;
}
-
+
if (pShell != NULL)
{
// 1. Deactivate our shells on the stack before they are removed so
@@ -1112,7 +1112,7 @@ void ViewShellManager::Implementation::CreateTargetStack (ShellStack& rStack) co
// stack. We can thus safly create the required shells wile still
// having a valid shell stack.
for (ActiveShellList::const_reverse_iterator iViewShell (maActiveViewShells.rbegin());
- iViewShell != maActiveViewShells.rend();
+ iViewShell != maActiveViewShells.rend();
++iViewShell)
{
// Possibly place the form shell below the current view shell.
@@ -1122,7 +1122,7 @@ void ViewShellManager::Implementation::CreateTargetStack (ShellStack& rStack) co
{
rStack.push_back(mpFormShell);
}
-
+
// Put the view shell itself on the local stack.
rStack.push_back (iViewShell->mpShell);
@@ -1154,7 +1154,7 @@ IMPL_LINK(ViewShellManager::Implementation, WindowEventHandler, VclWindowEvent*,
{
if (pEvent != NULL)
{
- ::Window* pEventWindow
+ ::Window* pEventWindow
= static_cast<VclWindowEvent*>(pEvent)->GetWindow();
switch (pEvent->GetId())
@@ -1162,7 +1162,7 @@ IMPL_LINK(ViewShellManager::Implementation, WindowEventHandler, VclWindowEvent*,
case VCLEVENT_WINDOW_GETFOCUS:
{
for (ActiveShellList::iterator aI(maActiveViewShells.begin());
- aI!=maActiveViewShells.end();
+ aI!=maActiveViewShells.end();
aI++)
{
if (pEventWindow == static_cast< ::Window*>(aI->GetWindow()))
@@ -1212,7 +1212,7 @@ ShellDescriptor ViewShellManager::Implementation::CreateSubShell (
break;
}
}
-
+
return aResult;
}
@@ -1223,7 +1223,7 @@ void ViewShellManager::Implementation::DestroyViewShell (
const ShellDescriptor& rDescriptor)
{
OSL_ASSERT(rDescriptor.mpShell != NULL);
-
+
::Window* pWindow = rDescriptor.GetWindow();
if (pWindow != NULL)
{
@@ -1284,7 +1284,7 @@ void ViewShellManager::Implementation::Shutdown (void)
{
UpdateLock aLock (*this);
-
+
while ( ! maActiveViewShells.empty())
{
SfxShell* pShell = maActiveViewShells.front().mpShell;
@@ -1305,7 +1305,7 @@ void ViewShellManager::Implementation::Shutdown (void)
}
}
mrBase.RemoveSubShell (NULL);
-
+
maShellFactories.clear();
}
@@ -1317,7 +1317,7 @@ void ViewShellManager::Implementation::DumpShellStack (const ShellStack& rStack)
ShellStack::const_reverse_iterator iEntry;
for (iEntry=rStack.rbegin(); iEntry!=rStack.rend(); ++iEntry)
if (*iEntry != NULL)
- OSL_TRACE (" %p : %s\r",
+ OSL_TRACE (" %p : %s\r",
*iEntry,
::rtl::OUStringToOString((*iEntry)->GetName(),RTL_TEXTENCODING_UTF8).getStr());
else
diff --git a/sd/source/ui/view/ViewTabBar.cxx b/sd/source/ui/view/ViewTabBar.cxx
index 270ace5928c2..a1bde6469c79 100644
--- a/sd/source/ui/view/ViewTabBar.cxx
+++ b/sd/source/ui/view/ViewTabBar.cxx
@@ -2,7 +2,7 @@
/*************************************************************************
*
* 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
@@ -98,7 +98,7 @@ class ViewTabPage : public TabPage
{
public:
ViewTabPage (Window* pParent) : TabPage(pParent) {}
- virtual void Resize (void)
+ virtual void Resize (void)
{ SetPosSizePixel(Point(0,0),GetParent()->GetOutputSizePixel()); }
};
@@ -153,7 +153,7 @@ ViewTabBar::ViewTabBar (
}
mpTabControl->Show();
-
+
if (mpViewShellBase != NULL
&& rxViewTabBarId->isBoundToURL(
FrameworkHelper::msCenterPaneURL, AnchorBindingMode_DIRECT))
@@ -204,7 +204,7 @@ void ViewTabBar::disposing (void)
mpTabPage.reset();
mpTabControl.reset();
}
-
+
mxController = NULL;
}
@@ -225,7 +225,7 @@ void ViewTabBar::disposing (void)
{
::Window* pWindow = NULL;
ViewShellBase* pBase = NULL;
-
+
// Tunnel through the controller and use the ViewShellBase to obtain the
// view frame.
try
@@ -274,7 +274,7 @@ void ViewTabBar::disposing (void)
catch (RuntimeException&)
{}
}
-
+
return pWindow;
}
@@ -410,7 +410,7 @@ const Sequence<sal_Int8>& ViewTabBar::getUnoTunnelId (void)
sal_Int64 SAL_CALL ViewTabBar::getSomething (const Sequence<sal_Int8>& rId)
throw (RuntimeException)
-{
+{
sal_Int64 nResult = 0;
if (rId.getLength() == 16
@@ -448,7 +448,7 @@ bool ViewTabBar::ActivatePage (void)
catch (DeploymentException)
{
}
-
+
Client* pIPClient = NULL;
if (mpViewShellBase != NULL)
pIPClient = dynamic_cast<Client*>(mpViewShellBase->GetIPClient());
@@ -476,7 +476,7 @@ bool ViewTabBar::ActivatePage (void)
{
DBG_UNHANDLED_EXCEPTION();
}
-
+
return false;
}
@@ -530,7 +530,7 @@ void ViewTabBar::AddTabBarButton (
}
}
}
-
+
AddTabBarButton(rButton,nIndex);
}
@@ -554,7 +554,7 @@ void ViewTabBar::AddTabBarButton (
&& nPosition<=mpTabControl->GetPageCount())
{
USHORT nIndex ((USHORT)nPosition);
-
+
// Insert the button into our local array.
maTabBarButtons.insert(maTabBarButtons.begin()+nIndex, rButton);
UpdateTabBarButtons();
@@ -588,7 +588,7 @@ bool ViewTabBar::HasTabBarButton (
const ::com::sun::star::drawing::framework::TabBarButton& rButton)
{
bool bResult (false);
-
+
for (sal_uInt32 nIndex=0; nIndex<maTabBarButtons.size(); ++nIndex)
{
if (IsEqual(maTabBarButtons[nIndex], rButton))
@@ -708,7 +708,7 @@ void TabBarControl::Paint (const Rectangle& rRect)
void TabBarControl::ActivatePage (void)
{
if (mpViewTabBar->ActivatePage())
- {
+ {
// Call the parent so that the correct tab is highlighted.
this->::TabControl::ActivatePage();
}
diff --git a/sd/source/ui/view/WindowUpdater.cxx b/sd/source/ui/view/WindowUpdater.cxx
index 7fd41b01b11c..b52960a9707b 100644
--- a/sd/source/ui/view/WindowUpdater.cxx
+++ b/sd/source/ui/view/WindowUpdater.cxx
@@ -2,7 +2,7 @@
/*************************************************************************
*
* 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
@@ -177,7 +177,7 @@ void WindowUpdater::ConfigurationChanged( utl::ConfigurationBroadcaster*, sal_uI
// Reformat the document for the modified state to take effect.
if (mpDocument != NULL)
mpDocument->ReformatAllTextObjects();
-
+
// Invalidate the windows to make the modified state visible.
aWindowIterator = maWindowList.begin();
while (aWindowIterator != maWindowList.end())
diff --git a/sd/source/ui/view/bmcache.cxx b/sd/source/ui/view/bmcache.cxx
index 9a586664d874..c52a8c57bc23 100644
--- a/sd/source/ui/view/bmcache.cxx
+++ b/sd/source/ui/view/bmcache.cxx
@@ -2,7 +2,7 @@
/*************************************************************************
*
* 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
@@ -41,7 +41,7 @@ struct BitmapCacheEntry
const SdPage* pPage;
GraphicObject* pGraphicObject;
sal_uInt32 nSizeBytes;
- long nZoom;
+ long nZoom;
};
/*************************************************************************
@@ -64,7 +64,7 @@ void BitmapCache::Remove( const SdPage* pPage )
for( ULONG nPos = 0; nPos < aEntries.Count(); )
{
BitmapCacheEntry* pCand = (BitmapCacheEntry*) aEntries.GetObject( nPos );
-
+
if( pCand->pPage == pPage )
{
pCand = (BitmapCacheEntry*) aEntries.Remove((ULONG)nPos);
diff --git a/sd/source/ui/view/clview.cxx b/sd/source/ui/view/clview.cxx
index e7518bc01d71..9aca8e785307 100644
--- a/sd/source/ui/view/clview.cxx
+++ b/sd/source/ui/view/clview.cxx
@@ -2,7 +2,7 @@
/*************************************************************************
*
* 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
diff --git a/sd/source/ui/view/drawview.cxx b/sd/source/ui/view/drawview.cxx
index bb75f1c07773..40ca3a3aa619 100644
--- a/sd/source/ui/view/drawview.cxx
+++ b/sd/source/ui/view/drawview.cxx
@@ -2,7 +2,7 @@
/*************************************************************************
*
* 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
@@ -204,9 +204,9 @@ BOOL DrawView::SetAttributes(const SfxItemSet& rSet,
else if (eObjKind == OBJ_OUTLINETEXT)
{
// Presentation object outline
- OutlinerView* pOV = GetTextEditOutlinerView();
+ OutlinerView* pOV = GetTextEditOutlinerView();
::Outliner* pOutliner = pOV->GetOutliner();
- List* pList = (List*)pOV->CreateSelectionList();
+ List* pList = (List*)pOV->CreateSelectionList();
aTemplateName += String(SdResId(STR_LAYOUT_OUTLINE));
pOutliner->SetUpdateMode(FALSE);
@@ -285,7 +285,7 @@ BOOL DrawView::SetAttributes(const SfxItemSet& rSet,
{
// Selection
const SdrMarkList& rList = GetMarkedObjectList();
- ULONG nMarkCount = rList.GetMarkCount();
+ ULONG nMarkCount = rList.GetMarkCount();
for (ULONG nMark = 0; nMark < nMarkCount; nMark++)
{
SdrObject* pObject = rList.GetMark(nMark)->GetMarkedSdrObj();
@@ -380,7 +380,7 @@ BOOL DrawView::SetAttributes(const SfxItemSet& rSet,
bOk = ::sd::View::SetAttributes(rSet, bReplaceAll);
}
}
- else // nicht auf der Masterpage
+ else // nicht auf der Masterpage
{
bOk = ::sd::View::SetAttributes(rSet, bReplaceAll);
}
@@ -550,7 +550,7 @@ BOOL DrawView::IsObjMarkable(SdrObject* pObj, SdrPageView* pPV) const
void DrawView::MakeVisible(const Rectangle& rRect, ::Window& rWin)
{
- if (!rRect.IsEmpty())
+ if (!rRect.IsEmpty() && mpDrawViewShell)
{
mpDrawViewShell->MakeVisible(rRect, rWin);
}
diff --git a/sd/source/ui/view/drbezob.cxx b/sd/source/ui/view/drbezob.cxx
index b8c6924f79e7..60ee5e0232e3 100644
--- a/sd/source/ui/view/drbezob.cxx
+++ b/sd/source/ui/view/drbezob.cxx
@@ -2,7 +2,7 @@
/*************************************************************************
*
* 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
@@ -149,17 +149,17 @@ void BezierObjectBar::GetAttrState(SfxItemSet& rSet)
// #i77187# if object is move and/or size protected, do not allow point editing at all
rSet.DisableItem(SID_BEZIER_MOVE);
rSet.DisableItem(SID_BEZIER_INSERT);
-
+
rSet.DisableItem(SID_BEZIER_DELETE);
rSet.DisableItem(SID_BEZIER_CUTLINE);
rSet.DisableItem(SID_BEZIER_CONVERT);
-
+
rSet.DisableItem(SID_BEZIER_EDGE);
rSet.DisableItem(SID_BEZIER_SMOOTH);
rSet.DisableItem(SID_BEZIER_SYMMTR);
-
+
rSet.DisableItem(SID_BEZIER_CLOSE);
-
+
rSet.DisableItem(SID_BEZIER_ELIMINATE_POINTS);
}
else
@@ -226,7 +226,7 @@ void BezierObjectBar::GetAttrState(SfxItemSet& rSet)
}
}
- if(pIPPEC == mpView)
+ if(pIPPEC == mpView)
rSet.Put(SfxBoolItem(SID_BEZIER_ELIMINATE_POINTS, mpView->IsEliminatePolyPoints()));
else
rSet.DisableItem( SID_BEZIER_ELIMINATE_POINTS ); // only works for views
diff --git a/sd/source/ui/view/drtxtob.cxx b/sd/source/ui/view/drtxtob.cxx
index 2d9a593462a9..6685b616604d 100644
--- a/sd/source/ui/view/drtxtob.cxx
+++ b/sd/source/ui/view/drtxtob.cxx
@@ -2,7 +2,7 @@
/*************************************************************************
*
* 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
@@ -166,13 +166,13 @@ TextObjectBar::~TextObjectBar()
void TextObjectBar::GetAttrState( SfxItemSet& rSet )
{
- SfxWhichIter aIter( rSet );
- USHORT nWhich = aIter.FirstWhich();
- BOOL bTemplate = FALSE;
- SfxItemSet aAttrSet( mpView->GetDoc()->GetPool() );
+ SfxWhichIter aIter( rSet );
+ USHORT nWhich = aIter.FirstWhich();
+ BOOL bTemplate = FALSE;
+ SfxItemSet aAttrSet( mpView->GetDoc()->GetPool() );
SvtLanguageOptions aLangOpt;
sal_Bool bDisableParagraphTextDirection = !aLangOpt.IsCTLFontEnabled();
- sal_Bool bDisableVerticalText = !aLangOpt.IsVerticalTextEnabled();
+ sal_Bool bDisableVerticalText = !aLangOpt.IsVerticalTextEnabled();
mpView->GetAttributes( aAttrSet );
@@ -407,8 +407,8 @@ void TextObjectBar::GetAttrState( SfxItemSet& rSet )
//! avoid puting the same item as SfxBoolItem at the end of this function
nSlotId = 0;
}
- break;
-
+ break;
+
default:
break;
}
diff --git a/sd/source/ui/view/drtxtob1.cxx b/sd/source/ui/view/drtxtob1.cxx
index ee4e8ebf34cb..31e60731ad40 100644
--- a/sd/source/ui/view/drtxtob1.cxx
+++ b/sd/source/ui/view/drtxtob1.cxx
@@ -2,7 +2,7 @@
/*************************************************************************
*
* 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
@@ -318,14 +318,14 @@ void TextObjectBar::Execute( SfxRequest &rReq )
break;
case FN_NUM_BULLET_ON:
- if( pOLV )
+ if( pOLV )
pOLV->ToggleBullets();
break;
case SID_GROW_FONT_SIZE:
case SID_SHRINK_FONT_SIZE:
{
- const SvxFontListItem* pFonts = (const SvxFontListItem*)mpViewShell->GetDocSh()->GetItem( SID_ATTR_CHAR_FONTLIST );
+ const SvxFontListItem* pFonts = (const SvxFontListItem*)mpViewShell->GetDocSh()->GetItem( SID_ATTR_CHAR_FONTLIST );
const FontList* pFontList = pFonts ? pFonts->GetFontList(): 0;
if( pFontList )
{
@@ -345,7 +345,7 @@ void TextObjectBar::Execute( SfxRequest &rReq )
if (aReplaceText.Len() > 0)
ReplaceTextWithSynonym( pOLV->GetEditView(), aReplaceText );
}
- break;
+ break;
default:
{
diff --git a/sd/source/ui/view/drviews1.cxx b/sd/source/ui/view/drviews1.cxx
index 6d9bbba22242..e9a3395830f4 100644
--- a/sd/source/ui/view/drviews1.cxx
+++ b/sd/source/ui/view/drviews1.cxx
@@ -2,7 +2,7 @@
/*************************************************************************
*
* 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
@@ -339,7 +339,7 @@ USHORT DrawViewShell::PrepareClose( BOOL bUI, BOOL bForBrowsing )
if ( ViewShell::PrepareClose(bUI, bForBrowsing) != TRUE )
return FALSE;
- BOOL bRet = TRUE;
+ BOOL bRet = TRUE;
if( bRet && HasCurrentFunction() )
{
@@ -535,7 +535,7 @@ bool DrawViewShell::IsLayerModeActive (void) const
long DrawViewShell::GetHCtrlWidth()
{
- // return maTabControl.GetSizePixel().Width();
+ // return maTabControl.GetSizePixel().Width();
return 0;
}
@@ -550,11 +550,11 @@ SvxRuler* DrawViewShell::CreateHRuler (::sd::Window* pWin, BOOL bIsFirst)
{
Ruler* pRuler;
WinBits aWBits;
- USHORT nFlags = SVXRULER_SUPPORT_OBJECT;
+ USHORT nFlags = SVXRULER_SUPPORT_OBJECT;
if ( bIsFirst )
{
- aWBits = WB_HSCROLL | WB_3DLOOK | WB_BORDER | WB_EXTRAFIELD;
+ aWBits = WB_HSCROLL | WB_3DLOOK | WB_BORDER | WB_EXTRAFIELD;
nFlags |= ( SVXRULER_SUPPORT_SET_NULLOFFSET |
SVXRULER_SUPPORT_TABS |
SVXRULER_SUPPORT_PARAGRAPH_MARGINS ); // Neu
@@ -594,7 +594,7 @@ SvxRuler* DrawViewShell::CreateVRuler(::sd::Window* pWin)
{
Ruler* pRuler;
WinBits aWBits = WB_VSCROLL | WB_3DLOOK | WB_BORDER;
- USHORT nFlags = SVXRULER_SUPPORT_OBJECT;
+ USHORT nFlags = SVXRULER_SUPPORT_OBJECT;
pRuler = new Ruler(*this, GetParentWindow(), pWin, nFlags,
GetViewFrame()->GetBindings(), aWBits);
@@ -717,7 +717,7 @@ SdPage* DrawViewShell::getCurrentPage() const
void DrawViewShell::ResetActualPage()
{
USHORT nCurrentPage = maTabControl.GetCurPageId() - 1;
- USHORT nPageCount = (meEditMode == EM_PAGE)?GetDoc()->GetSdPageCount(mePageKind):GetDoc()->GetMasterSdPageCount(mePageKind);
+ USHORT nPageCount = (meEditMode == EM_PAGE)?GetDoc()->GetSdPageCount(mePageKind):GetDoc()->GetMasterSdPageCount(mePageKind);
if (nPageCount > 0)
nCurrentPage = Min((USHORT)(nPageCount - 1), nCurrentPage);
else
@@ -1214,7 +1214,7 @@ BOOL DrawViewShell::SwitchPage(USHORT nSelectedPage)
// set pages for all available handout presentation objects
sd::ShapeList& rShapeList = pMaster->GetPresentationShapeList();
SdrObject* pObj = 0;
-
+
while( (pObj = rShapeList.getNextShape(pObj)) != 0 )
{
if( pMaster->GetPresObjKind(pObj) == PRESOBJ_HANDOUT )
diff --git a/sd/source/ui/view/drviews2.cxx b/sd/source/ui/view/drviews2.cxx
index 9904ef576374..d5a22330fb47 100644
--- a/sd/source/ui/view/drviews2.cxx
+++ b/sd/source/ui/view/drviews2.cxx
@@ -2,7 +2,7 @@
/*************************************************************************
*
* 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
@@ -552,7 +552,7 @@ void DrawViewShell::FuTemporary(SfxRequest& rReq)
rReq.Done ();
break;
}
- case SID_ZOOMING : // kein Menueintrag, sondern aus dem Zoomdialog generiert
+ case SID_ZOOMING : // kein Menueintrag, sondern aus dem Zoomdialog generiert
{
const SfxItemSet* pArgs = rReq.GetArgs();
@@ -663,7 +663,7 @@ void DrawViewShell::FuTemporary(SfxRequest& rReq)
Cancel();
if( HasCurrentFunction(SID_BEZIER_EDIT) )
- { // ggf. die richtige Editfunktion aktivieren
+ { // ggf. die richtige Editfunktion aktivieren
GetViewFrame()->GetDispatcher()->Execute(SID_SWITCH_POINTEDIT,
SFX_CALLMODE_ASYNCHRON | SFX_CALLMODE_RECORD);
}
@@ -888,10 +888,10 @@ void DrawViewShell::FuTemporary(SfxRequest& rReq)
case SID_DELETE_SNAPITEM:
{
SdrPageView* pPV;
- Point aMPos = GetActiveWindow()->PixelToLogic( maMousePos );
- USHORT nHitLog = (USHORT) GetActiveWindow()->PixelToLogic( Size(
+ Point aMPos = GetActiveWindow()->PixelToLogic( maMousePos );
+ USHORT nHitLog = (USHORT) GetActiveWindow()->PixelToLogic( Size(
FuPoor::HITPIX, 0 ) ).Width();
- USHORT nHelpLine;
+ USHORT nHelpLine;
mbMousePosFreezed = FALSE;
@@ -926,7 +926,7 @@ void DrawViewShell::FuTemporary(SfxRequest& rReq)
case SID_DRAW_FONTWORK:
case SID_DRAW_FONTWORK_VERTICAL:
{
- svx::FontworkBar::execute( mpView, rReq, GetViewFrame()->GetBindings() ); // SJ: can be removed (I think)
+ svx::FontworkBar::execute( mpView, rReq, GetViewFrame()->GetBindings() ); // SJ: can be removed (I think)
Cancel();
rReq.Done();
}
diff --git a/sd/source/ui/view/drviews3.cxx b/sd/source/ui/view/drviews3.cxx
index 363212fe0c9f..1492c232c351 100644
--- a/sd/source/ui/view/drviews3.cxx
+++ b/sd/source/ui/view/drviews3.cxx
@@ -2,7 +2,7 @@
/*************************************************************************
*
* 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
@@ -147,7 +147,7 @@ void DrawViewShell::ExecCtrl(SfxRequest& rReq)
}
}
- // USHORT nSlot = rReq.GetSlot();
+ // USHORT nSlot = rReq.GetSlot();
switch (nSlot)
{
case SID_SWITCHPAGE: // BASIC
@@ -192,8 +192,8 @@ void DrawViewShell::ExecCtrl(SfxRequest& rReq)
}
nSelectedPage = (short) nWhatPage;
- mePageKind = (PageKind) nWhatKind;
- bWasBasic = TRUE;
+ mePageKind = (PageKind) nWhatKind;
+ bWasBasic = TRUE;
}
}
else
@@ -238,7 +238,7 @@ void DrawViewShell::ExecCtrl(SfxRequest& rReq)
break;
}
- case SID_PAGEMODE: // BASIC
+ case SID_PAGEMODE: // BASIC
{
const SfxItemSet *pArgs = rReq.GetArgs ();
@@ -922,7 +922,7 @@ void DrawViewShell::GetRulerState(SfxItemSet& rSet)
{
rSet.DisableItem( SID_RULER_OBJECT );
rSet.DisableItem( EE_PARA_TABS );
-// rSet.DisableItem( SID_RULER_TEXT_RIGHT_TO_LEFT );
+// rSet.DisableItem( SID_RULER_TEXT_RIGHT_TO_LEFT );
}
rSet.Put( aLRSpace );
@@ -971,10 +971,10 @@ void DrawViewShell::ExecStatusBar(SfxRequest& rReq)
void DrawViewShell::GetSnapItemState( SfxItemSet &rSet )
{
SdrPageView* pPV;
- Point aMPos = GetActiveWindow()->PixelToLogic(maMousePos);
- USHORT nHitLog = (USHORT) GetActiveWindow()->PixelToLogic(
+ Point aMPos = GetActiveWindow()->PixelToLogic(maMousePos);
+ USHORT nHitLog = (USHORT) GetActiveWindow()->PixelToLogic(
Size(FuPoor::HITPIX,0)).Width();
- USHORT nHelpLine;
+ USHORT nHelpLine;
if ( mpDrawView->PickHelpLine(aMPos, nHitLog, *GetActiveWindow(), nHelpLine, pPV) )
{
diff --git a/sd/source/ui/view/drviews4.cxx b/sd/source/ui/view/drviews4.cxx
index 79fac4455b18..936155775a36 100644
--- a/sd/source/ui/view/drviews4.cxx
+++ b/sd/source/ui/view/drviews4.cxx
@@ -2,7 +2,7 @@
/*************************************************************************
*
* 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
@@ -95,7 +95,7 @@ using namespace ::com::sun::star::drawing;
void DrawViewShell::DeleteActualPage()
{
- USHORT nPage = maTabControl.GetCurPageId() - 1;
+ USHORT nPage = maTabControl.GetCurPageId() - 1;
mpDrawView->SdrEndTextEdit();
@@ -139,7 +139,7 @@ void DrawViewShell::DeleteActualLayer()
// Hint von Joe angestossen werden
// ( View::Notify() --> ViewShell::ResetActualLayer() )
- mbIsLayerModeActive = false; // damit ChangeEditMode() ueberhaupt was tut
+ mbIsLayerModeActive = false; // damit ChangeEditMode() ueberhaupt was tut
ChangeEditMode(GetEditMode(), true);
}
}
@@ -393,14 +393,14 @@ void DrawViewShell::MouseMove(const MouseEvent& rMEvt, ::sd::Window* pWin)
if ( mbPipette && GetViewFrame()->HasChildWindow( SvxBmpMaskChildWindow::GetChildWindowId() ) )
{
- const long nStartX = maMousePos.X() - PIPETTE_RANGE;
- const long nEndX = maMousePos.X() + PIPETTE_RANGE;
- const long nStartY = maMousePos.Y() - PIPETTE_RANGE;
- const long nEndY = maMousePos.Y() + PIPETTE_RANGE;
- long nRed = 0;
- long nGreen = 0;
- long nBlue = 0;
- const double fDiv = ( ( PIPETTE_RANGE << 1 ) + 1 ) * ( ( PIPETTE_RANGE << 1 ) + 1 );
+ const long nStartX = maMousePos.X() - PIPETTE_RANGE;
+ const long nEndX = maMousePos.X() + PIPETTE_RANGE;
+ const long nStartY = maMousePos.Y() - PIPETTE_RANGE;
+ const long nEndY = maMousePos.Y() + PIPETTE_RANGE;
+ long nRed = 0;
+ long nGreen = 0;
+ long nBlue = 0;
+ const double fDiv = ( ( PIPETTE_RANGE << 1 ) + 1 ) * ( ( PIPETTE_RANGE << 1 ) + 1 );
for ( long nY = nStartY; nY <= nEndY; nY++ )
{
@@ -511,7 +511,7 @@ void DrawViewShell::Command(const CommandEvent& rCEvt, ::sd::Window* pWin)
if( !mpDrawView->InsertData( aDataHelper, aPos, nDnDAction, FALSE ) )
{
- INetBookmark aINetBookmark( aEmptyStr, aEmptyStr );
+ INetBookmark aINetBookmark( aEmptyStr, aEmptyStr );
if( ( aDataHelper.HasFormat( SOT_FORMATSTR_ID_NETSCAPE_BOOKMARK ) &&
aDataHelper.GetINetBookmark( SOT_FORMATSTR_ID_NETSCAPE_BOOKMARK, aINetBookmark ) ) ||
@@ -533,13 +533,13 @@ void DrawViewShell::Command(const CommandEvent& rCEvt, ::sd::Window* pWin)
// Ist ein Fangobjekt unter dem Mauszeiger?
SdrPageView* pPV;
- Point aMPos = pWin->PixelToLogic( maMousePos );
- USHORT nHitLog = (USHORT) GetActiveWindow()->PixelToLogic(
+ Point aMPos = pWin->PixelToLogic( maMousePos );
+ USHORT nHitLog = (USHORT) GetActiveWindow()->PixelToLogic(
Size(FuPoor::HITPIX, 0 ) ).Width();
- USHORT nHelpLine;
+ USHORT nHelpLine;
// fuer Klebepunkt
- SdrObject* pObj = NULL;
- USHORT nPickId = 0;
+ SdrObject* pObj = NULL;
+ USHORT nPickId = 0;
// fuer Feldbefehl
OutlinerView* pOLV = mpDrawView->GetTextEditOutlinerView();
const SvxFieldItem* pFldItem = NULL;
@@ -615,7 +615,7 @@ void DrawViewShell::Command(const CommandEvent& rCEvt, ::sd::Window* pWin)
mpDrawView->GetMarkedObjectList().GetMarkCount() == 1 )
{
pObj = mpDrawView->GetMarkedObjectList().GetMark(0)->GetMarkedSdrObj();
- if( HasCurrentFunction(SID_BEZIER_EDIT) && (dynamic_cast< SdrPathObj * >( pObj ) != 0 ) )
+ if( HasCurrentFunction(SID_BEZIER_EDIT) && (dynamic_cast< SdrPathObj * >( pObj ) != 0 ) )
{
nSdResId = RID_BEZIER_POPUP;
}
@@ -691,7 +691,7 @@ void DrawViewShell::Command(const CommandEvent& rCEvt, ::sd::Window* pWin)
break;
case OBJ_FREELINE:
- case OBJ_EDGE: // Connector
+ case OBJ_EDGE: // Connector
nSdResId = bGraphicShell ? RID_GRAPHIC_EDGEOBJ_POPUP :
RID_DRAW_EDGEOBJ_POPUP;
break;
@@ -842,11 +842,11 @@ void DrawViewShell::ShowMousePosInfo(const Rectangle& rRect,
{
if (mbHasRulers && pWin )
{
- RulerLine pHLines[2];
- RulerLine pVLines[2];
+ RulerLine pHLines[2];
+ RulerLine pVLines[2];
long nHOffs = 0L;
long nVOffs = 0L;
- USHORT nCnt;
+ USHORT nCnt;
if (mpHorizontalRuler.get() != NULL)
mpHorizontalRuler->SetLines();
@@ -896,7 +896,7 @@ void DrawViewShell::ShowMousePosInfo(const Rectangle& rRect,
SID_ATTR_SIZE, SID_ATTR_SIZE,
0L);
-// GetStatusBarState(aSet); nicht performant bei gedrueckter Modifiertaste!!
+// GetStatusBarState(aSet); nicht performant bei gedrueckter Modifiertaste!!
aSet.Put( SfxStringItem( SID_CONTEXT, mpDrawView->GetStatusText() ) );
diff --git a/sd/source/ui/view/drviews5.cxx b/sd/source/ui/view/drviews5.cxx
index 9916f990691d..fd0dd65627f3 100644
--- a/sd/source/ui/view/drviews5.cxx
+++ b/sd/source/ui/view/drviews5.cxx
@@ -2,7 +2,7 @@
/*************************************************************************
*
* 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
@@ -99,7 +99,7 @@ void DrawViewShell::ModelHasChanged()
// jetzt den von der Drawing Engine neu erzeugten TextEditOutliner
// initialisieren
- ::Outliner* pOutliner = mpDrawView->GetTextEditOutliner();
+ ::Outliner* pOutliner = mpDrawView->GetTextEditOutliner();
if (pOutliner)
{
SfxStyleSheetPool* pSPool = (SfxStyleSheetPool*) GetDocSh()->GetStyleSheetPool();
@@ -134,7 +134,7 @@ void DrawViewShell::ArrangeGUIElements (void)
// Retrieve the current size (thickness) of the scroll bars. That is
// the width of the vertical and the height of the horizontal scroll
// bar.
- int nScrollBarSize =
+ int nScrollBarSize =
GetParentWindow()->GetSettings().GetStyleSettings().GetScrollBarSize();
maScrBarWH = Size (nScrollBarSize, nScrollBarSize);
@@ -272,8 +272,8 @@ void DrawViewShell::ReadFrameViewData(FrameView* pView)
mpDrawView->SetMasterPagePaintCaching( pView->IsMasterPagePaintCaching() );
// Definition:
- // grosse Handles: 9
- // kleine Handles: 7
+ // grosse Handles: 9
+ // kleine Handles: 7
USHORT nTmp = mpDrawView->GetMarkHdlSizePixel();
//DBG_ASSERT(nTmp != 7, "HandleSize != 7 oder 9");
if( nTmp == 9 && !pView->IsBigHandles() )
@@ -467,7 +467,7 @@ void DrawViewShell::Paint(const Rectangle& rRect, ::sd::Window* pWin)
aFillColor = Color( aColorConfig.GetColorValue( svtools::DOCCOLOR ).nColor );
}
- /* #97517# This is done before each text edit, so why not do it before every paint.
+ /* #97517# This is done before each text edit, so why not do it before every paint.
The default language is only used if the outliner only contains one
character in a symbol font */
GetDoc()->GetDrawOutliner( NULL ).SetDefaultLanguage( GetDoc()->GetLanguage( EE_CHAR_LANGUAGE ) );
@@ -475,7 +475,7 @@ void DrawViewShell::Paint(const Rectangle& rRect, ::sd::Window* pWin)
// #103834# Set Application Background color for usage in SdrPaintView(s)
mpDrawView->SetApplicationBackgroundColor(aFillColor);
- /* #97517# This is done before each text edit, so why not do it before every paint.
+ /* #97517# This is done before each text edit, so why not do it before every paint.
The default language is only used if the outliner only contains one
character in a symbol font */
GetDoc()->GetDrawOutliner( NULL ).SetDefaultLanguage( Application::GetSettings().GetLanguage() );
@@ -687,7 +687,7 @@ void DrawViewShell::VisAreaChanged(const Rectangle& rRect)
int DrawViewShell::GetActiveTabLayerIndex (void) const
{
- const LayerTabBar* pBar
+ const LayerTabBar* pBar
= const_cast<DrawViewShell*>(this)->GetLayerTabControl ();
if (pBar != NULL)
return pBar->GetPagePos (pBar->GetCurPageId());
@@ -734,7 +734,7 @@ LayerTabBar* DrawViewShell::GetLayerTabControl (void)
int DrawViewShell::GetTabLayerCount (void) const
{
- const LayerTabBar* pBar
+ const LayerTabBar* pBar
= const_cast<DrawViewShell*>(this)->GetLayerTabControl ();
if (pBar != NULL)
return pBar->GetPageCount();
diff --git a/sd/source/ui/view/drviews6.cxx b/sd/source/ui/view/drviews6.cxx
index 6be0ffe52c90..a29abf742705 100644
--- a/sd/source/ui/view/drviews6.cxx
+++ b/sd/source/ui/view/drviews6.cxx
@@ -2,7 +2,7 @@
/*************************************************************************
*
* 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
@@ -115,7 +115,7 @@ void DrawViewShell::ExecFormText(SfxRequest& rReq)
GetValue());
if(HasCurrentFunction(SID_BEZIER_EDIT))
- { // ggf. die richtige Editfunktion aktivieren
+ { // ggf. die richtige Editfunktion aktivieren
GetViewFrame()->GetDispatcher()->Execute(SID_SWITCH_POINTEDIT,
SFX_CALLMODE_ASYNCHRON | SFX_CALLMODE_RECORD);
}
@@ -149,8 +149,8 @@ void DrawViewShell::GetFormTextState(SfxItemSet& rSet)
!((SdrTextObj*) pObj)->HasText() )
{
// automatisches Auf/Zuklappen des FontWork-Dialog; erstmal deaktiviert
-// if ( pDlg )
-// pDlg->SetActive(FALSE);
+// if ( pDlg )
+// pDlg->SetActive(FALSE);
rSet.DisableItem(XATTR_FORMTXTSTYLE);
rSet.DisableItem(XATTR_FORMTXTADJUST);
@@ -169,7 +169,7 @@ void DrawViewShell::GetFormTextState(SfxItemSet& rSet)
{
if ( pDlg )
{
-// pDlg->SetActive();
+// pDlg->SetActive();
pDlg->SetColorTable(GetDoc()->GetColorTable());
}
@@ -250,7 +250,7 @@ void DrawViewShell::GetAnimationWinState( SfxItemSet& rSet )
{
const SdrObject* pObj = rMarkList.GetMark( 0 )->GetMarkedSdrObj();
UINT32 nInv = pObj->GetObjInventor();
- UINT16 nId = pObj->GetObjIdentifier();
+ UINT16 nId = pObj->GetObjIdentifier();
// 1 selektiertes Gruppenobjekt
if( nInv == SdrInventor && nId == OBJ_GRUP )
nValue = 3;
@@ -362,8 +362,8 @@ void DrawViewShell::ExecBmpMask( SfxRequest& rReq )
if ( pObj && !mpDrawView->IsTextEdit() )
{
- SdrGrafObj* pNewObj = (SdrGrafObj*) pObj->Clone();
- BOOL bCont = TRUE;
+ SdrGrafObj* pNewObj = (SdrGrafObj*) pObj->Clone();
+ BOOL bCont = TRUE;
if( pNewObj->IsLinkedGraphic() )
{
@@ -381,8 +381,8 @@ void DrawViewShell::ExecBmpMask( SfxRequest& rReq )
if( bCont )
{
- const Graphic& rOldGraphic = pNewObj->GetGraphic();
- const Graphic aNewGraphic( ( (SvxBmpMask*) GetViewFrame()->GetChildWindow(
+ const Graphic& rOldGraphic = pNewObj->GetGraphic();
+ const Graphic aNewGraphic( ( (SvxBmpMask*) GetViewFrame()->GetChildWindow(
SvxBmpMaskChildWindow::GetChildWindowId() )->GetWindow() )->
Mask( rOldGraphic ) );
@@ -391,7 +391,7 @@ void DrawViewShell::ExecBmpMask( SfxRequest& rReq )
SdrPageView* pPV = mpDrawView->GetSdrPageView();
pNewObj->SetEmptyPresObj( FALSE );
- pNewObj->SetGraphic( ( (SvxBmpMask*) GetViewFrame()->GetChildWindow(
+ pNewObj->SetGraphic( ( (SvxBmpMask*) GetViewFrame()->GetChildWindow(
SvxBmpMaskChildWindow::GetChildWindowId() )->GetWindow() )->
Mask( pNewObj->GetGraphic() ) );
@@ -420,11 +420,11 @@ void DrawViewShell::ExecBmpMask( SfxRequest& rReq )
void DrawViewShell::GetBmpMaskState( SfxItemSet& rSet )
{
- const SdrMarkList& rMarkList = mpDrawView->GetMarkedObjectList();
- const SdrObject* pObj = NULL;
- USHORT nId = SvxBmpMaskChildWindow::GetChildWindowId();
- SvxBmpMask* pDlg = NULL;
- BOOL bEnable = FALSE;
+ const SdrMarkList& rMarkList = mpDrawView->GetMarkedObjectList();
+ const SdrObject* pObj = NULL;
+ USHORT nId = SvxBmpMaskChildWindow::GetChildWindowId();
+ SvxBmpMask* pDlg = NULL;
+ BOOL bEnable = FALSE;
if ( GetViewFrame()->HasChildWindow( nId ) )
{
@@ -672,7 +672,7 @@ void DrawViewShell::FuTemp04(SfxRequest& rReq)
rReq.Ignore ();
}
break;
-
+
case SID_LAYER_DIALOG_WIN:
{
if ( rReq.GetArgs() )
diff --git a/sd/source/ui/view/drviews7.cxx b/sd/source/ui/view/drviews7.cxx
index b6b151ba0bee..e59525a99222 100644
--- a/sd/source/ui/view/drviews7.cxx
+++ b/sd/source/ui/view/drviews7.cxx
@@ -2,7 +2,7 @@
/*************************************************************************
*
* 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
@@ -300,7 +300,7 @@ void DrawViewShell::GetMenuState( SfxItemSet &rSet )
if( pPage && !pPage->IsMasterPage() )
{
- rSet.Put( SfxUInt32Item( SID_ASSIGN_LAYOUT, static_cast< sal_uInt32 >(pPage->GetAutoLayout()) ) );
+ rSet.Put( SfxUInt32Item( SID_ASSIGN_LAYOUT, static_cast< sal_uInt32 >(pPage->GetAutoLayout()) ) );
bDisable = false;
}
}
@@ -444,7 +444,7 @@ void DrawViewShell::GetMenuState( SfxItemSet &rSet )
// Vertikale Ausrichtung
USHORT nVert = mpDrawView->GetMarkedGluePointsAlign( TRUE );
rSet.Put( SfxBoolItem( SID_GLUE_VERTALIGN_CENTER, nVert == SDRVERTALIGN_CENTER ) );
- rSet.Put( SfxBoolItem( SID_GLUE_VERTALIGN_TOP, nVert == SDRVERTALIGN_TOP ) );
+ rSet.Put( SfxBoolItem( SID_GLUE_VERTALIGN_TOP, nVert == SDRVERTALIGN_TOP ) );
rSet.Put( SfxBoolItem( SID_GLUE_VERTALIGN_BOTTOM, nVert == SDRVERTALIGN_BOTTOM ) );
}
@@ -869,9 +869,9 @@ void DrawViewShell::GetMenuState( SfxItemSet &rSet )
|| SFX_ITEM_AVAILABLE == rSet.GetItemState( SID_DELETE_MASTER_PAGE ) )
{
if (maTabControl.GetPageCount() == 1 ||
- meEditMode == EM_MASTERPAGE ||
- mePageKind == PK_NOTES ||
- mePageKind == PK_HANDOUT ||
+ meEditMode == EM_MASTERPAGE ||
+ mePageKind == PK_NOTES ||
+ mePageKind == PK_HANDOUT ||
(GetShellType()!=ST_DRAW&&IsLayerModeActive()))
{
if (rSet.GetItemState(SID_DELETE_PAGE) == SFX_ITEM_AVAILABLE)
@@ -884,8 +884,8 @@ void DrawViewShell::GetMenuState( SfxItemSet &rSet )
// darf der aktuelle Layer geloescht werden?
if( SFX_ITEM_AVAILABLE == rSet.GetItemState( SID_DELETE_LAYER ) )
{
- USHORT nCurrentLayer = GetLayerTabControl()->GetCurPageId();
- const String& rName = GetLayerTabControl()->GetPageText(nCurrentLayer);
+ USHORT nCurrentLayer = GetLayerTabControl()->GetCurPageId();
+ const String& rName = GetLayerTabControl()->GetPageText(nCurrentLayer);
BOOL bDisableIt = !IsLayerModeActive();
bDisableIt |= (rName == String(SdResId(STR_LAYER_LAYOUT)));
@@ -967,7 +967,7 @@ void DrawViewShell::GetMenuState( SfxItemSet &rSet )
rSet.DisableItem( SID_SIZE_ALL );
rSet.DisableItem( SID_SIZE_PAGE_WIDTH );
rSet.DisableItem( SID_SIZE_PAGE );
-// rSet.DisableItem( SID_INSERTPAGE );
+// rSet.DisableItem( SID_INSERTPAGE );
rSet.DisableItem( SID_DUPLICATE_PAGE );
rSet.DisableItem( SID_ZOOM_TOOLBOX );
}
@@ -1378,7 +1378,7 @@ void DrawViewShell::GetMenuState( SfxItemSet &rSet )
BOOL bFoundAny = FALSE;
bool bFoundTable = false;
-// const int nMarkCount = (int) aMarkList.GetMarkCount();
+// const int nMarkCount = (int) aMarkList.GetMarkCount();
for (ULONG i=0; i < nMarkCount && !bFoundAny; i++)
{
SdrObject* pObj= aMarkList.GetMark(i)->GetMarkedSdrObj();
@@ -1448,11 +1448,11 @@ void DrawViewShell::GetMenuState( SfxItemSet &rSet )
if( bFoundObjNoLine )
rSet.DisableItem( SID_ATTRIBUTES_LINE );
- if( bFoundBitmap && !bFoundMetafile && !bFoundNoGraphicObj ) // only Bitmaps marked
+ if( bFoundBitmap && !bFoundMetafile && !bFoundNoGraphicObj ) // only Bitmaps marked
rSet.DisableItem( SID_CONVERT_TO_BITMAP );
- else if( !bFoundBitmap && bFoundMetafile && !bFoundNoGraphicObj ) // only Metafiles marked
+ else if( !bFoundBitmap && bFoundMetafile && !bFoundNoGraphicObj ) // only Metafiles marked
rSet.DisableItem( SID_CONVERT_TO_METAFILE );
- else if( !bFoundBitmap && !bFoundMetafile && !bFoundNoGraphicObj ) // nothing to do
+ else if( !bFoundBitmap && !bFoundMetafile && !bFoundNoGraphicObj ) // nothing to do
{
rSet.DisableItem( SID_CONVERT_TO_BITMAP );
rSet.DisableItem( SID_CONVERT_TO_METAFILE );
diff --git a/sd/source/ui/view/drviews8.cxx b/sd/source/ui/view/drviews8.cxx
index ea63e37bf0c8..1d13671c4198 100644
--- a/sd/source/ui/view/drviews8.cxx
+++ b/sd/source/ui/view/drviews8.cxx
@@ -2,7 +2,7 @@
/*************************************************************************
*
* 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
@@ -78,7 +78,7 @@
#include "drawview.hxx"
#include "zoomlist.hxx"
#include <osl/mutex.hxx>
-#include <vcl/salbtype.hxx> // FRound
+#include <vcl/salbtype.hxx> // FRound
#include <vcl/svapp.hxx>
namespace sd {
@@ -115,7 +115,7 @@ void DrawViewShell::FuTemp01(SfxRequest& rReq)
}
break;
- case SID_CHAR_DLG: // BASIC
+ case SID_CHAR_DLG: // BASIC
{
SetCurrentFunction( FuChar::Create( this, GetActiveWindow(), mpDrawView, GetDoc(), rReq ) );
Cancel();
@@ -456,8 +456,8 @@ void DrawViewShell::ScannerEvent( const ::com::sun::star::lang::EventObject& )
{
if( mxScannerManager.is() )
{
- const ::com::sun::star::scanner::ScannerContext aContext( mxScannerManager->getAvailableScanners().getConstArray()[ 0 ] );
- const ::com::sun::star::scanner::ScanError eError = mxScannerManager->getError( aContext );
+ const ::com::sun::star::scanner::ScannerContext aContext( mxScannerManager->getAvailableScanners().getConstArray()[ 0 ] );
+ const ::com::sun::star::scanner::ScanError eError = mxScannerManager->getError( aContext );
if( ::com::sun::star::scanner::ScanError_ScanErrorNone == eError )
{
diff --git a/sd/source/ui/view/drviews9.cxx b/sd/source/ui/view/drviews9.cxx
index bcaac6d8b866..217ef520c53b 100644
--- a/sd/source/ui/view/drviews9.cxx
+++ b/sd/source/ui/view/drviews9.cxx
@@ -2,7 +2,7 @@
/*************************************************************************
*
* 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
@@ -97,8 +97,8 @@ void DrawViewShell::ExecGallery(SfxRequest& rReq)
if ( pArgs )
{
- const UINT32 nFormats = ( (SfxUInt32Item&) pArgs->Get( SID_GALLERY_FORMATS ) ).GetValue();
- GalleryExplorer* pGal = SVX_GALLERY();
+ const UINT32 nFormats = ( (SfxUInt32Item&) pArgs->Get( SID_GALLERY_FORMATS ) ).GetValue();
+ GalleryExplorer* pGal = SVX_GALLERY();
if ( pGal )
{
@@ -125,12 +125,12 @@ void DrawViewShell::ExecGallery(SfxRequest& rReq)
// Falls Grafik zu gross, wird die Grafik
// in die Seite eingepasst
- if ( ( ( aSize.Height() > aPageSize.Height() ) || ( aSize.Width() > aPageSize.Width() ) ) &&
+ if ( ( ( aSize.Height() > aPageSize.Height() ) || ( aSize.Width() > aPageSize.Width() ) ) &&
aSize.Height() && aPageSize.Height() )
{
- float fGrfWH = (float)aSize.Width() /
+ float fGrfWH = (float)aSize.Width() /
(float)aSize.Height();
- float fWinWH = (float)aPageSize.Width() /
+ float fWinWH = (float)aPageSize.Width() /
(float)aPageSize.Height();
// Grafik an Pagesize anpassen (skaliert)
@@ -148,7 +148,7 @@ void DrawViewShell::ExecGallery(SfxRequest& rReq)
// Ausgaberechteck fuer Grafik setzen
- Point aPnt ((aPageSize.Width() - aSize.Width()) / 2,
+ Point aPnt ((aPageSize.Width() - aSize.Width()) / 2,
(aPageSize.Height() - aSize.Height()) / 2);
aPnt += Point(pPage->GetLftBorder(), pPage->GetUppBorder());
Rectangle aRect (aPnt, aSize);
@@ -255,8 +255,8 @@ void DrawViewShell::AttrExec (SfxRequest &rReq)
CheckLineTo (rReq);
- SfxBindings& rBindings = GetViewFrame()->GetBindings();
- SfxItemSet* pAttr = new SfxItemSet ( GetDoc()->GetPool() );
+ SfxBindings& rBindings = GetViewFrame()->GetBindings();
+ SfxItemSet* pAttr = new SfxItemSet ( GetDoc()->GetPool() );
GetView()->GetAttributes( *pAttr );
const SfxItemSet* pArgs = rReq.GetArgs();
@@ -372,8 +372,8 @@ void DrawViewShell::AttrExec (SfxRequest &rReq)
SFX_REQUEST_ARG (rReq, pBlue, SfxUInt32Item, ID_VAL_BLUE, FALSE);
XGradientList *pGradientList = GetDoc()->GetGradientList ();
- long nCounts = pGradientList->Count ();
- Color aColor ((BYTE) pRed->GetValue (),
+ long nCounts = pGradientList->Count ();
+ Color aColor ((BYTE) pRed->GetValue (),
(BYTE) pGreen->GetValue (),
(BYTE) pBlue->GetValue ());
long i;
@@ -432,8 +432,8 @@ void DrawViewShell::AttrExec (SfxRequest &rReq)
SFX_REQUEST_ARG (rReq, pBlue, SfxUInt32Item, ID_VAL_BLUE, FALSE);
XHatchList *pHatchList = GetDoc()->GetHatchList ();
- long nCounts = pHatchList->Count ();
- Color aColor ((BYTE) pRed->GetValue (),
+ long nCounts = pHatchList->Count ();
+ Color aColor ((BYTE) pRed->GetValue (),
(BYTE) pGreen->GetValue (),
(BYTE) pBlue->GetValue ());
long i;
@@ -497,8 +497,8 @@ void DrawViewShell::AttrExec (SfxRequest &rReq)
pAttr->ClearItem (XATTR_LINESTYLE);
XDashList *pDashList = GetDoc()->GetDashList ();
- long nCounts = pDashList->Count ();
- XDashEntry *pEntry = new XDashEntry (aNewDash, pName->GetValue ());
+ long nCounts = pDashList->Count ();
+ XDashEntry *pEntry = new XDashEntry (aNewDash, pName->GetValue ());
long i;
for ( i = 0; i < nCounts; i++ )
@@ -549,7 +549,7 @@ void DrawViewShell::AttrExec (SfxRequest &rReq)
pAttr->ClearItem (XATTR_FILLSTYLE);
XGradientList *pGradientList = GetDoc()->GetGradientList ();
- long nCounts = pGradientList->Count ();
+ long nCounts = pGradientList->Count ();
long i;
for ( i = 0; i < nCounts; i++ )
@@ -615,7 +615,7 @@ void DrawViewShell::AttrExec (SfxRequest &rReq)
pAttr->ClearItem (XATTR_FILLSTYLE);
XHatchList *pHatchList = GetDoc()->GetHatchList ();
- long nCounts = pHatchList->Count ();
+ long nCounts = pHatchList->Count ();
long i;
for ( i = 0; i < nCounts; i++ )
@@ -665,7 +665,7 @@ void DrawViewShell::AttrExec (SfxRequest &rReq)
SFX_REQUEST_ARG (rReq, pName, SfxStringItem, ID_VAL_INDEX, FALSE);
XGradientList *pGradientList = GetDoc()->GetGradientList ();
- long nCounts = pGradientList->Count ();
+ long nCounts = pGradientList->Count ();
for (long i = 0;
i < nCounts;
@@ -699,7 +699,7 @@ void DrawViewShell::AttrExec (SfxRequest &rReq)
SFX_REQUEST_ARG (rReq, pName, SfxStringItem, ID_VAL_INDEX, FALSE);
XHatchList *pHatchList = GetDoc()->GetHatchList ();
- long nCounts = pHatchList->Count ();
+ long nCounts = pHatchList->Count ();
for (long i = 0;
i < nCounts;
@@ -740,7 +740,7 @@ void DrawViewShell::AttrExec (SfxRequest &rReq)
StarBASIC::FatalError (SbERR_WRONG_ARGS);
break;
-/* case SID_SETFONTFAMILYNAME :
+/* case SID_SETFONTFAMILYNAME :
case SID_SETFONTSTYLENAME :
case SID_SETFONTFAMILY :
case SID_SETFONTPITCH :
@@ -776,8 +776,8 @@ void DrawViewShell::AttrExec (SfxRequest &rReq)
void DrawViewShell::AttrState (SfxItemSet& rSet)
{
- SfxWhichIter aIter (rSet);
- USHORT nWhich = aIter.FirstWhich ();
+ SfxWhichIter aIter (rSet);
+ USHORT nWhich = aIter.FirstWhich ();
SfxItemSet aAttr( GetDoc()->GetPool() );
mpDrawView->GetAttributes( aAttr );
@@ -814,7 +814,7 @@ void DrawViewShell::AttrState (SfxItemSet& rSet)
case SID_GETBLUE :
{
const SfxUInt32Item &rWhatKind = (const SfxUInt32Item &) rSet.Get (ID_VAL_WHATKIND);
- Color aColor;
+ Color aColor;
switch (rWhatKind.GetValue ())
{
@@ -838,7 +838,7 @@ void DrawViewShell::AttrState (SfxItemSet& rSet)
case 4 :
{
const XFillGradientItem &rFillGradientItem = (const XFillGradientItem &) aAttr.Get (XATTR_FILLGRADIENT);
- const XGradient &rGradient = rFillGradientItem.GetGradientValue ();
+ const XGradient &rGradient = rFillGradientItem.GetGradientValue ();
aColor = (rWhatKind.GetValue () == 3)
? rGradient.GetStartColor ()
@@ -849,7 +849,7 @@ void DrawViewShell::AttrState (SfxItemSet& rSet)
case 5:
{
const XFillHatchItem &rFillHatchItem = (const XFillHatchItem &) aAttr.Get (XATTR_FILLHATCH);
- const XHatch &rHatch = rFillHatchItem.GetHatchValue ();
+ const XHatch &rHatch = rFillHatchItem.GetHatchValue ();
aColor = rHatch.GetColor ();
break;
diff --git a/sd/source/ui/view/drviewsa.cxx b/sd/source/ui/view/drviewsa.cxx
index b4919c6e9573..d7efb814070a 100644
--- a/sd/source/ui/view/drviewsa.cxx
+++ b/sd/source/ui/view/drviewsa.cxx
@@ -2,7 +2,7 @@
/*************************************************************************
*
* 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
@@ -103,7 +103,7 @@ class ScannerEventListener : public ::cppu::WeakImplHelper1< ::com::sun::star::l
{
private:
- DrawViewShell* mpParent;
+ DrawViewShell* mpParent;
public:
@@ -111,9 +111,9 @@ public:
~ScannerEventListener();
// XEventListener
- virtual void SAL_CALL disposing( const ::com::sun::star::lang::EventObject& rEventObject ) throw (::com::sun::star::uno::RuntimeException);
+ virtual void SAL_CALL disposing( const ::com::sun::star::lang::EventObject& rEventObject ) throw (::com::sun::star::uno::RuntimeException);
- void ParentDestroyed() { mpParent = NULL; }
+ void ParentDestroyed() { mpParent = NULL; }
};
// -----------------------------------------------------------------------------
@@ -158,7 +158,7 @@ DrawViewShell::~DrawViewShell()
{
mpAnnotationManager.reset();
mpViewOverlayManager.reset();
-
+
OSL_ASSERT (GetViewShell()!=NULL);
if( mxScannerListener.is() )
@@ -203,7 +203,7 @@ DrawViewShell::~DrawViewShell()
if ( mpClipEvtLstnr )
{
mpClipEvtLstnr->AddRemoveListener( GetActiveWindow(), FALSE );
- mpClipEvtLstnr->ClearCallbackLink(); // #103849# prevent callback if another thread is waiting
+ mpClipEvtLstnr->ClearCallbackLink(); // #103849# prevent callback if another thread is waiting
mpClipEvtLstnr->release();
}
@@ -272,7 +272,7 @@ void DrawViewShell::Construct(DrawDocShell* pDocSh, PageKind eInitialPageKind)
GetDoc()->CreateFirstPages();
mpDrawView = new DrawView(pDocSh, GetActiveWindow(), this);
- mpView = mpDrawView; // Pointer der Basisklasse ViewShell
+ mpView = mpDrawView; // Pointer der Basisklasse ViewShell
mpDrawView->SetSwapAsynchron(TRUE); // Asynchrones Laden von Graphiken
// We do not read the page kind from the frame view anymore so we have
@@ -400,8 +400,8 @@ void DrawViewShell::Construct(DrawDocShell* pDocSh, PageKind eInitialPageKind)
::com::sun::star::uno::UNO_QUERY );
}
}
-
- mpAnnotationManager.reset( new AnnotationManager( GetViewShellBase() ) );
+
+ mpAnnotationManager.reset( new AnnotationManager( GetViewShellBase() ) );
mpViewOverlayManager.reset( new ViewOverlayManager( GetViewShellBase() ) );
}
@@ -472,7 +472,7 @@ bool DrawViewShell::RelocateToParentWindow (::Window* pParentWindow)
/*
linienzuege werden ueber makros als folge von
MoveTo (x, y)
- LineTo (x, y) [oder BezierTo (x, y)]
+ LineTo (x, y) [oder BezierTo (x, y)]
LineTo (x, y)
:
dargestellt. einen endbefehl fuer die linienzuege
@@ -843,7 +843,7 @@ void DrawViewShell::Notify (SfxBroadcaster&, const SfxHint& rHint)
void DrawViewShell::ExecuteAnnotation (SfxRequest& rRequest)
{
if( mpAnnotationManager.get() )
- mpAnnotationManager->ExecuteAnnotation( rRequest );
+ mpAnnotationManager->ExecuteAnnotation( rRequest );
}
// --------------------------------------------------------------------
@@ -851,7 +851,7 @@ void DrawViewShell::ExecuteAnnotation (SfxRequest& rRequest)
void DrawViewShell::GetAnnotationState (SfxItemSet& rItemSet )
{
if( mpAnnotationManager.get() )
- mpAnnotationManager->GetAnnotationState( rItemSet );
+ mpAnnotationManager->GetAnnotationState( rItemSet );
}
diff --git a/sd/source/ui/view/drviewsb.cxx b/sd/source/ui/view/drviewsb.cxx
index 3ef394bc9995..f89ffac376d2 100644
--- a/sd/source/ui/view/drviewsb.cxx
+++ b/sd/source/ui/view/drviewsb.cxx
@@ -2,7 +2,7 @@
/*************************************************************************
*
* 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
@@ -75,7 +75,7 @@
#include "SlideSorter.hxx"
#include "controller/SlideSorterController.hxx"
-#define RET_DELETE 100
+#define RET_DELETE 100
namespace sd {
@@ -131,7 +131,7 @@ void DrawViewShell::FuTemp02(SfxRequest& rReq)
while( bLoop && pDlg->Execute() == RET_OK )
{
pDlg->GetAttr( aNewAttr );
- aLayerName = ((SdAttrLayerName &) aNewAttr.Get (ATTR_LAYER_NAME)).GetValue ();
+ aLayerName = ((SdAttrLayerName &) aNewAttr.Get (ATTR_LAYER_NAME)).GetValue ();
if( rLayerAdmin.GetLayer( aLayerName, FALSE )
|| aLayerName.Len()==0 )
@@ -157,11 +157,11 @@ void DrawViewShell::FuTemp02(SfxRequest& rReq)
else
{
//pDlg->GetAttr( aNewAttr );
- //aLayerName = ((SdAttrLayerName &) aNewAttr.Get (ATTR_LAYER_NAME)).GetValue ();
+ //aLayerName = ((SdAttrLayerName &) aNewAttr.Get (ATTR_LAYER_NAME)).GetValue ();
aLayerTitle = ((SdAttrLayerTitle &) aNewAttr.Get (ATTR_LAYER_TITLE)).GetValue ();
aLayerDesc = ((SdAttrLayerDesc &) aNewAttr.Get (ATTR_LAYER_DESC)).GetValue ();
- bIsVisible = ((SdAttrLayerVisible &) aNewAttr.Get (ATTR_LAYER_VISIBLE)).GetValue ();
- bIsLocked = ((SdAttrLayerLocked &) aNewAttr.Get (ATTR_LAYER_LOCKED)).GetValue () ;
+ bIsVisible = ((SdAttrLayerVisible &) aNewAttr.Get (ATTR_LAYER_VISIBLE)).GetValue ();
+ bIsLocked = ((SdAttrLayerLocked &) aNewAttr.Get (ATTR_LAYER_LOCKED)).GetValue () ;
bIsPrintable = ((SdAttrLayerPrintable &) aNewAttr.Get (ATTR_LAYER_PRINTABLE)).GetValue () ;
delete pDlg;
@@ -184,7 +184,7 @@ void DrawViewShell::FuTemp02(SfxRequest& rReq)
aLayerName = pLayerName->GetValue ();
bIsVisible = pIsVisible->GetValue ();
- bIsLocked = pIsLocked->GetValue ();
+ bIsLocked = pIsLocked->GetValue ();
bIsPrintable = pIsPrintable->GetValue ();
}
@@ -293,12 +293,12 @@ void DrawViewShell::FuTemp02(SfxRequest& rReq)
pDlg->SetHelpId( SID_MODIFYLAYER );
// Ueberpruefung auf schon vorhandene Namen
- BOOL bLoop = TRUE;
- USHORT nRet = 0;
+ BOOL bLoop = TRUE;
+ USHORT nRet = 0;
while( bLoop && ( (nRet = pDlg->Execute()) == RET_OK ) )
{
pDlg->GetAttr( aNewAttr );
- aLayerName = ((SdAttrLayerName &) aNewAttr.Get (ATTR_LAYER_NAME)).GetValue ();
+ aLayerName = ((SdAttrLayerName &) aNewAttr.Get (ATTR_LAYER_NAME)).GetValue ();
if( (rLayerAdmin.GetLayer( aLayerName, FALSE ) &&
aLayerName != aOldLayerName) || aLayerName.Len()==0 )
@@ -318,8 +318,8 @@ void DrawViewShell::FuTemp02(SfxRequest& rReq)
case RET_OK :
aLayerTitle = ((SdAttrLayerTitle &) aNewAttr.Get (ATTR_LAYER_TITLE)).GetValue ();
aLayerDesc = ((SdAttrLayerDesc &) aNewAttr.Get (ATTR_LAYER_DESC)).GetValue ();
- bIsVisible = ((const SdAttrLayerVisible &) aNewAttr.Get (ATTR_LAYER_VISIBLE)).GetValue ();
- bIsLocked = ((const SdAttrLayerLocked &) aNewAttr.Get (ATTR_LAYER_LOCKED)).GetValue ();
+ bIsVisible = ((const SdAttrLayerVisible &) aNewAttr.Get (ATTR_LAYER_VISIBLE)).GetValue ();
+ bIsLocked = ((const SdAttrLayerLocked &) aNewAttr.Get (ATTR_LAYER_LOCKED)).GetValue ();
bIsPrintable = ((const SdAttrLayerLocked &) aNewAttr.Get (ATTR_LAYER_PRINTABLE)).GetValue ();
delete pDlg;
@@ -342,7 +342,7 @@ void DrawViewShell::FuTemp02(SfxRequest& rReq)
aLayerName = pLayerName->GetValue ();
bIsVisible = pIsVisible->GetValue ();
- bIsLocked = pIsLocked->GetValue ();
+ bIsLocked = pIsLocked->GetValue ();
bIsPrintable = pIsPrintable->GetValue ();
}
else
@@ -551,7 +551,7 @@ void DrawViewShell::FuTemp02(SfxRequest& rReq)
if( GetDocSh()->HasName() )
aName = GetDocSh()->GetMedium()->GetName();
//else
- // aName = GetDocSh()->GetName();
+ // aName = GetDocSh()->GetName();
pFieldItem = new SvxFieldItem( SvxExtFileField( aName ), EE_FEATURE_FIELD );
}
break;
diff --git a/sd/source/ui/view/drviewsc.cxx b/sd/source/ui/view/drviewsc.cxx
index 563a153a7ef5..73cc59fd9709 100644
--- a/sd/source/ui/view/drviewsc.cxx
+++ b/sd/source/ui/view/drviewsc.cxx
@@ -2,7 +2,7 @@
/*************************************************************************
*
* 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
@@ -64,11 +64,11 @@
#include "drawdoc.hxx"
#include "DrawDocShell.hxx"
#include "drawview.hxx"
-#include "sdabstdlg.hxx"
-#include "brkdlg.hrc"
+#include "sdabstdlg.hxx"
+#include "brkdlg.hrc"
namespace sd {
-#define MIN_ACTIONS_FOR_DIALOG 5000 // bei mehr als 1600 Metaobjekten
+#define MIN_ACTIONS_FOR_DIALOG 5000 // bei mehr als 1600 Metaobjekten
// wird beim Aufbrechen ein Dialog
// angezeigt.
/*************************************************************************
@@ -121,7 +121,7 @@ void DrawViewShell::FuTemp03(SfxRequest& rReq)
OSL_ENSURE(pFact, "Dialogdiet fail!");
AbstractSvxObjectNameDialog* pDlg = pFact->CreateSvxObjectNameDialog(NULL, aName);
OSL_ENSURE(pDlg, "Dialogdiet fail!");
-
+
pDlg->SetCheckNameHdl(LINK(this, DrawViewShell, NameObjectHdl));
if(RET_OK == pDlg->Execute())
@@ -200,7 +200,7 @@ void DrawViewShell::FuTemp03(SfxRequest& rReq)
rReq.Done ();
}
break;
-
+
case SID_COMBINE: // BASIC
{
// #88224# End text edit to avoid conflicts
@@ -421,7 +421,7 @@ void DrawViewShell::FuTemp03(SfxRequest& rReq)
}
break;
- case SID_FRAME_TO_TOP: // BASIC
+ case SID_FRAME_TO_TOP: // BASIC
{
mpDrawView->PutMarkedToTop();
Cancel();
@@ -439,7 +439,7 @@ void DrawViewShell::FuTemp03(SfxRequest& rReq)
}
break;
- case SID_MOREBACK: // BASIC
+ case SID_MOREBACK: // BASIC
{
mpDrawView->MovMarkedToBtm();
Cancel();
@@ -448,7 +448,7 @@ void DrawViewShell::FuTemp03(SfxRequest& rReq)
}
break;
- case SID_FRAME_TO_BOTTOM: // BASIC
+ case SID_FRAME_TO_BOTTOM: // BASIC
{
mpDrawView->PutMarkedToBtm();
Cancel();
@@ -465,7 +465,7 @@ void DrawViewShell::FuTemp03(SfxRequest& rReq)
}
break;
- case SID_VERTICAL: // BASIC
+ case SID_VERTICAL: // BASIC
{
mpDrawView->MirrorAllMarkedVertical();
Cancel();
@@ -537,7 +537,7 @@ void DrawViewShell::FuTemp03(SfxRequest& rReq)
}
break;
- case SID_STYLE_NEW: // BASIC ???
+ case SID_STYLE_NEW: // BASIC ???
case SID_STYLE_APPLY:
case SID_STYLE_EDIT:
case SID_STYLE_DELETE:
@@ -594,7 +594,7 @@ void DrawViewShell::FuTemp03(SfxRequest& rReq)
case SID_IMAP:
{
SvxIMapDlg* pDlg;
- USHORT nId = SvxIMapDlgChildWindow::GetChildWindowId();
+ USHORT nId = SvxIMapDlgChildWindow::GetChildWindowId();
GetViewFrame()->ToggleChildWindow( nId );
GetViewFrame()->GetBindings().Invalidate( SID_IMAP );
@@ -602,7 +602,7 @@ void DrawViewShell::FuTemp03(SfxRequest& rReq)
if ( GetViewFrame()->HasChildWindow( nId )
&& ( ( pDlg = ViewShell::Implementation::GetImageMapDialog() ) != NULL ) )
{
- const SdrMarkList& rMarkList = mpDrawView->GetMarkedObjectList();
+ const SdrMarkList& rMarkList = mpDrawView->GetMarkedObjectList();
if ( rMarkList.GetMarkCount() == 1 )
UpdateIMapDlg( rMarkList.GetMark( 0 )->GetMarkedSdrObj() );
@@ -940,9 +940,9 @@ void DrawViewShell::UpdateIMapDlg( SdrObject* pObj )
if( ( pObj->ISA( SdrGrafObj ) || pObj->ISA( SdrOle2Obj ) ) && !mpDrawView->IsTextEdit() &&
GetViewFrame()->HasChildWindow( SvxIMapDlgChildWindow::GetChildWindowId() ) )
{
- Graphic aGraphic;
- ImageMap* pIMap = NULL;
- TargetList* pTargetList = NULL;
+ Graphic aGraphic;
+ ImageMap* pIMap = NULL;
+ TargetList* pTargetList = NULL;
SdIMapInfo* pIMapInfo = GetDoc()->GetIMapInfo( pObj );
// get graphic from shape
diff --git a/sd/source/ui/view/drviewsd.cxx b/sd/source/ui/view/drviewsd.cxx
index 6f446b16937f..9d0f3cd30f6a 100644
--- a/sd/source/ui/view/drviewsd.cxx
+++ b/sd/source/ui/view/drviewsd.cxx
@@ -2,7 +2,7 @@
/*************************************************************************
*
* 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
diff --git a/sd/source/ui/view/drviewse.cxx b/sd/source/ui/view/drviewse.cxx
index 3f7a86aa5084..7ffde9252924 100644
--- a/sd/source/ui/view/drviewse.cxx
+++ b/sd/source/ui/view/drviewse.cxx
@@ -2,7 +2,7 @@
/*************************************************************************
*
* 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
@@ -250,7 +250,7 @@ void DrawViewShell::FuPermanent(SfxRequest& rReq)
switch ( nSId )
{
- case SID_TEXTEDIT: // BASIC ???
+ case SID_TEXTEDIT: // BASIC ???
case SID_ATTR_CHAR:
case SID_ATTR_CHAR_VERTICAL:
case SID_TEXT_FITTOSIZE:
@@ -542,7 +542,7 @@ void DrawViewShell::FuPermanent(SfxRequest& rReq)
rBind.Update( nSId );
break;
}
-
+
default:
break;
}
@@ -704,7 +704,7 @@ void DrawViewShell::FuSupport(SfxRequest& rReq)
if( xPresentation.is() )
{
if( ( SID_REHEARSE_TIMINGS != rReq.GetSlot() ) )
- xPresentation->start();
+ xPresentation->start();
else
xPresentation->rehearseTimings();
}
@@ -1168,7 +1168,7 @@ void DrawViewShell::FuSupport(SfxRequest& rReq)
// Namensverwirrung: SID_SIZE_OPTIMAL -> Zoom auf selektierte Objekte
// --> Wird als Objektzoom im Programm angeboten
- case SID_SIZE_OPTIMAL: // BASIC
+ case SID_SIZE_OPTIMAL: // BASIC
{
mbZoomOnPage = FALSE;
if ( mpDrawView->AreObjectsMarked() )
@@ -1198,7 +1198,7 @@ void DrawViewShell::FuSupport(SfxRequest& rReq)
// Namensverwirrung: SID_SIZE_ALL -> Zoom auf alle Objekte
// --> Wird als Optimal im Programm angeboten
- case SID_SIZE_ALL: // BASIC
+ case SID_SIZE_ALL: // BASIC
{
mbZoomOnPage = FALSE;
SdrPageView* pPageView = mpDrawView->GetSdrPageView();
@@ -1377,7 +1377,7 @@ void DrawViewShell::FuSupport(SfxRequest& rReq)
if( rGraphic.GetType() == GRAPHIC_BITMAP )
{
- SdrGrafObj* pNewObj = (SdrGrafObj*) pObj->Clone();
+ SdrGrafObj* pNewObj = (SdrGrafObj*) pObj->Clone();
if( rGraphic.IsAnimated() )
{
diff --git a/sd/source/ui/view/drviewsf.cxx b/sd/source/ui/view/drviewsf.cxx
index e55b5e99ac21..9d1e69fad658 100644
--- a/sd/source/ui/view/drviewsf.cxx
+++ b/sd/source/ui/view/drviewsf.cxx
@@ -2,7 +2,7 @@
/*************************************************************************
*
* 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
@@ -286,10 +286,10 @@ void DrawViewShell::GetCtrlState(SfxItemSet &rSet)
void DrawViewShell::GetAttrState( SfxItemSet& rSet )
{
- SfxWhichIter aIter( rSet );
- USHORT nWhich = aIter.FirstWhich();
+ SfxWhichIter aIter( rSet );
+ USHORT nWhich = aIter.FirstWhich();
- BOOL bAttr = FALSE;
+ BOOL bAttr = FALSE;
SfxAllItemSet aAllSet( *rSet.GetPool() );
while ( nWhich )
@@ -349,9 +349,9 @@ void DrawViewShell::GetAttrState( SfxItemSet& rSet )
{
SfxStyleFamily eFamily = pStyleSheet->GetFamily();
- if ((eFamily == SD_STYLE_FAMILY_GRAPHICS && nSlotId == SID_STYLE_FAMILY2) ||
- (eFamily == SD_STYLE_FAMILY_CELL && nSlotId == SID_STYLE_FAMILY3) ||
- (eFamily == SD_STYLE_FAMILY_PSEUDO && nSlotId == SID_STYLE_FAMILY5))
+ if ((eFamily == SD_STYLE_FAMILY_GRAPHICS && nSlotId == SID_STYLE_FAMILY2) ||
+ (eFamily == SD_STYLE_FAMILY_CELL && nSlotId == SID_STYLE_FAMILY3) ||
+ (eFamily == SD_STYLE_FAMILY_PSEUDO && nSlotId == SID_STYLE_FAMILY5))
{
SfxTemplateItem aTmpItem ( nWhich, pStyleSheet->GetName() );
aAllSet.Put( aTmpItem, aTmpItem.Which() );
@@ -365,7 +365,7 @@ void DrawViewShell::GetAttrState( SfxItemSet& rSet )
}
}
else
- { SfxTemplateItem aItem( nWhich, String() );
+ { SfxTemplateItem aItem( nWhich, String() );
aAllSet.Put( aItem, aItem.Which() );
// rSet.DisableItem( nWhich );
}
diff --git a/sd/source/ui/view/drviewsg.cxx b/sd/source/ui/view/drviewsg.cxx
index 2e81a007146c..8629cf0de9d7 100644
--- a/sd/source/ui/view/drviewsg.cxx
+++ b/sd/source/ui/view/drviewsg.cxx
@@ -2,7 +2,7 @@
/*************************************************************************
*
* 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
@@ -75,13 +75,13 @@ void DrawViewShell::ExecIMap( SfxRequest& rReq )
if ( pMark )
{
- SdrObject* pSdrObj = pMark->GetMarkedSdrObj();
+ SdrObject* pSdrObj = pMark->GetMarkedSdrObj();
SvxIMapDlg* pDlg = ViewShell::Implementation::GetImageMapDialog();
if ( pDlg->GetEditingObject() == (void*) pSdrObj )
{
const ImageMap& rImageMap = pDlg->GetImageMap();
- SdIMapInfo* pIMapInfo = GetDoc()->GetIMapInfo( pSdrObj );
+ SdIMapInfo* pIMapInfo = GetDoc()->GetIMapInfo( pSdrObj );
if ( !pIMapInfo )
pSdrObj->InsertUserData( new SdIMapInfo( rImageMap ) );
@@ -107,9 +107,9 @@ void DrawViewShell::GetIMapState( SfxItemSet& rSet )
if( GetViewFrame()->HasChildWindow( SvxIMapDlgChildWindow::GetChildWindowId() ) )
{
- const SdrMarkList& rMarkList = mpDrawView->GetMarkedObjectList();
- const SdrObject* pObj = NULL;
- ULONG nMarkCount = rMarkList.GetMarkCount();
+ const SdrMarkList& rMarkList = mpDrawView->GetMarkedObjectList();
+ const SdrObject* pObj = NULL;
+ ULONG nMarkCount = rMarkList.GetMarkCount();
if ( nMarkCount == 1 )
{
@@ -130,7 +130,7 @@ void DrawViewShell::GetIMapState( SfxItemSet& rSet )
/*************************************************************************
|*
-|* Execute-Methode der Optionsleiste
+|* Execute-Methode der Optionsleiste
|*
\************************************************************************/
@@ -263,7 +263,7 @@ void DrawViewShell::ExecOptionsBar( SfxRequest& rReq )
/*************************************************************************
|*
-|* State-Methode der Optionsleiste
+|* State-Methode der Optionsleiste
|*
\************************************************************************/
diff --git a/sd/source/ui/view/drviewsh.cxx b/sd/source/ui/view/drviewsh.cxx
index 3fff3eeb729f..2dc9602cb0e6 100644
--- a/sd/source/ui/view/drviewsh.cxx
+++ b/sd/source/ui/view/drviewsh.cxx
@@ -2,7 +2,7 @@
/*************************************************************************
*
* 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
@@ -56,7 +56,7 @@
namespace sd {
-#define TABCONTROL_INITIAL_SIZE 500
+#define TABCONTROL_INITIAL_SIZE 500
/*************************************************************************
|*
@@ -148,7 +148,7 @@ void DrawViewShell::MakeVisible(const Rectangle& rRect, ::Window& rWin)
while(rRect.Right() > aNewPos.X() + aVisAreaSize.Width())
aNewPos.X() += nFreeSpaceX;
-
+
while(rRect.Left() < aNewPos.X())
aNewPos.X() -= nFreeSpaceX;
}
@@ -174,7 +174,7 @@ void DrawViewShell::MakeVisible(const Rectangle& rRect, ::Window& rWin)
while(rRect.Bottom() > aNewPos.Y() + aVisAreaSize.Height())
aNewPos.Y() += nFreeSpaceY;
-
+
while(rRect.Top() < aNewPos.Y())
aNewPos.Y() -= nFreeSpaceY;
}
diff --git a/sd/source/ui/view/drviewsi.cxx b/sd/source/ui/view/drviewsi.cxx
index bb011c5af2fb..c6b5d4c90396 100644
--- a/sd/source/ui/view/drviewsi.cxx
+++ b/sd/source/ui/view/drviewsi.cxx
@@ -2,7 +2,7 @@
/*************************************************************************
*
* 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
@@ -68,7 +68,7 @@ namespace sd {
#define ATTR_MIXED 1 // Attribut uneindeutig (bei Mehrfachselektion)
#define ATTR_SET 2 // Attribut eindeutig
-#define ITEMVALUE(ItemSet,Id,Cast) ((const Cast&)(ItemSet).Get(Id)).GetValue()
+#define ITEMVALUE(ItemSet,Id,Cast) ((const Cast&)(ItemSet).Get(Id)).GetValue()
/*************************************************************************
|*
@@ -146,7 +146,7 @@ void DrawViewShell::AssignFrom3DWindow()
if(!GetView()->IsPresObjSelected())
{
SfxItemSet aSet( GetDoc()->GetPool(),
- SDRATTR_START, SDRATTR_END,
+ SDRATTR_START, SDRATTR_END,
0, 0);
p3DWin->GetAttr( aSet );
@@ -157,7 +157,7 @@ void DrawViewShell::AssignFrom3DWindow()
{
// Nur TextAttribute zuweisen
SfxItemSet aTextSet( GetDoc()->GetPool(),
- EE_ITEMS_START, EE_ITEMS_END, 0 );
+ EE_ITEMS_START, EE_ITEMS_END, 0 );
aTextSet.Put( aSet, FALSE );
GetView()->SetAttributes( aTextSet );
diff --git a/sd/source/ui/view/drviewsj.cxx b/sd/source/ui/view/drviewsj.cxx
index 0d14f18e9a37..f4fc9d9af640 100644
--- a/sd/source/ui/view/drviewsj.cxx
+++ b/sd/source/ui/view/drviewsj.cxx
@@ -2,7 +2,7 @@
/*************************************************************************
*
* 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
@@ -98,8 +98,8 @@ void DrawViewShell::GetMenuStateSel( SfxItemSet &rSet )
SFX_ITEM_AVAILABLE == rSet.GetItemState( SID_MEASURE_DLG ) ||
SFX_ITEM_AVAILABLE == rSet.GetItemState( SID_CONNECTION_DLG ) ||
SFX_ITEM_AVAILABLE == rSet.GetItemState( SID_CONNECTION_NEW_ROUTING ) ||
-// SFX_ITEM_AVAILABLE == rSet.GetItemState( SID_CONVERT_TO_3D_LATHE ) ||
-// SFX_ITEM_AVAILABLE == rSet.GetItemState( SID_CONVERT_TO_3D_LATHE_FAST ) ||
+// SFX_ITEM_AVAILABLE == rSet.GetItemState( SID_CONVERT_TO_3D_LATHE ) ||
+// SFX_ITEM_AVAILABLE == rSet.GetItemState( SID_CONVERT_TO_3D_LATHE_FAST ) ||
SFX_ITEM_AVAILABLE == rSet.GetItemState( SID_OBJECT_SHEAR ) ||
SFX_ITEM_AVAILABLE == rSet.GetItemState( SID_CONVERT_TO_1BIT_THRESHOLD ) ||
SFX_ITEM_AVAILABLE == rSet.GetItemState( SID_CONVERT_TO_1BIT_MATRIX ) ||
@@ -333,21 +333,21 @@ void DrawViewShell::GetMenuStateSel( SfxItemSet &rSet )
rSet.DisableItem( SID_MODIFY_FIELD );
if( 1 )
-// if( SFX_ITEM_AVAILABLE == rSet.GetItemState( SID_ATTR_FILL_STYLE ) ||
-// SFX_ITEM_AVAILABLE == rSet.GetItemState( SID_UNGROUP ) ||
-// SFX_ITEM_AVAILABLE == rSet.GetItemState( SID_MEASURE_DLG ) ||
-// SFX_ITEM_AVAILABLE == rSet.GetItemState( SID_CONNECTION_DLG ) ||
-// SFX_ITEM_AVAILABLE == rSet.GetItemState( SID_COMBINE ) ||
+// if( SFX_ITEM_AVAILABLE == rSet.GetItemState( SID_ATTR_FILL_STYLE ) ||
+// SFX_ITEM_AVAILABLE == rSet.GetItemState( SID_UNGROUP ) ||
+// SFX_ITEM_AVAILABLE == rSet.GetItemState( SID_MEASURE_DLG ) ||
+// SFX_ITEM_AVAILABLE == rSet.GetItemState( SID_CONNECTION_DLG ) ||
+// SFX_ITEM_AVAILABLE == rSet.GetItemState( SID_COMBINE ) ||
// SFX_ITEM_AVAILABLE == rSet.GetItemState( SID_OBJECT_SHEAR ) ||
-// SFX_ITEM_AVAILABLE == rSet.GetItemState( SID_TEXTATTR_DLG ) ||
-// SFX_ITEM_AVAILABLE == rSet.GetItemState( SID_CONVERT_TO_3D_LATHE ) ||
-// SFX_ITEM_AVAILABLE == rSet.GetItemState( SID_CONVERT_TO_3D_LATHE_FAST ) ||
-// SFX_ITEM_AVAILABLE == rSet.GetItemState( SID_OBJECT_ALIGN_LEFT ) ||
-// SFX_ITEM_AVAILABLE == rSet.GetItemState( SID_OBJECT_ALIGN_CENTER ) ||
-// SFX_ITEM_AVAILABLE == rSet.GetItemState( SID_OBJECT_ALIGN_RIGHT ) ||
-// SFX_ITEM_AVAILABLE == rSet.GetItemState( SID_OBJECT_ALIGN_UP ) ||
-// SFX_ITEM_AVAILABLE == rSet.GetItemState( SID_OBJECT_ALIGN_MIDDLE ) ||
-// SFX_ITEM_AVAILABLE == rSet.GetItemState( SID_OBJECT_ALIGN_DOWN ) )
+// SFX_ITEM_AVAILABLE == rSet.GetItemState( SID_TEXTATTR_DLG ) ||
+// SFX_ITEM_AVAILABLE == rSet.GetItemState( SID_CONVERT_TO_3D_LATHE ) ||
+// SFX_ITEM_AVAILABLE == rSet.GetItemState( SID_CONVERT_TO_3D_LATHE_FAST ) ||
+// SFX_ITEM_AVAILABLE == rSet.GetItemState( SID_OBJECT_ALIGN_LEFT ) ||
+// SFX_ITEM_AVAILABLE == rSet.GetItemState( SID_OBJECT_ALIGN_CENTER ) ||
+// SFX_ITEM_AVAILABLE == rSet.GetItemState( SID_OBJECT_ALIGN_RIGHT ) ||
+// SFX_ITEM_AVAILABLE == rSet.GetItemState( SID_OBJECT_ALIGN_UP ) ||
+// SFX_ITEM_AVAILABLE == rSet.GetItemState( SID_OBJECT_ALIGN_MIDDLE ) ||
+// SFX_ITEM_AVAILABLE == rSet.GetItemState( SID_OBJECT_ALIGN_DOWN ) )
{
BOOL bText = FALSE;
BOOL bLine = FALSE;
@@ -532,7 +532,7 @@ void DrawViewShell::GetMenuStateSel( SfxItemSet &rSet )
rSet.DisableItem( SID_BEHIND_OBJ );
rSet.DisableItem( SID_CONVERT );
-// rSet.DisableItem( SID_BEZIER_EDIT );
+// rSet.DisableItem( SID_BEZIER_EDIT );
rSet.DisableItem( SID_SIZE_OPTIMAL );
rSet.DisableItem( SID_LINEEND_POLYGON );
rSet.DisableItem( SID_COPYOBJECTS );
diff --git a/sd/source/ui/view/drvwshrg.cxx b/sd/source/ui/view/drvwshrg.cxx
index 9313d7a9dfd9..13062853ebd1 100644
--- a/sd/source/ui/view/drvwshrg.cxx
+++ b/sd/source/ui/view/drvwshrg.cxx
@@ -2,7 +2,7 @@
/*************************************************************************
*
* 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
@@ -68,7 +68,7 @@ using namespace sd;
namespace sd {
-//AF:unused #define TABCONTROL_INITIAL_SIZE 500
+//AF:unused #define TABCONTROL_INITIAL_SIZE 500
/*************************************************************************
|*
diff --git a/sd/source/ui/view/frmview.cxx b/sd/source/ui/view/frmview.cxx
index 1404855bf214..9d11475d93ea 100644
--- a/sd/source/ui/view/frmview.cxx
+++ b/sd/source/ui/view/frmview.cxx
@@ -2,7 +2,7 @@
/*************************************************************************
*
* 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
@@ -125,7 +125,7 @@ FrameView::FrameView(SdDrawDocument* pDrawDoc, FrameView* pFrameView /* = NULK *
{
default:
// case ViewShell::ST_IMPRESS:
-// case ViewShell::ST_NOTES:
+// case ViewShell::ST_NOTES:
// case ViewShell::ST_HANDOUT:
mnPresViewShellId = SID_VIEWSHELL0;
break;
@@ -182,7 +182,7 @@ FrameView::FrameView(SdDrawDocument* pDrawDoc, FrameView* pFrameView /* = NULK *
SetEliminatePolyPointLimitAngle( pFrameView->GetEliminatePolyPointLimitAngle() );
SetEliminatePolyPoints( pFrameView->IsEliminatePolyPoints() );
// #110094#-7
-// SetMasterPagePaintCaching( pFrameView->IsMasterPagePaintCaching() );
+// SetMasterPagePaintCaching( pFrameView->IsMasterPagePaintCaching() );
SetDesignMode( pFrameView->IsDesignMode() );
SetSolidMarkHdl( pFrameView->IsSolidMarkHdl() );
@@ -208,12 +208,12 @@ FrameView::FrameView(SdDrawDocument* pDrawDoc, FrameView* pFrameView /* = NULK *
SetViewShEditModeOnLoad(pFrameView->GetViewShEditModeOnLoad());
mbLayerMode = pFrameView->IsLayerMode();
mbQuickEdit = pFrameView->IsQuickEdit();
-
+
// #i26631#
SetMasterPagePaintCaching( pFrameView->IsMasterPagePaintCaching() );
-
+
SetDragWithCopy( pFrameView->IsDragWithCopy() );
- mbBigHandles = pFrameView->IsBigHandles();
+ mbBigHandles = pFrameView->IsBigHandles();
mbDoubleClickTextEdit = pFrameView->IsDoubleClickTextEdit();
mbClickChangeRotation = pFrameView->IsClickChangeRotation();
mnSlidesPerRow = pFrameView->GetSlidesPerRow();
@@ -351,7 +351,7 @@ void FrameView::Update(SdOptions* pOptions)
SetOrtho( pOptions->IsOrtho() );
SetEliminatePolyPointLimitAngle( pOptions->GetEliminatePolyPointLimitAngle() );
// #110094#-7
-// SetMasterPagePaintCaching( pOptions->IsMasterPagePaintCaching() );
+// SetMasterPagePaintCaching( pOptions->IsMasterPagePaintCaching() );
GetModel()->SetPickThroughTransparentTextFrames( pOptions->IsPickThrough() );
SetSolidMarkHdl( pOptions->IsSolidMarkHdl() );
@@ -363,10 +363,10 @@ void FrameView::Update(SdOptions* pOptions)
Fraction aFractY(pOptions->GetFldDrawY(), pOptions->GetFldDrawY() / ( pOptions->GetFldDivisionY() ? pOptions->GetFldDivisionY() : 1 ));
SetSnapGridWidth(aFractX, aFractY);
SetQuickEdit(pOptions->IsQuickEdit());
-
+
// #i26631#
SetMasterPagePaintCaching( pOptions->IsMasterPagePaintCaching() );
-
+
SetDragWithCopy(pOptions->IsDragWithCopy());
SetBigHandles( pOptions->IsBigHandles() );
SetDoubleClickTextEdit( pOptions->IsDoubleClickTextEdit() );
@@ -490,38 +490,38 @@ void FrameView::WriteUserDataSequence ( ::com::sun::star::uno::Sequence < ::com:
aUserData.addValue( sUNO_View_IsSnapToObjectFrame, makeAny( (sal_Bool)IsOFrmSnap() ) );
aUserData.addValue( sUNO_View_IsSnapToObjectPoints, makeAny( (sal_Bool)IsOPntSnap() ) );
-// pValue->Name = rtl::OUString( RTL_CONSTASCII_USTRINGPARAM( sUNO_View_IsSnapLinesVisible ) );
-// pValue->Value <<= (sal_Bool)IsHlplVisible();
+// pValue->Name = rtl::OUString( RTL_CONSTASCII_USTRINGPARAM( sUNO_View_IsSnapLinesVisible ) );
+// pValue->Value <<= (sal_Bool)IsHlplVisible();
// pValue++;nIndex++;
-// pValue->Name = rtl::OUString( RTL_CONSTASCII_USTRINGPARAM( sUNO_View_IsDragStripes ) );
-// pValue->Value <<= (sal_Bool)IsDragStripes();
+// pValue->Name = rtl::OUString( RTL_CONSTASCII_USTRINGPARAM( sUNO_View_IsDragStripes ) );
+// pValue->Value <<= (sal_Bool)IsDragStripes();
// pValue++;nIndex++;
aUserData.addValue( sUNO_View_IsPlusHandlesAlwaysVisible, makeAny( (sal_Bool)IsPlusHandlesAlwaysVisible() ) );
aUserData.addValue( sUNO_View_IsFrameDragSingles, makeAny( (sal_Bool)IsFrameDragSingles() ) );
-// pValue->Name = rtl::OUString( RTL_CONSTASCII_USTRINGPARAM( sUNO_View_IsMarkedHitMovesAlways ) );
-// pValue->Value <<= (sal_Bool)IsMarkedHitMovesAlways();
+// pValue->Name = rtl::OUString( RTL_CONSTASCII_USTRINGPARAM( sUNO_View_IsMarkedHitMovesAlways ) );
+// pValue->Value <<= (sal_Bool)IsMarkedHitMovesAlways();
// pValue++;nIndex++;
aUserData.addValue( sUNO_View_EliminatePolyPointLimitAngle, makeAny( (sal_Int32)GetEliminatePolyPointLimitAngle() ) );
aUserData.addValue( sUNO_View_IsEliminatePolyPoints, makeAny( (sal_Bool)IsEliminatePolyPoints() ) );
-// pValue->Name = rtl::OUString( RTL_CONSTASCII_USTRINGPARAM( sUNO_View_IsLineDraft ) );
-// pValue->Value <<= (sal_Bool)IsLineDraft();
+// pValue->Name = rtl::OUString( RTL_CONSTASCII_USTRINGPARAM( sUNO_View_IsLineDraft ) );
+// pValue->Value <<= (sal_Bool)IsLineDraft();
// pValue++;nIndex++;
-// pValue->Name = rtl::OUString( RTL_CONSTASCII_USTRINGPARAM( sUNO_View_IsFillDraft ) );
-// pValue->Value <<= (sal_Bool)IsFillDraft();
+// pValue->Name = rtl::OUString( RTL_CONSTASCII_USTRINGPARAM( sUNO_View_IsFillDraft ) );
+// pValue->Value <<= (sal_Bool)IsFillDraft();
// pValue++;nIndex++;
-// pValue->Name = rtl::OUString( RTL_CONSTASCII_USTRINGPARAM( sUNO_View_IsTextDraft ) );
-// pValue->Value <<= (sal_Bool)IsTextDraft();
+// pValue->Name = rtl::OUString( RTL_CONSTASCII_USTRINGPARAM( sUNO_View_IsTextDraft ) );
+// pValue->Value <<= (sal_Bool)IsTextDraft();
// pValue++;nIndex++;
-// pValue->Name = rtl::OUString( RTL_CONSTASCII_USTRINGPARAM( sUNO_View_IsGrafDraft ) );
-// pValue->Value <<= (sal_Bool)IsGrafDraft();
+// pValue->Name = rtl::OUString( RTL_CONSTASCII_USTRINGPARAM( sUNO_View_IsGrafDraft ) );
+// pValue->Value <<= (sal_Bool)IsGrafDraft();
// pValue++;nIndex++;
Any aAny;
@@ -551,16 +551,16 @@ void FrameView::WriteUserDataSequence ( ::com::sun::star::uno::Sequence < ::com:
aUserData.addValue( sUNO_View_SelectedPage, makeAny( (sal_Int16)GetSelectedPage() ) );
aUserData.addValue( sUNO_View_IsLayerMode, makeAny( (sal_Bool)IsLayerMode() ) );
-// pValue->Name = rtl::OUString( RTL_CONSTASCII_USTRINGPARAM( sUNO_View_IsQuickEdit ) );
-// pValue->Value <<= (sal_Bool)IsQuickEdit();
+// pValue->Name = rtl::OUString( RTL_CONSTASCII_USTRINGPARAM( sUNO_View_IsQuickEdit ) );
+// pValue->Value <<= (sal_Bool)IsQuickEdit();
// pValue++;nIndex++;
aUserData.addValue( sUNO_View_IsBigHandles, makeAny( (sal_Bool)IsBigHandles() ) );
aUserData.addValue( sUNO_View_IsDoubleClickTextEdit, makeAny( (sal_Bool)IsDoubleClickTextEdit() ) );
aUserData.addValue( sUNO_View_IsClickChangeRotation, makeAny( (sal_Bool)IsClickChangeRotation() ) );
-// pValue->Name = rtl::OUString( RTL_CONSTASCII_USTRINGPARAM( sUNO_View_IsDragWithCopy ) );
-// pValue->Value <<= (sal_Bool)IsDragWithCopy();
+// pValue->Name = rtl::OUString( RTL_CONSTASCII_USTRINGPARAM( sUNO_View_IsDragWithCopy ) );
+// pValue->Value <<= (sal_Bool)IsDragWithCopy();
// pValue++;nIndex++;
aUserData.addValue( sUNO_View_SlidesPerRow, makeAny( (sal_Int16)GetSlidesPerRow() ) );
@@ -760,14 +760,14 @@ void FrameView::ReadUserDataSequence ( const ::com::sun::star::uno::Sequence < :
SetLayerMode( bBool );
}
}
-/* else if (pValue->Name.equalsAsciiL( RTL_CONSTASCII_STRINGPARAM( sUNO_View_IsQuickEdit ) ) )
+/* else if (pValue->Name.equalsAsciiL( RTL_CONSTASCII_STRINGPARAM( sUNO_View_IsQuickEdit ) ) )
{
if( pValue->Value >>= bBool )
{
SetQuickEdit( bBool );
}
}
-*/ else if (pValue->Name.equalsAsciiL( RTL_CONSTASCII_STRINGPARAM( sUNO_View_IsBigHandles ) ) )
+*/ else if (pValue->Name.equalsAsciiL( RTL_CONSTASCII_STRINGPARAM( sUNO_View_IsBigHandles ) ) )
{
if( pValue->Value >>= bBool )
{
@@ -788,14 +788,14 @@ void FrameView::ReadUserDataSequence ( const ::com::sun::star::uno::Sequence < :
SetClickChangeRotation( bBool );
}
}
-/* else if (pValue->Name.equalsAsciiL( RTL_CONSTASCII_STRINGPARAM( sUNO_View_IsDragWithCopy ) ) )
+/* else if (pValue->Name.equalsAsciiL( RTL_CONSTASCII_STRINGPARAM( sUNO_View_IsDragWithCopy ) ) )
{
if( pValue->Value >>= bBool )
{
SetDragWithCopy( bBool );
}
}
-*/ else if (pValue->Name.equalsAsciiL( RTL_CONSTASCII_STRINGPARAM( sUNO_View_SlidesPerRow ) ) )
+*/ else if (pValue->Name.equalsAsciiL( RTL_CONSTASCII_STRINGPARAM( sUNO_View_SlidesPerRow ) ) )
{
if( pValue->Value >>= nInt16 )
{
@@ -948,7 +948,7 @@ void FrameView::ReadUserDataSequence ( const ::com::sun::star::uno::Sequence < :
SetOPntSnap( bBool );
}
}
-/* else if (pValue->Name.equalsAsciiL( RTL_CONSTASCII_STRINGPARAM( sUNO_View_IsSnapLinesVisible ) ) )
+/* else if (pValue->Name.equalsAsciiL( RTL_CONSTASCII_STRINGPARAM( sUNO_View_IsSnapLinesVisible ) ) )
{
if( pValue->Value >>= bBool )
{
@@ -962,7 +962,7 @@ void FrameView::ReadUserDataSequence ( const ::com::sun::star::uno::Sequence < :
SetDragStripes( bBool );
}
}
-*/ else if (pValue->Name.equalsAsciiL( RTL_CONSTASCII_STRINGPARAM( sUNO_View_IsPlusHandlesAlwaysVisible ) ) )
+*/ else if (pValue->Name.equalsAsciiL( RTL_CONSTASCII_STRINGPARAM( sUNO_View_IsPlusHandlesAlwaysVisible ) ) )
{
if( pValue->Value >>= bBool )
{
@@ -976,14 +976,14 @@ void FrameView::ReadUserDataSequence ( const ::com::sun::star::uno::Sequence < :
SetFrameDragSingles( bBool );
}
}
-/* else if (pValue->Name.equalsAsciiL( RTL_CONSTASCII_STRINGPARAM( sUNO_View_IsMarkedHitMovesAlways ) ) )
+/* else if (pValue->Name.equalsAsciiL( RTL_CONSTASCII_STRINGPARAM( sUNO_View_IsMarkedHitMovesAlways ) ) )
{
if( pValue->Value >>= bBool )
{
SetMarkedHitMovesAlways( bBool );
}
}
-*/ else if (pValue->Name.equalsAsciiL( RTL_CONSTASCII_STRINGPARAM( sUNO_View_EliminatePolyPointLimitAngle ) ) )
+*/ else if (pValue->Name.equalsAsciiL( RTL_CONSTASCII_STRINGPARAM( sUNO_View_EliminatePolyPointLimitAngle ) ) )
{
if( pValue->Value >>= nInt32 )
{
@@ -1181,8 +1181,8 @@ ViewShell::ShellType FrameView::GetViewShellTypeOnLoad (void) const
void FrameView::SetSelectedPage(USHORT nPage)
-{
- mnSelectedPage = nPage;
+{
+ mnSelectedPage = nPage;
}
@@ -1190,7 +1190,7 @@ void FrameView::SetSelectedPage(USHORT nPage)
USHORT FrameView::GetSelectedPage (void) const
{
- return mnSelectedPage;
+ return mnSelectedPage;
}
diff --git a/sd/source/ui/view/grviewsh.cxx b/sd/source/ui/view/grviewsh.cxx
index 94ab18124841..15cccdf1ecd1 100644
--- a/sd/source/ui/view/grviewsh.cxx
+++ b/sd/source/ui/view/grviewsh.cxx
@@ -2,7 +2,7 @@
/*************************************************************************
*
* 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
@@ -35,7 +35,7 @@
#include <sfx2/objsh.hxx>
#include <sfx2/viewfrm.hxx>
#include <vcl/scrbar.hxx>
-#include <vcl/salbtype.hxx> // FRound
+#include <vcl/salbtype.hxx> // FRound
namespace sd {
diff --git a/sd/source/ui/view/outlnvs2.cxx b/sd/source/ui/view/outlnvs2.cxx
index 30d48aeb594f..730a7e2871e7 100644
--- a/sd/source/ui/view/outlnvs2.cxx
+++ b/sd/source/ui/view/outlnvs2.cxx
@@ -2,7 +2,7 @@
/*************************************************************************
*
* 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
@@ -420,12 +420,12 @@ void OutlineViewShell::FuTemporaryModify(SfxRequest &rReq)
case SID_SET_DEFAULT:
{
// 1. Selektion merken (kriegt die eselige EditEngine nicht selbst
- // auf die Reihe!)
+ // auf die Reihe!)
// 2. Update auf False (sonst flackert's noch staerker
// an allen selektierten Absaetzen:
- // a. deren Vorlage nochmal setzen, um absatzweite harte Attribute
- // zu entfernen
- // b. harte Zeichenattribute loeschen
+ // a. deren Vorlage nochmal setzen, um absatzweite harte Attribute
+ // zu entfernen
+ // b. harte Zeichenattribute loeschen
// 3. Update auf True und Selektion wieder setzen
/*
ESelection aEsel= pOutlinerView->GetSelection();
@@ -530,7 +530,7 @@ void OutlineViewShell::FuTemporaryModify(SfxRequest &rReq)
if( GetDocSh()->HasName() )
aName = GetDocSh()->GetMedium()->GetName();
//else
- // aName = GetDocSh()->GetName();
+ // aName = GetDocSh()->GetName();
pFieldItem = new SvxFieldItem( SvxExtFileField( aName ), EE_FEATURE_FIELD );
}
break;
diff --git a/sd/source/ui/view/outlnvsh.cxx b/sd/source/ui/view/outlnvsh.cxx
index 43ee0b307fd9..68b7a9954054 100644
--- a/sd/source/ui/view/outlnvsh.cxx
+++ b/sd/source/ui/view/outlnvsh.cxx
@@ -2,7 +2,7 @@
/*************************************************************************
*
* 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
@@ -107,8 +107,8 @@ using namespace sd;
namespace sd {
-#define MIN_ZOOM 10 // Minimaler Zoomfaktor
-#define MAX_ZOOM 1000 // Maximaler Zoomfaktor
+#define MIN_ZOOM 10 // Minimaler Zoomfaktor
+#define MAX_ZOOM 1000 // Maximaler Zoomfaktor
/************************************************************************/
@@ -158,7 +158,7 @@ void OutlineViewShell::Construct(DrawDocShell* )
GetActiveWindow()->SetMaxZoom( MAX_ZOOM );
InitWindows(aViewOrigin, aSize, aWinPos);
pOlView = new OutlineView(GetDocSh(), GetActiveWindow(), this);
- mpView = pOlView; // Pointer der Basisklasse ViewShell
+ mpView = pOlView; // Pointer der Basisklasse ViewShell
SetPool( &GetDoc()->GetPool() );
@@ -254,7 +254,7 @@ OutlineViewShell::~OutlineViewShell()
if ( pClipEvtLstnr )
{
pClipEvtLstnr->AddRemoveListener( GetActiveWindow(), FALSE );
- pClipEvtLstnr->ClearCallbackLink(); // #103849# prevent callback if another thread is waiting
+ pClipEvtLstnr->ClearCallbackLink(); // #103849# prevent callback if another thread is waiting
pClipEvtLstnr->release();
}
}
@@ -314,7 +314,7 @@ void OutlineViewShell::ArrangeGUIElements ()
OutlinerView* pOutlinerView = pOlView->GetViewByWindow(pWindow);
Rectangle aWin(Point(0,0), pWindow->GetOutputSizePixel());
-// aWin.nLeft = pOlView->GetPageNumberWidthPixel();
+// aWin.nLeft = pOlView->GetPageNumberWidthPixel();
aWin = pWindow->PixelToLogic(aWin);
pOutlinerView->SetOutputArea(aWin);
@@ -326,7 +326,7 @@ void OutlineViewShell::ArrangeGUIElements ()
pOlView->GetOutliner()->GetTextHeight()));
aText.Bottom() += aWin.GetHeight();
- if (!aWin.IsEmpty()) // nicht beim Oeffnen
+ if (!aWin.IsEmpty()) // nicht beim Oeffnen
{
InitWindows(Point(0,0), aText.GetSize(), Point(aVis.TopLeft()));
UpdateScrollBars();
@@ -515,7 +515,7 @@ void OutlineViewShell::FuSupport(SfxRequest &rReq)
(nSlot == SID_TRANSLITERATE_HIRAGANA) ||
(nSlot == SID_TRANSLITERATE_KATAGANA) ||
(nSlot == SID_CUT) ||
-// (nSlot == SID_COPY) ||
+// (nSlot == SID_COPY) ||
(nSlot == SID_PASTE) ||
(nSlot == SID_DELETE)))
{
@@ -869,7 +869,7 @@ void OutlineViewShell::GetMenuState( SfxItemSet &rSet )
// zunaechst selektionsabhaengige: COLLAPSE, EXPAND
BOOL bDisableCollapse = TRUE;
BOOL bDisableExpand = TRUE;
- BOOL bUnique = TRUE;
+ BOOL bUnique = TRUE;
OutlinerView* pOutlinerView = pOlView->GetViewByWindow(GetActiveWindow());
List* pList = pOutlinerView->CreateSelectionList();
Paragraph* pPara = (Paragraph*)pList->First();
@@ -916,7 +916,7 @@ void OutlineViewShell::GetMenuState( SfxItemSet &rSet )
// jetzt die selektionsunabhaengigen: COLLAPSE_ALL, EXPAND_ALL
BOOL bDisableCollapseAll = TRUE;
- BOOL bDisableExpandAll = TRUE;
+ BOOL bDisableExpandAll = TRUE;
// wenn schon die Selektion etwas kollabierbares/expandierbares enthaelt
if (!bDisableCollapse)
@@ -1131,17 +1131,17 @@ long OutlineViewShell::VirtHScrollHdl(ScrollBar* pHScroll)
{
long nThumb = pHScroll->GetThumbPos();
long nRange = pHScroll->GetRange().Len();
- double fX = (double) nThumb / nRange;
+ double fX = (double) nThumb / nRange;
- Window* pWin = mpContentWindow.get();
+ Window* pWin = mpContentWindow.get();
OutlinerView* pOutlinerView = pOlView->GetViewByWindow(pWin);
- long nViewWidth = pWin->PixelToLogic(
+ long nViewWidth = pWin->PixelToLogic(
pWin->GetSizePixel()).Width();
- long nTextWidth = pOlView->GetPaperWidth();
- nViewWidth = Max(nViewWidth, nTextWidth);
- long nCurrentPos = pOutlinerView->GetVisArea().Left();
- long nTargetPos = (long)(fX * nViewWidth);
- long nDelta = nTargetPos - nCurrentPos;
+ long nTextWidth = pOlView->GetPaperWidth();
+ nViewWidth = Max(nViewWidth, nTextWidth);
+ long nCurrentPos = pOutlinerView->GetVisArea().Left();
+ long nTargetPos = (long)(fX * nViewWidth);
+ long nDelta = nTargetPos - nCurrentPos;
pOutlinerView->HideCursor();
pOutlinerView->Scroll(-nDelta, 0);
@@ -1163,15 +1163,15 @@ long OutlineViewShell::VirtVScrollHdl(ScrollBar* pVScroll)
long nRange = pVScroll->GetRange().Len();
double fY = (double) nThumb / nRange;
- Window* pWin = mpContentWindow.get();
+ Window* pWin = mpContentWindow.get();
OutlinerView* pOutlinerView = pOlView->GetViewByWindow(pWin);
- long nViewHeight = pWin->PixelToLogic(
+ long nViewHeight = pWin->PixelToLogic(
pWin->GetSizePixel()).Height();
- long nTextHeight = pOlView->GetOutliner()->GetTextHeight();
- nViewHeight += nTextHeight;
- long nCurrentPos = pOutlinerView->GetVisArea().Top();
- long nTargetPos = (long)(fY * nViewHeight);
- long nDelta = nTargetPos - nCurrentPos;
+ long nTextHeight = pOlView->GetOutliner()->GetTextHeight();
+ nViewHeight += nTextHeight;
+ long nCurrentPos = pOutlinerView->GetVisArea().Top();
+ long nTargetPos = (long)(fY * nViewHeight);
+ long nDelta = nTargetPos - nCurrentPos;
pOutlinerView->HideCursor();
pOutlinerView->Scroll(0, -nDelta);
@@ -1410,15 +1410,15 @@ void OutlineViewShell::GetStatusBarState(SfxItemSet& rSet)
if( SFX_ITEM_AVAILABLE == rSet.GetItemState( SID_STATUS_PAGE ) ||
SFX_ITEM_AVAILABLE == rSet.GetItemState( SID_STATUS_LAYOUT ) )
*/
- USHORT nPageCount = GetDoc()->GetSdPageCount( PK_STANDARD );
- String aPageStr, aLayoutStr;
+ USHORT nPageCount = GetDoc()->GetSdPageCount( PK_STANDARD );
+ String aPageStr, aLayoutStr;
- ::sd::Window* pWin = GetActiveWindow();
- OutlinerView* pActiveView = pOlView->GetViewByWindow( pWin );
+ ::sd::Window* pWin = GetActiveWindow();
+ OutlinerView* pActiveView = pOlView->GetViewByWindow( pWin );
::Outliner* pOutliner = pOlView->GetOutliner();
- List* pSelList = (List*)pActiveView->CreateSelectionList();
- Paragraph* pFirstPara = (Paragraph*)pSelList->First();
- Paragraph* pLastPara = (Paragraph*)pSelList->Last();
+ List* pSelList = (List*)pActiveView->CreateSelectionList();
+ Paragraph* pFirstPara = (Paragraph*)pSelList->First();
+ Paragraph* pLastPara = (Paragraph*)pSelList->Last();
if( !pOutliner->HasParaFlag(pFirstPara,PARAFLAG_ISPAGE) )
pFirstPara = pOlView->GetPrevTitle( pFirstPara );
@@ -1426,7 +1426,7 @@ void OutlineViewShell::GetStatusBarState(SfxItemSet& rSet)
if( !pOutliner->HasParaFlag(pLastPara, PARAFLAG_ISPAGE) )
pLastPara = pOlView->GetPrevTitle( pLastPara );
- delete pSelList; // die wurde extra fuer uns erzeugt
+ delete pSelList; // die wurde extra fuer uns erzeugt
// nur eine Seite selektiert?
if( pFirstPara == pLastPara )
@@ -1447,7 +1447,7 @@ void OutlineViewShell::GetStatusBarState(SfxItemSet& rSet)
aPageStr = String(SdResId( STR_SD_PAGE ));
aPageStr += sal_Unicode(' ');
- aPageStr += String::CreateFromInt32( (sal_Int32)(nPos + 1) ); // ULONG -> sal_Int32
+ aPageStr += String::CreateFromInt32( (sal_Int32)(nPos + 1) ); // ULONG -> sal_Int32
aPageStr.AppendAscii( RTL_CONSTASCII_STRINGPARAM( " / " ));
aPageStr += String::CreateFromInt32( nPageCount );
@@ -1567,7 +1567,7 @@ Size OutlineViewShell::GetOptimalSizePixel() const
// und jetzt jetzt das Standardgelumpe draufaddieren
aResult.Width() += mpVerticalScrollBar->GetSizePixel().Width();
aResult.Height() += mpHorizontalScrollBar->GetSizePixel().Height();
- //!!! + System::GetMenuBarHeightPixel(); // statt Titlebar
+ //!!! + System::GetMenuBarHeightPixel(); // statt Titlebar
return aResult;
}
@@ -1784,11 +1784,11 @@ SdPage* OutlineViewShell::GetActualPage()
String OutlineViewShell::GetPageRangeString()
{
- ::sd::Window* pWin = GetActiveWindow();
- OutlinerView* pActiveView = pOlView->GetViewByWindow(pWin);
+ ::sd::Window* pWin = GetActiveWindow();
+ OutlinerView* pActiveView = pOlView->GetViewByWindow(pWin);
::Outliner* pOutl = pActiveView->GetOutliner();
- List* pSelList = (List*)pActiveView->CreateSelectionList();
- Paragraph* pPara = (Paragraph*)pSelList->First();
+ List* pSelList = (List*)pActiveView->CreateSelectionList();
+ Paragraph* pPara = (Paragraph*)pSelList->First();
String aStrPageRange;
BOOL bFirstPageNo = TRUE;
@@ -1868,7 +1868,7 @@ String OutlineViewShell::GetPageRangeString()
if( nPageCount == 0 )
aStrPageRange.Erase();
- delete pSelList; // die wurde extra fuer uns erzeugt
+ delete pSelList; // die wurde extra fuer uns erzeugt
return aStrPageRange;
}
@@ -1898,13 +1898,13 @@ bool OutlineViewShell::UpdateTitleObject( SdPage* pPage, Paragraph* pPara )
if( !pPage || !pPara )
return false;
- ::Outliner* pOutliner = pOlView->GetOutliner();
- SdrTextObj* pTO = pOlView->GetTitleTextObject( pPage );
+ ::Outliner* pOutliner = pOlView->GetOutliner();
+ SdrTextObj* pTO = pOlView->GetTitleTextObject( pPage );
OutlinerParaObject* pOPO = NULL;
- String aTest( pOutliner->GetText( pPara ) );
- bool bText = aTest.Len() > 0;
- bool bNewObject = false;
+ String aTest( pOutliner->GetText( pPara ) );
+ bool bText = aTest.Len() > 0;
+ bool bNewObject = false;
if( bText )
{
@@ -1985,9 +1985,9 @@ bool OutlineViewShell::UpdateOutlineObject( SdPage* pPage, Paragraph* pPara )
if( !pPage || !pPara )
return false;
- ::Outliner* pOutliner = pOlView->GetOutliner();
+ ::Outliner* pOutliner = pOlView->GetOutliner();
OutlinerParaObject* pOPO = NULL;
- SdrTextObj* pTO = NULL;
+ SdrTextObj* pTO = NULL;
BOOL bNewObject = FALSE;
@@ -2000,7 +2000,7 @@ bool OutlineViewShell::UpdateOutlineObject( SdPage* pPage, Paragraph* pPara )
}
// wieviele Absaetze in der Gliederung?
- ULONG nTitlePara = pOutliner->GetAbsPos( pPara );
+ ULONG nTitlePara = pOutliner->GetAbsPos( pPara );
ULONG nPara = nTitlePara + 1;
ULONG nParasInLayout = 0L;
pPara = pOutliner->GetParagraph( nPara );
diff --git a/sd/source/ui/view/outlview.cxx b/sd/source/ui/view/outlview.cxx
index fab725a31d58..626d65bbef81 100644
--- a/sd/source/ui/view/outlview.cxx
+++ b/sd/source/ui/view/outlview.cxx
@@ -2,7 +2,7 @@
/*************************************************************************
*
* 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
@@ -99,7 +99,7 @@ namespace sd {
struct SdParaAndPos
{
Paragraph* pPara;
- USHORT nPos;
+ USHORT nPos;
};
TYPEINIT1( OutlineView, ::sd::View );
@@ -330,7 +330,7 @@ void OutlineView::Paint(const Rectangle& rRect, ::sd::Window* pWin)
sal_Int32 nLineHeight = pOlView->GetOutliner()->GetLineHeight( nPara, 0 );
aPos.X() = nNumberOffset;
-
+
Point aPoint( aPos.X() - pWin->GetTextWidth( aStr ), aPos.Y() + ( nLineHeight - maPageNumberFont.GetHeight()) / 2 );
pWin->DrawText( aPoint, aStr );
@@ -342,13 +342,13 @@ void OutlineView::Paint(const Rectangle& rRect, ::sd::Window* pWin)
}
pWin->SetFont( aOldFont );
-*/
+*/
mbFirstPaint = FALSE;
}
}
void OutlineView::InvalidateSlideNumberArea()
-{
+{
/*
for( sal_Int16 nView = 0; nView < MAX_OUTLINERVIEWS; ++nView )
{
@@ -532,7 +532,7 @@ Paragraph* OutlineView::GetNextTitle(const Paragraph* pPara)
IMPL_LINK( OutlineView, ParagraphInsertedHdl, ::Outliner *, pOutliner )
{
-// DBG_ASSERT( isRecordingUndo(), "sd::OutlineView::ParagraphInsertedHdl(), model change without undo?!" );
+// DBG_ASSERT( isRecordingUndo(), "sd::OutlineView::ParagraphInsertedHdl(), model change without undo?!" );
// we get calls to this handler during binary insert of drag and drop contents but
// we ignore it here and handle it later in OnEndPasteOrDrop()
@@ -565,8 +565,8 @@ SdPage* OutlineView::InsertSlideForParagraph( Paragraph* pPara )
mpOutliner->SetParaFlag( pPara, PARAFLAG_ISPAGE );
// wieviele Titel sind vor dem neuen Titelabsatz?
- ULONG nExample = 0L; // Position der "Vorbild"seite
- ULONG nTarget = 0L; // Einfuegeposition
+ ULONG nExample = 0L; // Position der "Vorbild"seite
+ ULONG nTarget = 0L; // Einfuegeposition
while(pPara)
{
pPara = GetPrevTitle(pPara);
@@ -762,11 +762,11 @@ IMPL_LINK( OutlineView, DepthChangedHdl, ::Outliner *, pOutliner )
// haben es noch nicht getan?
if (mnPagesToProcess == 0)
{
- Window* pActWin = mpOutlineViewShell->GetActiveWindow();
+ Window* pActWin = mpOutlineViewShell->GetActiveWindow();
OutlinerView* pOlView = GetViewByWindow(pActWin);
- List* pList = pOlView->CreateSelectionList();
+ List* pList = pOlView->CreateSelectionList();
- Paragraph* pParagraph = (Paragraph*)pList->First();
+ Paragraph* pParagraph = (Paragraph*)pList->First();
while (pParagraph)
{
if( !pOutliner->HasParaFlag( pParagraph, PARAFLAG_ISPAGE ) && (pOutliner->GetDepth( (USHORT) pOutliner->GetAbsPos( pParagraph ) ) <= 0) )
@@ -774,7 +774,7 @@ IMPL_LINK( OutlineView, DepthChangedHdl, ::Outliner *, pOutliner )
pParagraph = (Paragraph*)pList->Next();
}
- mnPagesToProcess++; // der Absatz, der jetzt schon auf Level 0
+ mnPagesToProcess++; // der Absatz, der jetzt schon auf Level 0
// steht, gehoert auch dazu
mnPagesProcessed = 0;
@@ -968,10 +968,10 @@ IMPL_LINK( OutlineView, DepthChangedHdl, ::Outliner *, pOutliner )
IMPL_LINK( OutlineView, StatusEventHdl, EditStatus *, EMPTYARG )
{
::sd::Window* pWin = mpOutlineViewShell->GetActiveWindow();
- OutlinerView* pOutlinerView = GetViewByWindow(pWin);
- Rectangle aVis = pOutlinerView->GetVisArea();
+ OutlinerView* pOutlinerView = GetViewByWindow(pWin);
+ Rectangle aVis = pOutlinerView->GetVisArea();
-// ULONG nWidth = ((SdPage*)mpDoc->GetSdPage(0, PK_STANDARD))->GetSize().Width();
+// ULONG nWidth = ((SdPage*)mpDoc->GetSdPage(0, PK_STANDARD))->GetSize().Width();
ULONG nWidth = OUTLINE_PAPERWIDTH;
Rectangle aText = Rectangle(Point(0,0),
Size(nWidth,
@@ -979,7 +979,7 @@ IMPL_LINK( OutlineView, StatusEventHdl, EditStatus *, EMPTYARG )
Rectangle aWin(Point(0,0), pWin->GetOutputSizePixel());
aWin = pWin->PixelToLogic(aWin);
- if (!aVis.IsEmpty()) // nicht beim Oeffnen
+ if (!aVis.IsEmpty()) // nicht beim Oeffnen
{
aText.Bottom() += aWin.GetHeight();
@@ -1083,8 +1083,8 @@ IMPL_LINK( OutlineView, EndMovingHdl, ::Outliner *, pOutliner )
// den ersten der selektierten Paragraphen in der neuen Ordnung suchen
USHORT nPosNewOrder = 0;
ULONG nParaPos = 0;
- Paragraph* pPara = pOutliner->GetParagraph( 0 );
- Paragraph* pPrev = NULL;
+ Paragraph* pPara = pOutliner->GetParagraph( 0 );
+ Paragraph* pPrev = NULL;
while (pPara && pPara != pSearchIt)
{
if( pOutliner->HasParaFlag(pPara, PARAFLAG_ISPAGE) )
@@ -1095,10 +1095,10 @@ IMPL_LINK( OutlineView, EndMovingHdl, ::Outliner *, pOutliner )
pPara = pOutliner->GetParagraph( ++nParaPos );
}
- USHORT nPos = nPosNewOrder; // nPosNewOrder nicht veraendern
+ USHORT nPos = nPosNewOrder; // nPosNewOrder nicht veraendern
if (nPos == 0)
{
- nPos = (USHORT)-1; // vor der ersten Seite einfuegen
+ nPos = (USHORT)-1; // vor der ersten Seite einfuegen
}
else
{
@@ -1139,9 +1139,9 @@ IMPL_LINK( OutlineView, EndMovingHdl, ::Outliner *, pOutliner )
SdrTextObj* OutlineView::GetTitleTextObject(SdrPage* pPage)
{
- ULONG nObjectCount = pPage->GetObjCount();
- SdrObject* pObject = NULL;
- SdrTextObj* pResult = NULL;
+ ULONG nObjectCount = pPage->GetObjCount();
+ SdrObject* pObject = NULL;
+ SdrTextObj* pResult = NULL;
for (ULONG nObject = 0; nObject < nObjectCount; nObject++)
{
@@ -1165,9 +1165,9 @@ SdrTextObj* OutlineView::GetTitleTextObject(SdrPage* pPage)
SdrTextObj* OutlineView::GetOutlineTextObject(SdrPage* pPage)
{
- ULONG nObjectCount = pPage->GetObjCount();
- SdrObject* pObject = NULL;
- SdrTextObj* pResult = NULL;
+ ULONG nObjectCount = pPage->GetObjCount();
+ SdrObject* pObject = NULL;
+ SdrTextObj* pResult = NULL;
for (ULONG nObject = 0; nObject < nObjectCount; nObject++)
{
@@ -1210,13 +1210,13 @@ SdrTextObj* OutlineView::CreateOutlineTextObject(SdPage* pPage)
{
case AUTOLAYOUT_NONE:
case AUTOLAYOUT_ONLY_TITLE:
- case AUTOLAYOUT_TITLE: eNewLayout = AUTOLAYOUT_ENUM; break;
+ case AUTOLAYOUT_TITLE: eNewLayout = AUTOLAYOUT_ENUM; break;
- case AUTOLAYOUT_CHART: eNewLayout = AUTOLAYOUT_CHARTTEXT; break;
+ case AUTOLAYOUT_CHART: eNewLayout = AUTOLAYOUT_CHARTTEXT; break;
case AUTOLAYOUT_ORG:
case AUTOLAYOUT_TAB:
- case AUTOLAYOUT_OBJ: eNewLayout = AUTOLAYOUT_OBJTEXT; break;
+ case AUTOLAYOUT_OBJ: eNewLayout = AUTOLAYOUT_OBJTEXT; break;
default:
break;
}
@@ -1308,7 +1308,7 @@ void OutlineView::FillOutliner()
// fill outliner with paragraphs from slides title & (outlines|subtitles)
for (USHORT nPage = 0; nPage < nPageCount; nPage++)
{
- SdPage* pPage = (SdPage*)mpDoc->GetSdPage(nPage, PK_STANDARD);
+ SdPage* pPage = (SdPage*)mpDoc->GetSdPage(nPage, PK_STANDARD);
Paragraph * pPara = NULL;
// take text from title shape
@@ -1354,7 +1354,7 @@ void OutlineView::FillOutliner()
if (!pTO) // if no subtile found, try outline
pTO = GetOutlineTextObject(pPage);
-
+
if(pTO && !(pTO->IsEmptyPresObj())) // found some text
{
OutlinerParaObject* pOPO = pTO->GetOutlinerParaObject();
@@ -1495,7 +1495,7 @@ Paragraph* OutlineView::GetParagraphForPage( ::Outliner* pOutl, SdPage* pPage )
{
// see if we already skiped enough pages
if( 0 == nPagesToSkip )
- break; // and if so, end the loop
+ break; // and if so, end the loop
// we skiped another page
nPagesToSkip--;
@@ -1973,13 +1973,13 @@ IMPL_LINK(OutlineView, PaintingFirstLineHdl, PaintFirstLineInfo*, pInfo)
long nFontHeight = 0;
if ( !rEditEngine.IsFlatMode() )
{
-// const SvxFontHeightItem& rFH = (const SvxFontHeightItem&)rEditEngine.GetParaAttrib( pInfo->mnPara, EE_CHAR_FONTHEIGHT );
+// const SvxFontHeightItem& rFH = (const SvxFontHeightItem&)rEditEngine.GetParaAttrib( pInfo->mnPara, EE_CHAR_FONTHEIGHT );
// nBulletHeight = rFH.GetHeight();
nFontHeight = nBulletHeight / 5;
}
else
{
-// const SvxFontHeightItem& rFH = (const SvxFontHeightItem&)rEditEngine.GetEmptyItemSet().Get( EE_CHAR_FONTHEIGHT );
+// const SvxFontHeightItem& rFH = (const SvxFontHeightItem&)rEditEngine.GetEmptyItemSet().Get( EE_CHAR_FONTHEIGHT );
// nBulletHeight = rFH.GetHeight();
nFontHeight = (nBulletHeight * 10) / 25;
}
@@ -2007,7 +2007,7 @@ IMPL_LINK(OutlineView, PaintingFirstLineHdl, PaintFirstLineInfo*, pInfo)
Point aTextPos( aImagePos.X() - aOffset.Width(), pInfo->mrStartPos.Y() );
Font aNewFont( OutputDevice::GetDefaultFont( DEFAULTFONT_SANS_UNICODE, eLang, 0 ) );
aNewFont.SetSize( aFontSz );
-// aNewFont.SetAlign( aBulletFont.GetAlign() );
+// aNewFont.SetAlign( aBulletFont.GetAlign() );
aNewFont.SetVertical( bVertical );
aNewFont.SetOrientation( bVertical ? 2700 : 0 );
aNewFont.SetColor( COL_AUTO );
diff --git a/sd/source/ui/view/presvish.cxx b/sd/source/ui/view/presvish.cxx
index 7f22f7f06879..797f8f5f396a 100644
--- a/sd/source/ui/view/presvish.cxx
+++ b/sd/source/ui/view/presvish.cxx
@@ -2,7 +2,7 @@
/*************************************************************************
*
* 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
diff --git a/sd/source/ui/view/sdruler.cxx b/sd/source/ui/view/sdruler.cxx
index 41ec7e8e154d..b141e8bb7a77 100644
--- a/sd/source/ui/view/sdruler.cxx
+++ b/sd/source/ui/view/sdruler.cxx
@@ -2,7 +2,7 @@
/*************************************************************************
*
* 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
@@ -100,7 +100,7 @@ void RulerCtrlItem::StateChanged( USHORT nSId, SfxItemState, const SfxPoolItem*
|*
\************************************************************************/
-Ruler::Ruler( DrawViewShell& rViewSh, ::Window* pParent, ::sd::Window* pWin, USHORT nRulerFlags, SfxBindings& rBindings, WinBits nWinStyle)
+Ruler::Ruler( DrawViewShell& rViewSh, ::Window* pParent, ::sd::Window* pWin, USHORT nRulerFlags, SfxBindings& rBindings, WinBits nWinStyle)
: SvxRuler(pParent, pWin, nRulerFlags, rBindings, nWinStyle)
, pSdWin(pWin)
, pDrViewShell(&rViewSh)
@@ -188,8 +188,8 @@ void Ruler::SetNullOffset(const Point& rOffset)
{
long nOffset;
- if ( bHorz ) nOffset = rOffset.X();
- else nOffset = rOffset.Y();
+ if ( bHorz ) nOffset = rOffset.X();
+ else nOffset = rOffset.Y();
SetNullOffsetLogic(nOffset);
}
diff --git a/sd/source/ui/view/sdview.cxx b/sd/source/ui/view/sdview.cxx
index 1b9b60e9aeec..6644d83faa0a 100644
--- a/sd/source/ui/view/sdview.cxx
+++ b/sd/source/ui/view/sdview.cxx
@@ -2,7 +2,7 @@
/*************************************************************************
*
* 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
@@ -214,7 +214,7 @@ public:
// all default implementations just call the same methods at the original. To do something
// different, overload the method and at least do what the method does.
virtual drawinglayer::primitive2d::Primitive2DSequence createRedirectedPrimitive2DSequence(
- const sdr::contact::ViewObjectContact& rOriginal,
+ const sdr::contact::ViewObjectContact& rOriginal,
const sdr::contact::DisplayInfo& rDisplayInfo);
};
@@ -227,7 +227,7 @@ ViewRedirector::~ViewRedirector()
}
drawinglayer::primitive2d::Primitive2DSequence ViewRedirector::createRedirectedPrimitive2DSequence(
- const sdr::contact::ViewObjectContact& rOriginal,
+ const sdr::contact::ViewObjectContact& rOriginal,
const sdr::contact::DisplayInfo& rDisplayInfo)
{
SdrObject* pObject = rOriginal.GetViewContact().TryToGetSdrObject();
@@ -311,7 +311,7 @@ drawinglayer::primitive2d::Primitive2DSequence ViewRedirector::createRedirectedP
// create line and stroke attribute
::std::vector< double > aDotDashArray;
-
+
aDotDashArray.push_back(160.0);
aDotDashArray.push_back(80.0);
@@ -321,8 +321,8 @@ drawinglayer::primitive2d::Primitive2DSequence ViewRedirector::createRedirectedP
// create primitive and add
const drawinglayer::primitive2d::Primitive2DReference xRef(new drawinglayer::primitive2d::PolygonStrokePrimitive2D(
- aPolygon,
- aLine,
+ aPolygon,
+ aLine,
aStroke));
drawinglayer::primitive2d::appendPrimitive2DReferenceToPrimitive2DSequence(xRetval, xRef);
}
@@ -342,7 +342,7 @@ drawinglayer::primitive2d::Primitive2DSequence ViewRedirector::createRedirectedP
static String aTitleAreaStr( SdResId( STR_PLACEHOLDER_DESCRIPTION_TITLE ) );
aObjectString = aTitleAreaStr;
}
-
+
break;
}
case PRESOBJ_OUTLINE:
@@ -402,16 +402,16 @@ drawinglayer::primitive2d::Primitive2DSequence ViewRedirector::createRedirectedP
basegfx::B2DTuple aTranslate;
double fRotate, fShearX;
aObjectMatrix.decompose(aScale, aTranslate, fRotate, fShearX);
-
+
// create font
SdrTextObj* pTextObj = dynamic_cast< SdrTextObj* >( pObject );
const SdrTextVertAdjust eTVA(pTextObj ? pTextObj->GetTextVerticalAdjust() : SDRTEXTVERTADJUST_CENTER);
Font aScaledVclFont;
-
- // use a text size factor to get more reliable text sizes from the text layouter
+
+ // use a text size factor to get more reliable text sizes from the text layouter
// (and from vcl), tipp from HDU
static sal_uInt32 nTextSizeFactor(100);
-
+
// use a factor to get more linear text size calculations
aScaledVclFont.SetHeight( 500 * nTextSizeFactor );
@@ -419,7 +419,7 @@ drawinglayer::primitive2d::Primitive2DSequence ViewRedirector::createRedirectedP
drawinglayer::primitive2d::TextLayouterDevice aTextLayouter;
aTextLayouter.setFont(aScaledVclFont);
const xub_StrLen nTextLength(aObjectString.Len());
-
+
// do not forget to use the factor again to get the width for the 500
const double fTextWidth(aTextLayouter.getTextWidth(aObjectString, 0, nTextLength) * (1.0 / nTextSizeFactor));
const double fTextHeight(aTextLayouter.getTextHeight() * (1.0 / nTextSizeFactor));
@@ -442,7 +442,7 @@ drawinglayer::primitive2d::Primitive2DSequence ViewRedirector::createRedirectedP
const drawinglayer::attribute::FontAttribute aFontAttribute(
drawinglayer::primitive2d::getFontAttributeFromVclFont(
- aTextSizeAttribute,
+ aTextSizeAttribute,
aVclFont,
false,
false));
@@ -450,8 +450,8 @@ drawinglayer::primitive2d::Primitive2DSequence ViewRedirector::createRedirectedP
// fill text matrix
const basegfx::B2DHomMatrix aTextMatrix(basegfx::tools::createScaleShearXRotateTranslateB2DHomMatrix(
aTextSizeAttribute.getX(), aTextSizeAttribute.getY(),
- fShearX,
- fRotate,
+ fShearX,
+ fRotate,
fPosX, fPosY));
// create DXTextArray (can be empty one)
@@ -463,13 +463,13 @@ drawinglayer::primitive2d::Primitive2DSequence ViewRedirector::createRedirectedP
// create primitive and add
const drawinglayer::primitive2d::Primitive2DReference xRef(
new drawinglayer::primitive2d::TextSimplePortionPrimitive2D(
- aTextMatrix,
- aObjectString,
- 0,
- nTextLength,
- aDXArray,
- aFontAttribute,
- aLocale,
+ aTextMatrix,
+ aObjectString,
+ 0,
+ nTextLength,
+ aDXArray,
+ aFontAttribute,
+ aLocale,
aFontColor));
drawinglayer::primitive2d::appendPrimitive2DReferenceToPrimitive2DSequence(xRetval, xRef);
}
@@ -481,9 +481,9 @@ drawinglayer::primitive2d::Primitive2DSequence ViewRedirector::createRedirectedP
if(bDoCreateGeometry)
{
drawinglayer::primitive2d::appendPrimitive2DSequenceToPrimitive2DSequence(
- xRetval,
+ xRetval,
sdr::contact::ViewObjectContactRedirector::createRedirectedPrimitive2DSequence(
- rOriginal,
+ rOriginal,
rDisplayInfo));
}
}
@@ -531,7 +531,7 @@ void View::CompleteRedraw(OutputDevice* pOutDev, const Region& rReg, sdr::contac
bScreenDisplay = false;
}
- // #i75566# Name change GetBackgroundColor -> GetPageBackgroundColor and
+ // #i75566# Name change GetBackgroundColor -> GetPageBackgroundColor and
// hint value if screen display. Only then the AutoColor mechanisms shall be applied
rOutl.SetBackgroundColor( pPage->GetPageBackgroundColor(pPgView, bScreenDisplay) );
}
@@ -547,7 +547,7 @@ void View::CompleteRedraw(OutputDevice* pOutDev, const Region& rReg, sdr::contac
mpLockedRedraws = new List;
SdViewRedrawRec* pRec = new SdViewRedrawRec;
- pRec->mpOut = pOutDev;
+ pRec->mpOut = pOutDev;
pRec->aRect = rReg.GetBoundRect();
mpLockedRedraws->Insert(pRec, LIST_APPEND);
}
@@ -997,7 +997,7 @@ void View::DoConnect(SdrOle2Obj* pObj)
Fraction aScaleWidth (aDrawSize.Width(), aObjAreaSize.Width() );
Fraction aScaleHeight(aDrawSize.Height(), aObjAreaSize.Height() );
- aScaleWidth.ReduceInaccurate(10); // kompatibel zum SdrOle2Obj
+ aScaleWidth.ReduceInaccurate(10); // kompatibel zum SdrOle2Obj
aScaleHeight.ReduceInaccurate(10);
pSdClient->SetSizeScale(aScaleWidth, aScaleHeight);
@@ -1019,15 +1019,15 @@ void View::DoConnect(SdrOle2Obj* pObj)
BOOL View::IsMorphingAllowed() const
{
- const SdrMarkList& rMarkList = GetMarkedObjectList();
- BOOL bRet = FALSE;
+ const SdrMarkList& rMarkList = GetMarkedObjectList();
+ BOOL bRet = FALSE;
if ( rMarkList.GetMarkCount() == 2 )
{
- const SdrObject* pObj1 = rMarkList.GetMark( 0 )->GetMarkedSdrObj();
- const SdrObject* pObj2 = rMarkList.GetMark( 1 )->GetMarkedSdrObj();
- const UINT16 nKind1 = pObj1->GetObjIdentifier();
- const UINT16 nKind2 = pObj2->GetObjIdentifier();
+ const SdrObject* pObj1 = rMarkList.GetMark( 0 )->GetMarkedSdrObj();
+ const SdrObject* pObj2 = rMarkList.GetMark( 1 )->GetMarkedSdrObj();
+ const UINT16 nKind1 = pObj1->GetObjIdentifier();
+ const UINT16 nKind2 = pObj2->GetObjIdentifier();
if ( ( nKind1 != OBJ_TEXT && nKind2 != OBJ_TEXT ) &&
( nKind1 != OBJ_TITLETEXT && nKind2 != OBJ_TITLETEXT ) &&
@@ -1045,14 +1045,14 @@ BOOL View::IsMorphingAllowed() const
( nKind1 != OBJ_CAPTION && nKind2 != OBJ_CAPTION ) &&
!pObj1->ISA( E3dObject) && !pObj2->ISA( E3dObject) )
{
- SfxItemSet aSet1( mpDoc->GetPool(), XATTR_FILLSTYLE, XATTR_FILLSTYLE );
- SfxItemSet aSet2( mpDoc->GetPool(), XATTR_FILLSTYLE, XATTR_FILLSTYLE );
+ SfxItemSet aSet1( mpDoc->GetPool(), XATTR_FILLSTYLE, XATTR_FILLSTYLE );
+ SfxItemSet aSet2( mpDoc->GetPool(), XATTR_FILLSTYLE, XATTR_FILLSTYLE );
aSet1.Put(pObj1->GetMergedItemSet());
aSet2.Put(pObj2->GetMergedItemSet());
- const XFillStyle eFillStyle1 = ( (const XFillStyleItem&) aSet1.Get( XATTR_FILLSTYLE ) ).GetValue();
- const XFillStyle eFillStyle2 = ( (const XFillStyleItem&) aSet2.Get( XATTR_FILLSTYLE ) ).GetValue();
+ const XFillStyle eFillStyle1 = ( (const XFillStyleItem&) aSet1.Get( XATTR_FILLSTYLE ) ).GetValue();
+ const XFillStyle eFillStyle2 = ( (const XFillStyleItem&) aSet2.Get( XATTR_FILLSTYLE ) ).GetValue();
if( ( eFillStyle1 == XFILL_NONE || eFillStyle1 == XFILL_SOLID ) &&
( eFillStyle2 == XFILL_NONE || eFillStyle2 == XFILL_SOLID ) )
@@ -1071,8 +1071,8 @@ BOOL View::IsMorphingAllowed() const
BOOL View::IsVectorizeAllowed() const
{
- const SdrMarkList& rMarkList = GetMarkedObjectList();
- BOOL bRet = FALSE;
+ const SdrMarkList& rMarkList = GetMarkedObjectList();
+ BOOL bRet = FALSE;
if( rMarkList.GetMarkCount() == 1 )
{
@@ -1294,7 +1294,7 @@ void View::OnEndPasteOrDrop( PasteOrDropInfos* pInfos )
pStyle = static_cast<SfxStyleSheet*>( pStylePool->Find( aStyleSheetName, pStyleSheet->GetFamily() ) );
DBG_ASSERT( pStyle, "sd::View::OnEndPasteOrDrop(), Style not found!" );
}
-
+
if( !pStyle )
pStyle = pStyleSheet;
diff --git a/sd/source/ui/view/sdview2.cxx b/sd/source/ui/view/sdview2.cxx
index 1cfb24535fa9..766d49680ba4 100644
--- a/sd/source/ui/view/sdview2.cxx
+++ b/sd/source/ui/view/sdview2.cxx
@@ -2,7 +2,7 @@
/*************************************************************************
*
* 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
@@ -103,8 +103,8 @@ struct SdNavigatorDropEvent : public ExecuteDropEvent
{
DropTargetHelper& mrTargetHelper;
::sd::Window* mpTargetWindow;
- USHORT mnPage;
- USHORT mnLayer;
+ USHORT mnPage;
+ USHORT mnLayer;
SdNavigatorDropEvent (
const ExecuteDropEvent& rEvt,
@@ -135,13 +135,13 @@ struct SdNavigatorDropEvent : public ExecuteDropEvent
pTransferable->SetWorkDocument( (SdDrawDocument*) GetAllMarkedModel() );
mpDoc->CreatingDataObj( NULL );
- const Rectangle aMarkRect( GetAllMarkedRect() );
- TransferableObjectDescriptor aObjDesc;
- String aDisplayName;
- SdrOle2Obj* pSdrOleObj = NULL;
- SdrPageView* pPgView = GetSdrPageView();
- SdPage* pOldPage = pPgView ? ( (SdPage*) pPgView->GetPage() ) : NULL;
- SdPage* pNewPage = (SdPage*) pTransferable->GetWorkDocument()->GetPage( 0 );
+ const Rectangle aMarkRect( GetAllMarkedRect() );
+ TransferableObjectDescriptor aObjDesc;
+ String aDisplayName;
+ SdrOle2Obj* pSdrOleObj = NULL;
+ SdrPageView* pPgView = GetSdrPageView();
+ SdPage* pOldPage = pPgView ? ( (SdPage*) pPgView->GetPage() ) : NULL;
+ SdPage* pNewPage = (SdPage*) pTransferable->GetWorkDocument()->GetPage( 0 );
if( pOldPage )
{
@@ -193,9 +193,9 @@ struct SdNavigatorDropEvent : public ExecuteDropEvent
SD_MOD()->pTransferDrag = pTransferable;
- TransferableObjectDescriptor aObjDesc;
- String aDisplayName;
- SdrOle2Obj* pSdrOleObj = NULL;
+ TransferableObjectDescriptor aObjDesc;
+ String aDisplayName;
+ SdrOle2Obj* pSdrOleObj = NULL;
if( GetMarkedObjectCount() == 1 )
{
@@ -241,9 +241,9 @@ struct SdNavigatorDropEvent : public ExecuteDropEvent
{
SdTransferable* pTransferable = new SdTransferable( mpDoc, pWorkView, TRUE );
::com::sun::star::uno::Reference< ::com::sun::star::datatransfer::XTransferable > xRet( pTransferable );
- TransferableObjectDescriptor aObjDesc;
- const Rectangle aMarkRect( GetAllMarkedRect() );
- String aDisplayName;
+ TransferableObjectDescriptor aObjDesc;
+ const Rectangle aMarkRect( GetAllMarkedRect() );
+ String aDisplayName;
SD_MOD()->pTransferSelection = pTransferable;
@@ -326,9 +326,9 @@ void View::DoPaste (::Window* pWindow)
{
const_cast< OutlinerView* >(pOLV)->PasteSpecial();
- SdrObject* pObj = GetTextEditObject();
- SdPage* pPage = (SdPage*)( pObj ? pObj->GetPage() : NULL );
- ::Outliner* pOutliner = pOLV->GetOutliner();
+ SdrObject* pObj = GetTextEditObject();
+ SdPage* pPage = (SdPage*)( pObj ? pObj->GetPage() : NULL );
+ ::Outliner* pOutliner = pOLV->GetOutliner();
if( pOutliner)
{
@@ -377,7 +377,7 @@ void View::DoPaste (::Window* pWindow)
{
if( !InsertData( aDataHelper, aPos, nDnDAction, FALSE ) )
{
- INetBookmark aINetBookmark( aEmptyStr, aEmptyStr );
+ INetBookmark aINetBookmark( aEmptyStr, aEmptyStr );
if( ( aDataHelper.HasFormat( SOT_FORMATSTR_ID_NETSCAPE_BOOKMARK ) &&
aDataHelper.GetINetBookmark( SOT_FORMATSTR_ID_NETSCAPE_BOOKMARK, aINetBookmark ) ) ||
@@ -471,7 +471,7 @@ void View::DragFinished( sal_Int8 nDropAction )
if( pObj && pObj->GetPage() )
{
#ifdef DBG_UTIL
- SdrObject* pChkObj =
+ SdrObject* pChkObj =
#endif
pObj->GetPage()->RemoveObject(nOrdNum);
DBG_ASSERT(pChkObj==pObj,"pChkObj!=pObj beim RemoveObject()");
@@ -497,10 +497,10 @@ void View::DragFinished( sal_Int8 nDropAction )
sal_Int8 View::AcceptDrop( const AcceptDropEvent& rEvt, DropTargetHelper& rTargetHelper,
::sd::Window*, USHORT, USHORT nLayer )
{
- String aLayerName( GetActiveLayer() );
- SdrPageView* pPV = GetSdrPageView();
- sal_Int8 nDropAction = rEvt.mnAction;
- sal_Int8 nRet = DND_ACTION_NONE;
+ String aLayerName( GetActiveLayer() );
+ SdrPageView* pPV = GetSdrPageView();
+ sal_Int8 nDropAction = rEvt.mnAction;
+ sal_Int8 nRet = DND_ACTION_NONE;
if( nLayer != SDRLAYER_NOTFOUND )
{
@@ -511,7 +511,7 @@ sal_Int8 View::AcceptDrop( const AcceptDropEvent& rEvt, DropTargetHelper& rTarge
if( mbIsDropAllowed && !pPV->IsLayerLocked( aLayerName ) && pPV->IsLayerVisible( aLayerName ) )
{
const OutlinerView* pOLV = GetTextEditOutlinerView();
- BOOL bIsInsideOutlinerView = FALSE;
+ BOOL bIsInsideOutlinerView = FALSE;
if( pOLV )
{
@@ -555,10 +555,10 @@ sal_Int8 View::AcceptDrop( const AcceptDropEvent& rEvt, DropTargetHelper& rTarge
{
const BOOL bDrawing = rTargetHelper.IsDropFormatSupported( SOT_FORMATSTR_ID_DRAWING );
const BOOL bGraphic = rTargetHelper.IsDropFormatSupported( SOT_FORMATSTR_ID_SVXB );
- const BOOL bMtf = rTargetHelper.IsDropFormatSupported( FORMAT_GDIMETAFILE );
- const BOOL bBitmap = rTargetHelper.IsDropFormatSupported( FORMAT_BITMAP );
- BOOL bBookmark = rTargetHelper.IsDropFormatSupported( SOT_FORMATSTR_ID_NETSCAPE_BOOKMARK );
- BOOL bXFillExchange = rTargetHelper.IsDropFormatSupported( SOT_FORMATSTR_ID_XFA );
+ const BOOL bMtf = rTargetHelper.IsDropFormatSupported( FORMAT_GDIMETAFILE );
+ const BOOL bBitmap = rTargetHelper.IsDropFormatSupported( FORMAT_BITMAP );
+ BOOL bBookmark = rTargetHelper.IsDropFormatSupported( SOT_FORMATSTR_ID_NETSCAPE_BOOKMARK );
+ BOOL bXFillExchange = rTargetHelper.IsDropFormatSupported( SOT_FORMATSTR_ID_XFA );
// check handle insert
if( !nRet && ( (bXFillExchange && ( SDRDRAG_GRADIENT == GetDragMode() )) || ( SDRDRAG_TRANSPARENCE == GetDragMode() ) ) )
@@ -587,11 +587,11 @@ sal_Int8 View::AcceptDrop( const AcceptDropEvent& rEvt, DropTargetHelper& rTarge
// check object insert
if( !nRet && ( bXFillExchange || ( ( bDrawing || bGraphic || bMtf || bBitmap || bBookmark ) && ( nDropAction & DND_ACTION_LINK ) ) ) )
{
- SdrObject* pPickObj = NULL;
- SdrPageView* pPageView = NULL;
+ SdrObject* pPickObj = NULL;
+ SdrPageView* pPageView = NULL;
::sd::Window* pWindow = mpViewSh->GetActiveWindow();
- Point aPos( pWindow->PixelToLogic( rEvt.maPosPixel ) );
- const BOOL bHasPickObj = PickObj( aPos, getHitTolLog(), pPickObj, pPageView );
+ Point aPos( pWindow->PixelToLogic( rEvt.maPosPixel ) );
+ const BOOL bHasPickObj = PickObj( aPos, getHitTolLog(), pPickObj, pPageView );
BOOL bIsPresTarget = FALSE;
if( bHasPickObj && pPickObj && ( pPickObj->IsEmptyPresObj() || pPickObj->GetUserCall() ) )
@@ -609,7 +609,7 @@ sal_Int8 View::AcceptDrop( const AcceptDropEvent& rEvt, DropTargetHelper& rTarge
{
mpDropMarkerObj = pPickObj;
ImplClearDrawDropMarker();
-
+
if(mpDropMarkerObj)
{
mpDropMarker = new SdrDropMarkerOverlay(*this, *mpDropMarkerObj);
@@ -672,10 +672,10 @@ sal_Int8 View::AcceptDrop( const AcceptDropEvent& rEvt, DropTargetHelper& rTarge
sal_Int8 View::ExecuteDrop( const ExecuteDropEvent& rEvt, DropTargetHelper& rTargetHelper,
::sd::Window* pTargetWindow, USHORT nPage, USHORT nLayer )
{
- SdrPageView* pPV = GetSdrPageView();
- String aActiveLayer = GetActiveLayer();
- sal_Int8 nDropAction = rEvt.mnAction;
- sal_Int8 nRet = DND_ACTION_NONE;
+ SdrPageView* pPV = GetSdrPageView();
+ String aActiveLayer = GetActiveLayer();
+ sal_Int8 nDropAction = rEvt.mnAction;
+ sal_Int8 nRet = DND_ACTION_NONE;
// destroy drop marker if it is shown
if( mpDropMarker )
@@ -687,7 +687,7 @@ sal_Int8 View::ExecuteDrop( const ExecuteDropEvent& rEvt, DropTargetHelper& rTar
if( !pPV->IsLayerLocked( aActiveLayer ) )
{
const OutlinerView* pOLV = GetTextEditOutlinerView();
- BOOL bIsInsideOutlinerView = FALSE;
+ BOOL bIsInsideOutlinerView = FALSE;
if( pOLV )
{
@@ -710,8 +710,8 @@ sal_Int8 View::ExecuteDrop( const ExecuteDropEvent& rEvt, DropTargetHelper& rTar
if( !bIsInsideOutlinerView )
{
- Point aPos;
- TransferableDataHelper aDataHelper( rEvt.maDropEvent.Transferable );
+ Point aPos;
+ TransferableDataHelper aDataHelper( rEvt.maDropEvent.Transferable );
if( pTargetWindow )
aPos = pTargetWindow->PixelToLogic( rEvt.maPosPixel );
@@ -752,8 +752,8 @@ sal_Int8 View::ExecuteDrop( const ExecuteDropEvent& rEvt, DropTargetHelper& rTar
// special insert?
if( !nRet && mpViewSh )
{
- String aTmpString1, aTmpString2;
- INetBookmark aINetBookmark( aTmpString1, aTmpString2 );
+ String aTmpString1, aTmpString2;
+ INetBookmark aINetBookmark( aTmpString1, aTmpString2 );
// insert bookmark
if( aDataHelper.HasFormat( SOT_FORMATSTR_ID_NETSCAPE_BOOKMARK ) &&
@@ -773,15 +773,15 @@ sal_Int8 View::ExecuteDrop( const ExecuteDropEvent& rEvt, DropTargetHelper& rTar
}
else
{
- SdrObject* pPickObj = NULL;
- SdrPageView* pPageView = NULL;
+ SdrObject* pPickObj = NULL;
+ SdrPageView* pPageView = NULL;
if( PickObj( aPos, getHitTolLog(), pPickObj, pPageView ) )
{
// insert as clip action => jump
- rtl::OUString aBookmark( aINetBookmark.GetURL() );
- SdAnimationInfo* pInfo = mpDoc->GetAnimationInfo( pPickObj );
- BOOL bCreated = FALSE;
+ rtl::OUString aBookmark( aINetBookmark.GetURL() );
+ SdAnimationInfo* pInfo = mpDoc->GetAnimationInfo( pPickObj );
+ BOOL bCreated = FALSE;
if( aBookmark.getLength() )
{
@@ -821,7 +821,7 @@ sal_Int8 View::ExecuteDrop( const ExecuteDropEvent& rEvt, DropTargetHelper& rTar
pAction->SetPathObj(pInfo->mpPathObj, pInfo->mpPathObj);
pAction->SetClickAction(pInfo->meClickAction, eClickAction);
pAction->SetBookmark(pInfo->GetBookmark(), aBookmark);
-// pAction->SetInvisibleInPres(pInfo->mbInvisibleInPresentation, TRUE);
+// pAction->SetInvisibleInPres(pInfo->mbInvisibleInPresentation, TRUE);
pAction->SetVerb(pInfo->mnVerb, pInfo->mnVerb);
pAction->SetSecondEffect(pInfo->meSecondEffect, pInfo->meSecondEffect);
pAction->SetSecondSpeed(pInfo->meSecondSpeed, pInfo->meSecondSpeed);
@@ -857,17 +857,17 @@ sal_Int8 View::ExecuteDrop( const ExecuteDropEvent& rEvt, DropTargetHelper& rTar
IMPL_LINK( View, ExecuteNavigatorDrop, SdNavigatorDropEvent*, pSdNavigatorDropEvent )
{
- TransferableDataHelper aDataHelper( pSdNavigatorDropEvent->maDropEvent.Transferable );
+ TransferableDataHelper aDataHelper( pSdNavigatorDropEvent->maDropEvent.Transferable );
SdPageObjsTLB::SdPageObjsTransferable* pPageObjsTransferable = SdPageObjsTLB::SdPageObjsTransferable::getImplementation( aDataHelper.GetXTransferable() );
- INetBookmark aINetBookmark;
+ INetBookmark aINetBookmark;
if( pPageObjsTransferable && aDataHelper.GetINetBookmark( SOT_FORMATSTR_ID_NETSCAPE_BOOKMARK, aINetBookmark ) )
{
- Point aPos;
- List aBookmarkList;
- String aBookmark;
- SdPage* pPage = (SdPage*) GetSdrPageView()->GetPage();
- USHORT nPgPos = 0xFFFF;
+ Point aPos;
+ List aBookmarkList;
+ String aBookmark;
+ SdPage* pPage = (SdPage*) GetSdrPageView()->GetPage();
+ USHORT nPgPos = 0xFFFF;
if( pSdNavigatorDropEvent->mpTargetWindow )
aPos = pSdNavigatorDropEvent->mpTargetWindow->PixelToLogic( pSdNavigatorDropEvent->maPosPixel );
@@ -889,10 +889,10 @@ IMPL_LINK( View, ExecuteNavigatorDrop, SdNavigatorDropEvent*, pSdNavigatorDropEv
// Um zu gewaehrleisten, dass alle Seitennamen eindeutig sind, werden
// die einzufuegenden geprueft und gegebenenfalls in einer Ersatzliste
// aufgenommen (bNameOK == FALSE -> Benutzer hat abgebrochen)
- List* pExchangeList = NULL;
- BOOL bLink = ( NAVIGATOR_DRAGTYPE_LINK == pPageObjsTransferable->GetDragType() ? TRUE : FALSE );
- BOOL bNameOK = GetExchangeList( pExchangeList, &aBookmarkList, 2 );
- BOOL bReplace = FALSE;
+ List* pExchangeList = NULL;
+ BOOL bLink = ( NAVIGATOR_DRAGTYPE_LINK == pPageObjsTransferable->GetDragType() ? TRUE : FALSE );
+ BOOL bNameOK = GetExchangeList( pExchangeList, &aBookmarkList, 2 );
+ BOOL bReplace = FALSE;
// Da man hier nicht weiss, ob es sich um eine Seite oder ein Objekt handelt,
// wird eine Liste sowohl mit Seiten, als auch mit Objekten gefuellt.
@@ -936,7 +936,7 @@ BOOL View::GetExchangeList( List*& rpExchangeList, List* pBookmarkList, USHORT n
DBG_ASSERT( !rpExchangeList, "ExchangeList muss NULL sein!");
BOOL bListIdentical = TRUE; // BookmarkList und ExchangeList sind gleich
- BOOL bNameOK = TRUE; // Name ist eindeutig
+ BOOL bNameOK = TRUE; // Name ist eindeutig
rpExchangeList = new List();
@@ -951,7 +951,7 @@ BOOL View::GetExchangeList( List*& rpExchangeList, List* pBookmarkList, USHORT n
if( nType == 0 || nType == 2 )
bNameOK = mpDocSh->CheckPageName (
mpViewSh->GetActiveWindow(), *pNewName);
-
+
if( bNameOK && ( nType == 1 || nType == 2 ) )
{
if( mpDoc->GetObj( *pNewName ) )
diff --git a/sd/source/ui/view/sdview3.cxx b/sd/source/ui/view/sdview3.cxx
index 779ef01d1562..2f874a705cbd 100644
--- a/sd/source/ui/view/sdview3.cxx
+++ b/sd/source/ui/view/sdview3.cxx
@@ -2,7 +2,7 @@
/*************************************************************************
*
* 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
@@ -112,8 +112,8 @@ namespace sd {
// #83525#
struct ImpRememberOrigAndClone
{
- SdrObject* pOrig;
- SdrObject* pClone;
+ SdrObject* pOrig;
+ SdrObject* pClone;
};
SdrObject* ImpGetClone(Container& aConnectorContainer, SdrObject* pConnObj)
@@ -166,9 +166,9 @@ bool View::InsertMetaFile( TransferableDataHelper& rDataHelper, const Point& rPo
return false;
/*
-SvFileStream aSvOutputStream( String( RTL_CONSTASCII_USTRINGPARAM( "/tmp/test.png" ) ), STREAM_WRITE | STREAM_TRUNC );
-Graphic aMtfGraphic( aMtf );
-Size aPreviewSizePixel( OutputDevice::LogicToLogic( aMtf.GetPrefSize(), aMtf.GetPrefMapMode(), MAP_PIXEL ) );
+SvFileStream aSvOutputStream( String( RTL_CONSTASCII_USTRINGPARAM( "/tmp/test.png" ) ), STREAM_WRITE | STREAM_TRUNC );
+Graphic aMtfGraphic( aMtf );
+Size aPreviewSizePixel( OutputDevice::LogicToLogic( aMtf.GetPrefSize(), aMtf.GetPrefMapMode(), MAP_PIXEL ) );
if( aPreviewSizePixel.Width() && aPreviewSizePixel.Height() )
{
@@ -299,14 +299,14 @@ BOOL View::InsertData( const TransferableDataHelper& rDataHelper,
mnAction = rDnDAction;
mbIsDropAllowed = FALSE;
- TransferableDataHelper aDataHelper( rDataHelper );
- SdrObject* pPickObj = NULL;
- SdPage* pPage = NULL;
- ImageMap* pImageMap = NULL;
- BOOL bReturn = FALSE;
- BOOL bLink = ( ( mnAction & DND_ACTION_LINK ) != 0 );
- BOOL bCopy = ( ( ( mnAction & DND_ACTION_COPY ) != 0 ) || bLink );
- ULONG nPasteOptions = SDRINSERT_SETDEFLAYER;
+ TransferableDataHelper aDataHelper( rDataHelper );
+ SdrObject* pPickObj = NULL;
+ SdPage* pPage = NULL;
+ ImageMap* pImageMap = NULL;
+ BOOL bReturn = FALSE;
+ BOOL bLink = ( ( mnAction & DND_ACTION_LINK ) != 0 );
+ BOOL bCopy = ( ( ( mnAction & DND_ACTION_COPY ) != 0 ) || bLink );
+ ULONG nPasteOptions = SDRINSERT_SETDEFLAYER;
if (mpViewSh != NULL)
{
@@ -398,10 +398,10 @@ BOOL View::InsertData( const TransferableDataHelper& rDataHelper,
if( nLayer != SDRLAYER_NOTFOUND )
{
// drop on layer tab bar
- SdrLayerAdmin& rLayerAdmin = mpDoc->GetLayerAdmin();
- SdrLayer* pLayer = rLayerAdmin.GetLayerPerID( nLayer );
- SdrPageView* pPV = GetSdrPageView();
- String aLayer( pLayer->GetName() );
+ SdrLayerAdmin& rLayerAdmin = mpDoc->GetLayerAdmin();
+ SdrLayer* pLayer = rLayerAdmin.GetLayerPerID( nLayer );
+ SdrPageView* pPV = GetSdrPageView();
+ String aLayer( pLayer->GetName() );
if( !pPV->IsLayerLocked( aLayer ) )
{
@@ -410,8 +410,8 @@ BOOL View::InsertData( const TransferableDataHelper& rDataHelper,
for( ULONG nM = 0; nM < GetMarkedObjectCount(); nM++ )
{
- SdrMark* pM = GetSdrMarkByIndex( nM );
- SdrObject* pO = pM->GetMarkedSdrObj();
+ SdrMark* pM = GetSdrMarkByIndex( nM );
+ SdrObject* pO = pM->GetMarkedSdrObj();
if( pO )
{
@@ -432,8 +432,8 @@ BOOL View::InsertData( const TransferableDataHelper& rDataHelper,
}
else
{
- SdrPageView* pPV = GetSdrPageView();
- BOOL bDropOnTabBar = TRUE;
+ SdrPageView* pPV = GetSdrPageView();
+ BOOL bDropOnTabBar = TRUE;
if( !pPage && pPV->GetPage()->GetPageNum() != mnDragSrcPgNum )
{
@@ -465,9 +465,9 @@ BOOL View::InsertData( const TransferableDataHelper& rDataHelper,
pMarkList->ForceSort();
// #83525# stuff to remember originals and clones
- Container aConnectorContainer(0);
- sal_uInt32 a, nConnectorCount(0L);
- Point aCurPos;
+ Container aConnectorContainer(0);
+ sal_uInt32 a, nConnectorCount(0L);
+ Point aCurPos;
// calculate real position of current
// source objects, if necessary (#103207)
@@ -650,8 +650,8 @@ BOOL View::InsertData( const TransferableDataHelper& rDataHelper,
}
else
{
- SdDrawDocument* pWorkModel = (SdDrawDocument*) pOwnData->GetWorkDocument();
- SdPage* pWorkPage = (SdPage*) pWorkModel->GetSdPage( 0, PK_STANDARD );
+ SdDrawDocument* pWorkModel = (SdDrawDocument*) pOwnData->GetWorkDocument();
+ SdPage* pWorkPage = (SdPage*) pWorkModel->GetSdPage( 0, PK_STANDARD );
pWorkPage->SetRectsDirty();
@@ -711,20 +711,20 @@ BOOL View::InsertData( const TransferableDataHelper& rDataHelper,
if( pModel->GetSdPage( 0, PK_STANDARD )->GetObjCount() == 1 )
{
// only one object
- SdrObject* pObj = pModel->GetSdPage( 0, PK_STANDARD )->GetObj( 0 );
- SdrObject* pPickObj2 = NULL;
- SdrPageView* pPV = NULL;
+ SdrObject* pObj = pModel->GetSdPage( 0, PK_STANDARD )->GetObj( 0 );
+ SdrObject* pPickObj2 = NULL;
+ SdrPageView* pPV = NULL;
PickObj( rPos, getHitTolLog(), pPickObj2, pPV );
if( ( mnAction & DND_ACTION_MOVE ) && pPickObj2 && pObj )
{
// replace object
- SdrObject* pNewObj = pObj->Clone();
- Rectangle aPickObjRect( pPickObj2->GetCurrentBoundRect() );
- Size aPickObjSize( aPickObjRect.GetSize() );
- Point aVec( aPickObjRect.TopLeft() );
- Rectangle aObjRect( pNewObj->GetCurrentBoundRect() );
- Size aObjSize( aObjRect.GetSize() );
+ SdrObject* pNewObj = pObj->Clone();
+ Rectangle aPickObjRect( pPickObj2->GetCurrentBoundRect() );
+ Size aPickObjSize( aPickObjRect.GetSize() );
+ Point aVec( aPickObjRect.TopLeft() );
+ Rectangle aObjRect( pNewObj->GetCurrentBoundRect() );
+ Size aObjSize( aObjRect.GetSize() );
Fraction aScaleWidth( aPickObjSize.Width(), aObjSize.Width() );
Fraction aScaleHeight( aPickObjSize.Height(), aObjSize.Height() );
@@ -832,8 +832,8 @@ BOOL View::InsertData( const TransferableDataHelper& rDataHelper,
if( pObj )
{
- Rectangle aRect( pObj->GetLogicRect() );
- Size aSize( aRect.GetSize() );
+ Rectangle aRect( pObj->GetLogicRect() );
+ Size aSize( aRect.GetSize() );
maDropPos.X() -= ( aSize.Width() >> 1 );
maDropPos.Y() -= ( aSize.Height() >> 1 );
@@ -852,7 +852,7 @@ BOOL View::InsertData( const TransferableDataHelper& rDataHelper,
{
//TODO/LATER: is it possible that this format is binary?! (from old versions of SO)
uno::Reference < io::XInputStream > xStm;
- TransferableObjectDescriptor aObjDesc;
+ TransferableObjectDescriptor aObjDesc;
if( aDataHelper.GetTransferableObjectDescriptor( SOT_FORMATSTR_ID_OBJECTDESCRIPTOR, aObjDesc ) &&
( aDataHelper.GetInputStream( nFormat ? nFormat : SOT_FORMATSTR_ID_EMBED_SOURCE, xStm ) ||
@@ -867,8 +867,8 @@ BOOL View::InsertData( const TransferableDataHelper& rDataHelper,
SfxMedium *pMedium = new SfxMedium( xStore, String() );
if( xDocShRef->DoLoad( pMedium ) )
{
- SdDrawDocument* pModel = (SdDrawDocument*) xDocShRef->GetDoc();
- SdPage* pWorkPage = (SdPage*) pModel->GetSdPage( 0, PK_STANDARD );
+ SdDrawDocument* pModel = (SdDrawDocument*) xDocShRef->GetDoc();
+ SdPage* pWorkPage = (SdPage*) pModel->GetSdPage( 0, PK_STANDARD );
pWorkPage->SetRectsDirty();
@@ -1021,7 +1021,7 @@ BOOL View::InsertData( const TransferableDataHelper& rDataHelper,
if( (nFormat != 0) || !aDataHelper.HasFormat( FORMAT_GDIMETAFILE ) )
{
uno::Reference < io::XInputStream > xStm;
- TransferableObjectDescriptor aObjDesc;
+ TransferableObjectDescriptor aObjDesc;
if ( aDataHelper.GetTransferableObjectDescriptor( SOT_FORMATSTR_ID_OBJECTDESCRIPTOR_OLE, aObjDesc ) )
{
@@ -1182,8 +1182,8 @@ BOOL View::InsertData( const TransferableDataHelper& rDataHelper,
if( pOwnData && pOwnData->GetWorkDocument() )
{
- const SdDrawDocument* pWorkModel = pOwnData->GetWorkDocument();
- SdrPage* pWorkPage = (SdrPage*) ( ( pWorkModel->GetPageCount() > 1 ) ?
+ const SdDrawDocument* pWorkModel = pOwnData->GetWorkDocument();
+ SdrPage* pWorkPage = (SdrPage*) ( ( pWorkModel->GetPageCount() > 1 ) ?
pWorkModel->GetSdPage( 0, PK_STANDARD ) :
pWorkModel->GetPage( 0 ) );
@@ -1213,8 +1213,8 @@ BOOL View::InsertData( const TransferableDataHelper& rDataHelper,
if( pOwnData && pOwnData->GetWorkDocument() )
{
- const SdDrawDocument* pWorkModel = pOwnData->GetWorkDocument();
- SdrPage* pWorkPage = (SdrPage*) ( ( pWorkModel->GetPageCount() > 1 ) ?
+ const SdDrawDocument* pWorkModel = pOwnData->GetWorkDocument();
+ SdrPage* pWorkPage = (SdrPage*) ( ( pWorkModel->GetPageCount() > 1 ) ?
pWorkModel->GetSdPage( 0, PK_STANDARD ) :
pWorkModel->GetPage( 0 ) );
@@ -1239,8 +1239,8 @@ BOOL View::InsertData( const TransferableDataHelper& rDataHelper,
if( pOwnData && pOwnData->GetWorkDocument() )
{
- const SdDrawDocument* pWorkModel = pOwnData->GetWorkDocument();
- SdrPage* pWorkPage = (SdrPage*) ( ( pWorkModel->GetPageCount() > 1 ) ?
+ const SdDrawDocument* pWorkModel = pOwnData->GetWorkDocument();
+ SdrPage* pWorkPage = (SdrPage*) ( ( pWorkModel->GetPageCount() > 1 ) ?
pWorkModel->GetSdPage( 0, PK_STANDARD ) :
pWorkModel->GetPage( 0 ) );
@@ -1278,26 +1278,26 @@ BOOL View::InsertData( const TransferableDataHelper& rDataHelper,
EndUndo();
}
- XFillAttrSetItem* pSetItem = aFillData.GetXFillAttrSetItem();
- SfxItemSet rSet = pSetItem->GetItemSet();
- XFillStyle eFill= ( (XFillStyleItem&) rSet.Get( XATTR_FILLSTYLE ) ).GetValue();
+ XFillAttrSetItem* pSetItem = aFillData.GetXFillAttrSetItem();
+ SfxItemSet rSet = pSetItem->GetItemSet();
+ XFillStyle eFill= ( (XFillStyleItem&) rSet.Get( XATTR_FILLSTYLE ) ).GetValue();
if( eFill == XFILL_SOLID || eFill == XFILL_NONE )
{
- const XFillColorItem& rColItem = (XFillColorItem&) rSet.Get( XATTR_FILLCOLOR );
- Color aColor( rColItem.GetColorValue() );
- String aName( rColItem.GetName() );
- SfxItemSet aSet( mpDoc->GetPool() );
- BOOL bClosed = pPickObj->IsClosedObj();
+ const XFillColorItem& rColItem = (XFillColorItem&) rSet.Get( XATTR_FILLCOLOR );
+ Color aColor( rColItem.GetColorValue() );
+ String aName( rColItem.GetName() );
+ SfxItemSet aSet( mpDoc->GetPool() );
+ BOOL bClosed = pPickObj->IsClosedObj();
::sd::Window* pWin = mpViewSh->GetActiveWindow();
USHORT nHitLog = (USHORT) pWin->PixelToLogic(
Size(FuPoor::HITPIX, 0 ) ).Width();
- const long n2HitLog = nHitLog << 1;
- Point aHitPosR( rPos );
- Point aHitPosL( rPos );
- Point aHitPosT( rPos );
- Point aHitPosB( rPos );
- const SetOfByte* pVisiLayer = &GetSdrPageView()->GetVisibleLayers();
+ const long n2HitLog = nHitLog << 1;
+ Point aHitPosR( rPos );
+ Point aHitPosL( rPos );
+ Point aHitPosT( rPos );
+ Point aHitPosB( rPos );
+ const SetOfByte* pVisiLayer = &GetSdrPageView()->GetVisibleLayers();
aHitPosR.X() += n2HitLog;
aHitPosL.X() -= n2HitLog;
diff --git a/sd/source/ui/view/sdview4.cxx b/sd/source/ui/view/sdview4.cxx
index 0ef9417fed4e..86dd2c996422 100644
--- a/sd/source/ui/view/sdview4.cxx
+++ b/sd/source/ui/view/sdview4.cxx
@@ -2,7 +2,7 @@
/*************************************************************************
*
* 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
@@ -97,9 +97,9 @@ SdrGrafObj* View::InsertGraphic( const Graphic& rGraphic, sal_Int8& rAction,
mnAction = rAction;
// Liegt ein Objekt an der Position rPos?
- SdrGrafObj* pNewGrafObj = NULL;
- SdrPageView* pPV = GetSdrPageView();
- SdrObject* pPickObj = pObj;
+ SdrGrafObj* pNewGrafObj = NULL;
+ SdrPageView* pPV = GetSdrPageView();
+ SdrObject* pPickObj = pObj;
const bool bOnMaster = pPV && pPV->GetPage() && pPV->GetPage()->IsMasterPage();
if(pPV && this->ISA(::sd::slidesorter::view::SlideSorterView))
@@ -120,7 +120,7 @@ SdrGrafObj* View::InsertGraphic( const Graphic& rGraphic, sal_Int8& rAction,
if( bIsGraphic || (pObj->IsEmptyPresObj() && !bOnMaster) )
{
if( IsUndoEnabled() )
- BegUndo(String(SdResId(STR_INSERTGRAPHIC)));
+ BegUndo(String(SdResId(STR_INSERTGRAPHIC)));
SdPage* pPage = (SdPage*) pPickObj->GetPage();
@@ -208,10 +208,10 @@ SdrGrafObj* View::InsertGraphic( const Graphic& rGraphic, sal_Int8& rAction,
aPageSize.Width() -= pPage->GetLftBorder() + pPage->GetRgtBorder();
aPageSize.Height() -= pPage->GetUppBorder() + pPage->GetLwrBorder();
pNewGrafObj->AdjustToMaxRect( Rectangle( Point(), aPageSize ), TRUE );
-// pNewGrafObj->AdjustToMaxRect( Rectangle( pPV->GetOffset(), aPageSize ), TRUE );
+// pNewGrafObj->AdjustToMaxRect( Rectangle( pPV->GetOffset(), aPageSize ), TRUE );
- ULONG nOptions = SDRINSERT_SETDEFLAYER;
- BOOL bIsPresTarget = FALSE;
+ ULONG nOptions = SDRINSERT_SETDEFLAYER;
+ BOOL bIsPresTarget = FALSE;
if ((mpViewSh
&& mpViewSh->GetViewShell()!=NULL
@@ -292,9 +292,9 @@ SdrMediaObj* View::InsertMediaURL( const rtl::OUString& rMediaURL, sal_Int8& rAc
SdrEndTextEdit();
mnAction = rAction;
- SdrMediaObj* pNewMediaObj = NULL;
- SdrPageView* pPV = GetSdrPageView();
- SdrObject* pPickObj = GetEmptyPresentationObject( PRESOBJ_MEDIA );
+ SdrMediaObj* pNewMediaObj = NULL;
+ SdrPageView* pPV = GetSdrPageView();
+ SdrObject* pPickObj = GetEmptyPresentationObject( PRESOBJ_MEDIA );
if(pPV && this->ISA(::sd::slidesorter::view::SlideSorterView ))
{
@@ -378,7 +378,7 @@ IMPL_LINK( View, DropInsertFileHdl, Timer*, EMPTYARG )
{
String aCurrentDropFile( *aIter );
INetURLObject aURL( aCurrentDropFile );
- BOOL bOK = FALSE;
+ BOOL bOK = FALSE;
if( aURL.GetProtocol() == INET_PROT_NOT_VALID )
{
@@ -388,7 +388,7 @@ IMPL_LINK( View, DropInsertFileHdl, Timer*, EMPTYARG )
}
GraphicFilter* pGraphicFilter = GraphicFilter::GetGraphicFilter();
- Graphic aGraphic;
+ Graphic aGraphic;
aCurrentDropFile = aURL.GetMainURL( INetURLObject::NO_DECODE );
@@ -408,14 +408,14 @@ IMPL_LINK( View, DropInsertFileHdl, Timer*, EMPTYARG )
if( !bOK )
{
const SfxFilter* pFoundFilter = NULL;
- SfxMedium aSfxMedium( aCurrentDropFile, STREAM_READ | STREAM_SHARE_DENYNONE, FALSE );
- ErrCode nErr = SFX_APP()->GetFilterMatcher().GuessFilter( aSfxMedium, &pFoundFilter, SFX_FILTER_IMPORT, SFX_FILTER_NOTINSTALLED | SFX_FILTER_EXECUTABLE );
+ SfxMedium aSfxMedium( aCurrentDropFile, STREAM_READ | STREAM_SHARE_DENYNONE, FALSE );
+ ErrCode nErr = SFX_APP()->GetFilterMatcher().GuessFilter( aSfxMedium, &pFoundFilter, SFX_FILTER_IMPORT, SFX_FILTER_NOTINSTALLED | SFX_FILTER_EXECUTABLE );
if( pFoundFilter && !nErr )
{
::std::vector< String > aFilterVector;
- const String aFilterName( pFoundFilter->GetFilterName() );
- String aLowerAsciiFileName( aCurrentDropFile );
+ const String aFilterName( pFoundFilter->GetFilterName() );
+ String aLowerAsciiFileName( aCurrentDropFile );
aLowerAsciiFileName.ToLowerAscii();
FuInsertFile::GetSupportedFilterVector( aFilterVector );
@@ -488,7 +488,7 @@ IMPL_LINK( View, DropInsertFileHdl, Timer*, EMPTYARG )
{
// TODO/LEAN: VisualArea access can switch the object to running state
sal_Int64 nAspect = embed::Aspects::MSOLE_CONTENT;
-
+
xPersist->storeOwn();
awt::Size aSz;
@@ -500,7 +500,7 @@ IMPL_LINK( View, DropInsertFileHdl, Timer*, EMPTYARG )
{
// the default size will be set later
}
-
+
Size aSize( aSz.Width, aSz.Height );
Rectangle aRect;
diff --git a/sd/source/ui/view/sdview5.cxx b/sd/source/ui/view/sdview5.cxx
index c28d2c5658cf..9f348b73f6a4 100644
--- a/sd/source/ui/view/sdview5.cxx
+++ b/sd/source/ui/view/sdview5.cxx
@@ -2,7 +2,7 @@
/*************************************************************************
*
* 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
@@ -38,7 +38,7 @@ namespace sd {
static bool implIsMultiPresObj( PresObjKind eKind )
{
switch( eKind )
- {
+ {
case PRESOBJ_OUTLINE:
case PRESOBJ_GRAPHIC:
case PRESOBJ_OBJECT:
@@ -57,7 +57,7 @@ SdrObject* View::GetEmptyPresentationObject( PresObjKind eKind )
{
SdrObject* pEmptyObj = 0;
- SdrPageView* pPV = GetSdrPageView();
+ SdrPageView* pPV = GetSdrPageView();
if( pPV )
{
SdPage* pPage = static_cast< SdPage* >( pPV->GetPage() );
@@ -96,7 +96,7 @@ SdrObject* View::GetEmptyPresentationObject( PresObjKind eKind )
if( !pEmptyObj )
{
const std::list< SdrObject* >& rShapes = pPage->GetPresentationShapeList().getList();
-
+
for( std::list< SdrObject* >::const_iterator iter( rShapes.begin() ); iter != rShapes.end(); iter++ )
{
if( (*iter)->IsEmptyPresObj() && implIsMultiPresObj(pPage->GetPresObjKind(*iter)) )
diff --git a/sd/source/ui/view/sdwindow.cxx b/sd/source/ui/view/sdwindow.cxx
index 9a80ee38dd60..86d0bc1c7bb1 100644
--- a/sd/source/ui/view/sdwindow.cxx
+++ b/sd/source/ui/view/sdwindow.cxx
@@ -2,7 +2,7 @@
/*************************************************************************
*
* 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
@@ -56,8 +56,8 @@ namespace sd {
#define SCROLL_PAGE_FACT 0.5 // Faktor fuer Seitenscrolling
#define SCROLL_SENSITIVE 20 // Sensitiver Bereich (Pixel)
#define ZOOM_MULTIPLICATOR 10000 // Multiplikator um Rundungsfehler zu vermeiden
-#define MIN_ZOOM 5 // Minimaler Zoomfaktor
-#define MAX_ZOOM 3000 // Maximaler Zoomfaktor
+#define MIN_ZOOM 5 // Minimaler Zoomfaktor
+#define MAX_ZOOM 3000 // Maximaler Zoomfaktor
/*************************************************************************
@@ -70,9 +70,9 @@ Window::Window(::Window* pParent)
: ::Window(pParent, WinBits(WB_CLIPCHILDREN | WB_DIALOGCONTROL)),
DropTargetHelper( this ),
mpShareWin(NULL),
- maWinPos(0, 0), // vorsichtshalber; die Werte sollten aber
- maViewOrigin(0, 0), // vom Besitzer des Fensters neu gesetzt
- maViewSize(1000, 1000), // werden
+ maWinPos(0, 0), // vorsichtshalber; die Werte sollten aber
+ maViewOrigin(0, 0), // vom Besitzer des Fensters neu gesetzt
+ maViewSize(1000, 1000), // werden
maPrevSize(-1,-1),
mnMinZoom(MIN_ZOOM),
mnMaxZoom(MAX_ZOOM),
@@ -554,7 +554,7 @@ long Window::GetZoomForRect( const Rectangle& rZoomRect )
nRetZoom = GetZoom();
}
else
- {
+ {
// Clip the zoom factor to the valid range marked by nMinZoom as
// previously calculated by <member>CalcMinZoom()</member> and the
// MAX_ZOOM constant.
@@ -640,8 +640,8 @@ long Window::SetZoomRect (const Rectangle& rZoomRect)
aWinSize.Height() = (long) ((double) aWinSize.Height() * (double) ZOOM_MULTIPLICATOR / (double) nFact);
maWinPos.Y() += (rZoomRect.GetHeight() - aWinSize.Height()) / 2;
- if ( maWinPos.X() < 0 ) maWinPos.X() = 0;
- if ( maWinPos.Y() < 0 ) maWinPos.Y() = 0;
+ if ( maWinPos.X() < 0 ) maWinPos.X() = 0;
+ if ( maWinPos.Y() < 0 ) maWinPos.Y() = 0;
// Adapt the window's map mode to the new zoom factor.
nNewZoom = SetZoomFactor(nZoom);
@@ -672,7 +672,7 @@ void Window::SetMinZoomAutoCalc (bool bAuto)
void Window::UpdateMapOrigin(BOOL bInvalidate)
{
- BOOL bChanged = FALSE;
+ BOOL bChanged = FALSE;
const Size aWinSize = PixelToLogic(GetOutputSizePixel());
if ( mbCenterAllowed )
@@ -735,7 +735,7 @@ void Window::UpdateMapMode (void)
{
Size aViewSizePixel = LogicToPixel(maViewSize);
Size aWinSizePixel = LogicToPixel(aWinSize);
-
+
// Seite soll nicht am Fensterrand "kleben"
if (aPix.Width() == 0)
{
@@ -752,13 +752,13 @@ void Window::UpdateMapMode (void)
aPix.Height() -= 8;
}
}
-
+
aPix = PixelToLogic(aPix);
maWinPos.X() = aPix.Width();
maWinPos.Y() = aPix.Height();
Point aNewOrigin (-maWinPos.X(), -maWinPos.Y());
maWinPos += maViewOrigin;
-
+
MapMode aMap(GetMapMode());
aMap.SetOrigin(aNewOrigin);
SetMapMode(aMap);
@@ -809,8 +809,8 @@ void Window::SetVisibleXY(double fX, double fY)
if ( fY >= 0 )
maWinPos.Y() = (long) (fY * maViewSize.Height());
UpdateMapOrigin(FALSE);
- // Size sz(nOldX - aWinPos.X(), nOldY - aWinPos.Y());
- // sz = LogicToPixel(sz);
+ // Size sz(nOldX - aWinPos.X(), nOldY - aWinPos.Y());
+ // sz = LogicToPixel(sz);
Scroll(nOldX - maWinPos.X(), nOldY - maWinPos.Y(), SCROLL_CHILDREN);
Update();
}
@@ -913,7 +913,7 @@ void Window::LoseFocus()
void Window::GrabFocus()
{
- mnTicks = 0;
+ mnTicks = 0;
::Window::GrabFocus ();
}
@@ -984,7 +984,7 @@ void Window::DataChanged( const DataChangedEvent& rDCEvt )
SetDrawMode( nOutputMode );
mpViewShell->GetFrameView()->SetDrawMode( nOutputMode );
// #110094#-7
-// mpViewShell->GetView()->ReleaseMasterPagePaintCache();
+// mpViewShell->GetView()->ReleaseMasterPagePaintCache();
Invalidate();
}
@@ -1166,9 +1166,9 @@ void Window::DropScroll(const Point& rMousePos)
if ( (nDx || nDy) && (rMousePos.X()!=0 || rMousePos.Y()!=0 ) )
{
- if (mnTicks > 20)
+ if (mnTicks > 20)
mpViewShell->ScrollLines(nDx, nDy);
- else
+ else
mnTicks ++;
}
}
diff --git a/sd/source/ui/view/tabcontr.cxx b/sd/source/ui/view/tabcontr.cxx
index 24e63ed5c8da..53cd5c8b20c1 100644
--- a/sd/source/ui/view/tabcontr.cxx
+++ b/sd/source/ui/view/tabcontr.cxx
@@ -2,7 +2,7 @@
/*************************************************************************
*
* 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
@@ -56,7 +56,7 @@
namespace sd {
-#define SWITCH_TIMEOUT 20
+#define SWITCH_TIMEOUT 20
// -----------------------------------------
// - SdTabControl::SdPageObjsTransferable -
@@ -134,8 +134,8 @@ void TabControl::Select()
void TabControl::MouseButtonDown(const MouseEvent& rMEvt)
{
if (rMEvt.IsLeft()
- && !rMEvt.IsMod1()
- && !rMEvt.IsMod2()
+ && !rMEvt.IsMod1()
+ && !rMEvt.IsMod2()
&& !rMEvt.IsShift())
{
Point aPos = PixelToLogic( rMEvt.GetPosPixel() );
@@ -232,7 +232,7 @@ sal_Int8 TabControl::AcceptDrop( const AcceptDropEvent& rEvt )
if( !pDrViewSh->GetDocSh()->IsReadOnly() )
{
SdDrawDocument* pDoc = pDrViewSh->GetDoc();
- Point aPos( rEvt.maPosPixel );
+ Point aPos( rEvt.maPosPixel );
if( bInternalMove )
{
@@ -270,8 +270,8 @@ sal_Int8 TabControl::AcceptDrop( const AcceptDropEvent& rEvt )
sal_Int8 TabControl::ExecuteDrop( const ExecuteDropEvent& rEvt )
{
SdDrawDocument* pDoc = pDrViewSh->GetDoc();
- Point aPos( rEvt.maPosPixel );
- sal_Int8 nRet = DND_ACTION_NONE;
+ Point aPos( rEvt.maPosPixel );
+ sal_Int8 nRet = DND_ACTION_NONE;
if( bInternalMove )
{
@@ -286,7 +286,7 @@ sal_Int8 TabControl::ExecuteDrop( const ExecuteDropEvent& rEvt )
pDispatcher->Execute(SID_SWITCHPAGE, SFX_CALLMODE_ASYNCHRON | SFX_CALLMODE_RECORD);
}
break;
-
+
case DND_ACTION_COPY:
{
// Copying the selected page to the place that rEvt points
diff --git a/sd/source/ui/view/unmodpg.cxx b/sd/source/ui/view/unmodpg.cxx
index 16315f989f04..f107d0afbd89 100644
--- a/sd/source/ui/view/unmodpg.cxx
+++ b/sd/source/ui/view/unmodpg.cxx
@@ -2,7 +2,7 @@
/*************************************************************************
*
* 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
@@ -61,21 +61,21 @@ ModifyPageUndoAction::ModifyPageUndoAction(
SdDrawDocument* pTheDoc,
SdPage* pThePage,
String aTheNewName,
- AutoLayout eTheNewAutoLayout,
+ AutoLayout eTheNewAutoLayout,
BOOL bTheNewBckgrndVisible,
BOOL bTheNewBckgrndObjsVisible)
-: SdUndoAction(pTheDoc),
+: SdUndoAction(pTheDoc),
mpManager(pTheManager)
{
DBG_ASSERT(pThePage, "Undo ohne Seite ???");
- mpPage = pThePage;
- maNewName = aTheNewName;
- meNewAutoLayout = eTheNewAutoLayout;
- mbNewBckgrndVisible = bTheNewBckgrndVisible;
- mbNewBckgrndObjsVisible = bTheNewBckgrndObjsVisible;
+ mpPage = pThePage;
+ maNewName = aTheNewName;
+ meNewAutoLayout = eTheNewAutoLayout;
+ mbNewBckgrndVisible = bTheNewBckgrndVisible;
+ mbNewBckgrndObjsVisible = bTheNewBckgrndObjsVisible;
- meOldAutoLayout = mpPage->GetAutoLayout();
+ meOldAutoLayout = mpPage->GetAutoLayout();
if (!mpPage->IsMasterPage())
{
@@ -105,7 +105,7 @@ void ModifyPageUndoAction::Undo()
// which are no longer allowed to be selected then.
SdrViewIter aIter(mpPage);
SdrView* pView = aIter.FirstView();
-
+
while(pView)
{
if(pView->AreObjectsMarked())
@@ -154,7 +154,7 @@ void ModifyPageUndoAction::Redo()
// which are no longer allowed to be selected then.
SdrViewIter aIter(mpPage);
SdrView* pView = aIter.FirstView();
-
+
while(pView)
{
if(pView->AreObjectsMarked())
@@ -245,7 +245,7 @@ void RenameLayoutTemplateUndoAction::Redo()
String RenameLayoutTemplateUndoAction::GetComment() const
{
- return maComment;
+ return maComment;
}
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/sd/source/ui/view/viewoverlaymanager.cxx b/sd/source/ui/view/viewoverlaymanager.cxx
index 8b4464c64fb4..1a09d86f73fc 100644
--- a/sd/source/ui/view/viewoverlaymanager.cxx
+++ b/sd/source/ui/view/viewoverlaymanager.cxx
@@ -2,7 +2,7 @@
/*************************************************************************
*
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
- *
+ *
* Copyright 2008 by Sun Microsystems, Inc.
*
* OpenOffice.org - a multi-platform office productivity suite
@@ -410,8 +410,8 @@ BitmapEx ChangePlaceholderTag::createOverlayImage( int nHighlight )
aRet = *(getButtonImage((nHighlight == 0) ? 4 : 0, bLarge));
aRet.Expand( aSize.Width(), aSize.Height(), NULL, TRUE );
- aRet.CopyPixel( Rectangle( Point( aSize.Width(), 0 ), aSize ), aRectSrc, getButtonImage((nHighlight == 1) ? 5 : 1, bLarge) );
- aRet.CopyPixel( Rectangle( Point( 0, aSize.Height() ), aSize ), aRectSrc, getButtonImage((nHighlight == 2) ? 6 : 2, bLarge) );
+ aRet.CopyPixel( Rectangle( Point( aSize.Width(), 0 ), aSize ), aRectSrc, getButtonImage((nHighlight == 1) ? 5 : 1, bLarge) );
+ aRet.CopyPixel( Rectangle( Point( 0, aSize.Height() ), aSize ), aRectSrc, getButtonImage((nHighlight == 2) ? 6 : 2, bLarge) );
aRet.CopyPixel( Rectangle( Point( aSize.Width(), aSize.Height() ), aSize ), aRectSrc, getButtonImage((nHighlight == 3) ? 7 : 3, bLarge) );
}
@@ -435,7 +435,7 @@ void ChangePlaceholderTag::addCustomHandles( SdrHdlList& rHandlerList )
long nShapeSizePix = std::min(aShapeSizePix.Width(),aShapeSizePix.Height());
if( 50 > nShapeSizePix )
return;
-
+
bool bLarge = nShapeSizePix > 250;
Size aButtonSize( pDev->PixelToLogic( getButtonImage(0, bLarge )->GetSizePixel()) );
@@ -453,7 +453,7 @@ void ChangePlaceholderTag::addCustomHandles( SdrHdlList& rHandlerList )
ImageButtonHdl* pHdl = new ImageButtonHdl( xThis, aPoint );
pHdl->SetObjHdlNum( SMART_TAG_HDL_NUM );
pHdl->SetPageView( mrView.GetSdrPageView() );
-
+
pHdl->SetPos( aPos );
rHandlerList.AddHdl( pHdl );
@@ -494,7 +494,7 @@ ViewOverlayManager::ViewOverlayManager( ViewShellBase& rViewShellBase )
| tools::EventMultiplexerEvent::EID_BEGIN_TEXT_EDIT
| tools::EventMultiplexerEvent::EID_END_TEXT_EDIT );
- StartListening( *mrBase.GetDocShell() );
+ StartListening( *mrBase.GetDocShell() );
}
// --------------------------------------------------------------------
@@ -548,22 +548,22 @@ IMPL_LINK(ViewOverlayManager,UpdateTagsHdl, void *, EMPTYARG)
mnUpdateTagsEvent = 0;
bool bChanges = DisposeTags();
bChanges |= CreateTags();
-
+
if( bChanges && mrBase.GetDrawView() )
- static_cast< ::sd::View* >( mrBase.GetDrawView() )->updateHandles();
+ static_cast< ::sd::View* >( mrBase.GetDrawView() )->updateHandles();
return 0;
}
bool ViewOverlayManager::CreateTags()
{
bool bChanges = false;
-
+
SdPage* pPage = mrBase.GetMainViewShell()->getCurrentPage();
-
- if( pPage && !pPage->IsMasterPage() && (pPage->GetPageKind() == PK_STANDARD) )
+
+ if( pPage && !pPage->IsMasterPage() && (pPage->GetPageKind() == PK_STANDARD) )
{
const std::list< SdrObject* >& rShapes = pPage->GetPresentationShapeList().getList();
-
+
for( std::list< SdrObject* >::const_iterator iter( rShapes.begin() ); iter != rShapes.end(); iter++ )
{
if( (*iter)->IsEmptyPresObj() && ((*iter)->GetObjIdentifier() == OBJ_OUTLINETEXT) && (mrBase.GetDrawView()->GetTextEditObject() != (*iter)) )
@@ -574,7 +574,7 @@ bool ViewOverlayManager::CreateTags()
}
}
}
-
+
return bChanges;
}
@@ -586,7 +586,7 @@ bool ViewOverlayManager::DisposeTags()
{
ViewTagVector vec;
vec.swap( maTagVector );
-
+
ViewTagVector::iterator iter = vec.begin();
do
{
@@ -595,7 +595,7 @@ bool ViewOverlayManager::DisposeTags()
while( iter != vec.end() );
return true;
}
-
+
return false;
}
diff --git a/sd/source/ui/view/viewshe2.cxx b/sd/source/ui/view/viewshe2.cxx
index a76709d52a49..bc42cb93210f 100644
--- a/sd/source/ui/view/viewshe2.cxx
+++ b/sd/source/ui/view/viewshe2.cxx
@@ -2,7 +2,7 @@
/*************************************************************************
*
* 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
@@ -343,9 +343,9 @@ void ViewShell::Scroll(long nScrollX, long nScrollY)
long nNewThumb = mpVerticalScrollBar->GetThumbPos() + nScrollY;
mpVerticalScrollBar->SetThumbPos(nNewThumb);
}
- double fX = (double) mpHorizontalScrollBar->GetThumbPos() /
+ double fX = (double) mpHorizontalScrollBar->GetThumbPos() /
mpHorizontalScrollBar->GetRange().Len();
- double fY = (double) mpVerticalScrollBar->GetThumbPos() /
+ double fY = (double) mpVerticalScrollBar->GetThumbPos() /
mpVerticalScrollBar->GetRange().Len();
GetActiveWindow()->SetVisibleXY(fX, fY);
@@ -1091,7 +1091,7 @@ sal_Int8 ViewShell::ExecuteDrop (
USHORT nPage,
USHORT nLayer)
{
- ::sd::View* pView = GetView();
+ ::sd::View* pView = GetView();
return( pView ? pView->ExecuteDrop( rEvt, rTargetHelper, pTargetWindow, nPage, nLayer ) : DND_ACTION_NONE );
}
diff --git a/sd/source/ui/view/viewshe3.cxx b/sd/source/ui/view/viewshe3.cxx
index 29bb1c62dd3a..711239fade96 100644
--- a/sd/source/ui/view/viewshe3.cxx
+++ b/sd/source/ui/view/viewshe3.cxx
@@ -2,7 +2,7 @@
/*************************************************************************
*
* 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
@@ -226,7 +226,7 @@ SdPage* ViewShell::CreateOrDuplicatePage (
SdPage* pTemplatePage = pPage;
if (pTemplatePage == NULL)
if (pDocument->GetSdPage(0, ePageKind) > 0)
- pTemplatePage = pDocument->GetSdPage(0, ePageKind);
+ pTemplatePage = pDocument->GetSdPage(0, ePageKind);
if (pTemplatePage != NULL && pTemplatePage->TRG_HasMasterPage())
aVisibleLayers = pTemplatePage->TRG_GetMasterPageVisibleLayers();
else
@@ -310,12 +310,12 @@ SdPage* ViewShell::CreateOrDuplicatePage (
}
bIsPageBack = pIsPageBack->GetValue ();
- bIsPageObj = pIsPageObj->GetValue ();
+ bIsPageObj = pIsPageObj->GetValue ();
}
else
{
Cancel();
-
+
if(HasCurrentFunction( SID_BEZIER_EDIT ) )
GetViewFrame()->GetDispatcher()->Execute(SID_OBJECT_SELECT, SFX_CALLMODE_ASYNCHRON);
@@ -403,11 +403,11 @@ SdPage* ViewShell::CreateOrDuplicatePage (
// Duplication makes no sense when pPage is NULL.
if (pPage != NULL)
nNewPageIndex = pDocument->DuplicatePage (
- pPage,
+ pPage,
ePageKind,
- aStandardPageName,
+ aStandardPageName,
aNotesPageName,
- eStandardLayout,
+ eStandardLayout,
eNotesLayout,
bIsPageBack,
bIsPageObj);
diff --git a/sd/source/ui/view/viewshel.cxx b/sd/source/ui/view/viewshel.cxx
index ca0592221ee8..0b557d92c3c4 100644
--- a/sd/source/ui/view/viewshel.cxx
+++ b/sd/source/ui/view/viewshel.cxx
@@ -2,7 +2,7 @@
/*************************************************************************
*
* 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
@@ -159,9 +159,9 @@ TYPEINIT1(ViewShell, SfxShell);
ViewShell::ViewShell( SfxViewFrame*, ::Window* pParentWindow, ViewShellBase& rViewShellBase, bool bAllowCenter)
-: SfxShell(&rViewShellBase)
-, mbCenterAllowed(bAllowCenter)
-, mpParentWindow(pParentWindow)
+: SfxShell(&rViewShellBase)
+, mbCenterAllowed(bAllowCenter)
+, mpParentWindow(pParentWindow)
{
construct();
}
@@ -358,7 +358,7 @@ void ViewShell::Activate(BOOL bIsMDIActivate)
//HMHif (pView)
//HMH{
- //HMH pView->ShowMarkHdl();
+ //HMH pView->ShowMarkHdl();
//HMH}
}
@@ -529,7 +529,7 @@ void ViewShell::MouseButtonDown(const MouseEvent& rMEvt, ::sd::Window* pWin)
{
pWin->GrabFocus();
SetActiveWindow(pWin);
-// GetViewFrame()->GetWindow().GrabFocus();
+// GetViewFrame()->GetWindow().GrabFocus();
}
// MouseEvent in E3dView eintragen
@@ -654,7 +654,7 @@ void ViewShell::Command(const CommandEvent& rCEvt, ::sd::Window* pWin)
{
bConsumed = GetView()->getSmartTags().Command(rCEvt);
}
-
+
if( !bConsumed && HasCurrentFunction())
{
GetCurrentFunction()->Command(rCEvt);
@@ -807,7 +807,7 @@ void ViewShell::Resize (void)
if (mpParentWindow == NULL)
return;
-
+
// Make sure that the new size is not degenerate.
const Size aSize (mpParentWindow->GetSizePixel());
if (aSize.Width()==0 || aSize.Height()==0)
@@ -833,7 +833,7 @@ void ViewShell::Resize (void)
// GetDocSh()->SetVisArea(aVisArea);
}
- // VisAreaChanged(aVisArea);
+ // VisAreaChanged(aVisArea);
::sd::View* pView = GetView();
diff --git a/sd/source/ui/view/zoomlist.cxx b/sd/source/ui/view/zoomlist.cxx
index 1d5dd0cac84c..7ca7b4839428 100644
--- a/sd/source/ui/view/zoomlist.cxx
+++ b/sd/source/ui/view/zoomlist.cxx
@@ -2,7 +2,7 @@
/*************************************************************************
*
* 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
@@ -41,7 +41,7 @@
namespace sd {
-#define MAX_ENTRYS 10
+#define MAX_ENTRYS 10
/*************************************************************************
|*
diff --git a/sd/uiconfig/sdraw/toolbar/arrowshapes.xml b/sd/uiconfig/sdraw/toolbar/arrowshapes.xml
index b1260e5410bc..801774af3a9d 100644
--- a/sd/uiconfig/sdraw/toolbar/arrowshapes.xml
+++ b/sd/uiconfig/sdraw/toolbar/arrowshapes.xml
@@ -18,17 +18,17 @@
<toolbar:toolbaritem xlink:href=".uno:ArrowShapes.notched-right-arrow" toolbar:helpid="helpid:11004" />
<toolbar:toolbaritem xlink:href=".uno:ArrowShapes.pentagon-right" toolbar:helpid="helpid:11004" />
<toolbar:toolbaritem xlink:href=".uno:ArrowShapes.chevron" toolbar:helpid="helpid:11004" />
- <toolbar:toolbaritem xlink:href=".uno:ArrowShapes.right-arrow-callout" toolbar:helpid="helpid:11004" />
- <toolbar:toolbaritem xlink:href=".uno:ArrowShapes.left-arrow-callout" toolbar:helpid="helpid:11004" />
- <toolbar:toolbaritem xlink:href=".uno:ArrowShapes.up-arrow-callout" toolbar:helpid="helpid:11004" />
+ <toolbar:toolbaritem xlink:href=".uno:ArrowShapes.right-arrow-callout" toolbar:helpid="helpid:11004" />
+ <toolbar:toolbaritem xlink:href=".uno:ArrowShapes.left-arrow-callout" toolbar:helpid="helpid:11004" />
+ <toolbar:toolbaritem xlink:href=".uno:ArrowShapes.up-arrow-callout" toolbar:helpid="helpid:11004" />
<toolbar:toolbarbreak/>
- <toolbar:toolbaritem xlink:href=".uno:ArrowShapes.down-arrow-callout" toolbar:helpid="helpid:11004" />
- <toolbar:toolbaritem xlink:href=".uno:ArrowShapes.left-right-arrow-callout" toolbar:helpid="helpid:11004" />
- <toolbar:toolbaritem xlink:href=".uno:ArrowShapes.up-down-arrow-callout" toolbar:helpid="helpid:11004" />
- <toolbar:toolbaritem xlink:href=".uno:ArrowShapes.up-right-arrow-callout" toolbar:helpid="helpid:11004" />
- <toolbar:toolbaritem xlink:href=".uno:ArrowShapes.quad-arrow-callout" toolbar:helpid="helpid:11004" />
- <toolbar:toolbaritem xlink:href=".uno:ArrowShapes.circular-arrow" toolbar:helpid="helpid:11004" />
+ <toolbar:toolbaritem xlink:href=".uno:ArrowShapes.down-arrow-callout" toolbar:helpid="helpid:11004" />
+ <toolbar:toolbaritem xlink:href=".uno:ArrowShapes.left-right-arrow-callout" toolbar:helpid="helpid:11004" />
+ <toolbar:toolbaritem xlink:href=".uno:ArrowShapes.up-down-arrow-callout" toolbar:helpid="helpid:11004" />
+ <toolbar:toolbaritem xlink:href=".uno:ArrowShapes.up-right-arrow-callout" toolbar:helpid="helpid:11004" />
+ <toolbar:toolbaritem xlink:href=".uno:ArrowShapes.quad-arrow-callout" toolbar:helpid="helpid:11004" />
+ <toolbar:toolbaritem xlink:href=".uno:ArrowShapes.circular-arrow" toolbar:helpid="helpid:11004" />
<toolbar:toolbarbreak/>
- <toolbar:toolbaritem xlink:href=".uno:ArrowShapes.split-round-arrow" toolbar:helpid="helpid:11004" />
- <toolbar:toolbaritem xlink:href=".uno:ArrowShapes.s-sharped-arrow" toolbar:helpid="helpid:11004" />
+ <toolbar:toolbaritem xlink:href=".uno:ArrowShapes.split-round-arrow" toolbar:helpid="helpid:11004" />
+ <toolbar:toolbaritem xlink:href=".uno:ArrowShapes.s-sharped-arrow" toolbar:helpid="helpid:11004" />
</toolbar:toolbar> \ No newline at end of file
diff --git a/sd/uiconfig/sdraw/toolbar/basicshapes.xml b/sd/uiconfig/sdraw/toolbar/basicshapes.xml
index e65778305788..bd4b96708264 100644
--- a/sd/uiconfig/sdraw/toolbar/basicshapes.xml
+++ b/sd/uiconfig/sdraw/toolbar/basicshapes.xml
@@ -18,12 +18,12 @@
<toolbar:toolbaritem xlink:href=".uno:BasicShapes.pentagon" toolbar:helpid="helpid:11002" />
<toolbar:toolbaritem xlink:href=".uno:BasicShapes.hexagon" toolbar:helpid="helpid:11002" />
<toolbar:toolbaritem xlink:href=".uno:BasicShapes.octagon" toolbar:helpid="helpid:11002" />
- <toolbar:toolbaritem xlink:href=".uno:BasicShapes.cross" toolbar:helpid="helpid:11002" />
- <toolbar:toolbaritem xlink:href=".uno:BasicShapes.ring" toolbar:helpid="helpid:11002" />
- <toolbar:toolbaritem xlink:href=".uno:BasicShapes.block-arc" toolbar:helpid="helpid:11002" />
+ <toolbar:toolbaritem xlink:href=".uno:BasicShapes.cross" toolbar:helpid="helpid:11002" />
+ <toolbar:toolbaritem xlink:href=".uno:BasicShapes.ring" toolbar:helpid="helpid:11002" />
+ <toolbar:toolbaritem xlink:href=".uno:BasicShapes.block-arc" toolbar:helpid="helpid:11002" />
<toolbar:toolbarbreak/>
- <toolbar:toolbaritem xlink:href=".uno:BasicShapes.can" toolbar:helpid="helpid:11002" />
- <toolbar:toolbaritem xlink:href=".uno:BasicShapes.cube" toolbar:helpid="helpid:11002" />
- <toolbar:toolbaritem xlink:href=".uno:BasicShapes.paper" toolbar:helpid="helpid:11002" />
- <toolbar:toolbaritem xlink:href=".uno:BasicShapes.frame" toolbar:helpid="helpid:11002" />
+ <toolbar:toolbaritem xlink:href=".uno:BasicShapes.can" toolbar:helpid="helpid:11002" />
+ <toolbar:toolbaritem xlink:href=".uno:BasicShapes.cube" toolbar:helpid="helpid:11002" />
+ <toolbar:toolbaritem xlink:href=".uno:BasicShapes.paper" toolbar:helpid="helpid:11002" />
+ <toolbar:toolbaritem xlink:href=".uno:BasicShapes.frame" toolbar:helpid="helpid:11002" />
</toolbar:toolbar> \ No newline at end of file
diff --git a/sd/uiconfig/sdraw/toolbar/flowchartshapes.xml b/sd/uiconfig/sdraw/toolbar/flowchartshapes.xml
index 696a713424cd..a40eb066cefc 100644
--- a/sd/uiconfig/sdraw/toolbar/flowchartshapes.xml
+++ b/sd/uiconfig/sdraw/toolbar/flowchartshapes.xml
@@ -18,19 +18,19 @@
<toolbar:toolbaritem xlink:href=".uno:FlowChartShapes.flowchart-connector" toolbar:helpid="helpid:11005" />
<toolbar:toolbaritem xlink:href=".uno:FlowChartShapes.flowchart-off-page-connector" toolbar:helpid="helpid:11005" />
<toolbar:toolbaritem xlink:href=".uno:FlowChartShapes.flowchart-card" toolbar:helpid="helpid:11005" />
- <toolbar:toolbaritem xlink:href=".uno:FlowChartShapes.flowchart-punched-tape" toolbar:helpid="helpid:11005" />
- <toolbar:toolbaritem xlink:href=".uno:FlowChartShapes.flowchart-summing-junction" toolbar:helpid="helpid:11005" />
- <toolbar:toolbaritem xlink:href=".uno:FlowChartShapes.flowchart-or" toolbar:helpid="helpid:11005" />
+ <toolbar:toolbaritem xlink:href=".uno:FlowChartShapes.flowchart-punched-tape" toolbar:helpid="helpid:11005" />
+ <toolbar:toolbaritem xlink:href=".uno:FlowChartShapes.flowchart-summing-junction" toolbar:helpid="helpid:11005" />
+ <toolbar:toolbaritem xlink:href=".uno:FlowChartShapes.flowchart-or" toolbar:helpid="helpid:11005" />
<toolbar:toolbarbreak/>
- <toolbar:toolbaritem xlink:href=".uno:FlowChartShapes.flowchart-collate" toolbar:helpid="helpid:11005" />
- <toolbar:toolbaritem xlink:href=".uno:FlowChartShapes.flowchart-sort" toolbar:helpid="helpid:11005" />
- <toolbar:toolbaritem xlink:href=".uno:FlowChartShapes.flowchart-extract" toolbar:helpid="helpid:11005" />
- <toolbar:toolbaritem xlink:href=".uno:FlowChartShapes.flowchart-merge" toolbar:helpid="helpid:11005" />
- <toolbar:toolbaritem xlink:href=".uno:FlowChartShapes.flowchart-stored-data" toolbar:helpid="helpid:11005" />
- <toolbar:toolbaritem xlink:href=".uno:FlowChartShapes.flowchart-delay" toolbar:helpid="helpid:11005" />
+ <toolbar:toolbaritem xlink:href=".uno:FlowChartShapes.flowchart-collate" toolbar:helpid="helpid:11005" />
+ <toolbar:toolbaritem xlink:href=".uno:FlowChartShapes.flowchart-sort" toolbar:helpid="helpid:11005" />
+ <toolbar:toolbaritem xlink:href=".uno:FlowChartShapes.flowchart-extract" toolbar:helpid="helpid:11005" />
+ <toolbar:toolbaritem xlink:href=".uno:FlowChartShapes.flowchart-merge" toolbar:helpid="helpid:11005" />
+ <toolbar:toolbaritem xlink:href=".uno:FlowChartShapes.flowchart-stored-data" toolbar:helpid="helpid:11005" />
+ <toolbar:toolbaritem xlink:href=".uno:FlowChartShapes.flowchart-delay" toolbar:helpid="helpid:11005" />
<toolbar:toolbarbreak/>
- <toolbar:toolbaritem xlink:href=".uno:FlowChartShapes.flowchart-sequential-access" toolbar:helpid="helpid:11005" />
- <toolbar:toolbaritem xlink:href=".uno:FlowChartShapes.flowchart-magnetic-disk" toolbar:helpid="helpid:11005" />
- <toolbar:toolbaritem xlink:href=".uno:FlowChartShapes.flowchart-direct-access-storage" toolbar:helpid="helpid:11005" />
+ <toolbar:toolbaritem xlink:href=".uno:FlowChartShapes.flowchart-sequential-access" toolbar:helpid="helpid:11005" />
+ <toolbar:toolbaritem xlink:href=".uno:FlowChartShapes.flowchart-magnetic-disk" toolbar:helpid="helpid:11005" />
+ <toolbar:toolbaritem xlink:href=".uno:FlowChartShapes.flowchart-direct-access-storage" toolbar:helpid="helpid:11005" />
<toolbar:toolbaritem xlink:href=".uno:FlowChartShapes.flowchart-display" toolbar:helpid="helpid:11005" />
</toolbar:toolbar> \ No newline at end of file
diff --git a/sd/uiconfig/sdraw/toolbar/symbolshapes.xml b/sd/uiconfig/sdraw/toolbar/symbolshapes.xml
index 0e96bcf78134..764997e0fda2 100644
--- a/sd/uiconfig/sdraw/toolbar/symbolshapes.xml
+++ b/sd/uiconfig/sdraw/toolbar/symbolshapes.xml
@@ -18,7 +18,7 @@
<toolbar:toolbaritem xlink:href=".uno:SymbolShapes.brace-pair" toolbar:helpid="helpid:11003" />
<toolbar:toolbaritem xlink:href=".uno:SymbolShapes.left-brace" toolbar:helpid="helpid:11003" />
<toolbar:toolbaritem xlink:href=".uno:SymbolShapes.right-brace" toolbar:helpid="helpid:11003" />
- <toolbar:toolbaritem xlink:href=".uno:SymbolShapes.quad-bevel" toolbar:helpid="helpid:11003" />
- <toolbar:toolbaritem xlink:href=".uno:SymbolShapes.octagon-bevel" toolbar:helpid="helpid:11003" />
- <toolbar:toolbaritem xlink:href=".uno:SymbolShapes.diamond-bevel" toolbar:helpid="helpid:11003" />
+ <toolbar:toolbaritem xlink:href=".uno:SymbolShapes.quad-bevel" toolbar:helpid="helpid:11003" />
+ <toolbar:toolbaritem xlink:href=".uno:SymbolShapes.octagon-bevel" toolbar:helpid="helpid:11003" />
+ <toolbar:toolbaritem xlink:href=".uno:SymbolShapes.diamond-bevel" toolbar:helpid="helpid:11003" />
</toolbar:toolbar> \ No newline at end of file
diff --git a/sd/uiconfig/sdraw/toolbar/toolbar.xml b/sd/uiconfig/sdraw/toolbar/toolbar.xml
index 34ebb18ad4e2..5ac55e4e9f8e 100644
--- a/sd/uiconfig/sdraw/toolbar/toolbar.xml
+++ b/sd/uiconfig/sdraw/toolbar/toolbar.xml
@@ -41,5 +41,5 @@
<toolbar:toolbaritem xlink:href=".uno:InsertToolbox" toolbar:helpid="helpid:27318" toolbar:style="radio dropdown" toolbar:visible="false" />
<toolbar:toolbaritem xlink:href=".uno:Config" toolbar:helpid="helpid:10593" toolbar:style="dropdown" toolbar:visible="false" />
<toolbar:toolbarseparator/>
- <toolbar:toolbaritem xlink:href=".uno:ExtrusionToggle" toolbar:helpid="10960"/>
+ <toolbar:toolbaritem xlink:href=".uno:ExtrusionToggle" toolbar:helpid="10960"/>
</toolbar:toolbar> \ No newline at end of file
diff --git a/sd/uiconfig/simpress/toolbar/arrowshapes.xml b/sd/uiconfig/simpress/toolbar/arrowshapes.xml
index 34f135283f50..ebe56b1c0fbd 100644
--- a/sd/uiconfig/simpress/toolbar/arrowshapes.xml
+++ b/sd/uiconfig/simpress/toolbar/arrowshapes.xml
@@ -18,17 +18,17 @@
<toolbar:toolbaritem xlink:href=".uno:ArrowShapes.notched-right-arrow" toolbar:helpid="helpid:11004" />
<toolbar:toolbaritem xlink:href=".uno:ArrowShapes.pentagon-right" toolbar:helpid="helpid:11004" />
<toolbar:toolbaritem xlink:href=".uno:ArrowShapes.chevron" toolbar:helpid="helpid:11004" />
- <toolbar:toolbaritem xlink:href=".uno:ArrowShapes.right-arrow-callout" toolbar:helpid="helpid:11004" />
- <toolbar:toolbaritem xlink:href=".uno:ArrowShapes.left-arrow-callout" toolbar:helpid="helpid:11004" />
- <toolbar:toolbaritem xlink:href=".uno:ArrowShapes.up-arrow-callout" toolbar:helpid="helpid:11004" />
+ <toolbar:toolbaritem xlink:href=".uno:ArrowShapes.right-arrow-callout" toolbar:helpid="helpid:11004" />
+ <toolbar:toolbaritem xlink:href=".uno:ArrowShapes.left-arrow-callout" toolbar:helpid="helpid:11004" />
+ <toolbar:toolbaritem xlink:href=".uno:ArrowShapes.up-arrow-callout" toolbar:helpid="helpid:11004" />
<toolbar:toolbarbreak/>
- <toolbar:toolbaritem xlink:href=".uno:ArrowShapes.down-arrow-callout" toolbar:helpid="helpid:11004" />
- <toolbar:toolbaritem xlink:href=".uno:ArrowShapes.left-right-arrow-callout" toolbar:helpid="helpid:11004" />
- <toolbar:toolbaritem xlink:href=".uno:ArrowShapes.up-down-arrow-callout" toolbar:helpid="helpid:11004" />
- <toolbar:toolbaritem xlink:href=".uno:ArrowShapes.up-right-arrow-callout" toolbar:helpid="helpid:11004" />
- <toolbar:toolbaritem xlink:href=".uno:ArrowShapes.quad-arrow-callout" toolbar:helpid="helpid:11004" />
- <toolbar:toolbaritem xlink:href=".uno:ArrowShapes.circular-arrow" toolbar:helpid="helpid:11004" />
+ <toolbar:toolbaritem xlink:href=".uno:ArrowShapes.down-arrow-callout" toolbar:helpid="helpid:11004" />
+ <toolbar:toolbaritem xlink:href=".uno:ArrowShapes.left-right-arrow-callout" toolbar:helpid="helpid:11004" />
+ <toolbar:toolbaritem xlink:href=".uno:ArrowShapes.up-down-arrow-callout" toolbar:helpid="helpid:11004" />
+ <toolbar:toolbaritem xlink:href=".uno:ArrowShapes.up-right-arrow-callout" toolbar:helpid="helpid:11004" />
+ <toolbar:toolbaritem xlink:href=".uno:ArrowShapes.quad-arrow-callout" toolbar:helpid="helpid:11004" />
+ <toolbar:toolbaritem xlink:href=".uno:ArrowShapes.circular-arrow" toolbar:helpid="helpid:11004" />
<toolbar:toolbarbreak/>
- <toolbar:toolbaritem xlink:href=".uno:ArrowShapes.split-round-arrow" toolbar:helpid="helpid:11004" />
- <toolbar:toolbaritem xlink:href=".uno:ArrowShapes.s-sharped-arrow" toolbar:helpid="helpid:11004" />
+ <toolbar:toolbaritem xlink:href=".uno:ArrowShapes.split-round-arrow" toolbar:helpid="helpid:11004" />
+ <toolbar:toolbaritem xlink:href=".uno:ArrowShapes.s-sharped-arrow" toolbar:helpid="helpid:11004" />
</toolbar:toolbar> \ No newline at end of file
diff --git a/sd/uiconfig/simpress/toolbar/basicshapes.xml b/sd/uiconfig/simpress/toolbar/basicshapes.xml
index a9e23fe67ed9..967246d9a2c9 100644
--- a/sd/uiconfig/simpress/toolbar/basicshapes.xml
+++ b/sd/uiconfig/simpress/toolbar/basicshapes.xml
@@ -18,12 +18,12 @@
<toolbar:toolbaritem xlink:href=".uno:BasicShapes.pentagon" toolbar:helpid="helpid:11002" />
<toolbar:toolbaritem xlink:href=".uno:BasicShapes.hexagon" toolbar:helpid="helpid:11002" />
<toolbar:toolbaritem xlink:href=".uno:BasicShapes.octagon" toolbar:helpid="helpid:11002" />
- <toolbar:toolbaritem xlink:href=".uno:BasicShapes.cross" toolbar:helpid="helpid:11002" />
- <toolbar:toolbaritem xlink:href=".uno:BasicShapes.ring" toolbar:helpid="helpid:11002" />
- <toolbar:toolbaritem xlink:href=".uno:BasicShapes.block-arc" toolbar:helpid="helpid:11002" />
+ <toolbar:toolbaritem xlink:href=".uno:BasicShapes.cross" toolbar:helpid="helpid:11002" />
+ <toolbar:toolbaritem xlink:href=".uno:BasicShapes.ring" toolbar:helpid="helpid:11002" />
+ <toolbar:toolbaritem xlink:href=".uno:BasicShapes.block-arc" toolbar:helpid="helpid:11002" />
<toolbar:toolbarbreak/>
- <toolbar:toolbaritem xlink:href=".uno:BasicShapes.can" toolbar:helpid="helpid:11002" />
- <toolbar:toolbaritem xlink:href=".uno:BasicShapes.cube" toolbar:helpid="helpid:11002" />
- <toolbar:toolbaritem xlink:href=".uno:BasicShapes.paper" toolbar:helpid="helpid:11002" />
- <toolbar:toolbaritem xlink:href=".uno:BasicShapes.frame" toolbar:helpid="helpid:11002" />
+ <toolbar:toolbaritem xlink:href=".uno:BasicShapes.can" toolbar:helpid="helpid:11002" />
+ <toolbar:toolbaritem xlink:href=".uno:BasicShapes.cube" toolbar:helpid="helpid:11002" />
+ <toolbar:toolbaritem xlink:href=".uno:BasicShapes.paper" toolbar:helpid="helpid:11002" />
+ <toolbar:toolbaritem xlink:href=".uno:BasicShapes.frame" toolbar:helpid="helpid:11002" />
</toolbar:toolbar> \ No newline at end of file
diff --git a/sd/uiconfig/simpress/toolbar/flowchartshapes.xml b/sd/uiconfig/simpress/toolbar/flowchartshapes.xml
index 5eff42015672..2b0f759b2cb5 100644
--- a/sd/uiconfig/simpress/toolbar/flowchartshapes.xml
+++ b/sd/uiconfig/simpress/toolbar/flowchartshapes.xml
@@ -18,19 +18,19 @@
<toolbar:toolbaritem xlink:href=".uno:FlowChartShapes.flowchart-connector" toolbar:helpid="helpid:11005" />
<toolbar:toolbaritem xlink:href=".uno:FlowChartShapes.flowchart-off-page-connector" toolbar:helpid="helpid:11005" />
<toolbar:toolbaritem xlink:href=".uno:FlowChartShapes.flowchart-card" toolbar:helpid="helpid:11005" />
- <toolbar:toolbaritem xlink:href=".uno:FlowChartShapes.flowchart-punched-tape" toolbar:helpid="helpid:11005" />
- <toolbar:toolbaritem xlink:href=".uno:FlowChartShapes.flowchart-summing-junction" toolbar:helpid="helpid:11005" />
- <toolbar:toolbaritem xlink:href=".uno:FlowChartShapes.flowchart-or" toolbar:helpid="helpid:11005" />
+ <toolbar:toolbaritem xlink:href=".uno:FlowChartShapes.flowchart-punched-tape" toolbar:helpid="helpid:11005" />
+ <toolbar:toolbaritem xlink:href=".uno:FlowChartShapes.flowchart-summing-junction" toolbar:helpid="helpid:11005" />
+ <toolbar:toolbaritem xlink:href=".uno:FlowChartShapes.flowchart-or" toolbar:helpid="helpid:11005" />
<toolbar:toolbarbreak/>
- <toolbar:toolbaritem xlink:href=".uno:FlowChartShapes.flowchart-collate" toolbar:helpid="helpid:11005" />
- <toolbar:toolbaritem xlink:href=".uno:FlowChartShapes.flowchart-sort" toolbar:helpid="helpid:11005" />
- <toolbar:toolbaritem xlink:href=".uno:FlowChartShapes.flowchart-extract" toolbar:helpid="helpid:11005" />
- <toolbar:toolbaritem xlink:href=".uno:FlowChartShapes.flowchart-merge" toolbar:helpid="helpid:11005" />
- <toolbar:toolbaritem xlink:href=".uno:FlowChartShapes.flowchart-stored-data" toolbar:helpid="helpid:11005" />
- <toolbar:toolbaritem xlink:href=".uno:FlowChartShapes.flowchart-delay" toolbar:helpid="helpid:11005" />
+ <toolbar:toolbaritem xlink:href=".uno:FlowChartShapes.flowchart-collate" toolbar:helpid="helpid:11005" />
+ <toolbar:toolbaritem xlink:href=".uno:FlowChartShapes.flowchart-sort" toolbar:helpid="helpid:11005" />
+ <toolbar:toolbaritem xlink:href=".uno:FlowChartShapes.flowchart-extract" toolbar:helpid="helpid:11005" />
+ <toolbar:toolbaritem xlink:href=".uno:FlowChartShapes.flowchart-merge" toolbar:helpid="helpid:11005" />
+ <toolbar:toolbaritem xlink:href=".uno:FlowChartShapes.flowchart-stored-data" toolbar:helpid="helpid:11005" />
+ <toolbar:toolbaritem xlink:href=".uno:FlowChartShapes.flowchart-delay" toolbar:helpid="helpid:11005" />
<toolbar:toolbarbreak/>
- <toolbar:toolbaritem xlink:href=".uno:FlowChartShapes.flowchart-sequential-access" toolbar:helpid="helpid:11005" />
- <toolbar:toolbaritem xlink:href=".uno:FlowChartShapes.flowchart-magnetic-disk" toolbar:helpid="helpid:11005" />
- <toolbar:toolbaritem xlink:href=".uno:FlowChartShapes.flowchart-direct-access-storage" toolbar:helpid="helpid:11005" />
- <toolbar:toolbaritem xlink:href=".uno:FlowChartShapes.flowchart-display" toolbar:helpid="helpid:11005" />
+ <toolbar:toolbaritem xlink:href=".uno:FlowChartShapes.flowchart-sequential-access" toolbar:helpid="helpid:11005" />
+ <toolbar:toolbaritem xlink:href=".uno:FlowChartShapes.flowchart-magnetic-disk" toolbar:helpid="helpid:11005" />
+ <toolbar:toolbaritem xlink:href=".uno:FlowChartShapes.flowchart-direct-access-storage" toolbar:helpid="helpid:11005" />
+ <toolbar:toolbaritem xlink:href=".uno:FlowChartShapes.flowchart-display" toolbar:helpid="helpid:11005" />
</toolbar:toolbar> \ No newline at end of file
diff --git a/sd/uiconfig/simpress/toolbar/symbolshapes.xml b/sd/uiconfig/simpress/toolbar/symbolshapes.xml
index 0e96bcf78134..764997e0fda2 100644
--- a/sd/uiconfig/simpress/toolbar/symbolshapes.xml
+++ b/sd/uiconfig/simpress/toolbar/symbolshapes.xml
@@ -18,7 +18,7 @@
<toolbar:toolbaritem xlink:href=".uno:SymbolShapes.brace-pair" toolbar:helpid="helpid:11003" />
<toolbar:toolbaritem xlink:href=".uno:SymbolShapes.left-brace" toolbar:helpid="helpid:11003" />
<toolbar:toolbaritem xlink:href=".uno:SymbolShapes.right-brace" toolbar:helpid="helpid:11003" />
- <toolbar:toolbaritem xlink:href=".uno:SymbolShapes.quad-bevel" toolbar:helpid="helpid:11003" />
- <toolbar:toolbaritem xlink:href=".uno:SymbolShapes.octagon-bevel" toolbar:helpid="helpid:11003" />
- <toolbar:toolbaritem xlink:href=".uno:SymbolShapes.diamond-bevel" toolbar:helpid="helpid:11003" />
+ <toolbar:toolbaritem xlink:href=".uno:SymbolShapes.quad-bevel" toolbar:helpid="helpid:11003" />
+ <toolbar:toolbaritem xlink:href=".uno:SymbolShapes.octagon-bevel" toolbar:helpid="helpid:11003" />
+ <toolbar:toolbaritem xlink:href=".uno:SymbolShapes.diamond-bevel" toolbar:helpid="helpid:11003" />
</toolbar:toolbar> \ No newline at end of file
diff --git a/sd/util/hidother.hrc b/sd/util/hidother.hrc
index 5169a3c2ed07..23a6fbe6d88d 100644
--- a/sd/util/hidother.hrc
+++ b/sd/util/hidother.hrc
@@ -1,7 +1,7 @@
/*************************************************************************
*
* 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
@@ -38,6 +38,6 @@
#define SD_IF_SDGRAPHICDOCSHELL 200 + 10
#define SD_IF_SDGRAPHICVIEWSHELL 200 + 11
#define SD_IF_SDGRAPHICSTDOBJECTBAR 200 + 12
-#define SD_IF_SDDRAWGRAFOBJECTBAR 200 + 13
-#define SD_IF_SDPRESVIEWSHELL 200 + 14
-#define SD_IF_SDDRAWMEDIAOBJECTBAR 200 + 15
+#define SD_IF_SDDRAWGRAFOBJECTBAR 200 + 13
+#define SD_IF_SDPRESVIEWSHELL 200 + 14
+#define SD_IF_SDDRAWMEDIAOBJECTBAR 200 + 15
diff --git a/sd/util/hidother.src b/sd/util/hidother.src
index 1a15c421b419..0624a2755b47 100644
--- a/sd/util/hidother.src
+++ b/sd/util/hidother.src
@@ -1,7 +1,7 @@
/************************************************************************
*
* 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
@@ -44,8 +44,8 @@ hidspecial SD_IF_SDDRAWGLUEPOINTSOBJECTBAR { HelpId = SD_IF_SDDRAWGLUEPOINTSOBJE
hidspecial SD_IF_SDGRAPHICDOCSHELL { HelpId = SD_IF_SDGRAPHICDOCSHELL; };
hidspecial SD_IF_SDGRAPHICVIEWSHELL { HelpId = SD_IF_SDGRAPHICVIEWSHELL; };
hidspecial SD_IF_SDGRAPHICSTDOBJECTBAR { HelpId = SD_IF_SDGRAPHICSTDOBJECTBAR; };
-hidspecial SD_IF_SDDRAWGRAFOBJECTBAR { HelpId = SD_IF_SDDRAWGRAFOBJECTBAR; };
-hidspecial SD_IF_SDPRESVIEWSHELL { HelpId = SD_IF_SDPRESVIEWSHELL; };
+hidspecial SD_IF_SDDRAWGRAFOBJECTBAR { HelpId = SD_IF_SDDRAWGRAFOBJECTBAR; };
+hidspecial SD_IF_SDPRESVIEWSHELL { HelpId = SD_IF_SDPRESVIEWSHELL; };
hidspecial HID_SD_PRINT_OPTIONS { HelpId = HID_SD_PRINT_OPTIONS; };
hidspecial HID_SD_OPTIONS_SNAP { HelpId = HID_SD_OPTIONS_SNAP; };
@@ -70,7 +70,7 @@ hidspecial HID_SD_BTN_SLIDE { HelpId = HID_SD_BTN_SLIDE; };
hidspecial HID_SD_BTN_OUTLINE { HelpId = HID_SD_BTN_OUTLINE; };
hidspecial HID_SD_BTN_NOTES { HelpId = HID_SD_BTN_NOTES; };
hidspecial HID_SD_BTN_HANDOUT { HelpId = HID_SD_BTN_HANDOUT; };
-hidspecial HID_SD_BTN_PRESENTATION { HelpId = HID_SD_BTN_PRESENTATION; };
+hidspecial HID_SD_BTN_PRESENTATION { HelpId = HID_SD_BTN_PRESENTATION; };
hidspecial HID_SD_WIN_DOCUMENT { HelpId = HID_SD_WIN_DOCUMENT; };
@@ -78,59 +78,59 @@ hidspecial HID_SD_OPTIONS_LAYOUT { HelpId = HID_SD_OPTIONS_LAYOUT; };
hidspecial HID_SD_OPTIONS_CONTENTS { HelpId = HID_SD_OPTIONS_CONTENTS; };
hidspecial HID_SD_OPTIONS_MISC { HelpId = HID_SD_OPTIONS_MISC; };
-hidspecial HID_SD_EFFECT_PREVIEW { HelpId = HID_SD_OPTIONS_MISC; };
-hidspecial HID_SD_CTL_NEWFOIL { HelpId = HID_SD_CTL_NEWFOIL; };
-hidspecial HID_SD_NAVIGATOR_TLB { HelpId = HID_SD_NAVIGATOR_TLB; };
-hidspecial HID_SD_NAVIGATOR { HelpId = HID_SD_NAVIGATOR; };
+hidspecial HID_SD_EFFECT_PREVIEW { HelpId = HID_SD_OPTIONS_MISC; };
+hidspecial HID_SD_CTL_NEWFOIL { HelpId = HID_SD_CTL_NEWFOIL; };
+hidspecial HID_SD_NAVIGATOR_TLB { HelpId = HID_SD_NAVIGATOR_TLB; };
+hidspecial HID_SD_NAVIGATOR { HelpId = HID_SD_NAVIGATOR; };
-hidspecial HID_SD_CTL_EFFECTS { HelpId = HID_SD_CTL_EFFECTS; };
-hidspecial HID_SD_CTL_TEXT_EFFECTS { HelpId = HID_SD_CTL_TEXT_EFFECTS; };
+hidspecial HID_SD_CTL_EFFECTS { HelpId = HID_SD_CTL_EFFECTS; };
+hidspecial HID_SD_CTL_TEXT_EFFECTS { HelpId = HID_SD_CTL_TEXT_EFFECTS; };
-hidspecial HID_SD_CTL_SLIDE_CHANGE { HelpId = HID_SD_CTL_SLIDE_CHANGE; };
+hidspecial HID_SD_CTL_SLIDE_CHANGE { HelpId = HID_SD_CTL_SLIDE_CHANGE; };
-hidspecial HID_SD_NAVIGATOR_TBX { HelpId = HID_SD_NAVIGATOR_TBX; };
-hidspecial HID_SD_NAVIGATOR_LB { HelpId = HID_SD_NAVIGATOR_LB; };
+hidspecial HID_SD_NAVIGATOR_TBX { HelpId = HID_SD_NAVIGATOR_TBX; };
+hidspecial HID_SD_NAVIGATOR_LB { HelpId = HID_SD_NAVIGATOR_LB; };
-hidspecial HID_SD_NAVIGATOR_TBI_PEN { HelpId = HID_SD_NAVIGATOR_TBI_PEN; };
-hidspecial HID_SD_NAVIGATOR_TBI_FIRST { HelpId = HID_SD_NAVIGATOR_TBI_FIRST; };
-hidspecial HID_SD_NAVIGATOR_TBI_PREV { HelpId = HID_SD_NAVIGATOR_TBI_PREV; };
-hidspecial HID_SD_NAVIGATOR_TBI_NEXT { HelpId = HID_SD_NAVIGATOR_TBI_NEXT; };
-hidspecial HID_SD_NAVIGATOR_TBI_LAST { HelpId = HID_SD_NAVIGATOR_TBI_LAST; };
+hidspecial HID_SD_NAVIGATOR_TBI_PEN { HelpId = HID_SD_NAVIGATOR_TBI_PEN; };
+hidspecial HID_SD_NAVIGATOR_TBI_FIRST { HelpId = HID_SD_NAVIGATOR_TBI_FIRST; };
+hidspecial HID_SD_NAVIGATOR_TBI_PREV { HelpId = HID_SD_NAVIGATOR_TBI_PREV; };
+hidspecial HID_SD_NAVIGATOR_TBI_NEXT { HelpId = HID_SD_NAVIGATOR_TBI_NEXT; };
+hidspecial HID_SD_NAVIGATOR_TBI_LAST { HelpId = HID_SD_NAVIGATOR_TBI_LAST; };
hidspecial HID_SD_NAVIGATOR_TBI_DRAGTYPE{ HelpId = HID_SD_NAVIGATOR_TBI_DRAGTYPE; };
-hidspecial HID_SD_HTMLEXPORT_PAGE1 { HelpId = HID_SD_HTMLEXPORT_PAGE1; };
-hidspecial HID_SD_HTMLEXPORT_PAGE2 { HelpId = HID_SD_HTMLEXPORT_PAGE2; };
-hidspecial HID_SD_HTMLEXPORT_PAGE3 { HelpId = HID_SD_HTMLEXPORT_PAGE3; };
-hidspecial HID_SD_HTMLEXPORT_PAGE4 { HelpId = HID_SD_HTMLEXPORT_PAGE4; };
-hidspecial HID_SD_HTMLEXPORT_PAGE5 { HelpId = HID_SD_HTMLEXPORT_PAGE5; };
-hidspecial HID_SD_HTMLEXPORT_PAGE6 { HelpId = HID_SD_HTMLEXPORT_PAGE6; };
-hidspecial HID_SD_HTMLEXPORT_DLG_DNAME { HelpId = HID_SD_HTMLEXPORT_DLG_DNAME; };
+hidspecial HID_SD_HTMLEXPORT_PAGE1 { HelpId = HID_SD_HTMLEXPORT_PAGE1; };
+hidspecial HID_SD_HTMLEXPORT_PAGE2 { HelpId = HID_SD_HTMLEXPORT_PAGE2; };
+hidspecial HID_SD_HTMLEXPORT_PAGE3 { HelpId = HID_SD_HTMLEXPORT_PAGE3; };
+hidspecial HID_SD_HTMLEXPORT_PAGE4 { HelpId = HID_SD_HTMLEXPORT_PAGE4; };
+hidspecial HID_SD_HTMLEXPORT_PAGE5 { HelpId = HID_SD_HTMLEXPORT_PAGE5; };
+hidspecial HID_SD_HTMLEXPORT_PAGE6 { HelpId = HID_SD_HTMLEXPORT_PAGE6; };
+hidspecial HID_SD_HTMLEXPORT_DLG_DNAME { HelpId = HID_SD_HTMLEXPORT_DLG_DNAME; };
-hidspecial HID_SD_CHGFOIL_LAYOUT { HelpId = HID_SD_CHGFOIL_LAYOUT; };
-hidspecial HID_SD_CHGFOIL_BACKGROUND { HelpId = HID_SD_CHGFOIL_BACKGROUND; };
-hidspecial HID_SD_CHGFOIL_OBJECTS { HelpId = HID_SD_CHGFOIL_OBJECTS; };
-hidspecial HID_SD_CHGFOIL_NAME { HelpId = HID_SD_CHGFOIL_NAME; };
+hidspecial HID_SD_CHGFOIL_LAYOUT { HelpId = HID_SD_CHGFOIL_LAYOUT; };
+hidspecial HID_SD_CHGFOIL_BACKGROUND { HelpId = HID_SD_CHGFOIL_BACKGROUND; };
+hidspecial HID_SD_CHGFOIL_OBJECTS { HelpId = HID_SD_CHGFOIL_OBJECTS; };
+hidspecial HID_SD_CHGFOIL_NAME { HelpId = HID_SD_CHGFOIL_NAME; };
-hidspecial HID_FM_CTL_SELECTION { HelpId = HID_FM_CTL_SELECTION; };
+hidspecial HID_FM_CTL_SELECTION { HelpId = HID_FM_CTL_SELECTION; };
-hidspecial HID_SD_WIN_PRESENTATION { HelpId = HID_SD_WIN_PRESENTATION; };
+hidspecial HID_SD_WIN_PRESENTATION { HelpId = HID_SD_WIN_PRESENTATION; };
-hidspecial HID_SD_TABBAR_PAGES { HelpId = HID_SD_TABBAR_PAGES; };
-hidspecial HID_SD_TABBAR_LAYERS { HelpId = HID_SD_TABBAR_LAYERS; };
+hidspecial HID_SD_TABBAR_PAGES { HelpId = HID_SD_TABBAR_PAGES; };
+hidspecial HID_SD_TABBAR_LAYERS { HelpId = HID_SD_TABBAR_LAYERS; };
hidspecial HID_SD_UNDODELETEWARNING_DLG { HelpId = HID_SD_UNDODELETEWARNING_DLG; };
hidspecial HID_SD_UNDODELETEWARNING_CBX { HelpId = HID_SD_UNDODELETEWARNING_CBX; };
-hidspecial HID_SD_PAGEOBJSTLB { HelpId = HID_SD_PAGEOBJSTLB; };
+hidspecial HID_SD_PAGEOBJSTLB { HelpId = HID_SD_PAGEOBJSTLB; };
-hidspecial HID_SD_NAMEDIALOG_OBJECT { HelpId = HID_SD_NAMEDIALOG_OBJECT; };
-hidspecial HID_SD_NAMEDIALOG_PAGE { HelpId = HID_SD_NAMEDIALOG_PAGE; };
-hidspecial HID_SD_NAMEDIALOG_LINEEND { HelpId = HID_SD_NAMEDIALOG_LINEEND; };
+hidspecial HID_SD_NAMEDIALOG_OBJECT { HelpId = HID_SD_NAMEDIALOG_OBJECT; };
+hidspecial HID_SD_NAMEDIALOG_PAGE { HelpId = HID_SD_NAMEDIALOG_PAGE; };
+hidspecial HID_SD_NAMEDIALOG_LINEEND { HelpId = HID_SD_NAMEDIALOG_LINEEND; };
hidspecial HID_SD_TABPAGE_HEADERFOOTER_SLIDE { HelpId = HID_SD_TABPAGE_HEADERFOOTER_SLIDE; };
hidspecial HID_SD_TABPAGE_HEADERFOOTER_NOTESHANDOUT { HelpId = HID_SD_TABPAGE_HEADERFOOTER_NOTESHANDOUT; };
-hidspecial SD_IF_SDDRAWMEDIAOBJECTBAR { HelpId = SD_IF_SDDRAWMEDIAOBJECTBAR; };
+hidspecial SD_IF_SDDRAWMEDIAOBJECTBAR { HelpId = SD_IF_SDDRAWMEDIAOBJECTBAR; };
hidspecial HID_SD_TASK_PANE { HelpId = HID_SD_TASK_PANE; };
hidspecial HID_SD_SLIDE_DESIGNS { HelpId = HID_SD_SLIDE_DESIGNS; };
@@ -140,7 +140,7 @@ hidspecial HID_SD_ALL_MASTERS { HelpId = HID_SD_ALL_MASTERS; };
hidspecial HID_SD_SLIDE_LAYOUTS { HelpId = HID_SD_SLIDE_LAYOUTS; };
hidspecial HID_SD_CUSTOM_ANIMATIONS { HelpId = HID_SD_CUSTOM_ANIMATIONS; };
hidspecial HID_SD_SLIDE_TRANSITIONS { HelpId = HID_SD_SLIDE_TRANSITIONS; };
-hidspecial HID_SD_ANNOTATIONS { HelpId = HID_SD_ANNOTATIONS; };
+hidspecial HID_SD_ANNOTATIONS { HelpId = HID_SD_ANNOTATIONS; };
hidspecial HID_SD_CUSTOMANIMATIONPANE_PB_ADD_EFFECT { HelpId = HID_SD_CUSTOMANIMATIONPANE_PB_ADD_EFFECT; };
hidspecial HID_SD_CUSTOMANIMATIONPANE_PB_CHANGE_EFFECT { HelpId = HID_SD_CUSTOMANIMATIONPANE_PB_CHANGE_EFFECT; };
@@ -177,30 +177,30 @@ hidspecial HID_SD_SLIDETRANSITIONPANE_CB_AUTO_PREVIEW { HelpId = HID_SD_SLI
hidspecial HID_SD_TASK_PANE_VIEW_MENU { HelpId = HID_SD_TASK_PANE_VIEW_MENU; };
hidspecial HID_SD_TASK_PANE_PREVIEW_CURRENT { HelpId = HID_SD_TASK_PANE_PREVIEW_CURRENT; };
hidspecial HID_SD_TASK_PANE_PREVIEW_RECENT { HelpId = HID_SD_TASK_PANE_PREVIEW_RECENT; };
-hidspecial HID_SD_TASK_PANE_PREVIEW_ALL { HelpId = HID_SD_TASK_PANE_PREVIEW_ALL; };
+hidspecial HID_SD_TASK_PANE_PREVIEW_ALL { HelpId = HID_SD_TASK_PANE_PREVIEW_ALL; };
hidspecial HID_SD_TASK_PANE_PREVIEW_LAYOUTS { HelpId = HID_SD_TASK_PANE_PREVIEW_LAYOUTS; };
-hidspecial HID_SD_CUSTOMANIMATIONDIALOG_ENTRANCE { HelpId = HID_SD_CUSTOMANIMATIONDIALOG_ENTRANCE; };
-hidspecial HID_SD_CUSTOMANIMATIONDIALOG_EMPHASIS { HelpId = HID_SD_CUSTOMANIMATIONDIALOG_EMPHASIS; };
-hidspecial HID_SD_CUSTOMANIMATIONDIALOG_EXIT { HelpId = HID_SD_CUSTOMANIMATIONDIALOG_EXIT; };
-hidspecial HID_SD_CUSTOMANIMATIONDIALOG_MOTIONPATH { HelpId = HID_SD_CUSTOMANIMATIONDIALOG_MOTIONPATH; };
+hidspecial HID_SD_CUSTOMANIMATIONDIALOG_ENTRANCE { HelpId = HID_SD_CUSTOMANIMATIONDIALOG_ENTRANCE; };
+hidspecial HID_SD_CUSTOMANIMATIONDIALOG_EMPHASIS { HelpId = HID_SD_CUSTOMANIMATIONDIALOG_EMPHASIS; };
+hidspecial HID_SD_CUSTOMANIMATIONDIALOG_EXIT { HelpId = HID_SD_CUSTOMANIMATIONDIALOG_EXIT; };
+hidspecial HID_SD_CUSTOMANIMATIONDIALOG_MOTIONPATH { HelpId = HID_SD_CUSTOMANIMATIONDIALOG_MOTIONPATH; };
-hidspecial HID_SD_CUSTOMANIMATIONPANE_PRESETPROPERTYBOX { HelpId = HID_SD_CUSTOMANIMATIONPANE_PRESETPROPERTYBOX; };
-hidspecial HID_SD_CUSTOMANIMATIONPANE_COLORPROPERTYBOX { HelpId = HID_SD_CUSTOMANIMATIONPANE_COLORPROPERTYBOX; };
-hidspecial HID_SD_CUSTOMANIMATIONPANE_FONTPROPERTYBOX { HelpId = HID_SD_CUSTOMANIMATIONPANE_FONTPROPERTYBOX; };
-hidspecial HID_SD_CUSTOMANIMATIONPANE_CHARHEIGHTPROPERTYBOX { HelpId = HID_SD_CUSTOMANIMATIONPANE_CHARHEIGHTPROPERTYBOX; };
-hidspecial HID_SD_CUSTOMANIMATIONPANE_ROTATIONPROPERTYBOX { HelpId = HID_SD_CUSTOMANIMATIONPANE_ROTATIONPROPERTYBOX; };
-hidspecial HID_SD_CUSTOMANIMATIONPANE_TRANSPARENCYPROPERTYBOX { HelpId = HID_SD_CUSTOMANIMATIONPANE_TRANSPARENCYPROPERTYBOX; };
-hidspecial HID_SD_CUSTOMANIMATIONPANE_SCALEPROPERTYBOX { HelpId = HID_SD_CUSTOMANIMATIONPANE_SCALEPROPERTYBOX; };
-hidspecial HID_SD_CUSTOMANIMATIONPANE_FONTSTYLEPROPERTYBOX { HelpId = HID_SD_CUSTOMANIMATIONPANE_FONTSTYLEPROPERTYBOX; };
+hidspecial HID_SD_CUSTOMANIMATIONPANE_PRESETPROPERTYBOX { HelpId = HID_SD_CUSTOMANIMATIONPANE_PRESETPROPERTYBOX; };
+hidspecial HID_SD_CUSTOMANIMATIONPANE_COLORPROPERTYBOX { HelpId = HID_SD_CUSTOMANIMATIONPANE_COLORPROPERTYBOX; };
+hidspecial HID_SD_CUSTOMANIMATIONPANE_FONTPROPERTYBOX { HelpId = HID_SD_CUSTOMANIMATIONPANE_FONTPROPERTYBOX; };
+hidspecial HID_SD_CUSTOMANIMATIONPANE_CHARHEIGHTPROPERTYBOX { HelpId = HID_SD_CUSTOMANIMATIONPANE_CHARHEIGHTPROPERTYBOX; };
+hidspecial HID_SD_CUSTOMANIMATIONPANE_ROTATIONPROPERTYBOX { HelpId = HID_SD_CUSTOMANIMATIONPANE_ROTATIONPROPERTYBOX; };
+hidspecial HID_SD_CUSTOMANIMATIONPANE_TRANSPARENCYPROPERTYBOX { HelpId = HID_SD_CUSTOMANIMATIONPANE_TRANSPARENCYPROPERTYBOX; };
+hidspecial HID_SD_CUSTOMANIMATIONPANE_SCALEPROPERTYBOX { HelpId = HID_SD_CUSTOMANIMATIONPANE_SCALEPROPERTYBOX; };
+hidspecial HID_SD_CUSTOMANIMATIONPANE_FONTSTYLEPROPERTYBOX { HelpId = HID_SD_CUSTOMANIMATIONPANE_FONTSTYLEPROPERTYBOX; };
hidspecial SID_SAVEGRAPHIC { HelpId = SID_SAVEGRAPHIC; };
-hidspecial HID_SD_SLIDESHOW_DISPLAY { HelpId = HID_SD_SLIDESHOW_DISPLAY; };
+hidspecial HID_SD_SLIDESHOW_DISPLAY { HelpId = HID_SD_SLIDESHOW_DISPLAY; };
-hidspecial HID_SD_RULER_HORIZONTAL { HelpId = HID_SD_RULER_HORIZONTAL; };
-hidspecial HID_SD_RULER_VERTICAL { HelpId = HID_SD_RULER_VERTICAL; };
+hidspecial HID_SD_RULER_HORIZONTAL { HelpId = HID_SD_RULER_HORIZONTAL; };
+hidspecial HID_SD_RULER_VERTICAL { HelpId = HID_SD_RULER_VERTICAL; };
-hidspecial HID_SD_TABLE_DESIGN { HelpId = HID_SD_TABLE_DESIGN; };
-hidspecial HID_SD_ANNOTATIONS { HelpId = HID_SD_ANNOTATIONS; };
+hidspecial HID_SD_TABLE_DESIGN { HelpId = HID_SD_TABLE_DESIGN; };
+hidspecial HID_SD_ANNOTATIONS { HelpId = HID_SD_ANNOTATIONS; };
diff --git a/sd/workben/custompanel/ctp_panel.cxx b/sd/workben/custompanel/ctp_panel.cxx
index 30a07d8251f4..3784327482b1 100644
--- a/sd/workben/custompanel/ctp_panel.cxx
+++ b/sd/workben/custompanel/ctp_panel.cxx
@@ -1,7 +1,7 @@
/* -*- 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
@@ -189,7 +189,7 @@ namespace sd { namespace colortoolpanel
throw DisposedException( ::rtl::OUString(), *this );
return m_xResourceId;
}
-
+
//------------------------------------------------------------------------------------------------------------------
::sal_Bool SAL_CALL SingleColorPanel::isAnchorOnly( ) throw (RuntimeException)
{
diff --git a/sd/workben/custompanel/ctp_panel.hxx b/sd/workben/custompanel/ctp_panel.hxx
index 917b175f4106..efff2be78a56 100644
--- a/sd/workben/custompanel/ctp_panel.hxx
+++ b/sd/workben/custompanel/ctp_panel.hxx
@@ -1,7 +1,7 @@
/* -*- 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
diff --git a/sd/xml/AccessibleDrawDocumentView.xml b/sd/xml/AccessibleDrawDocumentView.xml
index c0ce59a8f122..f0604abf2ac8 100644
--- a/sd/xml/AccessibleDrawDocumentView.xml
+++ b/sd/xml/AccessibleDrawDocumentView.xml
@@ -11,7 +11,7 @@
document views and Impress document views with the view modes edit view,
notes view, or handout view. For more detailed information see the
documentation of the supported services and the link to the general
-accessibility documentation.</description>
+accessibility documentation.</description>
<reference-docu xlink-href="http://ui.openoffice.org/accessibility"
title="Link to a general description of UNO accessibility"/>
diff --git a/sd/xml/DrawingView.xml b/sd/xml/DrawingView.xml
index 15399fcab257..26285b0ee228 100644
--- a/sd/xml/DrawingView.xml
+++ b/sd/xml/DrawingView.xml
@@ -6,7 +6,7 @@
<author>Christian Lippka</author>
<name>DrawController_DrawView</name>
<description>
-specifies a document which consists of multiple pages
+specifies a document which consists of multiple pages
with drawings.
</description>
<loader-name>com.sun.star.loader.SharedLibrary</loader-name>
diff --git a/sd/xml/effects.xml b/sd/xml/effects.xml
index be341ef5e229..c67e251b0538 100644
--- a/sd/xml/effects.xml
+++ b/sd/xml/effects.xml
@@ -660,7 +660,7 @@
<anim:animate smil:dur="0.5" smil:fill="hold" smil:attributeName="height" smil:values="0;height" smil:keyTimes="0;1"/>
</anim:par>
</anim:par>
- </anim:par>
+ </anim:par>
<anim:par smil:begin="indefinite" smil:fill="hold">
<anim:par smil:begin="0" smil:fill="hold">
<anim:par pres:preset-property="Direction" smil:begin="0" smil:fill="hold" pres:node-type="on-click" pres:preset-class="entrance" pres:preset-id="ooo-entrance-stretchy" pres:preset-sub-type="from-bottom">
@@ -748,7 +748,7 @@
<anim:animate smil:dur="0.5" smil:fill="hold" smil:attributeName="height" smil:values="0;height" smil:keyTimes="0;1"/>
</anim:par>
</anim:par>
- </anim:par>
+ </anim:par>
<anim:par smil:begin="indefinite" smil:fill="hold">
<anim:par smil:begin="0" smil:fill="hold">
<anim:iterate pres:text-only="true" smil:begin="0" smil:fill="hold" pres:node-type="on-click" pres:preset-class="entrance" pres:preset-id="ooo-entrance-unfold" anim:iterate-type="by-letter" anim:iterate-interval="0.1s">
diff --git a/sd/xml/transitions.xml b/sd/xml/transitions.xml
index 556eb6f504e8..92bdb52598bb 100644
--- a/sd/xml/transitions.xml
+++ b/sd/xml/transitions.xml
@@ -124,20 +124,20 @@
<anim:transitionFilter smil:type="slideWipe" smil:subtype="fromLeft"/>
</anim:par>
<anim:par pres:preset-id="cover-up">
- <anim:transitionFilter smil:type="slideWipe" smil:subtype="fromBottom"/>
+ <anim:transitionFilter smil:type="slideWipe" smil:subtype="fromBottom"/>
</anim:par>
<anim:par pres:preset-id="cover-left-down">
- <anim:transitionFilter smil:type="slideWipe" smil:subtype="fromTopRight"/>
+ <anim:transitionFilter smil:type="slideWipe" smil:subtype="fromTopRight"/>
</anim:par>
<anim:par pres:preset-id="cover-left-up">
- <anim:transitionFilter smil:type="slideWipe" smil:subtype="fromBottomRight"/>
+ <anim:transitionFilter smil:type="slideWipe" smil:subtype="fromBottomRight"/>
</anim:par>
<anim:par pres:preset-id="cover-right-down">
- <anim:transitionFilter smil:type="slideWipe" smil:subtype="fromTopLeft"/>
+ <anim:transitionFilter smil:type="slideWipe" smil:subtype="fromTopLeft"/>
</anim:par>
<anim:par pres:preset-id="cover-right-up">
- <anim:transitionFilter smil:type="slideWipe" smil:subtype="fromBottomLeft"/>
- </anim:par>
+ <anim:transitionFilter smil:type="slideWipe" smil:subtype="fromBottomLeft"/>
+ </anim:par>
<anim:par pres:preset-id="dissolve">
<anim:transitionFilter smil:type="dissolve" smil:subtype="default"/>
</anim:par>