summaryrefslogtreecommitdiff
path: root/sd/source
diff options
context:
space:
mode:
Diffstat (limited to 'sd/source')
-rw-r--r--sd/source/core/CustomAnimationCloner.cxx2
-rwxr-xr-xsd/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
-rwxr-xr-xsd/source/core/cusshow.cxx2
-rw-r--r--sd/source/core/drawdoc.cxx24
-rwxr-xr-xsd/source/core/drawdoc2.cxx72
-rw-r--r--sd/source/core/drawdoc3.cxx96
-rwxr-xr-xsd/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
-rwxr-xr-xsd/source/core/sdpage.cxx176
-rw-r--r--sd/source/core/sdpage2.cxx54
-rw-r--r--sd/source/core/sdpage_animations.cxx2
-rwxr-xr-xsd/source/core/shapelist.cxx2
-rw-r--r--sd/source/core/stlfamily.cxx22
-rwxr-xr-xsd/source/core/stlpool.cxx116
-rw-r--r--sd/source/core/stlsheet.cxx120
-rwxr-xr-xsd/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/eppt.cxx114
-rwxr-xr-xsd/source/filter/eppt/eppt.hxx692
-rw-r--r--sd/source/filter/eppt/epptdef.hxx110
-rwxr-xr-xsd/source/filter/eppt/epptso.cxx116
-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.cxx96
-rw-r--r--sd/source/filter/eppt/pptexanimations.hxx16
-rw-r--r--sd/source/filter/eppt/pptexsoundcollection.cxx6
-rw-r--r--sd/source/filter/eppt/pptexsoundcollection.hxx30
-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
-rwxr-xr-xsd/source/filter/html/htmlattr.cxx2
-rwxr-xr-xsd/source/filter/html/htmlattr.hxx8
-rwxr-xr-xsd/source/filter/html/htmlex.cxx82
-rwxr-xr-xsd/source/filter/html/htmlex.hxx108
-rwxr-xr-xsd/source/filter/html/pubdlg.cxx164
-rw-r--r--sd/source/filter/html/pubdlg.src4
-rw-r--r--sd/source/filter/html/sdhtmlfilter.cxx2
-rwxr-xr-xsd/source/filter/ppt/ppt97animations.cxx68
-rwxr-xr-xsd/source/filter/ppt/ppt97animations.hxx32
-rw-r--r--sd/source/filter/ppt/pptanimations.hxx670
-rwxr-xr-xsd/source/filter/ppt/pptatom.cpp6
-rwxr-xr-xsd/source/filter/ppt/pptatom.hxx2
-rwxr-xr-xsd/source/filter/ppt/pptin.cxx350
-rw-r--r--sd/source/filter/ppt/pptin.hxx38
-rwxr-xr-xsd/source/filter/ppt/pptinanimations.cxx136
-rwxr-xr-xsd/source/filter/ppt/pptinanimations.hxx14
-rwxr-xr-x[-rw-r--r--]sd/source/filter/ppt/propread.cxx236
-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.cxx20
-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
-rwxr-xr-xsd/source/ui/accessibility/AccessibleSlideSorterObject.cxx50
-rwxr-xr-xsd/source/ui/accessibility/AccessibleSlideSorterView.cxx82
-rwxr-xr-xsd/source/ui/accessibility/AccessibleTreeNode.cxx60
-rwxr-xr-xsd/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
-rwxr-xr-xsd/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
-rwxr-xr-xsd/source/ui/annotations/annotationmanager.cxx264
-rwxr-xr-xsd/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
-rwxr-xr-xsd/source/ui/annotations/annotationwindow.cxx46
-rwxr-xr-xsd/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
-rwxr-xr-xsd/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
-rwxr-xr-xsd/source/ui/app/sddll1.cxx2
-rwxr-xr-xsd/source/ui/app/sddll2.cxx8
-rwxr-xr-xsd/source/ui/app/sdmod.cxx12
-rwxr-xr-xsd/source/ui/app/sdmod1.cxx8
-rwxr-xr-xsd/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
-rwxr-xr-xsd/source/ui/dlg/LayerDialogContent.cxx2
-rw-r--r--sd/source/ui/dlg/LayerTabBar.cxx26
-rw-r--r--sd/source/ui/dlg/NavigatorChildWindow.cxx4
-rwxr-xr-xsd/source/ui/dlg/PaneChildWindows.cxx26
-rwxr-xr-xsd/source/ui/dlg/PaneDockingWindow.cxx2
-rwxr-xr-xsd/source/ui/dlg/PaneDockingWindow.src8
-rwxr-xr-xsd/source/ui/dlg/PaneShells.cxx2
-rwxr-xr-xsd/source/ui/dlg/SpellDialogChildWindow.cxx10
-rw-r--r--sd/source/ui/dlg/TemplateScanner.cxx32
-rwxr-xr-xsd/source/ui/dlg/animobjs.cxx104
-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
-rwxr-xr-xsd/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
-rwxr-xr-xsd/source/ui/dlg/dlgass.cxx198
-rw-r--r--sd/source/ui/dlg/dlgass.src4
-rwxr-xr-xsd/source/ui/dlg/dlgassim.cxx8
-rwxr-xr-xsd/source/ui/dlg/dlgassim.hxx8
-rw-r--r--sd/source/ui/dlg/dlgchar.cxx6
-rwxr-xr-xsd/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
-rwxr-xr-xsd/source/ui/dlg/dlgsnap.cxx18
-rw-r--r--sd/source/ui/dlg/dlgsnap.src2
-rwxr-xr-xsd/source/ui/dlg/docprev.cxx18
-rwxr-xr-xsd/source/ui/dlg/filedlg.cxx54
-rw-r--r--sd/source/ui/dlg/gluectrl.cxx20
-rwxr-xr-xsd/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
-rwxr-xr-xsd/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
-rwxr-xr-xsd/source/ui/dlg/prntopts.cxx12
-rw-r--r--sd/source/ui/dlg/prntopts.src2
-rw-r--r--sd/source/ui/dlg/sdabstdlg.cxx2
-rwxr-xr-xsd/source/ui/dlg/sddlgfact.cxx38
-rwxr-xr-xsd/source/ui/dlg/sddlgfact.hxx170
-rw-r--r--sd/source/ui/dlg/sdpreslt.cxx22
-rw-r--r--sd/source/ui/dlg/sdpreslt.src2
-rwxr-xr-xsd/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
-rwxr-xr-xsd/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
-rwxr-xr-xsd/source/ui/docshell/docshel4.cxx36
-rwxr-xr-xsd/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
-rwxr-xr-xsd/source/ui/framework/configuration/ConfigurationClassifier.cxx12
-rw-r--r--sd/source/ui/framework/configuration/ConfigurationClassifier.hxx2
-rwxr-xr-xsd/source/ui/framework/configuration/ConfigurationController.cxx24
-rwxr-xr-xsd/source/ui/framework/configuration/ConfigurationControllerBroadcaster.cxx8
-rw-r--r--sd/source/ui/framework/configuration/ConfigurationControllerBroadcaster.hxx2
-rwxr-xr-xsd/source/ui/framework/configuration/ConfigurationControllerResourceManager.cxx14
-rw-r--r--sd/source/ui/framework/configuration/ConfigurationControllerResourceManager.hxx10
-rwxr-xr-xsd/source/ui/framework/configuration/ConfigurationTracer.cxx2
-rwxr-xr-xsd/source/ui/framework/configuration/ConfigurationTracer.hxx2
-rwxr-xr-xsd/source/ui/framework/configuration/ConfigurationUpdater.cxx10
-rwxr-xr-xsd/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
-rwxr-xr-xsd/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
-rwxr-xr-xsd/source/ui/framework/factories/BasicPaneFactory.cxx12
-rwxr-xr-xsd/source/ui/framework/factories/BasicPaneFactory.hxx14
-rwxr-xr-xsd/source/ui/framework/factories/BasicToolBarFactory.cxx8
-rwxr-xr-xsd/source/ui/framework/factories/BasicToolBarFactory.hxx16
-rwxr-xr-xsd/source/ui/framework/factories/BasicViewFactory.cxx26
-rwxr-xr-xsd/source/ui/framework/factories/BasicViewFactory.hxx14
-rwxr-xr-xsd/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
-rwxr-xr-xsd/source/ui/framework/factories/PresentationFactory.cxx14
-rwxr-xr-xsd/source/ui/framework/factories/TaskPanelFactory.cxx14
-rwxr-xr-xsd/source/ui/framework/factories/TaskPanelFactory.hxx10
-rwxr-xr-xsd/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
-rwxr-xr-xsd/source/ui/framework/module/ImpressModule.cxx2
-rwxr-xr-xsd/source/ui/framework/module/ModuleController.cxx6
-rwxr-xr-xsd/source/ui/framework/module/PresentationModule.cxx2
-rwxr-xr-xsd/source/ui/framework/module/ReadOnlyModeObserver.cxx8
-rwxr-xr-xsd/source/ui/framework/module/ReadOnlyModeObserver.hxx10
-rwxr-xr-xsd/source/ui/framework/module/ResourceManager.cxx2
-rwxr-xr-xsd/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
-rwxr-xr-xsd/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
-rwxr-xr-xsd/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
-rwxr-xr-xsd/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
-rwxr-xr-xsd/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
-rwxr-xr-xsd/source/ui/func/fuoutl.cxx12
-rwxr-xr-xsd/source/ui/func/fupage.cxx20
-rw-r--r--sd/source/ui/func/fuparagr.cxx2
-rwxr-xr-xsd/source/ui/func/fupoor.cxx90
-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
-rwxr-xr-xsd/source/ui/func/fusearch.cxx2
-rw-r--r--sd/source/ui/func/fusel.cxx2
-rw-r--r--sd/source/ui/func/fusldlg.cxx28
-rwxr-xr-xsd/source/ui/func/fusnapln.cxx18
-rw-r--r--sd/source/ui/func/fusumry.cxx8
-rw-r--r--sd/source/ui/func/futempl.cxx10
-rwxr-xr-xsd/source/ui/func/futext.cxx24
-rw-r--r--sd/source/ui/func/futhes.cxx2
-rwxr-xr-xsd/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
-rwxr-xr-xsd/source/ui/func/sdundogr.cxx6
-rwxr-xr-xsd/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
-rwxr-xr-xsd/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
-rwxr-xr-xsd/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
-rwxr-xr-xsd/source/ui/inc/DrawController.hxx24
-rwxr-xr-xsd/source/ui/inc/DrawDocShell.hxx68
-rwxr-xr-xsd/source/ui/inc/DrawSubController.hxx2
-rwxr-xr-xsd/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
-rwxr-xr-xsd/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
-rwxr-xr-xsd/source/ui/inc/LayerDialogContent.hxx8
-rw-r--r--sd/source/ui/inc/LayerTabBar.hxx34
-rwxr-xr-xsd/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
-rwxr-xr-xsd/source/ui/inc/OutlineView.hxx82
-rwxr-xr-xsd/source/ui/inc/OutlineViewShell.hxx14
-rw-r--r--sd/source/ui/inc/OutlineViewShellBase.hxx2
-rw-r--r--sd/source/ui/inc/OutlinerIteratorImpl.hxx28
-rwxr-xr-xsd/source/ui/inc/PaneChildWindows.hxx10
-rwxr-xr-xsd/source/ui/inc/PaneDockingWindow.hrc2
-rwxr-xr-xsd/source/ui/inc/PaneDockingWindow.hxx2
-rwxr-xr-xsd/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
-rwxr-xr-xsd/source/ui/inc/SdUnoDrawView.hxx24
-rwxr-xr-xsd/source/ui/inc/SdUnoOutlineView.hxx22
-rwxr-xr-xsd/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
-rwxr-xr-xsd/source/ui/inc/SlideSorterViewShell.hxx22
-rw-r--r--sd/source/ui/inc/SlideSorterViewShellBase.hxx2
-rwxr-xr-xsd/source/ui/inc/SlideView.hxx48
-rw-r--r--sd/source/ui/inc/SlideViewShell.hxx26
-rwxr-xr-xsd/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
-rwxr-xr-xsd/source/ui/inc/ToolBarManager.hxx4
-rw-r--r--sd/source/ui/inc/UpdateLockManager.hxx2
-rwxr-xr-xsd/source/ui/inc/View.hxx94
-rw-r--r--sd/source/ui/inc/ViewClipboard.hxx2
-rwxr-xr-xsd/source/ui/inc/ViewShell.hxx92
-rwxr-xr-xsd/source/ui/inc/ViewShellBase.hxx6
-rw-r--r--sd/source/ui/inc/ViewShellHint.hxx2
-rwxr-xr-xsd/source/ui/inc/ViewShellImplementation.hxx6
-rwxr-xr-xsd/source/ui/inc/ViewShellManager.hxx12
-rw-r--r--sd/source/ui/inc/ViewTabBar.hxx16
-rw-r--r--sd/source/ui/inc/ViewTabControl.hxx60
-rwxr-xr-xsd/source/ui/inc/Window.hxx54
-rw-r--r--sd/source/ui/inc/WindowUpdater.hxx2
-rw-r--r--sd/source/ui/inc/animobjs.hrc2
-rwxr-xr-xsd/source/ui/inc/animobjs.hxx104
-rwxr-xr-xsd/source/ui/inc/annotationmanager.hxx6
-rw-r--r--sd/source/ui/inc/assclass.hxx2
-rwxr-xr-xsd/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
-rwxr-xr-xsd/source/ui/inc/dlgass.hxx2
-rwxr-xr-xsd/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
-rwxr-xr-xsd/source/ui/inc/docprev.hxx24
-rw-r--r--sd/source/ui/inc/drawview.hxx16
-rw-r--r--sd/source/ui/inc/enumdlg.hrc2
-rwxr-xr-xsd/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
-rwxr-xr-xsd/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
-rwxr-xr-xsd/source/ui/inc/framework/PresentationFactory.hxx10
-rw-r--r--sd/source/ui/inc/framework/PresentationModule.hxx2
-rwxr-xr-xsd/source/ui/inc/framework/ResourceId.hxx6
-rwxr-xr-xsd/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
-rwxr-xr-xsd/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
-rwxr-xr-xsd/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
-rwxr-xr-xsd/source/ui/inc/fuoutl.hxx10
-rwxr-xr-xsd/source/ui/inc/fupage.hxx32
-rw-r--r--sd/source/ui/inc/fuparagr.hxx10
-rwxr-xr-xsd/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
-rwxr-xr-xsd/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
-rwxr-xr-xsd/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
-rwxr-xr-xsd/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
-rwxr-xr-xsd/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.hrc488
-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
-rwxr-xr-xsd/source/ui/inc/sdtreelb.hxx116
-rwxr-xr-xsd/source/ui/inc/sdundogr.hxx12
-rw-r--r--sd/source/ui/inc/sdxfer.hxx86
-rwxr-xr-xsd/source/ui/inc/slideshow.hxx36
-rwxr-xr-xsd/source/ui/inc/smarttag.hxx16
-rw-r--r--sd/source/ui/inc/sprite.hxx48
-rwxr-xr-xsd/source/ui/inc/strings.hrc700
-rw-r--r--sd/source/ui/inc/tabtempl.hrc6
-rw-r--r--sd/source/ui/inc/tabtempl.hxx36
-rwxr-xr-xsd/source/ui/inc/taskpane/ControlContainer.hxx2
-rwxr-xr-xsd/source/ui/inc/taskpane/ILayoutableWindow.hxx10
-rw-r--r--sd/source/ui/inc/taskpane/PanelId.hxx2
-rwxr-xr-xsd/source/ui/inc/taskpane/ScrollPanel.hxx6
-rwxr-xr-xsd/source/ui/inc/taskpane/SlideSorterCacheDisplay.hxx12
-rwxr-xr-xsd/source/ui/inc/taskpane/SubToolPanel.hxx2
-rwxr-xr-xsd/source/ui/inc/taskpane/TaskPaneControlFactory.hxx2
-rwxr-xr-xsd/source/ui/inc/taskpane/TaskPaneTreeNode.hxx10
-rwxr-xr-xsd/source/ui/inc/taskpane/TitleBar.hxx2
-rwxr-xr-xsd/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
-rwxr-xr-xsd/source/ui/inc/tools/PropertySet.hxx10
-rwxr-xr-xsd/source/ui/inc/tools/SdGlobalResourceContainer.hxx4
-rwxr-xr-xsd/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
-rwxr-xr-xsd/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
-rwxr-xr-xsd/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
-rwxr-xr-xsd/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
-rwxr-xr-xsd/source/ui/inc/view/viewoverlaymanager.hxx6
-rwxr-xr-xsd/source/ui/inc/zoomlist.hxx16
-rwxr-xr-xsd/source/ui/notes/EditWindow.cxx18
-rwxr-xr-xsd/source/ui/notes/EditWindow.hxx52
-rwxr-xr-xsd/source/ui/notes/NotesChildWindow.cxx10
-rwxr-xr-xsd/source/ui/notes/NotesChildWindow.src2
-rwxr-xr-xsd/source/ui/notes/NotesDockingWindow.cxx2
-rwxr-xr-xsd/source/ui/notes/NotesDockingWindow.hxx2
-rwxr-xr-xsd/source/ui/notes/TextLogger.cxx6
-rw-r--r--sd/source/ui/presenter/CanvasUpdateRequester.cxx2
-rw-r--r--sd/source/ui/presenter/CanvasUpdateRequester.hxx10
-rwxr-xr-xsd/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
-rwxr-xr-xsd/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
-rwxr-xr-xsd/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
-rwxr-xr-xsd/source/ui/slideshow/slideshow.cxx54
-rw-r--r--sd/source/ui/slideshow/slideshow.hrc52
-rw-r--r--sd/source/ui/slideshow/slideshow.src12
-rwxr-xr-xsd/source/ui/slideshow/slideshowimpl.cxx218
-rwxr-xr-xsd/source/ui/slideshow/slideshowimpl.hxx72
-rw-r--r--sd/source/ui/slideshow/slideshowviewimpl.cxx42
-rw-r--r--sd/source/ui/slideshow/slideshowviewimpl.hxx60
-rwxr-xr-xsd/source/ui/slidesorter/cache/SlsBitmapCache.cxx22
-rwxr-xr-xsd/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.cxx12
-rw-r--r--sd/source/ui/slidesorter/cache/SlsCacheConfiguration.hxx4
-rwxr-xr-xsd/source/ui/slidesorter/cache/SlsGenericPageCache.cxx4
-rwxr-xr-xsd/source/ui/slidesorter/cache/SlsGenericPageCache.hxx8
-rwxr-xr-xsd/source/ui/slidesorter/cache/SlsPageCache.cxx2
-rw-r--r--sd/source/ui/slidesorter/cache/SlsPageCacheManager.cxx20
-rwxr-xr-xsd/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
-rwxr-xr-xsd/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
-rwxr-xr-xsd/source/ui/slidesorter/controller/SlsCurrentSlideManager.cxx2
-rwxr-xr-xsd/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
-rwxr-xr-xsd/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
-rwxr-xr-xsd/source/ui/slidesorter/controller/SlsPageSelector.cxx4
-rw-r--r--sd/source/ui/slidesorter/controller/SlsProperties.cxx2
-rwxr-xr-xsd/source/ui/slidesorter/controller/SlsScrollBarManager.cxx46
-rwxr-xr-xsd/source/ui/slidesorter/controller/SlsSelectionCommand.cxx6
-rwxr-xr-xsd/source/ui/slidesorter/controller/SlsSelectionCommand.hxx2
-rwxr-xr-xsd/source/ui/slidesorter/controller/SlsSelectionFunction.cxx26
-rwxr-xr-xsd/source/ui/slidesorter/controller/SlsSelectionManager.cxx2
-rwxr-xr-xsd/source/ui/slidesorter/controller/SlsSlideFunction.cxx4
-rwxr-xr-xsd/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
-rwxr-xr-xsd/source/ui/slidesorter/inc/cache/SlsPageCache.hxx2
-rw-r--r--sd/source/ui/slidesorter/inc/cache/SlsPageCacheManager.hxx6
-rwxr-xr-xsd/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
-rwxr-xr-xsd/source/ui/slidesorter/inc/controller/SlsPageSelector.hxx8
-rw-r--r--sd/source/ui/slidesorter/inc/controller/SlsProperties.hxx2
-rwxr-xr-xsd/source/ui/slidesorter/inc/controller/SlsScrollBarManager.hxx8
-rwxr-xr-xsd/source/ui/slidesorter/inc/controller/SlsSelectionFunction.hxx18
-rw-r--r--sd/source/ui/slidesorter/inc/controller/SlsSelectionManager.hxx6
-rwxr-xr-xsd/source/ui/slidesorter/inc/controller/SlsSlideFunction.hxx2
-rwxr-xr-xsd/source/ui/slidesorter/inc/controller/SlsSlotManager.hxx4
-rwxr-xr-xsd/source/ui/slidesorter/inc/model/SlideSorterModel.hxx4
-rw-r--r--sd/source/ui/slidesorter/inc/model/SlsEnumeration.hxx4
-rwxr-xr-xsd/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
-rwxr-xr-xsd/source/ui/slidesorter/inc/view/SlideSorterView.hxx8
-rw-r--r--sd/source/ui/slidesorter/inc/view/SlsFontProvider.hxx2
-rwxr-xr-xsd/source/ui/slidesorter/inc/view/SlsLayouter.hxx26
-rw-r--r--sd/source/ui/slidesorter/inc/view/SlsPageObject.hxx4
-rwxr-xr-xsd/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
-rwxr-xr-xsd/source/ui/slidesorter/model/SlideSorterModel.cxx10
-rwxr-xr-xsd/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
-rwxr-xr-xsd/source/ui/slidesorter/shell/SlideSorterService.cxx16
-rwxr-xr-xsd/source/ui/slidesorter/shell/SlideSorterService.hxx34
-rwxr-xr-xsd/source/ui/slidesorter/shell/SlideSorterViewShell.cxx44
-rwxr-xr-xsd/source/ui/slidesorter/view/SlideSorterView.cxx48
-rw-r--r--sd/source/ui/slidesorter/view/SlsFontProvider.cxx8
-rwxr-xr-xsd/source/ui/slidesorter/view/SlsLayouter.cxx100
-rw-r--r--sd/source/ui/slidesorter/view/SlsPageObject.cxx2
-rwxr-xr-xsd/source/ui/slidesorter/view/SlsPageObjectViewContact.cxx10
-rwxr-xr-xsd/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
-rwxr-xr-xsd/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
-rwxr-xr-xsd/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
-rwxr-xr-xsd/source/ui/toolpanel/LayoutMenu.cxx42
-rwxr-xr-xsd/source/ui/toolpanel/LayoutMenu.hxx4
-rw-r--r--sd/source/ui/toolpanel/MethodGuard.hxx2
-rwxr-xr-xsd/source/ui/toolpanel/ScrollPanel.cxx42
-rwxr-xr-xsd/source/ui/toolpanel/SlideSorterCacheDisplay.cxx10
-rwxr-xr-xsd/source/ui/toolpanel/SubToolPanel.cxx12
-rwxr-xr-xsd/source/ui/toolpanel/TaskPaneControlFactory.cxx2
-rw-r--r--sd/source/ui/toolpanel/TaskPaneFocusManager.cxx10
-rw-r--r--sd/source/ui/toolpanel/TaskPaneFocusManager.hxx6
-rwxr-xr-xsd/source/ui/toolpanel/TaskPaneShellManager.cxx2
-rwxr-xr-xsd/source/ui/toolpanel/TaskPaneShellManager.hxx6
-rwxr-xr-xsd/source/ui/toolpanel/TaskPaneTreeNode.cxx4
-rwxr-xr-xsd/source/ui/toolpanel/TestMenu.cxx18
-rwxr-xr-xsd/source/ui/toolpanel/TestMenu.hxx2
-rwxr-xr-xsd/source/ui/toolpanel/TestPanel.cxx8
-rwxr-xr-xsd/source/ui/toolpanel/TestPanel.hxx2
-rwxr-xr-xsd/source/ui/toolpanel/TitleBar.cxx18
-rwxr-xr-xsd/source/ui/toolpanel/TitledControl.cxx24
-rwxr-xr-xsd/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
-rwxr-xr-xsd/source/ui/toolpanel/ToolPanelViewShell.cxx25
-rw-r--r--sd/source/ui/toolpanel/controls/AllMasterPagesSelector.cxx4
-rw-r--r--sd/source/ui/toolpanel/controls/AllMasterPagesSelector.hxx4
-rwxr-xr-xsd/source/ui/toolpanel/controls/AnimationSchemesPanel.cxx4
-rwxr-xr-xsd/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
-rwxr-xr-xsd/source/ui/toolpanel/controls/CustomAnimationPanel.cxx8
-rwxr-xr-xsd/source/ui/toolpanel/controls/CustomAnimationPanel.hxx4
-rwxr-xr-xsd/source/ui/toolpanel/controls/DocumentHelper.cxx30
-rw-r--r--sd/source/ui/toolpanel/controls/DocumentHelper.hxx4
-rwxr-xr-xsd/source/ui/toolpanel/controls/MasterPageContainer.cxx24
-rwxr-xr-xsd/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
-rwxr-xr-xsd/source/ui/toolpanel/controls/MasterPageContainerProviders.cxx18
-rwxr-xr-xsd/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
-rwxr-xr-xsd/source/ui/toolpanel/controls/MasterPageDescriptor.cxx26
-rwxr-xr-xsd/source/ui/toolpanel/controls/MasterPageDescriptor.hxx30
-rwxr-xr-xsd/source/ui/toolpanel/controls/MasterPageObserver.cxx26
-rwxr-xr-xsd/source/ui/toolpanel/controls/MasterPagesPanel.cxx12
-rwxr-xr-xsd/source/ui/toolpanel/controls/MasterPagesPanel.hxx4
-rwxr-xr-xsd/source/ui/toolpanel/controls/MasterPagesSelector.cxx22
-rwxr-xr-xsd/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
-rwxr-xr-xsd/source/ui/toolpanel/controls/SlideTransitionPanel.cxx2
-rwxr-xr-xsd/source/ui/toolpanel/controls/SlideTransitionPanel.hxx2
-rwxr-xr-xsd/source/ui/toolpanel/controls/TableDesignPanel.cxx8
-rwxr-xr-xsd/source/ui/toolpanel/controls/TableDesignPanel.hxx4
-rw-r--r--sd/source/ui/tools/AsynchronousCall.cxx2
-rwxr-xr-xsd/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
-rwxr-xr-xsd/source/ui/tools/PreviewRenderer.cxx42
-rwxr-xr-xsd/source/ui/tools/PropertySet.cxx4
-rwxr-xr-xsd/source/ui/tools/SdGlobalResourceContainer.cxx16
-rwxr-xr-xsd/source/ui/tools/SlotStateListener.cxx4
-rw-r--r--sd/source/ui/tools/TimerBasedTaskExecution.cxx4
-rwxr-xr-xsd/source/ui/unoidl/DrawController.cxx66
-rwxr-xr-xsd/source/ui/unoidl/SdUnoDrawView.cxx26
-rwxr-xr-xsd/source/ui/unoidl/SdUnoOutlineView.cxx18
-rwxr-xr-xsd/source/ui/unoidl/SdUnoSlideView.cxx10
-rwxr-xr-xsd/source/ui/unoidl/UnoDocumentSettings.cxx94
-rw-r--r--sd/source/ui/unoidl/UnoDocumentSettings.hxx2
-rw-r--r--sd/source/ui/unoidl/detreg.cxx12
-rwxr-xr-xsd/source/ui/unoidl/facreg.cxx8
-rw-r--r--sd/source/ui/unoidl/randomnode.cxx16
-rwxr-xr-xsd/source/ui/unoidl/sddetect.cxx2
-rw-r--r--sd/source/ui/unoidl/sddetect.hxx2
-rwxr-xr-xsd/source/ui/unoidl/unocpres.cxx14
-rwxr-xr-xsd/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
-rwxr-xr-xsd/source/ui/unoidl/unomodel.cxx104
-rw-r--r--sd/source/ui/unoidl/unomodule.cxx2
-rw-r--r--sd/source/ui/unoidl/unomodule.hxx24
-rwxr-xr-xsd/source/ui/unoidl/unoobj.cxx206
-rwxr-xr-xsd/source/ui/unoidl/unoobj.hxx6
-rwxr-xr-xsd/source/ui/unoidl/unopage.cxx302
-rwxr-xr-xsd/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
-rwxr-xr-xsd/source/ui/unoidl/unosrch.cxx22
-rwxr-xr-xsd/source/ui/unoidl/unowcntr.cxx4
-rwxr-xr-xsd/source/ui/unoidl/unowcntr.hxx10
-rwxr-xr-xsd/source/ui/view/DocumentRenderer.cxx162
-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.cxx8
-rw-r--r--sd/source/ui/view/GraphicObjectBar.cxx14
-rwxr-xr-xsd/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
-rwxr-xr-xsd/source/ui/view/Outliner.cxx4
-rwxr-xr-xsd/source/ui/view/OutlinerIterator.cxx68
-rw-r--r--sd/source/ui/view/PresentationViewShellBase.cxx8
-rw-r--r--sd/source/ui/view/SlideSorterViewShellBase.cxx6
-rwxr-xr-xsd/source/ui/view/ToolBarManager.cxx4
-rw-r--r--sd/source/ui/view/UpdateLockManager.cxx12
-rwxr-xr-xsd/source/ui/view/ViewClipboard.cxx26
-rw-r--r--sd/source/ui/view/ViewShellBase.cxx32
-rw-r--r--sd/source/ui/view/ViewShellHint.cxx2
-rwxr-xr-xsd/source/ui/view/ViewShellImplementation.cxx16
-rwxr-xr-xsd/source/ui/view/ViewShellManager.cxx56
-rwxr-xr-xsd/source/ui/view/ViewTabBar.cxx26
-rw-r--r--sd/source/ui/view/WindowUpdater.cxx4
-rwxr-xr-xsd/source/ui/view/bmcache.cxx6
-rw-r--r--sd/source/ui/view/clview.cxx2
-rwxr-xr-xsd/source/ui/view/drawview.cxx10
-rw-r--r--sd/source/ui/view/drbezob.cxx12
-rwxr-xr-xsd/source/ui/view/drtxtob.cxx16
-rwxr-xr-xsd/source/ui/view/drtxtob1.cxx8
-rwxr-xr-xsd/source/ui/view/drviews1.cxx16
-rwxr-xr-xsd/source/ui/view/drviews2.cxx14
-rwxr-xr-xsd/source/ui/view/drviews3.cxx18
-rw-r--r--sd/source/ui/view/drviews4.cxx46
-rw-r--r--sd/source/ui/view/drviews5.cxx18
-rwxr-xr-xsd/source/ui/view/drviews6.cxx34
-rwxr-xr-xsd/source/ui/view/drviews7.cxx26
-rwxr-xr-xsd/source/ui/view/drviews8.cxx10
-rw-r--r--sd/source/ui/view/drviews9.cxx50
-rwxr-xr-xsd/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
-rwxr-xr-xsd/source/ui/view/drviewse.cxx14
-rwxr-xr-xsd/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
-rwxr-xr-xsd/source/ui/view/drvwshrg.cxx4
-rw-r--r--sd/source/ui/view/frmview.cxx76
-rwxr-xr-xsd/source/ui/view/grviewsh.cxx4
-rwxr-xr-xsd/source/ui/view/outlnvs2.cxx12
-rwxr-xr-xsd/source/ui/view/outlnvsh.cxx96
-rwxr-xr-xsd/source/ui/view/outlview.cxx70
-rw-r--r--sd/source/ui/view/presvish.cxx2
-rw-r--r--sd/source/ui/view/sdruler.cxx8
-rwxr-xr-xsd/source/ui/view/sdview.cxx80
-rw-r--r--sd/source/ui/view/sdview2.cxx126
-rw-r--r--sd/source/ui/view/sdview3.cxx124
-rwxr-xr-xsd/source/ui/view/sdview4.cxx38
-rwxr-xr-xsd/source/ui/view/sdview5.cxx8
-rwxr-xr-xsd/source/ui/view/sdwindow.cxx44
-rw-r--r--sd/source/ui/view/tabcontr.cxx16
-rw-r--r--sd/source/ui/view/unmodpg.cxx24
-rwxr-xr-xsd/source/ui/view/viewoverlaymanager.cxx30
-rwxr-xr-xsd/source/ui/view/viewshe2.cxx8
-rwxr-xr-xsd/source/ui/view/viewshe3.cxx14
-rwxr-xr-xsd/source/ui/view/viewshel.cxx18
-rwxr-xr-xsd/source/ui/view/zoomlist.cxx4
939 files changed, 12361 insertions, 12310 deletions
diff --git a/sd/source/core/CustomAnimationCloner.cxx b/sd/source/core/CustomAnimationCloner.cxx
index a6a925ab63d2..002cca85c45a 100644
--- a/sd/source/core/CustomAnimationCloner.cxx
+++ b/sd/source/core/CustomAnimationCloner.cxx
@@ -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/core/CustomAnimationEffect.cxx b/sd/source/core/CustomAnimationEffect.cxx
index 33b9c233909b..b2b3b6320cad 100755
--- a/sd/source/core/CustomAnimationEffect.cxx
+++ b/sd/source/core/CustomAnimationEffect.cxx
@@ -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 @@ using ::com::sun::star::util::XChangesNotifier;
using ::com::sun::star::util::XChangesListener;
namespace sd
-{
+{
class MainSequenceChangeGuard
{
public:
@@ -142,7 +142,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),
@@ -359,7 +359,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);
@@ -645,7 +645,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;
@@ -698,7 +698,7 @@ void CustomAnimationEffect::setTarget( const ::com::sun::star::uno::Any& rTarget
Reference< XCommand > xCommand( aElem, UNO_QUERY );
if( xCommand.is() )
xCommand->setTarget( rTarget );
- }
+ }
}
}
}
@@ -758,7 +758,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() )
@@ -913,7 +913,7 @@ Reference< XShape > CustomAnimationEffect::getTargetShape() const
// --------------------------------------------------------------------
-Any CustomAnimationEffect::getRepeatCount() const
+Any CustomAnimationEffect::getRepeatCount() const
{
if( mxNode.is() )
{
@@ -928,7 +928,7 @@ Any CustomAnimationEffect::getRepeatCount() const
// --------------------------------------------------------------------
-Any CustomAnimationEffect::getEnd() const
+Any CustomAnimationEffect::getEnd() const
{
if( mxNode.is() )
{
@@ -983,9 +983,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;
@@ -1006,7 +1006,7 @@ Reference< XAnimationNode > CustomAnimationEffect::createAfterEffectNode() const
if( !mbAfterEffectOnNextEffect ) // sameClick
{
Event aEvent;
-
+
aEvent.Source <<= getNode();
aEvent.Trigger = EventTrigger::END_EVENT;
aEvent.Repeat = 0;
@@ -1043,7 +1043,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 );
@@ -1141,7 +1141,7 @@ void CustomAnimationEffect::setIterateInterval( double fIterateInterval )
// --------------------------------------------------------------------
-::rtl::OUString CustomAnimationEffect::getPath() const
+::rtl::OUString CustomAnimationEffect::getPath() const
{
::rtl::OUString aPath;
@@ -1228,7 +1228,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;
}
@@ -1275,7 +1275,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;
@@ -1284,9 +1284,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 );
@@ -1304,7 +1304,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;
}
@@ -1425,7 +1425,7 @@ void CustomAnimationEffect::setColor( sal_Int32 nIndex, const Any& rColor )
xAnimate->setTo(rColor);
}
break;
-
+
}
}
}
@@ -1469,7 +1469,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;
}
@@ -1513,7 +1513,7 @@ bool CustomAnimationEffect::setTransformationProperty( sal_Int32 nTransformType,
case VALUE_FROM:
if( xTransform->getFrom() != rValue )
{
- xTransform->setFrom( rValue );
+ xTransform->setFrom( rValue );
bChanged = true;
}
break;
@@ -1836,7 +1836,7 @@ CustomAnimationEffectPtr EffectSequenceHelper::append( const CustomAnimationPres
}
p++;
}
-
+
if( bFilter )
{
aUserData = ::comphelper::containerToSequence< NamedValue, std::vector< NamedValue > >( aNewUserData );
@@ -1847,9 +1847,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() )
{
@@ -1859,7 +1859,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;
}
}
@@ -1870,7 +1870,7 @@ CustomAnimationEffectPtr EffectSequenceHelper::append( const CustomAnimationPres
pEffect->setTargetSubItem( nSubItem );
if( fDuration != -1.0 )
pEffect->setDuration( fDuration );
-
+
maEffects.push_back(pEffect);
rebuild();
@@ -1902,8 +1902,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 ) );
@@ -1919,7 +1919,7 @@ CustomAnimationEffectPtr EffectSequenceHelper::append( const SdrPathObj& rPathOb
pEffect->updatePathFromSdrPathObj( rPathObj );
if( fDuration != -1.0 )
pEffect->setDuration( fDuration );
-
+
maEffects.push_back(pEffect);
rebuild();
@@ -2038,7 +2038,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 )
@@ -2189,8 +2189,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 ) )
{
@@ -2215,7 +2215,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 );
}
}
@@ -2246,7 +2246,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 );
}
}
@@ -2457,7 +2457,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();
@@ -2494,7 +2494,7 @@ void CustomAnimationTextGroup::addEffect( CustomAnimationEffectPtr& pEffect )
if( mnLastPara != -1 )
mbTextReverse = mnLastPara > aParaTarget.Paragraph;
-
+
mnLastPara = aParaTarget.Paragraph;
const sal_Int32 nParaDepth = pEffect->getParaDepth();
@@ -2580,7 +2580,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;
@@ -2602,7 +2602,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;
@@ -2611,7 +2611,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;
@@ -2667,7 +2667,7 @@ void EffectSequenceHelper::createTextGroupParagraphEffects( CustomAnimationTextG
{
if( bTextReverse ) // sort them
aParaList.push_front( nPara );
- else
+ else
aParaList.push_back( nPara );
}
}
@@ -2836,7 +2836,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) ) )
{
@@ -2855,7 +2855,7 @@ void EffectSequenceHelper::setAnimateForm( CustomAnimationTextGroupPtr pTextGrou
pTextGroup->addEffect( pEffect );
}
-
+
if( !bAnimateForm && (aEffects.size() == 1) )
{
CustomAnimationEffectPtr pEffect( (*aIter) );
@@ -3188,7 +3188,7 @@ void EffectSequenceHelper::processAfterEffect( const Reference< XAnimationNode >
{
(void)e;
DBG_ERROR( "sd::EffectSequenceHelper::processAfterEffect(), exception cought!" );
- }
+ }
}
/*
@@ -3196,7 +3196,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) );
@@ -3495,7 +3495,7 @@ CustomAnimationEffectPtr MainSequence::getEffectFromOffset( sal_Int32 nOffset )
{
if( nOffset < getCount() )
return EffectSequenceHelper::getEffectFromOffset( nOffset );
-
+
nOffset -= getCount();
InteractiveSequenceList::const_iterator aIter( maInteractiveSequenceList.begin() );
@@ -3526,7 +3526,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 fb02f01480e7..f2a5375c1ec5 100644
--- a/sd/source/core/CustomAnimationPreset.cxx
+++ b/sd/source/core/CustomAnimationPreset.cxx
@@ -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
@@ -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 cbb9a1019baf..04ecd4c3109c 100644
--- a/sd/source/core/EffectMigration.cxx
+++ b/sd/source/core/EffectMigration.cxx
@@ -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,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 90cd25e151a0..b31dce70d90e 100644
--- a/sd/source/core/PageListWatcher.cxx
+++ b/sd/source/core/PageListWatcher.cxx
@@ -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
@@ -105,7 +105,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());
@@ -127,15 +127,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 9b7a14fd8dc1..a5280477f127 100644
--- a/sd/source/core/PageListWatcher.hxx
+++ b/sd/source/core/PageListWatcher.hxx
@@ -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,13 +44,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 c6f5c11a9164..a0bc4931b7bd 100644
--- a/sd/source/core/TransitionPreset.cxx
+++ b/sd/source/core/TransitionPreset.cxx
@@ -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/core/anminfo.cxx b/sd/source/core/anminfo.cxx
index a2aed2388e28..9aa989070209 100644
--- a/sd/source/core/anminfo.cxx
+++ b/sd/source/core/anminfo.cxx
@@ -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,24 +47,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);
@@ -72,30 +72,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 b9a8bd9c0f6d..e61ead7f809b 100644
--- a/sd/source/core/annotations/Annotation.cxx
+++ b/sd/source/core/annotations/Annotation.cxx
@@ -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
@@ -60,7 +60,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:
@@ -68,7 +68,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(); }
@@ -84,7 +84,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);
@@ -102,7 +102,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
@@ -129,7 +129,7 @@ public:
protected:
rtl::Reference< Annotation > mxAnnotation;
- bool mbInsert;
+ bool mbInsert;
int mnIndex;
};
@@ -145,15 +145,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);
}
};
@@ -174,7 +174,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);
}
@@ -266,7 +266,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;
}
}
@@ -285,7 +285,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;
}
}
@@ -303,7 +303,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;
}
}
@@ -315,13 +315,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;
}
}
@@ -330,8 +330,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();
@@ -345,7 +345,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() );
}
@@ -373,14 +373,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++;
}
}
}
@@ -410,7 +410,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 d9be4eae13fd..605c65a47beb 100644
--- a/sd/source/core/annotations/AnnotationEnumeration.cxx
+++ b/sd/source/core/annotations/AnnotationEnumeration.cxx
@@ -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/core/cusshow.cxx b/sd/source/core/cusshow.cxx
index b9f23daedd90..8397f4e7802e 100755
--- a/sd/source/core/cusshow.cxx
+++ b/sd/source/core/cusshow.cxx
@@ -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/core/drawdoc.cxx b/sd/source/core/drawdoc.cxx
index e2fdc2f805e5..c8e61c4a2e4f 100644
--- a/sd/source/core/drawdoc.cxx
+++ b/sd/source/core/drawdoc.cxx
@@ -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 @@ SdDrawDocument* SdDrawDocument::pDocLockedInsertingLinks = NULL;
//////////////////////////////////////////////////////////////////////////////
PresentationSettings::PresentationSettings()
-: mbAll( true ),
+: mbAll( true ),
mbEndless( false ),
mbCustomShow(false),
mbManual( false ),
@@ -131,7 +131,7 @@ PresentationSettings::PresentationSettings()
// ---------------------------------------------------------------------------
PresentationSettings::PresentationSettings( const PresentationSettings& r )
-: maPresPage( r.maPresPage ),
+: maPresPage( r.maPresPage ),
mbAll( r.mbAll ),
mbEndless( r.mbEndless ),
mbCustomShow( r.mbCustomShow ),
@@ -183,7 +183,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)
{
@@ -197,9 +197,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));
@@ -223,7 +223,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,
@@ -348,13 +348,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
*
@@ -473,7 +473,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(
@@ -683,7 +683,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 74a1bde5f5f8..07e294cf7ede 100755
--- a/sd/source/core/drawdoc2.cxx
+++ b/sd/source/core/drawdoc2.cxx
@@ -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
@@ -53,7 +53,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>
@@ -83,7 +83,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;
@@ -261,15 +261,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++)
{
@@ -411,7 +411,7 @@ void SdDrawDocument::UpdatePageRelativeURLs(SdPage* pPage, USHORT nPos, sal_Int3
/*************************************************************************
|*
-|* Seite verschieben
+|* Seite verschieben
|*
\************************************************************************/
@@ -427,7 +427,7 @@ void SdDrawDocument::MovePage(USHORT nPgNum, USHORT nNewPos)
/*************************************************************************
|*
-|* Seite einfuegen
+|* Seite einfuegen
|*
\************************************************************************/
@@ -448,7 +448,7 @@ void SdDrawDocument::InsertPage(SdrPage* pPage, USHORT nPos)
/*************************************************************************
|*
-|* Seite loeschen
+|* Seite loeschen
|*
\************************************************************************/
@@ -461,14 +461,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();
@@ -799,18 +799,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();
@@ -818,7 +818,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);
@@ -873,14 +873,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)
{
@@ -999,7 +999,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);
@@ -1077,8 +1077,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;
@@ -1114,8 +1114,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++ )
@@ -1145,19 +1145,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 )
@@ -1208,7 +1208,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 103a197d5a1f..4fa646764c3f 100644
--- a/sd/source/core/drawdoc3.cxx
+++ b/sd/source/core/drawdoc3.cxx
@@ -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
@@ -79,9 +79,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
/*************************************************************************
|*
@@ -197,12 +197,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
@@ -364,10 +364,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 )
@@ -382,7 +382,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;
@@ -495,17 +495,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)
{
@@ -617,19 +617,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() )
@@ -712,13 +712,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 )
{
@@ -855,7 +855,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);
@@ -1258,7 +1258,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() )
{
@@ -1315,7 +1315,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 )
@@ -1440,7 +1440,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;
@@ -1476,7 +1476,7 @@ void SdDrawDocument::RemoveUnnecessaryMasterPages(SdPage* pMasterPage, BOOL bOnl
}
if (pMasterPage)
- break; // Nur diese eine MasterPage!
+ break; // Nur diese eine MasterPage!
}
}
@@ -1517,12 +1517,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 ));
@@ -1532,7 +1532,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
@@ -1612,8 +1612,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();
@@ -1629,7 +1629,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");
@@ -1768,7 +1768,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);
@@ -1873,13 +1873,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 89f74de30494..a4e01ae7458b 100755
--- a/sd/source/core/drawdoc4.cxx
+++ b/sd/source/core/drawdoc4.cxx
@@ -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
@@ -52,7 +52,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>
@@ -159,16 +159,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));
@@ -197,7 +197,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;
@@ -242,7 +242,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 ) );
@@ -258,18 +258,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 );
@@ -309,7 +309,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 -------------------------------------------
@@ -371,7 +371,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#
@@ -407,7 +407,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
@@ -431,13 +431,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
@@ -581,17 +581,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)));
@@ -617,13 +617,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 ));
@@ -650,7 +650,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 );
@@ -679,7 +679,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)));
@@ -999,7 +999,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();
@@ -1210,9 +1210,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);
@@ -1334,17 +1334,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);
@@ -1436,9 +1436,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 3a994ffc0655..3d895407d9dd 100644
--- a/sd/source/core/drawdoc_animations.cxx
+++ b/sd/source/core/drawdoc_animations.cxx
@@ -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/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 61988c886feb..3a6f5606cb46 100644
--- a/sd/source/core/pglink.cxx
+++ b/sd/source/core/pglink.cxx
@@ -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
@@ -39,7 +39,7 @@
/*************************************************************************
|*
-|* Ctor
+|* Ctor
|*
\************************************************************************/
diff --git a/sd/source/core/sdattr.cxx b/sd/source/core/sdattr.cxx
index 4b394a137d56..284efe9b8315 100644
--- a/sd/source/core/sdattr.cxx
+++ b/sd/source/core/sdattr.cxx
@@ -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 @@ using namespace ::com::sun::star;
/*************************************************************************
|*
-|* DiaEffectItem
+|* DiaEffectItem
|*
*************************************************************************/
TYPEINIT1_AUTOFACTORY( DiaEffectItem, SfxEnumItem );
@@ -66,7 +66,7 @@ SfxPoolItem* DiaEffectItem::Create( SvStream& rIn, USHORT ) const
/*************************************************************************
|*
-|* DiaSpeedItem
+|* DiaSpeedItem
|*
*************************************************************************/
TYPEINIT1_AUTOFACTORY( DiaSpeedItem, SfxEnumItem );
@@ -97,7 +97,7 @@ SfxPoolItem* DiaSpeedItem::Create( SvStream& rIn, USHORT ) const
/*************************************************************************
|*
-|* DiaAutoItem
+|* DiaAutoItem
|*
*************************************************************************/
TYPEINIT1_AUTOFACTORY( DiaAutoItem, SfxEnumItem );
@@ -127,7 +127,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 5231aaf261ba..62529590b998 100644
--- a/sd/source/core/sdiocmpt.cxx
+++ b/sd/source/core/sdiocmpt.cxx
@@ -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,9 +36,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)
{
@@ -53,56 +53,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;
}
@@ -113,7 +113,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)
{
@@ -129,7 +129,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 e02ae442ff8d..1fc12d25579e 100644
--- a/sd/source/core/sdobjfac.cxx
+++ b/sd/source/core/sdobjfac.cxx
@@ -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/core/sdpage.cxx b/sd/source/core/sdpage.cxx
index 82a841a199c8..9eeb12c7ba95 100755
--- a/sd/source/core/sdpage.cxx
+++ b/sd/source/core/sdpage.cxx
@@ -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
@@ -95,33 +95,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-
@@ -256,7 +256,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 )
@@ -365,7 +365,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;
@@ -593,7 +593,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;
}
@@ -642,7 +642,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;
}
@@ -657,8 +657,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:
@@ -667,10 +667,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!" );
@@ -684,7 +684,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);
}
@@ -1103,7 +1103,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
@@ -1124,50 +1124,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 )
};
@@ -1381,7 +1381,7 @@ static void CalcAutoLayoutRectangles( SdPage& rPage, int nLayout, Rectangle* rRe
rRectangle[6] = Rectangle (aLayoutPos, aLayoutSize);
break;
- }
+ }
}
}
@@ -2236,16 +2236,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
@@ -2272,10 +2272,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);
@@ -2355,7 +2355,7 @@ SdrObject* SdPage::InsertAutoLayoutShape( SdrObject* pObj, PresObjKind eObjKind,
}
}
- if ( pObj && ( pObj->IsEmptyPresObj() || !pObj->ISA(SdrGrafObj) ) )
+ if ( pObj && (pObj->GetUserCall() || bInit) && ( pObj->IsEmptyPresObj() || !pObj->ISA(SdrGrafObj) ) )
pObj->AdjustToMaxRect( aRect );
return pObj;
@@ -2416,7 +2416,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 )
{
@@ -2600,7 +2600,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( ' ' );
@@ -2847,7 +2847,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
@@ -2874,7 +2874,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;
@@ -2974,7 +2974,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;
@@ -2986,7 +2986,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
@@ -3004,7 +3004,7 @@ void SdPage::CalculateHandoutAreas( SdDrawDocument& rModel, AutoLayout eLayout,
break;
case AUTOLAYOUT_HANDOUT2:
- if( bLandscape )
+ if( bLandscape )
{
nColCnt = 2; nRowCnt = 1;
}
@@ -3024,7 +3024,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;
@@ -3047,7 +3047,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 ac6acb35abbc..2b3db02100a2 100644
--- a/sd/source/core/sdpage2.cxx
+++ b/sd/source/core/sdpage2.cxx
@@ -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
@@ -72,9 +72,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
@@ -94,7 +94,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));
@@ -382,9 +382,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;
@@ -394,20 +394,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;
@@ -519,7 +519,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() )
@@ -533,58 +533,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();
}
@@ -608,7 +608,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 );
@@ -617,7 +617,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 df2bfcdfdb18..284fb05fe1d8 100644
--- a/sd/source/core/sdpage_animations.cxx
+++ b/sd/source/core/sdpage_animations.cxx
@@ -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/core/shapelist.cxx b/sd/source/core/shapelist.cxx
index bf5b98471b53..0c4ad04055ff 100755
--- a/sd/source/core/shapelist.cxx
+++ b/sd/source/core/shapelist.cxx
@@ -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/core/stlfamily.cxx b/sd/source/core/stlfamily.cxx
index a1a9879b1213..6197c6308df5 100644
--- a/sd/source/core/stlfamily.cxx
+++ b/sd/source/core/stlfamily.cxx
@@ -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
@@ -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)
{
OGuard aGuard( Application::GetSolarMutex() );
throwIfDisposed();
@@ -454,7 +454,7 @@ void SAL_CALL SdStyleFamily::removeByName( const OUString& rName ) throw(NoSuchE
{
OGuard aGuard( Application::GetSolarMutex() );
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 138863cc313a..1a7b4d2b2a88 100755
--- a/sd/source/core/stlpool.cxx
+++ b/sd/source/core/stlpool.cxx
@@ -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 @@
#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>
@@ -86,9 +86,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 )
{
@@ -97,18 +97,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 );
}
}
@@ -266,7 +266,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)
@@ -380,9 +380,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 ));
@@ -393,11 +393,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 );
}
@@ -426,7 +426,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 ));
@@ -439,14 +439,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 );
}
@@ -475,7 +475,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 ) );
@@ -486,7 +486,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 ) );
@@ -518,7 +518,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 ) );
@@ -552,7 +552,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)
|*
\************************************************************************/
@@ -575,7 +575,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() )
{
@@ -674,7 +674,7 @@ void SdStyleSheetPool::CopySheets(SdStyleSheetPool& rSourcePool, SfxStyleFamily
|* StyleSheets gefuellt.
|*
|* (rSourcePool kann nicht const sein, weil SfxStyleSheetPoolBase::Find
-|* nicht const ist)
+|* nicht const ist)
|*
\************************************************************************/
@@ -903,33 +903,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:
@@ -938,17 +938,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
@@ -973,7 +973,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
{
@@ -1130,7 +1130,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 );
}
@@ -1258,7 +1258,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();
@@ -1385,7 +1385,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 7e090d0e9a98..151b7bf28f5e 100644
--- a/sd/source/core/stlsheet.cxx
+++ b/sd/source/core/stlsheet.cxx
@@ -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
@@ -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 ab6c69ee8fdc..8aff0cebebbb 100755
--- a/sd/source/core/text/textapi.cxx
+++ b/sd/source/core/text/textapi.cxx
@@ -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
@@ -59,8 +59,8 @@ public:
virtual void Redo();
protected:
- OutlinerParaObject* mpOldText;
- OutlinerParaObject* mpNewText;
+ OutlinerParaObject* mpOldText;
+ OutlinerParaObject* mpNewText;
rtl::Reference< TextApiObject > mxTextObj;
};
@@ -82,8 +82,8 @@ void UndoTextAPIChanged::Undo()
{
if( !mpNewText )
mpNewText = mxTextObj->CreateText();
-
- mxTextObj->SetText( *mpOldText );
+
+ mxTextObj->SetText( *mpOldText );
}
void UndoTextAPIChanged::Redo()
@@ -94,32 +94,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; }
};
@@ -131,10 +131,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() );
@@ -181,9 +181,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()
@@ -272,7 +272,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 fb5939e21dd3..f812dca6739c 100644
--- a/sd/source/core/typemap.cxx
+++ b/sd/source/core/typemap.cxx
@@ -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,30 +98,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 54a186e80198..f9b2e7b4fd28 100644
--- a/sd/source/core/undo/undofactory.cxx
+++ b/sd/source/core/undo/undofactory.cxx
@@ -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/core/undo/undomanager.cxx b/sd/source/core/undo/undomanager.cxx
index f3fe9b11c2bd..ecb36ef0727c 100644
--- a/sd/source/core/undo/undomanager.cxx
+++ b/sd/source/core/undo/undomanager.cxx
@@ -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/core/undo/undoobjects.cxx b/sd/source/core/undo/undoobjects.cxx
index ef47e7da2bae..64243972773d 100644
--- a/sd/source/core/undo/undoobjects.cxx
+++ b/sd/source/core/undo/undoobjects.cxx
@@ -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
@@ -252,10 +252,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 )
{
}
@@ -286,11 +286,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 525b1311faba..e6878f8aae84 100644
--- a/sd/source/core/undoanim.cxx
+++ b/sd/source/core/undoanim.cxx
@@ -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
@@ -53,7 +53,7 @@ struct UndoAnimationImpl
SdPage* mpPage;
Reference< XAnimationNode > mxOldNode;
Reference< XAnimationNode > mxNewNode;
- bool mbNewNodeSet;
+ bool mbNewNodeSet;
};
UndoAnimation::UndoAnimation( SdDrawDocument* pDoc, SdPage* pThePage )
@@ -86,7 +86,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;
}
@@ -127,7 +127,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 7d28e5285f40..6655dc5ad85d 100644
--- a/sd/source/filter/cgm/sdcgmfilter.cxx
+++ b/sd/source/filter/cgm/sdcgmfilter.cxx
@@ -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,16 +44,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 -
@@ -90,26 +90,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);
@@ -134,7 +134,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/eppt.cxx b/sd/source/filter/eppt/eppt.cxx
index 2a40c8707866..2ed890a3e129 100644
--- a/sd/source/filter/eppt/eppt.cxx
+++ b/sd/source/filter/eppt/eppt.cxx
@@ -78,45 +78,45 @@
#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
+#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
using namespace com::sun::star;
static PHLayout pPHLayout[] =
{
- { EPP_LAYOUT_TITLESLIDE, { 0x0d, 0x10, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00 }, 0x00, 0x0d, 0x10, TRUE, TRUE, FALSE },
- { EPP_LAYOUT_TITLEANDBODYSLIDE, { 0x0d, 0x0e, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00 }, 0x00, 0x0d, 0x0e, TRUE, TRUE, FALSE },
- { EPP_LAYOUT_TITLEANDBODYSLIDE, { 0x0d, 0x14, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00 }, 0x14, 0x0d, 0x0e, TRUE, TRUE, FALSE },
- { EPP_LAYOUT_2COLUMNSANDTITLE, { 0x0d, 0x0e, 0x0e, 0x00, 0x00, 0x00, 0x00, 0x00 }, 0x00, 0x0d, 0x0e, TRUE, TRUE, TRUE },
- { EPP_LAYOUT_2COLUMNSANDTITLE, { 0x0d, 0x0e, 0x14, 0x00, 0x00, 0x00, 0x00, 0x00 }, 0x14, 0x0d, 0x0e, TRUE, TRUE, FALSE },
- { EPP_LAYOUT_BLANCSLIDE, { 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00 }, 0x00, 0x0d, 0x0e, FALSE, FALSE, FALSE },
- { EPP_LAYOUT_2COLUMNSANDTITLE, { 0x0d, 0x0e, 0x16, 0x00, 0x00, 0x00, 0x00, 0x00 }, 0x16, 0x0d, 0x0e, TRUE, TRUE, FALSE },
- { EPP_LAYOUT_2COLUMNSANDTITLE, { 0x0d, 0x14, 0x0e, 0x00, 0x00, 0x00, 0x00, 0x00 }, 0x14, 0x0d, 0x0e, TRUE, TRUE, FALSE },
- { EPP_LAYOUT_TITLEANDBODYSLIDE, { 0x0d, 0x15, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00 }, 0x15, 0x0d, 0x0e, TRUE, FALSE, FALSE },
- { EPP_LAYOUT_2COLUMNSANDTITLE, { 0x0d, 0x16, 0x0e, 0x00, 0x00, 0x00, 0x00, 0x00 }, 0x16, 0x0d, 0x0e, TRUE, TRUE, FALSE },
- { EPP_LAYOUT_2COLUMNSANDTITLE, { 0x0d, 0x0e, 0x13, 0x00, 0x00, 0x00, 0x00, 0x00 }, 0x13, 0x0d, 0x0e, TRUE, TRUE, FALSE },
- { EPP_LAYOUT_TITLEANDBODYSLIDE, { 0x0d, 0x13, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00 }, 0x13, 0x0d, 0x0e, TRUE, FALSE, FALSE },
- { EPP_LAYOUT_RIGHTCOLUMN2ROWS, { 0x0d, 0x0e, 0x13, 0x13, 0x00, 0x00, 0x00, 0x00 }, 0x13, 0x0d, 0x0e, TRUE, TRUE, FALSE },
- { EPP_LAYOUT_2COLUMNSANDTITLE, { 0x0d, 0x13, 0x0e, 0x00, 0x00, 0x00, 0x00, 0x00 }, 0x13, 0x0d, 0x0e, TRUE, TRUE, FALSE },
- { EPP_LAYOUT_2ROWSANDTITLE, { 0x0d, 0x13, 0x0e, 0x00, 0x00, 0x00, 0x00, 0x00 }, 0x13, 0x0d, 0x0e, TRUE, TRUE, FALSE },
- { EPP_LAYOUT_LEFTCOLUMN2ROWS, { 0x0d, 0x13, 0x13, 0x0e, 0x00, 0x00, 0x00, 0x00 }, 0x13, 0x0d, 0x0e, TRUE, TRUE, FALSE },
- { EPP_LAYOUT_TOPROW2COLUMN, { 0x0d, 0x13, 0x13, 0x0e, 0x00, 0x00, 0x00, 0x00 }, 0x13, 0x0d, 0x0e, TRUE, TRUE, FALSE },
- { EPP_LAYOUT_2ROWSANDTITLE, { 0x0d, 0x0e, 0x13, 0x00, 0x00, 0x00, 0x00, 0x00 }, 0x13, 0x0d, 0x0e, TRUE, TRUE, FALSE },
- { EPP_LAYOUT_4OBJECTS, { 0x0d, 0x13, 0x13, 0x13, 0x13, 0x00, 0x00, 0x00 }, 0x13, 0x0d, 0x0e, TRUE, FALSE, FALSE },
- { EPP_LAYOUT_ONLYTITLE, { 0x0d, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00 }, 0x00, 0x0d, 0x0e, TRUE, FALSE, FALSE },
- { EPP_LAYOUT_BLANCSLIDE, { 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00 }, 0x00, 0x0d, 0x0e, FALSE, FALSE, FALSE },
+ { EPP_LAYOUT_TITLESLIDE, { 0x0d, 0x10, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00 }, 0x00, 0x0d, 0x10, TRUE, TRUE, FALSE },
+ { EPP_LAYOUT_TITLEANDBODYSLIDE, { 0x0d, 0x0e, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00 }, 0x00, 0x0d, 0x0e, TRUE, TRUE, FALSE },
+ { EPP_LAYOUT_TITLEANDBODYSLIDE, { 0x0d, 0x14, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00 }, 0x14, 0x0d, 0x0e, TRUE, TRUE, FALSE },
+ { EPP_LAYOUT_2COLUMNSANDTITLE, { 0x0d, 0x0e, 0x0e, 0x00, 0x00, 0x00, 0x00, 0x00 }, 0x00, 0x0d, 0x0e, TRUE, TRUE, TRUE },
+ { EPP_LAYOUT_2COLUMNSANDTITLE, { 0x0d, 0x0e, 0x14, 0x00, 0x00, 0x00, 0x00, 0x00 }, 0x14, 0x0d, 0x0e, TRUE, TRUE, FALSE },
+ { EPP_LAYOUT_BLANCSLIDE, { 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00 }, 0x00, 0x0d, 0x0e, FALSE, FALSE, FALSE },
+ { EPP_LAYOUT_2COLUMNSANDTITLE, { 0x0d, 0x0e, 0x16, 0x00, 0x00, 0x00, 0x00, 0x00 }, 0x16, 0x0d, 0x0e, TRUE, TRUE, FALSE },
+ { EPP_LAYOUT_2COLUMNSANDTITLE, { 0x0d, 0x14, 0x0e, 0x00, 0x00, 0x00, 0x00, 0x00 }, 0x14, 0x0d, 0x0e, TRUE, TRUE, FALSE },
+ { EPP_LAYOUT_TITLEANDBODYSLIDE, { 0x0d, 0x15, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00 }, 0x15, 0x0d, 0x0e, TRUE, FALSE, FALSE },
+ { EPP_LAYOUT_2COLUMNSANDTITLE, { 0x0d, 0x16, 0x0e, 0x00, 0x00, 0x00, 0x00, 0x00 }, 0x16, 0x0d, 0x0e, TRUE, TRUE, FALSE },
+ { EPP_LAYOUT_2COLUMNSANDTITLE, { 0x0d, 0x0e, 0x13, 0x00, 0x00, 0x00, 0x00, 0x00 }, 0x13, 0x0d, 0x0e, TRUE, TRUE, FALSE },
+ { EPP_LAYOUT_TITLEANDBODYSLIDE, { 0x0d, 0x13, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00 }, 0x13, 0x0d, 0x0e, TRUE, FALSE, FALSE },
+ { EPP_LAYOUT_RIGHTCOLUMN2ROWS, { 0x0d, 0x0e, 0x13, 0x13, 0x00, 0x00, 0x00, 0x00 }, 0x13, 0x0d, 0x0e, TRUE, TRUE, FALSE },
+ { EPP_LAYOUT_2COLUMNSANDTITLE, { 0x0d, 0x13, 0x0e, 0x00, 0x00, 0x00, 0x00, 0x00 }, 0x13, 0x0d, 0x0e, TRUE, TRUE, FALSE },
+ { EPP_LAYOUT_2ROWSANDTITLE, { 0x0d, 0x13, 0x0e, 0x00, 0x00, 0x00, 0x00, 0x00 }, 0x13, 0x0d, 0x0e, TRUE, TRUE, FALSE },
+ { EPP_LAYOUT_LEFTCOLUMN2ROWS, { 0x0d, 0x13, 0x13, 0x0e, 0x00, 0x00, 0x00, 0x00 }, 0x13, 0x0d, 0x0e, TRUE, TRUE, FALSE },
+ { EPP_LAYOUT_TOPROW2COLUMN, { 0x0d, 0x13, 0x13, 0x0e, 0x00, 0x00, 0x00, 0x00 }, 0x13, 0x0d, 0x0e, TRUE, TRUE, FALSE },
+ { EPP_LAYOUT_2ROWSANDTITLE, { 0x0d, 0x0e, 0x13, 0x00, 0x00, 0x00, 0x00, 0x00 }, 0x13, 0x0d, 0x0e, TRUE, TRUE, FALSE },
+ { EPP_LAYOUT_4OBJECTS, { 0x0d, 0x13, 0x13, 0x13, 0x13, 0x00, 0x00, 0x00 }, 0x13, 0x0d, 0x0e, TRUE, FALSE, FALSE },
+ { EPP_LAYOUT_ONLYTITLE, { 0x0d, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00 }, 0x00, 0x0d, 0x0e, TRUE, FALSE, FALSE },
+ { EPP_LAYOUT_BLANCSLIDE, { 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00 }, 0x00, 0x0d, 0x0e, FALSE, FALSE, FALSE },
{ EPP_LAYOUT_TITLERIGHT2BODIESLEFT, { 0x11, 0x12, 0x14, 0x00, 0x00, 0x00, 0x00, 0x00 }, 0x14, 0x11, 0x12, TRUE, TRUE, FALSE },
- { EPP_LAYOUT_TITLERIGHTBODYLEFT, { 0x11, 0x12, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00 }, 0x00, 0x11, 0x12, TRUE, TRUE, FALSE },
- { EPP_LAYOUT_TITLEANDBODYSLIDE, { 0x0d, 0x12, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00 }, 0x00, 0x0d, 0x12, TRUE, TRUE, FALSE },
- { EPP_LAYOUT_2COLUMNSANDTITLE, { 0x0d, 0x16, 0x12, 0x00, 0x00, 0x00, 0x00, 0x00 }, 0x16, 0x0d, 0x12, TRUE, TRUE, FALSE }
+ { EPP_LAYOUT_TITLERIGHTBODYLEFT, { 0x11, 0x12, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00 }, 0x00, 0x11, 0x12, TRUE, TRUE, FALSE },
+ { EPP_LAYOUT_TITLEANDBODYSLIDE, { 0x0d, 0x12, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00 }, 0x00, 0x0d, 0x12, TRUE, TRUE, FALSE },
+ { EPP_LAYOUT_2COLUMNSANDTITLE, { 0x0d, 0x16, 0x12, 0x00, 0x00, 0x00, 0x00, 0x00 }, 0x16, 0x0d, 0x12, TRUE, TRUE, FALSE }
};
//============================ PPTWriter ==================================
@@ -126,7 +126,7 @@ PPTWriter::PPTWriter( SvStorageRef& rSvStorage,
::com::sun::star::uno::Reference< ::com::sun::star::task::XStatusIndicator > & rXStatInd,
SvMemoryStream* pVBA, sal_uInt32 nCnvrtFlags ) :
mbStatus ( sal_False ),
- mbUseNewAnimations ( sal_True ),
+ mbUseNewAnimations ( sal_True ),
mnLatestStatValue ( 0 ),
maFraction ( 1, 576 ),
maMapModeSrc ( MAP_100TH_MM ),
@@ -539,13 +539,13 @@ sal_Bool PPTWriter::ImplCreateDocument()
mpPptEscherEx->PtInsert( EPP_Persist_Document, mpStrm->Tell() );
- mpPptEscherEx->OpenContainer( EPP_HeadersFooters, 3 ); //Master footer (default)
+ mpPptEscherEx->OpenContainer( EPP_HeadersFooters, 3 ); //Master footer (default)
mpPptEscherEx->AddAtom( 4, EPP_HeadersFootersAtom );
*mpStrm << (sal_uInt32)0x25000d;
if ( ImplGetPageByIndex( 0, MASTER ) )
ImplCreateHeaderFooterStrings( *mpStrm, mXPagePropSet );
mpPptEscherEx->CloseContainer();
- mpPptEscherEx->OpenContainer( EPP_HeadersFooters, 4 ); //NotesMaster footer (default)
+ mpPptEscherEx->OpenContainer( EPP_HeadersFooters, 4 ); //NotesMaster footer (default)
mpPptEscherEx->AddAtom( 4, EPP_HeadersFootersAtom );
*mpStrm << (sal_uInt32)0x3d000d;
if ( ImplGetPageByIndex( 0, NOTICE ) )
@@ -558,7 +558,7 @@ sal_Bool PPTWriter::ImplCreateDocument()
{
mpPptEscherEx->AddAtom( 20, EPP_SlidePersistAtom );
mpPptEscherEx->InsertPersistOffset( EPP_MAINSLIDE_PERSIST_KEY | i, mpStrm->Tell() );
- *mpStrm << (sal_uInt32)0 // psrReference - logical reference to the slide persist object ( EPP_MAINSLIDE_PERSIST_KEY )
+ *mpStrm << (sal_uInt32)0 // psrReference - logical reference to the slide persist object ( EPP_MAINSLIDE_PERSIST_KEY )
<< (sal_uInt32)4 // flags - only bit 3 used, if set then slide contains shapes other than placeholders
<< (INT32)0 // numberTexts - number of placeholder texts stored with the persist object. Allows to display outline view without loading the slide persist objects
<< (INT32)i + 0x100 // slideId - Unique slide identifier, used for OLE link monikers for example
@@ -946,7 +946,7 @@ sal_Bool PPTWriter::ImplCreateMaster( sal_uInt32 nPageNum )
mpPptEscherEx->AddAtom( 24, EPP_SlideAtom, 2 );
*mpStrm << (INT32)EPP_LAYOUT_TITLEANDBODYSLIDE // slide layout -> title and body slide
<< (sal_uInt8)1 << (sal_uInt8)2 << (sal_uInt8)0 << (sal_uInt8)0 << (sal_uInt8)0 << (sal_uInt8)0 << (sal_uInt8)0 << (sal_uInt8)0 // placeholderID
- << (sal_uInt32)0 // master ID ( ist gleich null bei einer masterpage )
+ << (sal_uInt32)0 // master ID ( ist gleich null bei einer masterpage )
<< (sal_uInt32)0 // notes ID ( ist gleich null wenn keine notizen vorhanden )
<< (sal_uInt16)0 // Bit 1: Follow master objects, Bit 2: Follow master scheme, Bit 3: Follow master background
<< (sal_uInt16)0; // padword
@@ -1073,14 +1073,14 @@ sal_Bool PPTWriter::ImplCreateMainNotes()
mpPptEscherEx->OpenContainer( ESCHER_SpContainer );
mpPptEscherEx->AddShape( ESCHER_ShpInst_Rectangle, 0xc00 );
EscherPropertyContainer aPropOpt;
- aPropOpt.AddOpt( ESCHER_Prop_fillColor, 0xffffff ); // stock valued fill color
+ aPropOpt.AddOpt( ESCHER_Prop_fillColor, 0xffffff ); // stock valued fill color
aPropOpt.AddOpt( ESCHER_Prop_fillBackColor, 0 );
aPropOpt.AddOpt( ESCHER_Prop_fillRectRight, 0x68bdde );
aPropOpt.AddOpt( ESCHER_Prop_fillRectBottom, 0x8b9f8e );
aPropOpt.AddOpt( ESCHER_Prop_fNoFillHitTest, 0x120012 );
aPropOpt.AddOpt( ESCHER_Prop_fNoLineDrawDash, 0 );
aPropOpt.AddOpt( ESCHER_Prop_bWMode, ESCHER_wDontShow );
- aPropOpt.AddOpt( ESCHER_Prop_fBackground, 0x10001 ); // if true, this is the background shape
+ aPropOpt.AddOpt( ESCHER_Prop_fBackground, 0x10001 ); // if true, this is the background shape
aPropOpt.Commit( *mpStrm );
mpPptEscherEx->CloseContainer(); // ESCHER_SpContainer
@@ -1114,7 +1114,7 @@ static rtl::OUString getInitials( const rtl::OUString& rName )
// take letter
if( nLength )
{
- sInitials += rtl::OUString( *pStr );
+ sInitials += rtl::OUString( *pStr );
nLength--; pStr++;
}
@@ -1139,7 +1139,7 @@ void ImplExportComments( uno::Reference< drawing::XDrawPage > xPage, SvMemoryStr
while( xAnnotationEnumeration->hasMoreElements() )
{
- EscherExContainer aComment10( rBinaryTagData10Atom, EPP_Comment10 );
+ EscherExContainer aComment10( rBinaryTagData10Atom, EPP_Comment10 );
{
uno::Reference< office::XAnnotation > xAnnotation( xAnnotationEnumeration->nextElement() );
@@ -1165,7 +1165,7 @@ void ImplExportComments( uno::Reference< drawing::XDrawPage > xPage, SvMemoryStr
rBinaryTagData10Atom << nIndex++
<< aDateTime.Year
<< aDateTime.Month
- << aDateTime.Day // todo: day of week
+ << aDateTime.Day // todo: day of week
<< aDateTime.Day
<< aDateTime.Hours
<< aDateTime.Minutes
@@ -1258,8 +1258,8 @@ sal_Bool PPTWriter::ImplCreateSlide( sal_uInt32 nPageNum )
sal_uInt32 nSoundRef = 0;
sal_Bool bIsSound = sal_False;
- sal_Bool bStopSound = sal_False;
- sal_Bool bLoopSound = sal_False;
+ sal_Bool bStopSound = sal_False;
+ sal_Bool bLoopSound = sal_False;
if ( GetPropertyValue( aAny, mXPagePropSet, String( RTL_CONSTASCII_USTRINGPARAM( "Sound" ) ) ) )
{
@@ -1571,7 +1571,7 @@ sal_Bool PPTWriter::ImplCreateSlide( sal_uInt32 nPageNum )
}
if ( aBinaryTagData10Atom.Tell() )
{
- EscherExContainer aProgTags ( *mpStrm, EPP_ProgTags );
+ EscherExContainer aProgTags ( *mpStrm, EPP_ProgTags );
EscherExContainer aProgBinaryTag( *mpStrm, EPP_ProgBinaryTag );
{
EscherExAtom aCString( *mpStrm, EPP_CString );
@@ -1595,7 +1595,7 @@ sal_Bool PPTWriter::ImplCreateSlide( sal_uInt32 nPageNum )
sal_uInt32 nmsofbtAnimGroupSize = amsofbtAnimGroup.Tell();
if ( nmsofbtAnimGroupSize )
{
- EscherExContainer aProgTags ( *mpStrm, EPP_ProgTags );
+ EscherExContainer aProgTags ( *mpStrm, EPP_ProgTags );
EscherExContainer aProgBinaryTag( *mpStrm, EPP_ProgBinaryTag );
{
EscherExAtom aCString( *mpStrm, EPP_CString );
@@ -1726,7 +1726,7 @@ void PPTWriter::ImplWriteBackground( ::com::sun::star::uno::Reference< ::com::su
nFillColor = mpPptEscherEx->GetColor( *((sal_uInt32*)mAny.getValue()) );
nFillBackColor = nFillColor ^ 0xffffff;
}
- } // PASSTHROUGH INTENDED
+ } // PASSTHROUGH INTENDED
case ::com::sun::star::drawing::FillStyle_NONE :
default:
aPropOpt.AddOpt( ESCHER_Prop_fNoFillHitTest, 0x120012 );
@@ -1794,14 +1794,14 @@ void PPTWriter::ImplWriteOLE( sal_uInt32 nCnvrtFlags )
// SJ: #99809# create a dummy content stream, the dummy content is necessary for ppt, but not for
// doc files, so we can't share code.
SotStorageStreamRef xStm = xCleanStorage->OpenSotStream( aPersistStream, STREAM_STD_READWRITE );
- *xStm << (sal_uInt32)0 // no ClipboardId
- << (sal_uInt32)4 // no target device
- << (sal_uInt32)1 // aspect ratio
- << (sal_Int32)-1 // L-Index
- << (sal_uInt32)0 // Advanced Flags
- << (sal_uInt32)0 // compression
- << (sal_uInt32)0 // Size
- << (sal_uInt32)0 // "
+ *xStm << (sal_uInt32)0 // no ClipboardId
+ << (sal_uInt32)4 // no target device
+ << (sal_uInt32)1 // aspect ratio
+ << (sal_Int32)-1 // L-Index
+ << (sal_uInt32)0 // Advanced Flags
+ << (sal_uInt32)0 // compression
+ << (sal_uInt32)0 // Size
+ << (sal_uInt32)0 // "
<< (sal_uInt32)0;
pStrm = xCleanStorage->CreateMemoryStream();
}
@@ -1827,7 +1827,7 @@ void PPTWriter::ImplWriteOLE( sal_uInt32 nCnvrtFlags )
mpPptEscherEx->BeginAtom();
pStrm->Seek( STREAM_SEEK_TO_END );
sal_uInt32 npStrmSize = pStrm->Tell();
- *mpStrm << npStrmSize; // uncompressed size
+ *mpStrm << npStrmSize; // uncompressed size
#ifdef DBG_EXTRACTOLEOBJECTS
SvFileStream aOut( String::CreateFromAscii( "D:\\OUT.OLE" ), STREAM_TRUNC | STREAM_WRITE );
diff --git a/sd/source/filter/eppt/eppt.hxx b/sd/source/filter/eppt/eppt.hxx
index 3d8797beb328..8fadff5b6cfe 100755
--- a/sd/source/filter/eppt/eppt.hxx
+++ b/sd/source/filter/eppt/eppt.hxx
@@ -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
@@ -94,30 +94,30 @@
enum PageType { NORMAL = 0, MASTER = 1, NOTICE = 2, UNDEFINED = 3 };
-#define EPP_MAINMASTER_PERSIST_KEY 0x80010000
-#define EPP_MAINNOTESMASTER_PERSIST_KEY 0x80020000
-#define EPP_MAINSLIDE_PERSIST_KEY 0x80030000
-#define EPP_MAINNOTES_PERSIST_KEY 0x80040000
-
-#define EPP_Persist_Document 0x80080000
-#define EPP_Persist_MainMaster 0x80100000
-#define EPP_Persist_MainNotes 0x80200000
-#define EPP_Persist_Slide 0x80400000
-#define EPP_Persist_Notes 0x80800000
-#define EPP_Persist_CurrentPos 0x81000000
-#define EPP_Persist_VBAInfoAtom 0x84000000
-#define EPP_Persist_ExObj 0x88000000
-
-#define EPP_TEXTSTYLE_NORMAL 0x00000001
-#define EPP_TEXTSTYLE_TITLE 0x00000010
-#define EPP_TEXTSTYLE_BODY 0x00000100
-#define EPP_TEXTSTYLE_TEXT 0x00001000
+#define EPP_MAINMASTER_PERSIST_KEY 0x80010000
+#define EPP_MAINNOTESMASTER_PERSIST_KEY 0x80020000
+#define EPP_MAINSLIDE_PERSIST_KEY 0x80030000
+#define EPP_MAINNOTES_PERSIST_KEY 0x80040000
+
+#define EPP_Persist_Document 0x80080000
+#define EPP_Persist_MainMaster 0x80100000
+#define EPP_Persist_MainNotes 0x80200000
+#define EPP_Persist_Slide 0x80400000
+#define EPP_Persist_Notes 0x80800000
+#define EPP_Persist_CurrentPos 0x81000000
+#define EPP_Persist_VBAInfoAtom 0x84000000
+#define EPP_Persist_ExObj 0x88000000
+
+#define EPP_TEXTSTYLE_NORMAL 0x00000001
+#define EPP_TEXTSTYLE_TITLE 0x00000010
+#define EPP_TEXTSTYLE_BODY 0x00000100
+#define EPP_TEXTSTYLE_TEXT 0x00001000
// PLACEMENT_ID
#define EPP_LAYOUT_TITLESLIDE 0 /* The slide is a title slide */
#define EPP_LAYOUT_TITLEANDBODYSLIDE 1 /* Title and body slide */
#define EPP_LAYOUT_TITLEMASTERSLIDE 2 /* Title master slide */
-#define EPP_LAYOUT_MASTERSLIDE 3 /* Master slide layout */
+#define EPP_LAYOUT_MASTERSLIDE 3 /* Master slide layout */
#define EPP_LAYOUT_MASTERNOTES 4 /* Master notes layout */
#define EPP_LAYOUT_NOTESTITLEBODY 5 /* Notes title/body layout */
#define EPP_LAYOUT_HANDOUTLAYOUT 6 /* Handout layout, therefore it doesn't have placeholders except header, footer, and date */
@@ -140,42 +140,42 @@ class XStatusIndicatorRef;
struct PHLayout
{
- sal_Int32 nLayout;
- sal_uInt8 nPlaceHolder[ 8 ];
+ sal_Int32 nLayout;
+ sal_uInt8 nPlaceHolder[ 8 ];
- sal_uInt8 nUsedObjectPlaceHolder;
- sal_uInt8 nTypeOfTitle;
- sal_uInt8 nTypeOfOutliner;
+ sal_uInt8 nUsedObjectPlaceHolder;
+ sal_uInt8 nTypeOfTitle;
+ sal_uInt8 nTypeOfOutliner;
- BOOL bTitlePossible;
- BOOL bOutlinerPossible;
- BOOL bSecOutlinerPossible;
+ BOOL bTitlePossible;
+ BOOL bOutlinerPossible;
+ BOOL bSecOutlinerPossible;
};
struct SOParagraph
{
- sal_Bool bExtendedParameters;
- sal_uInt32 nParaFlags;
- sal_Int16 nBulletFlags;
- String sPrefix;
- String sSuffix;
- String sGraphicUrl; // String auf eine Graphic
- Size aBuGraSize;
- sal_uInt32 nNumberingType; // in wirlichkeit ist dies ein SvxEnum
- sal_uInt32 nHorzAdjust;
- sal_uInt32 nBulletColor;
- sal_Int32 nBulletOfs;
- sal_Int16 nStartWith; // Start der nummerierung
- sal_Int16 nTextOfs;
- sal_Int16 nBulletRealSize; // GroessenVerhaeltnis in Proz
- sal_Int16 nDepth; // aktuelle tiefe
- sal_Unicode cBulletId; // wenn Numbering Type == CharSpecial
- ::com::sun::star::awt::FontDescriptor aFontDesc;
-
- sal_Bool bExtendedBulletsUsed;
- sal_uInt16 nBulletId;
- sal_uInt32 nMappedNumType;
- sal_Bool bNumberingIsNumber;
+ sal_Bool bExtendedParameters;
+ sal_uInt32 nParaFlags;
+ sal_Int16 nBulletFlags;
+ String sPrefix;
+ String sSuffix;
+ String sGraphicUrl; // String auf eine Graphic
+ Size aBuGraSize;
+ sal_uInt32 nNumberingType; // in wirlichkeit ist dies ein SvxEnum
+ sal_uInt32 nHorzAdjust;
+ sal_uInt32 nBulletColor;
+ sal_Int32 nBulletOfs;
+ sal_Int16 nStartWith; // Start der nummerierung
+ sal_Int16 nTextOfs;
+ sal_Int16 nBulletRealSize; // GroessenVerhaeltnis in Proz
+ sal_Int16 nDepth; // aktuelle tiefe
+ sal_Unicode cBulletId; // wenn Numbering Type == CharSpecial
+ ::com::sun::star::awt::FontDescriptor aFontDesc;
+
+ sal_Bool bExtendedBulletsUsed;
+ sal_uInt16 nBulletId;
+ sal_uInt32 nMappedNumType;
+ sal_Bool bNumberingIsNumber;
SOParagraph()
{
@@ -200,15 +200,15 @@ class PPTExBulletProvider
protected :
- SvMemoryStream aBuExPictureStream;
- SvMemoryStream aBuExOutlineStream;
- SvMemoryStream aBuExMasterStream;
+ SvMemoryStream aBuExPictureStream;
+ SvMemoryStream aBuExOutlineStream;
+ SvMemoryStream aBuExMasterStream;
- EscherGraphicProvider* pGraphicProv;
+ EscherGraphicProvider* pGraphicProv;
public :
- sal_uInt16 GetId( const ByteString& rUniqueId, Size& rGraphicSize );
+ sal_uInt16 GetId( const ByteString& rUniqueId, Size& rGraphicSize );
PPTExBulletProvider();
~PPTExBulletProvider();
@@ -216,20 +216,20 @@ class PPTExBulletProvider
struct FontCollectionEntry
{
- String Name;
+ String Name;
double Scaling;
- sal_Int16 Family;
- sal_Int16 Pitch;
- sal_Int16 CharSet;
-
+ sal_Int16 Family;
+ sal_Int16 Pitch;
+ sal_Int16 CharSet;
+
String Original;
sal_Bool bIsConverted;
FontCollectionEntry( const String& rName, sal_Int16 nFamily, sal_Int16 nPitch, sal_Int16 nCharSet ) :
Scaling ( 1.0 ),
- Family ( nFamily ),
- Pitch ( nPitch ),
- CharSet ( nCharSet ),
+ Family ( nFamily ),
+ Pitch ( nPitch ),
+ CharSet ( nCharSet ),
Original( rName )
{
ImplInit( rName );
@@ -244,7 +244,7 @@ struct FontCollectionEntry
~FontCollectionEntry();
private :
-
+
FontCollectionEntry() {};
void ImplInit( const String& rName );
@@ -258,16 +258,16 @@ class FontCollection : private List
FontCollection();
~FontCollection();
- short GetScriptDirection( const String& rText ) const;
- sal_uInt32 GetId( FontCollectionEntry& rFontDescriptor );
- sal_uInt32 GetCount() const { return List::Count(); };
- const FontCollectionEntry* GetById( sal_uInt32 nId );
- FontCollectionEntry& GetLast() { return *(FontCollectionEntry*)List::Last(); };
+ short GetScriptDirection( const String& rText ) const;
+ sal_uInt32 GetId( FontCollectionEntry& rFontDescriptor );
+ sal_uInt32 GetCount() const { return List::Count(); };
+ const FontCollectionEntry* GetById( sal_uInt32 nId );
+ FontCollectionEntry& GetLast() { return *(FontCollectionEntry*)List::Last(); };
};
// ------------------------------------------------------------------------
-#define PPTEX_STYLESHEETENTRYS 9
+#define PPTEX_STYLESHEETENTRYS 9
enum PPTExTextAttr
{
@@ -306,64 +306,64 @@ enum PPTExTextAttr
struct PPTExCharLevel
{
- sal_uInt16 mnFlags;
- sal_uInt16 mnFont;
- sal_uInt16 mnAsianOrComplexFont;
- sal_uInt16 mnFontHeight;
- sal_uInt16 mnEscapement;
- sal_uInt32 mnFontColor;
+ sal_uInt16 mnFlags;
+ sal_uInt16 mnFont;
+ sal_uInt16 mnAsianOrComplexFont;
+ sal_uInt16 mnFontHeight;
+ sal_uInt16 mnEscapement;
+ sal_uInt32 mnFontColor;
};
struct PPTExCharSheet
{
- PPTExCharLevel maCharLevel[ 5 ];
+ PPTExCharLevel maCharLevel[ 5 ];
PPTExCharSheet( int nInstance );
- void SetStyleSheet( const ::com::sun::star::uno::Reference< ::com::sun::star::beans::XPropertySet > &,
+ void SetStyleSheet( const ::com::sun::star::uno::Reference< ::com::sun::star::beans::XPropertySet > &,
FontCollection& rFontCollection, int nLevel );
- void Write( SvStream& rSt, PptEscherEx* pEx, sal_uInt16 nLev, sal_Bool bFirst, sal_Bool bSimpleText,
+ void Write( SvStream& rSt, PptEscherEx* pEx, sal_uInt16 nLev, sal_Bool bFirst, sal_Bool bSimpleText,
const ::com::sun::star::uno::Reference< ::com::sun::star::beans::XPropertySet > & rPagePropSet );
};
struct PPTExParaLevel
{
- sal_Bool mbIsBullet;
- sal_uInt16 mnBulletChar;
- sal_uInt16 mnBulletFont;
- sal_uInt16 mnBulletHeight;
- sal_uInt32 mnBulletColor;
-
- sal_uInt16 mnAdjust;
- sal_uInt16 mnLineFeed;
- sal_uInt16 mnUpperDist;
- sal_uInt16 mnLowerDist;
- sal_uInt16 mnTextOfs;
- sal_uInt16 mnBulletOfs;
- sal_uInt16 mnDefaultTab;
-
- sal_Bool mbExtendedBulletsUsed;
- sal_uInt16 mnBulletId;
- sal_uInt16 mnBulletStart;
- sal_uInt32 mnMappedNumType;
- sal_uInt32 mnNumberingType;
+ sal_Bool mbIsBullet;
+ sal_uInt16 mnBulletChar;
+ sal_uInt16 mnBulletFont;
+ sal_uInt16 mnBulletHeight;
+ sal_uInt32 mnBulletColor;
+
+ sal_uInt16 mnAdjust;
+ sal_uInt16 mnLineFeed;
+ sal_uInt16 mnUpperDist;
+ sal_uInt16 mnLowerDist;
+ sal_uInt16 mnTextOfs;
+ sal_uInt16 mnBulletOfs;
+ sal_uInt16 mnDefaultTab;
+
+ sal_Bool mbExtendedBulletsUsed;
+ sal_uInt16 mnBulletId;
+ sal_uInt16 mnBulletStart;
+ sal_uInt32 mnMappedNumType;
+ sal_uInt32 mnNumberingType;
sal_uInt16 mnAsianSettings;
- sal_uInt16 mnBiDi;
+ sal_uInt16 mnBiDi;
};
struct PPTExParaSheet
{
PPTExBulletProvider& rBuProv;
- sal_uInt32 mnInstance;
+ sal_uInt32 mnInstance;
- PPTExParaLevel maParaLevel[ 5 ];
+ PPTExParaLevel maParaLevel[ 5 ];
PPTExParaSheet( int nInstance, sal_uInt16 nDefaultTab, PPTExBulletProvider& rProv );
- void SetStyleSheet( const ::com::sun::star::uno::Reference< ::com::sun::star::beans::XPropertySet > &,
+ void SetStyleSheet( const ::com::sun::star::uno::Reference< ::com::sun::star::beans::XPropertySet > &,
FontCollection& rFontCollection, int nLevel, const PPTExCharLevel& rCharLevel );
- void Write( SvStream& rSt, PptEscherEx* pEx, sal_uInt16 nLev, sal_Bool bFirst, sal_Bool bSimpleText,
+ void Write( SvStream& rSt, PptEscherEx* pEx, sal_uInt16 nLev, sal_Bool bFirst, sal_Bool bSimpleText,
const ::com::sun::star::uno::Reference< ::com::sun::star::beans::XPropertySet > & rPagePropSet );
};
@@ -372,8 +372,8 @@ class PPTExStyleSheet
public :
- PPTExCharSheet* mpCharSheet[ PPTEX_STYLESHEETENTRYS ];
- PPTExParaSheet* mpParaSheet[ PPTEX_STYLESHEETENTRYS ];
+ PPTExCharSheet* mpCharSheet[ PPTEX_STYLESHEETENTRYS ];
+ PPTExParaSheet* mpParaSheet[ PPTEX_STYLESHEETENTRYS ];
PPTExStyleSheet( sal_uInt16 nDefaultTab, PPTExBulletProvider& rBuProv );
~PPTExStyleSheet();
@@ -381,51 +381,51 @@ class PPTExStyleSheet
PPTExParaSheet& GetParaSheet( int nInstance ) { return *mpParaSheet[ nInstance ]; };
PPTExCharSheet& GetCharSheet( int nInstance ) { return *mpCharSheet[ nInstance ]; };
- void SetStyleSheet( const ::com::sun::star::uno::Reference< ::com::sun::star::beans::XPropertySet > &,
+ void SetStyleSheet( const ::com::sun::star::uno::Reference< ::com::sun::star::beans::XPropertySet > &,
FontCollection& rFontCollection, int nInstance, int nLevel );
- sal_Bool IsHardAttribute( sal_uInt32 nInstance, sal_uInt32 nLevel, PPTExTextAttr eAttr, sal_uInt32 nValue );
+ sal_Bool IsHardAttribute( sal_uInt32 nInstance, sal_uInt32 nLevel, PPTExTextAttr eAttr, sal_uInt32 nValue );
- sal_uInt32 SizeOfTxCFStyleAtom() const;
- void WriteTxCFStyleAtom( SvStream& rSt );
+ sal_uInt32 SizeOfTxCFStyleAtom() const;
+ void WriteTxCFStyleAtom( SvStream& rSt );
};
struct EPPTHyperlink
{
- String aURL;
- sal_uInt32 nType; // bit 0-7 : type ( 1: click action to a slide )
- // ( 2: hyperlink url )
+ String aURL;
+ sal_uInt32 nType; // bit 0-7 : type ( 1: click action to a slide )
+ // ( 2: hyperlink url )
// bit 8-23: index
// bit 31 : hyperlink is attached to a shape
EPPTHyperlink( const String rURL, sal_uInt32 nT ) :
- aURL ( rURL ),
- nType ( nT ){};
+ aURL ( rURL ),
+ nType ( nT ){};
};
enum PPTExOleObjEntryType
{
- NORMAL_OLE_OBJECT, OCX_CONTROL
+ NORMAL_OLE_OBJECT, OCX_CONTROL
};
struct PPTExOleObjEntry
{
- PPTExOleObjEntryType eType;
- sal_uInt32 nOfsA; // offset to the EPP_ExOleObjAtom in mpExEmbed (set at creation)
- sal_uInt32 nOfsB; // offset to the EPP_ExOleObjStg
+ PPTExOleObjEntryType eType;
+ sal_uInt32 nOfsA; // offset to the EPP_ExOleObjAtom in mpExEmbed (set at creation)
+ sal_uInt32 nOfsB; // offset to the EPP_ExOleObjStg
- ::com::sun::star::uno::Reference< ::com::sun::star::awt::XControlModel > xControlModel;
- ::com::sun::star::uno::Reference< ::com::sun::star::drawing::XShape > xShape;
+ ::com::sun::star::uno::Reference< ::com::sun::star::awt::XControlModel > xControlModel;
+ ::com::sun::star::uno::Reference< ::com::sun::star::drawing::XShape > xShape;
PPTExOleObjEntry( PPTExOleObjEntryType eT, sal_uInt32 nOfs ) :
- eType ( eT ),
- nOfsA ( nOfs ) {};
+ eType ( eT ),
+ nOfsA ( nOfs ) {};
};
struct TextRuleEntry
{
- int nPageNumber;
- SvMemoryStream* pOut;
+ int nPageNumber;
+ SvMemoryStream* pOut;
TextRuleEntry( int nPg ) :
nPageNumber( nPg ),
@@ -438,9 +438,9 @@ struct TextRuleEntry
struct GroupEntry
{
- sal_uInt32 mnCurrentPos;
- sal_uInt32 mnCount;
- ::com::sun::star::uno::Reference< ::com::sun::star::container::XIndexAccess > mXIndexAccess;
+ sal_uInt32 mnCurrentPos;
+ sal_uInt32 mnCount;
+ ::com::sun::star::uno::Reference< ::com::sun::star::container::XIndexAccess > mXIndexAccess;
GroupEntry( ::com::sun::star::uno::Reference< ::com::sun::star::container::XIndexAccess > & rIndex )
{
mXIndexAccess = rIndex;
@@ -461,25 +461,25 @@ class GroupTable
{
protected:
- sal_uInt32 mnIndex;
- sal_uInt32 mnCurrentGroupEntry;
- sal_uInt32 mnMaxGroupEntry;
- sal_uInt32 mnGroupsClosed;
- GroupEntry** mpGroupEntry;
+ sal_uInt32 mnIndex;
+ sal_uInt32 mnCurrentGroupEntry;
+ sal_uInt32 mnMaxGroupEntry;
+ sal_uInt32 mnGroupsClosed;
+ GroupEntry** mpGroupEntry;
- void ImplResizeGroupTable( sal_uInt32 nEntrys );
+ void ImplResizeGroupTable( sal_uInt32 nEntrys );
public:
- sal_uInt32 GetCurrentGroupIndex() const { return mnIndex; };
- sal_Int32 GetCurrentGroupLevel() const { return mnCurrentGroupEntry - 1; };
+ sal_uInt32 GetCurrentGroupIndex() const { return mnIndex; };
+ sal_Int32 GetCurrentGroupLevel() const { return mnCurrentGroupEntry - 1; };
::com::sun::star::uno::Reference< ::com::sun::star::container::XIndexAccess > &
GetCurrentGroupAccess() const { return mpGroupEntry[ mnCurrentGroupEntry - 1 ]->mXIndexAccess; };
- sal_uInt32 GetGroupsClosed();
- void ResetGroupTable( sal_uInt32 nCount );
- void ClearGroupTable();
+ sal_uInt32 GetGroupsClosed();
+ void ResetGroupTable( sal_uInt32 nCount );
+ void ClearGroupTable();
sal_Bool EnterGroup( ::com::sun::star::uno::Reference< ::com::sun::star::container::XIndexAccess > & rIndex );
- sal_Bool GetNextGroupEntry();
+ sal_Bool GetNextGroupEntry();
GroupTable();
~GroupTable();
};
@@ -488,13 +488,13 @@ class PropValue
{
protected :
- ::com::sun::star::uno::Any mAny;
+ ::com::sun::star::uno::Any mAny;
::com::sun::star::uno::Reference
- < ::com::sun::star::beans::XPropertySet > mXPropSet;
+ < ::com::sun::star::beans::XPropertySet > mXPropSet;
- sal_Bool ImplGetPropertyValue( const String& rString );
- sal_Bool ImplGetPropertyValue( const ::com::sun::star::uno::Reference
+ sal_Bool ImplGetPropertyValue( const String& rString );
+ sal_Bool ImplGetPropertyValue( const ::com::sun::star::uno::Reference
< ::com::sun::star::beans::XPropertySet > &, const String& );
public :
@@ -514,11 +514,11 @@ class PropStateValue : public PropValue
{
protected :
- ::com::sun::star::beans::PropertyState ePropState;
+ ::com::sun::star::beans::PropertyState ePropState;
::com::sun::star::uno::Reference
- < ::com::sun::star::beans::XPropertyState > mXPropState;
+ < ::com::sun::star::beans::XPropertyState > mXPropState;
- sal_Bool ImplGetPropertyValue( const String& rString, sal_Bool bGetPropertyState = TRUE );
+ sal_Bool ImplGetPropertyValue( const String& rString, sal_Bool bGetPropertyState = TRUE );
};
@@ -532,35 +532,35 @@ class PortionObj : public PropStateValue
protected :
- void ImplClear();
- void ImplConstruct( const PortionObj& rPortionObj );
- sal_uInt32 ImplGetTextField( ::com::sun::star::uno::Reference< ::com::sun::star::text::XTextRange > & rXTextRangeRef,
+ void ImplClear();
+ void ImplConstruct( const PortionObj& rPortionObj );
+ sal_uInt32 ImplGetTextField( ::com::sun::star::uno::Reference< ::com::sun::star::text::XTextRange > & rXTextRangeRef,
const ::com::sun::star::uno::Reference< ::com::sun::star::beans::XPropertySet > & rXPropSetRef, String& rURL );
- sal_uInt32 ImplCalculateTextPositions( sal_uInt32 nCurrentTextPosition );
- void ImplGetPortionValues( FontCollection& rFontCollection, sal_Bool bGetPropStateValue = FALSE );
+ sal_uInt32 ImplCalculateTextPositions( sal_uInt32 nCurrentTextPosition );
+ void ImplGetPortionValues( FontCollection& rFontCollection, sal_Bool bGetPropStateValue = FALSE );
public :
- ::com::sun::star::beans::PropertyState meCharColor;
- ::com::sun::star::beans::PropertyState meCharHeight;
- ::com::sun::star::beans::PropertyState meFontName;
- ::com::sun::star::beans::PropertyState meAsianOrComplexFont;
- ::com::sun::star::beans::PropertyState meCharEscapement;
- ::com::sun::star::lang::Locale meCharLocale;
- sal_uInt16 mnCharAttrHard;
+ ::com::sun::star::beans::PropertyState meCharColor;
+ ::com::sun::star::beans::PropertyState meCharHeight;
+ ::com::sun::star::beans::PropertyState meFontName;
+ ::com::sun::star::beans::PropertyState meAsianOrComplexFont;
+ ::com::sun::star::beans::PropertyState meCharEscapement;
+ ::com::sun::star::lang::Locale meCharLocale;
+ sal_uInt16 mnCharAttrHard;
- sal_uInt32 mnCharColor;
- sal_uInt16 mnCharAttr;
- sal_uInt16 mnCharHeight;
- sal_uInt16 mnFont;
- sal_uInt16 mnAsianOrComplexFont;
- sal_Int16 mnCharEscapement;
+ sal_uInt32 mnCharColor;
+ sal_uInt16 mnCharAttr;
+ sal_uInt16 mnCharHeight;
+ sal_uInt16 mnFont;
+ sal_uInt16 mnAsianOrComplexFont;
+ sal_Int16 mnCharEscapement;
- sal_uInt32 mnTextSize;
- sal_Bool mbLastPortion;
+ sal_uInt32 mnTextSize;
+ sal_Bool mbLastPortion;
- sal_uInt16* mpText;
- FieldEntry* mpFieldEntry;
+ sal_uInt16* mpText;
+ FieldEntry* mpFieldEntry;
PortionObj( ::com::sun::star::uno::Reference< ::com::sun::star::text::XTextRange > & rXTextRangeRef,
sal_Bool bLast, FontCollection& rFontCollection );
@@ -569,16 +569,16 @@ class PortionObj : public PropStateValue
PortionObj( const PortionObj& rPortionObj );
~PortionObj();
- void Write( SvStream* pStrm, sal_Bool bLast );
- sal_uInt32 Count() const { return mnTextSize; };
+ void Write( SvStream* pStrm, sal_Bool bLast );
+ sal_uInt32 Count() const { return mnTextSize; };
- PortionObj& operator=( const PortionObj& rPortionObj );
+ PortionObj& operator=( const PortionObj& rPortionObj );
};
struct ParaFlags
{
- sal_Bool bFirstParagraph : 1;
- sal_Bool bLastParagraph : 1;
+ sal_Bool bFirstParagraph : 1;
+ sal_Bool bLastParagraph : 1;
ParaFlags() { bFirstParagraph = TRUE; bLastParagraph = FALSE; };
};
@@ -588,43 +588,43 @@ class ParagraphObj : public List, public PropStateValue, public SOParagraph
friend class TextObj;
friend struct PPTExParaSheet;
- MapMode maMapModeSrc;
- MapMode maMapModeDest;
+ MapMode maMapModeSrc;
+ MapMode maMapModeDest;
protected :
- void ImplConstruct( const ParagraphObj& rParagraphObj );
- void ImplClear();
- sal_uInt32 ImplCalculateTextPositions( sal_uInt32 nCurrentTextPosition );
- void ImplGetParagraphValues( PPTExBulletProvider& rBuProv, sal_Bool bGetPropStateValue = FALSE );
- void ImplGetNumberingLevel( PPTExBulletProvider& rBuProv, sal_Int16 nDepth, sal_Bool bIsBullet, sal_Bool bGetPropStateValue = FALSE );
+ void ImplConstruct( const ParagraphObj& rParagraphObj );
+ void ImplClear();
+ sal_uInt32 ImplCalculateTextPositions( sal_uInt32 nCurrentTextPosition );
+ void ImplGetParagraphValues( PPTExBulletProvider& rBuProv, sal_Bool bGetPropStateValue = FALSE );
+ void ImplGetNumberingLevel( PPTExBulletProvider& rBuProv, sal_Int16 nDepth, sal_Bool bIsBullet, sal_Bool bGetPropStateValue = FALSE );
public :
::com::sun::star::uno::Sequence< ::com::sun::star::style::TabStop > maTabStop;
- sal_uInt32 mnTextSize;
-
- sal_Bool mbIsBullet;
- sal_Bool mbFirstParagraph;
- sal_Bool mbLastParagraph;
-
- ::com::sun::star::beans::PropertyState meBullet;
- ::com::sun::star::beans::PropertyState meTextAdjust;
- ::com::sun::star::beans::PropertyState meLineSpacing;
- ::com::sun::star::beans::PropertyState meLineSpacingTop;
- ::com::sun::star::beans::PropertyState meLineSpacingBottom;
- ::com::sun::star::beans::PropertyState meForbiddenRules;
- ::com::sun::star::beans::PropertyState meParagraphPunctation;
- ::com::sun::star::beans::PropertyState meBiDi;
-
- sal_uInt16 mnTextAdjust;
- sal_Int16 mnLineSpacing;
- sal_Int16 mnLineSpacingTop;
- sal_Int16 mnLineSpacingBottom;
- sal_Bool mbForbiddenRules;
- sal_Bool mbParagraphPunctation;
- sal_uInt16 mnBiDi;
+ sal_uInt32 mnTextSize;
+
+ sal_Bool mbIsBullet;
+ sal_Bool mbFirstParagraph;
+ sal_Bool mbLastParagraph;
+
+ ::com::sun::star::beans::PropertyState meBullet;
+ ::com::sun::star::beans::PropertyState meTextAdjust;
+ ::com::sun::star::beans::PropertyState meLineSpacing;
+ ::com::sun::star::beans::PropertyState meLineSpacingTop;
+ ::com::sun::star::beans::PropertyState meLineSpacingBottom;
+ ::com::sun::star::beans::PropertyState meForbiddenRules;
+ ::com::sun::star::beans::PropertyState meParagraphPunctation;
+ ::com::sun::star::beans::PropertyState meBiDi;
+
+ sal_uInt16 mnTextAdjust;
+ sal_Int16 mnLineSpacing;
+ sal_Int16 mnLineSpacingTop;
+ sal_Int16 mnLineSpacingBottom;
+ sal_Bool mbForbiddenRules;
+ sal_Bool mbParagraphPunctation;
+ sal_uInt16 mnBiDi;
ParagraphObj( ::com::sun::star::uno::Reference< ::com::sun::star::text::XTextContent > & rXTextContentRef,
ParaFlags, FontCollection& rFontCollection,
@@ -633,23 +633,23 @@ class ParagraphObj : public List, public PropStateValue, public SOParagraph
ParagraphObj( const ::com::sun::star::uno::Reference< ::com::sun::star::beans::XPropertySet > & rXPropSetRef,
PPTExBulletProvider& rBuProv );
- void CalculateGraphicBulletSize( sal_uInt16 nFontHeight );
+ void CalculateGraphicBulletSize( sal_uInt16 nFontHeight );
~ParagraphObj();
- void Write( SvStream* pStrm );
- sal_uInt32 Count() const { return mnTextSize; };
+ void Write( SvStream* pStrm );
+ sal_uInt32 Count() const { return mnTextSize; };
- ParagraphObj& operator=( const ParagraphObj& rParagraphObj );
+ ParagraphObj& operator=( const ParagraphObj& rParagraphObj );
};
struct ImplTextObj
{
- sal_uInt32 mnRefCount;
- sal_uInt32 mnTextSize;
- int mnInstance;
- List* mpList;
- sal_Bool mbHasExtendedBullets;
- sal_Bool mbFixedCellHeightUsed;
+ sal_uInt32 mnRefCount;
+ sal_uInt32 mnTextSize;
+ int mnInstance;
+ List* mpList;
+ sal_Bool mbHasExtendedBullets;
+ sal_Bool mbFixedCellHeightUsed;
ImplTextObj( int nInstance );
~ImplTextObj();
@@ -657,8 +657,8 @@ struct ImplTextObj
class TextObj
{
- mutable ImplTextObj* mpImplTextObj;
- void ImplCalculateTextPositions();
+ mutable ImplTextObj* mpImplTextObj;
+ void ImplCalculateTextPositions();
public :
TextObj( ::com::sun::star::uno::Reference< ::com::sun::star::text::XSimpleText > &
@@ -666,172 +666,172 @@ class TextObj
TextObj( const TextObj& rTextObj );
~TextObj();
- void Write( SvStream* pStrm );
+ void Write( SvStream* pStrm );
- ParagraphObj* First(){ return (ParagraphObj*)mpImplTextObj->mpList->First(); };
- ParagraphObj* Next(){ return(ParagraphObj*)mpImplTextObj->mpList->Next(); };
- sal_uInt32 Count() const { return mpImplTextObj->mnTextSize; };
- int GetInstance() const { return mpImplTextObj->mnInstance; };
- sal_Bool HasExtendedBullets(){ return mpImplTextObj->mbHasExtendedBullets; };
- void WriteTextSpecInfo( SvStream* pStrm );
+ ParagraphObj* First(){ return (ParagraphObj*)mpImplTextObj->mpList->First(); };
+ ParagraphObj* Next(){ return(ParagraphObj*)mpImplTextObj->mpList->Next(); };
+ sal_uInt32 Count() const { return mpImplTextObj->mnTextSize; };
+ int GetInstance() const { return mpImplTextObj->mnInstance; };
+ sal_Bool HasExtendedBullets(){ return mpImplTextObj->mbHasExtendedBullets; };
+ void WriteTextSpecInfo( SvStream* pStrm );
- TextObj& operator=( TextObj& rTextObj );
+ TextObj& operator=( TextObj& rTextObj );
};
// ------------------------------------------------------------------------
struct CellBorder;
class PPTWriter : public GroupTable, public PropValue, public PPTExBulletProvider
{
- sal_Bool mbStatus;
- sal_Bool mbUseNewAnimations;
- sal_uInt32 mnStatMaxValue;
- sal_uInt32 mnLatestStatValue;
- std::vector< PPTExStyleSheet* > maStyleSheetList;
- PPTExStyleSheet* mpStyleSheet;
-
- EscherGraphicProvider* mpGraphicProvider;
- Fraction maFraction;
- MapMode maMapModeSrc;
- MapMode maMapModeDest;
- ::com::sun::star::awt::Size maDestPageSize;
- ::com::sun::star::awt::Size maNotesPageSize;
- PageType meLatestPageType;
- List maSlideNameList;
-
- ::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::drawing::XDrawPagesSupplier > mXDrawPagesSupplier;
- ::com::sun::star::uno::Reference< ::com::sun::star::drawing::XMasterPagesSupplier > mXMasterPagesSupplier;
- ::com::sun::star::uno::Reference< ::com::sun::star::drawing::XDrawPages > mXDrawPages;
- ::com::sun::star::uno::Reference< ::com::sun::star::drawing::XDrawPage > mXDrawPage;
- ::com::sun::star::uno::Reference< ::com::sun::star::beans::XPropertySet > mXPagePropSet;
- ::com::sun::star::uno::Reference< ::com::sun::star::beans::XPropertySet > mXBackgroundPropSet;
- ::com::sun::star::uno::Reference< ::com::sun::star::drawing::XShapes > mXShapes;
- ::com::sun::star::uno::Reference< ::com::sun::star::drawing::XShape > mXShape;
- ::com::sun::star::uno::Reference< ::com::sun::star::text::XSimpleText > mXText; // TextRef des globalen Text
- ::com::sun::star::uno::Reference< ::com::sun::star::text::XTextCursor > mXCursor;
- ::com::sun::star::uno::Reference< ::com::sun::star::text::XTextRange > mXCursorText; // TextRef des Teilstuecks des Cursors
- ::com::sun::star::uno::Reference< ::com::sun::star::beans::XPropertySet > mXCursorPropSet; // die Properties des Teilstueckes
- ::com::sun::star::uno::Reference< ::com::sun::star::text::XTextField > mXTextField;
- ::com::sun::star::awt::Size maSize;
- ::com::sun::star::awt::Point maPosition;
- Rectangle maRect;
- ByteString mType;
- sal_Bool mbPresObj;
- sal_Bool mbEmptyPresObj;
- sal_Bool mbStatusIndicator;
- sal_Int32 mnAngle;
- sal_uInt32 mnTextStyle;
-
- sal_Bool mbFontIndependentLineSpacing;
- sal_uInt32 mnTextSize;
-
- SvStorageRef mrStg;
- SvStorageStream* mpCurUserStrm;
- SvStorageStream* mpStrm;
- SvStorageStream* mpPicStrm;
- PptEscherEx* mpPptEscherEx;
-
- List maExOleObj;
- sal_uInt32 mnVBAOleOfs;
- SvMemoryStream* mpVBA;
- sal_uInt32 mnExEmbed;
- SvMemoryStream* mpExEmbed;
-
- sal_uInt32 mnPages; // anzahl einzelner Slides ( ohne masterpages & notes & handout )
- sal_uInt32 mnMasterPages; //
- sal_uInt32 mnDrawings; // anzahl Slides + masterpages + notes + handout
- sal_uInt32 mnPagesWritten;
- sal_uInt32 mnUniqueSlideIdentifier;
- sal_uInt32 mnTxId; // Identifier determined by the HOST (PP) ????
- sal_uInt32 mnDiaMode; // 0 -> manuell
+ sal_Bool mbStatus;
+ sal_Bool mbUseNewAnimations;
+ sal_uInt32 mnStatMaxValue;
+ sal_uInt32 mnLatestStatValue;
+ std::vector< PPTExStyleSheet* > maStyleSheetList;
+ PPTExStyleSheet* mpStyleSheet;
+
+ EscherGraphicProvider* mpGraphicProvider;
+ Fraction maFraction;
+ MapMode maMapModeSrc;
+ MapMode maMapModeDest;
+ ::com::sun::star::awt::Size maDestPageSize;
+ ::com::sun::star::awt::Size maNotesPageSize;
+ PageType meLatestPageType;
+ List maSlideNameList;
+
+ ::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::drawing::XDrawPagesSupplier > mXDrawPagesSupplier;
+ ::com::sun::star::uno::Reference< ::com::sun::star::drawing::XMasterPagesSupplier > mXMasterPagesSupplier;
+ ::com::sun::star::uno::Reference< ::com::sun::star::drawing::XDrawPages > mXDrawPages;
+ ::com::sun::star::uno::Reference< ::com::sun::star::drawing::XDrawPage > mXDrawPage;
+ ::com::sun::star::uno::Reference< ::com::sun::star::beans::XPropertySet > mXPagePropSet;
+ ::com::sun::star::uno::Reference< ::com::sun::star::beans::XPropertySet > mXBackgroundPropSet;
+ ::com::sun::star::uno::Reference< ::com::sun::star::drawing::XShapes > mXShapes;
+ ::com::sun::star::uno::Reference< ::com::sun::star::drawing::XShape > mXShape;
+ ::com::sun::star::uno::Reference< ::com::sun::star::text::XSimpleText > mXText; // TextRef des globalen Text
+ ::com::sun::star::uno::Reference< ::com::sun::star::text::XTextCursor > mXCursor;
+ ::com::sun::star::uno::Reference< ::com::sun::star::text::XTextRange > mXCursorText; // TextRef des Teilstuecks des Cursors
+ ::com::sun::star::uno::Reference< ::com::sun::star::beans::XPropertySet > mXCursorPropSet; // die Properties des Teilstueckes
+ ::com::sun::star::uno::Reference< ::com::sun::star::text::XTextField > mXTextField;
+ ::com::sun::star::awt::Size maSize;
+ ::com::sun::star::awt::Point maPosition;
+ Rectangle maRect;
+ ByteString mType;
+ sal_Bool mbPresObj;
+ sal_Bool mbEmptyPresObj;
+ sal_Bool mbStatusIndicator;
+ sal_Int32 mnAngle;
+ sal_uInt32 mnTextStyle;
+
+ sal_Bool mbFontIndependentLineSpacing;
+ sal_uInt32 mnTextSize;
+
+ SvStorageRef mrStg;
+ SvStorageStream* mpCurUserStrm;
+ SvStorageStream* mpStrm;
+ SvStorageStream* mpPicStrm;
+ PptEscherEx* mpPptEscherEx;
+
+ List maExOleObj;
+ sal_uInt32 mnVBAOleOfs;
+ SvMemoryStream* mpVBA;
+ sal_uInt32 mnExEmbed;
+ SvMemoryStream* mpExEmbed;
+
+ sal_uInt32 mnPages; // anzahl einzelner Slides ( ohne masterpages & notes & handout )
+ sal_uInt32 mnMasterPages; //
+ sal_uInt32 mnDrawings; // anzahl Slides + masterpages + notes + handout
+ sal_uInt32 mnPagesWritten;
+ sal_uInt32 mnUniqueSlideIdentifier;
+ sal_uInt32 mnTxId; // Identifier determined by the HOST (PP) ????
+ sal_uInt32 mnDiaMode; // 0 -> manuell
// 1 -> halbautomatisch
// 2 -> automatisch
- sal_uInt32 mnShapeMasterTitle;
- sal_uInt32 mnShapeMasterBody;
-
- List maHyperlink;
-
- FontCollection maFontCollection;
- ppt::ExSoundCollection maSoundCollection;
+ sal_uInt32 mnShapeMasterTitle;
+ sal_uInt32 mnShapeMasterBody;
- PHLayout& ImplGetLayout( const ::com::sun::star::uno::Reference< ::com::sun::star::beans::XPropertySet >& rXPropSet ) const;
- void ImplWriteExtParaHeader( SvMemoryStream& rSt, sal_uInt32 nRef, sal_uInt32 nInstance, sal_uInt32 nSlideId );
+ List maHyperlink;
+ FontCollection maFontCollection;
+ ppt::ExSoundCollection maSoundCollection;
+
+ PHLayout& ImplGetLayout( const ::com::sun::star::uno::Reference< ::com::sun::star::beans::XPropertySet >& rXPropSet ) const;
+ void ImplWriteExtParaHeader( SvMemoryStream& rSt, sal_uInt32 nRef, sal_uInt32 nInstance, sal_uInt32 nSlideId );
+
- sal_uInt32 ImplProgBinaryTag( SvStream* pOutStrm = NULL );
- sal_uInt32 ImplProgBinaryTagContainer( SvStream* pOutStrm = NULL, SvMemoryStream* pBinTag = NULL );
- sal_uInt32 ImplProgTagContainer( SvStream* pOutStrm = NULL, SvMemoryStream* pBinTag = NULL );
- sal_uInt32 ImplOutlineViewInfoContainer( SvStream* pOutStrm = NULL );
- sal_uInt32 ImplSlideViewInfoContainer( sal_uInt32 nInstance, SvStream* pOutStrm = NULL );
- sal_uInt32 ImplVBAInfoContainer( SvStream* pOutStrm = NULL );
- sal_uInt32 ImplDocumentListContainer( SvStream* pOutStrm = NULL );
- sal_uInt32 ImplMasterSlideListContainer( SvStream* pOutStrm = NULL );
+ sal_uInt32 ImplProgBinaryTag( SvStream* pOutStrm = NULL );
+ sal_uInt32 ImplProgBinaryTagContainer( SvStream* pOutStrm = NULL, SvMemoryStream* pBinTag = NULL );
+ sal_uInt32 ImplProgTagContainer( SvStream* pOutStrm = NULL, SvMemoryStream* pBinTag = NULL );
+ sal_uInt32 ImplOutlineViewInfoContainer( SvStream* pOutStrm = NULL );
+ sal_uInt32 ImplSlideViewInfoContainer( sal_uInt32 nInstance, SvStream* pOutStrm = NULL );
+ sal_uInt32 ImplVBAInfoContainer( SvStream* pOutStrm = NULL );
+ sal_uInt32 ImplDocumentListContainer( SvStream* pOutStrm = NULL );
+ sal_uInt32 ImplMasterSlideListContainer( SvStream* pOutStrm = NULL );
public:
- static void WriteCString( SvStream&, const String&, sal_uInt32 nInstance = 0 );
+ static void WriteCString( SvStream&, const String&, sal_uInt32 nInstance = 0 );
protected:
- sal_Bool ImplCreateDocumentSummaryInformation( sal_uInt32 nCnvrtFlags );
- sal_Bool ImplCreateCurrentUserStream();
- void ImplCreateHeaderFooterStrings( SvStream& rOut,
+ sal_Bool ImplCreateDocumentSummaryInformation( sal_uInt32 nCnvrtFlags );
+ sal_Bool ImplCreateCurrentUserStream();
+ void ImplCreateHeaderFooterStrings( SvStream& rOut,
::com::sun::star::uno::Reference< ::com::sun::star::beans::XPropertySet >& rXPagePropSet );
- void ImplCreateHeaderFooters( ::com::sun::star::uno::Reference< ::com::sun::star::beans::XPropertySet >& rXPagePropSet );
- sal_Bool ImplCreateDocument();
- sal_Bool ImplCreateHyperBlob( SvMemoryStream& rStream );
- sal_uInt32 ImplInsertBookmarkURL( const String& rBookmark, const sal_uInt32 nType,
+ void ImplCreateHeaderFooters( ::com::sun::star::uno::Reference< ::com::sun::star::beans::XPropertySet >& rXPagePropSet );
+ sal_Bool ImplCreateDocument();
+ sal_Bool ImplCreateHyperBlob( SvMemoryStream& rStream );
+ sal_uInt32 ImplInsertBookmarkURL( const String& rBookmark, const sal_uInt32 nType,
const String& rStringVer0, const String& rStringVer1, const String& rStringVer2, const String& rStringVer3 );
- sal_Bool ImplCreateMaster( sal_uInt32 nPageNum );
- sal_Bool ImplCreateMainNotes();
- sal_Bool ImplCreateSlide( sal_uInt32 nPageNum );
- sal_Bool ImplCreateNotes( sal_uInt32 nPageNum );
- void ImplWriteBackground( ::com::sun::star::uno::Reference< ::com::sun::star::beans::XPropertySet > & rXBackgroundPropSet );
- void ImplWriteVBA( SvMemoryStream* pVBA );
- void ImplWriteOLE( sal_uInt32 nCnvrtFlags );
- sal_Bool ImplWriteAtomEnding();
-
- sal_Bool ImplInitSOIface();
- sal_Bool ImplSetCurrentStyleSheet( sal_uInt32 nPageNum );
- sal_Bool ImplGetPageByIndex( sal_uInt32 nIndex, PageType );
- sal_Bool ImplGetShapeByIndex( sal_uInt32 nIndex, sal_Bool bGroup = FALSE );
- sal_uInt32 ImplGetMasterIndex( PageType ePageType );
- void ImplFlipBoundingBox( EscherPropertyContainer& rPropOpt );
- sal_Bool ImplGetText();
- sal_Bool ImplCreatePresentationPlaceholder( const sal_Bool bMaster, const PageType PageType,
+ sal_Bool ImplCreateMaster( sal_uInt32 nPageNum );
+ sal_Bool ImplCreateMainNotes();
+ sal_Bool ImplCreateSlide( sal_uInt32 nPageNum );
+ sal_Bool ImplCreateNotes( sal_uInt32 nPageNum );
+ void ImplWriteBackground( ::com::sun::star::uno::Reference< ::com::sun::star::beans::XPropertySet > & rXBackgroundPropSet );
+ void ImplWriteVBA( SvMemoryStream* pVBA );
+ void ImplWriteOLE( sal_uInt32 nCnvrtFlags );
+ sal_Bool ImplWriteAtomEnding();
+
+ sal_Bool ImplInitSOIface();
+ sal_Bool ImplSetCurrentStyleSheet( sal_uInt32 nPageNum );
+ sal_Bool ImplGetPageByIndex( sal_uInt32 nIndex, PageType );
+ sal_Bool ImplGetShapeByIndex( sal_uInt32 nIndex, sal_Bool bGroup = FALSE );
+ sal_uInt32 ImplGetMasterIndex( PageType ePageType );
+ void ImplFlipBoundingBox( EscherPropertyContainer& rPropOpt );
+ sal_Bool ImplGetText();
+ sal_Bool ImplCreatePresentationPlaceholder( const sal_Bool bMaster, const PageType PageType,
const sal_uInt32 StyleInstance, const sal_uInt8 PlaceHolderId );
- sal_Bool ImplGetEffect( const ::com::sun::star::uno::Reference< ::com::sun::star::beans::XPropertySet > &,
+ sal_Bool ImplGetEffect( const ::com::sun::star::uno::Reference< ::com::sun::star::beans::XPropertySet > &,
::com::sun::star::presentation::AnimationEffect& eEffect,
::com::sun::star::presentation::AnimationEffect& eTextEffect,
- sal_Bool& bHasSound );
- void ImplWriteObjectEffect( SvStream& rSt,
+ sal_Bool& bHasSound );
+ void ImplWriteObjectEffect( SvStream& rSt,
::com::sun::star::presentation::AnimationEffect eEffect,
::com::sun::star::presentation::AnimationEffect eTextEffect,
sal_uInt16 nOrder );
- void ImplWriteClickAction( SvStream& rSt, ::com::sun::star::presentation::ClickAction eAction, sal_Bool bMediaClickAction );
- sal_Bool ImplGetStyleSheets();
- void ImplWriteParagraphs( SvStream& rOutStrm, TextObj& rTextObj );
- void ImplWritePortions( SvStream& rOutStrm, TextObj& rTextObj );
- void ImplWriteTextStyleAtom( SvStream& rOut, int nTextInstance, sal_uInt32 nAtomInstance,
+ void ImplWriteClickAction( SvStream& rSt, ::com::sun::star::presentation::ClickAction eAction, sal_Bool bMediaClickAction );
+ sal_Bool ImplGetStyleSheets();
+ void ImplWriteParagraphs( SvStream& rOutStrm, TextObj& rTextObj );
+ void ImplWritePortions( SvStream& rOutStrm, TextObj& rTextObj );
+ void ImplWriteTextStyleAtom( SvStream& rOut, int nTextInstance, sal_uInt32 nAtomInstance,
TextRuleEntry* pTextRule, SvStream& rExtBu, EscherPropertyContainer* );
- void ImplAdjustFirstLineLineSpacing( TextObj& rTextObj, EscherPropertyContainer& rPropOpt );
- void ImplCreateShape( sal_uInt32 nType, sal_uInt32 nFlags, EscherSolverContainer& );
- void ImplCreateTextShape( EscherPropertyContainer&, EscherSolverContainer&, sal_Bool bFill );
+ void ImplAdjustFirstLineLineSpacing( TextObj& rTextObj, EscherPropertyContainer& rPropOpt );
+ void ImplCreateShape( sal_uInt32 nType, sal_uInt32 nFlags, EscherSolverContainer& );
+ void ImplCreateTextShape( EscherPropertyContainer&, EscherSolverContainer&, sal_Bool bFill );
- void ImplWritePage( const PHLayout& rLayout,
+ void ImplWritePage( const PHLayout& rLayout,
EscherSolverContainer& rSolver,
PageType ePageType,
sal_Bool bMaster,
int nPageNumber = 0 );
- void ImplCreateCellBorder( const CellBorder* pCellBorder, sal_Int32 nX1, sal_Int32 nY1, sal_Int32 nX2, sal_Int32 nY2 );
- void ImplCreateTable( com::sun::star::uno::Reference< com::sun::star::drawing::XShape >& rXShape, EscherSolverContainer& aSolverContainer,
+ void ImplCreateCellBorder( const CellBorder* pCellBorder, sal_Int32 nX1, sal_Int32 nY1, sal_Int32 nX2, sal_Int32 nY2 );
+ void ImplCreateTable( com::sun::star::uno::Reference< com::sun::star::drawing::XShape >& rXShape, EscherSolverContainer& aSolverContainer,
EscherPropertyContainer& aPropOpt );
- ::com::sun::star::awt::Point ImplMapPoint( const ::com::sun::star::awt::Point& );
- ::com::sun::star::awt::Size ImplMapSize( const ::com::sun::star::awt::Size& );
- Rectangle ImplMapRectangle( const ::com::sun::star::awt::Rectangle& );
+ ::com::sun::star::awt::Point ImplMapPoint( const ::com::sun::star::awt::Point& );
+ ::com::sun::star::awt::Size ImplMapSize( const ::com::sun::star::awt::Size& );
+ Rectangle ImplMapRectangle( const ::com::sun::star::awt::Rectangle& );
- sal_Bool ImplCloseDocument(); // die font-, hyper-, Soundliste wird geschrieben ..
+ sal_Bool ImplCloseDocument(); // die font-, hyper-, Soundliste wird geschrieben ..
public:
PPTWriter( SvStorageRef& rSvStorage,
@@ -841,7 +841,7 @@ class PPTWriter : public GroupTable, public PropValue, public PPTExBulletProvide
~PPTWriter();
- sal_Bool IsValid() const { return mbStatus; };
+ sal_Bool IsValid() const { return mbStatus; };
};
diff --git a/sd/source/filter/eppt/epptdef.hxx b/sd/source/filter/eppt/epptdef.hxx
index 7d23fee19344..f4f651aef09f 100644
--- a/sd/source/filter/eppt/epptdef.hxx
+++ b/sd/source/filter/eppt/epptdef.hxx
@@ -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
@@ -30,7 +30,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.
@@ -54,7 +54,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
@@ -100,8 +100,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
@@ -128,13 +128,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
@@ -176,7 +176,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
@@ -211,53 +211,53 @@
#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 f4462da6b8b8..c948353fac98 100755
--- a/sd/source/filter/eppt/epptso.cxx
+++ b/sd/source/filter/eppt/epptso.cxx
@@ -385,8 +385,8 @@ sal_uInt32 FontCollection::GetId( FontCollectionEntry& rEntry )
Font aFont;
aFont.SetCharSet( rEntry.CharSet );
aFont.SetName( rEntry.Original );
-// aFont.SetFamily( rEntry.Family );
-// aFont.SetPitch( rEntry.Pitch );
+// aFont.SetFamily( rEntry.Family );
+// aFont.SetPitch( rEntry.Pitch );
aFont.SetHeight( 100 );
if ( !pVDev )
@@ -713,7 +713,7 @@ sal_Bool PPTWriter::ImplCloseDocument()
SvMemoryStream aTxMasterStyleAtomStrm( 0x200, 0x200 );
{
EscherExAtom aTxMasterStyleAtom( aTxMasterStyleAtomStrm, EPP_TxMasterStyleAtom, EPP_TEXTTYPE_Other );
- aTxMasterStyleAtomStrm << (sal_uInt16)5; // paragraph count
+ aTxMasterStyleAtomStrm << (sal_uInt16)5; // paragraph count
sal_uInt16 nLev;
sal_Bool bFirst = sal_True;
for ( nLev = 0; nLev < 5; nLev++ )
@@ -732,7 +732,7 @@ sal_Bool PPTWriter::ImplCloseDocument()
+ 8 // 1 FontCollection Container
+ 20 // SrKinsoku Container
+ 18 // 1 TxSiStyleAtom
- + aTxMasterStyleAtomStrm.Tell() // 1 TxMasterStyleAtom;
+ + aTxMasterStyleAtomStrm.Tell() // 1 TxMasterStyleAtom;
+ mpStyleSheet->SizeOfTxCFStyleAtom();
sal_uInt32 nBytesToInsert = nEnvironment + 8;
@@ -1187,7 +1187,7 @@ sal_Bool PPTWriter::ImplGetStyleSheets()
{
int nInstance, nLevel;
sal_Bool bRetValue = sal_False;
- sal_uInt32 nPageNum;
+ sal_uInt32 nPageNum;
for ( nPageNum = 0; nPageNum < mnMasterPages; nPageNum++ )
{
@@ -1351,7 +1351,7 @@ void PPTWriter::ImplWriteParagraphs( SvStream& rOut, TextObj& rTextObj )
fN *= pDesc->Scaling;
nNormalSpacing = (sal_Int16)( fN + 0.5 );
}
- if ( !mbFontIndependentLineSpacing && bFirstParagraph && ( nLineSpacing > nNormalSpacing ) ) // sj: i28747, no replacement for fixed linespacing
+ if ( !mbFontIndependentLineSpacing && bFirstParagraph && ( nLineSpacing > nNormalSpacing ) ) // sj: i28747, no replacement for fixed linespacing
{
nLineSpacing = nNormalSpacing;
nPropertyFlags |= 0x00001000;
@@ -1485,8 +1485,8 @@ void PPTWriter::ImplWritePortions( SvStream& rOut, TextObj& rTextObj )
{
sal_uInt32 nBackgroundColor = 0xffffff;
- if ( !nCharColor ) // special threatment for
- nCharColor = 0xffffff; // black fontcolor
+ if ( !nCharColor ) // special threatment for
+ nCharColor = 0xffffff; // black fontcolor
::com::sun::star::uno::Any aAny;
::com::sun::star::drawing::FillStyle aFS( ::com::sun::star::drawing::FillStyle_NONE );
@@ -1554,7 +1554,7 @@ void PPTWriter::ImplWritePortions( SvStream& rOut, TextObj& rTextObj )
// not possible to export the 'embossed' flag
if ( ( GetCurrentGroupLevel() > 0 ) && ( GetCurrentGroupIndex() >= 1 ) )
{
- ::com::sun::star::uno::Reference< ::com::sun::star::drawing::XShape > aGroupedShape( GetCurrentGroupAccess()->getByIndex( GetCurrentGroupIndex() - 1 ), uno::UNO_QUERY );
+ ::com::sun::star::uno::Reference< ::com::sun::star::drawing::XShape > aGroupedShape( GetCurrentGroupAccess()->getByIndex( GetCurrentGroupIndex() - 1 ), uno::UNO_QUERY );
if( aGroupedShape.is() )
{
::com::sun::star::uno::Reference< ::com::sun::star::beans::XPropertySet > aPropSetOfNextShape
@@ -1701,7 +1701,7 @@ struct FieldEntry
sal_uInt32 nFieldType;
sal_uInt32 nFieldStartPos;
sal_uInt32 nFieldEndPos;
- String aRepresentation;
+ String aRepresentation;
String aFieldUrl;
FieldEntry( sal_uInt32 nType, sal_uInt32 nStart, sal_uInt32 nEnd )
@@ -1966,7 +1966,7 @@ void PortionObj::ImplGetPortionValues( FontCollection& rFontCollection, sal_Bool
case com::sun::star::i18n::ScriptType::COMPLEX :
{
aCharHeightName = String( RTL_CONSTASCII_USTRINGPARAM( "CharHeightComplex" ) );
- aCharWeightName = String( RTL_CONSTASCII_USTRINGPARAM( "CharWeightComplex" ) );
+ aCharWeightName = String( RTL_CONSTASCII_USTRINGPARAM( "CharWeightComplex" ) );
aCharLocaleName = String( RTL_CONSTASCII_USTRINGPARAM( "CharLocaleComplex" ) );
aCharPostureName = String( RTL_CONSTASCII_USTRINGPARAM( "CharPostureComplex" ) );
break;
@@ -2131,10 +2131,10 @@ sal_uInt32 PortionObj::ImplCalculateTextPositions( sal_uInt32 nCurrentTextPositi
// 2 = Time
// 3 = SlideNumber
// 4 = Url
-// 5 = DateTime
-// 6 = header
-// 7 = footer
-// bit24->27 text field sub type (optional)
+// 5 = DateTime
+// 6 = header
+// 7 = footer
+// bit24->27 text field sub type (optional)
// 23-> PPT Textfield needs a placeholder
sal_uInt32 PortionObj::ImplGetTextField( ::com::sun::star::uno::Reference< ::com::sun::star::text::XTextRange > & ,
@@ -3039,9 +3039,9 @@ void TextObj::WriteTextSpecInfo( SvStream* pStrm )
nCharactersLeft -= nPortionSize;
*pStrm << static_cast< sal_uInt32 >( nPortionSize )
<< nFlags
- << static_cast< sal_Int16 >( 1 ) // spellinfo -> needs rechecking
+ << static_cast< sal_Int16 >( 1 ) // spellinfo -> needs rechecking
<< static_cast< sal_Int16 >( MsLangId::convertLocaleToLanguageWithFallback( pPortion->meCharLocale ) )
- << static_cast< sal_Int16 >( 0 ); // alt language
+ << static_cast< sal_Int16 >( 0 ); // alt language
}
}
if ( nCharactersLeft )
@@ -3160,9 +3160,9 @@ void PPTWriter::ImplWriteTextStyleAtom( SvStream& rOut, int nTextInstance, sal_u
case 2 :
{
rOut << (sal_uInt32)( EPP_DateTimeMCAtom << 16 ) << (sal_uInt32)8
- << (sal_uInt32)( pFieldEntry->nFieldStartPos ) // TxtOffset auf TxtField;
- << (sal_uInt8)( pFieldEntry->nFieldType & 0xff ) // Type
- << (sal_uInt8)0 << (sal_uInt16)0; // PadBytes
+ << (sal_uInt32)( pFieldEntry->nFieldStartPos ) // TxtOffset auf TxtField;
+ << (sal_uInt8)( pFieldEntry->nFieldType & 0xff ) // Type
+ << (sal_uInt8)0 << (sal_uInt16)0; // PadBytes
}
break;
case 3 :
@@ -3204,9 +3204,9 @@ void PPTWriter::ImplWriteTextStyleAtom( SvStream& rOut, int nTextInstance, sal_u
rOut << (sal_uInt32)( ( EPP_InteractiveInfo << 16 ) | 0xf ) << (sal_uInt32)24
<< (sal_uInt32)( EPP_InteractiveInfoAtom << 16 ) << (sal_uInt32)16
- << (sal_uInt32)0 // soundref
- << nHyperId // hyperlink id
- << (sal_uInt8)4 // hyperlink action
+ << (sal_uInt32)0 // soundref
+ << nHyperId // hyperlink id
+ << (sal_uInt8)4 // hyperlink action
<< (sal_uInt8)0 // ole verb
<< (sal_uInt8)0 // jump
<< (sal_uInt8)0 // flags
@@ -4068,7 +4068,7 @@ void PPTWriter::ImplWriteClickAction( SvStream& rSt, ::com::sun::star::presentat
<< nFlags
<< (sal_uInt32)nHyperLinkType;
- if ( nAction == 2 ) // run program Action
+ if ( nAction == 2 ) // run program Action
{
sal_uInt16 i, nLen = aFile.Len();
rSt << (sal_uInt32)( ( EPP_CString << 16 ) | 0x20 ) << (sal_uInt32)( nLen * 2 );
@@ -4134,7 +4134,7 @@ sal_Bool PPTWriter::ImplCreatePresentationPlaceholder( const sal_Bool bMasterPag
aPropOpt.AddOpt( ESCHER_Prop_fNoLineDrawDash, nLineFlags );
SvMemoryStream aExtBu( 0x200, 0x200 );
- SvMemoryStream aClientTextBox( 0x200, 0x200 );
+ SvMemoryStream aClientTextBox( 0x200, 0x200 );
ImplWriteTextStyleAtom( aClientTextBox, nStyleInstance, 0, NULL, aExtBu, &aPropOpt );
aPropOpt.CreateTextProperties( mXPropSet, mnTxId += 0x60, sal_False, sal_True );
@@ -4145,10 +4145,10 @@ sal_Bool PPTWriter::ImplCreatePresentationPlaceholder( const sal_Bool bMasterPag
mpPptEscherEx->OpenContainer( ESCHER_ClientData );
mpPptEscherEx->AddAtom( 8, EPP_OEPlaceholderAtom );
*mpStrm << (sal_uInt32)0 // PlacementID
- << (sal_uInt8)nPlaceHolderId // PlaceHolderID
- << (sal_uInt8)0 // Size of PlaceHolder ( 0 = FULL, 1 = HALF, 2 = QUARTER )
+ << (sal_uInt8)nPlaceHolderId // PlaceHolderID
+ << (sal_uInt8)0 // Size of PlaceHolder ( 0 = FULL, 1 = HALF, 2 = QUARTER )
<< (sal_uInt16)0; // padword
- mpPptEscherEx->CloseContainer(); // ESCHER_ClientData
+ mpPptEscherEx->CloseContainer(); // ESCHER_ClientData
/*
if ( aExtBu.Tell() )
{
@@ -4325,7 +4325,7 @@ void PPTWriter::ImplWritePage( const PHLayout& rLayout, EscherSolverContainer& a
rtl::OUString sCustomShapeType;
MSO_SPT eShapeType = aPropOpt.GetCustomShapeType( mXShape, nMirrorFlags, sCustomShapeType );
if ( sCustomShapeType.equalsAscii( "col-502ad400" ) || sCustomShapeType.equalsAscii( "col-60da8460" ) )
- { // sj: creating metafile for customshapes that can't be saved to ms format properly
+ { // sj: creating metafile for customshapes that can't be saved to ms format properly
ImplCreateShape( ESCHER_ShpInst_PictureFrame, 0xa00, aSolverContainer );
if ( aPropOpt.CreateGraphicProperties( mXPropSet, String( RTL_CONSTASCII_USTRINGPARAM( "MetaFile" ) ), sal_False ) )
{
@@ -4827,8 +4827,8 @@ void PPTWriter::ImplWritePage( const PHLayout& rLayout, EscherSolverContainer& a
aPropertyOptions.AddOpt( ESCHER_Prop_LockAgainstGrouping, 0x50001 );
aPropertyOptions.AddOpt( ESCHER_Prop_lTxid, mnTxId += 0x60 );
aPropertyOptions.AddOpt( ESCHER_Prop_AnchorText, ESCHER_AnchorMiddle );
-// aPropertyOptions.AddOpt( ESCHER_Prop_fillColor, nFillColor );
-// aPropertyOptions.AddOpt( ESCHER_Prop_fillBackColor, nFillBackColor );
+// aPropertyOptions.AddOpt( ESCHER_Prop_fillColor, nFillColor );
+// aPropertyOptions.AddOpt( ESCHER_Prop_fillBackColor, nFillBackColor );
aPropertyOptions.AddOpt( ESCHER_Prop_fNoFillHitTest, 0x110001 );
aPropertyOptions.AddOpt( ESCHER_Prop_lineColor, 0x8000001 );
aPropertyOptions.AddOpt( ESCHER_Prop_shadowColor, 0x8000002 );
@@ -4920,8 +4920,8 @@ void PPTWriter::ImplWritePage( const PHLayout& rLayout, EscherSolverContainer& a
EscherPropertyContainer aPropOpt2;
aPropOpt2.AddOpt( ESCHER_Prop_LockAgainstGrouping, 0x50001 );
aPropOpt2.AddOpt( ESCHER_Prop_lTxid, mnTxId += 0x60 );
-// aPropOpt2.AddOpt( ESCHER_Prop_fillColor, nFillColor );
-// aPropOpt2.AddOpt( ESCHER_Prop_fillBackColor, nFillBackColor );
+// aPropOpt2.AddOpt( ESCHER_Prop_fillColor, nFillColor );
+// aPropOpt2.AddOpt( ESCHER_Prop_fillBackColor, nFillBackColor );
aPropOpt2.AddOpt( ESCHER_Prop_fNoFillHitTest, 0x110001 );
aPropOpt2.AddOpt( ESCHER_Prop_lineColor, 0x8000001 );
aPropOpt2.AddOpt( ESCHER_Prop_fNoLineDrawDash, 0x90001 );
@@ -5061,14 +5061,14 @@ void PPTWriter::ImplWritePage( const PHLayout& rLayout, EscherSolverContainer& a
*mpExEmbed << (sal_uInt32)( 1 | ( EPP_ExOleObjAtom << 16 ) )
<< (sal_uInt32)24
- << (sal_uInt32)nAspect // Aspect
+ << (sal_uInt32)nAspect // Aspect
<< (sal_uInt32)0
<< (sal_uInt32)mnExEmbed // index to the persist table
<< (sal_uInt32)0 // subtype
<< (sal_uInt32)0
<< (sal_uInt32)0x0012b600;
-// PPTWriter::WriteCString( *mpExEmbed, "Photo Editor Photo", 1 );
+// PPTWriter::WriteCString( *mpExEmbed, "Photo Editor Photo", 1 );
// PPTWriter::WriteCString( *mpExEmbed, "MSPhotoEd.3", 2 );
// PPTWriter::WriteCString( *mpExEmbed, "Microsoft Photo Editor 3.0 Photo", 3 );
@@ -5160,7 +5160,7 @@ void PPTWriter::ImplWritePage( const PHLayout& rLayout, EscherSolverContainer& a
sal_uInt32 nRefId = ++mnExEmbed;
*mpExEmbed << (sal_uInt16)0xf
- << (sal_uInt16)EPP_ExMCIMovie // PPT_PST_ExAviMovie
+ << (sal_uInt16)EPP_ExMCIMovie // PPT_PST_ExAviMovie
<< (sal_uInt32)0;
sal_uInt32 nSize, nStart = mpExEmbed->Tell();
*mpExEmbed << (sal_uInt16)0
@@ -5171,7 +5171,7 @@ void PPTWriter::ImplWritePage( const PHLayout& rLayout, EscherSolverContainer& a
<< (sal_uInt16)EPP_ExVideo
<< (sal_uInt32)0;
- *mpExEmbed << (sal_uInt16)0
+ *mpExEmbed << (sal_uInt16)0
<< (sal_uInt16)EPP_ExMediaAtom
<< (sal_uInt32)8
<< nRefId
@@ -5188,10 +5188,10 @@ void PPTWriter::ImplWritePage( const PHLayout& rLayout, EscherSolverContainer& a
}
nSize = mpExEmbed->Tell() - nStart;
mpExEmbed->SeekRel( - ( (sal_Int32)nSize + 4 ) );
- *mpExEmbed << nSize; // size of PPT_PST_ExMCIMovie
+ *mpExEmbed << nSize; // size of PPT_PST_ExMCIMovie
mpExEmbed->SeekRel( 0x10 );
nSize -= 20;
- *mpExEmbed << nSize; // PPT_PST_ExMediaAtom
+ *mpExEmbed << nSize; // PPT_PST_ExMediaAtom
mpExEmbed->SeekRel( nSize );
if ( !pClientData )
@@ -5321,7 +5321,7 @@ void PPTWriter::ImplWritePage( const PHLayout& rLayout, EscherSolverContainer& a
{
sal_uInt32 nTextType = EPP_TEXTTYPE_Body;
if ( mnTextStyle == EPP_TEXTSTYLE_BODY )
- {
+ {
if ( bSecOutl )
nTextType = EPP_TEXTTYPE_HalfBody;
else if ( mType == "presentation.Subtitle" )
@@ -5516,9 +5516,9 @@ Rectangle PPTWriter::ImplMapRectangle( const ::com::sun::star::awt::Rectangle& r
struct CellBorder
{
- sal_Int32 mnPos; // specifies the distance to the top/left position of the table
- sal_Int32 mnLength;
- table::BorderLine maCellBorder;
+ sal_Int32 mnPos; // specifies the distance to the top/left position of the table
+ sal_Int32 mnLength;
+ table::BorderLine maCellBorder;
CellBorder() : mnPos ( 0 ), mnLength( 0 ){};
};
@@ -5538,16 +5538,16 @@ void PPTWriter::ImplCreateCellBorder( const CellBorder* pCellBorder, sal_Int32 n
aPropOptSp.AddOpt( ESCHER_Prop_fNoLineDrawDash, 0xa0008 );
aPropOptSp.AddOpt( ESCHER_Prop_fshadowObscured, 0x20000 );
- sal_uInt32 nBorderColor = pCellBorder->maCellBorder.Color & 0xff00; // green
- nBorderColor |= static_cast< sal_uInt8 >( pCellBorder->maCellBorder.Color ) << 16; // red
- nBorderColor |= static_cast< sal_uInt8 >( pCellBorder->maCellBorder.Color >> 16 ); // blue
+ sal_uInt32 nBorderColor = pCellBorder->maCellBorder.Color & 0xff00; // green
+ nBorderColor |= static_cast< sal_uInt8 >( pCellBorder->maCellBorder.Color ) << 16; // red
+ nBorderColor |= static_cast< sal_uInt8 >( pCellBorder->maCellBorder.Color >> 16 ); // blue
aPropOptSp.AddOpt( ESCHER_Prop_lineColor, nBorderColor );
aPropOptSp.AddOpt( ESCHER_Prop_lineWidth, nLineWidth * 360 );
aPropOptSp.AddOpt( ESCHER_Prop_fc3DLightFace, 0x80000 );
aPropOptSp.Commit( *mpStrm );
mpPptEscherEx->AddAtom( 16, ESCHER_ChildAnchor );
- *mpStrm << nX1
+ *mpStrm << nX1
<< nY1
<< nX2
<< nY2;
@@ -5573,18 +5573,18 @@ void PPTWriter::ImplCreateTable( uno::Reference< drawing::XShape >& rXShape, Esc
mpPptEscherEx->OpenContainer( ESCHER_SpgrContainer );
mpPptEscherEx->OpenContainer( ESCHER_SpContainer );
mpPptEscherEx->AddAtom( 16, ESCHER_Spgr, 1 );
- *mpStrm << (INT32)maRect.Left() // Bounding box fuer die Gruppierten shapes an die sie attached werden
+ *mpStrm << (INT32)maRect.Left() // Bounding box fuer die Gruppierten shapes an die sie attached werden
<< (INT32)maRect.Top()
<< (INT32)maRect.Right()
<< (INT32)maRect.Bottom();
sal_uInt32 nShapeId = mpPptEscherEx->GenerateShapeId();
- mpPptEscherEx->AddShape( ESCHER_ShpInst_Min, 0x201, nShapeId ); // Flags: Group | Patriarch
+ mpPptEscherEx->AddShape( ESCHER_ShpInst_Min, 0x201, nShapeId ); // Flags: Group | Patriarch
aSolverContainer.AddShape( rXShape, nShapeId );
EscherPropertyContainer aPropOpt2;
try
{
- static const rtl::OUString sModel( RTL_CONSTASCII_USTRINGPARAM ( "Model" ) );
+ static const rtl::OUString sModel( RTL_CONSTASCII_USTRINGPARAM ( "Model" ) );
static const rtl::OUString sWidth( RTL_CONSTASCII_USTRINGPARAM ( "Width" ) );
static const rtl::OUString sHeight( RTL_CONSTASCII_USTRINGPARAM ( "Height" ) );
@@ -5703,7 +5703,7 @@ void PPTWriter::ImplCreateTable( uno::Reference< drawing::XShape >& rXShape, Esc
aPropOptSp.Commit( *mpStrm );
mpPptEscherEx->AddAtom( 16, ESCHER_ChildAnchor );
- *mpStrm << nLeft
+ *mpStrm << nLeft
<< nTop
<< nRight
<< nBottom;
@@ -5720,9 +5720,9 @@ void PPTWriter::ImplCreateTable( uno::Reference< drawing::XShape >& rXShape, Esc
static const rtl::OUString sTopBorder( String( RTL_CONSTASCII_USTRINGPARAM( "TopBorder" ) ) );
static const rtl::OUString sBottomBorder( String( RTL_CONSTASCII_USTRINGPARAM( "BottomBorder" ) ) );
static const rtl::OUString sLeftBorder( String( RTL_CONSTASCII_USTRINGPARAM( "LeftBorder" ) ) );
- static const rtl::OUString sRightBorder( String( RTL_CONSTASCII_USTRINGPARAM( "RightBorder" ) ) );
- static const rtl::OUString sDiagonalTLBR( RTL_CONSTASCII_USTRINGPARAM ( "DiagonalTLBR" ) );
- static const rtl::OUString sDiagonalBLTR( RTL_CONSTASCII_USTRINGPARAM ( "DiagonalBLTR" ) );
+ static const rtl::OUString sRightBorder( String( RTL_CONSTASCII_USTRINGPARAM( "RightBorder" ) ) );
+ static const rtl::OUString sDiagonalTLBR( RTL_CONSTASCII_USTRINGPARAM ( "DiagonalTLBR" ) );
+ static const rtl::OUString sDiagonalBLTR( RTL_CONSTASCII_USTRINGPARAM ( "DiagonalBLTR" ) );
// creating horz lines
sal_Int32 nYPos = ImplMapPoint( rXShape->getPosition() ).Y;
@@ -5741,7 +5741,7 @@ void PPTWriter::ImplCreateTable( uno::Reference< drawing::XShape >& rXShape, Esc
aCellBorder.mnPos = nXPos;
aCellBorder.mnLength = aM.Width;
if ( nLine < xRows->getCount() )
- { // top border
+ { // top border
uno::Reference< table::XMergeableCell > xCell( xCellRange->getCellByPosition( nColumn, nLine ), uno::UNO_QUERY_THROW );
uno::Reference< beans::XPropertySet > xPropSet2( xCell, uno::UNO_QUERY_THROW );
table::BorderLine aBorderLine;
@@ -5749,7 +5749,7 @@ void PPTWriter::ImplCreateTable( uno::Reference< drawing::XShape >& rXShape, Esc
aCellBorder.maCellBorder = aBorderLine;
}
if ( nLine )
- { // bottom border
+ { // bottom border
uno::Reference< table::XMergeableCell > xCell( xCellRange->getCellByPosition( nColumn, nLine - 1 ), uno::UNO_QUERY_THROW );
uno::Reference< beans::XPropertySet > xPropSet2( xCell, uno::UNO_QUERY_THROW );
table::BorderLine aBorderLine;
@@ -5793,7 +5793,7 @@ void PPTWriter::ImplCreateTable( uno::Reference< drawing::XShape >& rXShape, Esc
aCellBorder.mnPos = nYPos;
aCellBorder.mnLength = aM.Height;
if ( nLine < xColumns->getCount() )
- { // left border
+ { // left border
uno::Reference< table::XMergeableCell > xCell( xCellRange->getCellByPosition( nLine, nRow ), uno::UNO_QUERY_THROW );
uno::Reference< beans::XPropertySet > xCellSet( xCell, uno::UNO_QUERY_THROW );
table::BorderLine aBorderLine;
@@ -5801,7 +5801,7 @@ void PPTWriter::ImplCreateTable( uno::Reference< drawing::XShape >& rXShape, Esc
aCellBorder.maCellBorder = aBorderLine;
}
if ( nLine )
- { // right border
+ { // right border
uno::Reference< table::XMergeableCell > xCell( xCellRange->getCellByPosition( nLine - 1, nRow ), uno::UNO_QUERY_THROW );
uno::Reference< beans::XPropertySet > xCellSet( xCell, uno::UNO_QUERY_THROW );
table::BorderLine aBorderLine;
diff --git a/sd/source/filter/eppt/escherex.cxx b/sd/source/filter/eppt/escherex.cxx
index fbb94de67ae7..fbbf178c0a5f 100644
--- a/sd/source/filter/eppt/escherex.cxx
+++ b/sd/source/filter/eppt/escherex.cxx
@@ -40,7 +40,7 @@
PptEscherEx::PptEscherEx( SvStream& rOutStrm ) :
EscherEx( EscherExGlobalRef( new EscherExGlobal ), rOutStrm )
{
- mnCurrentDg = 0;
+ mnCurrentDg = 0;
}
// ---------------------------------------------------------------------------------------------
@@ -53,7 +53,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 );
@@ -108,18 +108,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()
{
@@ -168,8 +168,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;
@@ -259,17 +259,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
AddAtom( 8, ESCHER_ClientAnchor );
PtReplaceOrInsert( ESCHER_Persist_Grouping_Logic | mnGroupLevel, mpOutStrm->Tell() );
*mpOutStrm << (INT16)aRect.Top() << (INT16)aRect.Left() << (INT16)aRect.Right() << (INT16)aRect.Bottom();
@@ -285,7 +285,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 739ef6300d1c..1e2222d7a017 100644
--- a/sd/source/filter/eppt/escherex.hxx
+++ b/sd/source/filter/eppt/escherex.hxx
@@ -48,27 +48,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 4e4b50007443..cceeed929c3e 100644
--- a/sd/source/filter/eppt/pptexanimations.cxx
+++ b/sd/source/filter/eppt/pptexanimations.cxx
@@ -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
@@ -163,8 +163,8 @@ void ImplTranslateAttribute( rtl::OUString& rString, const TranslateMode eTransl
sal_uInt32 ImplTranslatePresetSubType( const sal_uInt32 nPresetClass, const sal_uInt32 nPresetId, const rtl::OUString& rPresetSubType )
{
- sal_uInt32 nPresetSubType = 0;
- sal_Bool bTranslated = sal_False;
+ sal_uInt32 nPresetSubType = 0;
+ sal_Bool bTranslated = sal_False;
if ( ( nPresetClass == (sal_uInt32)EffectPresetClass::ENTRANCE ) || ( nPresetClass == (sal_uInt32)EffectPresetClass::EXIT ) )
{
@@ -244,7 +244,7 @@ sal_uInt32 ImplTranslatePresetSubType( const sal_uInt32 nPresetClass, const sal_
const sal_Char* transition::find( const sal_Int16 nType, const sal_Int16 nSubType, const sal_Bool bDirection )
{
const sal_Char* pRet = NULL;
- int nFit = 0;
+ int nFit = 0;
const transition* p = gTransitions;
while( p->mpName )
@@ -261,7 +261,7 @@ const sal_Char* transition::find( const sal_Int16 nType, const sal_Int16 nSubTyp
pRet = p->mpName;
nFit = nF;
}
- if ( nFit == 7 ) // maximum
+ if ( nFit == 7 ) // maximum
break;
p++;
}
@@ -283,7 +283,7 @@ SvStream& operator<<(SvStream& rOut, AnimationNode& rNode )
}
AnimationExporter::AnimationExporter( const EscherSolverContainer& rSolverContainer, ppt::ExSoundCollection& rExSoundCollection ) :
- mrSolverContainer ( rSolverContainer ),
+ mrSolverContainer ( rSolverContainer ),
mrExSoundCollection ( rExSoundCollection ),
mnCurrentGroup(0)
{
@@ -508,7 +508,7 @@ void AnimationExporter::exportNode( SvStream& rStrm, Reference< XAnimationNode >
sal_Int16 nFillDefault = GetFillMode( xNode, nFDef );
bool bSkipChildren = false;
-
+
Reference< XAnimationNode > xAudioNode;
static sal_uInt32 nAudioGroup;
@@ -676,7 +676,7 @@ void AnimationExporter::exportNode( SvStream& rStrm, Reference< XAnimationNode >
}
break;
- case AnimationNodeType::AUDIO : // #i58428#
+ case AnimationNodeType::AUDIO : // #i58428#
{
exportAnimNode( rStrm, xNode, pParent, nGroupLevel, nFillDefault );
exportAnimPropertySet( rStrm, xNode );
@@ -791,8 +791,8 @@ Reference< XAnimationNode > AnimationExporter::createAfterEffectNodeClone( const
void AnimationExporter::exportAnimNode( SvStream& rStrm, const Reference< XAnimationNode >& xNode,
const ::com::sun::star::uno::Reference< ::com::sun::star::animations::XAnimationNode >*, const sal_Int32, const sal_Int16 nFillDefault )
{
- EscherExAtom aAnimNodeExAtom( rStrm, DFF_msofbtAnimNode );
- AnimationNode aAnim;
+ EscherExAtom aAnimNodeExAtom( rStrm, DFF_msofbtAnimNode );
+ AnimationNode aAnim;
rtl_zeroMemory( &aAnim, sizeof( aAnim ) );
// attribute Restart
@@ -806,7 +806,7 @@ void AnimationExporter::exportAnimNode( SvStream& rStrm, const Reference< XAnima
}
// attribute Fill
-// aAnim.mnFill = GetFillMode( xNode, pParent );
+// aAnim.mnFill = GetFillMode( xNode, pParent );
switch( nFillDefault )
{
default:
@@ -836,7 +836,7 @@ void AnimationExporter::exportAnimNode( SvStream& rStrm, const Reference< XAnima
aAnim.mnGroupType = mso_Anim_GroupType_SEQ;
switch( xNode->getType() )
{
- case AnimationNodeType::PAR : // PASSTROUGH!!! (as it was intended)
+ case AnimationNodeType::PAR : // PASSTROUGH!!! (as it was intended)
aAnim.mnGroupType = mso_Anim_GroupType_PAR;
case AnimationNodeType::SEQ :
{
@@ -847,7 +847,7 @@ void AnimationExporter::exportAnimNode( SvStream& rStrm, const Reference< XAnima
const NamedValue* p = aUserData.getConstArray();
sal_Int32 nLength = aUserData.getLength();
while( nLength-- )
- {
+ {
if( p->Name.equalsAsciiL( RTL_CONSTASCII_STRINGPARAM( "node-type" ) ) )
{
sal_Int16 nType = 0;
@@ -924,7 +924,7 @@ sal_Int16 AnimationExporter::exportAnimPropertySet( SvStream& rStrm, const Refer
const NamedValue* p = aUserData.getConstArray();
sal_Int32 nLength = aUserData.getLength();
while( nLength-- )
- {
+ {
if( p->Name.equalsAsciiL( RTL_CONSTASCII_STRINGPARAM( "node-type" ) ) )
{
pAny[ DFF_ANIM_NODE_TYPE ] = &(p->Value);
@@ -978,7 +978,7 @@ sal_Int16 AnimationExporter::exportAnimPropertySet( SvStream& rStrm, const Refer
sal_uInt32 nPPTNodeType = DFF_ANIM_NODE_TYPE_ON_CLICK;
switch( nNodeType )
{
- case ::com::sun::star::presentation::EffectNodeType::ON_CLICK : nPPTNodeType = DFF_ANIM_NODE_TYPE_ON_CLICK; break;
+ case ::com::sun::star::presentation::EffectNodeType::ON_CLICK : nPPTNodeType = DFF_ANIM_NODE_TYPE_ON_CLICK; break;
case ::com::sun::star::presentation::EffectNodeType::WITH_PREVIOUS : nPPTNodeType = DFF_ANIM_NODE_TYPE_WITH_PREVIOUS; break;
case ::com::sun::star::presentation::EffectNodeType::AFTER_PREVIOUS : nPPTNodeType = DFF_ANIM_NODE_TYPE_AFTER_PREVIOUS; break;
case ::com::sun::star::presentation::EffectNodeType::MAIN_SEQUENCE : nPPTNodeType = DFF_ANIM_NODE_TYPE_MAIN_SEQUENCE; break;
@@ -1089,9 +1089,9 @@ sal_Int16 AnimationExporter::exportAnimPropertySet( SvStream& rStrm, const Refer
Reference< XAnimateColor > xColor( xNode, UNO_QUERY );
if( xColor.is() )
{
-// sal_uInt32 nColorSpace = xColor->getColorSpace() == AnimationColorSpace::RGB ? 0 : 1;
-// exportAnimPropertyuInt32( rStrm, DFF_ANIM_COLORSPACE, nColorSpace, TRANSLATE_NONE );
-
+// sal_uInt32 nColorSpace = xColor->getColorSpace() == AnimationColorSpace::RGB ? 0 : 1;
+// exportAnimPropertyuInt32( rStrm, DFF_ANIM_COLORSPACE, nColorSpace, TRANSLATE_NONE );
+
sal_Bool bDirection = !xColor->getDirection();
exportAnimPropertyuInt32( rStrm, DFF_ANIM_DIRECTION, bDirection, TRANSLATE_NONE );
}
@@ -1127,11 +1127,11 @@ sal_Int16 AnimationExporter::exportAnimPropertySet( SvStream& rStrm, const Refer
}
if ( pAny[ DFF_ANIM_EVENT_FILTER ] )
{
- // TODO DFF_ANIM_EVENT_FILTER
+ // TODO DFF_ANIM_EVENT_FILTER
}
if ( pAny[ DFF_ANIM_VOLUME ] )
{
- // TODO DFF_ANIM_VOLUME
+ // TODO DFF_ANIM_VOLUME
}
return nNodeType;
}
@@ -1289,7 +1289,7 @@ void AnimationExporter::exportAnimEvent( SvStream& rStrm, const Reference< XAnim
switch( i )
{
- case 0 :
+ case 0 :
case 1 :
{
Any aAny;
@@ -1304,7 +1304,7 @@ void AnimationExporter::exportAnimEvent( SvStream& rStrm, const Reference< XAnim
Reference< XEnumeration > xE( xEA->createEnumeration(), UNO_QUERY_THROW );
if ( xE.is() && xE->hasMoreElements() )
{
-// while( xE->hasMoreElements() )
+// while( xE->hasMoreElements() )
{
Reference< XAnimationNode > xClickNode( xE->nextElement(), UNO_QUERY );
aAny = xClickNode->getBegin();
@@ -1318,7 +1318,7 @@ void AnimationExporter::exportAnimEvent( SvStream& rStrm, const Reference< XAnim
else
{
aAny = xNode->getBegin();
- if ( nFlags & 0x10 ) // replace ON_NEXT with IDEFINITE
+ if ( nFlags & 0x10 ) // replace ON_NEXT with IDEFINITE
{
if ( ( aAny >>= aEvent ) && ( aEvent.Trigger == EventTrigger::ON_NEXT ) )
{
@@ -1429,7 +1429,7 @@ Any AnimationExporter::convertAnimateValue( const Any& rSourceValue, const rtl::
aDest += aStr;
}
}
- else if ( rAttributeName.equalsAsciiL( RTL_CONSTASCII_STRINGPARAM( "Rotate" ) ) // "r" or "style.rotation" ?
+ else if ( rAttributeName.equalsAsciiL( RTL_CONSTASCII_STRINGPARAM( "Rotate" ) ) // "r" or "style.rotation" ?
|| rAttributeName.equalsAsciiL( RTL_CONSTASCII_STRINGPARAM( "SkewX" ) )
|| rAttributeName.equalsAsciiL( RTL_CONSTASCII_STRINGPARAM( "Opacity" ) )
|| rAttributeName.equalsAsciiL( RTL_CONSTASCII_STRINGPARAM( "CharHeight" ) )
@@ -1440,7 +1440,7 @@ Any AnimationExporter::convertAnimateValue( const Any& rSourceValue, const rtl::
aDest += rtl::OUString::valueOf( fNumber );
}
else if ( rAttributeName.equalsAsciiL( RTL_CONSTASCII_STRINGPARAM( "Color" ) )
- || rAttributeName.equalsAsciiL( RTL_CONSTASCII_STRINGPARAM( "FillColor" ) ) // "Fillcolor" or "FillColor" ?
+ || rAttributeName.equalsAsciiL( RTL_CONSTASCII_STRINGPARAM( "FillColor" ) ) // "Fillcolor" or "FillColor" ?
|| rAttributeName.equalsAsciiL( RTL_CONSTASCII_STRINGPARAM( "LineColor" ) )
|| rAttributeName.equalsAsciiL( RTL_CONSTASCII_STRINGPARAM( "CharColor" ) )
)
@@ -1475,7 +1475,7 @@ Any AnimationExporter::convertAnimateValue( const Any& rSourceValue, const rtl::
if ( rSourceValue >>= eFillStyle )
{
if ( eFillStyle == ::com::sun::star::drawing::FillStyle_NONE )
- aDest += rtl::OUString( RTL_CONSTASCII_USTRINGPARAM( "none" ) ); // ?
+ aDest += rtl::OUString( RTL_CONSTASCII_USTRINGPARAM( "none" ) ); // ?
else
aDest += rtl::OUString( RTL_CONSTASCII_USTRINGPARAM( "solid" ) );
}
@@ -1521,7 +1521,7 @@ Any AnimationExporter::convertAnimateValue( const Any& rSourceValue, const rtl::
if ( eFontSlant == com::sun::star::awt::FontSlant_ITALIC )
aDest += rtl::OUString( RTL_CONSTASCII_USTRINGPARAM( "italic" ) );
else
- aDest += rtl::OUString( RTL_CONSTASCII_USTRINGPARAM( "normal" ) ); // ?
+ aDest += rtl::OUString( RTL_CONSTASCII_USTRINGPARAM( "normal" ) ); // ?
}
}
else if ( rAttributeName.equalsAsciiL( RTL_CONSTASCII_STRINGPARAM( "Visibility" ) ) )
@@ -1551,8 +1551,8 @@ void AnimationExporter::exportAnimateSet( SvStream& rStrm, const Reference< XAni
EscherExContainer aAnimateSet( rStrm, DFF_msofbtAnimateSet, 0 );
{
EscherExAtom aAnimateSetData( rStrm, DFF_msofbtAnimateSetData );
- sal_uInt32 nId1 = 1; // ??
- sal_uInt32 nId2 = 1; // ??
+ sal_uInt32 nId1 = 1; // ??
+ sal_uInt32 nId2 = 1; // ??
rStrm << nId1 << nId2;
}
Any aConvertedValue( convertAnimateValue( xSet->getTo(), xSet->getAttributeName() ) );
@@ -1575,7 +1575,7 @@ sal_uInt32 GetValueTypeForAttributeName( const rtl::OUString& rAttributeName )
struct Entry
{
const sal_Char* pName;
- sal_uInt8 nType;
+ sal_uInt8 nType;
};
static const Entry lcl_attributeMap[] =
{
@@ -1630,7 +1630,7 @@ void AnimationExporter::exportAnimate( SvStream& rStrm, const Reference< XAnimat
EscherExContainer aContainer( rStrm, DFF_msofbtAnimate, 0 );
{
- EscherExAtom aAnimateData( rStrm, DFF_msofbtAnimateData );
+ EscherExAtom aAnimateData( rStrm, DFF_msofbtAnimateData );
sal_uInt32 nBits = 0x38;
sal_Int16 nTmp = xAnimate->getCalcMode();
sal_uInt32 nCalcMode = /* (nTmp == AnimationCalcMode::FORMULA) ? 2 : */ (nTmp == AnimationCalcMode::LINEAR) ? 1 : 0;
@@ -1679,7 +1679,7 @@ void AnimationExporter::exportAnimateTarget( SvStream& rStrm, const Reference< X
if ( xAnimate.is() )
{
if ( xAnimate->getAttributeName().getLength() )
- nBits |= 4; // what is attributeName ?, maybe this is set if a DFF_msofbtAnimateAttributeNames is written
+ nBits |= 4; // what is attributeName ?, maybe this is set if a DFF_msofbtAnimateAttributeNames is written
sal_Int16 nAdditiveMode = xAnimate->getAdditive();
if ( nAdditiveMode != AnimationAdditiveMode::BASE )
{
@@ -1741,7 +1741,7 @@ void AnimationExporter::exportAnimateTargetElement( SvStream& rStrm, const Any a
{
Reference< XShape > xShape;
aAny >>= xShape;
- sal_uInt32 nRefMode = 0; // nRefMode == 2 -> Paragraph
+ sal_uInt32 nRefMode = 0; // nRefMode == 2 -> Paragraph
sal_Int32 begin = -1;
sal_Int32 end = -1;
@@ -1792,7 +1792,7 @@ void AnimationExporter::exportAnimateTargetElement( SvStream& rStrm, const Any a
{
EscherExAtom aAnimReference( rStrm, DFF_msofbtAnimReference );
- sal_uInt32 nRefType = 1; // TODO: nRefType == 2 -> Sound;
+ sal_uInt32 nRefType = 1; // TODO: nRefType == 2 -> Sound;
sal_uInt32 nRefId = ((EscherSolverContainer&)mrSolverContainer).GetShapeId( xShape );
rStrm << nRefMode
@@ -1804,7 +1804,7 @@ void AnimationExporter::exportAnimateTargetElement( SvStream& rStrm, const Any a
if ( bCreate2b01Atom )
{
EscherExAtom a2b01Atom( rStrm, 0x2b01 );
- rStrm << (sal_uInt32)1; // ?
+ rStrm << (sal_uInt32)1; // ?
}
}
}
@@ -1912,7 +1912,7 @@ void AnimationExporter::exportTransitionFilter( SvStream& rStrm, const Reference
EscherExContainer aAnimateFilter( rStrm, DFF_msofbtAnimateFilter );
{
EscherExAtom aAnimateFilterData( rStrm, DFF_msofbtAnimateFilterData );
- sal_uInt32 nBits = 3; // bit 0 -> use AnimAttributeValue
+ sal_uInt32 nBits = 3; // bit 0 -> use AnimAttributeValue
// bit 1 -> use nTransition
sal_uInt32 nTransition = xFilter->getMode() ? 0 : 1;
@@ -1936,11 +1936,11 @@ void AnimationExporter::exportAnimateMotion( SvStream& rStrm, const Reference< X
{
EscherExContainer aAnimateMotion( rStrm, DFF_msofbtAnimateMotion );
{
- { //SJ: Ignored from import filter
- EscherExAtom aAnimateMotionData( rStrm, DFF_msofbtAnimateMotionData );
+ { //SJ: Ignored from import filter
+ EscherExAtom aAnimateMotionData( rStrm, DFF_msofbtAnimateMotionData );
sal_uInt32 nBits = 0x98;
sal_uInt32 nOrigin = 0x2;
- float fByX = 100.0; // nBits&1
+ float fByX = 100.0; // nBits&1
float fByY = 100.0; // nBits&1
float fFromX = 0.0; // nBits&2
float fFromY = 0.0; // nBits&2
@@ -1948,7 +1948,7 @@ void AnimationExporter::exportAnimateMotion( SvStream& rStrm, const Reference< X
float fToY = 100.0; // nBits&4
rStrm << nBits << fByX << fByY << fFromX << fFromY << fToX << fToY << nOrigin;
}
-/* ?
+/* ?
{
EscherExAtom aF137( rStrm, 0xf137 );
}
@@ -2015,7 +2015,7 @@ void AnimationExporter::exportAnimateTransform( SvStream& rStrm, const Reference
// TODO: ZoomContents:
//if( nBits & 8 )
- //( fprintf( mpFile, " zoomContents=\"%s\"", nZoomContents ? "true" : "false" );
+ //( fprintf( mpFile, " zoomContents=\"%s\"", nZoomContents ? "true" : "false" );
rStrm << nBits << fByX << fByY << fFromX << fFromY << fToX << fToY << nZoomContents;
}
@@ -2065,13 +2065,13 @@ sal_Bool AnimationExporter::getColorAny( const Any& rAny, const sal_Int16 nColor
sal_Int32 nColor = 0;
Sequence< double > aHSL( 3 );
- if ( rAny >>= nColor ) // RGB color
+ if ( rAny >>= nColor ) // RGB color
{
rA = (sal_uInt8)( nColor >> 24 );
rB = (sal_uInt8)( nColor >> 8 );
rC = (sal_uInt8)( nColor );
}
- else if ( rAny >>= aHSL ) // HSL
+ else if ( rAny >>= aHSL ) // HSL
{
rA = (sal_Int32) ( aHSL[ 0 ] * 255.0 / 360.0 );
rB = (sal_Int32) ( aHSL[ 1 ] * 255.0 );
@@ -2137,11 +2137,11 @@ void AnimationExporter::exportIterate( SvStream& rStrm, const Reference< XAnimat
{
EscherExAtom aAnimIteration( rStrm, DFF_msofbtAnimIteration );
- float fInterval = 10.0;
- sal_Int32 nTextUnitEffect = 0;
- sal_Int32 nU1 = 1;
- sal_Int32 nU2 = 1;
- sal_Int32 nU3 = 0xe;
+ float fInterval = 10.0;
+ sal_Int32 nTextUnitEffect = 0;
+ sal_Int32 nU1 = 1;
+ sal_Int32 nU2 = 1;
+ sal_Int32 nU3 = 0xe;
sal_Int16 nIterateType = xIterate->getIterateType();
switch( nIterateType )
diff --git a/sd/source/filter/eppt/pptexanimations.hxx b/sd/source/filter/eppt/pptexanimations.hxx
index b0f38519366d..88baf6cb357a 100644
--- a/sd/source/filter/eppt/pptexanimations.hxx
+++ b/sd/source/filter/eppt/pptexanimations.hxx
@@ -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
@@ -52,7 +52,7 @@ class SdPage;
class SvStream;
namespace ppt
-{
+{
struct AfterEffectNode
{
@@ -67,11 +67,11 @@ namespace ppt
typedef boost::shared_ptr< AfterEffectNode > AfterEffectNodePtr;
typedef sal_uInt32 TranslateMode;
-#define TRANSLATE_NONE 0
-#define TRANSLATE_VALUE 1
-#define TRANSLATE_ATTRIBUTE 2
-#define TRANSLATE_MEASURE 4
-#define TRANSLATE_NUMBER_TO_STRING 8
+#define TRANSLATE_NONE 0
+#define TRANSLATE_VALUE 1
+#define TRANSLATE_ATTRIBUTE 2
+#define TRANSLATE_MEASURE 4
+#define TRANSLATE_NUMBER_TO_STRING 8
const int AFTEREFFECT_NONE = 0;
const int AFTEREFFECT_COLOR = 1;
@@ -89,7 +89,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 9510da8757e3..a1102c968062 100644
--- a/sd/source/filter/eppt/pptexsoundcollection.cxx
+++ b/sd/source/filter/eppt/pptexsoundcollection.cxx
@@ -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
@@ -45,8 +45,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 88965abe71ef..6e7061576cd9 100644
--- a/sd/source/filter/eppt/pptexsoundcollection.hxx
+++ b/sd/source/filter/eppt/pptexsoundcollection.hxx
@@ -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,42 +40,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/grf/sdgrffilter.cxx b/sd/source/filter/grf/sdgrffilter.cxx
index 0d91df41500f..4ddb30612f40 100644
--- a/sd/source/filter/grf/sdgrffilter.cxx
+++ b/sd/source/filter/grf/sdgrffilter.cxx
@@ -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 @@ 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 );
};
@@ -209,13 +209,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 );
@@ -224,10 +224,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();
@@ -237,8 +237,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 )
@@ -285,8 +285,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;
@@ -325,8 +325,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;
@@ -454,7 +454,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 14bd3e46c581..377907682928 100644
--- a/sd/source/filter/html/HtmlOptionsDialog.cxx
+++ b/sd/source/filter/html/HtmlOptionsDialog.cxx
@@ -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
@@ -143,8 +143,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 be6da8ddb74b..0cb5032eb1ea 100644
--- a/sd/source/filter/html/buttonset.cxx
+++ b/sd/source/filter/html/buttonset.cxx
@@ -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/filter/html/buttonset.hxx b/sd/source/filter/html/buttonset.hxx
index 6027ad4dbf01..6cd867bc6dea 100644
--- a/sd/source/filter/html/buttonset.hxx
+++ b/sd/source/filter/html/buttonset.hxx
@@ -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,7 +42,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 4bcb73535ba1..57c984a37ba0 100755
--- a/sd/source/filter/html/htmlattr.cxx
+++ b/sd/source/filter/html/htmlattr.cxx
@@ -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/filter/html/htmlattr.hxx b/sd/source/filter/html/htmlattr.hxx
index 1caa16822ab1..a93da62b83d1 100755
--- a/sd/source/filter/html/htmlattr.hxx
+++ b/sd/source/filter/html/htmlattr.hxx
@@ -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,16 +35,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 9de46771e14c..33136ba20734 100755
--- a/sd/source/filter/html/htmlex.cxx
+++ b/sd/source/filter/html/htmlex.cxx
@@ -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
@@ -105,7 +105,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
@@ -129,21 +129,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
@@ -151,9 +151,9 @@ const char *pButtonNames[NUM_BUTTONS] =
class EasyFile
{
private:
- SvStream* pOStm;
- SfxMedium* pMedium;
- bool bOpen;
+ SvStream* pOStm;
+ SfxMedium* pMedium;
+ bool bOpen;
public:
@@ -381,7 +381,7 @@ HtmlExport::HtmlExport(
const Sequence< PropertyValue >& rParams,
SdDrawDocument* pExpDoc,
::sd::DrawDocShell* pDocShell )
- : maPath( aPath ),
+ : maPath( aPath ),
mpDoc(pExpDoc),
mpDocSh( pDocShell ),
meEC(NULL),
@@ -678,7 +678,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 );
@@ -1061,9 +1061,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++)
{
@@ -1108,7 +1108,7 @@ bool HtmlExport::CreateHtmlTextForPresPages()
if( mbDocColors )
{
SetDocColors( pPage );
-// maBackColor = pPage->GetPageBackgroundColor();
+// maBackColor = pPage->GetPageBackgroundColor();
}
// HTML Kopf
@@ -1641,12 +1641,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();
@@ -1692,7 +1692,7 @@ bool HtmlExport::CreateHtmlForPresPages()
}
if (nPgNum != SDRPAGE_NOTFOUND)
{
- nPgNum = (nPgNum - 1) / 2; // SdrPageNum --> SdPageNum
+ nPgNum = (nPgNum - 1) / 2; // SdrPageNum --> SdPageNum
aURL = CreatePageURL(nPgNum);
}
@@ -1757,14 +1757,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;
@@ -2107,7 +2107,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++)
{
@@ -2502,7 +2502,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" );
@@ -2635,7 +2635,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(' '));
@@ -2836,7 +2836,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++ )
@@ -2924,16 +2924,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 )
{
@@ -3099,8 +3099,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 43bc12419f84..b3488e1f91d9 100755
--- a/sd/source/filter/html/htmlex.hxx
+++ b/sd/source/filter/html/htmlex.hxx
@@ -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
@@ -52,12 +52,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";
@@ -78,18 +78,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 );
};
// =====================================================================
@@ -133,13 +133,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;
@@ -147,13 +147,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;
@@ -167,49 +167,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 );
@@ -231,9 +231,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 8079238bc1dc..7ed8deb37c4b 100755
--- a/sd/source/filter/html/pubdlg.cxx
+++ b/sd/source/filter/html/pubdlg.cxx
@@ -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
@@ -79,7 +79,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] =
@@ -98,49 +98,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();
@@ -160,7 +160,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 );
@@ -168,33 +168,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;
}
@@ -205,22 +205,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 &&
@@ -233,7 +233,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 &&
@@ -247,7 +247,7 @@ int SdPublishingDesign::operator ==(const SdPublishingDesign & rDesign) const
)
)
) &&
- ( // compare WebCast options
+ ( // compare WebCast options
(m_eMode != PUBLISH_WEBCAST) ||
(
m_eScript == rDesign.m_eScript &&
@@ -286,7 +286,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;
@@ -333,7 +333,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;
@@ -363,9 +363,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 );
@@ -382,18 +382,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;
@@ -427,7 +427,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/" ) ) );
@@ -491,7 +491,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);
}
@@ -640,8 +640,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,
@@ -767,7 +767,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;
@@ -907,7 +907,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" ) );
@@ -965,7 +965,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() );
@@ -1002,7 +1002,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)");
@@ -1517,7 +1517,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)
@@ -1553,7 +1553,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;
@@ -1582,7 +1582,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;
@@ -1724,7 +1724,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 f447e2039c70..d263c620cd0b 100644
--- a/sd/source/filter/html/sdhtmlfilter.cxx
+++ b/sd/source/filter/html/sdhtmlfilter.cxx
@@ -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/filter/ppt/ppt97animations.cxx b/sd/source/filter/ppt/ppt97animations.cxx
index 25ac858ca319..3cd9f533cc00 100755
--- a/sd/source/filter/ppt/ppt97animations.cxx
+++ b/sd/source/filter/ppt/ppt97animations.cxx
@@ -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
@@ -229,7 +229,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)
@@ -289,7 +289,7 @@ void Ppt97Animation::UpdateCacheData() const
return;
ClearCacheData();
-
+
if( !HasEffect() )
{
m_bDirtyCache = false;
@@ -299,19 +299,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;
@@ -323,7 +323,7 @@ void Ppt97Animation::UpdateCacheData() const
}
}
break;
- case 0x03: // --- (hor/ver) shifted appear ---
+ case 0x03: // --- (hor/ver) shifted appear ---
{
switch ( m_aAtom.nFlyDirection )
{
@@ -341,10 +341,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 )
{
@@ -354,56 +354,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;
@@ -415,7 +415,7 @@ void Ppt97Animation::UpdateCacheData() const
}
}
break;
- case 0x0b: //--- fade in ---
+ case 0x0b: //--- fade in ---
{
switch ( m_aAtom.nFlyDirection )
{
@@ -432,7 +432,7 @@ void Ppt97Animation::UpdateCacheData() const
}
}
break;
- case 0x0c: // --- text effects ---
+ case 0x0c: // --- text effects ---
{
switch ( m_aAtom.nFlyDirection )
{
@@ -440,7 +440,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;
@@ -480,7 +480,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;
@@ -596,12 +596,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;
@@ -623,7 +623,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 )
@@ -705,7 +705,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() )
@@ -723,11 +723,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() );
@@ -754,16 +754,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 c68ba9a19382..3bc9fe73ba45 100755
--- a/sd/source/filter/ppt/ppt97animations.hxx
+++ b/sd/source/filter/ppt/ppt97animations.hxx
@@ -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,22 +40,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 );
@@ -68,7 +68,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 7f227476e872..e66353b6e893 100644
--- a/sd/source/filter/ppt/pptanimations.hxx
+++ b/sd/source/filter/ppt/pptanimations.hxx
@@ -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
@@ -39,10 +39,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
@@ -57,119 +57,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;
@@ -194,7 +194,7 @@ enum MS_AttributeNames
struct ImplAttributeNameConversion
{
- MS_AttributeNames meAttribute;
+ MS_AttributeNames meAttribute;
const char* mpMSName;
const char* mpAPIName;
};
@@ -208,16 +208,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:
@@ -226,29 +226,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 }
};
@@ -300,7 +300,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 }
@@ -339,216 +339,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 0bd31c2119d5..84341dce192d 100755
--- a/sd/source/filter/ppt/pptatom.cpp
+++ b/sd/source/filter/ppt/pptatom.cpp
@@ -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
@@ -49,13 +49,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 d430b7bffb7a..21fbcc7840ee 100755
--- a/sd/source/filter/ppt/pptatom.hxx
+++ b/sd/source/filter/ppt/pptatom.hxx
@@ -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/filter/ppt/pptin.cxx b/sd/source/filter/ppt/pptin.cxx
index 6a5ce08bc912..9d0fcc57378e 100755
--- a/sd/source/filter/ppt/pptin.cxx
+++ b/sd/source/filter/ppt/pptin.cxx
@@ -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
@@ -91,7 +91,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"
@@ -174,16 +174,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;
@@ -298,10 +298,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;
@@ -404,7 +404,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++ )
@@ -552,8 +552,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 :
@@ -570,7 +570,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++ )
{
@@ -632,7 +632,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 );
@@ -647,12 +647,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 //
/////////////////////
@@ -731,7 +731,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() ) )
@@ -761,7 +761,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 );
@@ -801,7 +801,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 );
@@ -878,7 +878,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());
@@ -894,12 +894,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 );
@@ -926,8 +926,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 );
@@ -968,11 +968,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 );
}
@@ -1014,8 +1014,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 );
}
@@ -1074,7 +1074,7 @@ sal_Bool ImplSdPPTImport::Import()
rStCtrl.Seek( nFPosMerk );
}
///////////////////////////////////////////////////////////////////
- // Handzettel und Notiz-Seiten erzeugen //
+ // Handzettel und Notiz-Seiten erzeugen //
///////////////////////////////////////////////////////////////////
bOk = mpDoc->CreateMissingNotesAndHandoutPages();
if ( bOk )
@@ -1090,7 +1090,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 :
{
@@ -1188,11 +1188,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;
}
@@ -1201,7 +1201,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 );
@@ -1238,44 +1238,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 );
@@ -1340,12 +1340,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 );
@@ -1394,8 +1394,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 );
@@ -1530,7 +1530,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())
{
@@ -1568,12 +1568,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 )
@@ -1597,21 +1597,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 :
@@ -1619,31 +1619,31 @@ 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->SetFadeEffect( ::com::sun::star::presentation::FadeEffect_NONE ); // Direkt ueber Schwarz
+ pPage->SetFadeEffect( ::com::sun::star::presentation::FadeEffect_NONE ); // Direkt ueber Schwarz
}
else
pPage->setTransitionType( 0 );
}
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 )
@@ -1665,13 +1665,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 )
@@ -1689,13 +1689,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 :
{
@@ -1709,7 +1709,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 :
@@ -1724,7 +1724,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 );
@@ -1792,11 +1792,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)
@@ -1806,20 +1806,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;
}
@@ -1941,16 +1941,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 )
{
@@ -1970,8 +1970,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;
@@ -2085,51 +2085,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;
}
}
@@ -2147,7 +2147,7 @@ void ImplSdPPTImport::FillSdAnimationInfo( SdAnimationInfo* pInfo, PptInteractiv
switch( pIAtom->nHyperlinkType )
{
case 9:
- case 8: // hyperlink : URL
+ case 8: // hyperlink : URL
{
if ( pPtr->aTarget.Len() )
{
@@ -2171,7 +2171,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() )
{
@@ -2184,10 +2184,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;
}
}
@@ -2195,9 +2195,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;
@@ -2216,7 +2216,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 );
@@ -2234,10 +2234,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() )
@@ -2394,15 +2394,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 :
{
@@ -2459,7 +2459,7 @@ SdrObject* ImplSdPPTImport::ApplyTextObj( PPTTextObj* pTextObj, SdrTextObj* pObj
Rectangle aTitleRect;
Rectangle aOutlineRect;
- Size aOutlineSize;
+ Size aOutlineSize;
if ( pTitleObj )
aTitleRect = pTitleObj->GetLogicRect();
@@ -2469,11 +2469,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 );
@@ -2483,23 +2483,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)
@@ -2509,7 +2509,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 );
}
}
@@ -2518,36 +2518,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 );
@@ -2556,8 +2556,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 );
@@ -2566,7 +2566,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() )
@@ -2710,7 +2710,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 24e300bd79e9..6eae4d8199fe 100644
--- a/sd/source/filter/ppt/pptin.hxx
+++ b/sd/source/filter/ppt/pptin.hxx
@@ -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
@@ -56,34 +56,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 10b0b152b8f4..43184fe6ba30 100755
--- a/sd/source/filter/ppt/pptinanimations.cxx
+++ b/sd/source/filter/ppt/pptinanimations.cxx
@@ -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
@@ -265,7 +265,7 @@ void AnimationImporter::import( const Reference< XDrawPage >& xPage, const DffRe
processAfterEffectNodes();
}
}
-
+
#ifdef DBG_ANIM_LOG
fclose( mpFile );
#endif
@@ -366,7 +366,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;
@@ -422,7 +422,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
@@ -473,7 +473,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 ) )
@@ -554,7 +554,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;
@@ -813,7 +813,7 @@ bool AnimationImporter::convertAnimationNode( const Reference< XAnimationNode >&
if( nMasterRel != 2 )
{
Event aEvent;
-
+
aEvent.Source <<= xParent;
aEvent.Trigger = EventTrigger::END_EVENT;
aEvent.Repeat = 0;
@@ -1085,7 +1085,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;
@@ -1184,11 +1184,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;
}
@@ -1221,12 +1221,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);
@@ -1342,7 +1342,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)
{
@@ -1353,7 +1353,7 @@ void AnimationImporter::fillNode( Reference< XAnimationNode >& xNode, const Anim
fromIndex++;
nElements++;
}
-
+
Sequence< TimeFilterPair > aTimeFilter( nElements );
TimeFilterPair* pValues = aTimeFilter.getArray();
@@ -1372,7 +1372,7 @@ void AnimationImporter::fillNode( Reference< XAnimationNode >& xNode, const Anim
}
xAnim->setTimeFilter( aTimeFilter );
- }
+ }
}
}
@@ -1479,7 +1479,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 );
@@ -1517,7 +1517,7 @@ void AnimationImporter::importTimeContainer( const Atom* pAtom, const Reference<
pChildAtom = pAtom->findNextChildAtom( pChildAtom );
}
- }
+ }
}
// --------------------------------------------------------------------
@@ -1571,7 +1571,7 @@ void AnimationImporter::importAnimationNodeContainer( const Atom* pAtom, const R
case DFF_msofbtAnimateMotion:
importAnimateMotionContainer( pChildAtom, xNode );
break;
-
+
case DFF_msofbtAnimCommand:
importCommandContainer( pChildAtom, xNode );
break;
@@ -1586,8 +1586,8 @@ void AnimationImporter::importAnimationNodeContainer( const Atom* pAtom, const R
}
pChildAtom = pAtom->findNextChildAtom( pChildAtom );
- }
- }
+ }
+ }
}
// --------------------------------------------------------------------
@@ -1738,7 +1738,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;
@@ -2245,7 +2245,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" ) ) )
{
@@ -2543,7 +2543,7 @@ void AnimationImporter::importAnimateRotationContainer( const Atom* pAtom, const
pChildAtom = pAtom->findNextChildAtom( pChildAtom );
}
- }
+ }
}
// --------------------------------------------------------------------
@@ -2755,8 +2755,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 );
@@ -2767,8 +2767,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 );
@@ -2776,8 +2776,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 );
@@ -2826,7 +2826,7 @@ bool AnimationImporter::importAttributeValue( const Atom* pAtom, Any& rAny )
break;
case DFF_ANIM_PROP_TYPE_INT32 :
- {
+ {
if ( nRecLen == 5 )
{
sal_uInt32 nInt32;
@@ -3066,10 +3066,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;
@@ -3112,7 +3112,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 );
}
@@ -3132,14 +3132,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
}
@@ -3148,9 +3148,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:
@@ -3208,7 +3208,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;
@@ -3243,7 +3243,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");
}
@@ -3324,7 +3324,7 @@ void AnimationImporter::dump_atom( const Atom* pAtom, bool bNewLine )
else
{
if( pChildAtom->seekToContent() )
- {
+ {
fprintf(mpFile, " value=\"" );
dump_atom( pChildAtom, false );
fprintf(mpFile, "\"");
@@ -3418,7 +3418,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\"",
@@ -3435,7 +3435,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);
@@ -3486,7 +3486,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",
@@ -3542,7 +3542,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 )
@@ -3556,13 +3556,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 )
@@ -3614,13 +3614,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];
@@ -3644,11 +3644,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 24f423029e82..51ba098f4a45 100755
--- a/sd/source/filter/ppt/pptinanimations.hxx
+++ b/sd/source/filter/ppt/pptinanimations.hxx
@@ -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,7 +47,7 @@ class SvStream;
class ImplSdPPTImport;
namespace ppt
-{
+{
class PropertySet;
class Atom;
@@ -92,19 +92,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 54acab192cb5..873d4abf56ac 100644..100755
--- a/sd/source/filter/ppt/propread.cxx
+++ b/sd/source/filter/ppt/propread.cxx
@@ -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,6 +29,7 @@
#include "precompiled_sd.hxx"
#include <propread.hxx>
#include <tools/bigint.hxx>
+#include "tools/debug.hxx"
#include "rtl/tencinfo.h"
#include "rtl/textenc.h"
@@ -36,32 +37,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 );
};
@@ -80,7 +81,7 @@ const PropEntry& PropEntry::operator=(const PropEntry& rPropEntry)
return *this;
}
-// -----------------------------------------------------------------------
+// -----------------------------------------------------------------------
void PropItem::Clear()
{
@@ -88,12 +89,23 @@ void PropItem::Clear()
delete[] (sal_uInt8*)SwitchBuffer();
}
-// -----------------------------------------------------------------------
+// -----------------------------------------------------------------------
+
+static xub_StrLen lcl_getMaxSafeStrLen(sal_uInt32 nSize)
+{
+ nSize -= 1; //Drop NULL terminator
+
+ //If it won't fit in a string, clip it to the max size that does
+ if (nSize > STRING_MAXLEN)
+ nSize = STRING_MAXLEN;
+
+ return 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();
@@ -108,39 +120,46 @@ BOOL PropItem::Read( String& rString, sal_uInt32 nStringType, sal_Bool bAlign )
{
case VT_LPSTR :
{
- if ( (sal_uInt16)nItemSize )
+ if ( nItemSize )
{
- sal_Char* pString = new sal_Char[ (sal_uInt16)nItemSize ];
- if ( mnTextEnc == RTL_TEXTENCODING_UCS2 )
- {
- nItemSize >>= 1;
- if ( (sal_uInt16)nItemSize > 1 )
- {
- sal_Unicode* pWString = (sal_Unicode*)pString;
- for ( i = 0; i < (sal_uInt16)nItemSize; i++ )
- *this >> pWString[ i ];
- rString = String( pWString, (sal_uInt16)nItemSize - 1 );
- }
- else
- rString = String();
- bRetValue = sal_True;
- }
- else
+ try
{
- SvMemoryStream::Read( pString, (sal_uInt16)nItemSize );
- if ( pString[ (sal_uInt16)nItemSize - 1 ] == 0 )
+ sal_Char* pString = new sal_Char[ nItemSize ];
+ if ( mnTextEnc == RTL_TEXTENCODING_UCS2 )
{
- if ( (sal_uInt16)nItemSize > 1 )
- rString = String( ByteString( pString ), mnTextEnc );
+ nItemSize >>= 1;
+ if ( nItemSize > 1 )
+ {
+ sal_Unicode* pWString = (sal_Unicode*)pString;
+ for ( i = 0; i < nItemSize; i++ )
+ *this >> pWString[ i ];
+ rString = String( pWString, lcl_getMaxSafeStrLen(nItemSize) );
+ }
else
rString = String();
bRetValue = sal_True;
}
+ else
+ {
+ SvMemoryStream::Read( pString, nItemSize );
+ if ( pString[ nItemSize - 1 ] == 0 )
+ {
+ if ( nItemSize > 1 )
+ rString = String( ByteString( pString ), mnTextEnc );
+ else
+ rString = String();
+ bRetValue = sal_True;
+ }
+ }
+ delete[] pString;
+ }
+ catch( const std::bad_alloc& )
+ {
+ DBG_ERROR( "sd PropItem::Read bad alloc" );
}
- delete[] pString;
}
if ( bAlign )
- SeekRel( ( 4 - ( nItemSize & 3 ) ) & 3 ); // dword align
+ SeekRel( ( 4 - ( nItemSize & 3 ) ) & 3 ); // dword align
}
break;
@@ -148,21 +167,28 @@ BOOL PropItem::Read( String& rString, sal_uInt32 nStringType, sal_Bool bAlign )
{
if ( nItemSize )
{
- sal_Unicode* pString = new sal_Unicode[ (sal_uInt16)nItemSize ];
- for ( i = 0; i < (sal_uInt16)nItemSize; i++ )
- *this >> pString[ i ];
- if ( pString[ i - 1 ] == 0 )
+ try
{
- if ( (sal_uInt16)nItemSize > 1 )
- rString = String( pString, (sal_uInt16)nItemSize - 1 );
- else
- rString = String();
- bRetValue = sal_True;
+ sal_Unicode* pString = new sal_Unicode[ nItemSize ];
+ for ( i = 0; i < nItemSize; i++ )
+ *this >> pString[ i ];
+ if ( pString[ i - 1 ] == 0 )
+ {
+ if ( (sal_uInt16)nItemSize > 1 )
+ rString = String( pString, lcl_getMaxSafeStrLen(nItemSize) );
+ else
+ rString = String();
+ bRetValue = sal_True;
+ }
+ delete[] pString;
+ }
+ catch( const std::bad_alloc& )
+ {
+ DBG_ERROR( "sd PropItem::Read bad alloc" );
}
- delete[] pString;
}
if ( bAlign && ( nItemSize & 1 ) )
- SeekRel( 2 ); // dword align
+ SeekRel( 2 ); // dword align
}
break;
}
@@ -171,7 +197,7 @@ BOOL PropItem::Read( String& rString, sal_uInt32 nStringType, sal_Bool bAlign )
return bRetValue;
}
-// -----------------------------------------------------------------------
+// -----------------------------------------------------------------------
PropItem& PropItem::operator=( PropItem& rPropItem )
{
@@ -189,17 +215,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()
{
@@ -207,11 +233,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() )
@@ -226,7 +252,7 @@ void Dictionary::AddProperty( sal_uInt32 nId, const String& rString )
}
}
-// -----------------------------------------------------------------------
+// -----------------------------------------------------------------------
UINT32 Dictionary::GetProperty( const String& rString )
{
@@ -238,7 +264,7 @@ UINT32 Dictionary::GetProperty( const String& rString )
return 0;
}
-// -----------------------------------------------------------------------
+// -----------------------------------------------------------------------
Dictionary& Dictionary::operator=( Dictionary& rDictionary )
{
@@ -255,7 +281,7 @@ Dictionary& Dictionary::operator=( Dictionary& rDictionary )
return *this;
}
-// -----------------------------------------------------------------------
+// -----------------------------------------------------------------------
Section::Section( Section& rSection )
: List()
@@ -267,7 +293,7 @@ Section::Section( Section& rSection )
Insert( new PropEntry( *pProp ), LIST_APPEND );
}
-// -----------------------------------------------------------------------
+// -----------------------------------------------------------------------
Section::Section( const sal_uInt8* pFMTID )
{
@@ -276,7 +302,7 @@ Section::Section( const sal_uInt8* pFMTID )
aFMTID[ i ] = pFMTID[ i ];
}
-// -----------------------------------------------------------------------
+// -----------------------------------------------------------------------
sal_Bool Section::GetProperty( sal_uInt32 nId, PropItem& rPropItem )
{
@@ -300,7 +326,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 )
{
@@ -326,7 +352,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 )
{
@@ -349,24 +375,31 @@ sal_Bool Section::GetDictionary( Dictionary& rDict )
for ( sal_uInt32 i = 0; i < nDictCount; i++ )
{
aStream >> nId >> nSize;
- if ( (sal_uInt16)nSize )
+ if ( nSize )
{
String aString;
nPos = aStream.Tell();
- sal_Char* pString = new sal_Char[ (sal_uInt16)nSize ];
- aStream.Read( pString, (sal_uInt16)nSize );
- if ( mnTextEnc == RTL_TEXTENCODING_UCS2 )
+ try
{
- nSize >>= 1;
- aStream.Seek( nPos );
- sal_Unicode* pWString = (sal_Unicode*)pString;
- for ( i = 0; i < (sal_uInt16)nSize; i++ )
- aStream >> pWString[ i ];
- aString = String( pWString, (sal_uInt16)nSize - 1 );
+ sal_Char* pString = new sal_Char[ nSize ];
+ aStream.Read( pString, nSize );
+ if ( mnTextEnc == RTL_TEXTENCODING_UCS2 )
+ {
+ nSize >>= 1;
+ aStream.Seek( nPos );
+ sal_Unicode* pWString = (sal_Unicode*)pString;
+ for ( i = 0; i < nSize; i++ )
+ aStream >> pWString[ i ];
+ aString = String( pWString, lcl_getMaxSafeStrLen(nSize) );
+ }
+ else
+ aString = String( ByteString( pString, lcl_getMaxSafeStrLen(nSize) ), mnTextEnc );
+ delete[] pString;
+ }
+ catch( const std::bad_alloc& )
+ {
+ DBG_ERROR( "sd Section::GetDictionary bad alloc" );
}
- else
- aString = String( ByteString( pString, (sal_uInt16)nSize - 1 ), mnTextEnc );
- delete[] pString;
if ( !aString.Len() )
break;
aDict.AddProperty( nId, aString );
@@ -378,7 +411,7 @@ sal_Bool Section::GetDictionary( Dictionary& rDict )
return bRetValue;
}
-// -----------------------------------------------------------------------
+// -----------------------------------------------------------------------
Section::~Section()
{
@@ -386,7 +419,7 @@ Section::~Section()
delete pProp;
}
-// -----------------------------------------------------------------------
+// -----------------------------------------------------------------------
void Section::Read( SvStorageStream *pStrm )
{
@@ -404,7 +437,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;
@@ -500,6 +533,11 @@ void Section::Read( SvStorageStream *pStrm )
}
if ( nPropSize )
{
+ if ( nPropSize > nStrmSize )
+ {
+ nPropCount = 0;
+ break;
+ }
pStrm->Seek( nPropOfs + nSecOfs );
sal_uInt8* pBuf = new sal_uInt8[ nPropSize ];
pStrm->Read( pBuf, nPropSize );
@@ -562,7 +600,7 @@ void Section::Read( SvStorageStream *pStrm )
pStrm->Seek( nSecOfs + nSecSize );
}
-// -----------------------------------------------------------------------
+// -----------------------------------------------------------------------
Section& Section::operator=( Section& rSection )
{
@@ -580,14 +618,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 ) )
{
@@ -601,14 +639,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 )
{
@@ -622,7 +660,7 @@ const Section* PropRead::GetSection( const sal_uInt8* pFMTID )
return pSection;
}
-// -----------------------------------------------------------------------
+// -----------------------------------------------------------------------
PropRead::~PropRead()
{
@@ -630,7 +668,7 @@ PropRead::~PropRead()
delete pSection;
}
-// -----------------------------------------------------------------------
+// -----------------------------------------------------------------------
void PropRead::Read()
{
@@ -639,16 +677,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;
}
@@ -668,7 +706,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 cbb81b8cad1c..a65717aac1d8 100644
--- a/sd/source/filter/ppt/propread.hxx
+++ b/sd/source/filter/ppt/propread.hxx
@@ -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,86 +38,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;
};
@@ -128,62 +128,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 1a7cd380514c..62ac970fd427 100644
--- a/sd/source/filter/sdfilter.cxx
+++ b/sd/source/filter/sdfilter.cxx
@@ -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
@@ -58,13 +58,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 )
{
}
@@ -107,27 +107,27 @@ 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& )
+// {
+// }
}
diff --git a/sd/source/filter/sdpptwrp.cxx b/sd/source/filter/sdpptwrp.cxx
index e64cace3c696..396ae10220f7 100644
--- a/sd/source/filter/sdpptwrp.cxx
+++ b/sd/source/filter/sdpptwrp.cxx
@@ -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
@@ -67,7 +67,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 )
{
}
@@ -75,14 +75,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() )
{
@@ -136,14 +136,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() )
@@ -151,7 +151,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 8abafc84055e..2d888ad88dee 100644
--- a/sd/source/filter/xml/sdtransform.cxx
+++ b/sd/source/filter/xml/sdtransform.cxx
@@ -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
@@ -74,7 +74,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;
@@ -149,7 +149,7 @@ void SdTransformOOo2xDocument::transformStyles( SfxStyleFamily eFam )
{
transformStyle( *pSheet );
pSheet = aIter.Next();
- }
+ }
}
void SdTransformOOo2xDocument::transformStyle( SfxStyleSheetBase& rSheet )
@@ -263,7 +263,7 @@ void SdTransformOOo2xDocument::transformTextShape( SdrTextObj& rTextShape )
bChange = true;
}
- bItemChange |= transformItemSet( aParaSet, bState );
+ bItemChange |= transformItemSet( aParaSet, bState );
bItemChange |= removeAlienAttributes( aParaSet );
@@ -299,7 +299,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();
@@ -355,7 +355,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 cb130f059960..d8682d2b3c66 100644
--- a/sd/source/filter/xml/sdxmlwrp.cxx
+++ b/sd/source/filter/xml/sdxmlwrp.cxx
@@ -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
@@ -465,7 +465,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 =
@@ -493,11 +493,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 },
@@ -840,9 +840,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() )
{
@@ -879,18 +879,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 },
@@ -956,7 +956,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() )
@@ -1061,9 +1061,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 032373c03671..1326314c549f 100644
--- a/sd/source/helper/simplereferencecomponent.cxx
+++ b/sd/source/helper/simplereferencecomponent.cxx
@@ -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
@@ -68,10 +68,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
@@ -107,7 +107,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 034a0bc5e863..736f9bc33758 100644
--- a/sd/source/ui/accessibility/AccessibleDocumentViewBase.cxx
+++ b/sd/source/ui/accessibility/AccessibleDocumentViewBase.cxx
@@ -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
@@ -58,7 +58,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;
@@ -76,7 +76,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())
@@ -114,7 +114,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.
@@ -155,7 +155,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()))
{
@@ -168,7 +168,7 @@ void AccessibleDocumentViewBase::Init (void)
-IMPL_LINK(AccessibleDocumentViewBase, WindowChildEventListener,
+IMPL_LINK(AccessibleDocumentViewBase, WindowChildEventListener,
VclSimpleEvent*, pEvent)
{
OSL_ASSERT(pEvent!=NULL && pEvent->ISA(VclWindowEvent));
@@ -278,7 +278,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),
@@ -294,9 +294,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 ();
@@ -313,7 +313,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)
@@ -335,7 +335,7 @@ uno::Reference<XAccessible > SAL_CALL
-awt::Rectangle SAL_CALL
+awt::Rectangle SAL_CALL
AccessibleDocumentViewBase::getBounds (void)
throw (::com::sun::star::uno::RuntimeException)
{
@@ -365,9 +365,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());
}
@@ -375,7 +375,7 @@ awt::Rectangle SAL_CALL
awt::Point SAL_CALL
- AccessibleDocumentViewBase::getLocation (void)
+ AccessibleDocumentViewBase::getLocation (void)
throw (uno::RuntimeException)
{
ThrowIfDisposed ();
@@ -387,7 +387,7 @@ awt::Point SAL_CALL
awt::Point SAL_CALL
- AccessibleDocumentViewBase::getLocationOnScreen (void)
+ AccessibleDocumentViewBase::getLocationOnScreen (void)
throw (uno::RuntimeException)
{
ThrowIfDisposed ();
@@ -400,7 +400,7 @@ awt::Point SAL_CALL
awt::Size SAL_CALL
- AccessibleDocumentViewBase::getSize (void)
+ AccessibleDocumentViewBase::getSize (void)
throw (uno::RuntimeException)
{
ThrowIfDisposed ();
@@ -423,7 +423,7 @@ awt::Size SAL_CALL
//===== XInterface ==========================================================
-
+
uno::Any SAL_CALL
AccessibleDocumentViewBase::queryInterface (const uno::Type & rType)
throw (uno::RuntimeException)
@@ -446,7 +446,7 @@ uno::Any SAL_CALL
void SAL_CALL
- AccessibleDocumentViewBase::acquire (void)
+ AccessibleDocumentViewBase::acquire (void)
throw ()
{
AccessibleContextBase::acquire ();
@@ -461,13 +461,13 @@ void SAL_CALL
{
AccessibleContextBase::release ();
}
+
+
-
-
-
+
//===== XServiceInfo ========================================================
-
-::rtl::OUString SAL_CALL
+
+::rtl::OUString SAL_CALL
AccessibleDocumentViewBase::getImplementationName (void)
throw (::com::sun::star::uno::RuntimeException)
{
@@ -486,11 +486,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)
@@ -504,27 +504,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;
@@ -551,7 +551,7 @@ void AccessibleDocumentViewBase::impl_dispose()
{
DBG_ASSERT (pWindow, "AccessibleDocumentViewBase::disposing");
}
-
+
// Unregister from window.
if (mxWindow.is())
{
@@ -580,7 +580,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.
@@ -626,60 +626,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);
}
@@ -720,7 +720,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)
@@ -785,7 +785,7 @@ void AccessibleDocumentViewBase::SetAccessibleOLEObject (
if (mxAccessibleOLEObject != xOLEObject)
if (mxAccessibleOLEObject.is())
CommitChange (
- AccessibleEventId::CHILD,
+ AccessibleEventId::CHILD,
uno::Any(),
uno::makeAny (mxAccessibleOLEObject));
@@ -799,7 +799,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());
}
@@ -810,23 +810,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 );
@@ -834,7 +834,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 dc0088d321f7..f8524ebbb1d0 100644
--- a/sd/source/ui/accessibility/AccessibleDrawDocumentView.cxx
+++ b/sd/source/ui/accessibility/AccessibleDrawDocumentView.cxx
@@ -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
@@ -65,7 +65,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;
@@ -137,7 +137,7 @@ void AccessibleDrawDocumentView::Init (void)
-void AccessibleDrawDocumentView::ViewForwarderChanged (ChangeType aChangeType,
+void AccessibleDrawDocumentView::ViewForwarderChanged (ChangeType aChangeType,
const IAccessibleViewForwarder* pViewForwarder)
{
AccessibleDocumentViewBase::ViewForwarderChanged (aChangeType, pViewForwarder);
@@ -247,7 +247,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();
@@ -305,7 +305,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)
@@ -339,7 +339,7 @@ void SAL_CALL
OSL_TRACE (" visible area changed");
if (mpChildrenManager != NULL)
mpChildrenManager->ViewForwarderChanged (
- IAccessibleViewForwarderListener::VISIBLE_AREA,
+ IAccessibleViewForwarderListener::VISIBLE_AREA,
&maViewForwarder);
}
else
@@ -352,8 +352,8 @@ void SAL_CALL
//===== XServiceInfo ========================================================
-
-::rtl::OUString SAL_CALL
+
+::rtl::OUString SAL_CALL
AccessibleDrawDocumentView::getImplementationName (void)
throw (::com::sun::star::uno::RuntimeException)
{
@@ -370,7 +370,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());
@@ -384,9 +384,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)
@@ -410,7 +410,7 @@ void SAL_CALL
else
{
::vos::OGuard aGuard( Application::GetSolarMutex() );
-
+
sName = String( SdResId(SID_SD_A11Y_D_DRAWVIEW_N) );
}
}
@@ -426,7 +426,7 @@ void SAL_CALL
sName = String( SdResId(SID_SD_A11Y_I_HANDOUTVIEW_N) );
}
- else
+ else
{
sName = sFirstService;
}
@@ -467,7 +467,7 @@ void SAL_CALL
else
{
::vos::OGuard aGuard( Application::GetSolarMutex() );
-
+
sDescription = String( SdResId(SID_SD_A11Y_D_DRAWVIEW_D) );
}
}
@@ -483,7 +483,7 @@ void SAL_CALL
sDescription = String( SdResId(SID_SD_A11Y_I_HANDOUTVIEW_D) );
}
- else
+ else
{
sDescription = sFirstService;
}
@@ -500,8 +500,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 vos::OGuard aSolarGuard( Application::GetSolarMutex() );
@@ -546,7 +546,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 vos::OGuard aSolarGuard( Application::GetSolarMutex() );
@@ -593,7 +593,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 )
@@ -604,7 +604,7 @@ void
{
uno::Reference< drawing::XShapes > xShapes;
sal_Bool bFound = sal_False;
-
+
aAny = xSel->getSelection();
aAny >>= xShapes;
@@ -732,7 +732,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 6862634df9a0..8bfd3977102c 100644
--- a/sd/source/ui/accessibility/AccessibleOutlineEditSource.cxx
+++ b/sd/source/ui/accessibility/AccessibleOutlineEditSource.cxx
@@ -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,21 +36,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, NULL ),
mViewForwarder( rOutlView )
- {
+ {
// register as listener - need to broadcast state change messages
rOutliner.SetNotifyHdl( LINK(this, AccessibleOutlineEditSource, NotifyHdl) );
StartListening(rOutliner);
@@ -100,7 +100,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
}
@@ -143,20 +143,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();
}
@@ -167,11 +167,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();
}
@@ -214,11 +214,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 f61e09d743f7..b2dcd2c00b8b 100644
--- a/sd/source/ui/accessibility/AccessibleOutlineView.cxx
+++ b/sd/source/ui/accessibility/AccessibleOutlineView.cxx
@@ -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
@@ -39,7 +39,7 @@
#include <com/sun/star/accessibility/AccessibleEventId.hpp>
#endif
#include <com/sun/star/lang/IndexOutOfBoundsException.hpp>
-#ifndef _COM_SUN_STAR_LANG_XMULSTISERVICEFACTORY_HPP_
+#ifndef _COM_SUN_STAR_LANG_XMULSTISERVICEFACTORY_HPP_
#include <com/sun/star/lang/XMultiServiceFactory.hpp>
#endif
#include <rtl/ustring.h>
@@ -68,7 +68,7 @@
#include <vos/mutex.hxx>
using namespace ::com::sun::star;
-using namespace ::com::sun::star::accessibility;
+using namespace ::com::sun::star::accessibility;
namespace accessibility {
@@ -95,12 +95,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 ) ) );
}
}
@@ -123,11 +123,11 @@ void AccessibleOutlineView::Init (void)
}
-void AccessibleOutlineView::ViewForwarderChanged (ChangeType aChangeType,
+void AccessibleOutlineView::ViewForwarderChanged (ChangeType aChangeType,
const IAccessibleViewForwarder* pViewForwarder)
{
AccessibleDocumentViewBase::ViewForwarderChanged (aChangeType, pViewForwarder);
-
+
UpdateChildren();
}
@@ -171,8 +171,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)
{
@@ -254,7 +254,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 560e0654af60..e446d41785de 100644
--- a/sd/source/ui/accessibility/AccessiblePageShape.cxx
+++ b/sd/source/ui/accessibility/AccessiblePageShape.cxx
@@ -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
@@ -45,7 +45,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;
@@ -357,7 +357,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 48db0c894e9c..0d3882ecaaac 100644
--- a/sd/source/ui/accessibility/AccessiblePresentationGraphicShape.cxx
+++ b/sd/source/ui/accessibility/AccessiblePresentationGraphicShape.cxx
@@ -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 @@
using namespace ::rtl;
using namespace ::com::sun::star;
-using namespace ::com::sun::star::accessibility;
+using namespace ::com::sun::star::accessibility;
namespace accessibility {
@@ -60,8 +60,8 @@ AccessiblePresentationGraphicShape::~AccessiblePresentationGraphicShape (void)
//===== XServiceInfo ========================================================
-
-::rtl::OUString SAL_CALL
+
+::rtl::OUString SAL_CALL
AccessiblePresentationGraphicShape::getImplementationName (void)
throw (::com::sun::star::uno::RuntimeException)
{
@@ -71,7 +71,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 c62465916983..74fb38c1ac9a 100644
--- a/sd/source/ui/accessibility/AccessiblePresentationOLEShape.cxx
+++ b/sd/source/ui/accessibility/AccessiblePresentationOLEShape.cxx
@@ -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 @@
using namespace ::rtl;
using namespace ::com::sun::star;
-using namespace ::com::sun::star::accessibility;
+using namespace ::com::sun::star::accessibility;
namespace accessibility {
@@ -60,8 +60,8 @@ AccessiblePresentationOLEShape::~AccessiblePresentationOLEShape (void)
//===== XServiceInfo ========================================================
-
-::rtl::OUString SAL_CALL
+
+::rtl::OUString SAL_CALL
AccessiblePresentationOLEShape::getImplementationName (void)
throw (::com::sun::star::uno::RuntimeException)
{
@@ -71,7 +71,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)
@@ -117,19 +117,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 2137d88a9de2..bded19a1f441 100644
--- a/sd/source/ui/accessibility/AccessiblePresentationShape.cxx
+++ b/sd/source/ui/accessibility/AccessiblePresentationShape.cxx
@@ -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 @@
using namespace ::rtl;
using namespace ::com::sun::star;
-using namespace ::com::sun::star::accessibility;
+using namespace ::com::sun::star::accessibility;
namespace accessibility {
@@ -60,8 +60,8 @@ AccessiblePresentationShape::~AccessiblePresentationShape (void)
//===== XServiceInfo ========================================================
-
-::rtl::OUString SAL_CALL
+
+::rtl::OUString SAL_CALL
AccessiblePresentationShape::getImplementationName (void)
throw (::com::sun::star::uno::RuntimeException)
{
@@ -71,7 +71,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)
@@ -177,4 +177,4 @@ AccessiblePresentationShape::~AccessiblePresentationShape (void)
return aDG();
}
-} // end of namespace accessibility
+} // end of namespace accessibility
diff --git a/sd/source/ui/accessibility/AccessibleScrollPanel.cxx b/sd/source/ui/accessibility/AccessibleScrollPanel.cxx
index ff34c9556bde..93f16bb19ea3 100644
--- a/sd/source/ui/accessibility/AccessibleScrollPanel.cxx
+++ b/sd/source/ui/accessibility/AccessibleScrollPanel.cxx
@@ -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,11 +99,11 @@ Reference<XAccessible> SAL_CALL
const vos::OGuard aSolarGuard (Application::GetSolarMutex());
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)
@@ -124,7 +124,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 ae1f6f633edc..a21dac102a44 100755
--- a/sd/source/ui/accessibility/AccessibleSlideSorterObject.cxx
+++ b/sd/source/ui/accessibility/AccessibleSlideSorterObject.cxx
@@ -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
@@ -138,7 +138,7 @@ Reference<XAccessibleContext> SAL_CALL
//===== XAccessibleContext ====================================================
-sal_Int32 SAL_CALL AccessibleSlideSorterObject::getAccessibleChildCount (void)
+sal_Int32 SAL_CALL AccessibleSlideSorterObject::getAccessibleChildCount (void)
throw (uno::RuntimeException)
{
ThrowIfDisposed();
@@ -148,7 +148,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();
@@ -158,7 +158,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();
@@ -168,7 +168,7 @@ Reference<XAccessible> SAL_CALL AccessibleSlideSorterObject::getAccessibleParent
-sal_Int32 SAL_CALL AccessibleSlideSorterObject::getAccessibleIndexInParent()
+sal_Int32 SAL_CALL AccessibleSlideSorterObject::getAccessibleIndexInParent()
throw (uno::RuntimeException)
{
ThrowIfDisposed();
@@ -182,7 +182,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;
@@ -190,14 +190,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();
@@ -208,7 +208,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();
@@ -218,7 +218,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();
@@ -235,7 +235,7 @@ sal_Int16 SAL_CALL AccessibleSlideSorterObject::getAccessibleRole (void)
Reference<XAccessibleRelationSet> SAL_CALL
- AccessibleSlideSorterObject::getAccessibleRelationSet (void)
+ AccessibleSlideSorterObject::getAccessibleRelationSet (void)
throw (uno::RuntimeException)
{
ThrowIfDisposed();
@@ -246,7 +246,7 @@ Reference<XAccessibleRelationSet> SAL_CALL
Reference<XAccessibleStateSet> SAL_CALL
- AccessibleSlideSorterObject::getAccessibleStateSet (void)
+ AccessibleSlideSorterObject::getAccessibleStateSet (void)
throw (uno::RuntimeException)
{
ThrowIfDisposed();
@@ -278,7 +278,7 @@ Reference<XAccessibleStateSet> SAL_CALL
-lang::Locale SAL_CALL AccessibleSlideSorterObject::getLocale (void)
+lang::Locale SAL_CALL AccessibleSlideSorterObject::getLocale (void)
throw (IllegalAccessibleComponentStateException,
RuntimeException)
{
@@ -291,8 +291,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();
}
@@ -303,7 +303,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())
@@ -328,7 +328,7 @@ void SAL_CALL AccessibleSlideSorterObject::addEventListener(
void SAL_CALL AccessibleSlideSorterObject::removeEventListener(
- const Reference<XAccessibleEventListener>& rxListener)
+ const Reference<XAccessibleEventListener>& rxListener)
throw (uno::RuntimeException)
{
ThrowIfDisposed();
@@ -354,7 +354,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();
@@ -369,7 +369,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;
@@ -378,7 +378,7 @@ Reference<XAccessible> SAL_CALL
-awt::Rectangle SAL_CALL AccessibleSlideSorterObject::getBounds (void)
+awt::Rectangle SAL_CALL AccessibleSlideSorterObject::getBounds (void)
throw (RuntimeException)
{
ThrowIfDisposed ();
@@ -414,7 +414,7 @@ awt::Rectangle SAL_CALL AccessibleSlideSorterObject::getBounds (void)
-awt::Point SAL_CALL AccessibleSlideSorterObject::getLocation ()
+awt::Point SAL_CALL AccessibleSlideSorterObject::getLocation ()
throw (RuntimeException)
{
ThrowIfDisposed ();
@@ -425,7 +425,7 @@ awt::Point SAL_CALL AccessibleSlideSorterObject::getLocation ()
-awt::Point SAL_CALL AccessibleSlideSorterObject::getLocationOnScreen (void)
+awt::Point SAL_CALL AccessibleSlideSorterObject::getLocationOnScreen (void)
throw (RuntimeException)
{
ThrowIfDisposed ();
@@ -451,7 +451,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 ();
@@ -462,7 +462,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
@@ -483,7 +483,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 6f3508d731a8..f7b901affe17 100755
--- a/sd/source/ui/accessibility/AccessibleSlideSorterView.cxx
+++ b/sd/source/ui/accessibility/AccessibleSlideSorterView.cxx
@@ -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
@@ -208,7 +208,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();
@@ -220,7 +220,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();
@@ -237,7 +237,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());
@@ -245,27 +245,27 @@ sal_Int32 SAL_CALL AccessibleSlideSorterView::getAccessibleIndexInParent (void)
const vos::OGuard aSolarGuard (Application::GetSolarMutex());
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();
@@ -276,7 +276,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();
@@ -288,7 +288,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();
@@ -301,7 +301,7 @@ sal_Int16 SAL_CALL AccessibleSlideSorterView::getAccessibleRole (void)
Reference<XAccessibleRelationSet> SAL_CALL
- AccessibleSlideSorterView::getAccessibleRelationSet (void)
+ AccessibleSlideSorterView::getAccessibleRelationSet (void)
throw (uno::RuntimeException)
{
return Reference<XAccessibleRelationSet>();
@@ -311,7 +311,7 @@ Reference<XAccessibleRelationSet> SAL_CALL
Reference<XAccessibleStateSet > SAL_CALL
- AccessibleSlideSorterView::getAccessibleStateSet (void)
+ AccessibleSlideSorterView::getAccessibleStateSet (void)
throw (uno::RuntimeException)
{
ThrowIfDisposed();
@@ -338,7 +338,7 @@ Reference<XAccessibleStateSet > SAL_CALL
-lang::Locale SAL_CALL AccessibleSlideSorterView::getLocale (void)
+lang::Locale SAL_CALL AccessibleSlideSorterView::getLocale (void)
throw (IllegalAccessibleComponentStateException,
RuntimeException)
{
@@ -359,7 +359,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())
@@ -384,7 +384,7 @@ void SAL_CALL AccessibleSlideSorterView::addEventListener(
void SAL_CALL AccessibleSlideSorterView::removeEventListener(
- const Reference<XAccessibleEventListener >& rxListener)
+ const Reference<XAccessibleEventListener >& rxListener)
throw (RuntimeException)
{
ThrowIfDisposed();
@@ -414,7 +414,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();
@@ -429,27 +429,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 vos::OGuard aSolarGuard (Application::GetSolarMutex());
- 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();
@@ -460,25 +460,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());
@@ -495,7 +495,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();
@@ -510,7 +510,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;
@@ -521,12 +521,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());
@@ -540,7 +540,7 @@ awt::Size SAL_CALL AccessibleSlideSorterView::getSize (void)
-void SAL_CALL AccessibleSlideSorterView::grabFocus (void)
+void SAL_CALL AccessibleSlideSorterView::grabFocus (void)
throw (uno::RuntimeException)
{
ThrowIfDisposed();
@@ -565,7 +565,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();
@@ -578,7 +578,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)
{
@@ -595,7 +595,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)
{
@@ -616,7 +616,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();
@@ -640,7 +640,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 ();
@@ -652,7 +652,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 ();
@@ -674,7 +674,7 @@ Reference<XAccessible > SAL_CALL
++nSelectedCount;
}
-
+
if ( ! xChild.is() )
throw lang::IndexOutOfBoundsException();
@@ -684,7 +684,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)
{
@@ -899,14 +899,14 @@ AccessibleSlideSorterObject* AccessibleSlideSorterView::Implementation::GetAcces
}
}
-
+
pChild = maPageObjects[nIndex].get();
}
else
{
OSL_ASSERT(nIndex>=0 && (sal_uInt32)nIndex<maPageObjects.size());
}
-
+
return pChild;
}
@@ -947,7 +947,7 @@ void AccessibleSlideSorterView::Implementation::ReleaseListeners (void)
if (mpWindow != NULL)
mpWindow->RemoveEventListener(
LINK(this,AccessibleSlideSorterView::Implementation,WindowEventListener));
-
+
if (mbListeningToDocument)
{
if (mrSlideSorter.GetViewShell() != NULL)
@@ -1006,7 +1006,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 5c7462581d0b..37646409f1d0 100755
--- a/sd/source/ui/accessibility/AccessibleTreeNode.cxx
+++ b/sd/source/ui/accessibility/AccessibleTreeNode.cxx
@@ -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
@@ -106,7 +106,7 @@ AccessibleTreeNode::AccessibleTreeNode(
void AccessibleTreeNode::CommonConstructor (void)
{
UpdateStateSet();
-
+
Link aStateChangeLink (LINK(this,AccessibleTreeNode,StateChangeListener));
mrTreeNode.AddStateChangeListener(aStateChangeLink);
@@ -189,17 +189,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 vos::OGuard aSolarGuard (Application::GetSolarMutex());
-
+
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();
@@ -210,7 +210,7 @@ Reference<XAccessible > SAL_CALL
-Reference<XAccessible > SAL_CALL AccessibleTreeNode::getAccessibleParent (void)
+Reference<XAccessible > SAL_CALL AccessibleTreeNode::getAccessibleParent (void)
throw (uno::RuntimeException)
{
ThrowIfDisposed();
@@ -221,7 +221,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());
@@ -229,27 +229,27 @@ sal_Int32 SAL_CALL AccessibleTreeNode::getAccessibleIndexInParent (void)
const vos::OGuard aSolarGuard (Application::GetSolarMutex());
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();
@@ -259,7 +259,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();
@@ -269,7 +269,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();
@@ -280,7 +280,7 @@ sal_Int16 SAL_CALL AccessibleTreeNode::getAccessibleRole (void)
Reference<XAccessibleRelationSet> SAL_CALL
- AccessibleTreeNode::getAccessibleRelationSet (void)
+ AccessibleTreeNode::getAccessibleRelationSet (void)
throw (uno::RuntimeException)
{
ThrowIfDisposed();
@@ -291,7 +291,7 @@ Reference<XAccessibleRelationSet> SAL_CALL
Reference<XAccessibleStateSet > SAL_CALL
- AccessibleTreeNode::getAccessibleStateSet (void)
+ AccessibleTreeNode::getAccessibleStateSet (void)
throw (uno::RuntimeException)
{
ThrowIfDisposed();
@@ -347,7 +347,7 @@ void AccessibleTreeNode::UpdateState(
-lang::Locale SAL_CALL AccessibleTreeNode::getLocale (void)
+lang::Locale SAL_CALL AccessibleTreeNode::getLocale (void)
throw (IllegalAccessibleComponentStateException,
RuntimeException)
{
@@ -368,7 +368,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())
@@ -393,7 +393,7 @@ void SAL_CALL AccessibleTreeNode::addEventListener(
void SAL_CALL AccessibleTreeNode::removeEventListener(
- const Reference<XAccessibleEventListener >& rxListener)
+ const Reference<XAccessibleEventListener >& rxListener)
throw (RuntimeException)
{
ThrowIfDisposed();
@@ -419,7 +419,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();
@@ -434,7 +434,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();
@@ -459,7 +459,7 @@ Reference<XAccessible> SAL_CALL
}
}
}
-
+
return xChildAtPoint;
}
@@ -505,7 +505,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();
@@ -519,7 +519,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();
@@ -540,7 +540,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();
@@ -551,7 +551,7 @@ awt::Size SAL_CALL AccessibleTreeNode::getSize (void)
-void SAL_CALL AccessibleTreeNode::grabFocus (void)
+void SAL_CALL AccessibleTreeNode::grabFocus (void)
throw (uno::RuntimeException)
{
ThrowIfDisposed();
@@ -576,7 +576,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();
@@ -661,7 +661,7 @@ IMPL_LINK(AccessibleTreeNode, StateChangeListener, TreeNodeStateChangeEvent*, pE
{
OSL_ASSERT(pEvent!=NULL);
OSL_ASSERT(&pEvent->mrSource==&mrTreeNode);
-
+
switch(pEvent->meEventId)
{
case EID_CHILD_ADDED:
@@ -672,11 +672,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:
@@ -710,7 +710,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 de5342afd23f..ae9ba66577fb 100755
--- a/sd/source/ui/accessibility/AccessibleViewForwarder.cxx
+++ b/sd/source/ui/accessibility/AccessibleViewForwarder.cxx
@@ -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
@@ -163,7 +163,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 6bd859c570c4..84305e7e0b70 100644
--- a/sd/source/ui/accessibility/SdShapeTypes.cxx
+++ b/sd/source/ui/accessibility/SdShapeTypes.cxx
@@ -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
@@ -73,59 +73,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 f76b84d29826..6d0d1d4010e4 100755
--- a/sd/source/ui/animations/CustomAnimationCreateDialog.cxx
+++ b/sd/source/ui/animations/CustomAnimationCreateDialog.cxx
@@ -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
@@ -97,16 +97,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 )
@@ -212,12 +212,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;
@@ -518,10 +518,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 ) ) ;
@@ -595,9 +595,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 48b87045b70f..b129ec0eac0f 100644
--- a/sd/source/ui/animations/CustomAnimationCreateDialog.hxx
+++ b/sd/source/ui/animations/CustomAnimationCreateDialog.hxx
@@ -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/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 7f942562b951..f81225390126 100644
--- a/sd/source/ui/animations/CustomAnimationDialog.cxx
+++ b/sd/source/ui/animations/CustomAnimationDialog.cxx
@@ -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
@@ -404,7 +404,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);
@@ -1160,38 +1160,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;
};
@@ -1445,9 +1445,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 );
@@ -1800,7 +1800,7 @@ sal_Int32 CustomAnimationEffectTabPage::getSoundObject( const String& rStr )
void CustomAnimationEffectTabPage::openSoundFileDialog()
{
- SdOpenSoundFileDialog aFileDialog;
+ SdOpenSoundFileDialog aFileDialog;
String aFile( SvtPathOptions().GetGraphicPath() );
aFileDialog.SetPath( aFile );
@@ -1931,8 +1931,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 );
}
@@ -2260,12 +2260,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;
@@ -2273,7 +2273,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 e732f4a0e731..84a28bc52943 100644
--- a/sd/source/ui/animations/CustomAnimationDialog.hxx
+++ b/sd/source/ui/animations/CustomAnimationDialog.hxx
@@ -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
@@ -111,15 +111,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,
@@ -128,14 +128,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 7c07ec76127a..6e714cbfbb18 100644
--- a/sd/source/ui/animations/CustomAnimationList.cxx
+++ b/sd/source/ui/animations/CustomAnimationList.cxx
@@ -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
@@ -193,7 +193,7 @@ static OUString getDescription( const Any& rTarget, bool bWithText = true )
{
Reference< XTextRange > xParagraph;
xEnumeration->nextElement() >>= xParagraph;
-
+
if( xParagraph.is() )
aDescription = xParagraph->getString();
}
@@ -215,15 +215,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;
};
@@ -282,21 +282,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 )
@@ -366,16 +366,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;
};
// --------------------------------------------------------------------
@@ -472,10 +472,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 ) );
@@ -489,7 +489,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;
@@ -520,16 +520,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 );
@@ -545,7 +545,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 2fe96440030e..e3fe431b8046 100644
--- a/sd/source/ui/animations/CustomAnimationList.hxx
+++ b/sd/source/ui/animations/CustomAnimationList.hxx
@@ -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
@@ -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 8b96e08b4a8c..988f2feb14f5 100644
--- a/sd/source/ui/animations/CustomAnimationPane.cxx
+++ b/sd/source/ui/animations/CustomAnimationPane.cxx
@@ -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
@@ -162,7 +162,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 ),
@@ -202,13 +202,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 );
@@ -471,7 +471,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 ) );
@@ -533,7 +533,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 );
@@ -542,7 +542,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() )
@@ -753,7 +753,7 @@ void CustomAnimationPane::updateControls()
mpLBStart->Enable(nSelectionCount > 0);
mpPBPropertyMore->Enable(nSelectionCount > 0);
-// mpPBPlay->Enable(nSelectionCount > 0);
+// mpPBPlay->Enable(nSelectionCount > 0);
mpFTProperty->SetText( maStrProperty );
@@ -766,7 +766,7 @@ void CustomAnimationPane::updateControls()
OUString aUIName( getPresets().getUINameForPresetId( pEffect->getPresetId() ) );
OUString aTemp( maStrModify );
-
+
if( aUIName.getLength() )
{
aTemp += OUString( (sal_Unicode)' ' );
@@ -778,7 +778,7 @@ void CustomAnimationPane::updateControls()
if( pDescriptor.get() )
{
PropertySubControl* pSubControl = NULL;
-
+
Any aValue;
UStringList aProperties( pDescriptor->getProperties() );
@@ -792,7 +792,7 @@ void CustomAnimationPane::updateControls()
aValue = getProperty1Value( mnPropertyType, pEffect );
}
-
+
if( aValue.hasValue() )
{
pSubControl = mpLBProperty->getSubControl();
@@ -831,9 +831,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 );
@@ -850,13 +850,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 );
@@ -901,14 +901,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 );
@@ -1065,13 +1065,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();
@@ -1081,7 +1081,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:
@@ -1338,7 +1338,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;
@@ -1346,7 +1346,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 )
@@ -1371,7 +1371,7 @@ STLPropertySet* CustomAnimationPane::createSelectionSet()
addValue( pSet, nHandleTrigger, makeAny( pIS->getTriggerShape() ) );
}
- //
+ //
CustomAnimationPresetPtr pDescriptor = rPresets.getEffectDescriptor( pEffect->getPresetId() );
if( pDescriptor.get() )
@@ -1414,7 +1414,7 @@ void CustomAnimationPane::changeSelection( STLPropertySet* pResultSet, STLProper
{
// change selected effect
bool bChanged = false;
-
+
MainSequenceRebuildGuard aGuard( mpMainSequence );
EffectSequence::iterator aIter( maListSelection.begin() );
@@ -1792,7 +1792,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 );
@@ -1835,7 +1835,7 @@ bool getTextSelection( const Any& rSelection, Reference< XShape >& xShape, std::
else
xRange.clear();
}
-
+
return true;
}
catch( Exception& e )
@@ -2006,9 +2006,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;
}
@@ -2074,9 +2074,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;
}
@@ -2222,7 +2222,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();
@@ -2275,7 +2275,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 );
@@ -2305,7 +2305,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 );
@@ -2458,7 +2458,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 7343bc547f32..bc7d8bd809b7 100644
--- a/sd/source/ui/animations/CustomAnimationPane.hxx
+++ b/sd/source/ui/animations/CustomAnimationPane.hxx
@@ -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
@@ -131,39 +131,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 e1fe8d5d3918..7a9836d3f743 100644
--- a/sd/source/ui/animations/DialogListBox.cxx
+++ b/sd/source/ui/animations/DialogListBox.cxx
@@ -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,17 +36,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 3f72f581222e..7c01c08157a9 100644
--- a/sd/source/ui/animations/STLPropertySet.cxx
+++ b/sd/source/ui/animations/STLPropertySet.cxx
@@ -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/STLPropertySet.hxx b/sd/source/ui/animations/STLPropertySet.hxx
index 2d5d95b5d7f4..fa4ed1d6b143 100644
--- a/sd/source/ui/animations/STLPropertySet.hxx
+++ b/sd/source/ui/animations/STLPropertySet.hxx
@@ -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.cxx b/sd/source/ui/animations/SlideTransitionPane.cxx
index 9c12692c6597..0189db58feb8 100644
--- a/sd/source/ui/animations/SlideTransitionPane.cxx
+++ b/sd/source/ui/animations/SlideTransitionPane.cxx
@@ -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
@@ -222,13 +222,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;
@@ -265,9 +265,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 965f286ac40e..f8a5731620ad 100644
--- a/sd/source/ui/animations/SlideTransitionPane.hxx
+++ b/sd/source/ui/animations/SlideTransitionPane.hxx
@@ -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.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 30992f913705..6648aed843b0 100644
--- a/sd/source/ui/animations/motionpathtag.cxx
+++ b/sd/source/ui/animations/motionpathtag.cxx
@@ -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
@@ -86,23 +86,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 )
{}
@@ -150,23 +150,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 )
{}
@@ -211,7 +211,7 @@ bool PathDragResize::EndSdrDrag(bool /*bCopy*/)
class PathDragObjOwn : public SdrDragObjOwn
{
private:
- basegfx::B2DPolyPolygon maPathPolyPolygon;
+ basegfx::B2DPolyPolygon maPathPolyPolygon;
protected:
virtual void createSdrDragEntries();
@@ -219,12 +219,12 @@ protected:
public:
PathDragObjOwn(SdrDragView& rNewView,
const basegfx::B2DPolyPolygon& rPathPolyPolygon)
- : SdrDragObjOwn(rNewView),
+ : SdrDragObjOwn(rNewView),
maPathPolyPolygon(rPathPolyPolygon)
{}
PathDragObjOwn(SdrDragView& rNewView)
- : SdrDragObjOwn(rNewView),
+ : SdrDragObjOwn(rNewView),
maPathPolyPolygon()
{}
@@ -245,7 +245,7 @@ void PathDragObjOwn::createSdrDragEntries()
bool PathDragObjOwn::EndSdrDrag(bool /*bCopy*/)
{
Hide();
-
+
SdrObject* pObj = GetDragObj();
if(pObj)
@@ -296,7 +296,7 @@ void SdPathHdl::CreateB2dIAObject()
{
// first throw away old one
GetRidOfIAObject();
-
+
if(pHdlList)
{
SdrMarkView* pView = pHdlList->GetView();
@@ -510,7 +510,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() ) );
@@ -523,7 +523,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());
@@ -531,21 +531,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);
@@ -575,7 +575,7 @@ bool MotionPathTag::MouseButtonDown( const MouseEvent& rMEvt, SmartHdl& rHdl )
pHdl = dynamic_cast< SmartHdl* >( mrView.PickHandle(aMDPos) );
}
}
-
+
if (pHdl)
mrView.MarkPoint(*pHdl);
}
@@ -585,7 +585,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;
@@ -606,12 +606,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;
@@ -701,7 +701,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())
@@ -726,7 +726,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;
}
@@ -746,10 +746,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;
}
@@ -1007,13 +1007,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());
@@ -1028,22 +1028,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));
@@ -1103,10 +1103,10 @@ void MotionPathTag::deselect()
{
SdrUShortCont* pPts = mpMark->GetMarkedPoints();
- if( pPts )
+ if( pPts )
pPts->Clear();
}
-
+
selectionChanged();
}
@@ -1129,24 +1129,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();
@@ -1155,7 +1155,7 @@ void MotionPathTag::DeleteMarkedPoints()
}
}
-// EndUndo();
+// EndUndo();
}
}
@@ -1193,15 +1193,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();
@@ -1229,33 +1229,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();
@@ -1263,7 +1263,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 1413636fca2b..9834fcc323d5 100644
--- a/sd/source/ui/animations/motionpathtag.hxx
+++ b/sd/source/ui/animations/motionpathtag.hxx
@@ -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
@@ -78,7 +78,7 @@ public:
virtual void DeleteMarkedPoints();
virtual BOOL IsDeleteMarkedPointsPossible() const;
- virtual void RipUpAtMarkedPoints();
+ virtual void RipUpAtMarkedPoints();
virtual bool IsRipUpAtMarkedPointsPossible() const;
virtual BOOL IsSetMarkedSegmentsKindPossible() const;
@@ -88,7 +88,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;
@@ -129,5 +129,5 @@ private:
} // end of namespace sd
-#endif // _SD_MOTIONPATHTAG_HXX_
+#endif // _SD_MOTIONPATHTAG_HXX_
diff --git a/sd/source/ui/annotations/annotationmanager.cxx b/sd/source/ui/annotations/annotationmanager.cxx
index 1e64617edab8..465fc6f4eda0 100755
--- a/sd/source/ui/annotations/annotationmanager.cxx
+++ b/sd/source/ui/annotations/annotationmanager.cxx
@@ -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
@@ -151,12 +151,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 )
@@ -167,7 +167,7 @@ OUString getAnnotationDateTimeString( const Reference< XAnnotation >& xAnnotatio
const LocaleDataWrapper& rLocalData = SvtSysLocale().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));
@@ -177,8 +177,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 );
}
@@ -196,7 +196,7 @@ AnnotationManagerImpl::AnnotationManagerImpl( ViewShellBase& rViewShellBase )
{
SdOptions* pOptions = SD_MOD()->GetSdOptions(mpDoc->GetDocumentType());
if( pOptions )
- mbShowAnnotations = pOptions->IsShowComments() == TRUE;
+ mbShowAnnotations = pOptions->IsShowComments() == TRUE;
}
// --------------------------------------------------------------------
@@ -206,7 +206,7 @@ void AnnotationManagerImpl::init()
// get current controller and initialize listeners
try
{
- addListener();
+ addListener();
mxView = Reference< XDrawView >::query(mrBase.GetController());
}
catch( Exception& e )
@@ -223,7 +223,7 @@ void AnnotationManagerImpl::init()
}
catch( Exception& )
{
- }
+ }
}
// --------------------------------------------------------------------
@@ -239,7 +239,7 @@ void SAL_CALL AnnotationManagerImpl::disposing ()
}
catch( Exception& )
{
- }
+ }
removeListener();
DisposeTags();
@@ -255,7 +255,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)
{
@@ -280,9 +280,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();
}
}
@@ -303,7 +303,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;
@@ -318,7 +318,7 @@ void AnnotationManagerImpl::ExecuteAnnotation(SfxRequest& rReq )
void AnnotationManagerImpl::ExecuteInsertAnnotation(SfxRequest& /*rReq*/)
{
ShowAnnotations(true);
- InsertAnnotation();
+ InsertAnnotation();
}
// --------------------------------------------------------------------
@@ -328,7 +328,7 @@ void AnnotationManagerImpl::ExecuteDeleteAnnotation(SfxRequest& rReq)
ShowAnnotations( true );
const SfxItemSet* pArgs = rReq.GetArgs();
-
+
switch( rReq.GetSlot() )
{
case SID_DELETEALL_POSTIT:
@@ -345,12 +345,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;
@@ -358,10 +358,10 @@ void AnnotationManagerImpl::ExecuteDeleteAnnotation(SfxRequest& rReq)
( ( const SfxUnoAnyItem* ) pPoolItem )->GetValue() >>= xAnnotation;
}
}
-
- if( !xAnnotation.is() )
+
+ if( !xAnnotation.is() )
GetSelectedAnnotation( xAnnotation );
-
+
DeleteAnnotation( xAnnotation );
}
break;
@@ -379,23 +379,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() );
@@ -403,14 +403,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;
@@ -418,32 +418,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 );
}
@@ -467,7 +467,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 );
@@ -475,7 +475,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(" (") ) );
@@ -488,32 +488,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 );
}
@@ -522,7 +522,7 @@ void AnnotationManagerImpl::ExecuteReplyToAnnotation( SfxRequest& rReq )
// --------------------------------------------------------------------
void AnnotationManagerImpl::DeleteAnnotation( Reference< XAnnotation > xAnnotation )
-{
+{
SdPage* pPage = GetCurrentPage();
if( xAnnotation.is() && pPage )
@@ -548,9 +548,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++ )
{
@@ -578,14 +578,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) );
}
}
}
@@ -602,31 +602,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 );
@@ -634,7 +634,7 @@ void AnnotationManagerImpl::GetAnnotationState(SfxItemSet& rSet)
if( !bHasAnnotations || bReadOnly )
{
rSet.DisableItem( SID_DELETEALL_POSTIT );
- }
+ }
if( bWrongPageKind || !bHasAnnotations )
{
@@ -682,7 +682,7 @@ void AnnotationManagerImpl::SelectNextAnnotation(bool bForeward)
}
}
else
- {
+ {
if( xCurrent.is() )
{
for( AnnotationVector::iterator iter = aAnnotations.begin(); iter != aAnnotations.end(); iter++ )
@@ -701,7 +701,7 @@ void AnnotationManagerImpl::SelectNextAnnotation(bool bForeward)
}
}
else if( !aAnnotations.empty() )
- {
+ {
AnnotationVector::iterator iter( aAnnotations.end() );
SelectAnnotation( *(--iter) );
return;
@@ -714,8 +714,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()));
@@ -723,17 +723,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;
@@ -758,7 +758,7 @@ void AnnotationManagerImpl::SelectNextAnnotation(bool bForeward)
// --------------------------------------------------------------------
-void AnnotationManagerImpl::onTagSelected( AnnotationTag& rTag )
+void AnnotationManagerImpl::onTagSelected( AnnotationTag& rTag )
{
mxSelectedAnnotation = rTag.GetAnnotation();
invalidateSlots();
@@ -778,14 +778,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;
@@ -809,8 +809,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 );
}
}
@@ -826,9 +826,9 @@ void AnnotationManagerImpl::onSelectionChanged()
if( xPage != mxCurrentPage )
{
mxCurrentPage = xPage;
-
+
UpdateTags(true);
- }
+ }
}
catch( Exception& )
{
@@ -842,7 +842,7 @@ void AnnotationManagerImpl::UpdateTags( bool bSynchron )
{
if( mnUpdateTagsEvent )
Application::RemoveUserEvent( mnUpdateTagsEvent );
-
+
UpdateTagsHdl(0);
}
else
@@ -856,15 +856,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;
}
@@ -877,7 +877,7 @@ void AnnotationManagerImpl::CreateTags()
maFont = Application::GetSettings().GetStyleSettings().GetAppFont();
rtl::Reference< AnnotationTag > xSelectedTag;
-
+
Reference< XAnnotationEnumeration > xEnum( mxCurrentPage->createAnnotationEnumeration() );
while( xEnum->hasMoreElements() )
{
@@ -885,16 +885,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
@@ -921,7 +921,7 @@ void AnnotationManagerImpl::DisposeTags()
(*iter++)->Dispose();
}
while( iter != maTagVector.end() );
-
+
maTagVector.clear();
}
}
@@ -979,19 +979,19 @@ OUString AnnotationManagerImpl::GetHelpText( ::com::sun::star::uno::Reference< :
{
OUString sAuthor( xAnnotation->getAuthor() );
if( sAuthor.getLength() != 0 )
- {
+ {
sRet += sAuthor;
}
sRet += OUString( RTL_CONSTASCII_USTRINGPARAM( " [" ) );
-
+
sRet += getAnnotationDateTimeString( xAnnotation );
sRet += OUString( RTL_CONSTASCII_USTRINGPARAM( "]\n" ) );
-
+
Reference< XText > xText( xAnnotation->getTextRange() );
if( xText.is() )
sRet += xText->getString();
}
-
+
return sRet;
}
#endif
@@ -1001,29 +1001,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 )
{
@@ -1038,18 +1038,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 )
{
@@ -1065,12 +1065,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() )
@@ -1078,12 +1078,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 );
@@ -1114,10 +1114,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:
@@ -1134,9 +1134,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 % (sizeof( aArrayNormal )/ sizeof( aArrayNormal[0] ))]);
}
@@ -1149,9 +1149,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 % (sizeof( aArrayLight )/ sizeof( aArrayLight[0] ))]);
}
@@ -1164,11 +1164,11 @@ 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 % (sizeof( aArrayAnkor ) / sizeof( aArrayAnkor[0] ))]);
+ return Color( aArrayAnkor[ aAuthorIndex % (sizeof( aArrayAnkor ) / sizeof( aArrayAnkor[0] ))]);
}
else
return Color(COL_WHITE);
@@ -1178,14 +1178,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)
@@ -1197,15 +1197,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
@@ -1218,12 +1218,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 70b95c2a509b..06e57d7888c2 100755
--- a/sd/source/ui/annotations/annotationmanagerimpl.hxx
+++ b/sd/source/ui/annotations/annotationmanagerimpl.hxx
@@ -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
@@ -49,34 +49,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 );
@@ -88,16 +88,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();
#if 0
rtl::OUString GetHelpText( ::com::sun::star::uno::Reference< ::com::sun::star::office::XAnnotation >& xAnnotation );
@@ -117,18 +117,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 6439245a94c0..b6c943cf377f 100644
--- a/sd/source/ui/annotations/annotationtag.cxx
+++ b/sd/source/ui/annotations/annotationtag.cxx
@@ -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
@@ -90,7 +90,7 @@ static OUString getInitials( const OUString& rName )
// take letter
if( nLength )
{
- sInitials += OUString( *pStr );
+ sInitials += OUString( *pStr );
nLength--; pStr++;
}
@@ -142,10 +142,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);
@@ -212,12 +212,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 )
@@ -249,18 +249,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);
}
@@ -350,21 +350,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;
}
@@ -417,40 +417,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 )
@@ -459,7 +459,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;
@@ -479,10 +479,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;
}
@@ -597,15 +597,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);
}
@@ -617,7 +617,7 @@ void AnnotationTag::deselect()
{
SmartTag::deselect();
- ClosePopup();
+ ClosePopup();
mrManager.onTagDeselected( *this );
}
@@ -674,37 +674,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();
}
@@ -724,7 +724,7 @@ IMPL_LINK(AnnotationTag, WindowEventHandler, VclWindowEvent*, pEvent)
if( pEvent != NULL )
{
::Window* pWindow = pEvent->GetWindow();
-
+
if( pWindow )
{
if( pWindow == mpAnnotationWindow.get() )
@@ -733,7 +733,7 @@ IMPL_LINK(AnnotationTag, WindowEventHandler, VclWindowEvent*, pEvent)
{
if( mnClosePopupEvent )
Application::RemoveUserEvent( mnClosePopupEvent );
-
+
mnClosePopupEvent = Application::PostUserEvent( LINK( this, AnnotationTag, ClosePopupHdl ) );
}
}
@@ -754,16 +754,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 );
}
@@ -772,7 +772,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 ea0d57fd3e3e..fead71026e85 100644
--- a/sd/source/ui/annotations/annotationtag.hxx
+++ b/sd/source/ui/annotations/annotationtag.hxx
@@ -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
@@ -77,7 +77,7 @@ public:
void OpenPopup( bool bEdit );
void ClosePopup();
-
+
protected:
virtual void addCustomHandles( SdrHdlList& rHandlerList );
virtual bool getContext( SdrViewContext& rContext );
@@ -87,14 +87,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;
@@ -103,5 +103,5 @@ private:
} // end of namespace sd
-#endif // _SD_ANNOTATIONTAG_HXX_
+#endif // _SD_ANNOTATIONTAG_HXX_
diff --git a/sd/source/ui/annotations/annotationwindow.cxx b/sd/source/ui/annotations/annotationwindow.cxx
index a4642bb68096..0db12f3ceee1 100755
--- a/sd/source/ui/annotations/annotationwindow.cxx
+++ b/sd/source/ui/annotations/annotationwindow.cxx
@@ -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
@@ -76,7 +76,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>
@@ -101,12 +101,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 {
@@ -116,9 +116,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 **********************************/
@@ -323,8 +323,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
@@ -352,9 +352,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;
@@ -366,7 +366,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;
@@ -381,7 +381,7 @@ void AnnotationWindow::InitControls()
nCntrl &= ~EE_CNTRL_ONLINESPELLING;
*/
mpOutliner->SetControlWord(nCntrl);
-// mpOutliner->SetFlatMode( TRUE );
+// mpOutliner->SetFlatMode( TRUE );
Engine()->SetModifyHdl( Link() );
Engine()->EnableUndo( FALSE );
@@ -427,14 +427,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();
}
@@ -453,7 +453,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 );
@@ -551,7 +551,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 264cb2fa1afe..d5d935617502 100755
--- a/sd/source/ui/annotations/annotationwindow.hxx
+++ b/sd/source/ui/annotations/annotationwindow.hxx
@@ -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,28 +62,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();
};
@@ -91,24 +91,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*);
@@ -118,46 +118,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 );
@@ -165,9 +165,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 e21caafaa739..6e89d6a4d4e0 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
@@ -1271,7 +1271,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 4355da3011c9..a5a26f267646 100755
--- a/sd/source/ui/app/optsitem.cxx
+++ b/sd/source/ui/app/optsitem.cxx
@@ -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
@@ -52,8 +52,8 @@ using namespace ::com::sun::star::uno;
// -----------------
SdOptionsItem::SdOptionsItem( const SdOptionsGeneric& rParent, const OUString rSubTree ) :
- ConfigItem ( rSubTree ),
- mrParent ( rParent )
+ ConfigItem ( rSubTree ),
+ mrParent ( rParent )
{
}
@@ -77,7 +77,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 );
}
@@ -101,10 +101,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 )
{
}
@@ -114,13 +114,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() ) )
{
@@ -147,8 +147,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() ) )
{
@@ -165,13 +165,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 ] );
@@ -215,7 +215,7 @@ SdOptionsLayout::SdOptionsLayout( USHORT nConfigId, BOOL bUseConfig ) :
bHandlesBezier( FALSE ),
bHelplines( TRUE ),
nMetric((UINT16)(isMetricSystem() ? FUNIT_CM : FUNIT_INCH)),
- nDefTab( 1250 )
+ nDefTab( 1250 )
{
EnableModify( TRUE );
}
@@ -224,7 +224,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() &&
@@ -304,16 +304,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 )
{
@@ -438,8 +438,8 @@ BOOL SdOptionsContents::WriteData( Any* pValues ) const
\************************************************************************/
SdOptionsContentsItem::SdOptionsContentsItem(USHORT _nWhich, SdOptions*, ::sd::FrameView*)
-: SfxPoolItem ( _nWhich )
-, maOptionsContents ( 0, FALSE )
+: SfxPoolItem ( _nWhich )
+, maOptionsContents ( 0, FALSE )
{
}
@@ -514,7 +514,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() &&
@@ -603,7 +603,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#
@@ -624,7 +624,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() )
@@ -668,7 +668,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 )
{
@@ -696,16 +696,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 )
{
@@ -823,9 +823,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 ),
@@ -847,7 +847,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() &&
@@ -876,7 +876,7 @@ void SdOptionsSnap::GetPropNameArray( const char**& ppNames, ULONG& rCount ) con
"Position/RotatingValue",
"Position/PointReduction"
};
-
+
rCount = 10;
ppNames = aPropNames;
}
@@ -885,16 +885,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;
}
@@ -903,16 +903,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;
}
@@ -924,16 +924,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 )
{
@@ -1006,12 +1006,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 );
}
@@ -1025,7 +1025,7 @@ BOOL SdOptionsZoom::operator==( const SdOptionsZoom& rOpt ) const
GetScale( nX1, nY1 );
rOpt.GetScale( nX2, nY2 );
- return( ( nX1 == nX2 ) &&
+ return( ( nX1 == nX2 ) &&
( nY1 == nY2 ) );
}
@@ -1038,7 +1038,7 @@ void SdOptionsZoom::GetPropNameArray( const char**& ppNames, ULONG& rCount ) con
"ScaleX",
"ScaleY"
};
-
+
rCount = ( GetConfigId() == SDCFG_DRAW ) ? 2 : 0;
ppNames = aPropNames;
}
@@ -1049,9 +1049,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;
@@ -1065,8 +1065,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;
}
@@ -1078,9 +1078,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() )
{
@@ -1117,7 +1117,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() &&
@@ -1173,27 +1173,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;
}
@@ -1202,16 +1202,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;
}
@@ -1275,9 +1275,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 ),
@@ -1396,25 +1396,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() );
}
@@ -1426,25 +1426,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();
}
@@ -1459,16 +1459,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 5ee8fb5e4d6a..6bbba0e37800 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
@@ -164,7 +164,7 @@
SEPARATOR
MN_STYLEDT
SEPARATOR
-
+
};
};
@@ -202,8 +202,8 @@
MN_EFFECT
MN_ACTION
#endif
-// SEPARATOR
-// MN_STYLEDT
+// SEPARATOR
+// MN_STYLEDT
};
};
@@ -242,8 +242,8 @@
MN_EFFECT
MN_ACTION
#endif
-// SEPARATOR
-// MN_STYLEDT
+// SEPARATOR
+// MN_STYLEDT
};
};
@@ -517,7 +517,7 @@
MN_SLIDE_MENU
#elif SD_POPUP == RID_GRAPHIC_TEXTOBJ_POPUP
MN_PAGE_MENU
-#endif
+#endif
SEPARATOR
MN_CAPTUREPOINT
SEPARATOR
@@ -698,7 +698,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 02945586d013..a2c27ff2d8f6 100644
--- a/sd/source/ui/app/sddll.cxx
+++ b/sd/source/ui/app/sddll.cxx
@@ -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/sddll1.cxx b/sd/source/ui/app/sddll1.cxx
index 53a2b4e9b1e9..c197fb8d3696 100755
--- a/sd/source/ui/app/sddll1.cxx
+++ b/sd/source/ui/app/sddll1.cxx
@@ -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/sddll2.cxx b/sd/source/ui/app/sddll2.cxx
index 3b576c8c668b..567edcbd974c 100755
--- a/sd/source/ui/app/sddll2.cxx
+++ b/sd/source/ui/app/sddll2.cxx
@@ -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
@@ -151,7 +151,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 );
@@ -207,6 +207,6 @@ 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 );
}
diff --git a/sd/source/ui/app/sdmod.cxx b/sd/source/ui/app/sdmod.cxx
index ccbc7c8f5665..fb36a7fc198b 100755
--- a/sd/source/ui/app/sdmod.cxx
+++ b/sd/source/ui/app/sdmod.cxx
@@ -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 @@ 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() );
@@ -274,13 +274,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 3c1abc0c7d22..2374f946b00b 100755
--- a/sd/source/ui/app/sdmod1.cxx
+++ b/sd/source/ui/app/sdmod1.cxx
@@ -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
@@ -153,7 +153,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:
@@ -441,7 +441,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();
@@ -599,7 +599,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 58aba6823d3a..5bca13cdeac1 100755
--- a/sd/source/ui/app/sdmod2.cxx
+++ b/sd/source/ui/app/sdmod2.cxx
@@ -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
@@ -405,7 +405,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 );
}
@@ -421,7 +421,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() );
@@ -454,7 +454,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,
@@ -550,7 +550,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;
@@ -657,9 +657,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
@@ -672,7 +672,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);
@@ -774,14 +774,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 63d6fc0b195c..08eb6e06607b 100644
--- a/sd/source/ui/app/sdpopup.cxx
+++ b/sd/source/ui/app/sdpopup.cxx
@@ -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
@@ -52,8 +52,8 @@
\************************************************************************/
SdFieldPopup::SdFieldPopup( const SvxFieldData* pInField, LanguageType eLanguage ) :
- PopupMenu (),
- pField ( pInField )
+ PopupMenu (),
+ pField ( pInField )
{
Fill( eLanguage );
}
@@ -92,24 +92,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 !
@@ -124,27 +124,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 !
}
@@ -199,7 +199,7 @@ SvxFieldData* SdFieldPopup::GetField()
if( pField->ISA( SvxDateField ) )
{
const SvxDateField* pDateField = (const SvxDateField*) pField;
- SvxDateType eType;
+ SvxDateType eType;
SvxDateFormat eFormat;
USHORT i;
@@ -232,7 +232,7 @@ SvxFieldData* SdFieldPopup::GetField()
else if( pField->ISA( SvxExtTimeField ) )
{
const SvxExtTimeField* pTimeField = (const SvxExtTimeField*) pField;
- SvxTimeType eType;
+ SvxTimeType eType;
SvxTimeFormat eFormat;
USHORT i;
@@ -266,7 +266,7 @@ SvxFieldData* SdFieldPopup::GetField()
else if( pField->ISA( SvxExtFileField ) )
{
const SvxExtFileField* pFileField = (const SvxExtFileField*) pField;
- SvxFileType eType;
+ SvxFileType eType;
SvxFileFormat eFormat;
USHORT i;
@@ -306,7 +306,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 cc32bcb7a8d5..f5dfe11badfd 100644
--- a/sd/source/ui/app/sdresid.cxx
+++ b/sd/source/ui/app/sdresid.cxx
@@ -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/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 ddbc0698a341..0bba7d7049a5 100644
--- a/sd/source/ui/app/sdxfer.cxx
+++ b/sd/source/ui/app/sdxfer.cxx
@@ -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
@@ -96,33 +96,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 );
@@ -229,8 +229,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 )
{
@@ -265,7 +265,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() );
@@ -318,13 +318,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 );
@@ -341,12 +341,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++ )
{
@@ -426,8 +426,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++ );
@@ -481,8 +481,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();
@@ -871,7 +871,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 e992e7016f04..969a6738a0ef 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
@@ -1241,7 +1241,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 80bd3a5ac8b9..b3d234283bbf 100644
--- a/sd/source/ui/app/tbxww.cxx
+++ b/sd/source/ui/app/tbxww.cxx
@@ -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
@@ -39,7 +39,7 @@
#endif
#include <rtl/ustring.hxx>
#include <rtl/ustrbuf.hxx>
-
+
#include "sddll.hxx"
#include "GraphicDocShell.hxx"
@@ -63,11 +63,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();
@@ -79,7 +79,7 @@ SdPopupWindowTbx::SdPopupWindowTbx( USHORT nId, WindowAlign eAlign,
{
if ( aSdResIdWin.GetId() != RID_TEXT )
aTbx.GetToolBox().SetAlign( WINDOWALIGN_LEFT );
-
+
SetText( String() );
}
@@ -179,7 +179,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();
@@ -216,7 +216,7 @@ SfxPopupWindowType SdTbxControl::GetPopupWindowType() const
|*
\************************************************************************/
-SfxPopupWindow* SdTbxControl::CreatePopupWindow()
+SfxPopupWindow* SdTbxControl::CreatePopupWindow()
{
SfxPopupWindow *pWin = NULL;
rtl::OUString aToolBarResStr;
@@ -272,10 +272,10 @@ SfxPopupWindow* SdTbxControl::CreatePopupWindow()
aToolBarResStr = aTbxResName.makeStringAndClear();
break;
}
-
+
if ( aToolBarResStr.getLength() > 0 )
createAndPositionSubToolBar( aToolBarResStr );
-
+
return( pWin );
}
@@ -305,7 +305,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 039df4bbce3f..7ba048a0d01a 100644
--- a/sd/source/ui/app/tmplctrl.cxx
+++ b/sd/source/ui/app/tmplctrl.cxx
@@ -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
@@ -52,10 +52,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();
};
@@ -131,13 +131,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 1a9201af6555..1b71029eb759 100644
--- a/sd/source/ui/controller/slidelayoutcontroller.cxx
+++ b/sd/source/ui/controller/slidelayoutcontroller.cxx
@@ -23,7 +23,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"
@@ -136,15 +136,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}
};
@@ -207,7 +207,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();
@@ -243,7 +243,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 5e76d3ad74c7..8d1e6aee6860 100644
--- a/sd/source/ui/controller/slidelayoutcontroller.hxx
+++ b/sd/source/ui/controller/slidelayoutcontroller.hxx
@@ -23,7 +23,7 @@
* <http://www.openoffice.org/license.html>
* for a copy of the LGPLv3 License.
*
- ************************************************************************/
+ ************************************************************************/
#ifndef __SD_SLIDELAYOUTCONTROLLER_HXX_
#define __SD_SLIDELAYOUTCONTROLLER_HXX_
@@ -42,7 +42,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 fa62b21948a8..807a4fc4f386 100644
--- a/sd/source/ui/dlg/AnimationChildWindow.cxx
+++ b/sd/source/ui/dlg/AnimationChildWindow.cxx
@@ -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,7 +51,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 8725cfc594fd..f49a6c2a60a4 100644
--- a/sd/source/ui/dlg/LayerDialogChildWindow.cxx
+++ b/sd/source/ui/dlg/LayerDialogChildWindow.cxx
@@ -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
@@ -55,15 +55,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 975d277c7dff..74c5660d8fe7 100755
--- a/sd/source/ui/dlg/LayerDialogContent.cxx
+++ b/sd/source/ui/dlg/LayerDialogContent.cxx
@@ -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/LayerTabBar.cxx b/sd/source/ui/dlg/LayerTabBar.cxx
index 29425a3bda71..7a0d8e2f525f 100644
--- a/sd/source/ui/dlg/LayerTabBar.cxx
+++ b/sd/source/ui/dlg/LayerTabBar.cxx
@@ -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
@@ -63,7 +63,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)
@@ -76,9 +76,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)
@@ -167,14 +167,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 );
@@ -192,9 +192,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();
@@ -356,7 +356,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 a17a4064bf6e..f09bb38befd4 100644
--- a/sd/source/ui/dlg/NavigatorChildWindow.cxx
+++ b/sd/source/ui/dlg/NavigatorChildWindow.cxx
@@ -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,7 +42,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 181fc8433c22..83c8178ce8ae 100755
--- a/sd/source/ui/dlg/PaneChildWindows.cxx
+++ b/sd/source/ui/dlg/PaneChildWindows.cxx
@@ -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
@@ -56,17 +56,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 ) ) );
@@ -104,9 +104,9 @@ PaneChildWindow::~PaneChildWindow (void)
LeftPaneImpressChildWindow::LeftPaneImpressChildWindow (
::Window* pParentWindow,
- USHORT nId,
- SfxBindings* pBindings,
- SfxChildWinInfo* pInfo)
+ USHORT nId,
+ SfxBindings* pBindings,
+ SfxChildWinInfo* pInfo)
: PaneChildWindow(
pParentWindow,
nId,
@@ -125,9 +125,9 @@ LeftPaneImpressChildWindow::LeftPaneImpressChildWindow (
LeftPaneDrawChildWindow::LeftPaneDrawChildWindow (
::Window* pParentWindow,
- USHORT nId,
- SfxBindings* pBindings,
- SfxChildWinInfo* pInfo)
+ USHORT nId,
+ SfxBindings* pBindings,
+ SfxChildWinInfo* pInfo)
: PaneChildWindow(
pParentWindow,
nId,
@@ -146,7 +146,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 c1dedd5d8293..e859b7ed72cb 100755
--- a/sd/source/ui/dlg/PaneDockingWindow.cxx
+++ b/sd/source/ui/dlg/PaneDockingWindow.cxx
@@ -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/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 bb1023482ea0..3b3589d66a7b 100755
--- a/sd/source/ui/dlg/PaneShells.cxx
+++ b/sd/source/ui/dlg/PaneShells.cxx
@@ -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/SpellDialogChildWindow.cxx b/sd/source/ui/dlg/SpellDialogChildWindow.cxx
index 7aee12f23bbd..0720283e114f 100755
--- a/sd/source/ui/dlg/SpellDialogChildWindow.cxx
+++ b/sd/source/ui/dlg/SpellDialogChildWindow.cxx
@@ -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,9 +35,9 @@
#include <sfx2/dispatch.hxx>
namespace sd{
-
+
SFX_IMPL_CHILDWINDOW(SpellDialogChildWindow, SID_SPELL_DIALOG)
-}
+}
#include "ViewShell.hxx"
#include "ViewShellBase.hxx"
@@ -50,9 +50,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 9f510f20c55d..5ba718381859 100644
--- a/sd/source/ui/dlg/TemplateScanner.cxx
+++ b/sd/source/ui/dlg/TemplateScanner.cxx
@@ -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
@@ -50,7 +50,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");
@@ -59,7 +59,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;
@@ -127,7 +127,7 @@ int Classify (const ::rtl::OUString&, const ::rtl::OUString& rsURL)
// highest priority.
nPriority = 10;
}
-
+
return nPriority;
}
@@ -136,7 +136,7 @@ int Classify (const ::rtl::OUString&, const ::rtl::OUString& rsURL)
-namespace sd
+namespace sd
{
class TemplateScanner::FolderDescriptorList
@@ -166,7 +166,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;
@@ -181,7 +181,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");
@@ -227,7 +227,7 @@ TemplateScanner::State TemplateScanner::InitializeEntryScanning (void)
}
else
eNextState = ERROR;
-
+
return eNextState;
}
@@ -258,7 +258,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))
{
@@ -287,7 +287,7 @@ TemplateScanner::State TemplateScanner::ScanEntry (void)
eNextState = SCAN_FOLDER;
}
}
-
+
return eNextState;
}
@@ -310,7 +310,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>(
@@ -332,7 +332,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())
{
@@ -357,7 +357,7 @@ TemplateScanner::State TemplateScanner::GatherFolderList (void)
eNextState = SCAN_FOLDER;
}
-
+
return eNextState;
}
@@ -376,7 +376,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())
{
@@ -394,7 +394,7 @@ TemplateScanner::State TemplateScanner::ScanFolder (void)
{
eNextState = DONE;
}
-
+
return eNextState;
}
@@ -441,7 +441,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 e179a0ba9f86..ed9706aad493 100755
--- a/sd/source/ui/dlg/animobjs.cxx
+++ b/sd/source/ui/dlg/animobjs.cxx
@@ -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
@@ -30,7 +30,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>
@@ -55,7 +55,7 @@
#include "res_bmp.hrc"
#include "ViewShell.hxx"
-#ifndef _SV_SVAPP_HXX_
+#ifndef _SV_SVAPP_HXX_
#include <vcl/svapp.hxx>
#endif
@@ -67,7 +67,7 @@ using namespace ::com::sun::star;
namespace sd {
/*************************************************************************
-|* SdDisplay - Control
+|* SdDisplay - Control
\************************************************************************/
SdDisplay::SdDisplay( Window* pWin, SdResId Id ) :
@@ -135,14 +135,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,
@@ -173,13 +173,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();
@@ -233,7 +233,7 @@ AnimationWindow::AnimationWindow( SfxBindings* pInBindings,
AnimationWindow::~AnimationWindow()
{
ULONG i, nCount;
-
+
delete pControllerItem;
// Bitmapliste bereinigen
@@ -431,7 +431,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 );
}
@@ -440,7 +440,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 )
@@ -535,7 +535,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 );
}
@@ -587,11 +587,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 );
@@ -599,7 +599,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
@@ -856,7 +856,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();
@@ -883,9 +883,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)
{
@@ -895,8 +895,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();
@@ -904,8 +904,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() )
@@ -955,7 +955,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 );
@@ -965,7 +965,7 @@ void AnimationWindow::AddObj (::sd::View& rView )
// Clone
pPage->InsertObject( pSnapShot->Clone(), aBmpExList.GetCurPos() + 1 );
-
+
// Weiterschalten der BitmapListe
aBmpExList.Next();
}
@@ -987,9 +987,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
@@ -1019,7 +1019,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);
@@ -1052,23 +1052,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 );
@@ -1087,8 +1087,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++ )
{
@@ -1148,7 +1148,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();
@@ -1165,7 +1165,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);
@@ -1286,7 +1286,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 1df116f52625..969c3f4d3b3f 100644
--- a/sd/source/ui/dlg/assclass.cxx
+++ b/sd/source/ui/dlg/assclass.cxx
@@ -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/brkdlg.cxx b/sd/source/ui/dlg/brkdlg.cxx
index f2c69231d79e..5b98d7cd9466 100644
--- a/sd/source/ui/dlg/brkdlg.cxx
+++ b/sd/source/ui/dlg/brkdlg.cxx
@@ -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,21 +57,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 4938263b97d7..416a0471386d 100644
--- a/sd/source/ui/dlg/celltempl.cxx
+++ b/sd/source/ui/dlg/celltempl.cxx
@@ -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.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 6b3c04346f31..f3f132e43a79 100644
--- a/sd/source/ui/dlg/copydlg.cxx
+++ b/sd/source/ui/dlg/copydlg.cxx
@@ -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,10 +64,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 ) ),
@@ -93,10 +93,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();
@@ -314,7 +314,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();
@@ -342,7 +342,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 b8c92dee3a6e..0c098573b3f2 100755
--- a/sd/source/ui/dlg/custsdlg.cxx
+++ b/sd/source/ui/dlg/custsdlg.cxx
@@ -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
@@ -55,22 +55,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();
@@ -310,23 +310,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 7725dc97f1e0..3142c4c438f8 100644
--- a/sd/source/ui/dlg/diactrl.cxx
+++ b/sd/source/ui/dlg/diactrl.cxx
@@ -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
@@ -53,11 +53,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 );
@@ -118,7 +118,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 );
*/
}
@@ -163,7 +163,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 1eb3a3d0cedc..6b623f583ca5 100755
--- a/sd/source/ui/dlg/dlgass.cxx
+++ b/sd/source/ui/dlg/dlgass.cxx
@@ -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
@@ -164,16 +164,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
@@ -182,7 +182,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.
@@ -193,7 +193,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;
@@ -219,16 +219,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
@@ -291,73 +291,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;
};
@@ -466,7 +466,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 );
@@ -532,7 +532,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 );
@@ -643,11 +643,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;
@@ -682,9 +682,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++)
@@ -747,8 +747,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;
}
@@ -782,7 +782,7 @@ void AssistentDlgImpl::EndDialog( long )
-void AssistentDlgImpl::ScanDocmenu (void)
+void AssistentDlgImpl::ScanDocmenu (void)
{
if( mbRecentDocumentsReady )
return;
@@ -801,12 +801,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)
@@ -818,8 +818,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))
{
@@ -888,17 +888,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.
::vos::OGuard aGuard (Application::GetSolarMutex());
// 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;
@@ -921,7 +921,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++)
@@ -946,7 +946,7 @@ void AssistentDlgImpl::TemplateScanDone (
mpPage2RegionLB->Update();
SelectLayoutRegion (mpPage2RegionLB->GetSelectEntry());
- // Make the changes visible.
+ // Make the changes visible.
mbTemplatesReady = TRUE;
if (mpWindow)
UpdatePage();
@@ -1044,8 +1044,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;
@@ -1086,7 +1086,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++;
@@ -1380,14 +1380,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();
@@ -1405,7 +1405,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;
@@ -1413,7 +1413,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();
@@ -1741,8 +1741,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 f9dcf5046189..2e944ee32c08 100755
--- a/sd/source/ui/dlg/dlgassim.cxx
+++ b/sd/source/ui/dlg/dlgassim.cxx
@@ -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
@@ -95,7 +95,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 );
@@ -107,7 +107,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 );
}
@@ -134,7 +134,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 35bbd41de448..ee68c66a9279 100755
--- a/sd/source/ui/dlg/dlgassim.hxx
+++ b/sd/source/ui/dlg/dlgassim.hxx
@@ -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 @@
class SdPageListControl : public SvTreeListBox
{
private:
- SvLBoxButtonData* m_pCheckButton;
+ SvLBoxButtonData* m_pCheckButton;
SvLBoxEntry* InsertPage( const String& rPageName );
void InsertTitle( SvLBoxEntry* pEntry, const String& rTitle );
@@ -63,8 +63,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 d0c412ca6f10..14db955a934e 100644
--- a/sd/source/ui/dlg/dlgchar.cxx
+++ b/sd/source/ui/dlg/dlgchar.cxx
@@ -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
@@ -52,8 +52,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 1a5a612d37ad..6522ab87c56e 100755
--- a/sd/source/ui/dlg/dlgctrls.cxx
+++ b/sd/source/ui/dlg/dlgctrls.cxx
@@ -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
@@ -45,8 +45,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 6778f073aaa9..9b175cd128b6 100644
--- a/sd/source/ui/dlg/dlgfield.cxx
+++ b/sd/source/ui/dlg/dlgfield.cxx
@@ -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
@@ -61,18 +61,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();
@@ -99,7 +99,7 @@ SvxFieldData* SdModifyFieldDlg::GetField()
if( pField->ISA( SvxDateField ) )
{
const SvxDateField* pDateField = (const SvxDateField*) pField;
- SvxDateType eType;
+ SvxDateType eType;
SvxDateFormat eFormat;
if( aRbtFix.IsChecked() )
@@ -116,7 +116,7 @@ SvxFieldData* SdModifyFieldDlg::GetField()
else if( pField->ISA( SvxExtTimeField ) )
{
const SvxExtTimeField* pTimeField = (const SvxExtTimeField*) pField;
- SvxTimeType eType;
+ SvxTimeType eType;
SvxTimeFormat eFormat;
if( aRbtFix.IsChecked() )
@@ -133,7 +133,7 @@ SvxFieldData* SdModifyFieldDlg::GetField()
else if( pField->ISA( SvxExtFileField ) )
{
const SvxExtFileField* pFileField = (const SvxExtFileField*) pField;
- SvxFileType eType;
+ SvxFileType eType;
SvxFileFormat eFormat;
if( aRbtFix.IsChecked() )
@@ -162,7 +162,7 @@ SvxFieldData* SdModifyFieldDlg::GetField()
}
else if( pField->ISA( SvxAuthorField ) )
{
- SvxAuthorType eType;
+ SvxAuthorType eType;
SvxAuthorFormat eFormat;
if( aRbtFix.IsChecked() )
@@ -200,23 +200,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 ) );
@@ -226,26 +226,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 bbd32f6bd807..02803f2ced45 100644
--- a/sd/source/ui/dlg/dlgolbul.cxx
+++ b/sd/source/ui/dlg/dlgolbul.cxx
@@ -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
@@ -75,10 +75,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();
@@ -169,8 +169,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 f2dea0f67e2f..d38314675a5b 100644
--- a/sd/source/ui/dlg/dlgpage.cxx
+++ b/sd/source/ui/dlg/dlgpage.cxx
@@ -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,8 +57,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 6cd220d5a5bc..938341dd029e 100755
--- a/sd/source/ui/dlg/dlgsnap.cxx
+++ b/sd/source/ui/dlg/dlgsnap.cxx
@@ -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
@@ -53,9 +53,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)),
@@ -97,7 +97,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);
@@ -149,9 +149,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;
@@ -167,9 +167,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 a42ce43a2c6d..09815503115a 100755
--- a/sd/source/ui/dlg/docprev.cxx
+++ b/sd/source/ui/dlg/docprev.cxx
@@ -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
@@ -144,8 +144,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 );
@@ -171,7 +171,7 @@ void SdDocPreviewWin::startPreview()
{
if( !mxSlideShow.is() )
mxSlideShow = sd::SlideShow::Create( pDoc );
-
+
Reference< XDrawPage > xDrawPage( pPage->getUnoPage(), UNO_QUERY );
Reference< XAnimationNode > xAnimationNode;
@@ -230,10 +230,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 );
@@ -251,11 +251,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 71fad02f24a7..1acdb9a8250f 100755
--- a/sd/source/ui/dlg/filedlg.cxx
+++ b/sd/source/ui/dlg/filedlg.cxx
@@ -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
@@ -60,7 +60,7 @@ namespace css = ::com::sun::star;
// --------------------------------------------------------------------
-// ----------- SdFileDialog_Imp ---------------------------
+// ----------- SdFileDialog_Imp ---------------------------
// --------------------------------------------------------------------
class SdFileDialog_Imp : public sfx2::FileDialogHelper
{
@@ -71,29 +71,29 @@ 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;
-
- void CheckSelectionState();
+ BOOL mbUsableSelection;
+ BOOL mbLabelPlaying;
+ void CheckSelectionState();
+
DECL_LINK( PlayMusicHdl, void * );
Timer maUpdateTimer;
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 );
};
// ------------------------------------------------------------------------
@@ -101,7 +101,7 @@ void SAL_CALL SdFileDialog_Imp::ControlStateChanged( const css::ui::dialogs::Fil
{
::vos::OGuard aGuard( Application::GetSolarMutex() );
- switch( aEvent.ElementId )
+ switch( aEvent.ElementId )
{
case css::ui::dialogs::CommonFilePickerElementIds::LISTBOX_FILTER:
CheckSelectionState();
@@ -110,7 +110,7 @@ void SAL_CALL SdFileDialog_Imp::ControlStateChanged( const css::ui::dialogs::Fil
case css::ui::dialogs::ExtendedFilePickerElementIds::PUSHBUTTON_PLAY:
if( mxControlAccess.is() )
{
- if( mnPlaySoundEvent )
+ if( mnPlaySoundEvent )
Application::RemoveUserEvent( mnPlaySoundEvent );
mnPlaySoundEvent = Application::PostUserEvent( LINK( this, SdFileDialog_Imp, PlayMusicHdl ) );
@@ -126,7 +126,7 @@ IMPL_LINK( SdFileDialog_Imp, PlayMusicHdl, void *, EMPTYARG )
mnPlaySoundEvent = 0;
if (mxPlayer.is())
- {
+ {
if (mxPlayer->isPlaying())
mxPlayer->stop();
mxPlayer.clear();
@@ -136,9 +136,9 @@ IMPL_LINK( SdFileDialog_Imp, PlayMusicHdl, void *, EMPTYARG )
{
try
{
- mxControlAccess->setLabel( css::ui::dialogs::ExtendedFilePickerElementIds::PUSHBUTTON_PLAY,
+ mxControlAccess->setLabel( css::ui::dialogs::ExtendedFilePickerElementIds::PUSHBUTTON_PLAY,
String( SdResId( STR_PLAY ) ) );
-
+
mbLabelPlaying = FALSE;
}
catch( css::lang::IllegalArgumentException )
@@ -170,9 +170,9 @@ IMPL_LINK( SdFileDialog_Imp, PlayMusicHdl, void *, EMPTYARG )
{
try
{
- mxControlAccess->setLabel( css::ui::dialogs::ExtendedFilePickerElementIds::PUSHBUTTON_PLAY,
+ mxControlAccess->setLabel( css::ui::dialogs::ExtendedFilePickerElementIds::PUSHBUTTON_PLAY,
String( SdResId( STR_STOP ) ) );
-
+
mbLabelPlaying = TRUE;
}
catch( css::lang::IllegalArgumentException )
@@ -194,7 +194,7 @@ IMPL_LINK( SdFileDialog_Imp, IsMusicStoppedHdl, void *, EMPTYARG )
::vos::OGuard aGuard( Application::GetSolarMutex() );
if (
- mxPlayer.is() && mxPlayer->isPlaying() &&
+ mxPlayer.is() && mxPlayer->isPlaying() &&
mxPlayer->getMediaTime() < mxPlayer->getDuration()
)
{
@@ -207,7 +207,7 @@ IMPL_LINK( SdFileDialog_Imp, IsMusicStoppedHdl, void *, EMPTYARG )
{
try
{
- mxControlAccess->setLabel( css::ui::dialogs::ExtendedFilePickerElementIds::PUSHBUTTON_PLAY,
+ mxControlAccess->setLabel( css::ui::dialogs::ExtendedFilePickerElementIds::PUSHBUTTON_PLAY,
String( SdResId( STR_PLAY ) ) );
mbLabelPlaying = FALSE;
}
@@ -227,7 +227,7 @@ void SdFileDialog_Imp::CheckSelectionState()
{
if( mbUsableSelection && mxControlAccess.is() )
{
- String aCurrFilter( GetCurrentFilter() );
+ String aCurrFilter( GetCurrentFilter() );
try
{
@@ -246,8 +246,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 ),
@@ -267,7 +267,7 @@ SdFileDialog_Imp::SdFileDialog_Imp( const short nDialogType,
{
try
{
- mxControlAccess->setLabel( css::ui::dialogs::ExtendedFilePickerElementIds::PUSHBUTTON_PLAY,
+ mxControlAccess->setLabel( css::ui::dialogs::ExtendedFilePickerElementIds::PUSHBUTTON_PLAY,
String( SdResId( STR_PLAY ) ) );
}
catch( css::lang::IllegalArgumentException )
@@ -297,21 +297,21 @@ SdFileDialog_Imp::SdFileDialog_Imp( const short nDialogType,
// ------------------------------------------------------------------------
SdFileDialog_Imp::~SdFileDialog_Imp()
{
- if( mnPlaySoundEvent )
+ if( mnPlaySoundEvent )
Application::RemoveUserEvent( mnPlaySoundEvent );
}
// ------------------------------------------------------------------------
ErrCode SdFileDialog_Imp::Execute()
{
- // make sure selection checkbox is disabled if
+ // make sure selection checkbox is disabled if
// HTML is current filter!
CheckSelectionState();
return FileDialogHelper::Execute();
}
// --------------------------------------------------------------------
-// ----------- SdOpenSoundFileDialog -----------------------
+// ----------- SdOpenSoundFileDialog -----------------------
// --------------------------------------------------------------------
// these are simple forwarders
diff --git a/sd/source/ui/dlg/gluectrl.cxx b/sd/source/ui/dlg/gluectrl.cxx
index 5a23262c57c0..0355c91d67d6 100644
--- a/sd/source/ui/dlg/gluectrl.cxx
+++ b/sd/source/ui/dlg/gluectrl.cxx
@@ -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,13 +57,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
};
@@ -91,7 +91,7 @@ GlueEscDirLB::GlueEscDirLB( Window* pParent, const Reference< XFrame >& rFrame )
/*************************************************************************
|*
-|* Dtor
+|* Dtor
|*
\************************************************************************/
@@ -157,7 +157,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 b48a1682bba6..c2a371e39420 100755
--- a/sd/source/ui/dlg/headerfooterdlg.cxx
+++ b/sd/source/ui/dlg/headerfooterdlg.cxx
@@ -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
@@ -88,7 +88,7 @@ namespace sd
class PresLayoutPreview : public Control
{
private:
- SdPage* mpMaster;
+ SdPage* mpMaster;
HeaderFooterSettings maSettings;
Size maPageSize;
Rectangle maOutRect;
@@ -135,45 +135,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 * );
@@ -192,11 +192,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();
};
}
@@ -236,7 +236,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 c0079d5eee77..12514ab4ec34 100644
--- a/sd/source/ui/dlg/ins_paste.cxx
+++ b/sd/source/ui/dlg/ins_paste.cxx
@@ -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/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 5d260367f383..069e74a59070 100755
--- a/sd/source/ui/dlg/inspagob.cxx
+++ b/sd/source/ui/dlg/inspagob.cxx
@@ -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 @@
/*************************************************************************
|*
-|* Ctor
+|* Ctor
|*
\************************************************************************/
@@ -62,9 +62,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();
@@ -81,7 +81,7 @@ SdInsertPagesObjsDlg::SdInsertPagesObjsDlg(
/*************************************************************************
|*
-|* Dtor
+|* Dtor
|*
\************************************************************************/
@@ -91,8 +91,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
|*
\************************************************************************/
@@ -122,9 +122,9 @@ void SdInsertPagesObjsDlg::Reset()
/*************************************************************************
|*
-|* Liefert die Liste zurueck
-|* nType == 0 -> Seiten
-|* nType == 1 -> Objekte
+|* Liefert die Liste zurueck
+|* nType == 0 -> Seiten
+|* nType == 1 -> Objekte
|*
\************************************************************************/
@@ -149,7 +149,7 @@ List* SdInsertPagesObjsDlg::GetList( USHORT nType )
/*************************************************************************
|*
-|* Ist Verknuepfung gechecked
+|* Ist Verknuepfung gechecked
|*
\************************************************************************/
@@ -160,7 +160,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 ddfe92879188..9a5f42c71895 100644
--- a/sd/source/ui/dlg/layeroptionsdlg.cxx
+++ b/sd/source/ui/dlg/layeroptionsdlg.cxx
@@ -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.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 601b1d1cf72c..3930875fb4cd 100644
--- a/sd/source/ui/dlg/masterlayoutdlg.cxx
+++ b/sd/source/ui/dlg/masterlayoutdlg.cxx
@@ -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
@@ -49,7 +49,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 ) ),
@@ -75,21 +75,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();
@@ -151,7 +151,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 47780b0f8233..a9d34aaf94c8 100644
--- a/sd/source/ui/dlg/morphdlg.cxx
+++ b/sd/source/ui/dlg/morphdlg.cxx
@@ -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
@@ -53,11 +53,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"
/******************************************************************************/
@@ -83,17 +83,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 ) ) )
@@ -122,11 +122,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() )
{
@@ -149,8 +149,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 294aa6feb65a..1a89d954a7bf 100644
--- a/sd/source/ui/dlg/navigatr.cxx
+++ b/sd/source/ui/dlg/navigatr.cxx
@@ -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
@@ -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 e407efc5d443..a3f81f2ae22c 100644
--- a/sd/source/ui/dlg/paragr.cxx
+++ b/sd/source/ui/dlg/paragr.cxx
@@ -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
@@ -55,16 +55,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 473d2f4b452b..8de4cb7a4a3a 100644
--- a/sd/source/ui/dlg/present.cxx
+++ b/sd/source/ui/dlg/present.cxx
@@ -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
@@ -63,12 +63,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 ) ),
@@ -79,17 +79,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 ) ),
@@ -154,9 +154,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
@@ -223,7 +223,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 98667c3362cf..e40008e570eb 100644
--- a/sd/source/ui/dlg/prltempl.cxx
+++ b/sd/source/ui/dlg/prltempl.cxx
@@ -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
@@ -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 3c9aad38c332..56f67da928ca 100755
--- a/sd/source/ui/dlg/prntopts.cxx
+++ b/sd/source/ui/dlg/prntopts.cxx
@@ -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,7 +44,7 @@
/*************************************************************************
|*
-|* Dialog zum Aendern der Print-Optionen
+|* Dialog zum Aendern der Print-Optionen
|*
\************************************************************************/
@@ -80,7 +80,7 @@ SdPrintOptions::SdPrintOptions( Window* pParent, const SfxItemSet& rInAttrs ) :
aCbxPaperbin ( this, SdResId( CBX_PAPERBIN ) ),
- rOutAttrs ( rInAttrs )
+ rOutAttrs ( rInAttrs )
{
FreeResource();
@@ -181,7 +181,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() &&
@@ -290,8 +290,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 c177d7e7eec9..f0c6d816a885 100644
--- a/sd/source/ui/dlg/sdabstdlg.cxx
+++ b/sd/source/ui/dlg/sdabstdlg.cxx
@@ -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/sddlgfact.cxx b/sd/source/ui/dlg/sddlgfact.cxx
index aa0bb5ce9f27..9f746cd38707 100755
--- a/sd/source/ui/dlg/sddlgfact.cxx
+++ b/sd/source/ui/dlg/sddlgfact.cxx
@@ -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
@@ -232,7 +232,7 @@ SvxFieldData* AbstractSdModifyFieldDlg_Impl::GetField()
{
return pDlg->GetField();
}
-SfxItemSet AbstractSdModifyFieldDlg_Impl::GetItemSet()
+SfxItemSet AbstractSdModifyFieldDlg_Impl::GetItemSet()
{
return pDlg->GetItemSet();
}
@@ -243,7 +243,7 @@ void AbstractSdSnapLineDlg_Impl::GetAttr(SfxItemSet& rOutAttrs)
{
pDlg->GetAttr(rOutAttrs);
}
-void AbstractSdSnapLineDlg_Impl::HideRadioGroup()
+void AbstractSdSnapLineDlg_Impl::HideRadioGroup()
{
pDlg->HideRadioGroup();
}
@@ -381,11 +381,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 ) );
@@ -419,7 +419,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)
@@ -443,7 +443,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 ) );
}
@@ -480,14 +480,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 )
@@ -497,17 +497,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 )
{
@@ -519,14 +519,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()
@@ -549,13 +549,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 fa5e53ebac54..aa3312a779a5 100755
--- a/sd/source/ui/dlg/sddlgfact.hxx
+++ b/sd/source/ui/dlg/sddlgfact.hxx
@@ -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,26 +28,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 {
@@ -69,7 +69,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
@@ -77,8 +77,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
@@ -86,13 +86,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
@@ -102,13 +102,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
@@ -116,13 +116,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
@@ -145,8 +145,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
@@ -167,7 +167,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 ) ;
};
@@ -177,7 +177,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
@@ -185,20 +185,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
@@ -206,7 +206,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
@@ -214,29 +214,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)
@@ -258,42 +258,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 c1d81bc073b9..49c511d27389 100644
--- a/sd/source/ui/dlg/sdpreslt.cxx
+++ b/sd/source/ui/dlg/sdpreslt.cxx
@@ -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,9 +57,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 ),
@@ -69,11 +69,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();
@@ -87,7 +87,7 @@ SdPresLayoutDlg::SdPresLayoutDlg(
/*************************************************************************
|*
-|* Dtor
+|* Dtor
|*
*************************************************************************/
@@ -105,7 +105,7 @@ SdPresLayoutDlg::~SdPresLayoutDlg()
/*************************************************************************
|*
-|* Initialisierung
+|* Initialisierung
|*
*************************************************************************/
@@ -146,7 +146,7 @@ void SdPresLayoutDlg::Reset()
/*************************************************************************
|*
-|* Fuellt uebergebenen Item-Set mit Dialogbox-Attributen
+|* Fuellt uebergebenen Item-Set mit Dialogbox-Attributen
|*
*************************************************************************/
@@ -308,7 +308,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 275d39af4ea5..79d2300cb390 100755
--- a/sd/source/ui/dlg/sdtreelb.cxx
+++ b/sd/source/ui/dlg/sdtreelb.cxx
@@ -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
@@ -58,7 +58,7 @@
#include <svtools/embedtransfer.hxx>
#include <tools/diagnose_ex.h>
#include <ViewShell.hxx>
-
+
using namespace com::sun::star;
class SdPageObjsTLB::IconProvider
@@ -87,8 +87,8 @@ public:
BOOL SD_DLLPRIVATE SdPageObjsTLB::bIsInDrag = FALSE;
BOOL SdPageObjsTLB::IsInDrag()
-{
- return bIsInDrag;
+{
+ return bIsInDrag;
}
sal_uInt32 SdPageObjsTLB::SdPageObjsTransferable::mnListBoxDropFormatId = SAL_MAX_UINT32;
@@ -97,8 +97,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,
@@ -110,7 +110,7 @@ SdPageObjsTLB::SdPageObjsTransferable::SdPageObjsTransferable(
meDragType( eDragType ),
maTreeListBoxData( rTreeListBoxData )
{
-}
+}
@@ -122,7 +122,7 @@ SdPageObjsTLB::SdPageObjsTransferable::~SdPageObjsTransferable()
// -----------------------------------------------------------------------------
void SdPageObjsTLB::SdPageObjsTransferable::AddSupportedFormats()
-{
+{
AddFormat(SOT_FORMATSTR_ID_NETSCAPE_BOOKMARK);
AddFormat(SOT_FORMATSTR_ID_TREELISTBOX);
AddFormat(GetListBoxDropFormatId());
@@ -240,19 +240,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 )
@@ -403,7 +403,7 @@ void SdPageObjsTLB::Fill( const SdDrawDocument* pInDoc, BOOL bAllPages,
mbShowAllPages = (bAllPages == TRUE);
mpMedium = NULL;
- SdPage* pPage = NULL;
+ SdPage* pPage = NULL;
IconProvider aIconProvider;
@@ -633,10 +633,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;
@@ -709,7 +709,7 @@ String SdPageObjsTLB::GetSelectEntry()
List* SdPageObjsTLB::GetSelectEntryList( USHORT nDepth )
{
- List* pList = NULL;
+ List* pList = NULL;
SvLBoxEntry* pEntry = FirstSelected();
while( pEntry )
@@ -741,8 +741,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 ) ) );
@@ -824,8 +824,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
|*
\************************************************************************/
@@ -976,10 +976,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() ) );
@@ -1038,16 +1038,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();
@@ -1061,7 +1061,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);
@@ -1142,7 +1142,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;
@@ -1171,11 +1171,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;
}
@@ -1194,16 +1194,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 ) )
{
@@ -1232,8 +1232,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;
}
@@ -1336,7 +1336,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)
{
@@ -1360,7 +1360,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());
}
@@ -1374,7 +1374,7 @@ bool SdPageObjsTLB::IsDropAllowed (SvLBoxEntry* pEntry)
{
if (pEntry == NULL)
return false;
-
+
if ( ! IsDropFormatSupported(SdPageObjsTransferable::GetListBoxDropFormatId()))
return false;
@@ -1426,7 +1426,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 60c40929344a..6f94ff85324b 100644
--- a/sd/source/ui/dlg/sduiexp.cxx
+++ b/sd/source/ui/dlg/sduiexp.cxx
@@ -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/tabtempl.cxx b/sd/source/ui/dlg/tabtempl.cxx
index 5fd9af68eee0..7fc511e18d68 100644
--- a/sd/source/ui/dlg/tabtempl.cxx
+++ b/sd/source/ui/dlg/tabtempl.cxx
@@ -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
@@ -71,14 +71,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 af2668fc9dad..b65e3c119061 100755
--- a/sd/source/ui/dlg/tpaction.cxx
+++ b/sd/source/ui/dlg/tpaction.cxx
@@ -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 @@
#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>
@@ -96,8 +96,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 );
@@ -117,32 +117,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();
@@ -226,11 +226,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 )
@@ -344,7 +344,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 )
@@ -447,7 +447,7 @@ void SdTPAction::OpenFileDialog()
if (bSound)
{
- SdOpenSoundFileDialog aFileDialog;
+ SdOpenSoundFileDialog aFileDialog;
if( !aFile.Len() )
aFile = SvtPathOptions().GetGraphicPath();
@@ -709,7 +709,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() )
{
@@ -774,8 +774,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 )
@@ -794,7 +794,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:
@@ -915,8 +915,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 bdb4cc230537..ae6a44a12fd1 100644
--- a/sd/source/ui/dlg/tpoption.cxx
+++ b/sd/source/ui/dlg/tpoption.cxx
@@ -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 @@ using namespace ::com::sun::star::uno;
/*************************************************************************
|*
-|* TabPage zum Einstellen der Fang-Optionen
+|* TabPage zum Einstellen der Fang-Optionen
|*
\************************************************************************/
@@ -157,7 +157,7 @@ SfxTabPage* SdTpOptionsSnap::Create( Window* pWindow,
/*************************************************************************
|*
-|* TabPage zum Einstellen der Inhalte-Optionen
+|* TabPage zum Einstellen der Inhalte-Optionen
|*
\************************************************************************/
@@ -185,10 +185,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 );
@@ -237,7 +237,7 @@ SfxTabPage* SdTpOptionsContents::Create( Window* pWindow,
/*************************************************************************
|*
-|* TabPage zum Einstellen der Sonstige-Optionen
+|* TabPage zum Einstellen der Sonstige-Optionen
|*
\************************************************************************/
#define TABLE_COUNT 12
@@ -264,9 +264,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 ) ),
@@ -423,15 +423,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 );
@@ -446,7 +446,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 );
@@ -620,7 +620,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);
@@ -828,7 +828,7 @@ void SdTpOptionsMisc::UpdateCompatibilityControls (void)
break;
}
}
-
+
}
while (false); // One 'loop'.
}
@@ -837,7 +837,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 96149d4e6a1f..b5f5ae0883a5 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 e04b4547fc66..227e2d2652b0 100644
--- a/sd/source/ui/dlg/unchss.cxx
+++ b/sd/source/ui/dlg/unchss.cxx
@@ -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/vectdlg.cxx b/sd/source/ui/dlg/vectdlg.cxx
index 7cd0be451c4b..a78fafa21d78 100644
--- a/sd/source/ui/dlg/vectdlg.cxx
+++ b/sd/source/ui/dlg/vectdlg.cxx
@@ -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
@@ -60,29 +60,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();
@@ -115,7 +115,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();
@@ -154,8 +154,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 )
{
@@ -178,8 +178,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 )
{
@@ -188,19 +188,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() );
@@ -251,10 +251,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++ )
{
@@ -272,8 +272,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() );
@@ -352,14 +352,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 53b77ad49eab..70b5701c13a0 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 841018aa9444..7ff7ec4f7f5f 100644
--- a/sd/source/ui/docshell/docshel2.cxx
+++ b/sd/source/ui/docshell/docshel2.cxx
@@ -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
@@ -149,18 +149,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;
+// }
+// }
// }
}
@@ -265,16 +265,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 );
@@ -287,8 +287,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() )
@@ -331,7 +331,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 6bcdbe76accf..f1509af1e681 100644
--- a/sd/source/ui/docshell/docshel3.cxx
+++ b/sd/source/ui/docshell/docshel3.cxx
@@ -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
@@ -75,9 +75,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
/*************************************************************************
|*
@@ -194,7 +194,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 a033661e7c85..39ed73c5ab2d 100755
--- a/sd/source/ui/docshell/docshel4.cxx
+++ b/sd/source/ui/docshell/docshel4.cxx
@@ -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
@@ -116,15 +116,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);
@@ -227,7 +227,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);
@@ -316,8 +316,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();
@@ -462,9 +462,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 );
@@ -584,7 +584,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 )
@@ -612,9 +612,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 )
{
@@ -648,7 +648,7 @@ BOOL DrawDocShell::ConvertTo( SfxMedium& rMedium )
if( pFilter )
{
- const ULONG nOldSwapMode = mpDoc->GetSwapGraphicsMode();
+ const ULONG nOldSwapMode = mpDoc->GetSwapGraphicsMode();
mpDoc->SetSwapGraphicsMode( SDR_SWAPGRAPHICSMODE_TEMP );
@@ -666,7 +666,7 @@ BOOL DrawDocShell::ConvertTo( SfxMedium& rMedium )
/*************************************************************************
|*
|* SaveCompleted: die eigenen Streams wieder oeffnen, damit kein anderer
-|* sie "besetzt"
+|* sie "besetzt"
|*
\************************************************************************/
@@ -992,7 +992,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 78b1b9434ad0..135b453dc4cc 100755
--- a/sd/source/ui/docshell/docshell.cxx
+++ b/sd/source/ui/docshell/docshell.cxx
@@ -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
@@ -106,8 +106,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
@@ -255,8 +255,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 );
@@ -308,11 +308,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;
@@ -599,7 +599,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 d5e7315144c0..5974c6c8fddc 100644
--- a/sd/source/ui/docshell/grdocsh.cxx
+++ b/sd/source/ui/docshell/grdocsh.cxx
@@ -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/sdclient.cxx b/sd/source/ui/docshell/sdclient.cxx
index bb1cd14f87f5..9f859c3934b0 100644
--- a/sd/source/ui/docshell/sdclient.cxx
+++ b/sd/source/ui/docshell/sdclient.cxx
@@ -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
@@ -196,8 +196,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 c46a89df8ee8..e0a6c3735c8b 100644
--- a/sd/source/ui/framework/configuration/ChangeRequestQueue.cxx
+++ b/sd/source/ui/framework/configuration/ChangeRequestQueue.cxx
@@ -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/framework/configuration/ChangeRequestQueue.hxx b/sd/source/ui/framework/configuration/ChangeRequestQueue.hxx
index bad80ff50d69..87d20588ca02 100644
--- a/sd/source/ui/framework/configuration/ChangeRequestQueue.hxx
+++ b/sd/source/ui/framework/configuration/ChangeRequestQueue.hxx
@@ -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/framework/configuration/ChangeRequestQueueProcessor.cxx b/sd/source/ui/framework/configuration/ChangeRequestQueueProcessor.cxx
index 5e70c313f251..d10324f4be47 100644
--- a/sd/source/ui/framework/configuration/ChangeRequestQueueProcessor.cxx
+++ b/sd/source/ui/framework/configuration/ChangeRequestQueueProcessor.cxx
@@ -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
@@ -115,7 +115,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 3d144bb08cda..74e902543294 100644
--- a/sd/source/ui/framework/configuration/ChangeRequestQueueProcessor.hxx
+++ b/sd/source/ui/framework/configuration/ChangeRequestQueueProcessor.hxx
@@ -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 @@ 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 2637a9ac1413..2b4a6697f064 100644
--- a/sd/source/ui/framework/configuration/Configuration.cxx
+++ b/sd/source/ui/framework/configuration/Configuration.cxx
@@ -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,7 +47,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
@@ -119,7 +119,7 @@ Configuration::Configuration (
}
-
+
Configuration::Configuration (
const Reference<XConfigurationControllerBroadcaster>& rxBroadcaster,
bool bBroadcastRequestEvents,
@@ -137,7 +137,7 @@ Configuration::Configuration (
Configuration::~Configuration (void)
{
}
-
+
@@ -152,7 +152,7 @@ void SAL_CALL Configuration::disposing (void)
//----- XConfiguration --------------------------------------------------------
-
+
void SAL_CALL Configuration::addResource (const Reference<XResourceId>& rxResourceId)
throw (RuntimeException)
{
@@ -210,7 +210,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;
@@ -221,7 +221,7 @@ Sequence<Reference<XResourceId> > SAL_CALL Configuration::getResources (
if ( ! (*iResource)->isBoundTo(rxAnchorId,eMode))
continue;
-
+
if (bFilterResources)
{
// Apply the given resource prefix as filter.
@@ -247,7 +247,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;
}
@@ -308,7 +308,7 @@ OUString SAL_CALL Configuration::getName (void)
aString += FrameworkHelper::ResourceIdToString(*iResource);
}
aString += OUString::createFromAscii("]");
-
+
return aString;
}
@@ -332,7 +332,7 @@ void Configuration::PostEvent (
const bool bActivation)
{
OSL_ASSERT(rxResourceId.is());
-
+
if (mxBroadcaster.is())
{
ConfigurationChangeEvent aEvent;
@@ -348,7 +348,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 55e22361ad3a..c08e6ff59db5 100755
--- a/sd/source/ui/framework/configuration/ConfigurationClassifier.cxx
+++ b/sd/source/ui/framework/configuration/ConfigurationClassifier.cxx
@@ -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
@@ -118,7 +118,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)
@@ -154,7 +154,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
@@ -170,7 +170,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]);
}
@@ -195,7 +195,7 @@ void ConfigurationClassifier::CopyResources (
OUString(),
AnchorBindingMode_INDIRECT));
const sal_Int32 nL (aBoundResources.getLength());
-
+
rTarget.reserve(rTarget.size() + 1 + nL);
rTarget.push_back(*iResource);
@@ -204,7 +204,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 b19f8c1459a5..4fb9394bcd8d 100644
--- a/sd/source/ui/framework/configuration/ConfigurationClassifier.hxx
+++ b/sd/source/ui/framework/configuration/ConfigurationClassifier.hxx
@@ -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/framework/configuration/ConfigurationController.cxx b/sd/source/ui/framework/configuration/ConfigurationController.cxx
index 2f846e50be25..4329c575e8b3 100755
--- a/sd/source/ui/framework/configuration/ConfigurationController.cxx
+++ b/sd/source/ui/framework/configuration/ConfigurationController.cxx
@@ -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
@@ -116,7 +116,7 @@ public:
::com::sun::star::drawing::framework::XConfiguration> mxRequestedConfiguration;
ViewShellBase* mpBase;
-
+
::boost::shared_ptr<ResourceFactoryManager> mpResourceFactoryContainer;
::boost::shared_ptr<ConfigurationControllerResourceManager> mpResourceManager;
@@ -142,14 +142,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())
@@ -286,7 +286,7 @@ void SAL_CALL ConfigurationController::notifyEvent (
//----- XConfigurationController ----------------------------------------------
-
+
void SAL_CALL ConfigurationController::lock (void)
throw (RuntimeException)
{
@@ -296,7 +296,7 @@ void SAL_CALL ConfigurationController::lock (void)
::osl::MutexGuard aGuard (maMutex);
ThrowIfDisposed();
-
+
++mpImplementation->mnLockCount;
if (mpImplementation->mpConfigurationUpdaterLock.get()==NULL)
mpImplementation->mpConfigurationUpdaterLock
@@ -379,7 +379,7 @@ void SAL_CALL ConfigurationController::requestResourceActivation (
requestResourceDeactivation(aResourceList[nIndex]);
}
}
-
+
Reference<XConfigurationChangeRequest> xRequest(
new GenericConfigurationChangeRequest(
rxResourceId,
@@ -476,7 +476,7 @@ sal_Bool SAL_CALL ConfigurationController::hasPendingRequests (void)
{
::osl::MutexGuard aGuard (maMutex);
ThrowIfDisposed();
-
+
return ! mpImplementation->mpQueueProcessor->IsEmpty();
}
@@ -595,7 +595,7 @@ void SAL_CALL ConfigurationController::restoreConfiguration (
//----- XResourceFactoryManager -----------------------------------------------
-
+
void SAL_CALL ConfigurationController::addResourceFactory(
const OUString& sResourceURL,
const Reference<XResourceFactory>& rxResourceFactory)
@@ -608,7 +608,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 ff167f07520a..416760c1027d 100755
--- a/sd/source/ui/framework/configuration/ConfigurationControllerBroadcaster.cxx
+++ b/sd/source/ui/framework/configuration/ConfigurationControllerBroadcaster.cxx
@@ -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
@@ -60,7 +60,7 @@ void ConfigurationControllerBroadcaster::AddListener(
OUString::createFromAscii("invalid listener"),
mxConfigurationController,
0);
-
+
if (maListenerMap.find(rsEventType) == maListenerMap.end())
maListenerMap[rsEventType] = ListenerList();
ListenerDescriptor aDescriptor;
@@ -80,7 +80,7 @@ void ConfigurationControllerBroadcaster::RemoveListener(
OUString::createFromAscii("invalid listener"),
mxConfigurationController,
0);
-
+
ListenerMap::iterator iMap;
ListenerList::iterator iList;
for (iMap=maListenerMap.begin(); iMap!=maListenerMap.end(); ++iMap)
@@ -143,7 +143,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 a5939386d7b7..d29b06125bde 100644
--- a/sd/source/ui/framework/configuration/ConfigurationControllerBroadcaster.hxx
+++ b/sd/source/ui/framework/configuration/ConfigurationControllerBroadcaster.hxx
@@ -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/framework/configuration/ConfigurationControllerResourceManager.cxx b/sd/source/ui/framework/configuration/ConfigurationControllerResourceManager.cxx
index 93ff7ee54e00..8f7d055e8544 100755
--- a/sd/source/ui/framework/configuration/ConfigurationControllerResourceManager.cxx
+++ b/sd/source/ui/framework/configuration/ConfigurationControllerResourceManager.cxx
@@ -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
@@ -113,7 +113,7 @@ void ConfigurationControllerResourceManager::DeactivateResources (
rResources.rend(),
::boost::bind(&ConfigurationControllerResourceManager::DeactivateResource,
this, _1, rxConfiguration));
-}
+}
@@ -152,7 +152,7 @@ void ConfigurationControllerResourceManager::ActivateResource (
#endif
return;
}
-
+
try
{
// 2. Create the resource.
@@ -171,7 +171,7 @@ void ConfigurationControllerResourceManager::ActivateResource (
{
DBG_UNHANDLED_EXCEPTION();
}
-
+
if (xResource.is())
{
#if defined VERBOSE && VERBOSE>=1
@@ -224,10 +224,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,
@@ -289,7 +289,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 0c095df50fdf..9743e1a7546d 100644
--- a/sd/source/ui/framework/configuration/ConfigurationControllerResourceManager.hxx
+++ b/sd/source/ui/framework/configuration/ConfigurationControllerResourceManager.hxx
@@ -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 @@ 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
@@ -126,15 +126,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 b9552940060e..1d19026be57e 100755
--- a/sd/source/ui/framework/configuration/ConfigurationTracer.cxx
+++ b/sd/source/ui/framework/configuration/ConfigurationTracer.cxx
@@ -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/framework/configuration/ConfigurationTracer.hxx b/sd/source/ui/framework/configuration/ConfigurationTracer.hxx
index b04206fd65e1..4fd464bc8553 100755
--- a/sd/source/ui/framework/configuration/ConfigurationTracer.hxx
+++ b/sd/source/ui/framework/configuration/ConfigurationTracer.hxx
@@ -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/framework/configuration/ConfigurationUpdater.cxx b/sd/source/ui/framework/configuration/ConfigurationUpdater.cxx
index 4ab361a9490d..28a502488547 100755
--- a/sd/source/ui/framework/configuration/ConfigurationUpdater.cxx
+++ b/sd/source/ui/framework/configuration/ConfigurationUpdater.cxx
@@ -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
@@ -137,7 +137,7 @@ void ConfigurationUpdater::RequestUpdate (
do
{
UpdateConfiguration();
-
+
if (mbUpdatePending && IsUpdatePossible())
continue;
}
@@ -215,7 +215,7 @@ void ConfigurationUpdater::UpdateConfiguration (void)
catch(RuntimeException)
{
}
-
+
// Notify the end of the update.
aEvent.Type = FrameworkHelper::msConfigurationUpdateEndEvent;
mpBroadcaster->NotifyListeners(aEvent);
@@ -239,7 +239,7 @@ void ConfigurationUpdater::UpdateConfiguration (void)
{
DBG_UNHANDLED_EXCEPTION();
}
-
+
#if defined VERBOSE && VERBOSE>0
OSL_TRACE("ConfigurationUpdater::UpdateConfiguration)");
OSL_TRACE("UpdateConfiguration end");
@@ -397,7 +397,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 a9f3e09f2a64..2548b0232681 100755
--- a/sd/source/ui/framework/configuration/ConfigurationUpdater.hxx
+++ b/sd/source/ui/framework/configuration/ConfigurationUpdater.hxx
@@ -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
@@ -71,7 +71,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()
@@ -90,7 +90,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.
@@ -122,13 +122,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 18c80b8b1243..eeba7cc75605 100644
--- a/sd/source/ui/framework/configuration/GenericConfigurationChangeRequest.cxx
+++ b/sd/source/ui/framework/configuration/GenericConfigurationChangeRequest.cxx
@@ -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
@@ -59,7 +59,7 @@ GenericConfigurationChangeRequest::~GenericConfigurationChangeRequest (void) thr
-
+
void SAL_CALL GenericConfigurationChangeRequest::execute (
const Reference<XConfiguration>& rxConfiguration)
throw (RuntimeException)
@@ -71,7 +71,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 ce708e1fa71a..03a7e52d947c 100644
--- a/sd/source/ui/framework/configuration/GenericConfigurationChangeRequest.hxx
+++ b/sd/source/ui/framework/configuration/GenericConfigurationChangeRequest.hxx
@@ -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
@@ -66,7 +66,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
@@ -80,12 +80,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 1df3c77d78ba..942eca26b27d 100644
--- a/sd/source/ui/framework/configuration/ResourceFactoryManager.cxx
+++ b/sd/source/ui/framework/configuration/ResourceFactoryManager.cxx
@@ -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
@@ -193,7 +193,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 dc7d2574dbfc..d8ad8c9aa639 100644
--- a/sd/source/ui/framework/configuration/ResourceFactoryManager.hxx
+++ b/sd/source/ui/framework/configuration/ResourceFactoryManager.hxx
@@ -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
@@ -102,7 +102,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 15d7c3a6f4ec..ab46f7da51e5 100755
--- a/sd/source/ui/framework/configuration/ResourceId.cxx
+++ b/sd/source/ui/framework/configuration/ResourceId.cxx
@@ -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
@@ -294,7 +294,7 @@ sal_Int16 SAL_CALL
throw (RuntimeException)
{
sal_Int16 nResult (0);
-
+
if ( ! rxResourceId.is())
{
// The empty reference is interpreted as empty resource id object.
@@ -381,7 +381,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;
@@ -449,7 +449,7 @@ sal_Bool SAL_CALL
return IsBoundToAnchor(&sResourceURL, &aAnchorURLs, eMode);
}
}
-
+
@@ -609,7 +609,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 1c39006b29c7..3f092d327c34 100644
--- a/sd/source/ui/framework/configuration/UpdateRequest.cxx
+++ b/sd/source/ui/framework/configuration/UpdateRequest.cxx
@@ -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 @@ 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 e3fc159d4b11..87031583125c 100644
--- a/sd/source/ui/framework/configuration/UpdateRequest.hxx
+++ b/sd/source/ui/framework/configuration/UpdateRequest.hxx
@@ -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,9 +64,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 f406501bd114..e05e66c4c47c 100755
--- a/sd/source/ui/framework/factories/BasicPaneFactory.cxx
+++ b/sd/source/ui/framework/factories/BasicPaneFactory.cxx
@@ -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
@@ -146,7 +146,7 @@ BasicPaneFactory::BasicPaneFactory (
BasicPaneFactory::~BasicPaneFactory (void)
{
}
-
+
@@ -440,7 +440,7 @@ void SAL_CALL BasicPaneFactory::notifyConfigurationChange (
-
+
//===== lang::XEventListener ==================================================
void SAL_CALL BasicPaneFactory::disposing (
@@ -477,7 +477,7 @@ Reference<XResource> BasicPaneFactory::CreateFrameWindowPane (
const Reference<XResourceId>& rxPaneId)
{
Reference<XResource> xPane;
-
+
if (mpViewShellBase != NULL)
{
xPane = new FrameWindowPane(rxPaneId, mpViewShellBase->GetViewWindow());
@@ -522,12 +522,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 9b41866180fc..9ce59689fb11 100755
--- a/sd/source/ui/framework/factories/BasicPaneFactory.hxx
+++ b/sd/source/ui/framework/factories/BasicPaneFactory.hxx
@@ -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
@@ -77,25 +77,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)
@@ -115,7 +115,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 d353cfc58c1f..3301f4b2b5ad 100755
--- a/sd/source/ui/framework/factories/BasicToolBarFactory.cxx
+++ b/sd/source/ui/framework/factories/BasicToolBarFactory.cxx
@@ -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
@@ -189,7 +189,7 @@ void SAL_CALL BasicToolBarFactory::disposing (
//===== XPaneFactory ==========================================================
-
+
Reference<XResource> SAL_CALL BasicToolBarFactory::createResource (
const Reference<XResourceId>& rxToolBarId)
throw (RuntimeException, IllegalArgumentException, WrappedTargetException)
@@ -197,7 +197,7 @@ Reference<XResource> SAL_CALL BasicToolBarFactory::createResource (
ThrowIfDisposed();
Reference<XResource> xToolBar;
-
+
if (rxToolBarId->getResourceURL().equals(FrameworkHelper::msViewTabBarURL))
{
xToolBar = new ViewTabBar(rxToolBarId, mxController);
@@ -205,7 +205,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 686de897c179..8b98a3d15a0f 100755
--- a/sd/source/ui/framework/factories/BasicToolBarFactory.hxx
+++ b/sd/source/ui/framework/factories/BasicToolBarFactory.hxx
@@ -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,18 +64,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<
@@ -90,14 +90,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 1320df5c827b..d73efd9979bf 100755
--- a/sd/source/ui/framework/factories/BasicViewFactory.cxx
+++ b/sd/source/ui/framework/factories/BasicViewFactory.cxx
@@ -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
@@ -153,7 +153,7 @@ BasicViewFactory::BasicViewFactory (
BasicViewFactory::~BasicViewFactory (void)
{
}
-
+
@@ -172,7 +172,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
@@ -215,10 +215,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.
@@ -229,7 +229,7 @@ Reference<XResource> SAL_CALL BasicViewFactory::createResource (
{
pDescriptor = CreateView(rxViewId, *pFrame, *pWindow, xPane, pFrameView);
}
-
+
if (pDescriptor.get() != NULL)
xView = pDescriptor->mxView;
@@ -240,7 +240,7 @@ Reference<XResource> SAL_CALL BasicViewFactory::createResource (
else
pWindow->Resize();
}
-
+
return xView;
}
@@ -354,14 +354,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 (
@@ -476,7 +476,7 @@ void BasicViewFactory::ReleaseView (
bool bDoNotCache)
{
bool bIsCacheable (!bDoNotCache && IsCacheable(rpDescriptor));
-
+
if (bIsCacheable)
{
Reference<XRelocatableResource> xResource (rpDescriptor->mxView, UNO_QUERY);
@@ -496,14 +496,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();
@@ -581,7 +581,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 e5bb43551a24..34d2e258768b 100755
--- a/sd/source/ui/framework/factories/BasicViewFactory.hxx
+++ b/sd/source/ui/framework/factories/BasicViewFactory.hxx
@@ -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,16 +81,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>
@@ -102,9 +102,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);
@@ -129,7 +129,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 5e4e6df987f0..a9717ff21dee 100755
--- a/sd/source/ui/framework/factories/ChildWindowPane.cxx
+++ b/sd/source/ui/framework/factories/ChildWindowPane.cxx
@@ -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
@@ -146,7 +146,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
@@ -156,7 +156,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)
@@ -193,7 +193,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())
@@ -218,11 +218,11 @@ Reference<awt::XWindow> SAL_CALL ChildWindowPane::getWindow (void)
IMPLEMENT_FORWARD_XINTERFACE2(
- ChildWindowPane,
+ ChildWindowPane,
ChildWindowPaneInterfaceBase,
Pane);
IMPLEMENT_FORWARD_XTYPEPROVIDER2(
- ChildWindowPane,
+ ChildWindowPane,
ChildWindowPaneInterfaceBase,
Pane);
@@ -235,7 +235,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 4d2f154a327f..7bf636c3f765 100644
--- a/sd/source/ui/framework/factories/ChildWindowPane.hxx
+++ b/sd/source/ui/framework/factories/ChildWindowPane.hxx
@@ -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
@@ -118,7 +118,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 8cdbffe05816..31707e9fb867 100644
--- a/sd/source/ui/framework/factories/FrameWindowPane.cxx
+++ b/sd/source/ui/framework/factories/FrameWindowPane.cxx
@@ -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/framework/factories/FrameWindowPane.hxx b/sd/source/ui/framework/factories/FrameWindowPane.hxx
index 9fbc153f59ce..017fc7414062 100644
--- a/sd/source/ui/framework/factories/FrameWindowPane.hxx
+++ b/sd/source/ui/framework/factories/FrameWindowPane.hxx
@@ -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/framework/factories/FullScreenPane.cxx b/sd/source/ui/framework/factories/FullScreenPane.cxx
index 74088422b4ab..c5f3d59807bd 100644
--- a/sd/source/ui/framework/factories/FullScreenPane.cxx
+++ b/sd/source/ui/framework/factories/FullScreenPane.cxx
@@ -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
@@ -68,7 +68,7 @@ FullScreenPane::FullScreenPane (
sal_Int32 nScreenNumber = 1;
ExtractArguments(rxPaneId, nScreenNumber);
-
+
if (mpWorkWindow.get() == NULL)
return;
@@ -134,8 +134,8 @@ void SAL_CALL FullScreenPane::disposing (void)
mpWorkWindow->RemoveEventListener(aWindowEventHandler);
mpWorkWindow.reset();
}
-
-
+
+
FrameWindowPane::disposing();
}
@@ -191,7 +191,7 @@ void SAL_CALL FullScreenPane::setAccessible (
throw (RuntimeException)
{
ThrowIfDisposed();
-
+
if (mpWindow != NULL)
{
Reference<lang::XInitialization> xInitializable (rxAccessible, UNO_QUERY);
@@ -242,14 +242,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 c69a09e10b54..7e71abb8470c 100644
--- a/sd/source/ui/framework/factories/FullScreenPane.hxx
+++ b/sd/source/ui/framework/factories/FullScreenPane.hxx
@@ -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 @@ 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 94081f24b733..08306aa22cbc 100644
--- a/sd/source/ui/framework/factories/Pane.cxx
+++ b/sd/source/ui/framework/factories/Pane.cxx
@@ -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
@@ -86,7 +86,7 @@ void Pane::disposing (void)
//----- XPane -----------------------------------------------------------------
-
+
Reference<awt::XWindow> SAL_CALL Pane::getWindow (void)
throw (RuntimeException)
{
@@ -106,7 +106,7 @@ Reference<rendering::XCanvas> SAL_CALL Pane::getCanvas (void)
if ( ! mxCanvas.is())
mxCanvas = CreateCanvas();
-
+
return mxCanvas;
}
@@ -215,7 +215,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
@@ -236,7 +236,7 @@ Reference<rendering::XCanvas> Pane::CreateCanvas (void)
throw (RuntimeException)
{
Reference<rendering::XCanvas> xCanvas;
-
+
if (mpWindow != NULL)
{
::cppcanvas::SpriteCanvasSharedPtr pCanvas (
@@ -244,7 +244,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 6f22f1484627..623eddf134a8 100755
--- a/sd/source/ui/framework/factories/PresentationFactory.cxx
+++ b/sd/source/ui/framework/factories/PresentationFactory.cxx
@@ -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
@@ -61,9 +61,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);
@@ -95,7 +95,7 @@ public:
virtual sal_Bool SAL_CALL isAnchorOnly (void) throw (RuntimeException)
{ return false; }
-
+
private:
Reference<XResourceId> mxResourceId;
};
@@ -167,7 +167,7 @@ PresentationFactory::PresentationFactory (
PresentationFactory::~PresentationFactory (void)
{
}
-
+
@@ -231,7 +231,7 @@ void SAL_CALL PresentationFactory::notifyConfigurationChange (
-
+
//===== lang::XEventListener ==================================================
void SAL_CALL PresentationFactory::disposing (
@@ -290,7 +290,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 d7c45ceb803b..b518b51aea4d 100755
--- a/sd/source/ui/framework/factories/TaskPanelFactory.cxx
+++ b/sd/source/ui/framework/factories/TaskPanelFactory.cxx
@@ -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
@@ -82,13 +82,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
@@ -134,9 +134,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)
@@ -205,7 +205,7 @@ Reference<XResource> SAL_CALL TaskPanelFactory::createResource (
throw (RuntimeException, IllegalArgumentException, WrappedTargetException)
{
Reference<XResource> xResource;
-
+
if ( ! rxResourceId.is())
return NULL;
@@ -214,7 +214,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 086788a6763e..347e89c4d953 100755
--- a/sd/source/ui/framework/factories/TaskPanelFactory.hxx
+++ b/sd/source/ui/framework/factories/TaskPanelFactory.hxx
@@ -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,18 +57,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 a1c0bd525c9e..faac4af35412 100755
--- a/sd/source/ui/framework/factories/ViewShellWrapper.cxx
+++ b/sd/source/ui/framework/factories/ViewShellWrapper.cxx
@@ -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
@@ -83,7 +83,7 @@ ViewShellWrapper::ViewShellWrapper (
ViewShellWrapper::~ViewShellWrapper (void)
{
}
-
+
@@ -149,7 +149,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());
@@ -197,7 +197,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
@@ -231,7 +231,7 @@ void SAL_CALL ViewShellWrapper::windowMoved (const awt::WindowEvent& rEvent)
{
(void)rEvent;
}
-
+
@@ -243,7 +243,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 32e055144fc3..1b3f24187b23 100644
--- a/sd/source/ui/framework/module/CenterViewFocusModule.cxx
+++ b/sd/source/ui/framework/module/CenterViewFocusModule.cxx
@@ -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
@@ -67,7 +67,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())
@@ -84,7 +84,7 @@ CenterViewFocusModule::CenterViewFocusModule (Reference<frame::XController>& rxC
mbValid = true;
}
}
-
+
if (mbValid)
{
mxConfigurationController->addConfigurationChangeListener(
@@ -104,7 +104,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 e104b8971fb3..c099d9ea795b 100644
--- a/sd/source/ui/framework/module/CenterViewFocusModule.hxx
+++ b/sd/source/ui/framework/module/CenterViewFocusModule.hxx
@@ -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
@@ -63,16 +63,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 1f1604a3099c..9f3e695e89fc 100644
--- a/sd/source/ui/framework/module/DrawModule.cxx
+++ b/sd/source/ui/framework/module/DrawModule.cxx
@@ -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/framework/module/ImpressModule.cxx b/sd/source/ui/framework/module/ImpressModule.cxx
index a5856bc3ebc9..a635e3fa2069 100755
--- a/sd/source/ui/framework/module/ImpressModule.cxx
+++ b/sd/source/ui/framework/module/ImpressModule.cxx
@@ -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/framework/module/ModuleController.cxx b/sd/source/ui/framework/module/ModuleController.cxx
index e910a8df7496..ef4b8b529299 100755
--- a/sd/source/ui/framework/module/ModuleController.cxx
+++ b/sd/source/ui/framework/module/ModuleController.cxx
@@ -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
@@ -243,7 +243,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.
@@ -319,7 +319,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 6a5ba5dc5e7f..2fc1a783355e 100755
--- a/sd/source/ui/framework/module/PresentationModule.cxx
+++ b/sd/source/ui/framework/module/PresentationModule.cxx
@@ -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/framework/module/ReadOnlyModeObserver.cxx b/sd/source/ui/framework/module/ReadOnlyModeObserver.cxx
index 090247e7f68c..1bc567ac8a93 100755
--- a/sd/source/ui/framework/module/ReadOnlyModeObserver.cxx
+++ b/sd/source/ui/framework/module/ReadOnlyModeObserver.cxx
@@ -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
@@ -160,13 +160,13 @@ bool ReadOnlyModeObserver::ConnectToDispatch (void)
}
}
}
-
+
return mxDispatch.is();
}
-
+
void ReadOnlyModeObserver::statusChanged (const frame::FeatureStateEvent& rEvent)
throw (RuntimeException)
{
@@ -191,7 +191,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 d783d6d83abf..d4b0314aa265 100755
--- a/sd/source/ui/framework/module/ReadOnlyModeObserver.hxx
+++ b/sd/source/ui/framework/module/ReadOnlyModeObserver.hxx
@@ -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
@@ -77,7 +77,7 @@ public:
ReadOnlyModeObserver (
const ::com::sun::star::uno::Reference<com::sun::star::frame::XController>& rxController);
virtual ~ReadOnlyModeObserver (void);
-
+
virtual void SAL_CALL disposing (void);
@@ -97,7 +97,7 @@ public:
const com::sun::star::lang::EventObject& rEvent)
throw (com::sun::star::uno::RuntimeException);
-
+
// frame::XStatusListener
/** Called by slot state change broadcasters.
@@ -107,9 +107,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 fcd90ca6454b..8050fc058055 100755
--- a/sd/source/ui/framework/module/ResourceManager.cxx
+++ b/sd/source/ui/framework/module/ResourceManager.cxx
@@ -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/framework/module/ResourceManager.hxx b/sd/source/ui/framework/module/ResourceManager.hxx
index d00ee78c2de3..dd7cd9e0c73c 100755
--- a/sd/source/ui/framework/module/ResourceManager.hxx
+++ b/sd/source/ui/framework/module/ResourceManager.hxx
@@ -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
@@ -56,7 +56,7 @@ namespace sd { namespace framework {
*/
class ResourceManager
: private sd::MutexOwner,
- public ResourceManagerInterfaceBase
+ public ResourceManagerInterfaceBase
{
public:
ResourceManager (
@@ -70,14 +70,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
@@ -86,7 +86,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 79396a57f36a..47acc5b88f5d 100644
--- a/sd/source/ui/framework/module/ShellStackGuard.cxx
+++ b/sd/source/ui/framework/module/ShellStackGuard.cxx
@@ -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
@@ -61,7 +61,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())
@@ -94,7 +94,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 694e7fe5719f..a60c1caa2df4 100644
--- a/sd/source/ui/framework/module/ShellStackGuard.hxx
+++ b/sd/source/ui/framework/module/ShellStackGuard.hxx
@@ -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
@@ -75,15 +75,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 2a1aaa4ca771..3a836e5fb3d0 100644
--- a/sd/source/ui/framework/module/SlideSorterModule.cxx
+++ b/sd/source/ui/framework/module/SlideSorterModule.cxx
@@ -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
@@ -66,7 +66,7 @@ SlideSorterModule::SlideSorterModule (
AddActiveMainView(FrameworkHelper::msImpressViewURL);
AddActiveMainView(FrameworkHelper::msOutlineViewURL);
AddActiveMainView(FrameworkHelper::msNotesViewURL);
-
+
AddActiveMainView(FrameworkHelper::msDrawViewURL);
mxConfigurationController->addConfigurationChangeListener(
@@ -82,7 +82,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 c685c16d830b..d36510e60db2 100644
--- a/sd/source/ui/framework/module/SlideSorterModule.hxx
+++ b/sd/source/ui/framework/module/SlideSorterModule.hxx
@@ -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
@@ -48,8 +48,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 b987009537b8..6b154d7ae893 100644
--- a/sd/source/ui/framework/module/ToolBarModule.cxx
+++ b/sd/source/ui/framework/module/ToolBarModule.cxx
@@ -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
@@ -102,7 +102,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 1e26cef6d435..47228ee97548 100644
--- a/sd/source/ui/framework/module/ToolBarModule.hxx
+++ b/sd/source/ui/framework/module/ToolBarModule.hxx
@@ -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
@@ -60,7 +60,7 @@ namespace {
*/
class ToolBarModule
: private ::cppu::BaseMutex,
- public ToolBarModuleInterfaceBase
+ public ToolBarModuleInterfaceBase
{
public:
/** Create a new module.
@@ -70,10 +70,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 888fa68ad708..ed9447efab48 100644
--- a/sd/source/ui/framework/module/ToolPanelModule.cxx
+++ b/sd/source/ui/framework/module/ToolPanelModule.cxx
@@ -1,7 +1,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
@@ -51,7 +51,7 @@ using ::sd::framework::FrameworkHelper;
namespace sd { namespace framework {
namespace {
-
+
typedef ::cppu::WeakComponentImplHelper1 <
::com::sun::star::frame::XStatusListener
> LocalReadOnlyModeObserverInterfaceBase;
@@ -102,7 +102,7 @@ public:
xComponent->removeEventListener(this);
}
-
+
virtual void SAL_CALL disposing (const com::sun::star::lang::EventObject& rEvent)
throw(RuntimeException)
{
@@ -117,14 +117,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 7d728e60e93d..34b0ecf42d46 100644
--- a/sd/source/ui/framework/module/ToolPanelModule.hxx
+++ b/sd/source/ui/framework/module/ToolPanelModule.hxx
@@ -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
diff --git a/sd/source/ui/framework/module/ViewTabBarModule.cxx b/sd/source/ui/framework/module/ViewTabBarModule.cxx
index 6a4db6246c1a..7bc49d6baff5 100644
--- a/sd/source/ui/framework/module/ViewTabBarModule.cxx
+++ b/sd/source/ui/framework/module/ViewTabBarModule.cxx
@@ -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
@@ -65,7 +65,7 @@ ViewTabBarModule::ViewTabBarModule (
mxViewTabBarId(rxViewTabBarId)
{
Reference<XControllerManager> xControllerManager (rxController, UNO_QUERY);
-
+
if (xControllerManager.is())
{
mxConfigurationController = xControllerManager->getConfigurationController();
@@ -95,7 +95,7 @@ ViewTabBarModule::ViewTabBarModule (
ViewTabBarModule::~ViewTabBarModule (void)
{
}
-
+
@@ -172,7 +172,7 @@ void ViewTabBarModule::UpdateViewTabBar (const Reference<XTabBar>& rxTabBar)
if ( ! xBar.is())
xBar = Reference<XTabBar>(
mxConfigurationController->getResource(mxViewTabBarId), UNO_QUERY);
-
+
if (xBar.is())
{
TabBarButton aEmptyButton;
@@ -202,7 +202,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 f775bfb87c38..559724232d48 100644
--- a/sd/source/ui/framework/module/ViewTabBarModule.hxx
+++ b/sd/source/ui/framework/module/ViewTabBarModule.hxx
@@ -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 @@ 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
@@ -73,10 +73,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 078f86a88d86..6b59149370d8 100755
--- a/sd/source/ui/framework/tools/FrameworkHelper.cxx
+++ b/sd/source/ui/framework/tools/FrameworkHelper.cxx
@@ -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
@@ -152,7 +152,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;
@@ -330,7 +330,7 @@ public:
~DisposeListener (void);
virtual void SAL_CALL disposing (void);
-
+
virtual void SAL_CALL disposing (const lang::EventObject& rEventObject)
throw(RuntimeException);
@@ -375,7 +375,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));
@@ -397,7 +397,7 @@ FrameworkHelper::InstanceMap FrameworkHelper::maInstanceMap;
OSL_DOUBLE_CHECKED_LOCKING_MEMORY_BARRIER();
pHelper = iHelper->second;
}
-
+
return pHelper;
}
@@ -500,7 +500,7 @@ bool FrameworkHelper::IsValid (void)
Reference<XView> FrameworkHelper::GetView (const Reference<XResourceId>& rxPaneOrViewId)
{
Reference<XView> xView;
-
+
if ( ! rxPaneOrViewId.is() || ! mxConfigurationController.is())
return NULL;
@@ -639,7 +639,7 @@ ViewShell::ShellType FrameworkHelper::GetViewId (const rtl::OUString& rsViewURL)
void FrameworkHelper::HandleModeChangeSlot (
- ULONG nSlotId,
+ ULONG nSlotId,
SfxRequest& rRequest)
{
BOOL bIsActive = TRUE;
@@ -658,9 +658,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 ();
@@ -674,19 +674,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;
@@ -708,7 +708,7 @@ void FrameworkHelper::HandleModeChangeSlot (
break;
}
}
-
+
if (xView.is()
&& xView->getResourceId()->getResourceURL().equals(sRequestedView))
{
@@ -1138,7 +1138,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 1a6e8992a10e..6c095aada271 100644
--- a/sd/source/ui/func/bulmaper.cxx
+++ b/sd/source/ui/func/bulmaper.cxx
@@ -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
@@ -177,7 +177,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 31c4c1358d3a..79784705d72b 100644
--- a/sd/source/ui/func/fuarea.cxx
+++ b/sd/source/ui/func/fuarea.cxx
@@ -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 @@ 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 92b1450624e1..9b9ed46f3545 100644
--- a/sd/source/ui/func/fubullet.cxx
+++ b/sd/source/ui/func/fubullet.cxx
@@ -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,13 +57,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 );
@@ -100,8 +100,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;
@@ -119,7 +119,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))
@@ -241,7 +241,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))
@@ -283,7 +283,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 f43b33c8318a..ab93a9a4efa1 100644
--- a/sd/source/ui/func/fuchar.cxx
+++ b/sd/source/ui/func/fuchar.cxx
@@ -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/func/fucon3d.cxx b/sd/source/ui/func/fucon3d.cxx
index ef0827cc6efc..17f040d4711d 100644
--- a/sd/source/ui/func/fucon3d.cxx
+++ b/sd/source/ui/func/fucon3d.cxx
@@ -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
@@ -71,11 +71,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)
{
}
@@ -288,7 +288,7 @@ void FuConstruct3dObject::ImpPrepareBasic3DShape(E3dCompoundObject* p3DObj, E3dS
case SID_3D_SPHERE:
{
-// pScene->RotateX(DEG2RAD(60));
+// pScene->RotateX(DEG2RAD(60));
}
break;
@@ -303,13 +303,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;
@@ -454,7 +454,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());
@@ -477,18 +477,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 7a7ab2b9dc2e..820f8a3d3cd0 100644
--- a/sd/source/ui/func/fuconarc.cxx
+++ b/sd/source/ui/func/fuconarc.cxx
@@ -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
@@ -65,11 +65,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 )
{
}
@@ -102,7 +102,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);
@@ -143,7 +143,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);
}
@@ -226,25 +226,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;
@@ -261,7 +261,7 @@ void FuConstructArc::Activate()
mpView->SetCurrentObj((UINT16)aObjKind);
FuConstruct::Activate();
-// FuDraw::Activate();
+// FuDraw::Activate();
}
/*************************************************************************
@@ -273,7 +273,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 e95a2377e4ee..c465276fbec8 100644
--- a/sd/source/ui/func/fuconbez.cxx
+++ b/sd/source/ui/func/fuconbez.cxx
@@ -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
@@ -71,9 +71,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),
@@ -247,7 +247,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);
@@ -443,7 +443,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()),
@@ -462,7 +462,7 @@ SdrObject* FuConstructBezierPolygon::CreateDefaultObject(const sal_uInt16 nID, c
{
aInnerPoly.setClosed(true);
}
-
+
aPoly.append(aInnerPoly);
break;
}
@@ -470,14 +470,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()));
@@ -496,7 +496,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));
@@ -505,7 +505,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 0627abdd62fc..7265eed76b65 100644
--- a/sd/source/ui/func/fuconcs.cxx
+++ b/sd/source/ui/func/fuconcs.cxx
@@ -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
@@ -93,11 +93,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)
{
}
@@ -262,7 +262,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 edce9a5e38e4..522d54eaf3b2 100644
--- a/sd/source/ui/func/fuconnct.cxx
+++ b/sd/source/ui/func/fuconnct.cxx
@@ -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
@@ -50,10 +50,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 ef7eaae17004..6ba5de769915 100644
--- a/sd/source/ui/func/fuconrec.cxx
+++ b/sd/source/ui/func/fuconrec.cxx
@@ -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
@@ -88,11 +88,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)
{
}
@@ -127,11 +127,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);
@@ -145,11 +145,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);
@@ -185,13 +185,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();
@@ -355,21 +355,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;
@@ -464,13 +464,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 );
@@ -988,8 +988,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 c0d8235e97fb..1d62b9a76a0c 100755
--- a/sd/source/ui/func/fuconstr.cxx
+++ b/sd/source/ui/func/fuconstr.cxx
@@ -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,11 +62,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)
{
@@ -95,7 +95,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;
}
@@ -391,7 +391,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 fffcaf3c0b9f..6318253ceea3 100644
--- a/sd/source/ui/func/fuconuno.cxx
+++ b/sd/source/ui/func/fuconuno.cxx
@@ -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
@@ -67,11 +67,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)
{
}
@@ -205,7 +205,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 0335ff9aa13c..89c44320d4c9 100644
--- a/sd/source/ui/func/fucopy.cxx
+++ b/sd/source/ui/func/fucopy.cxx
@@ -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,10 +62,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)
{
@@ -98,7 +98,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 ) )
{
@@ -143,11 +143,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
@@ -200,19 +200,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;
@@ -236,16 +236,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 );
@@ -264,7 +264,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 )
{
@@ -272,8 +272,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() ) )
{
@@ -312,4 +312,4 @@ void FuCopy::DoExecute( SfxRequest& rReq )
}
}
-} // end of namespace
+} // end of namespace
diff --git a/sd/source/ui/func/fucushow.cxx b/sd/source/ui/func/fucushow.cxx
index 1ca6da60a713..648711097ebc 100644
--- a/sd/source/ui/func/fucushow.cxx
+++ b/sd/source/ui/func/fucushow.cxx
@@ -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
@@ -55,11 +55,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 )
{
}
@@ -96,4 +96,4 @@ void FuCustomShowDlg::DoExecute( SfxRequest& )
}
}
-} // end of namespace
+} // end of namespace
diff --git a/sd/source/ui/func/fudraw.cxx b/sd/source/ui/func/fudraw.cxx
index 5cc3cc49ca88..4a93eff1e3a0 100755
--- a/sd/source/ui/func/fudraw.cxx
+++ b/sd/source/ui/func/fudraw.cxx
@@ -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
@@ -131,8 +131,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;
@@ -253,8 +253,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;
@@ -689,8 +689,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() )
{
@@ -786,8 +786,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 2e6ad66e11f1..bd1fa0e662dc 100644
--- a/sd/source/ui/func/fudspord.cxx
+++ b/sd/source/ui/func/fudspord.cxx
@@ -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 @@ 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 ddae68d8b9ab..a1ce2b37ba36 100644
--- a/sd/source/ui/func/fuediglu.cxx
+++ b/sd/source/ui/func/fuediglu.cxx
@@ -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,8 +64,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 281e4c692228..c5bdcf13224c 100644
--- a/sd/source/ui/func/fuexpand.cxx
+++ b/sd/source/ui/func/fuexpand.cxx
@@ -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
@@ -194,7 +194,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);
@@ -233,13 +233,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 0d43ea73c964..24c8c2509221 100644
--- a/sd/source/ui/func/fuformatpaintbrush.cxx
+++ b/sd/source/ui/func/fuformatpaintbrush.cxx
@@ -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
@@ -61,7 +61,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 )
@@ -92,7 +92,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);
@@ -151,7 +151,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);
@@ -260,7 +260,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" ) ) ) );
@@ -269,7 +269,7 @@ void FuFormatPaintBrush::Paste( bool bNoCharacterFormats, bool bNoParagraphForma
}
mpView->ApplyFormatPaintBrush( *mpItemSet.get(), bNoCharacterFormats, bNoParagraphFormats );
-
+
if( mpDoc->IsUndoEnabled() )
{
mpDoc->EndUndo();
@@ -281,7 +281,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 a7f96a5b50d2..b792b9e59b4d 100644
--- a/sd/source/ui/func/fuhhconv.cxx
+++ b/sd/source/ui/func/fuhhconv.cxx
@@ -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/func/fuinsert.cxx b/sd/source/ui/func/fuinsert.cxx
index 6de64c70cbf2..916a5120945a 100755
--- a/sd/source/ui/func/fuinsert.cxx
+++ b/sd/source/ui/func/fuinsert.cxx
@@ -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
@@ -135,17 +135,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;
@@ -209,7 +209,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();
@@ -726,9 +726,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 )
{
@@ -758,8 +758,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 d14a5859d47b..573acc8ac39c 100644
--- a/sd/source/ui/func/fuinsfil.cxx
+++ b/sd/source/ui/func/fuinsfil.cxx
@@ -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
@@ -86,9 +86,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
/*************************************************************************
|*
@@ -98,10 +98,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)
{
}
@@ -128,7 +128,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 ) ) );
@@ -270,12 +270,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 )
@@ -513,11 +513,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 ) );
@@ -635,9 +635,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 ) )
@@ -775,14 +775,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 b14d5f6acc08..273abef6e7d7 100644
--- a/sd/source/ui/func/fuline.cxx
+++ b/sd/source/ui/func/fuline.cxx
@@ -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,10 +62,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)
{
@@ -80,7 +80,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 9c53518507f3..3d889fb1c610 100644
--- a/sd/source/ui/func/fulinend.cxx
+++ b/sd/source/ui/func/fulinend.cxx
@@ -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/func/fulink.cxx b/sd/source/ui/func/fulink.cxx
index a87cb63883e7..8549945206cc 100644
--- a/sd/source/ui/func/fulink.cxx
+++ b/sd/source/ui/func/fulink.cxx
@@ -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/func/fumeasur.cxx b/sd/source/ui/func/fumeasur.cxx
index 55344a46acc2..6ff3a6b6f18d 100644
--- a/sd/source/ui/func/fumeasur.cxx
+++ b/sd/source/ui/func/fumeasur.cxx
@@ -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
@@ -49,10 +49,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 1dc2d40fefd3..0d1e7ba2f2d0 100644
--- a/sd/source/ui/func/fumorph.cxx
+++ b/sd/source/ui/func/fumorph.cxx
@@ -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
@@ -66,12 +66,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)
{
}
@@ -84,23 +84,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))
@@ -261,7 +261,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());
@@ -323,7 +323,7 @@ void FuMorph::ImpAddPolys(::basegfx::B2DPolyPolygon& rSmaller, const ::basegfx::
{
aNewPoly.append(aNewPoint);
}
-
+
rSmaller.append(aNewPoly);
}
}
@@ -334,21 +334,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());
@@ -389,13 +389,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 ) );
@@ -445,8 +445,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)
{
@@ -478,7 +478,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 b348d6533930..21bd350393c3 100644
--- a/sd/source/ui/func/fuoaprms.cxx
+++ b/sd/source/ui/func/fuoaprms.cxx
@@ -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
@@ -56,7 +56,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;
@@ -76,11 +76,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)
{
}
@@ -97,8 +97,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;
@@ -728,10 +728,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);
@@ -739,7 +739,7 @@ void FuObjectAnimationParameters::DoExecute( SfxRequest& rReq )
pAction->SetSecondPlayFull(pInfo->mbSecondPlayFull, pInfo->mbSecondPlayFull);
pUndoGroup->AddAction(pAction);
-// pInfo->mbInvisibleInPresentation = TRUE;
+// pInfo->mbInvisibleInPresentation = TRUE;
}
else
{
@@ -760,8 +760,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);
@@ -819,8 +819,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 32ca9d3278b3..5f5ad6467e64 100644
--- a/sd/source/ui/func/fuolbull.cxx
+++ b/sd/source/ui/func/fuolbull.cxx
@@ -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/func/fuoltext.cxx b/sd/source/ui/func/fuoltext.cxx
index 2797631d12db..334441f988ec 100644
--- a/sd/source/ui/func/fuoltext.cxx
+++ b/sd/source/ui/func/fuoltext.cxx
@@ -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/func/fuoutl.cxx b/sd/source/ui/func/fuoutl.cxx
index c0ef53f144b3..2f26f0a816d2 100755
--- a/sd/source/ui/func/fuoutl.cxx
+++ b/sd/source/ui/func/fuoutl.cxx
@@ -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
@@ -49,10 +49,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)),
@@ -70,13 +70,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 3dea67412fac..c5a70872bf3a 100755
--- a/sd/source/ui/func/fupage.cxx
+++ b/sd/source/ui/func/fupage.cxx
@@ -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
@@ -129,7 +129,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 ),
@@ -287,10 +287,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());
}
@@ -307,11 +307,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 )
{
@@ -472,7 +472,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 (!)");
}
@@ -498,10 +498,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 68f8a3e922d0..ebefc2aed097 100644
--- a/sd/source/ui/func/fuparagr.cxx
+++ b/sd/source/ui/func/fuparagr.cxx
@@ -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/func/fupoor.cxx b/sd/source/ui/func/fupoor.cxx
index 0342c5f2bbc5..7bfafc33fed9 100755
--- a/sd/source/ui/func/fupoor.cxx
+++ b/sd/source/ui/func/fupoor.cxx
@@ -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
@@ -186,12 +186,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);
@@ -206,10 +206,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 )
{
@@ -236,7 +236,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()));
@@ -269,7 +269,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;
@@ -287,7 +287,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;
@@ -320,7 +320,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();
@@ -373,7 +373,7 @@ BOOL FuPoor::KeyInput(const KeyEvent& rKEvt)
}
}
break;
-
+
case KEY_ESCAPE:
{
bReturn = FuPoor::cancel();
@@ -464,8 +464,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
@@ -477,12 +477,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(
@@ -496,7 +496,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
@@ -506,12 +506,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
@@ -550,14 +550,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
@@ -573,7 +573,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())
{
@@ -599,7 +599,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())
@@ -616,7 +616,7 @@ BOOL FuPoor::KeyInput(const KeyEvent& rKEvt)
mpView->MarkPoint(*pHdl);
}
-
+
if(0L == rHdlList.GetFocusHdl())
{
// restore point with focus
@@ -625,9 +625,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)
{
@@ -831,7 +831,7 @@ BOOL FuPoor::KeyInput(const KeyEvent& rKEvt)
mpView->MovAction(aEndPoint);
mpView->EndDragObj();
-
+
// restore snap
if(!bWasNoSnap)
((SdrDragStat&)rDragStat).SetNoSnap(bWasNoSnap);
@@ -889,14 +889,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);
@@ -910,10 +910,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;
@@ -947,7 +947,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);
@@ -1064,7 +1064,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()));
@@ -1085,16 +1085,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;
}
/*************************************************************************
@@ -1179,13 +1179,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()));
}
}
@@ -1197,7 +1197,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 0d6f0b5aa565..410b55c2c0af 100644
--- a/sd/source/ui/func/fuprlout.cxx
+++ b/sd/source/ui/func/fuprlout.cxx
@@ -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
@@ -76,8 +76,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('#'))
/*************************************************************************
@@ -147,9 +147,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));
@@ -157,8 +157,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)
@@ -249,7 +249,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();
@@ -272,7 +272,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 d65bc8aaffe3..198861060b9c 100644
--- a/sd/source/ui/func/fuprobjs.cxx
+++ b/sd/source/ui/func/fuprobjs.cxx
@@ -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
@@ -68,7 +68,7 @@ TYPEINIT1( FuPresentationObjects, FuPoor );
FuPresentationObjects::FuPresentationObjects (
ViewShell* pViewSh,
- ::sd::Window* pWin,
+ ::sd::Window* pWin,
::sd::View* pView,
SdDrawDocument* pDoc,
SfxRequest& rReq)
@@ -97,8 +97,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();
@@ -132,7 +132,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 dc5677c6ef2d..59572474143f 100644
--- a/sd/source/ui/func/fuscale.cxx
+++ b/sd/source/ui/func/fuscale.cxx
@@ -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
@@ -68,10 +68,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)
{
@@ -200,7 +200,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 04fcf124cc14..b7781d984735 100755
--- a/sd/source/ui/func/fusearch.cxx
+++ b/sd/source/ui/func/fusearch.cxx
@@ -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/func/fusel.cxx b/sd/source/ui/func/fusel.cxx
index 2ddf6a5fb885..5529033bc70c 100644
--- a/sd/source/ui/func/fusel.cxx
+++ b/sd/source/ui/func/fusel.cxx
@@ -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/func/fusldlg.cxx b/sd/source/ui/func/fusldlg.cxx
index 76af1555c861..da8ab477d067 100644
--- a/sd/source/ui/func/fusldlg.cxx
+++ b/sd/source/ui/func/fusldlg.cxx
@@ -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
@@ -61,11 +61,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 )
{
}
@@ -81,13 +81,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-- )
{
@@ -146,9 +146,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 fad1cb324fd2..e99220578998 100755
--- a/sd/source/ui/func/fusnapln.cxx
+++ b/sd/source/ui/func/fusnapln.cxx
@@ -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
@@ -76,8 +76,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);
@@ -87,19 +87,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 );
@@ -195,9 +195,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 3ed152d1f862..015c4ceb3e19 100644
--- a/sd/source/ui/func/fusumry.cxx
+++ b/sd/source/ui/func/fusumry.cxx
@@ -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
@@ -60,10 +60,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 43572c2af8a4..d9fda760f097 100644
--- a/sd/source/ui/func/futempl.cxx
+++ b/sd/source/ui/func/futempl.cxx
@@ -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
@@ -248,14 +248,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 2f3111665692..54b36a03f459 100755
--- a/sd/source/ui/func/futext.cxx
+++ b/sd/source/ui/func/futext.cxx
@@ -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
@@ -116,7 +116,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
@@ -137,7 +137,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)
@@ -406,10 +406,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();
@@ -1005,8 +1005,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)
{
@@ -1411,7 +1411,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:
@@ -1500,7 +1500,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++ )
@@ -1542,7 +1542,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 2ec18c0f019a..b06ed4e28339 100644
--- a/sd/source/ui/func/futhes.cxx
+++ b/sd/source/ui/func/futhes.cxx
@@ -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/func/futransf.cxx b/sd/source/ui/func/futransf.cxx
index 31797f3c8a03..8e39dc38bc7a 100755
--- a/sd/source/ui/func/futransf.cxx
+++ b/sd/source/ui/func/futransf.cxx
@@ -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/func/futxtatt.cxx b/sd/source/ui/func/futxtatt.cxx
index f434f2790620..14b51c11a0d3 100644
--- a/sd/source/ui/func/futxtatt.cxx
+++ b/sd/source/ui/func/futxtatt.cxx
@@ -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
@@ -50,10 +50,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 5a8419ba7822..09ff7dbd4b5c 100644
--- a/sd/source/ui/func/fuvect.cxx
+++ b/sd/source/ui/func/fuvect.cxx
@@ -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,10 +62,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)
{
@@ -92,13 +92,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 390522cc33ca..e3a71a48bdf9 100644
--- a/sd/source/ui/func/fuzoom.cxx
+++ b/sd/source/ui/func/fuzoom.cxx
@@ -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
@@ -68,8 +68,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 83619cc0efe9..657e88c383fd 100644
--- a/sd/source/ui/func/sdundo.cxx
+++ b/sd/source/ui/func/sdundo.cxx
@@ -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/func/sdundogr.cxx b/sd/source/ui/func/sdundogr.cxx
index 7b7a361bba80..11b8b70d1ed0 100755
--- a/sd/source/ui/func/sdundogr.cxx
+++ b/sd/source/ui/func/sdundogr.cxx
@@ -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
@@ -63,14 +63,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 a8b6c0647237..ff5459e8df08 100755
--- a/sd/source/ui/func/smarttag.cxx
+++ b/sd/source/ui/func/smarttag.cxx
@@ -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
@@ -284,8 +284,8 @@ bool SmartTagSet::KeyInput( const KeyEvent& rKEvt )
return true;
}
}
-
-
+
+
return false;
}
@@ -335,7 +335,7 @@ bool SmartTagSet::Command( const CommandEvent& rCEvt )
{
if( mxSelectedTag.is() )
return mxSelectedTag->Command( rCEvt );
-
+
}
return false;
@@ -404,7 +404,7 @@ ULONG SmartTagSet::GetMarkedPointCount() const
BOOL SmartTagSet::IsPointMarkable(const SdrHdl& rHdl) const
{
const SmartHdl* pSmartHdl = dynamic_cast< const SmartHdl* >( &rHdl );
-
+
return pSmartHdl && pSmartHdl->isMarkable();
}
@@ -450,7 +450,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 7f0245c50cda..596550a79572 100644
--- a/sd/source/ui/func/undoback.cxx
+++ b/sd/source/ui/func/undoback.cxx
@@ -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 @@ 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 778bd3056027..2d834891d53a 100644
--- a/sd/source/ui/func/undoheaderfooter.cxx
+++ b/sd/source/ui/func/undoheaderfooter.cxx
@@ -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
@@ -39,8 +39,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 4739ae9b5c16..197ad1ae9138 100644
--- a/sd/source/ui/func/undolayer.cxx
+++ b/sd/source/ui/func/undolayer.cxx
@@ -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,11 +38,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 ),
@@ -66,7 +66,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 )
{
@@ -80,7 +80,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 2da4d6260834..a11ea92f3651 100644
--- a/sd/source/ui/func/undopage.cxx
+++ b/sd/source/ui/func/undopage.cxx
@@ -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/func/unmovss.cxx b/sd/source/ui/func/unmovss.cxx
index 2ccaa4da19cb..5f16a7260f36 100644
--- a/sd/source/ui/func/unmovss.cxx
+++ b/sd/source/ui/func/unmovss.cxx
@@ -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
@@ -61,7 +61,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 933e961ed927..b6a5299470fd 100755
--- a/sd/source/ui/func/unoaprms.cxx
+++ b/sd/source/ui/func/unoaprms.cxx
@@ -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
@@ -48,26 +48,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;
@@ -110,10 +110,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 ec0b223cf6a8..6fe9799f4644 100644
--- a/sd/source/ui/func/unprlout.cxx
+++ b/sd/source/ui/func/unprlout.cxx
@@ -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/3dchld.hxx b/sd/source/ui/inc/3dchld.hxx
index d90d52704b0d..2578c16a9adc 100644
--- a/sd/source/ui/inc/3dchld.hxx
+++ b/sd/source/ui/inc/3dchld.hxx
@@ -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,5 +46,5 @@ class Sd3DChildWindow : public SfxChildWindow
SFX_DECL_CHILDWINDOW(Sd3DChildWindow);
};
-#endif // _SD_3DCHLD_HXX
+#endif // _SD_3DCHLD_HXX
diff --git a/sd/source/ui/inc/AccessibleDocumentViewBase.hxx b/sd/source/ui/inc/AccessibleDocumentViewBase.hxx
index b070db968959..3403703a1021 100644
--- a/sd/source/ui/inc/AccessibleDocumentViewBase.hxx
+++ b/sd/source/ui/inc/AccessibleDocumentViewBase.hxx
@@ -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
@@ -72,18 +72,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,
@@ -114,7 +114,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
@@ -134,7 +134,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 ==============================================
@@ -163,42 +163,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)
@@ -210,7 +210,7 @@ public:
//===== XTypeProvider ===================================================
-
+
virtual ::com::sun::star::uno::Sequence< ::com::sun::star::uno::Type> SAL_CALL
getTypes (void)
throw (::com::sun::star::uno::RuntimeException);
@@ -232,48 +232,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:
@@ -289,7 +289,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.
@@ -302,7 +302,7 @@ protected:
<member>SetAccessibleOLEObject</member> method.
*/
::com::sun::star::uno::Reference <
- ::com::sun::star::accessibility::XAccessible>
+ ::com::sun::star::accessibility::XAccessible>
mxAccessibleOLEObject;
Link maWindowLink;
@@ -311,7 +311,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
@@ -321,7 +321,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.
@@ -336,7 +336,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);
@@ -345,7 +345,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 512520266ef2..a47db2a659e2 100644
--- a/sd/source/ui/inc/AccessibleDrawDocumentView.hxx
+++ b/sd/source/ui/inc/AccessibleDrawDocumentView.hxx
@@ -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
@@ -41,7 +41,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:
@@ -54,7 +54,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.
*/
@@ -63,7 +63,7 @@ public:
//===== IAccessibleViewForwarderListener ================================
- virtual void ViewForwarderChanged (ChangeType aChangeType,
+ virtual void ViewForwarderChanged (ChangeType aChangeType,
const IAccessibleViewForwarder* pViewForwarder);
//===== XAccessibleContext ==============================================
@@ -94,7 +94,7 @@ public:
protected:
//===== XServiceInfo ====================================================
-
+
virtual ::rtl::OUString SAL_CALL
getImplementationName (void)
throw (::com::sun::star::uno::RuntimeException);
@@ -104,8 +104,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
@@ -122,7 +122,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:
@@ -140,12 +140,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
@@ -163,7 +163,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 a398d31ffbda..8d51efaeb2a1 100644
--- a/sd/source/ui/inc/AccessibleOutlineEditSource.hxx
+++ b/sd/source/ui/inc/AccessibleOutlineEditSource.hxx
@@ -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 @@ 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
@@ -53,33 +53,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:
@@ -89,13 +89,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 44e705f6dce5..727e544eedce 100644
--- a/sd/source/ui/inc/AccessibleOutlineView.hxx
+++ b/sd/source/ui/inc/AccessibleOutlineView.hxx
@@ -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
@@ -58,7 +58,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.
*/
@@ -67,7 +67,7 @@ public:
//===== IAccessibleViewForwarderListener ================================
- virtual void ViewForwarderChanged (ChangeType aChangeType,
+ virtual void ViewForwarderChanged (ChangeType aChangeType,
const IAccessibleViewForwarder* pViewForwarder);
//===== XAccessibleContext ==============================================
@@ -82,24 +82,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)
@@ -136,13 +136,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 e92bbfb91f41..9430b79805b8 100644
--- a/sd/source/ui/inc/AccessiblePageShape.hxx
+++ b/sd/source/ui/inc/AccessiblePageShape.hxx
@@ -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
@@ -45,7 +45,7 @@ namespace accessibility {
/** A page shape represents the actual page as seen on the screen.
*/
class AccessiblePageShape
- : public AccessibleShape
+ : public AccessibleShape
{
public:
//===== internal ========================================================
@@ -85,12 +85,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
@@ -100,31 +100,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);
@@ -136,15 +136,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)
@@ -154,7 +154,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);
@@ -162,8 +162,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 93c8f33444f2..7be7a2351aa0 100644
--- a/sd/source/ui/inc/AccessiblePresentationGraphicShape.hxx
+++ b/sd/source/ui/inc/AccessiblePresentationGraphicShape.hxx
@@ -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,10 +33,10 @@
namespace accessibility {
-/** This class makes Impress shapes accessible.
+/** This class makes Impress shapes accessible.
*/
class AccessiblePresentationGraphicShape
- : public AccessibleGraphicShape
+ : public AccessibleGraphicShape
{
public:
//===== internal ========================================================
@@ -46,8 +46,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)
@@ -55,12 +55,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 e03ed7ef4374..4d5850166a98 100644
--- a/sd/source/ui/inc/AccessiblePresentationOLEShape.hxx
+++ b/sd/source/ui/inc/AccessiblePresentationOLEShape.hxx
@@ -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,10 +33,10 @@
namespace accessibility {
-/** This class makes Impress shapes accessible.
+/** This class makes Impress shapes accessible.
*/
class AccessiblePresentationOLEShape
- : public AccessibleOLEShape
+ : public AccessibleOLEShape
{
public:
//===== internal ========================================================
@@ -46,8 +46,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)
@@ -55,12 +55,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 7d716e657b1f..0e75d8fb8f96 100644
--- a/sd/source/ui/inc/AccessiblePresentationShape.hxx
+++ b/sd/source/ui/inc/AccessiblePresentationShape.hxx
@@ -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,10 +32,10 @@
namespace accessibility {
-/** This class makes Impress shapes accessible.
+/** This class makes Impress shapes accessible.
*/
class AccessiblePresentationShape
- : public AccessibleShape
+ : public AccessibleShape
{
public:
//===== internal ========================================================
@@ -45,8 +45,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)
@@ -54,18 +54,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 ff77be75885a..ff73f55d1c91 100644
--- a/sd/source/ui/inc/AccessibleScrollPanel.hxx
+++ b/sd/source/ui/inc/AccessibleScrollPanel.hxx
@@ -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
@@ -52,11 +52,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)
@@ -65,7 +65,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 7049aff02094..8e23870eaf58 100644
--- a/sd/source/ui/inc/AccessibleSlideSorterObject.hxx
+++ b/sd/source/ui/inc/AccessibleSlideSorterObject.hxx
@@ -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
@@ -48,7 +48,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,
@@ -86,7 +86,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,
@@ -103,14 +103,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<
@@ -119,7 +119,7 @@ public:
using cppu::WeakComponentImplHelperBase::addEventListener;
using cppu::WeakComponentImplHelperBase::removeEventListener;
-
+
//===== XAccessibleContext ==============================================
virtual sal_Int32 SAL_CALL
@@ -133,7 +133,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);
@@ -166,46 +166,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)
@@ -234,7 +234,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 16804e79cb8f..5890e295b1b2 100644
--- a/sd/source/ui/inc/AccessibleSlideSorterView.hxx
+++ b/sd/source/ui/inc/AccessibleSlideSorterView.hxx
@@ -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 @@ 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,
@@ -76,7 +76,7 @@ public:
::sd::slidesorter::SlideSorter& rSlideSorter,
const ::com::sun::star::uno::Reference< ::com::sun::star::accessibility::XAccessible> & rxParent,
::Window* pParentWindow);
-
+
virtual ~AccessibleSlideSorterView (void);
/** This method acts like a dispose call. It sends a disposing to all
@@ -96,7 +96,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<
@@ -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,56 +120,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
@@ -184,15 +184,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.
@@ -203,82 +203,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)
@@ -290,7 +290,7 @@ public:
getSupportedServiceNames (void)
throw (::com::sun::star::uno::RuntimeException);
-
+
private:
class Implementation;
::std::auto_ptr<Implementation> mpImpl;
@@ -313,7 +313,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 f98d345c2019..682c9ba022a1 100644
--- a/sd/source/ui/inc/AccessibleSlideView.hxx
+++ b/sd/source/ui/inc/AccessibleSlideView.hxx
@@ -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
@@ -53,7 +53,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,
@@ -68,8 +68,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:
@@ -108,21 +108,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)
@@ -137,9 +137,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();
@@ -151,16 +151,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,
@@ -174,8 +174,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);
@@ -190,8 +190,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 );
@@ -240,10 +240,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
@@ -257,13 +257,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 2c1031921009..34f91b626592 100644
--- a/sd/source/ui/inc/AccessibleTreeNode.hxx
+++ b/sd/source/ui/inc/AccessibleTreeNode.hxx
@@ -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
@@ -61,7 +61,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,
@@ -95,7 +95,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
@@ -119,7 +119,7 @@ public:
const ::rtl::OUString& rsName,
const ::rtl::OUString& rsDescription,
sal_Int16 eRole);
-
+
void FireAccessibleEvent (
short nEventId,
const ::com::sun::star::uno::Any& rOldValue,
@@ -134,7 +134,7 @@ public:
getAccessibleContext (void)
throw (::com::sun::star::uno::RuntimeException);
-
+
//===== XAccessibleEventBroadcaster =======================================
virtual void SAL_CALL
@@ -142,7 +142,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<
@@ -151,56 +151,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
@@ -211,46 +211,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)
@@ -262,13 +262,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;
@@ -284,7 +284,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.
@@ -302,10 +302,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 5c8fba1e6b2d..2c4d8e802236 100755
--- a/sd/source/ui/inc/AccessibleViewForwarder.hxx
+++ b/sd/source/ui/inc/AccessibleViewForwarder.hxx
@@ -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 @@ 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
@@ -48,7 +48,7 @@ namespace accessibility {
change the validity of the forwarder have to be signaled seperately.
*/
class AccessibleViewForwarder
- : public IAccessibleViewForwarder
+ : public IAccessibleViewForwarder
{
public:
//===== internal ========================================================
@@ -56,7 +56,7 @@ public:
AccessibleViewForwarder (SdrPaintView* pView, OutputDevice& rDevice);
virtual ~AccessibleViewForwarder (void);
-
+
//===== IAccessibleViewforwarder ========================================
/** This method informs you about the state of the forwarder. Do not
@@ -70,7 +70,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;
@@ -81,7 +81,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.
*/
@@ -93,7 +93,7 @@ public:
@param rSize
Size in internal coordinates.
- @return
+ @return
The same size but in screen coordinates.
*/
virtual Size LogicToPixel (const Size& rSize) const;
@@ -105,7 +105,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;
@@ -116,7 +116,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 c3718220a172..709d56c0f74c 100644
--- a/sd/source/ui/inc/AnimationChildWindow.hxx
+++ b/sd/source/ui/inc/AnimationChildWindow.hxx
@@ -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,13 +36,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 ae54243a58e2..3519eaa1c169 100644
--- a/sd/source/ui/inc/BezierObjectBar.hxx
+++ b/sd/source/ui/inc/BezierObjectBar.hxx
@@ -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,7 +37,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 ee5ee7b1db0a..47c231a7071b 100644
--- a/sd/source/ui/inc/BreakDlg.hxx
+++ b/sd/source/ui/inc/BreakDlg.hxx
@@ -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
@@ -53,38 +53,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 8370b31435c3..b8f1dd2988b1 100644
--- a/sd/source/ui/inc/Client.hxx
+++ b/sd/source/ui/inc/Client.hxx
@@ -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
@@ -49,24 +49,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 dd4b5e37f38e..5bd2870bc95a 100644
--- a/sd/source/ui/inc/ClientView.hxx
+++ b/sd/source/ui/inc/ClientView.hxx
@@ -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,12 +40,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 84a9f848f612..21e4865f4012 100644
--- a/sd/source/ui/inc/CustomAnimation.hxx
+++ b/sd/source/ui/inc/CustomAnimation.hxx
@@ -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 @@ 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 f04f431a4b55..5dec726f6005 100644
--- a/sd/source/ui/inc/DialogListBox.hxx
+++ b/sd/source/ui/inc/DialogListBox.hxx
@@ -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,36 +36,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 0bc7db676401..5143f2ad5cfd 100644
--- a/sd/source/ui/inc/DocumentRenderer.hxx
+++ b/sd/source/ui/inc/DocumentRenderer.hxx
@@ -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
@@ -59,13 +59,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 da0b6ade7327..ea5f358e8de0 100755
--- a/sd/source/ui/inc/DrawController.hxx
+++ b/sd/source/ui/inc/DrawController.hxx
@@ -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
@@ -198,20 +198,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);
@@ -223,7 +223,7 @@ public:
// XControllerManager
-
+
virtual css::uno::Reference<css::drawing::framework::XConfigurationController> SAL_CALL
getConfigurationController (void)
throw (::com::sun::star::uno::RuntimeException);
@@ -231,8 +231,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)
@@ -243,7 +243,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);
@@ -256,9 +256,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
@@ -289,7 +289,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 4ad4b0d09392..2709340ffa4b 100755
--- a/sd/source/ui/inc/DrawDocShell.hxx
+++ b/sd/source/ui/inc/DrawDocShell.hxx
@@ -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
@@ -85,11 +85,11 @@ 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 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 );
@@ -99,13 +99,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 );
@@ -115,28 +115,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);
@@ -155,17 +155,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
@@ -204,28 +204,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 22d3afb5dd4a..186024573415 100755
--- a/sd/source/ui/inc/DrawSubController.hxx
+++ b/sd/source/ui/inc/DrawSubController.hxx
@@ -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/DrawViewShell.hxx b/sd/source/ui/inc/DrawViewShell.hxx
index 4abb1a22946d..1fce00ee9145 100755
--- a/sd/source/ui/inc/DrawViewShell.hxx
+++ b/sd/source/ui/inc/DrawViewShell.hxx
@@ -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 @@ public:
virtual void Init (bool bIsMainViewShell);
virtual void Shutdown (void);
-
+
void PrePaint();
virtual void Paint(const Rectangle& rRect, ::sd::Window* pWin);
@@ -121,7 +121,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
@@ -130,7 +130,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);
@@ -150,77 +150,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);
@@ -231,24 +231,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);
@@ -257,22 +257,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
@@ -280,11 +280,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 );
@@ -359,8 +359,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/>.
@@ -368,22 +368,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 );
@@ -391,8 +391,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);
@@ -405,13 +405,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
@@ -445,10 +445,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);
@@ -487,7 +487,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 8c177191c31f..8cffaa1d9b89 100644
--- a/sd/source/ui/inc/EventMultiplexer.hxx
+++ b/sd/source/ui/inc/EventMultiplexer.hxx
@@ -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,14 +47,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.
*/
@@ -68,7 +68,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;
@@ -101,7 +101,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;
@@ -109,7 +109,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;
@@ -119,7 +119,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;
@@ -156,7 +156,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
@@ -186,7 +186,7 @@ public:
be informed about.
*/
void AddEventListener (
- Link& rCallback,
+ Link& rCallback,
EventMultiplexerEvent::EventId aEventTypeSet);
/** Remove an event listener for the specified event types.
@@ -197,7 +197,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 261095642a51..f683f9e5c4b9 100644
--- a/sd/source/ui/inc/FormShellManager.hxx
+++ b/sd/source/ui/inc/FormShellManager.hxx
@@ -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
@@ -49,7 +49,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 70e34e20dfa7..738dfb7de2d3 100644
--- a/sd/source/ui/inc/FrameView.hxx
+++ b/sd/source/ui/inc/FrameView.hxx
@@ -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,7 +42,7 @@ namespace sd {
|* View fuer den MDIFrame
|*
\************************************************************************/
-class FrameView
+class FrameView
: public SdrView
{
public:
@@ -120,7 +120,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.
*/
@@ -134,14 +134,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.
@@ -162,7 +162,7 @@ public:
void SetViewShellTypeOnLoad (ViewShell::ShellType eType);
ViewShell::ShellType GetViewShellTypeOnLoad (void) const;
-
+
void SetPresentationViewShellId(USHORT nId)
{ mnPresViewShellId = nId; }
USHORT GetPresentationViewShellId() const { return mnPresViewShellId; }
@@ -186,41 +186,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 7b506c515185..a5758b2267c4 100644
--- a/sd/source/ui/inc/GraphicDocShell.hxx
+++ b/sd/source/ui/inc/GraphicDocShell.hxx
@@ -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/GraphicObjectBar.hxx b/sd/source/ui/inc/GraphicObjectBar.hxx
index 5a3c0cf4eb4d..74228e957f44 100644
--- a/sd/source/ui/inc/GraphicObjectBar.hxx
+++ b/sd/source/ui/inc/GraphicObjectBar.hxx
@@ -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,7 +38,7 @@ class View;
class ViewShell;
-class GraphicObjectBar
+class GraphicObjectBar
: public SfxShell
{
public:
@@ -48,16 +48,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 6b5d96be95c6..beeb8ca77020 100755
--- a/sd/source/ui/inc/GraphicViewShell.hxx
+++ b/sd/source/ui/inc/GraphicViewShell.hxx
@@ -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
@@ -60,7 +60,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 294f5e1620c2..f05eafe54e9a 100644
--- a/sd/source/ui/inc/GraphicViewShellBase.hxx
+++ b/sd/source/ui/inc/GraphicViewShellBase.hxx
@@ -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/ImpressViewShellBase.hxx b/sd/source/ui/inc/ImpressViewShellBase.hxx
index a3b187fe45bb..6dcc8a37d13d 100644
--- a/sd/source/ui/inc/ImpressViewShellBase.hxx
+++ b/sd/source/ui/inc/ImpressViewShellBase.hxx
@@ -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/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 826902a09152..4586ea99eaa5 100644
--- a/sd/source/ui/inc/LayerDialogChildWindow.hxx
+++ b/sd/source/ui/inc/LayerDialogChildWindow.hxx
@@ -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,8 +40,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 3c0b00025307..9c88723b917e 100755
--- a/sd/source/ui/inc/LayerDialogContent.hxx
+++ b/sd/source/ui/inc/LayerDialogContent.hxx
@@ -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,14 +38,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 4653fcd17bfe..9a1282a8c317 100644
--- a/sd/source/ui/inc/LayerTabBar.hxx
+++ b/sd/source/ui/inc/LayerTabBar.hxx
@@ -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,15 +42,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);
@@ -71,21 +71,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 caaa8c175f68..de40a6949c1b 100755
--- a/sd/source/ui/inc/MasterPageObserver.hxx
+++ b/sd/source/ui/inc/MasterPageObserver.hxx
@@ -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
@@ -63,7 +63,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
@@ -117,13 +117,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 2ad60e22182a..b3f948df66a9 100644
--- a/sd/source/ui/inc/MediaObjectBar.hxx
+++ b/sd/source/ui/inc/MediaObjectBar.hxx
@@ -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,7 +38,7 @@ class View;
class ViewShell;
-class MediaObjectBar
+class MediaObjectBar
: public SfxShell
{
public:
@@ -48,12 +48,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 4ed23b31fa08..b3d123861cb7 100644
--- a/sd/source/ui/inc/MutexOwner.hxx
+++ b/sd/source/ui/inc/MutexOwner.hxx
@@ -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 @@ 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 a649a6f772a2..186e18faa0d9 100644
--- a/sd/source/ui/inc/NavigatorChildWindow.hxx
+++ b/sd/source/ui/inc/NavigatorChildWindow.hxx
@@ -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
@@ -41,13 +41,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 0d25c6cf3273..90653bc8e61c 100644
--- a/sd/source/ui/inc/NotesChildWindow.hxx
+++ b/sd/source/ui/inc/NotesChildWindow.hxx
@@ -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
@@ -45,7 +45,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 4d10c9a0cc7a..29acfac43017 100644
--- a/sd/source/ui/inc/OutlineBulletDlg.hxx
+++ b/sd/source/ui/inc/OutlineBulletDlg.hxx
@@ -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
@@ -41,13 +41,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);
@@ -59,10 +59,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 78481294bf94..5f96a5bff375 100755
--- a/sd/source/ui/inc/OutlineView.hxx
+++ b/sd/source/ui/inc/OutlineView.hxx
@@ -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
@@ -61,12 +61,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);
@@ -81,30 +81,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);
@@ -121,15 +121,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;
@@ -138,16 +138,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);
@@ -162,7 +162,7 @@ public:
*/
void IgnoreCurrentPageChanges (bool bIgnore);
-#if 0
+#if 0
sal_Int32 GetPageNumberWidthPixel();
#endif
@@ -178,7 +178,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();
@@ -192,19 +192,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()
@@ -217,7 +217,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 6c3848f39926..6fcc19849b41 100755
--- a/sd/source/ui/inc/OutlineViewShell.hxx
+++ b/sd/source/ui/inc/OutlineViewShell.hxx
@@ -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
@@ -91,11 +91,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);
@@ -116,7 +116,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);
@@ -169,9 +169,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 2486eb80254c..f381d19c82cf 100644
--- a/sd/source/ui/inc/OutlineViewShellBase.hxx
+++ b/sd/source/ui/inc/OutlineViewShellBase.hxx
@@ -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/OutlinerIteratorImpl.hxx b/sd/source/ui/inc/OutlinerIteratorImpl.hxx
index 320f5c6878d9..c63d38dbe326 100644
--- a/sd/source/ui/inc/OutlinerIteratorImpl.hxx
+++ b/sd/source/ui/inc/OutlinerIteratorImpl.hxx
@@ -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 @@ class SdDrawDocument;
class SdPage;
class SdrObjListIter;
-namespace sd {
+namespace sd {
class ViewShell;
@@ -51,7 +51,7 @@ class IteratorImplBase;
*/
class IteratorImplBase
{
-public:
+public:
/** The constructor stores the given arguments to be used by the derived
classes.
@param pDocument
@@ -140,14 +140,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);
@@ -171,7 +171,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);
};
@@ -189,16 +189,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);
@@ -249,9 +249,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 9ba0a1f03720..d88118cf1ca5 100755
--- a/sd/source/ui/inc/PaneChildWindows.hxx
+++ b/sd/source/ui/inc/PaneChildWindows.hxx
@@ -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
@@ -39,8 +39,8 @@ class PaneChildWindow
public:
PaneChildWindow (
::Window* pParentWindow,
- USHORT nId,
- SfxBindings* pBindings,
+ USHORT nId,
+ SfxBindings* pBindings,
SfxChildWinInfo* pInfo,
const USHORT nDockWinTitleResId,
const USHORT nTitleBarResId,
@@ -84,8 +84,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 1874df10dd53..5daa35ae1dde 100755
--- a/sd/source/ui/inc/PaneDockingWindow.hxx
+++ b/sd/source/ui/inc/PaneDockingWindow.hxx
@@ -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/PaneShells.hxx b/sd/source/ui/inc/PaneShells.hxx
index de410c2565bf..d982603c0e99 100755
--- a/sd/source/ui/inc/PaneShells.hxx
+++ b/sd/source/ui/inc/PaneShells.hxx
@@ -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
@@ -39,9 +39,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:
@@ -56,9 +56,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 366026fe2e06..a76134aa6709 100644
--- a/sd/source/ui/inc/PresentationViewShell.hxx
+++ b/sd/source/ui/inc/PresentationViewShell.hxx
@@ -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
@@ -41,10 +41,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);
@@ -65,7 +65,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 26b31e2bfd65..02fc7607c93f 100644
--- a/sd/source/ui/inc/PresentationViewShellBase.hxx
+++ b/sd/source/ui/inc/PresentationViewShellBase.hxx
@@ -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/PreviewRenderer.hxx b/sd/source/ui/inc/PreviewRenderer.hxx
index fc9b657f7796..9862a27177b7 100644
--- a/sd/source/ui/inc/PreviewRenderer.hxx
+++ b/sd/source/ui/inc/PreviewRenderer.hxx
@@ -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
@@ -82,7 +82,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);
@@ -103,7 +103,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);
@@ -116,7 +116,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 2c044f9ab176..e45fecff6c4b 100644
--- a/sd/source/ui/inc/Ruler.hxx
+++ b/sd/source/ui/inc/Ruler.hxx
@@ -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
@@ -45,15 +45,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);
@@ -70,10 +70,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 d29ca3b09d32..1a8277d0d0d0 100755
--- a/sd/source/ui/inc/SdUnoDrawView.hxx
+++ b/sd/source/ui/inc/SdUnoDrawView.hxx
@@ -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
@@ -49,7 +49,7 @@ class DrawViewShell;
/** This class implements the DrawViewShell specific part of the controller.
*/
-class SdUnoDrawView
+class SdUnoDrawView
: private cppu::BaseMutex,
public DrawSubControllerInterfaceBase
{
@@ -61,34 +61,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 (
@@ -99,13 +99,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 d2a4d4bfd39d..be5c0960b8d5 100755
--- a/sd/source/ui/inc/SdUnoOutlineView.hxx
+++ b/sd/source/ui/inc/SdUnoOutlineView.hxx
@@ -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 @@ class View;
/** This class implements the OutlineViewShell specific part of the controller.
*/
-class SdUnoOutlineView
+class SdUnoOutlineView
: private cppu::BaseMutex,
public DrawSubControllerInterfaceBase
{
@@ -66,29 +66,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 (
@@ -99,7 +99,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,
@@ -107,10 +107,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 6005704ec895..14ebbb61acad 100755
--- a/sd/source/ui/inc/SdUnoSlideView.hxx
+++ b/sd/source/ui/inc/SdUnoSlideView.hxx
@@ -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
@@ -52,7 +52,7 @@ class View;
/** This class implements the SlideSorter specific part of the
controller.
*/
-class SdUnoSlideView
+class SdUnoSlideView
: private cppu::BaseMutex,
public DrawSubControllerInterfaceBase
{
@@ -68,25 +68,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);
@@ -102,7 +102,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 2da34539891f..5de0b7144f14 100644
--- a/sd/source/ui/inc/ShellFactory.hxx
+++ b/sd/source/ui/inc/ShellFactory.hxx
@@ -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/SlideSorter.hxx b/sd/source/ui/inc/SlideSorter.hxx
index f52bbb48ab6a..a1c9dc18d5e0 100644
--- a/sd/source/ui/inc/SlideSorter.hxx
+++ b/sd/source/ui/inc/SlideSorter.hxx
@@ -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
@@ -67,7 +67,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.
@@ -87,7 +87,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
@@ -171,7 +171,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.
@@ -186,7 +186,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 9f0f56a1b99d..025e2ee6611b 100644
--- a/sd/source/ui/inc/SlideSorterChildWindow.hxx
+++ b/sd/source/ui/inc/SlideSorterChildWindow.hxx
@@ -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,13 +42,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 4e6033d67ad1..54da9d8f5fe4 100755
--- a/sd/source/ui/inc/SlideSorterViewShell.hxx
+++ b/sd/source/ui/inc/SlideSorterViewShell.hxx
@@ -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 @@ public:
SFX_DECL_INTERFACE(SD_IF_SDSLIDESORTERVIEWSHELL)
static ::boost::shared_ptr<SlideSorterViewShell> Create(
- SfxViewFrame* pFrame,
+ SfxViewFrame* pFrame,
ViewShellBase& rViewShellBase,
::Window* pParentWindow,
FrameView* pFrameView);
@@ -77,10 +77,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);
@@ -129,15 +129,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;
@@ -198,7 +198,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 04774e19ab9a..06be68d78143 100644
--- a/sd/source/ui/inc/SlideSorterViewShellBase.hxx
+++ b/sd/source/ui/inc/SlideSorterViewShellBase.hxx
@@ -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/SlideView.hxx b/sd/source/ui/inc/SlideView.hxx
index 17f7f17e3a9a..10b73bcce316 100755
--- a/sd/source/ui/inc/SlideView.hxx
+++ b/sd/source/ui/inc/SlideView.hxx
@@ -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
@@ -58,15 +58,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);
@@ -89,18 +89,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 );
@@ -111,29 +111,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 ef8ab20fded3..ae67df27a53d 100644
--- a/sd/source/ui/inc/SlideViewShell.hxx
+++ b/sd/source/ui/inc/SlideViewShell.hxx
@@ -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
@@ -66,12 +66,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);
@@ -87,14 +87,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.
@@ -122,8 +122,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;
@@ -137,8 +137,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 );
@@ -164,11 +164,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 4e08dd99b063..700f6c01ec57 100755
--- a/sd/source/ui/inc/SpellDialogChildWindow.hxx
+++ b/sd/source/ui/inc/SpellDialogChildWindow.hxx
@@ -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,9 +44,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 48de6910dece..48ade63f1b47 100644
--- a/sd/source/ui/inc/TabControl.hxx
+++ b/sd/source/ui/inc/TabControl.hxx
@@ -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
@@ -41,10 +41,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);
@@ -63,29 +63,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*);
@@ -98,19 +98,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 1c5f0cfe6f11..a24fd9094805 100644
--- a/sd/source/ui/inc/TemplateScanner.hxx
+++ b/sd/source/ui/inc/TemplateScanner.hxx
@@ -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
@@ -165,7 +165,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 0c2214935bb7..8b344c680e27 100644
--- a/sd/source/ui/inc/TextLogger.hxx
+++ b/sd/source/ui/inc/TextLogger.hxx
@@ -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/TextObjectBar.hxx b/sd/source/ui/inc/TextObjectBar.hxx
index afb9e88b16a2..5a9c463f89d7 100644
--- a/sd/source/ui/inc/TextObjectBar.hxx
+++ b/sd/source/ui/inc/TextObjectBar.hxx
@@ -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
@@ -41,7 +41,7 @@ class View;
class ViewShell;
class Window;
-class TextObjectBar
+class TextObjectBar
: public SfxShell
{
public:
@@ -49,7 +49,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 d8b84d1d7b61..e37143eb2e7a 100755
--- a/sd/source/ui/inc/ToolBarManager.hxx
+++ b/sd/source/ui/inc/ToolBarManager.hxx
@@ -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
@@ -130,7 +130,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 9a0f6b65b259..8ee4af44c7f3 100644
--- a/sd/source/ui/inc/UpdateLockManager.hxx
+++ b/sd/source/ui/inc/UpdateLockManager.hxx
@@ -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/View.hxx b/sd/source/ui/inc/View.hxx
index f78051bdd719..238c41c32f15 100755
--- a/sd/source/ui/inc/View.hxx
+++ b/sd/source/ui/inc/View.hxx
@@ -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 @@ class ViewClipboard;
struct SdViewRedrawRec
{
OutputDevice* mpOut;
- Rectangle aRect;
+ Rectangle aRect;
};
@@ -80,17 +80,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);
@@ -100,24 +100,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>
@@ -137,15 +137,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,
@@ -156,23 +156,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 */
@@ -213,21 +213,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* );
@@ -235,20 +235,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 216c4e8c1dbe..a9b646fc4d77 100644
--- a/sd/source/ui/inc/ViewClipboard.hxx
+++ b/sd/source/ui/inc/ViewClipboard.hxx
@@ -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/ViewShell.hxx b/sd/source/ui/inc/ViewShell.hxx
index ffefb9de7359..16605c4f7665 100755
--- a/sd/source/ui/inc/ViewShell.hxx
+++ b/sd/source/ui/inc/ViewShell.hxx
@@ -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
@@ -50,7 +50,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;
@@ -111,33 +111,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);
@@ -224,13 +224,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.
@@ -239,7 +239,7 @@ public:
void DrawMarkRect(const Rectangle& rRect) const;
- void ExecReq( SfxRequest &rReq );
+ void ExecReq( SfxRequest &rReq );
ZoomList* GetZoomList (void);
@@ -260,10 +260,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.
@@ -280,13 +280,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; }
@@ -371,7 +371,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
@@ -380,8 +380,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;
@@ -409,8 +409,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
@@ -475,24 +475,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
@@ -586,12 +586,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 38f7223f1d83..587a12e2ee44 100755
--- a/sd/source/ui/inc/ViewShellBase.hxx
+++ b/sd/source/ui/inc/ViewShellBase.hxx
@@ -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
@@ -208,7 +208,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 );
@@ -249,7 +249,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 6124a95c29c1..42410654377b 100644
--- a/sd/source/ui/inc/ViewShellHint.hxx
+++ b/sd/source/ui/inc/ViewShellHint.hxx
@@ -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/ViewShellImplementation.hxx b/sd/source/ui/inc/ViewShellImplementation.hxx
index f4f07b5549dd..60704da89f20 100755
--- a/sd/source/ui/inc/ViewShellImplementation.hxx
+++ b/sd/source/ui/inc/ViewShellImplementation.hxx
@@ -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
@@ -127,8 +127,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 d674e7d07eff..1dcde8358f80 100755
--- a/sd/source/ui/inc/ViewShellManager.hxx
+++ b/sd/source/ui/inc/ViewShellManager.hxx
@@ -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
@@ -55,7 +55,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
@@ -98,7 +98,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
@@ -145,13 +145,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.
@@ -181,7 +181,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 9c6077936f2c..afe5ad69fb9b 100644
--- a/sd/source/ui/inc/ViewTabBar.hxx
+++ b/sd/source/ui/inc/ViewTabBar.hxx
@@ -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
@@ -71,7 +71,7 @@ namespace sd {
/** Tab control for switching between views in the center pane.
*/
-class ViewTabBar
+class ViewTabBar
: private sd::MutexOwner,
public ViewTabBarInterfaceBase
{
@@ -91,12 +91,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(
@@ -121,17 +121,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<
@@ -171,7 +171,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 4009edfd04d4..951edc5cf82b 100644
--- a/sd/source/ui/inc/ViewTabControl.hxx
+++ b/sd/source/ui/inc/ViewTabControl.hxx
@@ -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
@@ -41,10 +41,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);
@@ -63,29 +63,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*);
@@ -98,19 +98,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 8dd522d8212d..14919dabcf9a 100755
--- a/sd/source/ui/inc/Window.hxx
+++ b/sd/source/ui/inc/Window.hxx
@@ -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
@@ -43,7 +43,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.
@@ -56,26 +56,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
@@ -84,7 +84,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
@@ -95,7 +95,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);
@@ -111,8 +111,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>
*/
@@ -143,21 +143,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
@@ -198,13 +198,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 9f817de6a6c4..791c468d200b 100644
--- a/sd/source/ui/inc/WindowUpdater.hxx
+++ b/sd/source/ui/inc/WindowUpdater.hxx
@@ -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.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 7a7a34362c48..fc3e19518079 100755
--- a/sd/source/ui/inc/animobjs.hxx
+++ b/sd/source/ui/inc/animobjs.hxx
@@ -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
@@ -77,8 +77,8 @@ enum BitmapAdjustment
class SdDisplay : public Control
{
private:
- BitmapEx aBitmapEx;
- Fraction aScale;
+ BitmapEx aBitmapEx;
+ Fraction aScale;
public:
SdDisplay( ::Window* pWin, SdResId Id );
@@ -86,8 +86,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 );
};
@@ -104,59 +104,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 * );
@@ -170,11 +170,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 6f0fdaa11180..be7cd03a6b3a 100755
--- a/sd/source/ui/inc/annotationmanager.hxx
+++ b/sd/source/ui/inc/annotationmanager.hxx
@@ -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,13 +46,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 fca386485faa..1bbe3eee3e17 100644
--- a/sd/source/ui/inc/assclass.hxx
+++ b/sd/source/ui/inc/assclass.hxx
@@ -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/bmcache.hxx b/sd/source/ui/inc/bmcache.hxx
index c04f7d2ed2c4..6a908fff5930 100755
--- a/sd/source/ui/inc/bmcache.hxx
+++ b/sd/source/ui/inc/bmcache.hxx
@@ -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,17 +36,17 @@ 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
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 93f86fbcd0f9..b02072b3ef39 100644
--- a/sd/source/ui/inc/bulmaper.hxx
+++ b/sd/source/ui/inc/bulmaper.hxx
@@ -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/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 e0c6262d603a..957acfe45173 100644
--- a/sd/source/ui/inc/celltempl.hxx
+++ b/sd/source/ui/inc/celltempl.hxx
@@ -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,13 +40,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 ef49c4928b48..12e51fce0091 100644
--- a/sd/source/ui/inc/cfgids.hxx
+++ b/sd/source/ui/inc/cfgids.hxx
@@ -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,40 +36,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 2732f4f76c38..8a8d660492c9 100644
--- a/sd/source/ui/inc/copydlg.hxx
+++ b/sd/source/ui/inc/copydlg.hxx
@@ -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
@@ -48,7 +48,7 @@ class View;
|* Dialog zum Einstellen des Bildschirms
|*
\************************************************************************/
-class CopyDlg
+class CopyDlg
: public SfxModalDialog
{
public:
@@ -56,43 +56,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 020232ddced3..45ade9a2eec2 100644
--- a/sd/source/ui/inc/custsdlg.hxx
+++ b/sd/source/ui/inc/custsdlg.hxx
@@ -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,22 +46,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* );
@@ -70,8 +70,8 @@ public:
SdCustomShowDlg( Window* pWindow, SdDrawDocument& rDrawDoc );
~SdCustomShowDlg();
- BOOL IsModified() const { return( bModified ); }
- BOOL IsCustomShow() const;
+ BOOL IsModified() const { return( bModified ); }
+ BOOL IsCustomShow() const;
};
@@ -80,25 +80,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* );
@@ -109,7 +109,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 a5da8b4a10fc..de5299948221 100644
--- a/sd/source/ui/inc/diactrl.hxx
+++ b/sd/source/ui/inc/diactrl.hxx
@@ -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,15 +46,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 );
};
//========================================================================
@@ -64,9 +64,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 a427157c997c..bd1f9b84c79c 100644
--- a/sd/source/ui/inc/dlg_char.hxx
+++ b/sd/source/ui/inc/dlg_char.hxx
@@ -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
@@ -45,10 +45,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 523b86cf66a8..aff737f8f867 100755
--- a/sd/source/ui/inc/dlgass.hxx
+++ b/sd/source/ui/inc/dlgass.hxx
@@ -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/dlgctrls.hxx b/sd/source/ui/inc/dlgctrls.hxx
index 72b5921d8e86..e7d4286f7be1 100755
--- a/sd/source/ui/inc/dlgctrls.hxx
+++ b/sd/source/ui/inc/dlgctrls.hxx
@@ -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,12 +51,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 b7f87348ad76..2610b9486d4c 100644
--- a/sd/source/ui/inc/dlgfield.hxx
+++ b/sd/source/ui/inc/dlgfield.hxx
@@ -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,22 +57,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 * );
@@ -80,10 +80,10 @@ 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
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 1b462f284386..4c108945b8e5 100644
--- a/sd/source/ui/inc/dlgpage.hxx
+++ b/sd/source/ui/inc/dlgpage.hxx
@@ -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
@@ -48,14 +48,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 970a54b24339..177ea82c9550 100644
--- a/sd/source/ui/inc/dlgsnap.hxx
+++ b/sd/source/ui/inc/dlgsnap.hxx
@@ -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
@@ -66,23 +66,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 * );
@@ -98,4 +98,4 @@ public:
-#endif // _SD_DLGSNAP_HXX
+#endif // _SD_DLGSNAP_HXX
diff --git a/sd/source/ui/inc/docprev.hxx b/sd/source/ui/inc/docprev.hxx
index 76b8fe06f318..e37bfef4b527 100755
--- a/sd/source/ui/inc/docprev.hxx
+++ b/sd/source/ui/inc/docprev.hxx
@@ -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
@@ -49,16 +49,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;
@@ -73,12 +73,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 f2b621814c49..cef855af6058 100644
--- a/sd/source/ui/inc/drawview.hxx
+++ b/sd/source/ui/inc/drawview.hxx
@@ -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
@@ -52,7 +52,7 @@ public:
TYPEINFO();
DrawView (
- DrawDocShell* pDocSh,
+ DrawDocShell* pDocSh,
OutputDevice* pOutDev,
DrawViewShell* pShell);
virtual ~DrawView (void);
@@ -64,9 +64,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);
@@ -81,11 +81,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 2aaa7be9f123..6061ca8ce27f 100755
--- a/sd/source/ui/inc/filedlg.hxx
+++ b/sd/source/ui/inc/filedlg.hxx
@@ -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,14 +44,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 &);
@@ -61,8 +61,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 57a6c838feab..50c0fc0f7924 100644
--- a/sd/source/ui/inc/framework/Configuration.hxx
+++ b/sd/source/ui/inc/framework/Configuration.hxx
@@ -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
@@ -72,7 +72,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
@@ -91,12 +91,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)
@@ -106,7 +106,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<
@@ -120,14 +120,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
@@ -168,7 +168,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 d5e8dda059d2..faec19d02eb5 100644
--- a/sd/source/ui/inc/framework/ConfigurationController.hxx
+++ b/sd/source/ui/inc/framework/ConfigurationController.hxx
@@ -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
@@ -79,7 +79,7 @@ class ConfigurationUpdaterLock;
class ConfigurationController
: private sd::MutexOwner,
private boost::noncopyable,
- public ConfigurationControllerInterfaceBase
+ public ConfigurationControllerInterfaceBase
{
public:
ConfigurationController (void) throw();
@@ -101,18 +101,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)
@@ -143,14 +143,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)
@@ -165,7 +165,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)
@@ -173,12 +173,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);
@@ -194,7 +194,7 @@ public:
// XInitialization
-
+
virtual void SAL_CALL initialize(
const css::uno::Sequence<css::uno::Any>& rArguments)
throw (css::uno::Exception, css::uno::RuntimeException);
@@ -213,7 +213,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 08fd339df77a..f5e97f365195 100644
--- a/sd/source/ui/inc/framework/DrawModule.hxx
+++ b/sd/source/ui/inc/framework/DrawModule.hxx
@@ -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/FrameworkHelper.hxx b/sd/source/ui/inc/framework/FrameworkHelper.hxx
index 58c663449bbc..15e2b55ab9e5 100755
--- a/sd/source/ui/inc/framework/FrameworkHelper.hxx
+++ b/sd/source/ui/inc/framework/FrameworkHelper.hxx
@@ -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
@@ -125,14 +125,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.
*/
@@ -226,7 +226,7 @@ public:
*/
void RequestTaskPanel (
const ::rtl::OUString& rsTaskPanelURL);
-
+
/** Process a slot call that requests a view shell change.
*/
void HandleModeChangeSlot (
@@ -252,7 +252,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,
@@ -268,7 +268,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.
@@ -309,7 +309,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.
*/
@@ -352,7 +352,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 f5b309760c4a..03a507a59a5a 100644
--- a/sd/source/ui/inc/framework/ImpressModule.hxx
+++ b/sd/source/ui/inc/framework/ImpressModule.hxx
@@ -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/ModuleController.hxx b/sd/source/ui/inc/framework/ModuleController.hxx
index 4e9517500abc..9c85c8dc3e10 100644
--- a/sd/source/ui/inc/framework/ModuleController.hxx
+++ b/sd/source/ui/inc/framework/ModuleController.hxx
@@ -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
@@ -75,7 +75,7 @@ namespace sd { namespace framework {
*/
class ModuleController
: private sd::MutexOwner,
- public ModuleControllerInterfaceBase
+ public ModuleControllerInterfaceBase
{
public:
static css::uno::Reference<
@@ -86,15 +86,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);
@@ -107,14 +107,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
@@ -125,7 +125,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 f12f0ca118f0..d3a65ba6a097 100644
--- a/sd/source/ui/inc/framework/Pane.hxx
+++ b/sd/source/ui/inc/framework/Pane.hxx
@@ -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 @@ 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
@@ -90,7 +90,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
@@ -98,7 +98,7 @@ public:
*/
virtual ::Window* GetWindow (void);
-
+
//----- XPane -------------------------------------------------------------
/** For a UNO API based implementation of a view this may the most
@@ -115,7 +115,7 @@ public:
//----- XPane2 -------------------------------------------------------------
-
+
virtual sal_Bool SAL_CALL isVisible (void)
throw (cssu::RuntimeException);
@@ -131,7 +131,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);
@@ -142,7 +142,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 a607542f2df0..e63edf88a451 100755
--- a/sd/source/ui/inc/framework/PresentationFactory.hxx
+++ b/sd/source/ui/inc/framework/PresentationFactory.hxx
@@ -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 @@ namespace sd { namespace framework {
*/
class PresentationFactory
: private sd::MutexOwner,
- public PresentationFactoryInterfaceBase
+ public PresentationFactoryInterfaceBase
{
public:
static const ::rtl::OUString msPresentationViewURL;
@@ -72,10 +72,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>
@@ -97,7 +97,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 ac96f9c44b2e..350019acce6b 100644
--- a/sd/source/ui/inc/framework/PresentationModule.hxx
+++ b/sd/source/ui/inc/framework/PresentationModule.hxx
@@ -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/ResourceId.hxx b/sd/source/ui/inc/framework/ResourceId.hxx
index e8124e895ee6..30db09834654 100755
--- a/sd/source/ui/inc/framework/ResourceId.hxx
+++ b/sd/source/ui/inc/framework/ResourceId.hxx
@@ -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
@@ -124,7 +124,7 @@ public:
URLs.
*/
const ::std::vector<rtl::OUString>& GetResourceURLs (void) const;
-
+
//===== XResourceId =======================================================
virtual ::rtl::OUString SAL_CALL
@@ -163,7 +163,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 12483f462d5e..376219ff5501 100755
--- a/sd/source/ui/inc/framework/ViewShellWrapper.hxx
+++ b/sd/source/ui/inc/framework/ViewShellWrapper.hxx
@@ -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
@@ -78,7 +78,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);
@@ -103,7 +103,7 @@ public:
virtual sal_Bool SAL_CALL isAnchorOnly (void)
throw (com::sun::star::uno::RuntimeException);
-
+
// XRelocatableResource
virtual sal_Bool SAL_CALL relocateToAnchor (
@@ -117,15 +117,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 f109f4792ad2..4ced2de1b021 100644
--- a/sd/source/ui/inc/fuarea.hxx
+++ b/sd/source/ui/inc/fuarea.hxx
@@ -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,10 +44,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 d01b9f7fe86e..b72224d20d97 100644
--- a/sd/source/ui/inc/fubullet.hxx
+++ b/sd/source/ui/inc/fubullet.hxx
@@ -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
@@ -49,8 +49,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 a207603ec270..03ec4a0b6631 100644
--- a/sd/source/ui/inc/fuchar.hxx
+++ b/sd/source/ui/inc/fuchar.hxx
@@ -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 @@
namespace sd {
-class FuChar
+class FuChar
: public FuPoor
{
public:
@@ -47,10 +47,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 cb1f17d4131d..6ebadded4db1 100644
--- a/sd/source/ui/inc/fucon3d.hxx
+++ b/sd/source/ui/inc/fucon3d.hxx
@@ -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
@@ -52,17 +52,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 24cf0d46e85f..fa82113ed301 100644
--- a/sd/source/ui/inc/fuconarc.hxx
+++ b/sd/source/ui/inc/fuconarc.hxx
@@ -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,7 +33,7 @@
namespace sd {
-class FuConstructArc
+class FuConstructArc
: public FuConstruct
{
public:
@@ -48,17 +48,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 0bf18a20a5da..8ee8fccb9f3c 100644
--- a/sd/source/ui/inc/fuconbez.hxx
+++ b/sd/source/ui/inc/fuconbez.hxx
@@ -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,7 +40,7 @@ class DrawViewShell;
class Window;
-class FuConstructBezierPolygon
+class FuConstructBezierPolygon
: public FuConstruct
{
public:
@@ -55,8 +55,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();
@@ -68,15 +68,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 da96a4d1ddfd..02ec69ab6c0c 100644
--- a/sd/source/ui/inc/fuconcs.hxx
+++ b/sd/source/ui/inc/fuconcs.hxx
@@ -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
@@ -59,7 +59,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 );
@@ -71,9 +71,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 623c1dd9432b..ef8e5ffa503b 100644
--- a/sd/source/ui/inc/fuconnct.hxx
+++ b/sd/source/ui/inc/fuconnct.hxx
@@ -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 @@
namespace sd {
-class FuConnectionDlg
+class FuConnectionDlg
: public FuPoor
{
public:
@@ -44,10 +44,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 3c2846c47037..9798aec447a9 100644
--- a/sd/source/ui/inc/fuconrec.hxx
+++ b/sd/source/ui/inc/fuconrec.hxx
@@ -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,7 +44,7 @@ namespace sd {
|*
\************************************************************************/
-class FuConstructRectangle
+class FuConstructRectangle
: public FuConstruct
{
public:
@@ -59,8 +59,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);
@@ -70,9 +70,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 390060a16e3c..99e0fd20b372 100755
--- a/sd/source/ui/inc/fuconstr.hxx
+++ b/sd/source/ui/inc/fuconstr.hxx
@@ -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,7 +42,7 @@ namespace sd {
|*
\************************************************************************/
-class FuConstruct
+class FuConstruct
: public FuDraw
{
public:
@@ -51,15 +51,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; }
@@ -73,10 +73,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;
@@ -84,4 +84,4 @@ protected:
} // end of namespace sd
-#endif // _SD_FUCONSTR_HXX
+#endif // _SD_FUCONSTR_HXX
diff --git a/sd/source/ui/inc/fuconuno.hxx b/sd/source/ui/inc/fuconuno.hxx
index be7e83065bc0..d014577538e5 100644
--- a/sd/source/ui/inc/fuconuno.hxx
+++ b/sd/source/ui/inc/fuconuno.hxx
@@ -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
@@ -39,7 +39,7 @@ namespace sd {
|*
\************************************************************************/
-class FuConstructUnoControl
+class FuConstructUnoControl
: public FuConstruct
{
public:
@@ -54,21 +54,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 eb9565f02ff6..ac9b76331b5c 100644
--- a/sd/source/ui/inc/fucopy.hxx
+++ b/sd/source/ui/inc/fucopy.hxx
@@ -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 @@
namespace sd {
-class FuCopy
+class FuCopy
: public FuPoor
{
public:
@@ -44,10 +44,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 54c7596bfbc0..3681a83c5fe1 100644
--- a/sd/source/ui/inc/fucushow.hxx
+++ b/sd/source/ui/inc/fucushow.hxx
@@ -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 @@
namespace sd {
-class FuCustomShowDlg
+class FuCustomShowDlg
: public FuPoor
{
public:
@@ -43,10 +43,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 23f68eda327b..ed91048acf76 100755
--- a/sd/source/ui/inc/fudraw.hxx
+++ b/sd/source/ui/inc/fudraw.hxx
@@ -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,7 +44,7 @@ namespace sd {
|*
\************************************************************************/
-class FuDraw
+class FuDraw
: public FuPoor
{
public:
@@ -66,7 +66,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; }
@@ -80,23 +80,23 @@ 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
diff --git a/sd/source/ui/inc/fudspord.hxx b/sd/source/ui/inc/fudspord.hxx
index 9ef00c2b7335..13cf7755c84b 100644
--- a/sd/source/ui/inc/fudspord.hxx
+++ b/sd/source/ui/inc/fudspord.hxx
@@ -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
@@ -43,7 +43,7 @@ namespace sd {
|*
\************************************************************************/
-class FuDisplayOrder
+class FuDisplayOrder
: public FuPoor
{
public:
@@ -56,27 +56,27 @@ 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
diff --git a/sd/source/ui/inc/fuediglu.hxx b/sd/source/ui/inc/fuediglu.hxx
index badf58a1d631..81e3a6bbacfe 100644
--- a/sd/source/ui/inc/fuediglu.hxx
+++ b/sd/source/ui/inc/fuediglu.hxx
@@ -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,12 +38,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 );
@@ -55,15 +55,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 9e732efb4c2b..651f28f01017 100644
--- a/sd/source/ui/inc/fuexpand.hxx
+++ b/sd/source/ui/inc/fuexpand.hxx
@@ -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 @@
namespace sd {
-class FuExpandPage
+class FuExpandPage
: public FuPoor
{
public:
@@ -43,10 +43,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 3e2524c98a2f..85e13c157c77 100644
--- a/sd/source/ui/inc/fuformatpaintbrush.hxx
+++ b/sd/source/ui/inc/fuformatpaintbrush.hxx
@@ -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
@@ -60,12 +60,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 fa3834a81281..547f16610cf9 100644
--- a/sd/source/ui/inc/fugrid.hxx
+++ b/sd/source/ui/inc/fugrid.hxx
@@ -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 @@
namespace sd {
-class FuGrid
+class FuGrid
: public FuPoor
{
public:
@@ -45,10 +45,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 6f8f9365ed1d..cf4c9f5bb5cf 100644
--- a/sd/source/ui/inc/fuhhconv.hxx
+++ b/sd/source/ui/inc/fuhhconv.hxx
@@ -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,7 +44,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();
@@ -56,15 +56,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 e783c69b314b..1cdc88047018 100644
--- a/sd/source/ui/inc/fuinsert.hxx
+++ b/sd/source/ui/inc/fuinsert.hxx
@@ -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 @@
namespace sd {
-class FuInsertGraphic
+class FuInsertGraphic
: public FuPoor
{
public:
@@ -44,17 +44,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:
@@ -65,17 +65,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:
@@ -86,10 +86,10 @@ class FuInsertOLE
private:
FuInsertOLE (
- ViewShell* pViewSh,
+ ViewShell* pViewSh,
::sd::Window* pWin,
::sd::View* pView,
- SdDrawDocument* pDoc,
+ SdDrawDocument* pDoc,
SfxRequest& rReq);
};
@@ -106,10 +106,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 b9f5589c5d2f..8a24382777bd 100644
--- a/sd/source/ui/inc/fuinsfil.hxx
+++ b/sd/source/ui/inc/fuinsfil.hxx
@@ -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 @@ struct StyleRequestData;
namespace sd {
-class FuInsertFile
+class FuInsertFile
: public FuPoor
{
public:
@@ -49,15 +49,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 32fd95a6f326..35ab1d32bbd7 100644
--- a/sd/source/ui/inc/fuline.hxx
+++ b/sd/source/ui/inc/fuline.hxx
@@ -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 @@
namespace sd {
-class FuLine
+class FuLine
: public FuPoor
{
public:
@@ -47,10 +47,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 da8df27f5e0d..0aab63ee779e 100644
--- a/sd/source/ui/inc/fulinend.hxx
+++ b/sd/source/ui/inc/fulinend.hxx
@@ -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 @@
namespace sd {
-class FuLineEnd
+class FuLineEnd
: public FuPoor
{
public:
@@ -47,10 +47,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 feea6e9d63c1..70a8cc1c689f 100644
--- a/sd/source/ui/inc/fulink.hxx
+++ b/sd/source/ui/inc/fulink.hxx
@@ -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 @@
namespace sd {
-class FuLink
+class FuLink
: public FuPoor
{
public:
@@ -44,10 +44,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 e5a42d03731d..88697d163d6d 100644
--- a/sd/source/ui/inc/fumeasur.hxx
+++ b/sd/source/ui/inc/fumeasur.hxx
@@ -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 @@
namespace sd {
-class FuMeasureDlg
+class FuMeasureDlg
: public FuPoor
{
public:
@@ -44,10 +44,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 754fc81b1c92..7864dc10e994 100644
--- a/sd/source/ui/inc/fumorph.hxx
+++ b/sd/source/ui/inc/fumorph.hxx
@@ -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,15 +36,15 @@
|*
\************************************************************************/
class List;
-namespace basegfx {
+namespace basegfx {
class B2DPolyPolygon;
class B2DPolygon;
- class B2DPoint;
+ class B2DPoint;
}
namespace sd {
-class FuMorph
+class FuMorph
: public FuPoor
{
public:
@@ -55,16 +55,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 9d015727bc07..33628b0624c0 100644
--- a/sd/source/ui/inc/fuoaprms.hxx
+++ b/sd/source/ui/inc/fuoaprms.hxx
@@ -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 @@
namespace sd {
-class FuObjectAnimationParameters
+class FuObjectAnimationParameters
: public FuPoor
{
public:
@@ -46,7 +46,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 31ec06307ac0..720bfefe6d9c 100644
--- a/sd/source/ui/inc/fuolbull.hxx
+++ b/sd/source/ui/inc/fuolbull.hxx
@@ -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
@@ -45,7 +45,7 @@ class Window;
|*
\************************************************************************/
-class FuOutlineBullet
+class FuOutlineBullet
: public FuPoor
{
public:
@@ -56,10 +56,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 0a97767cedba..2310e97bd322 100644
--- a/sd/source/ui/inc/fuoltext.hxx
+++ b/sd/source/ui/inc/fuoltext.hxx
@@ -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,7 +44,7 @@ class Window;
|* Textfunktionen im Outlinermodus
|*
\************************************************************************/
-class FuOutlineText
+class FuOutlineText
: public FuOutline
{
public:
@@ -61,8 +61,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
@@ -72,10 +72,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 92299387849a..49dcd01fe232 100755
--- a/sd/source/ui/inc/fuoutl.hxx
+++ b/sd/source/ui/inc/fuoutl.hxx
@@ -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
@@ -48,7 +48,7 @@ class Window;
|*
\************************************************************************/
-class FuOutline
+class FuOutline
: public FuPoor
{
public:
@@ -61,10 +61,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 a0cd7b4d2e0a..3be210876a77 100755
--- a/sd/source/ui/inc/fupage.hxx
+++ b/sd/source/ui/inc/fupage.hxx
@@ -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,7 +37,7 @@ class SdPage;
namespace sd {
class DrawViewShell;
-class FuPage
+class FuPage
: public FuPoor
{
public:
@@ -46,8 +46,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 );
@@ -56,23 +56,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 0e61aaff28c8..9ef9854468c8 100644
--- a/sd/source/ui/inc/fuparagr.hxx
+++ b/sd/source/ui/inc/fuparagr.hxx
@@ -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 @@
namespace sd {
-class FuParagraph
+class FuParagraph
: public FuPoor
{
public:
@@ -46,10 +46,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 2650e99767b5..28d413bb6807 100755
--- a/sd/source/ui/inc/fupoor.hxx
+++ b/sd/source/ui/inc/fupoor.hxx
@@ -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
@@ -60,8 +60,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();
@@ -85,27 +85,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 ();
@@ -136,10 +136,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);
@@ -151,7 +151,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>
@@ -171,36 +171,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;
};
@@ -208,5 +208,5 @@ typedef rtl::Reference< FuPoor > FunctionReference;
} // end of namespace sd
-#endif // _SD_FUPOOR_HXX
+#endif // _SD_FUPOOR_HXX
diff --git a/sd/source/ui/inc/fuprlout.hxx b/sd/source/ui/inc/fuprlout.hxx
index 9eb092a5bfa3..a2a3fa253a1e 100644
--- a/sd/source/ui/inc/fuprlout.hxx
+++ b/sd/source/ui/inc/fuprlout.hxx
@@ -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,7 +40,7 @@ class View;
class ViewShell;
class Window;
-class FuPresentationLayout
+class FuPresentationLayout
: public FuPoor
{
public:
@@ -51,10 +51,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 8cb706683d43..1e9f1b201fa9 100644
--- a/sd/source/ui/inc/fuprobjs.hxx
+++ b/sd/source/ui/inc/fuprobjs.hxx
@@ -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,7 +40,7 @@ class ViewShell;
class Window;
-class FuPresentationObjects
+class FuPresentationObjects
: public FuPoor
{
public:
@@ -51,10 +51,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 f6355b04ebb7..973dee7d4c57 100644
--- a/sd/source/ui/inc/fuscale.hxx
+++ b/sd/source/ui/inc/fuscale.hxx
@@ -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 @@
namespace sd {
-class FuScale
+class FuScale
: public FuPoor
{
public:
@@ -43,10 +43,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 fdba497f262c..ff625592f099 100644
--- a/sd/source/ui/inc/fusearch.hxx
+++ b/sd/source/ui/inc/fusearch.hxx
@@ -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 @@ namespace sd {
class Outliner;
-class FuSearch
+class FuSearch
: public FuPoor
{
public:
@@ -58,9 +58,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 c1e43c2467e9..ecf2a88d7357 100644
--- a/sd/source/ui/inc/fusel.hxx
+++ b/sd/source/ui/inc/fusel.hxx
@@ -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
@@ -39,7 +39,7 @@ class Sound;
namespace sd {
-class FuSelection
+class FuSelection
: public FuDraw
{
public:
@@ -54,15 +54,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
@@ -73,15 +73,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;
@@ -108,5 +108,5 @@ private:
} // end of namespace sd
-#endif // _SD_FUSEL_HXX
+#endif // _SD_FUSEL_HXX
diff --git a/sd/source/ui/inc/fusldlg.hxx b/sd/source/ui/inc/fusldlg.hxx
index 239f950c1108..72e9d6e89e21 100644
--- a/sd/source/ui/inc/fusldlg.hxx
+++ b/sd/source/ui/inc/fusldlg.hxx
@@ -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 @@
namespace sd {
-class FuSlideShowDlg
+class FuSlideShowDlg
: public FuPoor
{
public:
@@ -43,10 +43,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 4858696e41b1..8a1ebc74ca7d 100644
--- a/sd/source/ui/inc/fuslhide.hxx
+++ b/sd/source/ui/inc/fuslhide.hxx
@@ -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,7 +38,7 @@ namespace sd {
|*
\************************************************************************/
-class FuSlideHide
+class FuSlideHide
: public FuSlide
{
public:
@@ -49,10 +49,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 a6de8d720411..671afe72169e 100644
--- a/sd/source/ui/inc/fuslid.hxx
+++ b/sd/source/ui/inc/fuslid.hxx
@@ -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
@@ -45,7 +45,7 @@ class Window;
|*
\************************************************************************/
-class FuSlide
+class FuSlide
: public FuPoor
{
public:
@@ -62,14 +62,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 2890f3faf98a..afc806b7fc5b 100644
--- a/sd/source/ui/inc/fuslsel.hxx
+++ b/sd/source/ui/inc/fuslsel.hxx
@@ -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,12 +42,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:
@@ -62,13 +62,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>
@@ -81,23 +81,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 cc5efaba990c..383988f4a8cb 100644
--- a/sd/source/ui/inc/fusnapln.hxx
+++ b/sd/source/ui/inc/fusnapln.hxx
@@ -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 @@
namespace sd {
-class FuSnapLine
+class FuSnapLine
: public FuPoor
{
public:
@@ -46,10 +46,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 6515977026c6..f9a7a5572bcc 100644
--- a/sd/source/ui/inc/fusumry.hxx
+++ b/sd/source/ui/inc/fusumry.hxx
@@ -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 @@
namespace sd {
-class FuSummaryPage
+class FuSummaryPage
: public FuPoor
{
public:
@@ -43,10 +43,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 40bf5936cda3..8f9a44e09ee3 100644
--- a/sd/source/ui/inc/futempl.hxx
+++ b/sd/source/ui/inc/futempl.hxx
@@ -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 @@
namespace sd {
-class FuTemplate
+class FuTemplate
: public FuPoor
{
public:
@@ -46,10 +46,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 052f4099ef21..a8096293305a 100644
--- a/sd/source/ui/inc/futext.hxx
+++ b/sd/source/ui/inc/futext.hxx
@@ -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
@@ -48,7 +48,7 @@ namespace sd {
|*
\************************************************************************/
-class FuText
+class FuText
: public FuConstruct
{
public:
@@ -66,11 +66,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* );
@@ -89,19 +89,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 07aadf386b05..e243898ed62f 100644
--- a/sd/source/ui/inc/futhes.hxx
+++ b/sd/source/ui/inc/futhes.hxx
@@ -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 @@
namespace sd {
-class FuThesaurus
+class FuThesaurus
: public FuPoor
{
public:
@@ -43,10 +43,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 85041334c7f0..9fe7c37eefba 100755
--- a/sd/source/ui/inc/futransf.hxx
+++ b/sd/source/ui/inc/futransf.hxx
@@ -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 @@
namespace sd {
-class FuTransform
+class FuTransform
: public FuPoor
{
public:
@@ -46,10 +46,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 f766d32d048d..ea1cc6f6ff10 100644
--- a/sd/source/ui/inc/futxtatt.hxx
+++ b/sd/source/ui/inc/futxtatt.hxx
@@ -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 @@
namespace sd {
-class FuTextAttrDlg
+class FuTextAttrDlg
: public FuPoor
{
public:
@@ -43,10 +43,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 406bea288bea..fef49d813681 100644
--- a/sd/source/ui/inc/fuvect.hxx
+++ b/sd/source/ui/inc/fuvect.hxx
@@ -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 @@
namespace sd {
-class FuVectorize
+class FuVectorize
: public FuPoor
{
public:
@@ -44,10 +44,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 31d465646a96..7730c7573f24 100644
--- a/sd/source/ui/inc/fuzoom.hxx
+++ b/sd/source/ui/inc/fuzoom.hxx
@@ -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,39 +37,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 8f8b0609304a..a0a427ae3939 100644
--- a/sd/source/ui/inc/gluectrl.hxx
+++ b/sd/source/ui/inc/gluectrl.hxx
@@ -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
@@ -41,13 +41,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();
};
/*************************************************************************
@@ -59,12 +59,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 fa0c4d9282c0..fedd33d5c830 100755
--- a/sd/source/ui/inc/headerfooterdlg.hxx
+++ b/sd/source/ui/inc/headerfooterdlg.hxx
@@ -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
@@ -52,18 +52,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 6feab297f0e4..338faac2922d 100644
--- a/sd/source/ui/inc/ins_paste.hxx
+++ b/sd/source/ui/inc/ins_paste.hxx
@@ -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,16 +44,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 3f8046462df7..fa9ae4064dec 100644
--- a/sd/source/ui/inc/inspagob.hxx
+++ b/sd/source/ui/inc/inspagob.hxx
@@ -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
@@ -41,18 +41,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:
@@ -62,9 +62,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 a2aefd9e6f2a..81b7f86d9452 100644
--- a/sd/source/ui/inc/layeroptionsdlg.hxx
+++ b/sd/source/ui/inc/layeroptionsdlg.hxx
@@ -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,26 +42,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 a7b5908367fc..609d2535389e 100644
--- a/sd/source/ui/inc/masterlayoutdlg.hxx
+++ b/sd/source/ui/inc/masterlayoutdlg.hxx
@@ -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,22 +44,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 90682ce9d3f1..ad484884b507 100644
--- a/sd/source/ui/inc/morphdlg.hxx
+++ b/sd/source/ui/inc/morphdlg.hxx
@@ -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,34 +44,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 aa5feddd4c23..651eac3bdaa0 100644
--- a/sd/source/ui/inc/navigatr.hxx
+++ b/sd/source/ui/inc/navigatr.hxx
@@ -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,24 +37,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 {
@@ -73,16 +73,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;
};
@@ -99,19 +99,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:
@@ -119,32 +119,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 * );
@@ -156,9 +156,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 5a2644bd186a..5e7a94745a94 100644
--- a/sd/source/ui/inc/optdlg.hxx
+++ b/sd/source/ui/inc/optdlg.hxx
@@ -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,7 +37,7 @@ class SfxItemSet;
class SdOptionsDlg : public SfxTabDialog
{
private:
- DocumentType meDocType;
+ DocumentType meDocType;
public:
SdOptionsDlg( Window* pParent, const SfxItemSet& rInAttrs,
@@ -46,8 +46,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 13088dfc64cb..034358530765 100755
--- a/sd/source/ui/inc/optsitem.hxx
+++ b/sd/source/ui/inc/optsitem.hxx
@@ -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,16 +40,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 -
@@ -73,22 +73,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();
};
// --------------------
@@ -101,40 +101,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();
};
// -------------------
@@ -145,13 +145,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:
@@ -163,40 +163,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;
};
@@ -219,7 +219,7 @@ public:
SdOptionsContents( USHORT nConfigId, BOOL bUseConfig );
virtual ~SdOptionsContents() {}
- BOOL operator==( const SdOptionsContents& rOpt ) const;
+ BOOL operator==( const SdOptionsContents& rOpt ) const;
};
// -----------------------------------------------------------------------------
@@ -230,14 +230,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;
};
// -----------------
@@ -249,42 +249,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:
@@ -298,76 +298,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; } }
@@ -382,15 +382,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;
};
// -----------------
@@ -401,16 +401,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:
@@ -419,33 +419,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; } }
};
// -----------------------------------------------------------------------------
@@ -457,14 +457,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;
};
// -----------------
@@ -475,8 +475,8 @@ class SdOptionsZoom : public SdOptionsGeneric
{
private:
- INT32 nX; // Zoom/ScaleX
- INT32 nY; // Zoom/ScaleY
+ INT32 nX; // Zoom/ScaleX
+ INT32 nY; // Zoom/ScaleY
protected:
@@ -485,14 +485,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; } }
};
// -----------------------------------------------------------------------------
@@ -514,30 +514,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 ); } }
};
// -----------------------------------------------
@@ -548,7 +548,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;
};
// ------------------
@@ -559,27 +559,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:
@@ -588,55 +588,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; } }
};
// -----------------------------------------------------------------------------
@@ -644,19 +644,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;
};
// -------------
@@ -666,14 +666,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 254294833eaf..89333d8d787f 100644
--- a/sd/source/ui/inc/paragr.hxx
+++ b/sd/source/ui/inc/paragr.hxx
@@ -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
@@ -41,7 +41,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 a900c89aadc0..ba8821a6cc15 100644
--- a/sd/source/ui/inc/pgjump.hxx
+++ b/sd/source/ui/inc/pgjump.hxx
@@ -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/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 8350bc114de5..bb26c2c03532 100644
--- a/sd/source/ui/inc/present.hxx
+++ b/sd/source/ui/inc/present.hxx
@@ -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
@@ -56,50 +56,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,
@@ -107,7 +107,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 33a7df247c7e..a705914ed532 100644
--- a/sd/source/ui/inc/prltempl.hxx
+++ b/sd/source/ui/inc/prltempl.hxx
@@ -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
@@ -56,29 +56,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 da9bc20c02d6..31ac861f6727 100755
--- a/sd/source/ui/inc/prntopts.hxx
+++ b/sd/source/ui/inc/prntopts.hxx
@@ -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,34 +54,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 * );
@@ -93,13 +93,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 dbdddfd5d112..e958958e5b0c 100644
--- a/sd/source/ui/inc/pubdlg.hxx
+++ b/sd/source/ui/inc/pubdlg.hxx
@@ -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
@@ -53,7 +53,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;
@@ -77,115 +77,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();
@@ -194,19 +194,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 1602dc698f3f..c8dd81d98d59 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,302 +40,302 @@
#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
/*
* 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 407d63ac4c8c..f6160bd30e0a 100644
--- a/sd/source/ui/inc/sdpopup.hxx
+++ b/sd/source/ui/inc/sdpopup.hxx
@@ -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
@@ -43,19 +43,19 @@ 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
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 d3f2f5039526..ee299ce6c563 100644
--- a/sd/source/ui/inc/sdpreslt.hxx
+++ b/sd/source/ui/inc/sdpreslt.hxx
@@ -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,13 +44,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);
@@ -63,26 +63,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 dc98929a9ed1..4848c32a4509 100755
--- a/sd/source/ui/inc/sdtreelb.hxx
+++ b/sd/source/ui/inc/sdtreelb.hxx
@@ -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
@@ -67,7 +67,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:
@@ -76,15 +76,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
@@ -92,24 +92,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 );
};
@@ -128,35 +128,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
@@ -174,7 +174,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
@@ -185,37 +185,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:
@@ -268,4 +268,4 @@ private:
SdrObject& rObject) const;
};
-#endif // _SDTREELB_HXX
+#endif // _SDTREELB_HXX
diff --git a/sd/source/ui/inc/sdundogr.hxx b/sd/source/ui/inc/sdundogr.hxx
index f02977234475..436b9616fec1 100755
--- a/sd/source/ui/inc/sdundogr.hxx
+++ b/sd/source/ui/inc/sdundogr.hxx
@@ -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,22 +34,22 @@
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
diff --git a/sd/source/ui/inc/sdxfer.hxx b/sd/source/ui/inc/sdxfer.hxx
index d79e5d653ab4..d54aa00c9b4c 100644
--- a/sd/source/ui/inc/sdxfer.hxx
+++ b/sd/source/ui/inc/sdxfer.hxx
@@ -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
@@ -59,79 +59,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 eda80feeb825..ac56511ead5c 100755
--- a/sd/source/ui/inc/slideshow.hxx
+++ b/sd/source/ui/inc/slideshow.hxx
@@ -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,7 +44,7 @@
#include <boost/shared_ptr.hpp>
namespace com { namespace sun { namespace star {
-
+
namespace drawing {
class XDrawPage;
}
@@ -64,10 +64,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 */
@@ -122,7 +122,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 );
@@ -157,10 +157,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 !!!!*/
@@ -168,11 +168,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();
@@ -185,7 +185,7 @@ public:
void paint( const Rectangle& rRect );
bool keyInput(const KeyEvent& rKEvt);
-
+
void receiveRequest(SfxRequest& rReq);
bool dependsOn( ViewShellBase* pViewShellBase );
@@ -209,7 +209,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
@@ -224,7 +224,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 15544c2b5221..821521555894 100755
--- a/sd/source/ui/inc/smarttag.hxx
+++ b/sd/source/ui/inc/smarttag.hxx
@@ -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 @@ 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 );
@@ -93,8 +93,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;
@@ -120,7 +120,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 );
@@ -150,8 +150,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 );
@@ -184,5 +184,5 @@ protected:
} // end of namespace sd
-#endif // _SD_SMARTTAG_HXX_
+#endif // _SD_SMARTTAG_HXX_
diff --git a/sd/source/ui/inc/sprite.hxx b/sd/source/ui/inc/sprite.hxx
index 782e4ed0fb4a..50f7dd369dee 100644
--- a/sd/source/ui/inc/sprite.hxx
+++ b/sd/source/ui/inc/sprite.hxx
@@ -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
@@ -50,36 +50,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 d9dc93a1ef20..41b27b4b812c 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,62 +28,62 @@
#ifndef _SD_CFGID_HXX
#include "cfgids.hxx"
#endif
-#define STR_DEFAULTVIEW (RID_APP_START)
-#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_DEFAULTVIEW (RID_APP_START)
+#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)
@@ -92,218 +92,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)
@@ -313,171 +313,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)
@@ -492,21 +492,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 b96231dd3969..6a10797d2757 100644
--- a/sd/source/ui/inc/tabtempl.hxx
+++ b/sd/source/ui/inc/tabtempl.hxx
@@ -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
@@ -50,26 +50,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 9c1652f05887..62cf548d26fa 100755
--- a/sd/source/ui/inc/taskpane/ControlContainer.hxx
+++ b/sd/source/ui/inc/taskpane/ControlContainer.hxx
@@ -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/taskpane/ILayoutableWindow.hxx b/sd/source/ui/inc/taskpane/ILayoutableWindow.hxx
index 5aad9fa29f78..67f2986b7d67 100755
--- a/sd/source/ui/inc/taskpane/ILayoutableWindow.hxx
+++ b/sd/source/ui/inc/taskpane/ILayoutableWindow.hxx
@@ -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
@@ -48,7 +48,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
{
@@ -79,10 +79,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
@@ -92,7 +92,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 565745f97140..16f861ebc7bb 100644
--- a/sd/source/ui/inc/taskpane/PanelId.hxx
+++ b/sd/source/ui/inc/taskpane/PanelId.hxx
@@ -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
diff --git a/sd/source/ui/inc/taskpane/ScrollPanel.hxx b/sd/source/ui/inc/taskpane/ScrollPanel.hxx
index f820edc69f09..4bc94197a58f 100755
--- a/sd/source/ui/inc/taskpane/ScrollPanel.hxx
+++ b/sd/source/ui/inc/taskpane/ScrollPanel.hxx
@@ -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
@@ -78,7 +78,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);
@@ -125,7 +125,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 933a25f4067d..8511e4a793c7 100755
--- a/sd/source/ui/inc/taskpane/SlideSorterCacheDisplay.hxx
+++ b/sd/source/ui/inc/taskpane/SlideSorterCacheDisplay.hxx
@@ -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
@@ -71,7 +71,7 @@ public:
virtual void Resize (void);
static SlideSorterCacheDisplay* Instance (const SdDrawDocument* pDocument);
-
+
void SetPageCount (sal_Int32 nPageCount);
enum PageStatus {
NONE,
@@ -191,10 +191,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 669c51cfcfad..19a6da2f1dc7 100755
--- a/sd/source/ui/inc/taskpane/SubToolPanel.hxx
+++ b/sd/source/ui/inc/taskpane/SubToolPanel.hxx
@@ -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/taskpane/TaskPaneControlFactory.hxx b/sd/source/ui/inc/taskpane/TaskPaneControlFactory.hxx
index c86c496a770d..6d16c01578c8 100755
--- a/sd/source/ui/inc/taskpane/TaskPaneControlFactory.hxx
+++ b/sd/source/ui/inc/taskpane/TaskPaneControlFactory.hxx
@@ -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/taskpane/TaskPaneTreeNode.hxx b/sd/source/ui/inc/taskpane/TaskPaneTreeNode.hxx
index a1a430c49328..0ac37bbf12ca 100755
--- a/sd/source/ui/inc/taskpane/TaskPaneTreeNode.hxx
+++ b/sd/source/ui/inc/taskpane/TaskPaneTreeNode.hxx
@@ -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
@@ -83,7 +83,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/>
*/
@@ -93,7 +93,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.
@@ -156,7 +156,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 (
@@ -179,7 +179,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 995117516529..03ff4d6f8002 100755
--- a/sd/source/ui/inc/taskpane/TitleBar.hxx
+++ b/sd/source/ui/inc/taskpane/TitleBar.hxx
@@ -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/taskpane/TitledControl.hxx b/sd/source/ui/inc/taskpane/TitledControl.hxx
index cb7cd3b2159c..63513333185f 100755
--- a/sd/source/ui/inc/taskpane/TitledControl.hxx
+++ b/sd/source/ui/inc/taskpane/TitledControl.hxx
@@ -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
@@ -55,7 +55,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.
@@ -70,11 +70,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);
@@ -147,7 +147,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 5bd0cd877803..b510a33f9988 100644
--- a/sd/source/ui/inc/taskpane/ToolPanelViewShell.hxx
+++ b/sd/source/ui/inc/taskpane/ToolPanelViewShell.hxx
@@ -1,7 +1,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
@@ -75,7 +75,7 @@ public:
SFX_DECL_INTERFACE(SD_IF_SDTOOLPANELSHELL)
ToolPanelViewShell (
- SfxViewFrame* pFrame,
+ SfxViewFrame* pFrame,
ViewShellBase& rViewShellBase,
::Window* pParentWindow,
FrameView* pFrameView);
@@ -92,8 +92,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 e8c3b93a7fa2..43cb90870d62 100644
--- a/sd/source/ui/inc/tbx_ww.hxx
+++ b/sd/source/ui/inc/tbx_ww.hxx
@@ -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,11 +38,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 * );
@@ -55,8 +55,8 @@ public:
virtual void PopupModeEnd();
- void StartSelection() { aTbx.GetToolBox().StartSelection(); }
- void Update();
+ void StartSelection() { aTbx.GetToolBox().StartSelection(); }
+ void Update();
private:
@@ -71,7 +71,7 @@ private:
class SdTbxControl : public SfxToolBoxControl
{
private:
- BOOL IsCheckable( USHORT nSId );
+ BOOL IsCheckable( USHORT nSId );
public:
SFX_DECL_TOOLBOX_CONTROL();
@@ -79,11 +79,11 @@ 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
diff --git a/sd/source/ui/inc/tmplctrl.hxx b/sd/source/ui/inc/tmplctrl.hxx
index 6a85b0f7b4fb..0b96004d94ec 100644
--- a/sd/source/ui/inc/tmplctrl.hxx
+++ b/sd/source/ui/inc/tmplctrl.hxx
@@ -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 @@ 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 e123afaa06fe..705057ffac33 100644
--- a/sd/source/ui/inc/tools/AsynchronousCall.hxx
+++ b/sd/source/ui/inc/tools/AsynchronousCall.hxx
@@ -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,8 +42,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(
@@ -58,7 +58,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 f3135d3fcce7..cb0e60719d6c 100644
--- a/sd/source/ui/inc/tools/AsynchronousTask.hxx
+++ b/sd/source/ui/inc/tools/AsynchronousTask.hxx
@@ -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
@@ -27,7 +27,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 953012dfa668..64ff1d777d14 100644
--- a/sd/source/ui/inc/tools/ConfigurationAccess.hxx
+++ b/sd/source/ui/inc/tools/ConfigurationAccess.hxx
@@ -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
@@ -49,7 +49,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
@@ -105,7 +105,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 008e99639849..9edca8ee7eef 100644
--- a/sd/source/ui/inc/tools/IconCache.hxx
+++ b/sd/source/ui/inc/tools/IconCache.hxx
@@ -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,7 +47,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 3369dc1dd177..b300ad405364 100644
--- a/sd/source/ui/inc/tools/IdleDetection.hxx
+++ b/sd/source/ui/inc/tools/IdleDetection.hxx
@@ -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 <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 998b4f0e2142..f5a9a3060bd1 100755
--- a/sd/source/ui/inc/tools/PropertySet.hxx
+++ b/sd/source/ui/inc/tools/PropertySet.hxx
@@ -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
@@ -49,7 +49,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
@@ -67,7 +67,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)
@@ -76,12 +76,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 d0661a61636b..8541c2b6c139 100755
--- a/sd/source/ui/inc/tools/SdGlobalResourceContainer.hxx
+++ b/sd/source/ui/inc/tools/SdGlobalResourceContainer.hxx
@@ -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
@@ -73,7 +73,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 1f45aef331ab..ba9c3ea0f54f 100755
--- a/sd/source/ui/inc/tools/SlotStateListener.hxx
+++ b/sd/source/ui/inc/tools/SlotStateListener.hxx
@@ -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
@@ -43,7 +43,7 @@
namespace sd { namespace tools {
-typedef cppu::WeakComponentImplHelper1<
+typedef cppu::WeakComponentImplHelper1<
::com::sun::star::frame::XStatusListener
> SlotStateListenerInterfaceBase;
@@ -97,7 +97,7 @@ public:
@throws DisposedException
*/
void ObserveSlot (const ::rtl::OUString& rSlotName);
-
+
//===== frame::XStatusListener ==========================================
/** Called by slot state change broadcasters. In turn the callback is
@@ -112,7 +112,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:
@@ -150,7 +150,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 33ec3ccd9993..2157a485c490 100644
--- a/sd/source/ui/inc/tools/TimerBasedTaskExecution.hxx
+++ b/sd/source/ui/inc/tools/TimerBasedTaskExecution.hxx
@@ -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
@@ -39,7 +39,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.
@@ -71,7 +71,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 2ee8bbe6771a..05622ca4a27f 100755
--- a/sd/source/ui/inc/tpaction.hxx
+++ b/sd/source/ui/inc/tpaction.hxx
@@ -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
@@ -56,7 +56,7 @@ class SdDrawDocument;
class SdActionDlg : public SfxSingleTabDialog
{
private:
- const SfxItemSet& rOutAttrs;
+ const SfxItemSet& rOutAttrs;
public:
@@ -73,31 +73,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;
//------------------------------------
@@ -107,15 +107,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 );
@@ -131,11 +131,11 @@ 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
diff --git a/sd/source/ui/inc/tpoption.hrc b/sd/source/ui/inc/tpoption.hrc
index caa1ca0f3812..b75726fa723e 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 e8e17f335a76..530ed6876471 100644
--- a/sd/source/ui/inc/tpoption.hxx
+++ b/sd/source/ui/inc/tpoption.hxx
@@ -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
@@ -59,7 +59,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 & );
@@ -76,16 +76,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 & );
};
@@ -118,7 +118,7 @@ private:
FixedText aTxtMetric;
ListBox aLbMetric;
FixedText aTxtTabstop;
- MetricField aMtrFldTabstop;
+ MetricField aMtrFldTabstop;
CheckBox aCbxStartWithActualPage;
FixedLine aGrpStartWithActualPage;
@@ -135,25 +135,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 * );
@@ -167,13 +167,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 & );
@@ -188,7 +188,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 d607182aa20e..b540581e725c 100644
--- a/sd/source/ui/inc/unchss.hxx
+++ b/sd/source/ui/inc/unchss.hxx
@@ -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/undoback.hxx b/sd/source/ui/inc/undoback.hxx
index ca62c6cae0b0..f1ad848d2c0e 100644
--- a/sd/source/ui/inc/undoback.hxx
+++ b/sd/source/ui/inc/undoback.hxx
@@ -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,15 +44,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 a61030b753f7..e884ad872dd4 100644
--- a/sd/source/ui/inc/undoheaderfooter.hxx
+++ b/sd/source/ui/inc/undoheaderfooter.hxx
@@ -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
@@ -41,8 +41,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();
@@ -53,5 +53,5 @@ public:
virtual void Redo();
};
-#endif // _SD_UNDOHEADERFOOTER_HXX
+#endif // _SD_UNDOHEADERFOOTER_HXX
diff --git a/sd/source/ui/inc/undolayer.hxx b/sd/source/ui/inc/undolayer.hxx
index 9abe2ee54c91..8ab83df18245 100644
--- a/sd/source/ui/inc/undolayer.hxx
+++ b/sd/source/ui/inc/undolayer.hxx
@@ -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,7 +37,7 @@ class SdrLayer;
class SdLayerModifyUndoAction : public SdUndoAction
{
-
+
public:
TYPEINFO();
SdLayerModifyUndoAction( SdDrawDocument* _pDoc, SdrLayer* pLayer,
@@ -63,5 +63,5 @@ private:
bool mbNewIsPrintable;
};
-#endif // _SD_UNDOLAYER_HXX
+#endif // _SD_UNDOLAYER_HXX
diff --git a/sd/source/ui/inc/undopage.hxx b/sd/source/ui/inc/undopage.hxx
index fc6a1770f6be..a854ec363057 100644
--- a/sd/source/ui/inc/undopage.hxx
+++ b/sd/source/ui/inc/undopage.hxx
@@ -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,45 +64,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),
@@ -120,12 +120,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();
@@ -133,11 +133,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();
@@ -149,12 +149,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();
@@ -162,11 +162,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();
@@ -176,5 +176,5 @@ public:
-#endif // _SD_UNDOPAGE_HXX
+#endif // _SD_UNDOPAGE_HXX
diff --git a/sd/source/ui/inc/unmodpg.hxx b/sd/source/ui/inc/unmodpg.hxx
index 185dc90b24bf..f4808d7b8da4 100644
--- a/sd/source/ui/inc/unmodpg.hxx
+++ b/sd/source/ui/inc/unmodpg.hxx
@@ -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,7 +37,7 @@ class SdPage;
class ModifyPageUndoAction : public SdUndoAction
{
// #67720#
- SfxUndoManager* mpManager;
+ SfxUndoManager* mpManager;
SdPage* mpPage;
String maOldName;
@@ -54,13 +54,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 dc1d47099a53..36aee55051ad 100644
--- a/sd/source/ui/inc/unmovss.hxx
+++ b/sd/source/ui/inc/unmovss.hxx
@@ -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,9 +36,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 a2a80963ad63..873e7e738224 100755
--- a/sd/source/ui/inc/unoaprms.hxx
+++ b/sd/source/ui/inc/unoaprms.hxx
@@ -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,11 +42,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;
@@ -62,13 +62,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;
@@ -83,8 +83,8 @@ class SdAnimationPrmsUndoAction : public SdUndoAction
BOOL bNewInvisibleInPres;
USHORT nOldVerb;
USHORT nNewVerb;
- ULONG nOldPresOrder;
- ULONG nNewPresOrder;
+ ULONG nOldPresOrder;
+ ULONG nNewPresOrder;
BOOL bInfoCreated;
@@ -92,8 +92,8 @@ public:
TYPEINFO();
SdAnimationPrmsUndoAction(SdDrawDocument* pTheDoc, SdrObject* pObj,
BOOL bCreated):
- SdUndoAction (pTheDoc),
- pObject (pObj),
+ SdUndoAction (pTheDoc),
+ pObject (pObj),
bInfoCreated (bCreated)
{}
@@ -145,5 +145,5 @@ public:
virtual void Redo();
};
-#endif // _SD_UNOAPRMS_HXX
+#endif // _SD_UNOAPRMS_HXX
diff --git a/sd/source/ui/inc/unokywds.hxx b/sd/source/ui/inc/unokywds.hxx
index 161653616f60..01a9a9dc9d05 100644
--- a/sd/source/ui/inc/unokywds.hxx
+++ b/sd/source/ui/inc/unokywds.hxx
@@ -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
@@ -96,11 +96,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" );
@@ -129,87 +129,87 @@ 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
diff --git a/sd/source/ui/inc/unomodel.hxx b/sd/source/ui/inc/unomodel.hxx
index 4881a053aaff..472ce790a5c1 100644
--- a/sd/source/ui/inc/unomodel.hxx
+++ b/sd/source/ui/inc/unomodel.hxx
@@ -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
@@ -119,11 +119,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:
@@ -134,8 +134,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; }
@@ -146,7 +146,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)
@@ -243,7 +243,7 @@ private:
SdXImpressDocument* mpModel;
public:
- SdDrawPagesAccess( SdXImpressDocument& rMyModel ) throw();
+ SdDrawPagesAccess( SdXImpressDocument& rMyModel ) throw();
virtual ~SdDrawPagesAccess() throw();
// XDrawPages
@@ -283,7 +283,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();
@@ -320,10 +320,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 4bf30c307ded..1324bcbfccd6 100644
--- a/sd/source/ui/inc/unoprnms.hxx
+++ b/sd/source/ui/inc/unoprnms.hxx
@@ -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
@@ -27,74 +27,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 b19f3751e836..36add67936ec 100755
--- a/sd/source/ui/inc/unosrch.hxx
+++ b/sd/source/ui/inc/unosrch.hxx
@@ -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
@@ -92,7 +92,7 @@ protected:
sal_Bool mbReplace;
- ::rtl::OUString maSearchStr;
+ ::rtl::OUString maSearchStr;
::rtl::OUString maReplaceStr;
public:
@@ -116,9 +116,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 d0c22946b46b..b2e8da9465b2 100644
--- a/sd/source/ui/inc/unprlout.hxx
+++ b/sd/source/ui/inc/unprlout.hxx
@@ -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/unslsel.hxx b/sd/source/ui/inc/unslsel.hxx
index acb653677b5e..b133c6b1af90 100644
--- a/sd/source/ui/inc/unslsel.hxx
+++ b/sd/source/ui/inc/unslsel.hxx
@@ -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,9 +42,9 @@ 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
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 0df81c78d652..bd77ac1357e5 100644
--- a/sd/source/ui/inc/vectdlg.hxx
+++ b/sd/source/ui/inc/vectdlg.hxx
@@ -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
@@ -50,43 +50,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* );
@@ -100,7 +100,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 9b56267ff327..77d0dbcfd921 100755
--- a/sd/source/ui/inc/view/viewoverlaymanager.hxx
+++ b/sd/source/ui/inc/view/viewoverlaymanager.hxx
@@ -1,7 +1,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
@@ -47,7 +47,7 @@ class ViewOverlayManager : public SfxListener
public:
ViewOverlayManager( ViewShellBase& rViewShellBase );
virtual ~ViewOverlayManager();
-
+
void onZoomChanged();
void UpdateTags();
@@ -63,7 +63,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 6957bfed25ce..b1798ec1b5a3 100755
--- a/sd/source/ui/inc/zoomlist.hxx
+++ b/sd/source/ui/inc/zoomlist.hxx
@@ -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
@@ -43,15 +43,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 54e3589bc87e..fc2e10c3ac39 100755
--- a/sd/source/ui/notes/EditWindow.cxx
+++ b/sd/source/ui/notes/EditWindow.cxx
@@ -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,7 +47,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;
@@ -121,11 +121,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;
}
}
@@ -249,7 +249,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 };
@@ -280,7 +280,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 );
}
@@ -332,7 +332,7 @@ void EditWindow::MouseButtonUp(const MouseEvent &rEvt)
Window::MouseButtonUp (rEvt);
// ggf FormulaCursor neu positionieren
- // CursorMoveTimerHdl(&aCursorMoveTimer);
+ // CursorMoveTimerHdl(&aCursorMoveTimer);
}
@@ -353,7 +353,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();
@@ -400,7 +400,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 010a6bd09697..f2d6174b993c 100755
--- a/sd/source/ui/notes/EditWindow.hxx
+++ b/sd/source/ui/notes/EditWindow.hxx
@@ -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 @@ class Timer;
namespace sd { namespace notes {
-class EditWindow
+class EditWindow
: public Window,
public DropTargetHelper
{
@@ -85,11 +85,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();
@@ -98,26 +98,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 d62fc2f25e4b..2c397c68d6c8 100755
--- a/sd/source/ui/notes/NotesChildWindow.cxx
+++ b/sd/source/ui/notes/NotesChildWindow.cxx
@@ -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,10 +38,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 2464696c4eff..c78e91cbeb39 100755
--- a/sd/source/ui/notes/NotesDockingWindow.cxx
+++ b/sd/source/ui/notes/NotesDockingWindow.cxx
@@ -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.hxx b/sd/source/ui/notes/NotesDockingWindow.hxx
index b26756c14e30..b51d19548548 100755
--- a/sd/source/ui/notes/NotesDockingWindow.hxx
+++ b/sd/source/ui/notes/NotesDockingWindow.hxx
@@ -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/TextLogger.cxx b/sd/source/ui/notes/TextLogger.cxx
index bf73b67aad23..05b12199a734 100755
--- a/sd/source/ui/notes/TextLogger.cxx
+++ b/sd/source/ui/notes/TextLogger.cxx
@@ -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
@@ -96,7 +96,7 @@ void TextLogger::ConnectToEditWindow (EditWindow* pEditWindow)
if (pEditWindow != NULL)
pEditWindow->AddEventListener(
LINK(this, TextLogger, WindowEventHandler));
- else
+ else
mpEditWindow->RemoveEventListener(
LINK(this, TextLogger, WindowEventHandler));
@@ -112,7 +112,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 4435c265e989..a7f1b58c082b 100644
--- a/sd/source/ui/presenter/CanvasUpdateRequester.cxx
+++ b/sd/source/ui/presenter/CanvasUpdateRequester.cxx
@@ -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/presenter/CanvasUpdateRequester.hxx b/sd/source/ui/presenter/CanvasUpdateRequester.hxx
index 6a93f5e85d27..c9b575561bf4 100644
--- a/sd/source/ui/presenter/CanvasUpdateRequester.hxx
+++ b/sd/source/ui/presenter/CanvasUpdateRequester.hxx
@@ -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,18 +57,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 a1f583a4e40c..1beb78f998a4 100755
--- a/sd/source/ui/presenter/PresenterCanvas.cxx
+++ b/sd/source/ui/presenter/PresenterCanvas.cxx
@@ -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
@@ -108,15 +108,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);
@@ -125,13 +125,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);
@@ -141,7 +141,7 @@ private:
Reference<awt::XWindow> mxBaseWindow;
geometry::RealPoint2D maPosition;
geometry::RealSize2D maSpriteSize;
-
+
void ThrowIfDisposed (void)
throw (css::lang::DisposedException);
};
@@ -187,7 +187,7 @@ PresenterCanvas::PresenterCanvas (
{
if (mxWindow.is())
mxWindow->addWindowListener(this);
-
+
if (mxUpdateCanvas.is())
mpUpdateRequester = CanvasUpdateRequester::Instance(mxUpdateCanvas);
}
@@ -213,7 +213,7 @@ void SAL_CALL PresenterCanvas::disposing (void)
//----- XInitialization -------------------------------------------------------
-
+
void SAL_CALL PresenterCanvas::initialize (
const Sequence<Any>& rArguments)
throw(Exception, RuntimeException)
@@ -625,7 +625,7 @@ Reference<rendering::XAnimatedSprite> SAL_CALL
else
return NULL;
}
-
+
@@ -646,7 +646,7 @@ Reference<rendering::XAnimatedSprite> SAL_CALL
else
return NULL;
}
-
+
@@ -867,11 +867,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())
{
@@ -963,7 +963,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 (
@@ -1118,7 +1118,7 @@ void SAL_CALL PresenterCustomSprite::setAlpha (const double nAlpha)
ThrowIfDisposed();
mxSprite->setAlpha(nAlpha);
}
-
+
@@ -1197,7 +1197,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 6cc97d14c6fa..c5a31b1fdb6c 100644
--- a/sd/source/ui/presenter/PresenterCanvas.hxx
+++ b/sd/source/ui/presenter/PresenterCanvas.hxx
@@ -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
@@ -150,52 +150,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,
@@ -206,7 +206,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,
@@ -218,7 +218,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,
@@ -226,7 +226,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,
@@ -234,7 +234,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,
@@ -244,7 +244,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,
@@ -255,7 +255,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,
@@ -263,13 +263,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,
@@ -278,14 +278,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,
@@ -294,7 +294,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,
@@ -303,7 +303,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);
@@ -323,14 +323,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<
@@ -339,17 +339,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);
@@ -364,13 +364,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);
@@ -382,10 +382,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 7ce6bb4815b7..8d30fbd965a4 100644
--- a/sd/source/ui/presenter/PresenterCanvasFactory.cxx
+++ b/sd/source/ui/presenter/PresenterCanvasFactory.cxx
@@ -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
@@ -205,7 +205,7 @@ Reference<rendering::XCanvas> PresenterCanvasFactory::CreateCanvasForSprite (
{
OSL_ASSERT(rxSharedWindow.is());
(void)rxWindow.is();
-
+
SharedWindowContainer::iterator iDescriptor (
mpSharedWindows->FindDescriptor(rxSharedWindow));
if (iDescriptor != mpSharedWindows->end())
@@ -238,14 +238,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 6157c47c0d66..7897cde78aa5 100644
--- a/sd/source/ui/presenter/PresenterHelper.cxx
+++ b/sd/source/ui/presenter/PresenterHelper.cxx
@@ -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
@@ -102,7 +102,7 @@ void SAL_CALL PresenterHelper::initialize (const Sequence<Any>& rArguments)
{
(void)rArguments;
}
-
+
@@ -179,7 +179,7 @@ Reference<rendering::XCanvas> SAL_CALL PresenterHelper::createSharedCanvas (
OUString::createFromAscii("illegal argument"),
Reference<XInterface>(static_cast<XWeak*>(this)));
}
-
+
if (rxWindow == rxSharedWindow)
return rxSharedCanvas;
else
@@ -208,14 +208,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>(
@@ -255,7 +255,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 75b3bb9f7a75..af5aaab6bb1d 100644
--- a/sd/source/ui/presenter/PresenterHelper.hxx
+++ b/sd/source/ui/presenter/PresenterHelper.hxx
@@ -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 @@ public:
virtual void SAL_CALL initialize (const css::uno::Sequence<css::uno::Any>& rArguments)
throw(css::uno::Exception,css::uno::RuntimeException);
-
+
// XPresenterHelper
@@ -75,7 +75,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,
@@ -109,7 +109,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 3f50c6f7a1b7..823bf3600d5a 100644
--- a/sd/source/ui/presenter/PresenterPreviewCache.cxx
+++ b/sd/source/ui/presenter/PresenterPreviewCache.cxx
@@ -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
@@ -371,7 +371,7 @@ void PresenterPreviewCache::PresenterCacheContext::NotifyPreviewCreation (
const ::boost::shared_ptr<BitmapEx>& rPreview)
{
(void)rPreview;
-
+
if ( ! mxSlides.is())
return;
const sal_Int32 nCount(mxSlides->getCount());
@@ -426,10 +426,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);
@@ -453,11 +453,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 115212e0281c..5d1b3262a59e 100644
--- a/sd/source/ui/presenter/PresenterPreviewCache.hxx
+++ b/sd/source/ui/presenter/PresenterPreviewCache.hxx
@@ -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
@@ -66,15 +66,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 ba90a92939ca..9114f6957151 100755
--- a/sd/source/ui/presenter/PresenterTextView.cxx
+++ b/sd/source/ui/presenter/PresenterTextView.cxx
@@ -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/presenter/PresenterTextView.hxx b/sd/source/ui/presenter/PresenterTextView.hxx
index 85c7d87efeb4..6524fbccb4dd 100644
--- a/sd/source/ui/presenter/PresenterTextView.hxx
+++ b/sd/source/ui/presenter/PresenterTextView.hxx
@@ -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
@@ -60,7 +60,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 92c570604dcd..81c66b84dba3 100644
--- a/sd/source/ui/presenter/SlideRenderer.cxx
+++ b/sd/source/ui/presenter/SlideRenderer.cxx
@@ -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
@@ -205,7 +205,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)
@@ -230,14 +230,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 e5705dbb3cfb..d4adbff08f55 100644
--- a/sd/source/ui/presenter/SlideRenderer.hxx
+++ b/sd/source/ui/presenter/SlideRenderer.hxx
@@ -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
@@ -63,13 +63,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,
@@ -87,7 +87,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 2841891f31ce..b6d793824858 100755
--- a/sd/source/ui/slideshow/PaneHider.cxx
+++ b/sd/source/ui/slideshow/PaneHider.cxx
@@ -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/slideshow/PaneHider.hxx b/sd/source/ui/slideshow/PaneHider.hxx
index 0a865c683adb..01d5b504cd84 100644
--- a/sd/source/ui/slideshow/PaneHider.hxx
+++ b/sd/source/ui/slideshow/PaneHider.hxx
@@ -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/slideshow/SlideShowRestarter.cxx b/sd/source/ui/slideshow/SlideShowRestarter.cxx
index dc2c3b3fe5ea..6938826fc795 100644
--- a/sd/source/ui/slideshow/SlideShowRestarter.cxx
+++ b/sd/source/ui/slideshow/SlideShowRestarter.cxx
@@ -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
@@ -128,7 +128,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
@@ -142,7 +142,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 64ee3e4551f6..de713fbc7abb 100644
--- a/sd/source/ui/slideshow/SlideShowRestarter.hxx
+++ b/sd/source/ui/slideshow/SlideShowRestarter.hxx
@@ -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/slideshow/showwin.cxx b/sd/source/ui/slideshow/showwin.cxx
index fe6f9483b8b6..e2c094556012 100644
--- a/sd/source/ui/slideshow/showwin.cxx
+++ b/sd/source/ui/slideshow/showwin.cxx
@@ -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
@@ -85,7 +85,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 ) );
@@ -290,7 +290,7 @@ void ShowWindow::Paint(const Rectangle& rRect)
{
/*
Region aOldClipRegion( GetClipRegion() );
-
+
Region aClipRegion( rRect );
aClipRegion.Exclude( maPresArea );
SetClipRegion( aClipRegion );
@@ -397,8 +397,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
@@ -433,8 +433,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
@@ -465,8 +465,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
@@ -497,7 +497,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;
@@ -535,7 +535,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;
@@ -543,11 +543,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);
@@ -574,16 +574,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 );
@@ -599,7 +599,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() )
@@ -610,24 +610,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( " )" ));
@@ -649,12 +649,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 9521b6946138..60f2ddeadd81 100644
--- a/sd/source/ui/slideshow/showwindow.hxx
+++ b/sd/source/ui/slideshow/showwindow.hxx
@@ -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
@@ -74,63 +74,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 187d0d5ea715..66ca3c7d2630 100755
--- a/sd/source/ui/slideshow/slideshow.cxx
+++ b/sd/source/ui/slideshow/slideshow.cxx
@@ -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
@@ -119,21 +119,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}
};
@@ -182,7 +182,7 @@ rtl::Reference< SlideShow > SlideShow::GetSlideShow( SdDrawDocument* pDocument )
if( pDocument )
xRet = rtl::Reference< SlideShow >( dynamic_cast< SlideShow* >( pDocument->getPresentation().get() ) );
-
+
return xRet;
}
@@ -198,7 +198,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();
@@ -320,7 +320,7 @@ void SAL_CALL SlideShow::setPropertyValue( const OUString& aPropertyName, const
case ATTR_PRESENT_ALL:
{
sal_Bool bVal = sal_False;
-
+
if( aValue >>= bVal )
{
bIllegalArgument = false;
@@ -342,7 +342,7 @@ void SAL_CALL SlideShow::setPropertyValue( const OUString& aPropertyName, const
if( aValue >>= bVal )
{
bIllegalArgument = false;
-
+
if( bVal == rPresSettings.mbLockedPages )
{
bValuesChanged = true;
@@ -355,7 +355,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;
@@ -684,7 +684,7 @@ void SAL_CALL SlideShow::end() throw(RuntimeException)
// gone wrong.
OSL_ASSERT(!mbIsInStartup);
mbIsInStartup = false;
-
+
rtl::Reference< SlideshowImpl > xController( mxController );
if( xController.is() )
{
@@ -979,7 +979,7 @@ void SlideShow::activate( ViewShellBase& rBase )
{
pShell->FinishInitialization( mpFullScreenFrameView );
mpFullScreenFrameView = 0;
-
+
CreateController( pShell.get(), pShell->GetView(), rBase.GetViewWindow() );
if( mxController->startShow(mxCurrentSettings.get()) )
@@ -1156,8 +1156,8 @@ void SlideShow::StartInPlacePresentation()
{
bSuccess = mxController->startShow(mxCurrentSettings.get());
}
-
- if( !bSuccess )
+
+ if( !bSuccess )
end();
}
}
@@ -1187,7 +1187,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
@@ -1217,7 +1217,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 5afcb65ab90c..61c6559588d9 100755
--- a/sd/source/ui/slideshow/slideshowimpl.cxx
+++ b/sd/source/ui/slideshow/slideshowimpl.cxx
@@ -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
@@ -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)
{
::vos::OGuard aSolarGuard( Application::GetSolarMutex() );
@@ -3295,7 +3295,7 @@ void SAL_CALL SlideshowImpl::setPenMode( bool bSwitchPenMode ) throw (RuntimeExc
{
::vos::OGuard aSolarGuard( Application::GetSolarMutex() );
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)
{
::vos::OGuard aSolarGuard( Application::GetSolarMutex() );
- 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)
{
::vos::OGuard aSolarGuard( Application::GetSolarMutex() );
mnEraseInkSize=nEraseInkSize;
mbSwitchPenMode = false;
mbSwitchEraserMode = true;
- if( maPresSettings.mbMouseAsPen )
+ if( maPresSettings.mbMouseAsPen )
setUseEraser( sal_True ); // update erase ink size
}
#endif
@@ -3695,7 +3695,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 cb33c4a740c7..c80078865cae 100755
--- a/sd/source/ui/slideshow/slideshowimpl.hxx
+++ b/sd/source/ui/slideshow/slideshowimpl.hxx
@@ -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
@@ -361,54 +361,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;
@@ -421,8 +421,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 c92a3913670b..adb0dc80d5bf 100644
--- a/sd/source/ui/slideshow/slideshowviewimpl.cxx
+++ b/sd/source/ui/slideshow/slideshowviewimpl.cxx
@@ -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,11 +62,11 @@ namespace sd
{
///////////////////////////////////////////////////////////////////////
-// SlideShowViewListeners
+// SlideShowViewListeners
///////////////////////////////////////////////////////////////////////
SlideShowViewListeners::SlideShowViewListeners( ::osl::Mutex& rMutex )
-: mrMutex( rMutex )
+: mrMutex( rMutex )
{
}
@@ -126,23 +126,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 ) :
@@ -150,8 +150,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 )
{
@@ -176,7 +176,7 @@ bool SlideShowViewMouseListeners::implTypedNotify( const Reference< awt::XMouseL
}
///////////////////////////////////////////////////////////////////////
-// SlideShowViewMouseMotionListeners
+// SlideShowViewMouseMotionListeners
///////////////////////////////////////////////////////////////////////
SlideShowViewMouseMotionListeners::SlideShowViewMouseMotionListeners( ::osl::Mutex& rMutex ) :
@@ -184,15 +184,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;
@@ -205,12 +205,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 ),
@@ -330,7 +330,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() )
@@ -351,11 +351,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 );
@@ -672,7 +672,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 8e22a5d9fd7f..12af70540227 100644
--- a/sd/source/ui/slideshow/slideshowviewimpl.hxx
+++ b/sd/source/ui/slideshow/slideshowviewimpl.hxx
@@ -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
@@ -95,8 +95,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
@@ -107,8 +107,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;
};
///////////////////////////////////////////////////////////////////////
@@ -131,14 +131,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
{
@@ -148,7 +148,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
@@ -162,11 +162,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;
///////////////////////////////////////////////////////////////////////
@@ -182,10 +182,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;
///////////////////////////////////////////////////////////////////////
@@ -261,23 +261,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 1bbecbef3d66..3040eb1e2bd8 100755
--- a/sd/source/ui/slidesorter/cache/SlsBitmapCache.cxx
+++ b/sd/source/ui/slidesorter/cache/SlsBitmapCache.cxx
@@ -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
@@ -93,8 +93,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
@@ -295,7 +295,7 @@ void BitmapCache::InvalidateCache (void)
void BitmapCache::SetBitmap (
- const CacheKey& rKey,
+ const CacheKey& rKey,
const ::boost::shared_ptr<BitmapEx>& rpPreview,
bool bIsPrecious)
{
@@ -317,7 +317,7 @@ void BitmapCache::SetBitmap (
CacheEntry (rpPreview, mnCurrentAccessTime++, bIsPrecious))
).first;
}
-
+
if (iEntry != mpBitmapContainer->end())
UpdateCacheSize(iEntry->second, ADD);
}
@@ -427,7 +427,7 @@ void BitmapCache::Recycle (const BitmapCache& rCache)
if ( ! bIncludeNoPreview && ! iEntry->second.HasPreview())
continue;
-
+
aSortedContainer.push_back(SortableBitmapContainer::value_type(
iEntry->first,iEntry->second));
}
@@ -476,7 +476,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();
@@ -488,7 +488,7 @@ void BitmapCache::UpdateCacheSize (const CacheEntry& rEntry, CacheOperation eOpe
if (mnNormalCacheSize < mnMaximalNormalCacheSize)
mbIsFull = false;
break;
-
+
default:
OSL_ASSERT(false);
break;
@@ -514,10 +514,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)
@@ -576,7 +576,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 2c33e042342f..5d08005d50eb 100755
--- a/sd/source/ui/slidesorter/cache/SlsBitmapCache.hxx
+++ b/sd/source/ui/slidesorter/cache/SlsBitmapCache.hxx
@@ -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
@@ -116,7 +116,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
@@ -129,7 +129,7 @@ public:
bitmaps.
*/
void ReCalculateTotalCacheSize (void);
-
+
/** Use the previews in the given cache to initialize missing previews.
*/
void Recycle (const BitmapCache& rCache);
@@ -195,7 +195,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 86fc72885414..616446c41e89 100644
--- a/sd/source/ui/slidesorter/cache/SlsBitmapCompressor.cxx
+++ b/sd/source/ui/slidesorter/cache/SlsBitmapCompressor.cxx
@@ -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
@@ -132,7 +132,7 @@ public:
Size maOriginalSize;
virtual ~ResolutionReducedReplacement();
-
+
virtual sal_Int32 GetMemorySize (void) const;
};
@@ -171,7 +171,7 @@ sal_Int32 ResolutionReduction::ResolutionReducedReplacement::GetMemorySize (void
const BitmapReplacement& rBitmapData) const
{
::boost::shared_ptr<BitmapEx> pResult;
-
+
const ResolutionReducedReplacement* pData (
dynamic_cast<const ResolutionReducedReplacement*>(&rBitmapData));
@@ -181,7 +181,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 cd564ddddcfd..07216cbf334b 100644
--- a/sd/source/ui/slidesorter/cache/SlsBitmapCompressor.hxx
+++ b/sd/source/ui/slidesorter/cache/SlsBitmapCompressor.hxx
@@ -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/cache/SlsBitmapFactory.cxx b/sd/source/ui/slidesorter/cache/SlsBitmapFactory.cxx
index 5ad30ef43c1f..47a6a6fa3337 100644
--- a/sd/source/ui/slidesorter/cache/SlsBitmapFactory.cxx
+++ b/sd/source/ui/slidesorter/cache/SlsBitmapFactory.cxx
@@ -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/cache/SlsBitmapFactory.hxx b/sd/source/ui/slidesorter/cache/SlsBitmapFactory.hxx
index 87cd1f268f80..b596f6c9ad66 100644
--- a/sd/source/ui/slidesorter/cache/SlsBitmapFactory.hxx
+++ b/sd/source/ui/slidesorter/cache/SlsBitmapFactory.hxx
@@ -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/cache/SlsCacheCompactor.cxx b/sd/source/ui/slidesorter/cache/SlsCacheCompactor.cxx
index 520ce4ce2cf8..f67eb7963fda 100644
--- a/sd/source/ui/slidesorter/cache/SlsCacheCompactor.cxx
+++ b/sd/source/ui/slidesorter/cache/SlsCacheCompactor.cxx
@@ -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
@@ -108,7 +108,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(
@@ -123,7 +123,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(
@@ -168,14 +168,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 84e450dcfbc9..80e9d2aaa9f2 100644
--- a/sd/source/ui/slidesorter/cache/SlsCacheCompactor.hxx
+++ b/sd/source/ui/slidesorter/cache/SlsCacheCompactor.hxx
@@ -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,7 +38,7 @@ class BitmapCache;
class BitmapCompressor;
/** This is an interface class whose implementations are created via the
- Create() factory method.
+ Create() factory method.
*/
class CacheCompactor
{
@@ -69,7 +69,7 @@ public:
cache. This calls via a timer the Run() method.
*/
virtual void RequestCompaction (void);
-
+
protected:
BitmapCache& mrCache;
sal_Int32 mnMaximalCacheSize;
@@ -82,7 +82,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 942a3e762acb..589b681dc210 100644
--- a/sd/source/ui/slidesorter/cache/SlsCacheConfiguration.cxx
+++ b/sd/source/ui/slidesorter/cache/SlsCacheConfiguration.cxx
@@ -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
@@ -87,7 +87,7 @@ CacheConfiguration::CacheConfiguration (void)
const ::rtl::OUString sPathToNode(
RTL_CONSTASCII_USTRINGPARAM(
"MultiPaneGUI/SlideSorter/PreviewCache"));
-
+
try
{
do
@@ -105,17 +105,17 @@ CacheConfiguration::CacheConfiguration (void)
aCreationArguments[0] = makeAny(beans::PropertyValue(
::rtl::OUString(
RTL_CONSTASCII_USTRINGPARAM("nodepath")),
- 0,
+ 0,
makeAny(sPathToImpressConfigurationRoot),
beans::PropertyState_DIRECT_VALUE));
aCreationArguments[1] = makeAny(beans::PropertyValue(
::rtl::OUString(RTL_CONSTASCII_USTRINGPARAM("depth")),
- 0,
+ 0,
makeAny((sal_Int32)-1),
beans::PropertyState_DIRECT_VALUE));
aCreationArguments[2] = makeAny(beans::PropertyValue(
::rtl::OUString(RTL_CONSTASCII_USTRINGPARAM("lazywrite")),
- 0,
+ 0,
makeAny(true),
beans::PropertyState_DIRECT_VALUE));
::rtl::OUString sAccessService (::rtl::OUString(RTL_CONSTASCII_USTRINGPARAM(
@@ -151,7 +151,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 034480298006..d683afae8d6f 100644
--- a/sd/source/ui/slidesorter/cache/SlsCacheConfiguration.hxx
+++ b/sd/source/ui/slidesorter/cache/SlsCacheConfiguration.hxx
@@ -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
@@ -53,7 +53,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 780a429df29e..ae13d582bfad 100755
--- a/sd/source/ui/slidesorter/cache/SlsGenericPageCache.cxx
+++ b/sd/source/ui/slidesorter/cache/SlsGenericPageCache.cxx
@@ -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
@@ -206,7 +206,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 89fc657004e8..5b065b60d566 100755
--- a/sd/source/ui/slidesorter/cache/SlsGenericPageCache.hxx
+++ b/sd/source/ui/slidesorter/cache/SlsGenericPageCache.hxx
@@ -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,7 +51,7 @@ public:
GenericPageCache (
const Size& rPreviewSize,
const SharedCacheContext& rpCacheContext);
-
+
~GenericPageCache (void);
/** Change the size of the preview bitmaps. This may be caused by a
@@ -107,7 +107,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);
@@ -129,7 +129,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 714e1f008329..acf347cf3027 100755
--- a/sd/source/ui/slidesorter/cache/SlsPageCache.cxx
+++ b/sd/source/ui/slidesorter/cache/SlsPageCache.cxx
@@ -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/cache/SlsPageCacheManager.cxx b/sd/source/ui/slidesorter/cache/SlsPageCacheManager.cxx
index 3c8a15892e7c..4a3aa88be2a4 100644
--- a/sd/source/ui/slidesorter/cache/SlsPageCacheManager.cxx
+++ b/sd/source/ui/slidesorter/cache/SlsPageCacheManager.cxx
@@ -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,7 +47,7 @@ class CacheDescriptor
public:
::sd::slidesorter::cache::PageCacheManager::DocumentKey mpDocument;
Size maPreviewSize;
-
+
CacheDescriptor(
::sd::slidesorter::cache::PageCacheManager::DocumentKey pDocument,
const Size& rPreviewSize)
@@ -119,7 +119,7 @@ public:
return (rElement1.first.Width()*rElement1.first.Height()
> rElement2.first.Width()*rElement2.first.Height());
}
-
+
private:
Size maPreferredSize;
};
@@ -181,7 +181,7 @@ public:
::boost::shared_ptr<PageCacheManager> PageCacheManager::Instance (void)
{
::boost::shared_ptr<PageCacheManager> pInstance;
-
+
::osl::MutexGuard aGuard (::osl::Mutex::getGlobalMutex());
pInstance = mpInstance.lock();
@@ -192,7 +192,7 @@ public:
PageCacheManager::Deleter());
mpInstance = pInstance;
}
-
+
return pInstance;
}
@@ -240,7 +240,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));
@@ -295,13 +295,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);
}
}
@@ -315,7 +315,7 @@ void PageCacheManager::ReleaseCache (const ::boost::shared_ptr<Cache>& rpCache)
const Size& rNewPreviewSize)
{
(void)rOldPreviewSize;
-
+
::boost::shared_ptr<Cache> pResult;
if (rpCache.get() != NULL)
@@ -399,7 +399,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 bec9c7fa369d..6d84e528512c 100755
--- a/sd/source/ui/slidesorter/cache/SlsQueueProcessor.cxx
+++ b/sd/source/ui/slidesorter/cache/SlsQueueProcessor.cxx
@@ -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
@@ -59,7 +59,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 e42ad092d0e2..6a0f952ca008 100644
--- a/sd/source/ui/slidesorter/cache/SlsQueueProcessor.hxx
+++ b/sd/source/ui/slidesorter/cache/SlsQueueProcessor.hxx
@@ -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,7 +38,7 @@
#include "SlsBitmapCache.hxx"
#include "sdpage.hxx"
#include "Window.hxx"
-
+
#include <svx/svdpagv.hxx>
#include <vcl/svapp.hxx>
#include <vcl/timer.hxx>
@@ -63,12 +63,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 08ca63284ea6..d3a6a7443001 100644
--- a/sd/source/ui/slidesorter/cache/SlsQueueProcessorThread.hxx
+++ b/sd/source/ui/slidesorter/cache/SlsQueueProcessorThread.hxx
@@ -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,17 +40,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);
@@ -80,19 +80,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;
@@ -168,7 +168,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);
}
@@ -193,7 +193,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);
@@ -214,7 +214,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();
@@ -223,7 +223,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
{
@@ -252,9 +252,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
@@ -267,9 +267,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
@@ -282,9 +282,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
@@ -298,9 +298,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
@@ -322,9 +322,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 8030558759f3..f7b9e47265d8 100644
--- a/sd/source/ui/slidesorter/cache/SlsRequestFactory.cxx
+++ b/sd/source/ui/slidesorter/cache/SlsRequestFactory.cxx
@@ -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/cache/SlsRequestFactory.hxx b/sd/source/ui/slidesorter/cache/SlsRequestFactory.hxx
index d2872c2ad7bf..0e802055e9f7 100644
--- a/sd/source/ui/slidesorter/cache/SlsRequestFactory.hxx
+++ b/sd/source/ui/slidesorter/cache/SlsRequestFactory.hxx
@@ -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/cache/SlsRequestPriorityClass.hxx b/sd/source/ui/slidesorter/cache/SlsRequestPriorityClass.hxx
index ebf6284a8f8b..cf05e5bb7d79 100644
--- a/sd/source/ui/slidesorter/cache/SlsRequestPriorityClass.hxx
+++ b/sd/source/ui/slidesorter/cache/SlsRequestPriorityClass.hxx
@@ -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,14 +38,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 ccd590131343..5c37789aeda3 100644
--- a/sd/source/ui/slidesorter/cache/SlsRequestQueue.cxx
+++ b/sd/source/ui/slidesorter/cache/SlsRequestQueue.cxx
@@ -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
@@ -213,7 +213,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 f59ec702ac01..e1a618b1cef6 100644
--- a/sd/source/ui/slidesorter/cache/SlsRequestQueue.hxx
+++ b/sd/source/ui/slidesorter/cache/SlsRequestQueue.hxx
@@ -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 @@ 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 69c2a02ddc24..80bd77c3670f 100755
--- a/sd/source/ui/slidesorter/controller/SlideSorterController.cxx
+++ b/sd/source/ui/slidesorter/controller/SlideSorterController.cxx
@@ -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
@@ -161,7 +161,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));
@@ -352,7 +352,7 @@ bool SlideSorterController::Command (
bool bEventHasBeenHandled = false;
ViewShell* pViewShell = mrSlideSorter.GetViewShell();
-
+
switch (rEvent.GetCommand())
{
case COMMAND_CONTEXTMENU:
@@ -494,7 +494,7 @@ void SlideSorterController::PreModelChange (void)
if (mbPostModelChangePending)
return;
mbPreModelChangeDone = true;
-
+
if (mrSlideSorter.GetViewShell() != NULL)
mrSlideSorter.GetViewShell()->Broadcast(
ViewShellHint(ViewShellHint::HINT_COMPLEX_MODEL_CHANGE_START));
@@ -597,7 +597,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();
@@ -627,7 +627,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);
}
@@ -951,7 +951,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 56505d9756e6..7de031731801 100644
--- a/sd/source/ui/slidesorter/controller/SlsAnimator.cxx
+++ b/sd/source/ui/slidesorter/controller/SlsAnimator.cxx
@@ -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
@@ -127,7 +127,7 @@ bool Animator::ServeAnimations (void)
void Animator::CleanUpAnimationList (void)
{
AnimationList aActiveAnimations;
-
+
AnimationList::const_iterator iAnimation;
for (iAnimation=maAnimations.begin(); iAnimation!=maAnimations.end(); ++iAnimation)
{
@@ -173,7 +173,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 d226a8c2e294..bb0abb9caeef 100644
--- a/sd/source/ui/slidesorter/controller/SlsClipboard.cxx
+++ b/sd/source/ui/slidesorter/controller/SlsClipboard.cxx
@@ -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
@@ -227,7 +227,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 (
@@ -268,18 +268,18 @@ sal_Int32 Clipboard::PasteTransferable (sal_Int32 nInsertPosition)
{
const List& rBookmarkList = pClipTransferable->GetPageBookmarks();
const ::vos::OGuard aGuard (Application::GetSolarMutex());
-
+
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
@@ -288,23 +288,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 ::vos::OGuard aGuard (Application::GetSolarMutex());
-
+
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);
}
}
@@ -342,7 +342,7 @@ void Clipboard::SelectPageRange (sal_Int32 nFirstIndex, sal_Int32 nPageCount)
void Clipboard::CreateSlideTransferable (
- ::Window* pWindow,
+ ::Window* pWindow,
bool bDrag)
{
List aBookmarkList;
@@ -394,7 +394,7 @@ void Clipboard::CreateSlideTransferable (
if (pViewShell != NULL)
pActionWindow = pViewShell->GetActiveWindow();
}
-
+
pTransferable->SetStartPos (pActionWindow->PixelToLogic(
pActionWindow->GetPointerPosPixel()));
pTransferable->SetObjectDescriptor (aObjDesc);
@@ -454,8 +454,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);
@@ -486,10 +486,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;
@@ -514,7 +514,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());
@@ -548,10 +548,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;
@@ -563,14 +563,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(
@@ -579,7 +579,7 @@ sal_Int8 Clipboard::ExecuteDrop (
OSL_TRACE ("Clipboard::AcceptDrop() called for index %d",
nIndex);
rOverlay.GetInsertionIndicatorOverlay().setVisible(false);
-
+
if (bContinue)
{
SlideSorterController::ModelChangeLock aModelChangeLock (mrController);
@@ -649,7 +649,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;
}
@@ -757,7 +757,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 26980dc51f11..089263693caf 100644
--- a/sd/source/ui/slidesorter/controller/SlsCommand.hxx
+++ b/sd/source/ui/slidesorter/controller/SlsCommand.hxx
@@ -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/controller/SlsCurrentSlideManager.cxx b/sd/source/ui/slidesorter/controller/SlsCurrentSlideManager.cxx
index f5864c3307a1..f4820f8222b5 100755
--- a/sd/source/ui/slidesorter/controller/SlsCurrentSlideManager.cxx
+++ b/sd/source/ui/slidesorter/controller/SlsCurrentSlideManager.cxx
@@ -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/controller/SlsFocusManager.cxx b/sd/source/ui/slidesorter/controller/SlsFocusManager.cxx
index dcda73d38dba..48454ce94303 100755
--- a/sd/source/ui/slidesorter/controller/SlsFocusManager.cxx
+++ b/sd/source/ui/slidesorter/controller/SlsFocusManager.cxx
@@ -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
@@ -84,7 +84,7 @@ void FocusManager::MoveFocus (FocusMoveDirection eDirection)
SetFocusToToolBox();
}
break;
-
+
case FMD_RIGHT:
mnPageIndex += 1;
if (mnPageIndex >= mrSlideSorter.GetModel().GetPageCount())
@@ -107,7 +107,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
@@ -329,9 +329,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 666d4b017302..3e1b0c081306 100644
--- a/sd/source/ui/slidesorter/controller/SlsHideSlideFunction.cxx
+++ b/sd/source/ui/slidesorter/controller/SlsHideSlideFunction.cxx
@@ -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
@@ -84,7 +84,7 @@ void HideSlideFunction::DoExecute (SfxRequest& rRequest)
model::PageEnumeration aSelectedPages (
model::PageEnumerationProvider::CreateSelectedPagesEnumeration(mrSlideSorter.GetModel()));
-
+
ExclusionState eState (UNDEFINED);
switch (rRequest.GetSlot())
@@ -143,14 +143,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 8cef9455619f..424376f4bec4 100644
--- a/sd/source/ui/slidesorter/controller/SlsHideSlideFunction.hxx
+++ b/sd/source/ui/slidesorter/controller/SlsHideSlideFunction.hxx
@@ -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
@@ -39,14 +39,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 );
@@ -58,7 +58,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 94b3b4afe717..8f67bd68b36e 100755
--- a/sd/source/ui/slidesorter/controller/SlsListener.cxx
+++ b/sd/source/ui/slidesorter/controller/SlsListener.cxx
@@ -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
@@ -129,7 +129,7 @@ Listener::Listener (
{
StartListening (*pMainViewShell);
}
-
+
Link aLink (LINK(this, Listener, EventMultiplexerCallback));
mpBase->GetEventMultiplexer()->AddEventListener(
aLink,
@@ -212,13 +212,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())
@@ -269,10 +269,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);
}
@@ -371,11 +371,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)
{
@@ -397,7 +397,7 @@ IMPL_LINK(Listener, EventMultiplexerCallback, ::sd::tools::EventMultiplexerEvent
}
break;
-
+
case tools::EventMultiplexerEvent::EID_CONTROLLER_DETACHED:
DisconnectFromController();
break;
@@ -420,7 +420,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 5613452a1b59..2cac7830bd25 100644
--- a/sd/source/ui/slidesorter/controller/SlsListener.hxx
+++ b/sd/source/ui/slidesorter/controller/SlsListener.hxx
@@ -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
@@ -59,7 +59,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,
@@ -106,7 +106,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);
@@ -118,7 +118,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);
@@ -126,7 +126,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);
@@ -135,7 +135,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 5ac41849a674..f5dc63c80b44 100644
--- a/sd/source/ui/slidesorter/controller/SlsPageObjectFactory.cxx
+++ b/sd/source/ui/slidesorter/controller/SlsPageObjectFactory.cxx
@@ -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
@@ -71,26 +71,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 0e8f5e100d1c..ef6f09f44950 100755
--- a/sd/source/ui/slidesorter/controller/SlsPageSelector.cxx
+++ b/sd/source/ui/slidesorter/controller/SlsPageSelector.cxx
@@ -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
@@ -84,7 +84,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 7382d769bbe2..f755e1d4efca 100644
--- a/sd/source/ui/slidesorter/controller/SlsProperties.cxx
+++ b/sd/source/ui/slidesorter/controller/SlsProperties.cxx
@@ -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/controller/SlsScrollBarManager.cxx b/sd/source/ui/slidesorter/controller/SlsScrollBarManager.cxx
index 5ee7f6f58b82..1fc2261a7a0d 100755
--- a/sd/source/ui/slidesorter/controller/SlsScrollBarManager.cxx
+++ b/sd/source/ui/slidesorter/controller/SlsScrollBarManager.cxx
@@ -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
@@ -94,13 +94,13 @@ void ScrollBarManager::Connect (void)
mpVerticalScrollBar->SetScrollHdl (
LINK(
this,
- ScrollBarManager,
+ ScrollBarManager,
VerticalScrollBarHandler));
if (mpHorizontalScrollBar != NULL)
mpHorizontalScrollBar->SetScrollHdl (
LINK(
this,
- ScrollBarManager,
+ ScrollBarManager,
HorizontalScrollBarHandler));
}
@@ -120,14 +120,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)
{
@@ -154,11 +154,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()));
@@ -167,13 +167,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()));
@@ -238,10 +238,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(
@@ -267,10 +267,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(
@@ -312,7 +312,7 @@ IMPL_LINK(ScrollBarManager, VerticalScrollBarHandler, ScrollBar*, pScrollBar)
/ double(pScrollBar->GetRange().Len());
mrSlideSorter.GetView().InvalidatePageObjectVisibilities();
mrSlideSorter.GetView().GetWindow()->SetVisibleXY (
- -1,
+ -1,
nRelativePosition);
}
return TRUE;
@@ -323,7 +323,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)
@@ -541,15 +541,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()));
}
}
@@ -560,15 +560,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()));
}
}
@@ -608,7 +608,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 687019954feb..556330413077 100755
--- a/sd/source/ui/slidesorter/controller/SlsSelectionCommand.cxx
+++ b/sd/source/ui/slidesorter/controller/SlsSelectionCommand.cxx
@@ -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
@@ -67,10 +67,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 7a9d0f27369e..bf692592ebb9 100755
--- a/sd/source/ui/slidesorter/controller/SlsSelectionCommand.hxx
+++ b/sd/source/ui/slidesorter/controller/SlsSelectionCommand.hxx
@@ -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/controller/SlsSelectionFunction.cxx b/sd/source/ui/slidesorter/controller/SlsSelectionFunction.cxx
index c1d742ce7158..5b0619faa695 100755
--- a/sd/source/ui/slidesorter/controller/SlsSelectionFunction.cxx
+++ b/sd/source/ui/slidesorter/controller/SlsSelectionFunction.cxx
@@ -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
@@ -146,7 +146,7 @@ public:
sal_uInt32 mnEventCode;
EventDescriptor (
- sal_uInt32 nEventType,
+ sal_uInt32 nEventType,
const MouseEvent& rEvent,
SlideSorter& rSlideSorter);
EventDescriptor (
@@ -169,7 +169,7 @@ SelectionFunction::SelectionFunction (
mbProcessingMouseButtonDown(false),
mpSubstitutionHandler(new SubstitutionHandler(mrSlideSorter))
{
- //af aDelayToScrollTimer.SetTimeout(50);
+ //af aDelayToScrollTimer.SetTimeout(50);
aDragTimer.SetTimeoutHdl( LINK( this, SelectionFunction, DragSlideHdl ) );
}
@@ -230,7 +230,7 @@ BOOL SelectionFunction::MouseMove (const MouseEvent& rEvent)
else
aDragTimer.Stop();
}
-
+
Rectangle aRectangle (Point(0,0),mpWindow->GetOutputSizePixel());
if ( ! aRectangle.IsInside(aMousePosition)
&& rOverlay.GetSubstitutionOverlay().isVisible())
@@ -238,7 +238,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.
@@ -264,7 +264,7 @@ BOOL SelectionFunction::MouseButtonUp (const MouseEvent& rEvent)
if (aDragTimer.IsActive())
aDragTimer.Stop();
-
+
ProcessMouseEvent(BUTTON_UP, rEvent);
mbProcessingMouseButtonDown = false;
@@ -372,7 +372,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
@@ -397,7 +397,7 @@ BOOL SelectionFunction::KeyInput (const KeyEvent& rEvent)
if (rEvent.GetKeyCode().IsShift())
ProcessKeyEvent(rEvent);
break;
-
+
default:
break;
}
@@ -578,7 +578,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 (
@@ -591,7 +591,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))
{
@@ -772,7 +772,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);
@@ -903,7 +903,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.
@@ -1089,7 +1089,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 f1b4cb6c39be..88a3d7e33508 100755
--- a/sd/source/ui/slidesorter/controller/SlsSelectionManager.cxx
+++ b/sd/source/ui/slidesorter/controller/SlsSelectionManager.cxx
@@ -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/controller/SlsSlideFunction.cxx b/sd/source/ui/slidesorter/controller/SlsSlideFunction.cxx
index 7fe090ad5541..d664206f3d58 100755
--- a/sd/source/ui/slidesorter/controller/SlsSlideFunction.cxx
+++ b/sd/source/ui/slidesorter/controller/SlsSlideFunction.cxx
@@ -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 @@ 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 e571a765bdad..bc25f5750f6f 100755
--- a/sd/source/ui/slidesorter/controller/SlsSlotManager.cxx
+++ b/sd/source/ui/slidesorter/controller/SlsSlotManager.cxx
@@ -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
@@ -292,7 +292,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)
@@ -614,7 +614,7 @@ void SlotManager::GetMenuState ( SfxItemSet& rSet)
break;
}
}
-
+
PageKind ePageKind = mrSlideSorter.GetModel().GetPageType();
if( (eEditMode == EM_MASTERPAGE) && (ePageKind != PK_HANDOUT ) )
{
@@ -759,10 +759,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;
@@ -1024,7 +1024,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 20ddc937469c..a7ac47e771ab 100644
--- a/sd/source/ui/slidesorter/controller/SlsTransferable.cxx
+++ b/sd/source/ui/slidesorter/controller/SlsTransferable.cxx
@@ -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,8 +36,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 f527fd4768b9..ca0b26227fe7 100644
--- a/sd/source/ui/slidesorter/controller/SlsTransferable.hxx
+++ b/sd/source/ui/slidesorter/controller/SlsTransferable.hxx
@@ -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,10 +31,10 @@
#include "sdxfer.hxx"
class SdDrawDocument;
-namespace sd
+namespace sd
{
class pWorkView;
- namespace slidesorter
+ namespace slidesorter
{
class SlideSorterViewShell;
}
@@ -48,10 +48,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 c828e95d1d02..dc3221fc5958 100644
--- a/sd/source/ui/slidesorter/inc/cache/SlsCacheContext.hxx
+++ b/sd/source/ui/slidesorter/inc/cache/SlsCacheContext.hxx
@@ -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/inc/cache/SlsPageCache.hxx b/sd/source/ui/slidesorter/inc/cache/SlsPageCache.hxx
index 4a5c2b51ac28..746236bb3edc 100755
--- a/sd/source/ui/slidesorter/inc/cache/SlsPageCache.hxx
+++ b/sd/source/ui/slidesorter/inc/cache/SlsPageCache.hxx
@@ -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/inc/cache/SlsPageCacheManager.hxx b/sd/source/ui/slidesorter/inc/cache/SlsPageCacheManager.hxx
index 50202a7eed3d..13fd5ab8b0d4 100644
--- a/sd/source/ui/slidesorter/inc/cache/SlsPageCacheManager.hxx
+++ b/sd/source/ui/slidesorter/inc/cache/SlsPageCacheManager.hxx
@@ -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
@@ -91,7 +91,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,
@@ -134,7 +134,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 667aa768ee8f..47ef3606b207 100755
--- a/sd/source/ui/slidesorter/inc/controller/SlideSorterController.hxx
+++ b/sd/source/ui/slidesorter/inc/controller/SlideSorterController.hxx
@@ -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
@@ -78,7 +78,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);
@@ -138,7 +138,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 50c23e3dff4e..782ad4fa9a0c 100644
--- a/sd/source/ui/slidesorter/inc/controller/SlsAnimator.hxx
+++ b/sd/source/ui/slidesorter/inc/controller/SlsAnimator.hxx
@@ -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/inc/controller/SlsClipboard.hxx b/sd/source/ui/slidesorter/inc/controller/SlsClipboard.hxx
index 0bdbd7cb569f..085c990b0fa2 100644
--- a/sd/source/ui/slidesorter/inc/controller/SlsClipboard.hxx
+++ b/sd/source/ui/slidesorter/inc/controller/SlsClipboard.hxx
@@ -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
@@ -84,16 +84,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:
@@ -128,7 +128,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 b0f3a75b540c..474c297d3321 100644
--- a/sd/source/ui/slidesorter/inc/controller/SlsCurrentSlideManager.hxx
+++ b/sd/source/ui/slidesorter/inc/controller/SlsCurrentSlideManager.hxx
@@ -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
@@ -74,7 +74,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 ecc02e8590c1..d1403125762b 100644
--- a/sd/source/ui/slidesorter/inc/controller/SlsFocusManager.hxx
+++ b/sd/source/ui/slidesorter/inc/controller/SlsFocusManager.hxx
@@ -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,7 +47,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
@@ -173,7 +173,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.
@@ -202,7 +202,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 59e8f05a3883..3d528e47648b 100644
--- a/sd/source/ui/slidesorter/inc/controller/SlsPageObjectFactory.hxx
+++ b/sd/source/ui/slidesorter/inc/controller/SlsPageObjectFactory.hxx
@@ -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
@@ -55,7 +55,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 57aaf9293301..4be60e82bd59 100755
--- a/sd/source/ui/slidesorter/inc/controller/SlsPageSelector.hxx
+++ b/sd/source/ui/slidesorter/inc/controller/SlsPageSelector.hxx
@@ -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
@@ -85,7 +85,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.
@@ -122,7 +122,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
@@ -172,7 +172,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 51e353d696b9..ecd3d9e94a32 100644
--- a/sd/source/ui/slidesorter/inc/controller/SlsProperties.hxx
+++ b/sd/source/ui/slidesorter/inc/controller/SlsProperties.hxx
@@ -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/inc/controller/SlsScrollBarManager.hxx b/sd/source/ui/slidesorter/inc/controller/SlsScrollBarManager.hxx
index c93ed7708650..30d4d93cc7ab 100755
--- a/sd/source/ui/slidesorter/inc/controller/SlsScrollBarManager.hxx
+++ b/sd/source/ui/slidesorter/inc/controller/SlsScrollBarManager.hxx
@@ -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
@@ -52,7 +52,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>
@@ -92,7 +92,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
@@ -169,7 +169,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 79b8a1ff5d44..9ce5a5e96468 100755
--- a/sd/source/ui/slidesorter/inc/controller/SlsSelectionFunction.hxx
+++ b/sd/source/ui/slidesorter/inc/controller/SlsSelectionFunction.hxx
@@ -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,24 +47,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();
@@ -81,7 +81,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();
@@ -109,7 +109,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 c0fab6da84c6..046e1b515bf5 100644
--- a/sd/source/ui/slidesorter/inc/controller/SlsSelectionManager.hxx
+++ b/sd/source/ui/slidesorter/inc/controller/SlsSelectionManager.hxx
@@ -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 @@ 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
@@ -79,7 +79,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 5b8c7d9a08b6..2a41e18ba637 100755
--- a/sd/source/ui/slidesorter/inc/controller/SlsSlideFunction.hxx
+++ b/sd/source/ui/slidesorter/inc/controller/SlsSlideFunction.hxx
@@ -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/inc/controller/SlsSlotManager.hxx b/sd/source/ui/slidesorter/inc/controller/SlsSlotManager.hxx
index 0e58d5d3b411..aab6175033e7 100755
--- a/sd/source/ui/slidesorter/inc/controller/SlsSlotManager.hxx
+++ b/sd/source/ui/slidesorter/inc/controller/SlsSlotManager.hxx
@@ -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
@@ -48,7 +48,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 4ade19087304..8851ca6b863a 100755
--- a/sd/source/ui/slidesorter/inc/model/SlideSorterModel.hxx
+++ b/sd/source/ui/slidesorter/inc/model/SlideSorterModel.hxx
@@ -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
@@ -125,7 +125,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 c93641a51204..989e0c46397d 100644
--- a/sd/source/ui/slidesorter/inc/model/SlsEnumeration.hxx
+++ b/sd/source/ui/slidesorter/inc/model/SlsEnumeration.hxx
@@ -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 @@ 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 81877ce7465c..7f53d3e6d75e 100755
--- a/sd/source/ui/slidesorter/inc/model/SlsPageDescriptor.hxx
+++ b/sd/source/ui/slidesorter/inc/model/SlsPageDescriptor.hxx
@@ -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
@@ -58,9 +58,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:
@@ -78,7 +78,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
@@ -108,8 +108,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);
@@ -183,9 +183,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 3586eead3532..fa613032bbcb 100644
--- a/sd/source/ui/slidesorter/inc/model/SlsPageEnumeration.hxx
+++ b/sd/source/ui/slidesorter/inc/model/SlsPageEnumeration.hxx
@@ -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
@@ -119,7 +119,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 8aa51174b166..06c1ce38c356 100644
--- a/sd/source/ui/slidesorter/inc/model/SlsPageEnumerationProvider.hxx
+++ b/sd/source/ui/slidesorter/inc/model/SlsPageEnumerationProvider.hxx
@@ -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
@@ -48,12 +48,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 6dba8a848ae1..9837f6ef07f4 100644
--- a/sd/source/ui/slidesorter/inc/model/SlsSharedPageDescriptor.hxx
+++ b/sd/source/ui/slidesorter/inc/model/SlsSharedPageDescriptor.hxx
@@ -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/inc/view/SlideSorterView.hxx b/sd/source/ui/slidesorter/inc/view/SlideSorterView.hxx
index 2ef520b1df89..f267bc73ceee 100755
--- a/sd/source/ui/slidesorter/inc/view/SlideSorterView.hxx
+++ b/sd/source/ui/slidesorter/inc/view/SlideSorterView.hxx
@@ -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
@@ -76,7 +76,7 @@ public:
@param rViewShell
This reference is simply passed to the base class and not used
by this class.
-
+
*/
SlideSorterView (SlideSorter& rSlideSorter);
@@ -186,7 +186,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);
@@ -196,7 +196,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 2b71c0e50152..9ecc8508549b 100644
--- a/sd/source/ui/slidesorter/inc/view/SlsFontProvider.hxx
+++ b/sd/source/ui/slidesorter/inc/view/SlsFontProvider.hxx
@@ -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/inc/view/SlsLayouter.hxx b/sd/source/ui/slidesorter/inc/view/SlsLayouter.hxx
index 9b1fd996e9c0..25745d867e1c 100755
--- a/sd/source/ui/slidesorter/inc/view/SlsLayouter.hxx
+++ b/sd/source/ui/slidesorter/inc/view/SlsLayouter.hxx
@@ -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,7 +40,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.
@@ -54,7 +54,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
@@ -114,7 +114,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
@@ -133,12 +133,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);
@@ -186,7 +186,7 @@ public:
the right of the page object.
*/
Rectangle GetInsertionMarkerBox (
- sal_Int32 nIndex,
+ sal_Int32 nIndex,
bool bVertical,
bool bLeftOrTop) const;
@@ -267,12 +267,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;
@@ -321,7 +321,7 @@ private:
row above or below respectively.
*/
sal_Int32 GetRowAtPosition (
- sal_Int32 nYPosition,
+ sal_Int32 nYPosition,
bool bIncludeBordersAndGaps,
GapMembership eGapMembership = GM_NONE) const;
@@ -341,13 +341,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 0f4ede6216c1..ef14ae81c12a 100644
--- a/sd/source/ui/slidesorter/inc/view/SlsPageObject.hxx
+++ b/sd/source/ui/slidesorter/inc/view/SlsPageObject.hxx
@@ -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
@@ -43,7 +43,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 31899d3b3e44..63d53eeb415e 100755
--- a/sd/source/ui/slidesorter/inc/view/SlsPageObjectViewContact.hxx
+++ b/sd/source/ui/slidesorter/inc/view/SlsPageObjectViewContact.hxx
@@ -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
@@ -52,16 +52,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 7e884fc54797..4310d381e852 100644
--- a/sd/source/ui/slidesorter/inc/view/SlsPageObjectViewObjectContact.hxx
+++ b/sd/source/ui/slidesorter/inc/view/SlsPageObjectViewObjectContact.hxx
@@ -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
@@ -77,7 +77,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);
@@ -157,7 +157,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 4ff076f72560..e147d8f314e2 100644
--- a/sd/source/ui/slidesorter/inc/view/SlsViewOverlay.hxx
+++ b/sd/source/ui/slidesorter/inc/view/SlsViewOverlay.hxx
@@ -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
@@ -192,7 +192,7 @@ protected:
private:
sal_Int32 mnInsertionIndex;
Rectangle maBoundingBox;
-
+
void SetPositionAndSize (const Rectangle& rBoundingBox);
};
@@ -241,7 +241,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 0bf9052f5382..260492b8a797 100755
--- a/sd/source/ui/slidesorter/model/SlideSorterModel.cxx
+++ b/sd/source/ui/slidesorter/model/SlideSorterModel.cxx
@@ -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
@@ -185,7 +185,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())
@@ -215,7 +215,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)
@@ -223,7 +223,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;
}
@@ -306,7 +306,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 ffd93cbf0a13..331b23baae85 100755
--- a/sd/source/ui/slidesorter/model/SlsPageDescriptor.cxx
+++ b/sd/source/ui/slidesorter/model/SlsPageDescriptor.cxx
@@ -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
@@ -203,7 +203,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 0e472c04880e..b7a8f22340b1 100644
--- a/sd/source/ui/slidesorter/model/SlsPageEnumeration.cxx
+++ b/sd/source/ui/slidesorter/model/SlsPageEnumeration.cxx
@@ -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
@@ -71,7 +71,7 @@ private:
inline void AdvanceToNextValidElement (void);
// Default constructor not implemented.
- PageEnumerationImpl (void);
+ PageEnumerationImpl (void);
// Assignment operator not implemented.
PageEnumerationImpl& operator= (const PageEnumerationImpl&);
};
@@ -91,10 +91,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)
@@ -198,7 +198,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 c8c17e21819e..72ab3313e5fd 100644
--- a/sd/source/ui/slidesorter/model/SlsPageEnumerationProvider.cxx
+++ b/sd/source/ui/slidesorter/model/SlsPageEnumerationProvider.cxx
@@ -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
@@ -56,7 +56,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 768dd5f9458a..ef48f9c5d5e3 100644
--- a/sd/source/ui/slidesorter/shell/SlideSorter.cxx
+++ b/sd/source/ui/slidesorter/shell/SlideSorter.cxx
@@ -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
@@ -351,18 +351,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();
@@ -381,19 +381,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));
}
@@ -408,7 +408,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,
@@ -510,7 +510,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 985fb72b38a5..a228bcaf1d1f 100644
--- a/sd/source/ui/slidesorter/shell/SlideSorterChildWindow.cxx
+++ b/sd/source/ui/slidesorter/shell/SlideSorterChildWindow.cxx
@@ -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,18 +40,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 787086b4596e..f4b06e9afb18 100755
--- a/sd/source/ui/slidesorter/shell/SlideSorterService.cxx
+++ b/sd/source/ui/slidesorter/shell/SlideSorterService.cxx
@@ -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
@@ -140,7 +140,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);
@@ -294,7 +294,7 @@ Reference<container::XIndexAccess> SAL_CALL SlideSorterService::getDocumentSlide
{
return mpSlideSorter->GetModel().GetDocumentSlides();
}
-
+
@@ -306,7 +306,7 @@ void SAL_CALL SlideSorterService::setDocumentSlides (
if (mpSlideSorter.get() != NULL && mpSlideSorter->IsValid())
mpSlideSorter->GetController().SetDocumentSlides(rxSlides);
}
-
+
@@ -420,7 +420,7 @@ sal_Bool SAL_CALL SlideSorterService::getIsSuspendPreviewUpdatesDuringFullScreen
return mpSlideSorter->GetController().GetProperties()
->IsSuspendPreviewUpdatesDuringFullScreenPresentation();
}
-
+
@@ -433,7 +433,7 @@ void SAL_CALL SlideSorterService::setIsSuspendPreviewUpdatesDuringFullScreenPres
mpSlideSorter->GetController().GetProperties()
->SetSuspendPreviewUpdatesDuringFullScreenPresentation(bValue);
}
-
+
@@ -446,7 +446,7 @@ sal_Bool SAL_CALL SlideSorterService::getIsOrientationVertical (void)
else
return mpSlideSorter->GetView().GetOrientation() == SlideSorterView::VERTICAL;
}
-
+
@@ -472,7 +472,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 9af239c64fd1..73ec088af21c 100755
--- a/sd/source/ui/slidesorter/shell/SlideSorterService.hxx
+++ b/sd/source/ui/slidesorter/shell/SlideSorterService.hxx
@@ -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
@@ -71,7 +71,7 @@ public:
// XInitialization
-
+
virtual void SAL_CALL initialize (const css::uno::Sequence<css::uno::Any>& rArguments)
throw (css::uno::Exception, css::uno::RuntimeException);
@@ -86,7 +86,7 @@ public:
// XWindowListener
-
+
virtual void SAL_CALL windowResized (const css::awt::WindowEvent& rEvent)
throw (css::uno::RuntimeException);
@@ -116,48 +116,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);
@@ -202,7 +202,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 86ec4002cd02..07e4ef749061 100755
--- a/sd/source/ui/slidesorter/shell/SlideSorterViewShell.cxx
+++ b/sd/source/ui/slidesorter/shell/SlideSorterViewShell.cxx
@@ -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 @@
#include <cppuhelper/bootstrap.hxx>
#include <comphelper/processfactory.hxx>
-using namespace ::sd::slidesorter;
+using namespace ::sd::slidesorter;
#define SlideSorterViewShell
#include "sdslots.hxx"
@@ -94,7 +94,7 @@ TYPEINIT1(SlideSorterViewShell, ViewShell);
::boost::shared_ptr<SlideSorterViewShell> SlideSorterViewShell::Create (
- SfxViewFrame* pFrame,
+ SfxViewFrame* pFrame,
ViewShellBase& rViewShellBase,
::Window* pParentWindow,
FrameView* pFrameViewArgument)
@@ -119,7 +119,7 @@ TYPEINIT1(SlideSorterViewShell, ViewShell);
SlideSorterViewShell::SlideSorterViewShell (
- SfxViewFrame* pFrame,
+ SfxViewFrame* pFrame,
ViewShellBase& rViewShellBase,
::Window* pParentWindow,
FrameView* pFrameViewArgument)
@@ -215,7 +215,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,
@@ -256,7 +256,7 @@ Reference<drawing::XDrawSubController> SlideSorterViewShell::CreateSubController
*mpSlideSorter,
*GetView()));
}
-
+
return xSubController;
}
@@ -356,10 +356,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())
@@ -368,7 +368,7 @@ SdPage* SlideSorterViewShell::GetActualPage (void)
if (pMainViewShell.get() != NULL)
pCurrentPage = pMainViewShell->GetActualPage();
}
-
+
if (pCurrentPage == NULL)
{
model::SharedPageDescriptor pDescriptor (
@@ -376,7 +376,7 @@ SdPage* SlideSorterViewShell::GetActualPage (void)
if (pDescriptor.get() != NULL)
pCurrentPage = pDescriptor->GetPage();
}
-
+
return pCurrentPage;
}
@@ -507,7 +507,7 @@ void SlideSorterViewShell::PrePaint()
void SlideSorterViewShell::Paint (
- const Rectangle& rBBox,
+ const Rectangle& rBBox,
::sd::Window* pWindow)
{
SetActiveWindow (pWindow);
@@ -540,7 +540,7 @@ SvBorder SlideSorterViewShell::GetBorder (bool )
void SlideSorterViewShell::Command (
- const CommandEvent& rEvent,
+ const CommandEvent& rEvent,
::sd::Window* pWindow)
{
OSL_ASSERT(mpSlideSorter.get()!=NULL);
@@ -570,7 +570,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() );
@@ -681,7 +681,7 @@ void SlideSorterViewShell::StartDrag (
{
OSL_ASSERT(mpSlideSorter.get()!=NULL);
mpSlideSorter->GetController().GetClipboard().StartDrag (
- rDragPt,
+ rDragPt,
pWindow);
}
@@ -700,14 +700,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,
@@ -718,15 +718,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 d2c2310329a6..f8ee4c72523a 100755
--- a/sd/source/ui/slidesorter/view/SlideSorterView.cxx
+++ b/sd/source/ui/slidesorter/view/SlideSorterView.cxx
@@ -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
@@ -84,8 +84,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()),
@@ -139,7 +139,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();
@@ -153,7 +153,7 @@ SlideSorterView::~SlideSorterView (void)
sal_Int32 SlideSorterView::GetPageIndexAtPoint (const Point& rPosition) const
{
sal_Int32 nIndex (-1);
-
+
::sd::Window* pWindow = GetWindow();
if (pWindow != NULL)
{
@@ -203,8 +203,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();
}
@@ -283,7 +283,7 @@ void SlideSorterView::HandleDrawModeChange (void)
new controller::PageObjectFactory(
GetPreviewCache(),
mrSlideSorter.GetController().GetProperties())));
-
+
RequestRepaint();
}
@@ -353,13 +353,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 ();
}
@@ -387,14 +387,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)
@@ -432,7 +432,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;
@@ -441,7 +441,7 @@ void SlideSorterView::DeterminePageObjectVisibilities (void)
iListener->Call(NULL);
}
}
- }
+ }
}
@@ -456,7 +456,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);
@@ -598,7 +598,7 @@ void SlideSorterView::CompleteRedraw(OutputDevice* pDevice, const Region& rPaint
void SlideSorterView::InvalidateOneWin (::Window& rWindow)
{
- // if ( IsInvalidateAllowed() )
+ // if ( IsInvalidateAllowed() )
View::InvalidateOneWin (rWindow);
}
@@ -606,10 +606,10 @@ void SlideSorterView::InvalidateOneWin (::Window& rWindow)
void SlideSorterView::InvalidateOneWin (
- ::Window& rWindow,
+ ::Window& rWindow,
const Rectangle& rPaintArea)
{
- // if( IsInvalidateAllowed() )
+ // if( IsInvalidateAllowed() )
View::InvalidateOneWin (rWindow, rPaintArea);
}
@@ -641,7 +641,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;
}
@@ -656,10 +656,10 @@ void SlideSorterView::AdaptBoundingBox (
if (eCoordinateSystem != aCurrentCoordinateSystem)
{
if (eCoordinateSystem == CS_MODEL)
- rModelPageObjectBoundingBox
+ rModelPageObjectBoundingBox
= pWindow->PixelToLogic (rModelPageObjectBoundingBox);
else
- rModelPageObjectBoundingBox
+ rModelPageObjectBoundingBox
= pWindow->LogicToPixel (rModelPageObjectBoundingBox);
}
}
@@ -720,7 +720,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)
@@ -745,7 +745,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 9d2e224aefdf..ec7f8aac01aa 100644
--- a/sd/source/ui/slidesorter/view/SlsFontProvider.cxx
+++ b/sd/source/ui/slidesorter/view/SlsFontProvider.cxx
@@ -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
@@ -113,11 +113,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));
@@ -125,7 +125,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 3767a655c48b..cd5bf9b47db8 100755
--- a/sd/source/ui/slidesorter/view/SlsLayouter.cxx
+++ b/sd/source/ui/slidesorter/view/SlsLayouter.cxx
@@ -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
@@ -72,9 +72,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)
@@ -91,9 +91,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)
@@ -110,7 +110,7 @@ void Layouter::SetPageBorders (
void Layouter::SetColumnCount (
- sal_Int32 nMinimalColumnCount,
+ sal_Int32 nMinimalColumnCount,
sal_Int32 nMaximalColumnCount)
{
if (nMinimalColumnCount <= nMaximalColumnCount)
@@ -170,11 +170,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;
@@ -196,7 +196,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());
@@ -231,7 +231,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)
@@ -266,11 +266,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;
@@ -288,7 +288,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());
@@ -353,7 +353,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();
}
@@ -381,7 +381,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,
@@ -402,20 +402,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;
}
@@ -429,7 +429,7 @@ Rectangle Layouter::GetPageBox (sal_Int32 nObjectCount) const
Rectangle Layouter::GetInsertionMarkerBox (
- sal_Int32 nIndex,
+ sal_Int32 nIndex,
bool bVertical,
bool bLeftOrTop) const
{
@@ -442,14 +442,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;
}
@@ -469,8 +469,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;
@@ -495,7 +495,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;
}
@@ -507,13 +507,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
@@ -531,7 +531,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.
*/
@@ -541,34 +541,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;
@@ -585,18 +585,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,
@@ -608,13 +608,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)
{
@@ -651,13 +651,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)
{
@@ -719,11 +719,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 ++;
@@ -744,7 +744,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 28c572de9594..3b03beaaad7c 100644
--- a/sd/source/ui/slidesorter/view/SlsPageObject.cxx
+++ b/sd/source/ui/slidesorter/view/SlsPageObject.cxx
@@ -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/view/SlsPageObjectViewContact.cxx b/sd/source/ui/slidesorter/view/SlsPageObjectViewContact.cxx
index 303e78eeff61..a398900d2943 100755
--- a/sd/source/ui/slidesorter/view/SlsPageObjectViewContact.cxx
+++ b/sd/source/ui/slidesorter/view/SlsPageObjectViewContact.cxx
@@ -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
@@ -60,15 +60,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 b1e4e80fdf1f..ec006c0dc7d7 100755
--- a/sd/source/ui/slidesorter/view/SlsPageObjectViewObjectContact.cxx
+++ b/sd/source/ui/slidesorter/view/SlsPageObjectViewObjectContact.cxx
@@ -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
@@ -82,7 +82,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)
@@ -200,7 +200,7 @@ Rectangle PageObjectViewObjectContact::GetBoundingBox (
case NameBoundingBox:
break;
-
+
case FadeEffectIndicatorBoundingBox:
Size aModelOffset = rDevice.PixelToLogic(Size (0, mnFadeEffectIndicatorOffset));
// Flush left just outside the selection rectangle.
@@ -258,7 +258,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
@@ -273,7 +273,7 @@ public:
};
SdPageObjectBasePrimitive::SdPageObjectBasePrimitive(const basegfx::B2DRange& rRange)
-: drawinglayer::primitive2d::BufferedDecompositionPrimitive2D(),
+: drawinglayer::primitive2d::BufferedDecompositionPrimitive2D(),
maRange(rRange)
{
}
@@ -300,7 +300,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.
@@ -329,7 +329,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
@@ -347,7 +347,7 @@ Primitive2DSequence SdPageObjectPageBitmapPrimitive::create2DDecomposition(const
SdPageObjectPageBitmapPrimitive::SdPageObjectPageBitmapPrimitive(
const basegfx::B2DRange& rRange,
const BitmapEx& rBitmapEx)
-: SdPageObjectBasePrimitive(rRange),
+: SdPageObjectBasePrimitive(rRange),
maBitmapEx(rBitmapEx)
{
}
@@ -451,7 +451,7 @@ Primitive2DSequence SdPageObjectSelectPrimitive::create2DDecomposition(const dra
}
SdPageObjectSelectPrimitive::SdPageObjectSelectPrimitive(const basegfx::B2DRange& rRange)
-: SdPageObjectBasePrimitive(rRange)
+: SdPageObjectBasePrimitive(rRange)
{
}
@@ -493,14 +493,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)
{
}
@@ -574,7 +574,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));
@@ -583,7 +583,7 @@ Primitive2DSequence SdPageObjectFocusPrimitive::create2DDecomposition(const draw
}
SdPageObjectFocusPrimitive::SdPageObjectFocusPrimitive(const basegfx::B2DRange& rRange, const bool bContrast)
- : SdPageObjectBasePrimitive(rRange),
+ : SdPageObjectBasePrimitive(rRange),
mbContrastToSelected(bContrast)
{
}
@@ -611,14 +611,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;
@@ -712,7 +712,7 @@ Primitive2DSequence SdPageObjectFadeNameNumberPrimitive::create2DDecomposition(c
basegfx::B2DVector aTextSizeAttribute;
const drawinglayer::attribute::FontAttribute aFontAttribute(
drawinglayer::primitive2d::getFontAttributeFromVclFont(
- aTextSizeAttribute,
+ aTextSizeAttribute,
getPageNameFont(),
false,
false));
@@ -726,12 +726,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;
@@ -748,9 +748,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
@@ -762,11 +762,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);
@@ -812,13 +812,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));
}
@@ -826,7 +826,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());
@@ -853,13 +853,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())
@@ -891,7 +891,7 @@ SdPageObjectFadeNameNumberPrimitive::SdPageObjectFadeNameNumberPrimitive(
bool bShowFadeEffectIcon,
bool bShowCommentsIcon,
bool bExcluded)
-: SdPageObjectBasePrimitive(rRange),
+: SdPageObjectBasePrimitive(rRange),
maPageName(rPageName),
mnPageNumber(nPageNumber),
maPageNameFont(rPageNameFont),
@@ -938,8 +938,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
@@ -965,7 +965,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
@@ -984,14 +984,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));
@@ -1011,13 +1011,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
@@ -1042,11 +1042,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);
@@ -1135,7 +1135,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)
@@ -1334,7 +1334,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 57872105e1cc..c486fa76107a 100644
--- a/sd/source/ui/slidesorter/view/SlsViewCacheContext.cxx
+++ b/sd/source/ui/slidesorter/view/SlsViewCacheContext.cxx
@@ -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/view/SlsViewCacheContext.hxx b/sd/source/ui/slidesorter/view/SlsViewCacheContext.hxx
index e29b65068d1d..8ad0c9f8e8f6 100644
--- a/sd/source/ui/slidesorter/view/SlsViewCacheContext.hxx
+++ b/sd/source/ui/slidesorter/view/SlsViewCacheContext.hxx
@@ -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
@@ -56,7 +56,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 32576240036c..dbd6640455f4 100644
--- a/sd/source/ui/slidesorter/view/SlsViewOverlay.cxx
+++ b/sd/source/ui/slidesorter/view/SlsViewOverlay.cxx
@@ -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
@@ -134,7 +134,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)
@@ -220,7 +220,7 @@ void SubstitutionOverlay::Create (
EnsureRegistration();
maPosition = rPosition;
-
+
maShapes.clear();
while (rSelection.HasMoreElements())
{
@@ -257,7 +257,7 @@ void SubstitutionOverlay::Move (const Point& rOffset)
maShapes.transform(aTranslation);
maPosition += rOffset;
-
+
objectChange();
}
@@ -430,10 +430,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;
@@ -450,13 +450,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;
@@ -479,7 +479,7 @@ void InsertionIndicatorOverlay::SetPosition (const Point& rPoint)
Rectangle aBox;
if (mnInsertionIndex >= 0)
aBox = rLayouter.GetInsertionMarkerBox (
- nDrawIndex,
+ nDrawIndex,
bVertical,
bLeftOrTop);
SetPositionAndSize (aBox);
@@ -554,7 +554,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 cdba12e9887e..56ab370801b7 100755
--- a/sd/source/ui/table/TableDesignPane.cxx
+++ b/sd/source/ui/table/TableDesignPane.cxx
@@ -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
@@ -142,7 +142,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 );
@@ -240,7 +240,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 );
@@ -285,14 +285,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() ) );
@@ -343,7 +343,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" ) ) ) )
{
@@ -406,7 +406,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();
@@ -423,7 +423,7 @@ void TableDesignPane::updateLayout()
pValueSet->SetColCount ((USHORT)nColumnCount);
pValueSet->SetLineCount ((USHORT)nRowCount);
-
+
if( !mbModal )
{
WinBits nStyle = pValueSet->GetStyle() & ~(WB_VSCROLL);
@@ -699,7 +699,7 @@ static void FillCellInfoMatrix( const CellInfoVector& rStyle, const TableStyleSe
}
}
}
-
+
if( !xCellInfo.get() )
{
if( rSettings.mbUseColumnBanding )
@@ -736,7 +736,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 f587cdeb1b19..a5fad040a298 100644
--- a/sd/source/ui/table/TableDesignPane.hxx
+++ b/sd/source/ui/table/TableDesignPane.hxx
@@ -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
@@ -114,11 +114,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 b30e259e049a..3485f094a530 100755
--- a/sd/source/ui/table/tablefunction.cxx
+++ b/sd/source/ui/table/tablefunction.cxx
@@ -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
@@ -233,7 +233,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 b46090f1e7eb..f31f4f3da228 100644
--- a/sd/source/ui/table/tableobjectbar.cxx
+++ b/sd/source/ui/table/tableobjectbar.cxx
@@ -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
@@ -95,9 +95,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 )
@@ -177,7 +177,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 e1f7b7aed371..1711ed26aa7d 100644
--- a/sd/source/ui/table/tableobjectbar.hxx
+++ b/sd/source/ui/table/tableobjectbar.hxx
@@ -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
@@ -50,9 +50,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 261017ee3e1d..3eaa9ba76741 100644
--- a/sd/source/ui/toolpanel/ConstrainedIterator.cxx
+++ b/sd/source/ui/toolpanel/ConstrainedIterator.cxx
@@ -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
@@ -39,7 +39,7 @@ namespace sd { namespace toolpanel {
template <class Container>
-ConstrainedIterator<Container>::value_type&
+ConstrainedIterator<Container>::value_type&
ConstrainedIterator<Container>::operator* (void)
{
return *maIterator;
@@ -49,7 +49,7 @@ ConstrainedIterator<Container>::value_type&
template <class Container>
-const ConstrainedIterator<Container>::value_type&
+const ConstrainedIterator<Container>::value_type&
ConstrainedIterator<Container>::operator* (void)
const
{
@@ -60,7 +60,7 @@ const ConstrainedIterator<Container>::value_type&
template <class Container>
-ConstrainedIterator<Container>::value_type&
+ConstrainedIterator<Container>::value_type&
ConstrainedIterator<Container>::operator-> (void)
{
return *maIterator;
@@ -70,7 +70,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 8f81ba89ebe7..90b615006c53 100644
--- a/sd/source/ui/toolpanel/ConstrainedIterator.hxx
+++ b/sd/source/ui/toolpanel/ConstrainedIterator.hxx
@@ -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,7 +38,7 @@ class Constraint
{
public:
virtual bool operator() (
- const Container& rContainer,
+ const Container& rContainer,
const Container::iterator& rIterator) const = 0;
};
@@ -61,10 +61,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 cb8b6c41f5c3..e86660bdc3f0 100644
--- a/sd/source/ui/toolpanel/ControlContainer.cxx
+++ b/sd/source/ui/toolpanel/ControlContainer.cxx
@@ -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
@@ -102,7 +102,7 @@ void ControlContainer::SetExpansionState (
ExpansionState aState)
{
::osl::MutexGuard aGuard (maMutex);
-
+
bool bResizeNecessary (false);
if (mbMultiSelection)
@@ -252,7 +252,7 @@ sal_uInt32 ControlContainer::GetVisibleControlCount (void) const
if (maControlList[nIndex]->GetWindow()->IsVisible())
nCount += 1;
}
-
+
return nCount;
}
@@ -316,7 +316,7 @@ sal_uInt32 ControlContainer::GetPreviousIndex (
// The candidate does not meet our constraints so do one more loop.
}
-
+
return nCandidate;
}
@@ -368,7 +368,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 3557200880d2..3375381a65b7 100644
--- a/sd/source/ui/toolpanel/ControlContainerDescriptor.hxx
+++ b/sd/source/ui/toolpanel/ControlContainerDescriptor.hxx
@@ -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
@@ -66,12 +66,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 623a9567215f..97f746e6b37a 100644
--- a/sd/source/ui/toolpanel/ControlList.hxx
+++ b/sd/source/ui/toolpanel/ControlList.hxx
@@ -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/toolpanel/LayoutMenu.cxx b/sd/source/ui/toolpanel/LayoutMenu.cxx
index ec4eb1e43d4d..926ae1b9bb8e 100755
--- a/sd/source/ui/toolpanel/LayoutMenu.cxx
+++ b/sd/source/ui/toolpanel/LayoutMenu.cxx
@@ -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
@@ -111,7 +111,7 @@ private:
};
-SFX_IMPL_INTERFACE(LayoutMenu, SfxShell,
+SFX_IMPL_INTERFACE(LayoutMenu, SfxShell,
SdResId(STR_TASKPANELAYOUTMENU))
{
SFX_POPUPMENU_REGISTRATION(SdResId(RID_TASKPANE_LAYOUTMENU_POPUP));
@@ -156,15 +156,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
@@ -223,7 +223,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,
@@ -241,7 +241,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();
@@ -266,7 +266,7 @@ LayoutMenu::~LayoutMenu (void)
AutoLayout LayoutMenu::GetSelectedAutoLayout (void)
{
AutoLayout aResult = AUTOLAYOUT_NONE;
-
+
if ( ! IsNoSelection() && GetSelectItemId()!=0)
{
AutoLayout* pLayout = static_cast<AutoLayout*>(GetItemData(GetSelectItemId()));
@@ -287,7 +287,7 @@ Size LayoutMenu::GetPreferredSize (void)
{
Size aItemSize = CalcItemSizePixel (Size());
Size aPreferredWindowSize = CalcWindowSizePixel (
- aItemSize,
+ aItemSize,
(USHORT)mnPreferredColumnCount,
(USHORT)CalculateRowCount (aItemSize,mnPreferredColumnCount));
return aPreferredWindowSize;
@@ -388,7 +388,7 @@ void LayoutMenu::UpdateEnabledState (const MasterMode eMode)
// expanded.
bIsEnabled = true;
break;
-
+
case ViewShell::ST_DRAW:
case ViewShell::ST_IMPRESS:
{
@@ -481,7 +481,7 @@ void LayoutMenu::Resize (void)
nColumnCount = 4;
int nRowCount = CalculateRowCount (aItemSize, nColumnCount);
-
+
SetColCount ((USHORT)nColumnCount);
SetLineCount ((USHORT)nRowCount);
}
@@ -504,7 +504,7 @@ void LayoutMenu::MouseButtonDown (const MouseEvent& rEvent)
if (nIndex > 0)
SelectItem(nIndex);
}
-
+
ValueSet::MouseButtonDown (rEvent);
}
@@ -697,7 +697,7 @@ void LayoutMenu::AssignLayoutToSelectedSlides (AutoLayout aLayout)
pPageSelection.reset(new ::sd::slidesorter::SlideSorterViewShell::PageSelection());
pPageSelection->push_back(pMainViewShell->GetActualPage());
}
-
+
if (pPageSelection->empty())
break;
@@ -742,7 +742,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));
@@ -767,7 +767,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.
@@ -785,7 +785,7 @@ void LayoutMenu::Fill (void)
}
catch (RuntimeException&)
{}
-
+
snewfoil_value_info* pInfo = NULL;
if (sCenterPaneViewName.equals(framework::FrameworkHelper::msNotesViewURL))
{
@@ -811,10 +811,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);
@@ -925,7 +925,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 627a363fb576..b9b1658c18c9 100755
--- a/sd/source/ui/toolpanel/LayoutMenu.hxx
+++ b/sd/source/ui/toolpanel/LayoutMenu.hxx
@@ -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
@@ -67,7 +67,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 45b81367c8de..a8f6d673e605 100644
--- a/sd/source/ui/toolpanel/MethodGuard.hxx
+++ b/sd/source/ui/toolpanel/MethodGuard.hxx
@@ -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
diff --git a/sd/source/ui/toolpanel/ScrollPanel.cxx b/sd/source/ui/toolpanel/ScrollPanel.cxx
index 6b10ed889424..1d827874a1ee 100755
--- a/sd/source/ui/toolpanel/ScrollPanel.cxx
+++ b/sd/source/ui/toolpanel/ScrollPanel.cxx
@@ -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
@@ -135,7 +135,7 @@ ScrollPanel::~ScrollPanel (void)
TitledControl* ScrollPanel::AddControl (
- ::std::auto_ptr<TreeNode> pControl,
+ ::std::auto_ptr<TreeNode> pControl,
const String& rTitle,
ULONG nHelpId)
{
@@ -143,14 +143,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;
}
@@ -169,7 +169,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)
{
@@ -192,8 +192,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)
@@ -230,7 +230,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;
@@ -252,7 +252,7 @@ void ScrollPanel::Paint (const Rectangle& rRect)
break;
maScrollWindow.DrawRect (aStripeArea);
}
-
+
maScrollWindow.SetLineColor (aOriginalLineColor);
maScrollWindow.SetFillColor (aOriginalFillColor);
}
@@ -397,7 +397,7 @@ void ScrollPanel::Rearrange (void)
mnChildrenWidth += aRequiredSize.Width();
else
mnChildrenWidth += aAvailableSize.Width();
-
+
sal_Int32 nChildrenHeight (LayoutChildren());
maVerticalScrollBar.SetRangeMax (
nChildrenHeight + mnVerticalBorder);
@@ -413,7 +413,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;
@@ -428,7 +428,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++)
{
@@ -528,7 +528,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());
@@ -585,7 +585,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);
@@ -638,7 +638,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);
@@ -731,7 +731,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)
@@ -764,12 +764,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
@@ -790,13 +790,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:
{
@@ -814,7 +814,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 a032b6ef02f0..78301f8d82b9 100755
--- a/sd/source/ui/toolpanel/SlideSorterCacheDisplay.cxx
+++ b/sd/source/ui/toolpanel/SlideSorterCacheDisplay.cxx
@@ -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
@@ -58,7 +58,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;
};
@@ -177,7 +177,7 @@ void SlideSorterCacheDisplay::Resize (void)
++nC;
}
double nAspect2 = double(nC) / double(nR);
-
+
mnRowCount = nR;
mnColumnCount = nC;
mnHorizontalGap = 2;
@@ -206,10 +206,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 73783b0f0a41..2dd496106e24 100755
--- a/sd/source/ui/toolpanel/SubToolPanel.cxx
+++ b/sd/source/ui/toolpanel/SubToolPanel.cxx
@@ -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,7 +133,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;
@@ -155,7 +155,7 @@ void SubToolPanel::Paint (const Rectangle& rRect)
break;
DrawRect (aStripeArea);
}
-
+
SetLineColor (aOriginalLineColor);
SetFillColor (aOriginalFillColor);
}
@@ -262,7 +262,7 @@ void SubToolPanel::Rearrange (void)
aRequiredSize.Width() = aAvailableSize.Width();
mnChildrenWidth = -2*mnHorizontalBorder;
mnChildrenWidth += aAvailableSize.Width();
-
+
LayoutChildren();
mbIsRearrangePending = false;
@@ -276,7 +276,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;
@@ -291,7 +291,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 4ad610df7f7f..c85d2a0f7df3 100755
--- a/sd/source/ui/toolpanel/TaskPaneControlFactory.cxx
+++ b/sd/source/ui/toolpanel/TaskPaneControlFactory.cxx
@@ -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/toolpanel/TaskPaneFocusManager.cxx b/sd/source/ui/toolpanel/TaskPaneFocusManager.cxx
index 48882d0f2f9e..cf9e9bfd2a2c 100644
--- a/sd/source/ui/toolpanel/TaskPaneFocusManager.cxx
+++ b/sd/source/ui/toolpanel/TaskPaneFocusManager.cxx
@@ -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
@@ -41,7 +41,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); }
};
@@ -176,7 +176,7 @@ void FocusManager::RemoveLinks (
Clear();
return;
}
-
+
::std::pair<LinkMap::iterator,LinkMap::iterator> aCandidates;
LinkMap::iterator iCandidate;
bool bLoop (mpLinks->size() > 0);
@@ -226,7 +226,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);
@@ -257,7 +257,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 b9b28154dc5b..3111b2fe1102 100644
--- a/sd/source/ui/toolpanel/TaskPaneFocusManager.hxx
+++ b/sd/source/ui/toolpanel/TaskPaneFocusManager.hxx
@@ -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
@@ -106,7 +106,7 @@ private:
static FocusManager* spInstance;
class LinkMap;
::std::auto_ptr<LinkMap> mpLinks;
-
+
FocusManager (void);
~FocusManager (void);
@@ -114,7 +114,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 0a9667dd2431..eb49ca4d4477 100755
--- a/sd/source/ui/toolpanel/TaskPaneShellManager.cxx
+++ b/sd/source/ui/toolpanel/TaskPaneShellManager.cxx
@@ -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/toolpanel/TaskPaneShellManager.hxx b/sd/source/ui/toolpanel/TaskPaneShellManager.hxx
index 92e7b6b83b8d..10862070d50b 100755
--- a/sd/source/ui/toolpanel/TaskPaneShellManager.hxx
+++ b/sd/source/ui/toolpanel/TaskPaneShellManager.hxx
@@ -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
@@ -72,7 +72,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
@@ -86,7 +86,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 8c69e12c504d..32ec30de1275 100755
--- a/sd/source/ui/toolpanel/TaskPaneTreeNode.cxx
+++ b/sd/source/ui/toolpanel/TaskPaneTreeNode.cxx
@@ -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
@@ -250,7 +250,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 a8f0b6df7893..81d36ae82c7d 100755
--- a/sd/source/ui/toolpanel/TestMenu.cxx
+++ b/sd/source/ui/toolpanel/TestMenu.cxx
@@ -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
@@ -59,15 +59,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 ();
@@ -117,7 +117,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();
}
@@ -143,7 +143,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();
}
@@ -194,7 +194,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 0c4b3bfe6530..1670e9531620 100755
--- a/sd/source/ui/toolpanel/TestMenu.hxx
+++ b/sd/source/ui/toolpanel/TestMenu.hxx
@@ -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/toolpanel/TestPanel.cxx b/sd/source/ui/toolpanel/TestPanel.cxx
index 044b40dcdb4f..2fa8b4354ac3 100755
--- a/sd/source/ui/toolpanel/TestPanel.cxx
+++ b/sd/source/ui/toolpanel/TestPanel.cxx
@@ -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
@@ -58,8 +58,8 @@ class Wrapper
{
public:
Wrapper (
- TreeNode* pParent,
- Size aPreferredSize,
+ TreeNode* pParent,
+ Size aPreferredSize,
::Window* pWrappedControl,
bool bIsResizable)
: TreeNode (pParent),
@@ -69,7 +69,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 494e5086b179..135e2827bed3 100755
--- a/sd/source/ui/toolpanel/TestPanel.hxx
+++ b/sd/source/ui/toolpanel/TestPanel.hxx
@@ -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/toolpanel/TitleBar.cxx b/sd/source/ui/toolpanel/TitleBar.cxx
index de49b7a6abb5..8ab7b89ae200 100755
--- a/sd/source/ui/toolpanel/TitleBar.cxx
+++ b/sd/source/ui/toolpanel/TitleBar.cxx
@@ -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
@@ -58,7 +58,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)
@@ -286,7 +286,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;
@@ -352,7 +352,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());
}
@@ -376,9 +376,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
@@ -451,7 +451,7 @@ Rectangle TitleBar::CalculateTextBoundingBox (
Rectangle aTextBox (
Point(0,0),
- Size (nAvailableWidth,
+ Size (nAvailableWidth,
GetSettings().GetStyleSettings().GetTitleHeight()));
aTextBox.Top() += (aTextBox.GetHeight() - GetTextHeight()) / 2;
if (HasExpansionIndicator())
@@ -530,7 +530,7 @@ void TitleBar::DataChanged (const DataChangedEvent& rEvent)
mpDevice.reset(new VirtualDevice (*this));
// fall through.
-
+
case DATACHANGED_FONTS:
case DATACHANGED_FONTSUBSTITUTION:
{
@@ -541,7 +541,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 e83e6c47c10a..891ade2ddecd 100755
--- a/sd/source/ui/toolpanel/TitledControl.cxx
+++ b/sd/source/ui/toolpanel/TitledControl.cxx
@@ -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,12 +38,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)
@@ -137,7 +137,7 @@ sal_Int32 TitledControl::GetPreferredHeight (sal_Int32 nWidth)
bool TitledControl::IsResizable (void)
{
- return IsExpanded()
+ return IsExpanded()
&& GetControl()->IsResizable();
}
@@ -156,7 +156,7 @@ void TitledControl::Resize (void)
{
Size aWindowSize (GetOutputSizePixel());
- int nTitleBarHeight
+ int nTitleBarHeight
= GetTitleBar()->GetPreferredHeight(aWindowSize.Width());
GetTitleBar()->GetWindow()->SetPosSizePixel (
Point (0,0),
@@ -164,7 +164,7 @@ void TitledControl::Resize (void)
TreeNode* pControl = GetControl();
- if (pControl != NULL
+ if (pControl != NULL
&& pControl->GetWindow() != NULL
&& pControl->GetWindow()->IsVisible())
{
@@ -257,7 +257,7 @@ bool TitledControl::Expand (bool bExpanded)
if (bExpansionStateChanged)
UpdateStates();
}
-
+
return bExpansionStateChanged;
}
@@ -287,7 +287,7 @@ bool TitledControl::IsExpanded (void) const
return false;
}
-void TitledControl::SetEnabledState(bool bFlag)
+void TitledControl::SetEnabledState(bool bFlag)
{
if (!bFlag)
{
@@ -296,13 +296,13 @@ void TitledControl::SetEnabledState(bool bFlag)
ControlContainer::ES_COLLAPSE);
Disable();
}
- else
+ else
{
-/*
+/*
GetParentNode()->GetControlContainer().SetExpansionState (
this,
ControlContainer::ES_EXPAND);
-*/
+*/
Enable();
}
@@ -351,7 +351,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 6dbcae52547a..2438ed521267 100755
--- a/sd/source/ui/toolpanel/ToolPanel.cxx
+++ b/sd/source/ui/toolpanel/ToolPanel.cxx
@@ -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
@@ -88,7 +88,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 2fe4a64c71be..f40873a4161a 100644
--- a/sd/source/ui/toolpanel/ToolPanel.hxx
+++ b/sd/source/ui/toolpanel/ToolPanel.hxx
@@ -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
diff --git a/sd/source/ui/toolpanel/ToolPanelDescriptor.hxx b/sd/source/ui/toolpanel/ToolPanelDescriptor.hxx
index 4ac31ef53e23..0210246d7ac1 100644
--- a/sd/source/ui/toolpanel/ToolPanelDescriptor.hxx
+++ b/sd/source/ui/toolpanel/ToolPanelDescriptor.hxx
@@ -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 @@ 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);
@@ -71,7 +71,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 db4602c991d0..767dece4464e 100644
--- a/sd/source/ui/toolpanel/ToolPanelFactory.cxx
+++ b/sd/source/ui/toolpanel/ToolPanelFactory.cxx
@@ -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
diff --git a/sd/source/ui/toolpanel/ToolPanelUIElement.cxx b/sd/source/ui/toolpanel/ToolPanelUIElement.cxx
index e81f683bcfa7..b9b8081330d1 100644
--- a/sd/source/ui/toolpanel/ToolPanelUIElement.cxx
+++ b/sd/source/ui/toolpanel/ToolPanelUIElement.cxx
@@ -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
@@ -93,21 +93,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 0a74b7bd449e..4b0baf02cc52 100644
--- a/sd/source/ui/toolpanel/ToolPanelUIElement.hxx
+++ b/sd/source/ui/toolpanel/ToolPanelUIElement.hxx
@@ -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
diff --git a/sd/source/ui/toolpanel/ToolPanelViewShell.cxx b/sd/source/ui/toolpanel/ToolPanelViewShell.cxx
index c62faf29ca50..4e7e55eeaa19 100755
--- a/sd/source/ui/toolpanel/ToolPanelViewShell.cxx
+++ b/sd/source/ui/toolpanel/ToolPanelViewShell.cxx
@@ -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
@@ -239,7 +239,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; }
@@ -512,12 +512,20 @@ ToolPanelViewShell::ToolPanelViewShell( SfxViewFrame* pFrame, ViewShellBase& rVi
SetName( String( RTL_CONSTASCII_USTRINGPARAM( "ToolPanelViewShell" ) ) );
+ // Some recent changes to the toolpanel make it necessary to create the
+ // accessibility object now. Creating it on demand would lead to a
+ // pointer cycle in the tree of accessibility objects and would lead
+ // e.g. the accerciser AT tool into an infinite loop.
+ // It would be nice to get rid of this workaround in the future.
+ if (mpContentWindow.get())
+ mpContentWindow->SetAccessible(mpImpl->CreateAccessible(*mpContentWindow));
+
// For accessibility we have to shortly hide the content window. This
// triggers the construction of a new accessibility object for the new
// view shell. (One is created earlier while the construtor of the base
// class is executed. At that time the correct accessibility object can
// not be constructed.)
- if ( mpContentWindow.get() )
+ if (mpContentWindow.get())
{
mpContentWindow->Hide();
mpContentWindow->Show();
@@ -587,13 +595,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;
}
@@ -633,7 +641,12 @@ DockingWindow* ToolPanelViewShell::GetDockingWindow()
Reference< XAccessible > ToolPanelViewShell::CreateAccessibleDocumentView( ::sd::Window* i_pWindow )
{
ENSURE_OR_RETURN( i_pWindow, "ToolPanelViewShell::CreateAccessibleDocumentView: illegal window!", NULL );
- return mpImpl->CreateAccessible( *i_pWindow );
+ // As said above, we have to create the accessibility object
+ // (unconditionally) in the constructor, not here on demand, or
+ // otherwise we would create a cycle in the tree of accessible objects
+ // which could lead to infinite loops in AT tools.
+ // return mpImpl->CreateAccessible( *i_pWindow );
+ return Reference<XAccessible>();
}
// ---------------------------------------------------------------------------------------------------------------------
diff --git a/sd/source/ui/toolpanel/controls/AllMasterPagesSelector.cxx b/sd/source/ui/toolpanel/controls/AllMasterPagesSelector.cxx
index 86abd44e3a83..a43812e3ca6f 100644
--- a/sd/source/ui/toolpanel/controls/AllMasterPagesSelector.cxx
+++ b/sd/source/ui/toolpanel/controls/AllMasterPagesSelector.cxx
@@ -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,7 +133,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 e937958dbbf0..10ed29853b8b 100644
--- a/sd/source/ui/toolpanel/controls/AllMasterPagesSelector.hxx
+++ b/sd/source/ui/toolpanel/controls/AllMasterPagesSelector.hxx
@@ -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
@@ -43,7 +43,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 730fc74795f2..01531d4f250a 100755
--- a/sd/source/ui/toolpanel/controls/AnimationSchemesPanel.cxx
+++ b/sd/source/ui/toolpanel/controls/AnimationSchemesPanel.cxx
@@ -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
@@ -27,7 +27,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 dd3388fb0342..1b947de166d5 100755
--- a/sd/source/ui/toolpanel/controls/AnimationSchemesPanel.hxx
+++ b/sd/source/ui/toolpanel/controls/AnimationSchemesPanel.hxx
@@ -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
@@ -27,7 +27,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 7f4149d7e6fd..57b2984528d1 100644
--- a/sd/source/ui/toolpanel/controls/CurrentMasterPagesSelector.cxx
+++ b/sd/source/ui/toolpanel/controls/CurrentMasterPagesSelector.cxx
@@ -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
@@ -92,7 +92,7 @@ CurrentMasterPagesSelector::~CurrentMasterPagesSelector (void)
{
OSL_ASSERT(mrDocument.GetDocSh() != NULL);
}
-
+
Link aLink (LINK(this,CurrentMasterPagesSelector,EventMultiplexerListener));
mrBase.GetEventMultiplexer()->RemoveEventListener(aLink);
}
@@ -236,7 +236,7 @@ void CurrentMasterPagesSelector::Execute (SfxRequest& rRequest)
}
}
break;
-
+
default:
MasterPagesSelector::Execute(rRequest);
break;
@@ -305,7 +305,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 ee3503d9787d..ca3676957410 100644
--- a/sd/source/ui/toolpanel/controls/CurrentMasterPagesSelector.hxx
+++ b/sd/source/ui/toolpanel/controls/CurrentMasterPagesSelector.hxx
@@ -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
@@ -45,7 +45,7 @@ class CurrentMasterPagesSelector
{
public:
CurrentMasterPagesSelector (
- TreeNode* pParent,
+ TreeNode* pParent,
SdDrawDocument& rDocument,
ViewShellBase& rBase,
const ::boost::shared_ptr<MasterPageContainer>& rpContainer);
@@ -69,7 +69,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 e7edf109cffd..e20f1934cfee 100755
--- a/sd/source/ui/toolpanel/controls/CustomAnimationPanel.cxx
+++ b/sd/source/ui/toolpanel/controls/CustomAnimationPanel.cxx
@@ -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,11 +37,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 864ba637b94d..f4eeca4caa99 100755
--- a/sd/source/ui/toolpanel/controls/CustomAnimationPanel.hxx
+++ b/sd/source/ui/toolpanel/controls/CustomAnimationPanel.hxx
@@ -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,7 +47,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 b9040e72283f..7267c97220cf 100755
--- a/sd/source/ui/toolpanel/controls/DocumentHelper.cxx
+++ b/sd/source/ui/toolpanel/controls/DocumentHelper.cxx
@@ -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
@@ -117,7 +117,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);
@@ -142,7 +142,7 @@ SdPage* DocumentHelper::CopyMasterPageToLocalDocument (
pNewMasterPage = AddMasterPage(rTargetDocument, pMasterPage);
if (pNewMasterPage==NULL)
break;
- SdPage* pNewNotesMasterPage
+ SdPage* pNewNotesMasterPage
= AddMasterPage(rTargetDocument, pNotesMasterPage);
if (pNewNotesMasterPage==NULL)
break;
@@ -239,7 +239,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);
@@ -283,8 +283,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.
@@ -295,8 +295,8 @@ void DocumentHelper::ProvideStyles (
{
SdMoveStyleSheetsUndoAction* pMovStyles =
new SdMoveStyleSheetsUndoAction (
- &rTargetDocument,
- aCreatedStyles,
+ &rTargetDocument,
+ aCreatedStyles,
TRUE);
pUndoManager->AddUndoAction (pMovStyles);
}
@@ -350,8 +350,8 @@ void DocumentHelper::AssignMasterPageToPageList (
break;
// Assign the master pages to the given list of pages.
- for (iPage=aCleanedList.begin();
- iPage!=aCleanedList.end();
+ for (iPage=aCleanedList.begin();
+ iPage!=aCleanedList.end();
++iPage)
{
AssignMasterPageToPage (
@@ -383,7 +383,7 @@ SdPage* DocumentHelper::AddMasterPage (
// Copy the precious flag.
pClonedMasterPage->SetPrecious(pMasterPage->IsPrecious());
-
+
// Copy the necessary styles.
SdDrawDocument* pSourceDocument
= static_cast<SdDrawDocument*>(pMasterPage->GetModel());
@@ -439,7 +439,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
@@ -450,7 +450,7 @@ void DocumentHelper::AssignMasterPageToPage (
*pDocument, *pPage, pPage->getSdrPageProperties().GetItemSet()),
TRUE);
pPage->getSdrPageProperties().PutItem(XFillStyleItem(XFILL_NONE));
-
+
pDocument->SetMasterPage (
(pPage->GetPageNum()-1)/2,
rsBaseLayoutName,
@@ -513,7 +513,7 @@ SdPage* DocumentHelper::ProvideMasterPage (
{
// When the given master page or its associated notes master page do
// not already belong to the document we have to create copies of
- // them and insert them into the document.
+ // them and insert them into the document.
// Determine the position where the new master pages are inserted.
// By default they are inserted at the end. When we assign to a
@@ -535,7 +535,7 @@ SdPage* DocumentHelper::ProvideMasterPage (
pMasterPageInDocument = pMasterPage;
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 2ff1c8aa575a..9329c2fef6f8 100644
--- a/sd/source/ui/toolpanel/controls/DocumentHelper.hxx
+++ b/sd/source/ui/toolpanel/controls/DocumentHelper.hxx
@@ -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
@@ -89,7 +89,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 80a094ec1a66..0f0d0b67b4ff 100755
--- a/sd/source/ui/toolpanel/controls/MasterPageContainer.cxx
+++ b/sd/source/ui/toolpanel/controls/MasterPageContainer.cxx
@@ -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
@@ -151,7 +151,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;
@@ -209,7 +209,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;
@@ -702,7 +702,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());
@@ -790,7 +790,7 @@ MasterPageContainer::Token MasterPageContainer::Implementation::PutMasterPage (
{
if (mbContainerCleaningPending)
CleanContainer();
-
+
aResult = maContainer.size();
rpDescriptor->SetToken(aResult);
@@ -807,10 +807,10 @@ MasterPageContainer::Token MasterPageContainer::Implementation::PutMasterPage (
default:
break;
}
-
+
maContainer.push_back(rpDescriptor);
aEntry = maContainer.end()-1;
-
+
FireContainerChange(MasterPageContainerChangeEvent::CHILD_ADDED,aResult);
}
}
@@ -825,7 +825,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)
{
@@ -902,7 +902,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)
@@ -941,7 +941,7 @@ Image MasterPageContainer::Implementation::GetPreviewForToken (
break;
}
}
-
+
return aPreview;
}
@@ -1002,7 +1002,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.
@@ -1068,7 +1068,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 60f760f63e34..b4d2ca4cfde6 100755
--- a/sd/source/ui/toolpanel/controls/MasterPageContainer.hxx
+++ b/sd/source/ui/toolpanel/controls/MasterPageContainer.hxx
@@ -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
@@ -59,12 +59,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.
*/
@@ -109,7 +109,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.
@@ -136,8 +136,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);
@@ -153,7 +153,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 23663b4822ef..f83e1a6372fe 100644
--- a/sd/source/ui/toolpanel/controls/MasterPageContainerFiller.cxx
+++ b/sd/source/ui/toolpanel/controls/MasterPageContainerFiller.cxx
@@ -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
@@ -86,11 +86,11 @@ void MasterPageContainerFiller::RunNextStep (void)
case SCAN_TEMPLATE:
meState = ScanTemplate();
break;
-
+
case ADD_TEMPLATE:
meState = AddTemplate();
break;
-
+
case DONE:
case ERROR:
default:
@@ -124,7 +124,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 c8ba61fef378..3c15fe6ea757 100644
--- a/sd/source/ui/toolpanel/controls/MasterPageContainerFiller.hxx
+++ b/sd/source/ui/toolpanel/controls/MasterPageContainerFiller.hxx
@@ -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,10 +57,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.
*/
@@ -85,7 +85,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 61483f278a4f..53941ae398f2 100755
--- a/sd/source/ui/toolpanel/controls/MasterPageContainerProviders.cxx
+++ b/sd/source/ui/toolpanel/controls/MasterPageContainerProviders.cxx
@@ -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
@@ -65,7 +65,7 @@ Image PagePreviewProvider::operator () (
::sd::PreviewRenderer& rRenderer)
{
Image aPreview;
-
+
if (pPage != NULL)
{
// Use the given renderer to create a preview of the given page
@@ -116,9 +116,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;
@@ -129,11 +129,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);
@@ -267,9 +267,9 @@ SdPage* TemplatePageObjectProvider::operator() (SdDrawDocument* pContainerDocume
{
// Unused parameters.
(void)pContainerDocument;
-
+
SdPage* pPage = NULL;
-
+
mxDocumentShell = NULL;
::sd::DrawDocShell* pDocumentShell = NULL;
try
@@ -400,7 +400,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 071b23cdbb16..a561fbf9bbf0 100755
--- a/sd/source/ui/toolpanel/controls/MasterPageContainerProviders.hxx
+++ b/sd/source/ui/toolpanel/controls/MasterPageContainerProviders.hxx
@@ -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/toolpanel/controls/MasterPageContainerQueue.cxx b/sd/source/ui/toolpanel/controls/MasterPageContainerQueue.cxx
index 35b02497575e..32f7f3edbffb 100644
--- a/sd/source/ui/toolpanel/controls/MasterPageContainerQueue.cxx
+++ b/sd/source/ui/toolpanel/controls/MasterPageContainerQueue.cxx
@@ -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
@@ -145,7 +145,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(),
@@ -196,7 +196,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;
@@ -244,7 +244,7 @@ IMPL_LINK(MasterPageContainerQueue, DelayedPreviewCreation, Timer*, pTimer)
}
mpRequestQueue->erase(mpRequestQueue->begin());
-
+
if (aRequest.mpDescriptor.get() != NULL)
{
mnRequestsServedCount += 1;
@@ -257,7 +257,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 3e8d31e67c1b..76a075dc324a 100644
--- a/sd/source/ui/toolpanel/controls/MasterPageContainerQueue.hxx
+++ b/sd/source/ui/toolpanel/controls/MasterPageContainerQueue.hxx
@@ -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 @@ public:
templates are inserted into the MasterPageContainer.
*/
void ProcessAllRequests (void);
-
+
private:
::boost::weak_ptr<ContainerAdapter> mpWeakContainer;
class PreviewCreationRequest;
@@ -93,7 +93,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;
@@ -101,7 +101,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.
*/
@@ -119,7 +119,7 @@ private:
present.
*/
static sal_uInt32 snWaitForMoreRequestsCount;
-
+
MasterPageContainerQueue (const ::boost::weak_ptr<ContainerAdapter>& rpContainer);
void LateInit (void);
@@ -127,7 +127,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 6871883d65f5..bbdbc09287cf 100755
--- a/sd/source/ui/toolpanel/controls/MasterPageDescriptor.cxx
+++ b/sd/source/ui/toolpanel/controls/MasterPageDescriptor.cxx
@@ -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
@@ -65,7 +65,7 @@ MasterPageDescriptor::MasterPageDescriptor (
mnUseCount(0)
{
}
-
+
@@ -131,31 +131,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;
@@ -180,7 +180,7 @@ Image MasterPageDescriptor::GetPreview (MasterPageContainer::PreviewSize eSize)
if (bPreviewChanged)
pResult->push_back(MasterPageContainerChangeEvent::PREVIEW_CHANGED);
}
-
+
return pResult;
}
@@ -192,14 +192,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)
{
@@ -249,7 +249,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
@@ -309,7 +309,7 @@ MasterPageDescriptor::URLClassification MasterPageDescriptor::GetURLClassificati
meURLClassification = URLCLASS_USER;
}
}
-
+
return meURLClassification;
}
@@ -361,7 +361,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 0303989e3379..2a31bab48ae2 100755
--- a/sd/source/ui/toolpanel/controls/MasterPageDescriptor.hxx
+++ b/sd/source/ui/toolpanel/controls/MasterPageDescriptor.hxx
@@ -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 @@ 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.
@@ -81,18 +81,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
@@ -115,7 +115,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.
@@ -145,7 +145,7 @@ public:
};
URLClassification GetURLClassification (void);
-
+
/** The Token under which the MasterPageContainer gives access to the
object.
*/
@@ -154,16 +154,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;
@@ -173,17 +173,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.
*/
@@ -198,7 +198,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 2ba0cc678403..a25a1dde9e4a 100755
--- a/sd/source/ui/toolpanel/controls/MasterPageObserver.cxx
+++ b/sd/source/ui/toolpanel/controls/MasterPageObserver.cxx
@@ -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
@@ -61,7 +61,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
@@ -89,7 +89,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*,
@@ -132,7 +132,7 @@ MasterPageObserver& MasterPageObserver::Instance (void)
{
OSL_DOUBLE_CHECKED_LOCKING_MEMORY_BARRIER();
}
-
+
DBG_ASSERT(Implementation::mpInstance!=NULL,
"MasterPageObserver::Instance(): instance is NULL");
return *Implementation::mpInstance;
@@ -156,7 +156,7 @@ void MasterPageObserver::UnregisterDocument (SdDrawDocument& rDocument)
-
+
void MasterPageObserver::AddEventListener (const Link& rEventListener)
{
@@ -222,7 +222,7 @@ void MasterPageObserver::Implementation::UnregisterDocument (
-
+
void MasterPageObserver::Implementation::AddEventListener (
const Link& rEventListener)
{
@@ -232,7 +232,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;
@@ -274,7 +274,7 @@ void MasterPageObserver::Implementation::RemoveEventListener (
-MasterPageObserver::MasterPageNameSet
+MasterPageObserver::MasterPageNameSet
MasterPageObserver::Implementation::GetMasterPageNames (
SdDrawDocument& rDocument)
{
@@ -354,8 +354,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++,
@@ -376,8 +376,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);
}
@@ -397,7 +397,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 8dab51e93a58..90600ebcec75 100755
--- a/sd/source/ui/toolpanel/controls/MasterPagesPanel.cxx
+++ b/sd/source/ui/toolpanel/controls/MasterPagesPanel.cxx
@@ -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
@@ -63,12 +63,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));
@@ -82,10 +82,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));
@@ -102,7 +102,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 932007802ebf..691cf0ac2bd5 100755
--- a/sd/source/ui/toolpanel/controls/MasterPagesPanel.hxx
+++ b/sd/source/ui/toolpanel/controls/MasterPagesPanel.hxx
@@ -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,7 +51,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 b321dbf8dd14..057d4c924f5f 100755
--- a/sd/source/ui/toolpanel/controls/MasterPagesSelector.cxx
+++ b/sd/source/ui/toolpanel/controls/MasterPagesSelector.cxx
@@ -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
@@ -85,7 +85,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) );
@@ -190,7 +190,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
@@ -220,7 +220,7 @@ void MasterPagesSelector::UpdateLocks (const ItemList& rItemList)
void MasterPagesSelector::Fill (void)
{
::std::auto_ptr<ItemList> pItemList (new ItemList());
-
+
Fill(*pItemList);
UpdateLocks(*pItemList);
@@ -306,7 +306,7 @@ IMPL_LINK(MasterPagesSelector, ContextMenuCallback, CommandEvent*, pEvent)
mpPageSet.get(),
&aPosition);
}
-
+
return 0;
}
@@ -550,7 +550,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;
@@ -657,7 +657,7 @@ void MasterPagesSelector::SetItem (
mpPageSet->RemoveItem(nIndex);
}
}
-
+
}
@@ -721,7 +721,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);
@@ -827,13 +827,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)
{
@@ -841,7 +841,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 a2df51f2bd4b..0ca1207c36b4 100755
--- a/sd/source/ui/toolpanel/controls/MasterPagesSelector.hxx
+++ b/sd/source/ui/toolpanel/controls/MasterPagesSelector.hxx
@@ -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
@@ -45,7 +45,7 @@ class SdDrawDocument;
class SdPage;
class SfxModule;
-namespace sd {
+namespace sd {
class DrawViewShell;
class TemplateEntry;
class TemplateDir;
@@ -149,7 +149,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;
@@ -218,7 +218,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 a1f29dfee044..f1b4ba8d196b 100644
--- a/sd/source/ui/toolpanel/controls/PreviewValueSet.cxx
+++ b/sd/source/ui/toolpanel/controls/PreviewValueSet.cxx
@@ -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,13 +44,13 @@ PreviewValueSet::PreviewValueSet (TreeNode* pParent)
mnMaxColumnCount(-1)
{
SetStyle (
- GetStyle()
+ GetStyle()
& ~(WB_ITEMBORDER)// | WB_MENUSTYLEVALUESET)
// | WB_FLATVALUESET);
);
SetColCount(2);
- // SetLineCount(1);
+ // SetLineCount(1);
SetExtraSpacing (2);
}
@@ -129,7 +129,7 @@ void PreviewValueSet::Command (const CommandEvent& rEvent)
maContextMenuCallback.Call(&aNonConstEventCopy);
}
break;
-
+
default:
ValueSet::Command(rEvent);
break;
@@ -216,7 +216,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;
}
@@ -230,7 +230,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 69fa7e272330..b2cb6903e002 100644
--- a/sd/source/ui/toolpanel/controls/PreviewValueSet.hxx
+++ b/sd/source/ui/toolpanel/controls/PreviewValueSet.hxx
@@ -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
@@ -50,7 +50,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
@@ -86,7 +86,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 2f2789216b8d..1a252baaf31a 100644
--- a/sd/source/ui/toolpanel/controls/RecentMasterPagesSelector.cxx
+++ b/sd/source/ui/toolpanel/controls/RecentMasterPagesSelector.cxx
@@ -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
@@ -113,7 +113,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);
@@ -130,7 +130,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 adac66187b71..5bc85209dc15 100644
--- a/sd/source/ui/toolpanel/controls/RecentMasterPagesSelector.hxx
+++ b/sd/source/ui/toolpanel/controls/RecentMasterPagesSelector.hxx
@@ -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,7 +40,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 63d7f72e2903..a7e40021435a 100644
--- a/sd/source/ui/toolpanel/controls/RecentlyUsedMasterPages.cxx
+++ b/sd/source/ui/toolpanel/controls/RecentlyUsedMasterPages.cxx
@@ -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
@@ -140,7 +140,7 @@ RecentlyUsedMasterPages& RecentlyUsedMasterPages::Instance (void)
else {
OSL_DOUBLE_CHECKED_LOCKING_MEMORY_BARRIER();
}
-
+
return *mpInstance;
}
@@ -162,7 +162,7 @@ RecentlyUsedMasterPages::~RecentlyUsedMasterPages (void)
{
Link aLink (LINK(this,RecentlyUsedMasterPages,MasterPageContainerChangeListener));
mpContainer->RemoveChangeListener(aLink);
-
+
MasterPageObserver::Instance().RemoveEventListener(
LINK(this,RecentlyUsedMasterPages,MasterPageChangeListener));
}
@@ -174,7 +174,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 1f16d31b95d5..a786a8513ffc 100644
--- a/sd/source/ui/toolpanel/controls/RecentlyUsedMasterPages.hxx
+++ b/sd/source/ui/toolpanel/controls/RecentlyUsedMasterPages.hxx
@@ -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
@@ -60,7 +60,7 @@ public:
void AddEventListener (const Link& rEventListener);
void RemoveEventListener (const Link& rEventListener);
-
+
int GetMasterPageCount (void) const;
MasterPageContainer::Token GetTokenForIndex (sal_uInt32 nIndex) const;
@@ -76,7 +76,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 4ad67b876983..7a58923b43b2 100755
--- a/sd/source/ui/toolpanel/controls/SlideTransitionPanel.cxx
+++ b/sd/source/ui/toolpanel/controls/SlideTransitionPanel.cxx
@@ -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/toolpanel/controls/SlideTransitionPanel.hxx b/sd/source/ui/toolpanel/controls/SlideTransitionPanel.hxx
index f62cb918806b..e2135c7da546 100755
--- a/sd/source/ui/toolpanel/controls/SlideTransitionPanel.hxx
+++ b/sd/source/ui/toolpanel/controls/SlideTransitionPanel.hxx
@@ -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/toolpanel/controls/TableDesignPanel.cxx b/sd/source/ui/toolpanel/controls/TableDesignPanel.cxx
index d6507a25c11f..f199429c244e 100755
--- a/sd/source/ui/toolpanel/controls/TableDesignPanel.cxx
+++ b/sd/source/ui/toolpanel/controls/TableDesignPanel.cxx
@@ -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,11 +37,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 a3620df2ef68..eef21450db3b 100755
--- a/sd/source/ui/toolpanel/controls/TableDesignPanel.hxx
+++ b/sd/source/ui/toolpanel/controls/TableDesignPanel.hxx
@@ -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,7 +47,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 3527b74fbeda..8cb9f0aad9d2 100644
--- a/sd/source/ui/tools/AsynchronousCall.cxx
+++ b/sd/source/ui/tools/AsynchronousCall.cxx
@@ -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/tools/ConfigurationAccess.cxx b/sd/source/ui/tools/ConfigurationAccess.cxx
index bf4fbc6e6ebe..ce245066b2df 100755
--- a/sd/source/ui/tools/ConfigurationAccess.cxx
+++ b/sd/source/ui/tools/ConfigurationAccess.cxx
@@ -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
@@ -89,17 +89,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;
@@ -109,7 +109,7 @@ void ConfigurationAccess::Initialize (
else
sAccessService = OUString(RTL_CONSTASCII_USTRINGPARAM(
"com.sun.star.configuration.ConfigurationUpdateAccess"));
-
+
mxRoot = rxProvider->createInstanceWithArguments(
sAccessService,
aCreationArguments);
@@ -154,7 +154,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 81678d1af7c0..989587d401d0 100644
--- a/sd/source/ui/tools/EventMultiplexer.cxx
+++ b/sd/source/ui/tools/EventMultiplexer.cxx
@@ -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
@@ -63,7 +63,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,
@@ -80,11 +80,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);
@@ -92,19 +92,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);
@@ -114,12 +114,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);
@@ -217,7 +217,7 @@ EventMultiplexer::~EventMultiplexer (void)
void EventMultiplexer::AddEventListener (
- Link& rCallback,
+ Link& rCallback,
EventMultiplexerEvent::EventId aEventTypes)
{
mpImpl->AddEventListener (rCallback, aEventTypes);
@@ -241,7 +241,7 @@ void EventMultiplexer::MultiplexEvent(
void* pUserData )
{
EventMultiplexerEvent aEvent (mpImpl->GetViewShellBase(), eEventId, pUserData);
- mpImpl->CallListeners(aEvent);
+ mpImpl->CallListeners(aEvent);
}
@@ -366,7 +366,7 @@ void EventMultiplexer::Implementation::ReleaseListeners (void)
void EventMultiplexer::Implementation::AddEventListener (
- Link& rCallback,
+ Link& rCallback,
EventMultiplexerEvent::EventId aEventTypes)
{
ListenerList::iterator iListener (maListeners.begin());
@@ -436,7 +436,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())
{
@@ -448,7 +448,7 @@ void EventMultiplexer::Implementation::ConnectToController (void)
{
OSL_TRACE("EventMultiplexer::ConnectToController: CurrentPage unknown");
}
-
+
try
{
xSet->addPropertyChangeListener(msEditModePropertyName, this);
@@ -458,7 +458,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())
@@ -505,7 +505,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())
@@ -600,7 +600,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);
@@ -662,7 +662,7 @@ void SAL_CALL EventMultiplexer::Implementation::notifyConfigurationChange (
}
}
break;
-
+
case ResourceDeactivationEvent:
if (rEvent.ResourceId->getResourceURL().match(FrameworkHelper::msViewURLPrefix))
{
@@ -695,7 +695,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 12e7b6b52e95..aad643e19381 100644
--- a/sd/source/ui/tools/IconCache.cxx
+++ b/sd/source/ui/tools/IconCache.cxx
@@ -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 @@ Image IconCache::Implementation::GetIcon (USHORT nResourceId)
//===== IconCache =============================================================
-//static
+//static
IconCache& IconCache::Instance (void)
{
if (Implementation::mpInstance == NULL)
@@ -101,7 +101,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 46ac4174cbe7..9690627d6a49 100644
--- a/sd/source/ui/tools/IdleDetection.cxx
+++ b/sd/source/ui/tools/IdleDetection.cxx
@@ -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 @@ 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 c416e689efcf..be65e3056a9f 100755
--- a/sd/source/ui/tools/PreviewRenderer.cxx
+++ b/sd/source/ui/tools/PreviewRenderer.cxx
@@ -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
@@ -82,7 +82,7 @@ PreviewRenderer::~PreviewRenderer (void)
Image PreviewRenderer::RenderPage (
- const SdPage* pPage,
+ const SdPage* pPage,
const sal_Int32 nWidth,
const String& rSubstitutionText,
const bool bObeyHighContrastMode)
@@ -105,7 +105,7 @@ Image PreviewRenderer::RenderPage (
Image PreviewRenderer::RenderPage (
- const SdPage* pPage,
+ const SdPage* pPage,
Size aPixelSize,
const String& rSubstitutionText,
const bool bObeyHighContrastMode)
@@ -121,7 +121,7 @@ Image PreviewRenderer::RenderPage (
PaintPage (pPage);
PaintSubstitutionText (rSubstitutionText);
PaintFrame();
-
+
Size aSize (mpPreviewDevice->GetOutputSizePixel());
aPreview = mpPreviewDevice->GetBitmap (
mpPreviewDevice->PixelToLogic(Point(0,0)),
@@ -156,8 +156,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
@@ -171,7 +171,7 @@ Image PreviewRenderer::RenderSubstitution (
aMapMode.SetOrigin(mpPreviewDevice->PixelToLogic(
Point(nFrameWidth,nFrameWidth),aMapMode));
mpPreviewDevice->SetMapMode (aMapMode);
-
+
// Clear the background.
Rectangle aPaintRectangle (
Point(0,0),
@@ -186,7 +186,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)),
@@ -220,7 +220,7 @@ bool PreviewRenderer::Initialize (
SetupOutputSize(*pPage, rPixelSize);
- SdDrawDocument* pDocument
+ SdDrawDocument* pDocument
= static_cast<SdDrawDocument*>(pPage->GetModel());
DrawDocShell* pDocShell = pDocument->GetDocSh();
@@ -232,8 +232,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());
@@ -296,7 +296,7 @@ void PreviewRenderer::PaintPage (const SdPage* pPage)
pOutliner->SetControlWord(
(nOriginalControlWord & ~EE_CNTRL_ONLINESPELLING));
}
-
+
try
{
mpView->CompleteRedraw (mpPreviewDevice.get(), aRegion);
@@ -327,13 +327,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);
@@ -365,7 +365,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
@@ -381,7 +381,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);
@@ -434,8 +434,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.
@@ -443,7 +443,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());
@@ -463,7 +463,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 9cf24dccd508..45a838202692 100755
--- a/sd/source/ui/tools/PropertySet.cxx
+++ b/sd/source/ui/tools/PropertySet.cxx
@@ -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
@@ -212,7 +212,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 4ed95bbf5b99..cb5121ab883b 100755
--- a/sd/source/ui/tools/SdGlobalResourceContainer.cxx
+++ b/sd/source/ui/tools/SdGlobalResourceContainer.cxx
@@ -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
@@ -66,16 +66,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;
@@ -87,7 +87,7 @@ void SdGlobalResourceContainer::AddResource (
::std::auto_ptr<SdGlobalResource> pResource)
{
::osl::MutexGuard aGuard (mpImpl->maMutex);
-
+
Implementation::ResourceList::iterator iResource;
iResource = ::std::find (
mpImpl->maResources.begin(),
@@ -114,7 +114,7 @@ void SdGlobalResourceContainer::AddResource (
::boost::shared_ptr<SdGlobalResource> pResource)
{
::osl::MutexGuard aGuard (mpImpl->maMutex);
-
+
Implementation::SharedResourceList::iterator iResource;
iResource = ::std::find (
mpImpl->maSharedResources.begin(),
@@ -161,10 +161,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 b3175b7fdb4a..82564efdc16a 100755
--- a/sd/source/ui/tools/SlotStateListener.cxx
+++ b/sd/source/ui/tools/SlotStateListener.cxx
@@ -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
@@ -148,7 +148,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 87ff4d318132..074ed2664edd 100644
--- a/sd/source/ui/tools/TimerBasedTaskExecution.cxx
+++ b/sd/source/ui/tools/TimerBasedTaskExecution.cxx
@@ -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
@@ -171,7 +171,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 2bc98cd66de3..83a43aaa72f4 100755
--- a/sd/source/ui/unoidl/DrawController.cxx
+++ b/sd/source/ui/unoidl/DrawController.cxx
@@ -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
@@ -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();
::vos::OGuard aGuard (Application::GetSolarMutex());
-
+
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)
::vos::OGuard aGuard( Application::GetSolarMutex() );
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
{
OGuard aGuard( Application::GetSolarMutex() );
@@ -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 8594d4e0ebf9..d2a719974397 100755
--- a/sd/source/ui/unoidl/SdUnoDrawView.cxx
+++ b/sd/source/ui/unoidl/SdUnoDrawView.cxx
@@ -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
@@ -67,7 +67,7 @@ SdUnoDrawView::SdUnoDrawView(
DrawController& rController,
DrawViewShell& rViewShell,
View& rView) throw()
- : DrawSubControllerInterfaceBase(m_aMutex),
+ : DrawSubControllerInterfaceBase(m_aMutex),
mrController(rController),
mrDrawViewShell(rViewShell),
mrView(rView)
@@ -140,7 +140,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);
@@ -216,7 +216,7 @@ sal_Bool SAL_CALL SdUnoDrawView::select( const Any& aSelection )
{
bOk = false;
}
- }
+ }
else
{
Reference< drawing::XShapes > xShapes;
@@ -310,18 +310,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;
@@ -346,7 +346,7 @@ void SAL_CALL SdUnoDrawView::addSelectionChangeListener (
{
(void)rxListener;
}
-
+
@@ -361,7 +361,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,
@@ -510,7 +510,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() );
@@ -577,12 +577,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;
@@ -615,7 +615,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 ff3e5dd501fb..5432fa36c854 100755
--- a/sd/source/ui/unoidl/SdUnoOutlineView.cxx
+++ b/sd/source/ui/unoidl/SdUnoOutlineView.cxx
@@ -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
@@ -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 a6502711ee72..bffafb418cfa 100755
--- a/sd/source/ui/unoidl/SdUnoSlideView.cxx
+++ b/sd/source/ui/unoidl/SdUnoSlideView.cxx
@@ -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
@@ -144,7 +144,7 @@ void SAL_CALL SdUnoSlideView::addSelectionChangeListener (
{
(void)rxListener;
}
-
+
@@ -174,7 +174,7 @@ void SAL_CALL SdUnoSlideView::setCurrentPage (
throw(::com::sun::star::uno::RuntimeException)
{
return Reference<drawing::XDrawPage>();
-}
+}
@@ -182,7 +182,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,
@@ -192,7 +192,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 ed47e57b2130..de9bca4286d1 100755
--- a/sd/source/ui/unoidl/UnoDocumentSettings.cxx
+++ b/sd/source/ui/unoidl/UnoDocumentSettings.cxx
@@ -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
@@ -129,8 +129,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 )
@@ -161,60 +161,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 }
};
@@ -229,7 +229,7 @@ enum SdDocumentSettingsPropertyHandles
using namespace ::sd;
DocumentSettings::DocumentSettings( SdXImpressDocument* pModel )
-: PropertySetHelper( createSettingsInfoImpl( !pModel->IsImpressDocument() ) ),
+: PropertySetHelper( createSettingsInfoImpl( !pModel->IsImpressDocument() ) ),
mxModel( pModel ),
mpModel( pModel )
{
@@ -704,9 +704,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 );
}
@@ -873,7 +873,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 432b02174e73..6304d6fc91d4 100644
--- a/sd/source/ui/unoidl/UnoDocumentSettings.hxx
+++ b/sd/source/ui/unoidl/UnoDocumentSettings.hxx
@@ -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/unoidl/detreg.cxx b/sd/source/ui/unoidl/detreg.cxx
index a45496d5d5a4..6126019d5d8e 100644
--- a/sd/source/ui/unoidl/detreg.cxx
+++ b/sd/source/ui/unoidl/detreg.cxx
@@ -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
@@ -49,8 +49,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 ) ) ;
@@ -80,9 +80,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 1ac245ad00d4..863f2c19317a 100755
--- a/sd/source/ui/unoidl/facreg.cxx
+++ b/sd/source/ui/unoidl/facreg.cxx
@@ -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
@@ -456,7 +456,7 @@ SAL_DLLPUBLIC_EXPORT void * SAL_CALL component_getFactory(
SdPresentationDocument_createInstance,
SdPresentationDocument_getSupportedServiceNames());
break;
-
+
case SdUnoModuleFactoryId:
xFactory = ::cppu::createSingleFactory(
xMSF,
@@ -493,7 +493,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,
@@ -507,7 +507,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 9a57fd090c7a..38ac609cbe5b 100644
--- a/sd/source/ui/unoidl/randomnode.cxx
+++ b/sd/source/ui/unoidl/randomnode.cxx
@@ -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
@@ -193,18 +193,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 ),
@@ -253,7 +253,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) )
@@ -613,7 +613,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 );
@@ -673,7 +673,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 9f268dec0cfa..cd7cf238ce1b 100755
--- a/sd/source/ui/unoidl/sddetect.cxx
+++ b/sd/source/ui/unoidl/sddetect.cxx
@@ -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/unoidl/sddetect.hxx b/sd/source/ui/unoidl/sddetect.hxx
index 5daa3d0fe23e..f1046f30930f 100644
--- a/sd/source/ui/unoidl/sddetect.hxx
+++ b/sd/source/ui/unoidl/sddetect.hxx
@@ -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/unoidl/unocpres.cxx b/sd/source/ui/unoidl/unocpres.cxx
index 1935c424ec03..2fbae2bc5aa5 100755
--- a/sd/source/ui/unoidl/unocpres.cxx
+++ b/sd/source/ui/unoidl/unocpres.cxx
@@ -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
@@ -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)
OGuard aGuard( Application::GetSolarMutex() );
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 615d5ba7007c..fc75fdeb5fa0 100755
--- a/sd/source/ui/unoidl/unocpres.hxx
+++ b/sd/source/ui/unoidl/unocpres.hxx
@@ -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
@@ -45,15 +45,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;
@@ -115,7 +115,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 a423692caa4f..6603ff507106 100644
--- a/sd/source/ui/unoidl/unodoc.cxx
+++ b/sd/source/ui/unoidl/unodoc.cxx
@@ -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
@@ -66,7 +66,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 9f25da2c6089..8a9a1c4b2bde 100644
--- a/sd/source/ui/unoidl/unohelp.hxx
+++ b/sd/source/ui/unoidl/unohelp.hxx
@@ -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/unoidl/unokywds.cxx b/sd/source/ui/unoidl/unokywds.cxx
index 2f417a5f4709..45fbd88b1eaa 100644
--- a/sd/source/ui/unoidl/unokywds.cxx
+++ b/sd/source/ui/unoidl/unokywds.cxx
@@ -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/unoidl/unolayer.cxx b/sd/source/ui/unoidl/unolayer.cxx
index 5ad9fe3fd555..4e9275adc15a 100644
--- a/sd/source/ui/unoidl/unolayer.cxx
+++ b/sd/source/ui/unoidl/unolayer.cxx
@@ -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
@@ -73,23 +73,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() );
@@ -127,23 +127,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) );
}
@@ -240,7 +240,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;
@@ -251,7 +251,7 @@ void SAL_CALL SdLayer::setPropertyValue( const OUString& aPropertyName, const un
OUString sTitle;
if(!(aValue >>= sTitle))
throw lang::IllegalArgumentException();
-
+
pLayer->SetTitle(sTitle);
break;
}
@@ -261,7 +261,7 @@ void SAL_CALL SdLayer::setPropertyValue( const OUString& aPropertyName, const un
OUString sDescription;
if(!(aValue >>= sDescription))
throw lang::IllegalArgumentException();
-
+
pLayer->SetDescription(sDescription);
break;
}
@@ -271,8 +271,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
}
@@ -339,9 +339,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);
}
}
@@ -353,9 +353,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
@@ -378,11 +378,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;
}
}
@@ -398,11 +398,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;
}
@@ -410,11 +410,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;
@@ -430,7 +430,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)
{
OGuard aGuard( Application::GetSolarMutex() );
@@ -442,8 +442,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 ();
@@ -720,7 +720,7 @@ uno::Sequence< OUString > SAL_CALL SdLayerManager::getElementNames()
sal_Bool SAL_CALL SdLayerManager::hasByName( const OUString& aName ) throw(uno::RuntimeException)
{
OGuard aGuard( Application::GetSolarMutex() );
-
+
if( mpModel == 0 )
throw lang::DisposedException();
diff --git a/sd/source/ui/unoidl/unolayer.hxx b/sd/source/ui/unoidl/unolayer.hxx
index 76ccc6e22ab1..ba83422ddb3a 100644
--- a/sd/source/ui/unoidl/unolayer.hxx
+++ b/sd/source/ui/unoidl/unolayer.hxx
@@ -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
@@ -76,14 +76,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);
@@ -99,11 +99,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();
@@ -127,7 +127,7 @@ class SdLayerManager : public ::cppu::WeakImplHelper5< ::com::sun::star::drawing
{
friend class SdLayer;
-public:
+public:
SdLayerManager( SdXImpressDocument& rMyModel ) throw();
virtual ~SdLayerManager() throw();
@@ -179,10 +179,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 e11f76a64baa..83c713c1fd6e 100755
--- a/sd/source/ui/unoidl/unomodel.cxx
+++ b/sd/source/ui/unoidl/unomodel.cxx
@@ -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
@@ -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)
{
OGuard aGuard( Application::GetSolarMutex() );
@@ -1535,9 +1535,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 );
@@ -1551,15 +1551,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 )
{
}
@@ -1610,7 +1610,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 );
@@ -1657,13 +1657,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 ) );
@@ -1760,7 +1760,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();
@@ -1784,7 +1784,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();
@@ -1867,9 +1867,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 )
{
@@ -1893,9 +1893,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;
@@ -1932,7 +1932,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
@@ -1956,7 +1956,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 ) );
}
@@ -1978,7 +1978,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 )
{
@@ -2013,7 +2013,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" ) );
@@ -2099,9 +2099,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();
@@ -2134,10 +2134,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
}
@@ -2156,7 +2156,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++ )
@@ -2333,7 +2333,7 @@ void SAL_CALL SdXImpressDocument::dispose() throw (::com::sun::star::uno::Runtim
//=============================================================================
SdDrawPagesAccess::SdDrawPagesAccess( SdXImpressDocument& rMyModel ) throw()
-: mpModel( &rMyModel)
+: mpModel( &rMyModel)
{
}
@@ -2493,7 +2493,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)
@@ -2589,7 +2589,7 @@ void SAL_CALL SdDrawPagesAccess::removeEventListener( const uno::Reference< lang
//=============================================================================
SdMasterPagesAccess::SdMasterPagesAccess( SdXImpressDocument& rMyModel ) throw()
-: mpModel(&rMyModel)
+: mpModel(&rMyModel)
{
}
@@ -2735,7 +2735,7 @@ uno::Reference< drawing::XDrawPage > SAL_CALL SdMasterPagesAccess::insertNewByIn
pMPage->SetLayoutName( aLayoutName );
mpDoc->InsertMasterPage(pMPage, (USHORT)nInsertPos);
- {
+ {
// ensure default MasterPage fill
pMPage->EnsureMasterPageDefaultBackground();
}
@@ -2752,7 +2752,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 7769f7e14dba..e2ff83c45a7d 100644
--- a/sd/source/ui/unoidl/unomodule.cxx
+++ b/sd/source/ui/unoidl/unomodule.cxx
@@ -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/unoidl/unomodule.hxx b/sd/source/ui/unoidl/unomodule.hxx
index bce015702ddd..e7dcffc76864 100644
--- a/sd/source/ui/unoidl/unomodule.hxx
+++ b/sd/source/ui/unoidl/unomodule.hxx
@@ -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
@@ -56,16 +56,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 >
{
@@ -86,9 +86,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 f31c960d432d..0146dbd22c06 100755
--- a/sd/source/ui/unoidl/unoobj.cxx
+++ b/sd/source/ui/unoidl/unoobj.cxx
@@ -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
@@ -119,66 +119,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;
@@ -186,7 +186,7 @@ static SdTypesCache gImplTypesCache;
const SfxItemPropertyMapEntry* lcl_GetImpress_SdXShapePropertySimpleMap_Impl()
{
-
+
static const SfxItemPropertyMapEntry aImpress_SdXShapePropertySimpleMap_Impl[] =
{
IMPRESS_MAP_ENTRIES
@@ -195,10 +195,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()
@@ -213,7 +213,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;
@@ -236,7 +236,7 @@ static SdTypesCache gImplTypesCache;
pRet = lcl_GetDraw_SdXShapePropertySimpleMap_Impl();
}
return pRet;
-
+
}
const SvxItemPropertySet* lcl_ImplGetShapePropertySet( sal_Bool bImpress, sal_Bool bGraphicObj )
{
@@ -251,7 +251,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
@@ -259,7 +259,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
{
@@ -277,7 +277,7 @@ static SdTypesCache gImplTypesCache;
};
return aEmpty_SdXShapePropertyMap_Impl;
}
-
+
static const SvxItemPropertySet* lcl_GetEmpty_SdXShapePropertySet_Impl()
{
static SvxItemPropertySet aEmptyPropSet( lcl_GetEmpty_SdXShapePropertyMap_Impl(), SdrObject::GetGlobalDrawObjectItemPool() );
@@ -302,28 +302,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 );
}
@@ -469,7 +469,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 ) );
@@ -521,7 +521,7 @@ void SAL_CALL SdXShape::setPropertyValue( const ::rtl::OUString& aPropertyName,
case WID_EFFECT:
{
- AnimationEffect eEffect;
+ AnimationEffect eEffect;
if(!(aValue >>= eEffect))
throw lang::IllegalArgumentException();
@@ -530,7 +530,7 @@ void SAL_CALL SdXShape::setPropertyValue( const ::rtl::OUString& aPropertyName,
}
case WID_TEXTEFFECT:
{
- AnimationEffect eEffect;
+ AnimationEffect eEffect;
if(!(aValue >>= eEffect))
throw lang::IllegalArgumentException();
@@ -546,7 +546,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;
@@ -616,7 +616,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 );
@@ -961,7 +961,7 @@ sal_Bool SdXShape::IsEmptyPresObj() const throw()
else
{
return sal_True;
- }
+ }
}
return sal_False;
@@ -1120,23 +1120,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:
@@ -1144,7 +1144,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);
@@ -1186,16 +1186,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 )
{
@@ -1470,7 +1470,7 @@ void SAL_CALL SdUnoEventsAccess::replaceByName( const OUString& aName, const uno
{
sBuffer.append( aStrLibrary );
}
-
+
pInfo->SetBookmark( sBuffer.makeStringAndClear() );
}
bOk = sal_True;
@@ -1659,7 +1659,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 0e472f41ff16..e6f8f4dd25c4 100755
--- a/sd/source/ui/unoidl/unoobj.hxx
+++ b/sd/source/ui/unoidl/unoobj.hxx
@@ -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
@@ -52,7 +52,7 @@ class SdXShape : public SvxShapeMaster,
private:
SvxShape* mpShape;
- const SvxItemPropertySet* mpPropSet;
+ const SvxItemPropertySet* mpPropSet;
const SfxItemPropertyMapEntry* mpMap;
SdXImpressDocument* mpModel;
@@ -96,7 +96,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 fb356087245a..7457b3df8c2b 100755
--- a/sd/source/ui/unoidl/unopage.cxx
+++ b/sd/source/ui/unoidl/unopage.cxx
@@ -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
@@ -114,7 +114,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
@@ -135,137 +135,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
@@ -273,13 +273,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;
}
@@ -289,45 +289,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}
};
@@ -335,12 +335,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;
}
@@ -378,12 +378,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;
@@ -720,7 +720,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 );
@@ -744,7 +744,7 @@ void SAL_CALL SdGenericDrawPage::setPropertyValue( const OUString& aPropertyName
break;
}
}
-
+
throw lang::IllegalArgumentException();
}
@@ -759,7 +759,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 );
@@ -1107,8 +1107,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 );
@@ -2076,7 +2076,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 ) );
@@ -2349,7 +2349,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();
@@ -2386,8 +2386,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())
{
@@ -2560,7 +2560,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
@@ -2583,7 +2583,7 @@ Reference< XAnnotation > SAL_CALL SdGenericDrawPage::createAndInsertAnnotation()
{
if( !GetPage() )
throw DisposedException();
-
+
Reference< XAnnotation > xRet;
GetPage()->createAnnotation(xRet);
return xRet;
@@ -2612,7 +2612,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;
}
@@ -2784,7 +2784,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));
@@ -2916,13 +2916,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 );
}
@@ -3075,7 +3075,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 e3fda70c0f11..b50a1281f890 100755
--- a/sd/source/ui/unoidl/unopage.hxx
+++ b/sd/source/ui/unoidl/unopage.hxx
@@ -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
@@ -63,7 +63,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,
@@ -79,7 +79,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();
@@ -95,7 +95,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 1ac62fb1363f..acfc05b64fd5 100644
--- a/sd/source/ui/unoidl/unopback.cxx
+++ b/sd/source/ui/unoidl/unopback.cxx
@@ -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
@@ -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 530a75856662..b344e532c61d 100644
--- a/sd/source/ui/unoidl/unopback.hxx
+++ b/sd/source/ui/unoidl/unopback.hxx
@@ -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
@@ -43,7 +43,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,
@@ -52,8 +52,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 21ac567edc70..545b4ea360d0 100644
--- a/sd/source/ui/unoidl/unopool.cxx
+++ b/sd/source/ui/unoidl/unopool.cxx
@@ -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
@@ -41,18 +41,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();
@@ -86,7 +86,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 56133e03a375..546eb6ee34fa 100755
--- a/sd/source/ui/unoidl/unosrch.cxx
+++ b/sd/source/ui/unoidl/unosrch.cxx
@@ -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,17 +47,17 @@ using namespace ::vos;
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 e29ee1e1516e..e53d336f7c98 100755
--- a/sd/source/ui/unoidl/unowcntr.cxx
+++ b/sd/source/ui/unoidl/unowcntr.cxx
@@ -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
@@ -77,7 +77,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 a35c27cfd583..5276015eec7e 100755
--- a/sd/source/ui/unoidl/unowcntr.hxx
+++ b/sd/source/ui/unoidl/unowcntr.hxx
@@ -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,19 +37,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 1660c05a124f..a15ba8bd6e08 100755
--- a/sd/source/ui/view/DocumentRenderer.cxx
+++ b/sd/source/ui/view/DocumentRenderer.cxx
@@ -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
@@ -91,7 +91,7 @@ namespace {
maSlidesPerPage(rSlidesPerPage)
{
}
-
+
bool IsWarningOrientation (void) const
{
return GetBoolValue(NULL, true);
@@ -137,7 +137,7 @@ namespace {
{
return GetBoolValue("PageContentType", sal_Int32(0));
}
-
+
bool IsHandout (void) const
{
return GetBoolValue("PageContentType", sal_Int32(1));
@@ -281,7 +281,7 @@ namespace {
{
return mbIsShapeSelection;
}
-
+
/** Call with a 0 based page index.
*/
bool IsSelected (const sal_Int32 nIndex) const
@@ -295,7 +295,7 @@ namespace {
else
return false;
}
-
+
private:
const bool mbAreAllPagesSelected;
const bool mbIsShapeSelection;
@@ -325,7 +325,7 @@ namespace {
maSelection(rsPrinterSelection, pView ? pView->getCurrentPage() : NULL),
mbPrintMarkedOnly(maSelection.IsMarkedOnly())
{}
-
+
const Printer* mpPrinter;
ULONG mnDrawMode;
::rtl::OUString msTimeDate;
@@ -416,7 +416,7 @@ namespace {
maProperties.size());
}
}
-
+
::std::vector<sal_Int32> GetSlidesPerPage (void) const
{
return maSlidesPerPage;
@@ -433,7 +433,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()
@@ -448,7 +448,7 @@ namespace {
rtl::OUString(),
aPrintOpt )
);
-
+
AddDialogControl( vcl::PrinterOptionsHelper::getChoiceControlOpt(
String( SdResId( _STR_IMPRESS_PRINT_UI_CONTENT ) ),
CreateChoice(_STR_IMPRESS_PRINT_UI_CONTENT_HELP),
@@ -458,9 +458,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),
@@ -471,9 +471,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),
@@ -490,7 +490,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) ),
@@ -548,7 +548,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),
@@ -563,7 +563,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),
@@ -577,7 +577,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 ) );
@@ -593,8 +593,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),
@@ -621,12 +621,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(),
@@ -644,7 +644,7 @@ namespace {
rtl::OUString( RTL_CONSTASCII_USTRINGPARAM( "PageRange" ) ),
rtl::OUString(),
aPageRangeOpt )
- );
+ );
FreeResource();
}
@@ -719,7 +719,7 @@ namespace {
}
virtual ~PrinterPage (void) {}
-
+
virtual void Print (
Printer& rPrinter,
SdDrawDocument& rDocument,
@@ -732,7 +732,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;
@@ -796,7 +796,7 @@ namespace {
msPageString,
maPageStringOffset);
}
-
+
private:
const USHORT mnPageIndex;
};
@@ -846,7 +846,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
@@ -881,7 +881,7 @@ namespace {
msPageString,
maPageStringOffset);
}
-
+
private:
const USHORT mnPageIndex;
const sal_Int32 mnGap;
@@ -914,7 +914,7 @@ namespace {
}
virtual ~BookletPrinterPage (void) {}
-
+
virtual void Print (
Printer& rPrinter,
SdDrawDocument& rDocument,
@@ -956,7 +956,7 @@ namespace {
rPrintableLayers);
}
}
-
+
private:
const USHORT mnFirstPageIndex;
const USHORT mnSecondPageIndex;
@@ -987,7 +987,7 @@ namespace {
maPageIndices(rPageIndices)
{
}
-
+
virtual void Print (
Printer& rPrinter,
SdDrawDocument& rDocument,
@@ -1029,7 +1029,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())
@@ -1103,7 +1103,7 @@ namespace {
}
}
-
+
private:
const USHORT mnHandoutPageIndex;
const ::std::vector<USHORT> maPageIndices;
@@ -1161,7 +1161,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);
@@ -1186,7 +1186,7 @@ namespace {
::boost::scoped_ptr<OutlinerParaObject> mpParaObject;
};
}
-
+
//===== DocumentRenderer::Implementation ======================================
@@ -1212,8 +1212,8 @@ public:
}
-
-
+
+
virtual ~Implementation (void)
{
EndListening(mrBase);
@@ -1221,7 +1221,7 @@ public:
-
+
virtual void Notify (SfxBroadcaster& rBroadcaster, const SfxHint& rHint)
{
const SfxSimpleHint* pSimpleHint = dynamic_cast<const SfxSimpleHint*>(&rHint);
@@ -1234,7 +1234,7 @@ public:
}
-
+
/** Process the sequence of properties given to one of the XRenderable
methods.
*/
@@ -1243,7 +1243,7 @@ public:
OSL_ASSERT(!mbIsDisposed);
if (mbIsDisposed)
return;
-
+
bool bIsValueChanged = processProperties( rOptions );
// The RenderDevice property is handled specially: its value is
@@ -1267,7 +1267,7 @@ public:
}
-
+
/** Return the number of pages that are to be printed.
*/
sal_Int32 GetPrintPageCount (void)
@@ -1288,7 +1288,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");
@@ -1296,7 +1296,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 );
@@ -1305,7 +1305,7 @@ public:
}
-
+
/** Print one of the prepared pages.
*/
@@ -1316,14 +1316,14 @@ 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()));
@@ -1332,12 +1332,12 @@ public:
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());
@@ -1388,7 +1388,7 @@ public:
-
+
private:
ViewShellBase& mrBase;
bool mbIsDisposed;
@@ -1438,12 +1438,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.
@@ -1468,7 +1468,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;
@@ -1486,7 +1486,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();
@@ -1501,13 +1501,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;
}
@@ -1566,7 +1566,7 @@ private:
SdDrawDocument& rModel = *mrBase.GetDocument();
// first, prepare handout page (not handout master)
-
+
SdPage* pHandout = rModel.GetSdPage(0, PK_HANDOUT);
if( !pHandout )
return;
@@ -1574,7 +1574,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 );
}
@@ -1588,11 +1588,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() ) );
@@ -1674,8 +1674,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
@@ -1690,7 +1690,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() )
{
@@ -1730,7 +1730,7 @@ private:
++nIndex;
if (pPage == NULL)
continue;
-
+
SdrTextObj* pTextObj = NULL;
sal_uInt32 nObj (0);
@@ -1783,7 +1783,7 @@ private:
{
pOutliner->AddText(*(pTextObj->GetOutlinerParaObject()));
}
-
+
if (bSubTitle )
{
const sal_Int32 nParaCount2 (pOutliner->GetParagraphCount());
@@ -1825,7 +1825,7 @@ private:
rInfo.meOrientation,
rInfo.mpPrinter->GetPaperBin())));
}
-
+
pOutliner->SetRefMapMode(aSavedMapMode);
pOutliner->SetUpdateMode(bSavedUpdateMode);
pOutliner->SetPaperSize(aSavedPaperSize);
@@ -1833,7 +1833,7 @@ private:
}
-
+
/** Prepare handout pages for slides that are to be printed.
*/
@@ -1842,7 +1842,7 @@ private:
SdDrawDocument* pDocument = mrBase.GetDocument();
OSL_ASSERT(pDocument != NULL);
SdPage& rHandoutPage (*pDocument->GetSdPage(0, PK_HANDOUT));
-
+
const bool bScalePage (mpOptions->IsPageSize());
USHORT nPaperBin;
@@ -1850,7 +1850,7 @@ private:
nPaperBin = rHandoutPage.GetPaperBin();
else
nPaperBin = rInfo.mpPrinter->GetPaperBin();
-
+
// Change orientation?
SdPage& rMaster (dynamic_cast<SdPage&>(rHandoutPage.TRG_GetMasterPage()));
rInfo.meOrientation = rMaster.GetOrientation();
@@ -1881,10 +1881,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
@@ -1961,7 +1961,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)
@@ -1971,7 +1971,7 @@ private:
if ( ! SetupPaperOrientation(ePageKind, rInfo))
return;
-
+
MapMode aMap (rInfo.maMap);
// aMap.SetOrigin(Point() - rInfo.mpPrinter->GetPageOffset());
rInfo.maMap = aMap;
@@ -2005,14 +2005,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;
@@ -2068,7 +2068,7 @@ private:
}
-
+
/** Put two slides on one printer page.
*/
@@ -2219,7 +2219,7 @@ private:
rInfo.mnDrawMode,
rInfo.meOrientation,
nPaperBin)));
- }
+ }
@@ -2240,7 +2240,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.
@@ -2254,7 +2254,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
#if 0
@@ -2331,7 +2331,7 @@ DocumentRenderer::DocumentRenderer (ViewShellBase& rBase)
mpImpl(new Implementation(rBase))
{
}
-
+
@@ -2353,7 +2353,7 @@ sal_Int32 SAL_CALL DocumentRenderer::getRendererCount (
mpImpl->ProcessProperties(rOptions);
return mpImpl->GetPrintPageCount();
}
-
+
@@ -2368,7 +2368,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 448df20b50cd..fc3005699e12 100644
--- a/sd/source/ui/view/FormShellManager.cxx
+++ b/sd/source/ui/view/FormShellManager.cxx
@@ -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
@@ -96,7 +96,7 @@ FormShellManager::~FormShellManager (void)
ViewShell* pShell = mrBase.GetMainViewShell().get();
if (pShell != NULL)
mrBase.GetViewShellManager()->RemoveSubShellFactory(pShell,mpSubShellFactory);
- }
+ }
}
@@ -113,7 +113,7 @@ void FormShellManager::SetFormShell (FmFormShell* pFormShell)
EndListening(*mpFormShell);
mpFormShell->SetView(NULL);
}
-
+
mpFormShell = pFormShell;
// Connect to the new form shell.
@@ -217,7 +217,7 @@ void FormShellManager::UnregisterAtCenterPane (void)
mrBase.GetViewShellManager()->DeactivateSubShell(*pShell, RID_FORMLAYER_TOOLBOX);
mrBase.GetViewShellManager()->RemoveSubShellFactory(pShell, mpSubShellFactory);
}
-
+
mpSubShellFactory.reset();
}
while (false);
diff --git a/sd/source/ui/view/GraphicObjectBar.cxx b/sd/source/ui/view/GraphicObjectBar.cxx
index cea33fda98bf..c42b4752eaca 100644
--- a/sd/source/ui/view/GraphicObjectBar.cxx
+++ b/sd/source/ui/view/GraphicObjectBar.cxx
@@ -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
@@ -84,7 +84,7 @@ GraphicObjectBar::GraphicObjectBar (
ViewShell* pSdViewShell,
::sd::View* pSdView )
: SfxShell (pSdViewShell->GetViewShell()),
- mpView ( pSdView ),
+ mpView ( pSdView ),
mpViewSh ( pSdViewShell ),
nMappedSlotFilter ( SID_GRFFILTER_INVERT )
{
@@ -127,8 +127,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 )
{
@@ -156,15 +156,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 759103760bfe..8026c942c698 100755
--- a/sd/source/ui/view/GraphicViewShellBase.cxx
+++ b/sd/source/ui/view/GraphicViewShellBase.cxx
@@ -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
@@ -78,7 +78,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 0cd5971eb51e..c7742e53872a 100644
--- a/sd/source/ui/view/ImpressViewShellBase.cxx
+++ b/sd/source/ui/view/ImpressViewShellBase.cxx
@@ -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
@@ -78,7 +78,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 ad5135939bc3..adc4e2c793e0 100644
--- a/sd/source/ui/view/MediaObjectBar.cxx
+++ b/sd/source/ui/view/MediaObjectBar.cxx
@@ -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
@@ -97,15 +97,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() )
{
@@ -114,7 +114,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;
@@ -123,7 +123,7 @@ void MediaObjectBar::GetState( SfxItemSet& rSet )
if( bDisable )
rSet.DisableItem( SID_AVMEDIA_TOOLBOX );
-
+
delete pMarkList;
}
@@ -135,14 +135,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() );
@@ -153,7 +153,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 762219c88016..178661f00439 100644
--- a/sd/source/ui/view/OutlineViewShellBase.cxx
+++ b/sd/source/ui/view/OutlineViewShellBase.cxx
@@ -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
@@ -58,7 +58,7 @@ SfxViewShell* __EXPORT OutlineViewShellBase::CreateInstance (
return pBase;
}
void OutlineViewShellBase::RegisterFactory( USHORT nPrio )
-{
+{
pFactory = new SfxViewFactory(
&CreateInstance,&InitFactory,nPrio,SdResId(STR_DEFAULTVIEW));
InitFactory();
@@ -72,7 +72,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 7c94e7b27b07..be84bbfc8e68 100755
--- a/sd/source/ui/view/Outliner.cxx
+++ b/sd/source/ui/view/Outliner.cxx
@@ -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
@@ -1573,7 +1573,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 226d767c6c91..e7d0e0d63475 100755
--- a/sd/source/ui/view/OutlinerIterator.cxx
+++ b/sd/source/ui/view/OutlinerIterator.cxx
@@ -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
@@ -216,18 +216,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;
@@ -239,7 +239,7 @@ Iterator OutlinerContainer::CreateSelectionIterator (
switch (aLocation)
{
case CURRENT:
- case BEGIN:
+ case BEGIN:
default:
nObjectIndex = rObjectList.size()-1;
break;
@@ -253,13 +253,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;
@@ -278,7 +278,7 @@ Iterator OutlinerContainer::CreateDocumentIterator (
eEditMode = EM_MASTERPAGE;
}
break;
-
+
case END:
if (bDirectionIsForward)
{
@@ -308,7 +308,7 @@ Iterator OutlinerContainer::CreateDocumentIterator (
break;
}
- sal_Int32 nPageIndex = GetPageIndex (pDocument, rpViewShell,
+ sal_Int32 nPageIndex = GetPageIndex (pDocument, rpViewShell,
ePageKind, eEditMode, bDirectionIsForward, aLocation);
return Iterator (
@@ -319,13 +319,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;
@@ -359,7 +359,7 @@ sal_Int32 OutlinerContainer::GetPageIndex (
}
break;
- case BEGIN:
+ case BEGIN:
default:
if (bDirectionIsForward)
nPageIndex = 0;
@@ -386,10 +386,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())
@@ -493,7 +493,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 )
@@ -503,7 +503,7 @@ void SelectionIteratorImpl::GotoNextText (void)
{
maPosition.mnText = 0;
++mnObjectIndex;
- }
+ }
}
else
{
@@ -519,7 +519,7 @@ void SelectionIteratorImpl::GotoNextText (void)
{
maPosition.mnText = -1;
--mnObjectIndex;
- }
+ }
}
else
{
@@ -529,7 +529,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;
}
@@ -560,9 +560,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
@@ -592,7 +592,7 @@ ViewIteratorImpl::ViewIteratorImpl (
ViewIteratorImpl::ViewIteratorImpl (
sal_Int32 nPageIndex,
- SdDrawDocument* pDocument,
+ SdDrawDocument* pDocument,
const ::boost::weak_ptr<ViewShell>& rpViewShellWeak,
bool bDirectionIsForward,
PageKind ePageKind,
@@ -617,7 +617,7 @@ ViewIteratorImpl::~ViewIteratorImpl (void)
IteratorImplBase* ViewIteratorImpl::Clone (IteratorImplBase* pObject) const
{
-
+
ViewIteratorImpl* pIterator = static_cast<ViewIteratorImpl*>(pObject);
if (pIterator == NULL)
pIterator = new ViewIteratorImpl (
@@ -644,7 +644,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)
@@ -684,7 +684,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;
}
@@ -716,11 +716,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
@@ -742,7 +742,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;
}
@@ -824,14 +824,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
{
@@ -860,7 +860,7 @@ void DocumentIteratorImpl::GotoNextText (void)
maPosition.meEditMode = EM_PAGE;
bSetToOnePastLastPage = true;
}
-
+
// Switch to previous view mode.
else
{
@@ -887,7 +887,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 a16b12d3cb63..96ffefdb4c03 100644
--- a/sd/source/ui/view/PresentationViewShellBase.cxx
+++ b/sd/source/ui/view/PresentationViewShellBase.cxx
@@ -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,13 +62,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,SdResId(STR_DEFAULTVIEW));
InitFactory();
@@ -82,7 +82,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 466f699b1bb0..5be1a913f87e 100644
--- a/sd/source/ui/view/SlideSorterViewShellBase.cxx
+++ b/sd/source/ui/view/SlideSorterViewShellBase.cxx
@@ -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 @@ SfxViewShell* __EXPORT SlideSorterViewShellBase::CreateInstance (
void SlideSorterViewShellBase::RegisterFactory( USHORT nPrio )
-{
+{
pFactory = new SfxViewFactory(
&CreateInstance,&InitFactory,nPrio,SdResId(STR_DEFAULTVIEW));
InitFactory();
@@ -83,7 +83,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 ce3064392d40..13d3f2070d6f 100755
--- a/sd/source/ui/view/ToolBarManager.cxx
+++ b/sd/source/ui/view/ToolBarManager.cxx
@@ -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
@@ -320,7 +320,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 f373042f627b..a8121af4e3b4 100644
--- a/sd/source/ui/view/UpdateLockManager.cxx
+++ b/sd/source/ui/view/UpdateLockManager.cxx
@@ -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 @@ class UpdateLockManager::Implementation
public:
Implementation (ViewShellBase& rBase);
virtual ~Implementation (void);
-
+
void Lock (void);
void Unlock (void);
bool IsLocked (void) const;
@@ -99,13 +99,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);
@@ -289,7 +289,7 @@ void UpdateLockManager::Implementation::Unlock (void)
}
catch (RuntimeException)
{ }
-
+
// Force a rearrangement of the UI elements of the views.
mrBase.Rearrange();
}
@@ -316,7 +316,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 ab108fd1991a..eab308e2000d 100755
--- a/sd/source/ui/view/ViewClipboard.cxx
+++ b/sd/source/ui/view/ViewClipboard.cxx
@@ -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
@@ -87,7 +87,7 @@ SdPage* ViewClipboard::GetFirstMasterPage (const SdTransferable& rTransferable)
const List* pBookmarks = &rTransferable.GetPageBookmarks();
if (pBookmarks == NULL)
break;
-
+
DrawDocShell* pDocShell = rTransferable.GetPageDocShell();
if (pDocShell == NULL)
break;
@@ -104,7 +104,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;
@@ -177,7 +177,7 @@ void ViewClipboard::AssignMasterPage (
if (String(sLayoutName, sLayoutName.Len()-nLength, nLength).Equals (
sLayoutSuffix))
sLayoutName = String(sLayoutName, 0, sLayoutName.Len()-nLength);
-
+
pDocument->SetMasterPage (
pPage->GetPageNum() / 2,
sLayoutName,
@@ -254,23 +254,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 1e18ad5c5ee9..15f7b265210b 100644
--- a/sd/source/ui/view/ViewShellBase.cxx
+++ b/sd/source/ui/view/ViewShellBase.cxx
@@ -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
@@ -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 e23cc8964d23..a5aee5c09a0c 100644
--- a/sd/source/ui/view/ViewShellHint.cxx
+++ b/sd/source/ui/view/ViewShellHint.cxx
@@ -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/ViewShellImplementation.cxx b/sd/source/ui/view/ViewShellImplementation.cxx
index fdd7c530137f..6eb129da24ce 100755
--- a/sd/source/ui/view/ViewShellImplementation.cxx
+++ b/sd/source/ui/view/ViewShellImplementation.cxx
@@ -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
@@ -185,10 +185,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
{
@@ -291,7 +291,7 @@ void ViewShell::Implementation::AssignLayout ( SfxRequest& rRequest, PageKind eP
{
pPage = pDocument->GetSdPage(static_cast<USHORT>(pWhatPage->GetValue()), ePageKind);
}
-
+
if( pPage == 0 )
pPage = mrViewShell.getCurrentPage();
@@ -301,7 +301,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());
@@ -309,7 +309,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
@@ -340,7 +340,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 c25c0f11270a..a4154ede45d8 100755
--- a/sd/source/ui/view/ViewShellManager.cxx
+++ b/sd/source/ui/view/ViewShellManager.cxx
@@ -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
@@ -119,10 +119,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);
@@ -189,12 +189,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
@@ -218,7 +218,7 @@ private:
void GatherActiveShells (ShellStack& rShellList);
void UpdateShellStack (void);
-
+
void CreateShells (void);
/** This method rebuilds the stack of shells that are stacked upon the
@@ -271,7 +271,7 @@ ViewShellManager::~ViewShellManager (void)
void ViewShellManager::AddSubShellFactory (
- ViewShell* pViewShell,
+ ViewShell* pViewShell,
const SharedShellFactory& rpFactory)
{
if (mbValid)
@@ -282,7 +282,7 @@ void ViewShellManager::AddSubShellFactory (
void ViewShellManager::RemoveSubShellFactory (
- ViewShell* pViewShell,
+ ViewShell* pViewShell,
const SharedShellFactory& rpFactory)
{
if (mbValid)
@@ -665,7 +665,7 @@ void ViewShellManager::Implementation::ActivateSubShell (
if (iList == maActiveSubShells.end())
iList = maActiveSubShells.insert(
SubShellList::value_type(&rParentShell,SubShellSubList())).first;
-
+
// Do not activate an object bar that is already active. Requesting
// this is not exactly an error but may be an indication of one.
SubShellSubList& rList (iList->second);
@@ -705,7 +705,7 @@ void ViewShellManager::Implementation::DeactivateSubShell (
SfxShell* pShell = iShell->mpShell;
if (pShell == NULL)
break;
-
+
UpdateLock aLock (*this);
ShellDescriptor aDescriptor(*iShell);
@@ -782,7 +782,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
@@ -798,7 +798,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)
@@ -806,7 +806,7 @@ void ViewShellManager::Implementation::MoveToTop (const SfxShell& rShell)
UpdateLock aLock (*this);
ShellDescriptor aDescriptor(*iShell);
-
+
TakeShellsFromStack(&rShell);
maActiveViewShells.erase(iShell);
@@ -920,12 +920,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);
@@ -943,7 +943,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());
@@ -955,7 +955,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())
@@ -968,7 +968,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())
@@ -1037,7 +1037,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
@@ -1119,7 +1119,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.
@@ -1129,7 +1129,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);
@@ -1161,7 +1161,7 @@ IMPL_LINK(ViewShellManager::Implementation, WindowEventHandler, VclWindowEvent*,
{
if (pEvent != NULL)
{
- ::Window* pEventWindow
+ ::Window* pEventWindow
= static_cast<VclWindowEvent*>(pEvent)->GetWindow();
switch (pEvent->GetId())
@@ -1169,7 +1169,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()))
@@ -1219,7 +1219,7 @@ ShellDescriptor ViewShellManager::Implementation::CreateSubShell (
break;
}
}
-
+
return aResult;
}
@@ -1230,7 +1230,7 @@ void ViewShellManager::Implementation::DestroyViewShell (
const ShellDescriptor& rDescriptor)
{
OSL_ASSERT(rDescriptor.mpShell != NULL);
-
+
::Window* pWindow = rDescriptor.GetWindow();
if (pWindow != NULL)
{
@@ -1291,7 +1291,7 @@ void ViewShellManager::Implementation::Shutdown (void)
{
UpdateLock aLock (*this);
-
+
while ( ! maActiveViewShells.empty())
{
SfxShell* pShell = maActiveViewShells.front().mpShell;
@@ -1312,7 +1312,7 @@ void ViewShellManager::Implementation::Shutdown (void)
}
}
mrBase.RemoveSubShell (NULL);
-
+
maShellFactories.clear();
}
@@ -1324,7 +1324,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 a12412bf7f7d..d49f977ee15d 100755
--- a/sd/source/ui/view/ViewTabBar.cxx
+++ b/sd/source/ui/view/ViewTabBar.cxx
@@ -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
@@ -97,7 +97,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()); }
};
@@ -152,7 +152,7 @@ ViewTabBar::ViewTabBar (
}
mpTabControl->Show();
-
+
if (mpViewShellBase != NULL
&& rxViewTabBarId->isBoundToURL(
FrameworkHelper::msCenterPaneURL, AnchorBindingMode_DIRECT))
@@ -203,7 +203,7 @@ void ViewTabBar::disposing (void)
mpTabPage.reset();
mpTabControl.reset();
}
-
+
mxController = NULL;
}
@@ -224,7 +224,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
@@ -273,7 +273,7 @@ void ViewTabBar::disposing (void)
catch (RuntimeException&)
{}
}
-
+
return pWindow;
}
@@ -409,7 +409,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
@@ -447,7 +447,7 @@ bool ViewTabBar::ActivatePage (void)
catch (DeploymentException)
{
}
-
+
Client* pIPClient = NULL;
if (mpViewShellBase != NULL)
pIPClient = dynamic_cast<Client*>(mpViewShellBase->GetIPClient());
@@ -475,7 +475,7 @@ bool ViewTabBar::ActivatePage (void)
{
DBG_UNHANDLED_EXCEPTION();
}
-
+
return false;
}
@@ -529,7 +529,7 @@ void ViewTabBar::AddTabBarButton (
}
}
}
-
+
AddTabBarButton(rButton,nIndex);
}
@@ -553,7 +553,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();
@@ -587,7 +587,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))
@@ -707,7 +707,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 3e074e0108ad..481ff0e118ee 100644
--- a/sd/source/ui/view/WindowUpdater.cxx
+++ b/sd/source/ui/view/WindowUpdater.cxx
@@ -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
@@ -178,7 +178,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 c7f313037ff8..c529e1d334c0 100755
--- a/sd/source/ui/view/bmcache.cxx
+++ b/sd/source/ui/view/bmcache.cxx
@@ -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,7 +40,7 @@ struct BitmapCacheEntry
const SdPage* pPage;
GraphicObject* pGraphicObject;
sal_uInt32 nSizeBytes;
- long nZoom;
+ long nZoom;
};
/*************************************************************************
@@ -63,7 +63,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 3d6197d00db5..eb702e5b8c48 100644
--- a/sd/source/ui/view/clview.cxx
+++ b/sd/source/ui/view/clview.cxx
@@ -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/drawview.cxx b/sd/source/ui/view/drawview.cxx
index b32cd1fe023a..76f6f71e3c2d 100755
--- a/sd/source/ui/view/drawview.cxx
+++ b/sd/source/ui/view/drawview.cxx
@@ -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
@@ -209,9 +209,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);
@@ -290,7 +290,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();
@@ -385,7 +385,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);
}
diff --git a/sd/source/ui/view/drbezob.cxx b/sd/source/ui/view/drbezob.cxx
index ae512b0441d9..6c8be6b8a1eb 100644
--- a/sd/source/ui/view/drbezob.cxx
+++ b/sd/source/ui/view/drbezob.cxx
@@ -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
@@ -148,17 +148,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
@@ -225,7 +225,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 9eb0a3b2ff8c..fd94f011ba27 100755
--- a/sd/source/ui/view/drtxtob.cxx
+++ b/sd/source/ui/view/drtxtob.cxx
@@ -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
@@ -165,13 +165,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 );
@@ -406,8 +406,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 4a6d83e376e7..db1792ba613a 100755
--- a/sd/source/ui/view/drtxtob1.cxx
+++ b/sd/source/ui/view/drtxtob1.cxx
@@ -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
@@ -317,14 +317,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 )
{
@@ -344,7 +344,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 5fbd400d7520..3c36538130a5 100755
--- a/sd/source/ui/view/drviews1.cxx
+++ b/sd/source/ui/view/drviews1.cxx
@@ -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
@@ -344,7 +344,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() )
{
@@ -540,7 +540,7 @@ bool DrawViewShell::IsLayerModeActive (void) const
long DrawViewShell::GetHCtrlWidth()
{
- // return maTabControl.GetSizePixel().Width();
+ // return maTabControl.GetSizePixel().Width();
return 0;
}
@@ -555,11 +555,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
@@ -599,7 +599,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);
@@ -722,7 +722,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
@@ -1219,7 +1219,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 3102dc726a61..08c144048d58 100755
--- a/sd/source/ui/view/drviews2.cxx
+++ b/sd/source/ui/view/drviews2.cxx
@@ -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
@@ -534,7 +534,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();
@@ -645,7 +645,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);
}
@@ -870,10 +870,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;
@@ -908,7 +908,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 28f8d909031b..9f7961730649 100755
--- a/sd/source/ui/view/drviews3.cxx
+++ b/sd/source/ui/view/drviews3.cxx
@@ -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
@@ -149,7 +149,7 @@ void DrawViewShell::ExecCtrl(SfxRequest& rReq)
}
}
- // USHORT nSlot = rReq.GetSlot();
+ // USHORT nSlot = rReq.GetSlot();
switch (nSlot)
{
case SID_SWITCHPAGE: // BASIC
@@ -194,8 +194,8 @@ void DrawViewShell::ExecCtrl(SfxRequest& rReq)
}
nSelectedPage = (short) nWhatPage;
- mePageKind = (PageKind) nWhatKind;
- bWasBasic = TRUE;
+ mePageKind = (PageKind) nWhatKind;
+ bWasBasic = TRUE;
}
}
else
@@ -240,7 +240,7 @@ void DrawViewShell::ExecCtrl(SfxRequest& rReq)
break;
}
- case SID_PAGEMODE: // BASIC
+ case SID_PAGEMODE: // BASIC
{
const SfxItemSet *pArgs = rReq.GetArgs ();
@@ -849,7 +849,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 );
@@ -898,10 +898,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 88027d360806..7f604cc8d26c 100644
--- a/sd/source/ui/view/drviews4.cxx
+++ b/sd/source/ui/view/drviews4.cxx
@@ -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
@@ -102,7 +102,7 @@ using namespace ::com::sun::star::drawing;
void DrawViewShell::DeleteActualPage()
{
- USHORT nPage = maTabControl.GetCurPageId() - 1;
+ USHORT nPage = maTabControl.GetCurPageId() - 1;
mpDrawView->SdrEndTextEdit();
@@ -146,7 +146,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);
}
}
@@ -400,14 +400,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++ )
{
@@ -518,7 +518,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 ) ) ||
@@ -540,13 +540,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;
@@ -622,7 +622,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;
}
@@ -694,7 +694,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;
@@ -845,11 +845,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();
@@ -899,7 +899,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 18ff686fc612..32041728aa97 100644
--- a/sd/source/ui/view/drviews5.cxx
+++ b/sd/source/ui/view/drviews5.cxx
@@ -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
@@ -100,7 +100,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();
@@ -135,7 +135,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);
@@ -273,8 +273,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() )
@@ -468,7 +468,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 ) );
@@ -476,7 +476,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 681192ff351b..76944c419623 100755
--- a/sd/source/ui/view/drviews6.cxx
+++ b/sd/source/ui/view/drviews6.cxx
@@ -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
@@ -126,7 +126,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);
}
@@ -160,8 +160,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);
@@ -180,7 +180,7 @@ void DrawViewShell::GetFormTextState(SfxItemSet& rSet)
{
if ( pDlg )
{
-// pDlg->SetActive();
+// pDlg->SetActive();
pDlg->SetColorTable(GetDoc()->GetColorTable());
}
@@ -261,7 +261,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;
@@ -373,8 +373,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() )
{
@@ -392,8 +392,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 ) );
@@ -402,7 +402,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() ) );
@@ -431,11 +431,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 ) )
{
@@ -683,7 +683,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 5166c392292c..af6de2dd4703 100755
--- a/sd/source/ui/view/drviews7.cxx
+++ b/sd/source/ui/view/drviews7.cxx
@@ -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
@@ -303,7 +303,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;
}
}
@@ -447,7 +447,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 ) );
}
@@ -872,9 +872,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)
@@ -887,8 +887,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)));
@@ -970,7 +970,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 );
}
@@ -1397,7 +1397,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();
@@ -1467,11 +1467,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 54cd0c792c94..beb6b2fbb996 100755
--- a/sd/source/ui/view/drviews8.cxx
+++ b/sd/source/ui/view/drviews8.cxx
@@ -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
@@ -85,7 +85,7 @@
#include "drawview.hxx"
#include "zoomlist.hxx"
#include <vos/mutex.hxx>
-#include <vcl/salbtype.hxx> // FRound
+#include <vcl/salbtype.hxx> // FRound
#include <vcl/svapp.hxx>
namespace sd {
@@ -122,7 +122,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();
@@ -463,8 +463,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 998d723aec45..31fd7fbcc8d8 100644
--- a/sd/source/ui/view/drviews9.cxx
+++ b/sd/source/ui/view/drviews9.cxx
@@ -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
@@ -100,8 +100,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 )
{
@@ -128,12 +128,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)
@@ -151,7 +151,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);
@@ -258,8 +258,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();
@@ -375,8 +375,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;
@@ -435,8 +435,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;
@@ -500,8 +500,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++ )
@@ -552,7 +552,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++ )
@@ -618,7 +618,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++ )
@@ -668,7 +668,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;
@@ -702,7 +702,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;
@@ -743,7 +743,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 :
@@ -779,8 +779,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 );
@@ -817,7 +817,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 ())
{
@@ -841,7 +841,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 ()
@@ -852,7 +852,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 3628a11ac5a1..374310d21c4c 100755
--- a/sd/source/ui/view/drviewsa.cxx
+++ b/sd/source/ui/view/drviewsa.cxx
@@ -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
@@ -104,7 +104,7 @@ class ScannerEventListener : public ::cppu::WeakImplHelper1< ::com::sun::star::l
{
private:
- DrawViewShell* mpParent;
+ DrawViewShell* mpParent;
public:
@@ -112,9 +112,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; }
};
// -----------------------------------------------------------------------------
@@ -159,7 +159,7 @@ DrawViewShell::~DrawViewShell()
{
mpAnnotationManager.reset();
mpViewOverlayManager.reset();
-
+
OSL_ASSERT (GetViewShell()!=NULL);
if( mxScannerListener.is() )
@@ -204,7 +204,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();
}
@@ -273,7 +273,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
@@ -401,8 +401,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() ) );
}
@@ -473,7 +473,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
@@ -844,7 +844,7 @@ void DrawViewShell::Notify (SfxBroadcaster&, const SfxHint& rHint)
void DrawViewShell::ExecuteAnnotation (SfxRequest& rRequest)
{
if( mpAnnotationManager.get() )
- mpAnnotationManager->ExecuteAnnotation( rRequest );
+ mpAnnotationManager->ExecuteAnnotation( rRequest );
}
// --------------------------------------------------------------------
@@ -852,7 +852,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 2574032e3d99..ae7ec1b2513d 100644
--- a/sd/source/ui/view/drviewsb.cxx
+++ b/sd/source/ui/view/drviewsb.cxx
@@ -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
@@ -78,7 +78,7 @@
#include "SlideSorter.hxx"
#include "controller/SlideSorterController.hxx"
-#define RET_DELETE 100
+#define RET_DELETE 100
namespace sd {
@@ -134,7 +134,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 )
@@ -160,11 +160,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;
@@ -187,7 +187,7 @@ void DrawViewShell::FuTemp02(SfxRequest& rReq)
aLayerName = pLayerName->GetValue ();
bIsVisible = pIsVisible->GetValue ();
- bIsLocked = pIsLocked->GetValue ();
+ bIsLocked = pIsLocked->GetValue ();
bIsPrintable = pIsPrintable->GetValue ();
}
@@ -296,12 +296,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 )
@@ -321,8 +321,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;
@@ -345,7 +345,7 @@ void DrawViewShell::FuTemp02(SfxRequest& rReq)
aLayerName = pLayerName->GetValue ();
bIsVisible = pIsVisible->GetValue ();
- bIsLocked = pIsLocked->GetValue ();
+ bIsLocked = pIsLocked->GetValue ();
bIsPrintable = pIsPrintable->GetValue ();
}
else
@@ -554,7 +554,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 eefe0680d2d4..1f76e41d396b 100644
--- a/sd/source/ui/view/drviewsc.cxx
+++ b/sd/source/ui/view/drviewsc.cxx
@@ -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
@@ -69,11 +69,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.
/*************************************************************************
@@ -126,7 +126,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())
@@ -205,7 +205,7 @@ void DrawViewShell::FuTemp03(SfxRequest& rReq)
rReq.Done ();
}
break;
-
+
case SID_COMBINE: // BASIC
{
// #88224# End text edit to avoid conflicts
@@ -426,7 +426,7 @@ void DrawViewShell::FuTemp03(SfxRequest& rReq)
}
break;
- case SID_FRAME_TO_TOP: // BASIC
+ case SID_FRAME_TO_TOP: // BASIC
{
mpDrawView->PutMarkedToTop();
Cancel();
@@ -444,7 +444,7 @@ void DrawViewShell::FuTemp03(SfxRequest& rReq)
}
break;
- case SID_MOREBACK: // BASIC
+ case SID_MOREBACK: // BASIC
{
mpDrawView->MovMarkedToBtm();
Cancel();
@@ -453,7 +453,7 @@ void DrawViewShell::FuTemp03(SfxRequest& rReq)
}
break;
- case SID_FRAME_TO_BOTTOM: // BASIC
+ case SID_FRAME_TO_BOTTOM: // BASIC
{
mpDrawView->PutMarkedToBtm();
Cancel();
@@ -470,7 +470,7 @@ void DrawViewShell::FuTemp03(SfxRequest& rReq)
}
break;
- case SID_VERTICAL: // BASIC
+ case SID_VERTICAL: // BASIC
{
mpDrawView->MirrorAllMarkedVertical();
Cancel();
@@ -542,7 +542,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:
@@ -599,7 +599,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 );
@@ -607,7 +607,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() );
@@ -945,9 +945,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 7e0dff5eeede..bf12c998cd7d 100644
--- a/sd/source/ui/view/drviewsd.cxx
+++ b/sd/source/ui/view/drviewsd.cxx
@@ -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/drviewse.cxx b/sd/source/ui/view/drviewse.cxx
index 6f6f49fdc93c..92c024a70cbc 100755
--- a/sd/source/ui/view/drviewse.cxx
+++ b/sd/source/ui/view/drviewse.cxx
@@ -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
@@ -249,7 +249,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:
@@ -541,7 +541,7 @@ void DrawViewShell::FuPermanent(SfxRequest& rReq)
rBind.Update( nSId );
break;
}
-
+
default:
break;
}
@@ -703,7 +703,7 @@ void DrawViewShell::FuSupport(SfxRequest& rReq)
if( xPresentation.is() )
{
if( ( SID_REHEARSE_TIMINGS != rReq.GetSlot() ) )
- xPresentation->start();
+ xPresentation->start();
else
xPresentation->rehearseTimings();
}
@@ -1167,7 +1167,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() )
@@ -1197,7 +1197,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();
@@ -1376,7 +1376,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 ac6b46f3018b..c3accabc2f62 100755
--- a/sd/source/ui/view/drviewsf.cxx
+++ b/sd/source/ui/view/drviewsf.cxx
@@ -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
@@ -293,10 +293,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 )
@@ -356,9 +356,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() );
@@ -372,7 +372,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 41b43864a3c0..45971ac268c7 100644
--- a/sd/source/ui/view/drviewsg.cxx
+++ b/sd/source/ui/view/drviewsg.cxx
@@ -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
@@ -78,13 +78,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 ) );
@@ -110,9 +110,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 )
{
@@ -133,7 +133,7 @@ void DrawViewShell::GetIMapState( SfxItemSet& rSet )
/*************************************************************************
|*
-|* Execute-Methode der Optionsleiste
+|* Execute-Methode der Optionsleiste
|*
\************************************************************************/
@@ -266,7 +266,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 26d0a70ba9a6..260b998b03e5 100644
--- a/sd/source/ui/view/drviewsh.cxx
+++ b/sd/source/ui/view/drviewsh.cxx
@@ -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 @@
namespace sd {
-#define TABCONTROL_INITIAL_SIZE 500
+#define TABCONTROL_INITIAL_SIZE 500
/*************************************************************************
|*
@@ -149,7 +149,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;
}
@@ -175,7 +175,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 17ebe33ea540..0b51df2ba3e1 100644
--- a/sd/source/ui/view/drviewsi.cxx
+++ b/sd/source/ui/view/drviewsi.cxx
@@ -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
@@ -71,7 +71,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()
/*************************************************************************
|*
@@ -149,7 +149,7 @@ void DrawViewShell::AssignFrom3DWindow()
if(!GetView()->IsPresObjSelected())
{
SfxItemSet aSet( GetDoc()->GetPool(),
- SDRATTR_START, SDRATTR_END,
+ SDRATTR_START, SDRATTR_END,
0, 0);
p3DWin->GetAttr( aSet );
@@ -160,7 +160,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 ca69aeac0e59..59580e401f44 100644
--- a/sd/source/ui/view/drviewsj.cxx
+++ b/sd/source/ui/view/drviewsj.cxx
@@ -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,8 +103,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 ) ||
@@ -330,21 +330,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 76590dd45003..2df4ee0c8184 100755
--- a/sd/source/ui/view/drvwshrg.cxx
+++ b/sd/source/ui/view/drvwshrg.cxx
@@ -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
@@ -67,7 +67,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 aca0130624ce..f2c32ac2022f 100644
--- a/sd/source/ui/view/frmview.cxx
+++ b/sd/source/ui/view/frmview.cxx
@@ -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
@@ -126,7 +126,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;
@@ -183,7 +183,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() );
@@ -209,12 +209,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();
@@ -352,7 +352,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() );
@@ -364,10 +364,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() );
@@ -491,38 +491,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;
@@ -552,16 +552,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() ) );
@@ -761,14 +761,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 )
{
@@ -789,14 +789,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 )
{
@@ -949,7 +949,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 )
{
@@ -963,7 +963,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 )
{
@@ -977,14 +977,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 )
{
@@ -1182,8 +1182,8 @@ ViewShell::ShellType FrameView::GetViewShellTypeOnLoad (void) const
void FrameView::SetSelectedPage(USHORT nPage)
-{
- mnSelectedPage = nPage;
+{
+ mnSelectedPage = nPage;
}
@@ -1191,7 +1191,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 646a437c42bf..a06a6eb2792c 100755
--- a/sd/source/ui/view/grviewsh.cxx
+++ b/sd/source/ui/view/grviewsh.cxx
@@ -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 @@
#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 2acf143ff0b3..f96f35399417 100755
--- a/sd/source/ui/view/outlnvs2.cxx
+++ b/sd/source/ui/view/outlnvs2.cxx
@@ -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
@@ -421,12 +421,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();
@@ -531,7 +531,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 955a9d167b49..c30926020d47 100755
--- a/sd/source/ui/view/outlnvsh.cxx
+++ b/sd/source/ui/view/outlnvsh.cxx
@@ -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
@@ -106,8 +106,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
/************************************************************************/
@@ -157,7 +157,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() );
@@ -253,7 +253,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();
}
}
@@ -313,7 +313,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);
@@ -325,7 +325,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();
@@ -514,7 +514,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)))
{
@@ -868,7 +868,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();
@@ -915,7 +915,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)
@@ -1130,17 +1130,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);
@@ -1162,15 +1162,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);
@@ -1409,15 +1409,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 );
@@ -1425,7 +1425,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 )
@@ -1446,7 +1446,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 );
@@ -1566,7 +1566,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;
}
@@ -1783,11 +1783,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;
@@ -1867,7 +1867,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;
}
@@ -1897,13 +1897,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 )
{
@@ -1984,9 +1984,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;
@@ -1999,7 +1999,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 dfad4b34c6f2..0dcada9250e9 100755
--- a/sd/source/ui/view/outlview.cxx
+++ b/sd/source/ui/view/outlview.cxx
@@ -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,7 +98,7 @@ namespace sd {
struct SdParaAndPos
{
Paragraph* pPara;
- USHORT nPos;
+ USHORT nPos;
};
TYPEINIT1( OutlineView, ::sd::View );
@@ -329,7 +329,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 );
@@ -341,13 +341,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 )
{
@@ -531,7 +531,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()
@@ -564,8 +564,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);
@@ -761,11 +761,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) )
@@ -773,7 +773,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;
@@ -967,10 +967,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,
@@ -978,7 +978,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();
@@ -1082,8 +1082,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) )
@@ -1094,10 +1094,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
{
@@ -1138,9 +1138,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++)
{
@@ -1164,9 +1164,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++)
{
@@ -1209,13 +1209,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;
}
@@ -1307,7 +1307,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
@@ -1353,7 +1353,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();
@@ -1494,7 +1494,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--;
@@ -1972,13 +1972,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;
}
@@ -2006,7 +2006,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 11f20c7a83d4..aa60560e714a 100644
--- a/sd/source/ui/view/presvish.cxx
+++ b/sd/source/ui/view/presvish.cxx
@@ -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/sdruler.cxx b/sd/source/ui/view/sdruler.cxx
index 679c28bb3a93..2b6a36156a52 100644
--- a/sd/source/ui/view/sdruler.cxx
+++ b/sd/source/ui/view/sdruler.cxx
@@ -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
@@ -101,7 +101,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)
@@ -189,8 +189,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 3aed9c6c0d9c..e10246772186 100755
--- a/sd/source/ui/view/sdview.cxx
+++ b/sd/source/ui/view/sdview.cxx
@@ -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
@@ -215,7 +215,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);
};
@@ -228,7 +228,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();
@@ -312,7 +312,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);
@@ -322,8 +322,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);
}
@@ -343,7 +343,7 @@ drawinglayer::primitive2d::Primitive2DSequence ViewRedirector::createRedirectedP
static String aTitleAreaStr( SdResId( STR_PLACEHOLDER_DESCRIPTION_TITLE ) );
aObjectString = aTitleAreaStr;
}
-
+
break;
}
case PRESOBJ_OUTLINE:
@@ -403,16 +403,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 );
@@ -420,7 +420,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));
@@ -443,7 +443,7 @@ drawinglayer::primitive2d::Primitive2DSequence ViewRedirector::createRedirectedP
const drawinglayer::attribute::FontAttribute aFontAttribute(
drawinglayer::primitive2d::getFontAttributeFromVclFont(
- aTextSizeAttribute,
+ aTextSizeAttribute,
aVclFont,
false,
false));
@@ -451,8 +451,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)
@@ -464,13 +464,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);
}
@@ -482,9 +482,9 @@ drawinglayer::primitive2d::Primitive2DSequence ViewRedirector::createRedirectedP
if(bDoCreateGeometry)
{
drawinglayer::primitive2d::appendPrimitive2DSequenceToPrimitive2DSequence(
- xRetval,
+ xRetval,
sdr::contact::ViewObjectContactRedirector::createRedirectedPrimitive2DSequence(
- rOriginal,
+ rOriginal,
rDisplayInfo));
}
}
@@ -532,7 +532,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) );
}
@@ -548,7 +548,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);
}
@@ -998,7 +998,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);
@@ -1020,15 +1020,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 ) &&
@@ -1046,14 +1046,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 ) )
@@ -1072,8 +1072,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 )
{
@@ -1295,7 +1295,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 ea4d120b1219..4cfe38a6b27e 100644
--- a/sd/source/ui/view/sdview2.cxx
+++ b/sd/source/ui/view/sdview2.cxx
@@ -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
@@ -104,8 +104,8 @@ struct SdNavigatorDropEvent : public ExecuteDropEvent
{
DropTargetHelper& mrTargetHelper;
::sd::Window* mpTargetWindow;
- USHORT mnPage;
- USHORT mnLayer;
+ USHORT mnPage;
+ USHORT mnLayer;
SdNavigatorDropEvent (
const ExecuteDropEvent& rEvt,
@@ -136,13 +136,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 )
{
@@ -194,9 +194,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 )
{
@@ -242,9 +242,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;
@@ -327,9 +327,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)
{
@@ -378,7 +378,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 ) ) ||
@@ -472,7 +472,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()");
@@ -498,10 +498,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 )
{
@@ -512,7 +512,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 )
{
@@ -556,10 +556,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() ) ) )
@@ -588,11 +588,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() ) )
@@ -610,7 +610,7 @@ sal_Int8 View::AcceptDrop( const AcceptDropEvent& rEvt, DropTargetHelper& rTarge
{
mpDropMarkerObj = pPickObj;
ImplClearDrawDropMarker();
-
+
if(mpDropMarkerObj)
{
mpDropMarker = new SdrDropMarkerOverlay(*this, *mpDropMarkerObj);
@@ -673,10 +673,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 )
@@ -688,7 +688,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 )
{
@@ -711,8 +711,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 );
@@ -753,8 +753,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 ) &&
@@ -774,15 +774,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() )
{
@@ -822,7 +822,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);
@@ -858,17 +858,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 );
@@ -890,10 +890,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.
@@ -937,7 +937,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();
@@ -952,7 +952,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 53c0d3636d82..19a532aa2feb 100644
--- a/sd/source/ui/view/sdview3.cxx
+++ b/sd/source/ui/view/sdview3.cxx
@@ -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
@@ -111,8 +111,8 @@ namespace sd {
// #83525#
struct ImpRememberOrigAndClone
{
- SdrObject* pOrig;
- SdrObject* pClone;
+ SdrObject* pOrig;
+ SdrObject* pClone;
};
SdrObject* ImpGetClone(Container& aConnectorContainer, SdrObject* pConnObj)
@@ -165,9 +165,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() )
{
@@ -298,14 +298,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)
{
@@ -397,10 +397,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 ) )
{
@@ -409,8 +409,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 )
{
@@ -431,8 +431,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 )
{
@@ -464,9 +464,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)
@@ -649,8 +649,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();
@@ -710,20 +710,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() );
@@ -831,8 +831,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 );
@@ -851,7 +851,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 ) ||
@@ -866,8 +866,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();
@@ -1020,7 +1020,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 ) )
{
@@ -1181,8 +1181,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 ) );
@@ -1212,8 +1212,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 ) );
@@ -1238,8 +1238,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 ) );
@@ -1277,26 +1277,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 70f276227899..9ec90c522e6c 100755
--- a/sd/source/ui/view/sdview4.cxx
+++ b/sd/source/ui/view/sdview4.cxx
@@ -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
@@ -96,9 +96,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;
if(pPV && this->ISA(::sd::slidesorter::view::SlideSorterView))
{
@@ -118,7 +118,7 @@ SdrGrafObj* View::InsertGraphic( const Graphic& rGraphic, sal_Int8& rAction,
if( bIsGraphic || pObj->IsEmptyPresObj() )
{
if( IsUndoEnabled() )
- BegUndo(String(SdResId(STR_INSERTGRAPHIC)));
+ BegUndo(String(SdResId(STR_INSERTGRAPHIC)));
SdPage* pPage = (SdPage*) pPickObj->GetPage();
@@ -206,10 +206,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
@@ -290,9 +290,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 ))
{
@@ -376,7 +376,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 )
{
@@ -386,7 +386,7 @@ IMPL_LINK( View, DropInsertFileHdl, Timer*, EMPTYARG )
}
GraphicFilter* pGraphicFilter = GraphicFilter::GetGraphicFilter();
- Graphic aGraphic;
+ Graphic aGraphic;
aCurrentDropFile = aURL.GetMainURL( INetURLObject::NO_DECODE );
@@ -406,14 +406,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 );
@@ -486,7 +486,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;
@@ -498,7 +498,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 156544c235ab..47882e459231 100755
--- a/sd/source/ui/view/sdview5.cxx
+++ b/sd/source/ui/view/sdview5.cxx
@@ -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,7 +37,7 @@ namespace sd {
static bool implIsMultiPresObj( PresObjKind eKind )
{
switch( eKind )
- {
+ {
case PRESOBJ_OUTLINE:
case PRESOBJ_GRAPHIC:
case PRESOBJ_OBJECT:
@@ -56,7 +56,7 @@ SdrObject* View::GetEmptyPresentationObject( PresObjKind eKind )
{
SdrObject* pEmptyObj = 0;
- SdrPageView* pPV = GetSdrPageView();
+ SdrPageView* pPV = GetSdrPageView();
if( pPV )
{
SdPage* pPage = static_cast< SdPage* >( pPV->GetPage() );
@@ -95,7 +95,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 28873b3946a3..9290bc6c1463 100755
--- a/sd/source/ui/view/sdwindow.cxx
+++ b/sd/source/ui/view/sdwindow.cxx
@@ -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
@@ -55,8 +55,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
/*************************************************************************
@@ -69,9 +69,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
mnMinZoom(MIN_ZOOM),
mnMaxZoom(MAX_ZOOM),
mbMinZoomAutoCalc(false),
@@ -549,7 +549,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.
@@ -635,8 +635,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);
@@ -667,8 +667,8 @@ void Window::SetMinZoomAutoCalc (bool bAuto)
void Window::UpdateMapOrigin(BOOL bInvalidate)
{
- BOOL bChanged = FALSE;
- Size aWinSize = PixelToLogic(GetOutputSizePixel());
+ BOOL bChanged = FALSE;
+ Size aWinSize = PixelToLogic(GetOutputSizePixel());
if ( mbCenterAllowed )
{
@@ -719,7 +719,7 @@ void Window::UpdateMapMode (void)
{
Size aViewSizePixel = LogicToPixel(maViewSize);
Size aWinSizePixel = LogicToPixel(aWinSize);
-
+
// Seite soll nicht am Fensterrand "kleben"
if (aPix.Width() == 0)
{
@@ -736,13 +736,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);
@@ -793,8 +793,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();
}
@@ -897,7 +897,7 @@ void Window::LoseFocus()
void Window::GrabFocus()
{
- mnTicks = 0;
+ mnTicks = 0;
::Window::GrabFocus ();
}
@@ -968,7 +968,7 @@ void Window::DataChanged( const DataChangedEvent& rDCEvt )
SetDrawMode( nOutputMode );
mpViewShell->GetFrameView()->SetDrawMode( nOutputMode );
// #110094#-7
-// mpViewShell->GetView()->ReleaseMasterPagePaintCache();
+// mpViewShell->GetView()->ReleaseMasterPagePaintCache();
Invalidate();
}
@@ -1150,9 +1150,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 ++;
}
}
@@ -1165,11 +1165,11 @@ void Window::DropScroll(const Point& rMousePos)
Window::CreateAccessible (void)
{
if (mpViewShell != NULL)
- return mpViewShell->CreateAccessibleDocumentView (this);
+ return mpViewShell->CreateAccessibleDocumentView (this);
else
{
OSL_TRACE ("::sd::Window::CreateAccessible: no view shell");
- return ::Window::CreateAccessible ();
+ return ::Window::CreateAccessible ();
}
}
diff --git a/sd/source/ui/view/tabcontr.cxx b/sd/source/ui/view/tabcontr.cxx
index d9d074eee395..3a4318a383cc 100644
--- a/sd/source/ui/view/tabcontr.cxx
+++ b/sd/source/ui/view/tabcontr.cxx
@@ -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
@@ -55,7 +55,7 @@
namespace sd {
-#define SWITCH_TIMEOUT 20
+#define SWITCH_TIMEOUT 20
// -----------------------------------------
// - SdTabControl::SdPageObjsTransferable -
@@ -133,8 +133,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() );
@@ -231,7 +231,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 )
{
@@ -269,8 +269,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 )
{
@@ -285,7 +285,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 5a7f9830895e..5c0ecde0207b 100644
--- a/sd/source/ui/view/unmodpg.cxx
+++ b/sd/source/ui/view/unmodpg.cxx
@@ -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
@@ -60,21 +60,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())
{
@@ -104,7 +104,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())
@@ -153,7 +153,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())
@@ -244,6 +244,6 @@ void RenameLayoutTemplateUndoAction::Redo()
String RenameLayoutTemplateUndoAction::GetComment() const
{
- return maComment;
+ return maComment;
}
diff --git a/sd/source/ui/view/viewoverlaymanager.cxx b/sd/source/ui/view/viewoverlaymanager.cxx
index c1e1d9634844..9d292d5f87f4 100755
--- a/sd/source/ui/view/viewoverlaymanager.cxx
+++ b/sd/source/ui/view/viewoverlaymanager.cxx
@@ -1,7 +1,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
@@ -409,8 +409,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) );
}
@@ -434,7 +434,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()) );
@@ -452,7 +452,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 );
@@ -493,7 +493,7 @@ ViewOverlayManager::ViewOverlayManager( ViewShellBase& rViewShellBase )
| tools::EventMultiplexerEvent::EID_BEGIN_TEXT_EDIT
| tools::EventMultiplexerEvent::EID_END_TEXT_EDIT );
- StartListening( *mrBase.GetDocShell() );
+ StartListening( *mrBase.GetDocShell() );
}
// --------------------------------------------------------------------
@@ -547,22 +547,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)) )
@@ -573,7 +573,7 @@ bool ViewOverlayManager::CreateTags()
}
}
}
-
+
return bChanges;
}
@@ -585,7 +585,7 @@ bool ViewOverlayManager::DisposeTags()
{
ViewTagVector vec;
vec.swap( maTagVector );
-
+
ViewTagVector::iterator iter = vec.begin();
do
{
@@ -594,7 +594,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 616516782be3..10f204a20783 100755
--- a/sd/source/ui/view/viewshe2.cxx
+++ b/sd/source/ui/view/viewshe2.cxx
@@ -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
@@ -348,9 +348,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);
@@ -1096,7 +1096,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 8bfdefd240da..e8ba00a04a05 100755
--- a/sd/source/ui/view/viewshe3.cxx
+++ b/sd/source/ui/view/viewshe3.cxx
@@ -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
@@ -229,7 +229,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
@@ -313,12 +313,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);
@@ -406,11 +406,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 c1f4bc070bcf..7e3930bf50cb 100755
--- a/sd/source/ui/view/viewshel.cxx
+++ b/sd/source/ui/view/viewshel.cxx
@@ -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
@@ -166,9 +166,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();
}
@@ -365,7 +365,7 @@ void ViewShell::Activate(BOOL bIsMDIActivate)
//HMHif (pView)
//HMH{
- //HMH pView->ShowMarkHdl();
+ //HMH pView->ShowMarkHdl();
//HMH}
}
@@ -536,7 +536,7 @@ void ViewShell::MouseButtonDown(const MouseEvent& rMEvt, ::sd::Window* pWin)
{
pWin->GrabFocus();
SetActiveWindow(pWin);
-// GetViewFrame()->GetWindow().GrabFocus();
+// GetViewFrame()->GetWindow().GrabFocus();
}
// MouseEvent in E3dView eintragen
@@ -661,7 +661,7 @@ void ViewShell::Command(const CommandEvent& rCEvt, ::sd::Window* pWin)
{
bConsumed = GetView()->getSmartTags().Command(rCEvt);
}
-
+
if( !bConsumed && HasCurrentFunction())
{
GetCurrentFunction()->Command(rCEvt);
@@ -814,7 +814,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)
@@ -840,7 +840,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 9ae178e3d7a6..6de6005166bc 100755
--- a/sd/source/ui/view/zoomlist.cxx
+++ b/sd/source/ui/view/zoomlist.cxx
@@ -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,7 +44,7 @@
namespace sd {
-#define MAX_ENTRYS 10
+#define MAX_ENTRYS 10
/*************************************************************************
|*